/* Kallisthos — The Natural Stone Company */

@font-face { font-family: "Marcellus"; src: url("fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Marcellus"; src: url("fonts/marcellus-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 100 900; font-style: italic; font-display: swap; }
/* Marcellus figures read as letters ("10" looks like "IO"), so headings take their digits from GFS Didot */
@font-face { font-family: "GFS Didot"; src: url("fonts/gfs-didot-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: "GFS Didot"; src: url("fonts/gfs-didot-greek-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0370-03FF, U+1F00-1FFF; }

:root {
  --basalt: #15120f;      /* page */
  --basalt-2: #1e1a16;    /* raised */
  --basalt-3: #2a241e;
  --bronze: #a07d5a;      /* logo plate */
  --bronze-2: #c9a77f;    /* bronze on dark, readable */
  --ivory: #eee7da;
  --ivory-dim: #c8bfb1;
  --steel: #b1bbc7;
  --line: rgba(201, 167, 127, .24);
  --ink: #14110e;         /* text on bronze */

  --display: "Marcellus", "GFS Didot", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --greek: "GFS Didot", "Marcellus", Georgia, serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1360px;
  --section: clamp(4.5rem, 10vw, 9rem);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--basalt); color: var(--ivory);
  font: 350 1.0625rem/1.65 var(--sans); font-synthesis: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--bronze-2); outline-offset: 3px; }
::selection { background: var(--bronze); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 44rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--bronze); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- buttons & links */
.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.7em;
  border: 1px solid var(--bronze); border-radius: 2px; background: transparent;
  font: 450 .98rem/1 var(--sans); letter-spacing: .03em; text-decoration: none; color: var(--ivory);
  transition: background-color .25s, color .25s;
}
.btn:hover { background: var(--bronze); color: var(--ink); }
.btn-ghost { border-color: var(--line); }
.text-link { color: var(--bronze-2); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: .1em; }
.text-link:hover { border-color: var(--bronze-2); }
.big-link { display: block; font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.big-link:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 18, 15, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-inline: var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.brand { display: block; color: var(--ivory); flex: none; }
.brand .logo { height: 58px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.site-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.site-nav a { text-decoration: none; font-size: .98rem; letter-spacing: .02em; color: var(--ivory-dim); padding-block: .4rem; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.site-nav a:hover { color: var(--ivory); }
.site-nav a[aria-current="page"] { color: var(--ivory); border-color: var(--bronze); }
.site-nav .lang { color: var(--bronze-2); padding-left: clamp(1rem, 2.2vw, 2.2rem); border-left: 1px solid var(--line); border-bottom: 0; }
.lang-short { display: none; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--basalt); }
  .brand .logo { height: 48px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .7rem; background: none; border: 1px solid var(--line); border-radius: 2px; padding: .55rem .9rem; cursor: pointer; letter-spacing: .03em; font-size: .95rem; }
  .nav-toggle-lines, .nav-toggle-lines::before { display: block; width: 18px; height: 1px; background: currentColor; position: relative; transition: transform .25s; }
  .nav-toggle-lines::before { content: ""; position: absolute; top: 6px; }
  .nav-toggle-lines { transform: translateY(-3px); }
  [aria-expanded="true"] .nav-toggle-lines { transform: rotate(45deg); }
  [aria-expanded="true"] .nav-toggle-lines::before { transform: translateY(-6px) rotate(-90deg); }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--basalt); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2rem; padding: 2.5rem var(--gutter); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
  .nav-open .site-nav { visibility: visible; opacity: 1; transition: opacity .25s; }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav a { font-family: var(--display); font-size: 2rem; color: var(--ivory); }
  .site-nav .lang { border-left: 0; padding-left: 0; font-family: var(--sans); font-size: 1.05rem; }
  .nav-open { overflow: hidden; }
}

/* ---------- section scaffolding */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--ivory-dim); max-width: 34rem; margin: 0; }
.page-head { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2rem, 4vw, 3.5rem); }
.page-head h1 { max-width: 16ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 300; line-height: 1.55; color: var(--ivory-dim); max-width: 40rem; margin-top: 1.25rem; }

/* ---------- home: the slab wall */
.wall { border-bottom: 1px solid var(--line); }
.wall-grid {
  --cols: 8; --rows: 4;
  display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: repeat(var(--rows), 1fr);
  gap: 3px; background: var(--basalt); padding: 3px;
  height: clamp(460px, calc(100svh - var(--header-h) - 116px), 820px);
}
.plate { grid-column: 3 / span 4; grid-row: 2 / span 2; background: var(--bronze); color: var(--ink); position: relative; --pad-y: clamp(.9rem, 3.2vw, 2.6rem); --pad-x: clamp(1rem, 4vw, 3.5rem); animation: plate-in 1.1s var(--ease) both; }
.plate-logo { position: absolute; inset: var(--pad-y) var(--pad-x); margin: 0; line-height: 0; }
.plate-logo .logo { width: 100%; height: 100%; display: block; object-fit: contain; }
.slab { position: relative; overflow: hidden; display: block; background: var(--basalt-2); animation: lay .9s var(--ease) both; animation-delay: calc(.25s + var(--d, 0) * 55ms); }
.slab img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .4s; filter: saturate(.95); }
.slab-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .8rem .7rem; background: linear-gradient(transparent, rgba(12, 10, 8, .78)); font-family: var(--display); font-size: 1.05rem; line-height: 1.2; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.slab-name small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--steel); letter-spacing: .03em; }
.slab:hover img, .slab:focus-visible img { transform: scale(1.06); filter: saturate(1.05); }
.slab:hover .slab-name, .slab:focus-visible .slab-name { opacity: 1; transform: none; }
.slab:focus-visible { outline-offset: -3px; }
@keyframes lay { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@keyframes plate-in { from { opacity: 0; } to { opacity: 1; } }
.wall-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.6rem var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.wall-foot p { margin: 0; color: var(--ivory-dim); max-width: 44rem; }

@media (max-width: 1100px) {
  .wall-grid { --cols: 6; --rows: 5; }
  .plate { grid-column: 2 / span 4; grid-row: 2 / span 2; }
  .slab:nth-of-type(n+23) { display: none; }
}
@media (max-width: 640px) {
  .wall-grid { --cols: 4; --rows: 6; height: auto; aspect-ratio: 4 / 5.4; }
  .plate { grid-column: 1 / span 4; grid-row: 2 / span 2; --pad-y: 1.1rem; --pad-x: 1.25rem; }
  .slab:nth-of-type(n+17) { display: none; }
  .slab-name { display: none; }
}

/* ---------- home sections */
.intro { padding-block: var(--section); display: grid; grid-template-columns: 7fr 5fr; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
.statement { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.12; }
.intro .lede { margin: 0; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

.origins { padding-bottom: var(--section); }
.origin-list { border-bottom: 1px solid var(--line); }
.origin-list a { display: grid; grid-template-columns: minmax(10rem, 1fr) auto auto; align-items: center; gap: 1rem 2.5rem; padding-block: 1.2rem; border-top: 1px solid var(--line); text-decoration: none; }
.origin-name { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); transition: color .25s; }
.origin-count { color: var(--steel); font-size: .95rem; white-space: nowrap; }
.origin-swatches { display: flex; gap: 3px; }
.origin-swatches img { width: 64px; height: 44px; object-fit: cover; }
.origin-list a:hover .origin-name { color: var(--bronze-2); }
@media (max-width: 720px) {
  .origin-list a { grid-template-columns: 1fr auto; }
  .origin-swatches { grid-column: 1 / -1; }
  .origin-swatches img { width: calc((100vw - 2 * var(--gutter) - 12px) / 5); height: 40px; }
}

.monuments { padding-bottom: var(--section); }
.mon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.mon-row a { display: block; text-decoration: none; position: relative; }
.mon-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.mon-title { display: block; font-family: var(--display); font-size: 1.35rem; margin: 1rem 1rem 0; line-height: 1.2; }
.mon-material { display: block; color: var(--steel); font-size: .92rem; margin: .2rem 1rem 0; }
.mon-row a:hover .mon-title { color: var(--bronze-2); }
@media (max-width: 900px) {
  .mon-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72vw; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 12px; scrollbar-width: none; }
  .mon-row li { scroll-snap-align: start; }
  .mon-title, .mon-material { margin-inline: 0; }
}

.featured { padding-bottom: var(--section); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.feat-grid a { display: block; text-decoration: none; }
.feat-img { display: block; overflow: hidden; }
.feat-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat-grid a:hover img { transform: scale(1.04); }
.feat-name { display: block; font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-top: 1.1rem; }
.feat-meta { display: block; color: var(--steel); font-size: .95rem; }
@media (max-width: 760px) { .feat-grid { grid-template-columns: 1fr; } .feat-img img { aspect-ratio: 3 / 2; } }

.journal-teaser { padding-bottom: var(--section); }
.jt-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.jt-list a { display: block; text-decoration: none; }
.jt-img { display: block; }
.jt-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1rem; }
.jt-list time, .article-list time, .lead-text time, .article-meta { color: var(--steel); font-size: .9rem; letter-spacing: .02em; }
.jt-title { display: block; font-family: var(--display); font-size: 1.4rem; line-height: 1.25; margin-top: .3rem; }
.jt-list a:hover .jt-title { color: var(--bronze-2); }
@media (max-width: 860px) { .jt-list { grid-template-columns: 1fr; } }

/* ---------- call to action (bronze plate) */
.cta { background: var(--bronze); color: var(--ink); padding-block: clamp(4rem, 8vw, 7rem); }
.cta-inner { display: grid; grid-template-columns: 6fr 6fr; gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.cta h2 { grid-row: span 2; font-size: clamp(2rem, 4vw, 3.4rem); }
.cta p { margin: 0; max-width: 36rem; font-weight: 400; }
.cta-links { display: grid; gap: .25rem; }
.cta :focus-visible { outline-color: var(--ink); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } .cta h2 { grid-row: auto; } }

/* ---------- footer */
.site-footer { background: var(--basalt-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; font-size: .95rem; color: var(--ivory-dim); }
.footer-inner { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; display: grid; grid-template-columns: auto 1fr 1fr 1.3fr; gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.footer-logo { color: var(--ivory); }
.footer-logo .logo { width: 150px; height: auto; }
.footer-address { font-style: normal; line-height: 1.75; }
.footer-address strong { color: var(--ivory); font-weight: 450; }
.footer-address a, .footer-nav a, .footer-legal a { text-decoration: none; }
.footer-address a:hover, .footer-nav a:hover, .footer-legal a:hover { color: var(--ivory); text-decoration: underline; }
.footer-nav { line-height: 1.95; }
.footer-legal p { margin: 0 0 .8rem; }
.footer-legal a { margin-right: 1.2rem; }
.copy { color: var(--steel); font-size: .85rem; }
@media (max-width: 980px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- collection */
.filters { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); padding-block: 1.5rem; border-block: 1px solid var(--line); }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.filters legend { float: left; width: 7.5rem; color: var(--steel); font-size: .9rem; padding: 0; }
.filters button { background: none; border: 1px solid var(--line); border-radius: 2px; padding: .45rem .9rem; cursor: pointer; font-size: .95rem; color: var(--ivory-dim); transition: border-color .2s, background-color .2s, color .2s; }
.filters button span { color: var(--steel); font-size: .8rem; margin-left: .25rem; }
.filters button:hover { border-color: var(--bronze-2); color: var(--ivory); }
.filters button[aria-pressed="true"] { background: var(--bronze); border-color: var(--bronze); color: var(--ink); }
.filters button[aria-pressed="true"] span { color: var(--ink); }
.filter-count { margin: 0; color: var(--steel); font-size: .9rem; }
@media (max-width: 640px) { .filters legend { float: none; width: 100%; margin-bottom: .2rem; } }

.stone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 44vw), 1fr)); gap: clamp(1.75rem, 3vw, 2.75rem) clamp(.75rem, 1.5vw, 1.25rem); }
.stone-grid a { display: block; text-decoration: none; }
.stone-img { display: block; overflow: hidden; background: var(--basalt-2); }
.stone-img img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.stone-grid a:hover img { transform: scale(1.05); }
.stone-name { display: block; font-family: var(--display); font-size: 1.3rem; line-height: 1.2; margin-top: .8rem; }
.stone-meta { display: block; color: var(--steel); font-size: .9rem; }
.stone-grid a:hover .stone-name { color: var(--bronze-2); }
.stone-grid [hidden] { display: none; }
.empty { color: var(--ivory-dim); padding-block: 2rem; }

.spec { padding-block: var(--section); }
.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(2rem, 4vw, 4rem); margin: 0; }
.spec-list dt { font-family: var(--display); font-size: 1.5rem; margin-bottom: .6rem; color: var(--bronze-2); }
.spec-list dd { margin: 0; color: var(--ivory-dim); }
@media (max-width: 860px) { .spec-list { grid-template-columns: 1fr; } }

/* ---------- product */
.stone { padding-block: 2rem var(--section); }
.crumbs { display: flex; gap: .6rem; font-size: .9rem; color: var(--steel); margin-bottom: 1.75rem; }
.crumbs a { text-decoration: none; color: var(--steel); }
.crumbs a:hover { color: var(--ivory); }
.stone-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.viewer { margin: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.viewer-stage { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; gap: 2px; aspect-ratio: 5 / 3; background: var(--basalt); overflow: hidden; }
.viewer-stage .tile { overflow: hidden; min-width: 0; min-height: 0; }
.viewer-stage img { width: 100%; height: 100%; object-fit: cover; }
.viewer-stage .t1 img { transform: scaleX(-1); }
.viewer-stage .t2 img { transform: scaleY(-1); }
.viewer-stage .t3 img { transform: scale(-1, -1); }
[data-mode="single"] .t1, [data-mode="single"] .t2, [data-mode="single"] .t3, [data-mode="book"] .t2, [data-mode="book"] .t3 { display: none; }
.viewer[data-mode="book"] .viewer-stage { grid-template-columns: 1fr 1fr; }
.viewer[data-mode="quad"] .viewer-stage { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.viewer[data-mode="book"] .t0 img, .viewer[data-mode="quad"] .t0 img { object-position: right center; }
.viewer[data-mode="book"] .t1 img, .viewer[data-mode="quad"] .t1 img { object-position: right center; }
.viewer[data-mode="quad"] .t0 img, .viewer[data-mode="quad"] .t1 img { object-position: right bottom; }
.viewer[data-mode="quad"] .t2 img, .viewer[data-mode="quad"] .t3 img { object-position: right bottom; }
.viewer figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1rem; }
.viewer-modes { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; }
.viewer-modes button { background: none; border: 0; padding: .5rem 1rem; cursor: pointer; font-size: .92rem; color: var(--ivory-dim); }
.viewer-modes button + button { border-left: 1px solid var(--line); }
.viewer-modes button[aria-pressed="true"] { background: var(--bronze); color: var(--ink); }
.viewer-hint { margin: 0; flex: 1 1 18rem; font-size: .88rem; color: var(--steel); }
.viewer:not([data-mode="single"]) .viewer-stage { animation: settle .5s var(--ease); }
@keyframes settle { from { opacity: .4; } to { opacity: 1; } }

.stone-info h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin-bottom: 1.5rem; }
.facts { margin: 0 0 1.75rem; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-block: .75rem; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--steel); font-size: .92rem; padding-top: .1rem; }
.facts dd { margin: 0; }
.facts-small dd { font-size: .95rem; color: var(--ivory-dim); }
.stone-text { margin-bottom: 1.75rem; font-size: 1.08rem; }
.stone-text a, .prose a { color: var(--bronze-2); }
.stone-info .btn { margin-top: .5rem; }
@media (max-width: 900px) {
  .stone-layout { grid-template-columns: 1fr; }
  .viewer { position: static; }
}

.stone-gallery { margin-top: clamp(3rem, 6vw, 5rem); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 44vw), 1fr)); gap: 3px; }
.lb-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.lb-open:hover img { transform: scale(1.04); }
.more { margin-top: var(--section); }
.more h2 { margin-bottom: 2rem; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: var(--section); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; font-family: var(--display); font-size: 1.35rem; line-height: 1.25; }
.pager a:hover { color: var(--bronze-2); }
.pager a[rel="next"] { text-align: right; grid-column: 2; }
.pager small { display: block; font-family: var(--sans); font-size: .85rem; color: var(--steel); margin-bottom: .3rem; }

/* ---------- lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 10, 8, .97); color: var(--ivory); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(12, 10, 8, .9); }
.lightbox img { width: min(92vw, 1600px); height: 84vh; object-fit: contain; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 1.25rem; text-align: center; color: var(--steel); font-size: .9rem; margin: 0; }
.lightbox button { position: absolute; background: rgba(21, 18, 15, .6); border: 1px solid var(--line); border-radius: 2px; width: 3rem; height: 3rem; cursor: pointer; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { border-color: var(--bronze-2); }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-close { right: 1.25rem; top: 1.25rem; }

/* ---------- journal */
.lead-article { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem clamp(2rem, 5vw, 4rem); align-items: end; text-decoration: none; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.lead-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lead-title { display: block; font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; margin: .5rem 0 1rem; }
.lead-excerpt { display: block; color: var(--ivory-dim); }
.lead-article:hover .lead-title { color: var(--bronze-2); }
@media (max-width: 860px) { .lead-article { grid-template-columns: 1fr; } }
.article-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); padding-bottom: var(--section); }
.article-list li { border-bottom: 1px solid var(--line); }
.article-list a { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.5rem; padding-block: 1.75rem; text-decoration: none; }
.al-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.al-lang { margin-left: .9rem; color: var(--steel); font-size: .82rem; font-style: italic; }
.al-title { display: block; font-family: var(--display); font-size: 1.4rem; line-height: 1.22; margin: .25rem 0 .5rem; }
.al-excerpt { display: block; color: var(--ivory-dim); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-list a:hover .al-title { color: var(--bronze-2); }
@media (max-width: 900px) { .article-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .article-list a { grid-template-columns: 6rem 1fr; gap: 1rem; } .al-excerpt { display: none; } }

/* ---------- article */
.article { padding-bottom: 0; }
.article-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
.article-head .back { font-size: .92rem; }
.article-head h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 1.5rem 0 1.25rem; max-width: none; }
.article-meta span { margin-left: 1rem; font-style: italic; }
.article-hero { width: min(100% - 2 * var(--gutter), 1200px); margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); }
.article-hero img { width: 100%; max-height: 72vh; object-fit: cover; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.2em 0 .7em; }
.prose h3, .prose h4 { font-size: 1.45rem; margin: 2em 0 .6em; }
.prose strong { font-weight: 500; color: var(--ivory); }
.prose figure { margin: 2.5rem 0; }
.prose figure img, .prose > img, .prose p img { width: 100%; height: auto; }
.prose figcaption { color: var(--steel); font-size: .9rem; margin-top: .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose ul { list-style: disc; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--bronze-2); }
.prose blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 1px solid var(--bronze); font-family: var(--display); font-size: 1.35rem; line-height: 1.45; }
.article .pager { margin-top: clamp(3rem, 6vw, 5rem); margin-bottom: var(--section); }

/* ---------- about */
.etymology { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem clamp(1.25rem, 3vw, 3rem); padding-bottom: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.ety-word { display: grid; gap: .3rem; }
.greek { font-family: var(--greek); font-size: clamp(3rem, 7vw, 6.2rem); line-height: 1; color: var(--bronze-2); }
.ety-logo { font-family: var(--display); font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.12; letter-spacing: .04em; }
.ety-trans { font-style: italic; color: var(--steel); }
.ety-mean { color: var(--ivory-dim); font-size: .95rem; }
.ety-plus { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); color: var(--steel); padding-bottom: 2.6rem; }
@media (max-width: 860px) {
  .etymology { flex-direction: column; align-items: flex-start; }
  .ety-plus { padding: 0; line-height: 1; }
}
.about-body { display: grid; grid-template-columns: 5fr 6fr; gap: 2.5rem clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 7vw, 6rem) var(--section); align-items: start; }
.about-fig { margin: 0; }
.about-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-fig figcaption, .contact-fig figcaption { color: var(--steel); font-size: .88rem; margin-top: .6rem; }
@media (max-width: 860px) { .about-body { grid-template-columns: 1fr; } .about-fig img { aspect-ratio: 3 / 2; } }

/* ---------- faq */
.faq-list { max-width: 56rem; padding-bottom: var(--section); border-bottom: 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 2rem; align-items: baseline; padding-block: 1.4rem; font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.25; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--bronze-2); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--bronze-2); }
.faq-list .prose { padding-bottom: 1.6rem; max-width: 44rem; color: var(--ivory-dim); font-size: 1.05rem; }

/* ---------- contact */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem clamp(2rem, 6vw, 6rem); padding-bottom: var(--section); align-items: start; }
.contact-main address { font-style: normal; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); line-height: 1.8; color: var(--ivory-dim); }
.contact-main address strong { color: var(--ivory); font-weight: 450; }
.contact-main address a { color: var(--bronze-2); }
.contact-fig { margin: 0; }
.contact-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-fig img { aspect-ratio: 3 / 2; } }

/* ---------- gallery */
.masonry { columns: 3 300px; column-gap: 3px; padding-bottom: var(--section); }
.masonry li { break-inside: avoid; margin-bottom: 3px; }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease); }

/* ---------- legal */
.legal-text { padding-bottom: var(--section); }
.legal-text h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.legal-dl { margin: 1.5rem 0; border-top: 1px solid var(--line); }
.legal-dl div { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.legal-dl dt { color: var(--steel); font-size: .95rem; }
.legal-dl dd { margin: 0; }
@media (max-width: 560px) { .legal-dl div { grid-template-columns: 1fr; gap: 0; } }

.nf-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.notfound .page-head { padding-bottom: var(--section); }

/* ---------- motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cta, .viewer-modes, .filters, .pager { display: none; }
  body { background: #fff; color: #000; }
}
