/* Jaishree Stones. Built to the Jaishree Brand Identity Guidelines (VERSEATILE Studios).
   Closed five-colour palette, no gradients, tints or white. Cinzel + Helvetica Now Display only.
   Motion: GSAP ScrollTrigger scenes (site.js); everything degrades to a static page without JS or with reduced motion. */

@font-face { font-family: "Helvetica Now Display"; font-weight: 300; font-display: swap;
  src: local("Helvetica Now Display Light"), local("HelveticaNowDisplay-Light"); }
@font-face { font-family: "Helvetica Now Display"; font-weight: 400; font-display: swap;
  src: local("Helvetica Now Display"), local("HelveticaNowDisplay-Regular"); }
@font-face { font-family: "Helvetica Now Display"; font-weight: 500; font-display: swap;
  src: local("Helvetica Now Display Medium"), local("HelveticaNowDisplay-Medium"); }
@font-face { font-family: "Helvetica Now Display"; font-weight: 700; font-display: swap;
  src: local("Helvetica Now Display Bold"), local("HelveticaNowDisplay-Bold"); }

:root {
  --quarry: #1c1917;
  --basalt: #2a2622;
  --bone: #ede8de;
  --bronze: #a8823d;
  --sediment: #8c8a82;
  --rule-dark: rgba(237, 232, 222, .14);
  --rule-light: rgba(28, 25, 23, .14);
  --display: "Cinzel", Georgia, serif;
  --sans: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 4.5vw, 72px);
  --max: 1440px;
  --head: 84px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--quarry); color: var(--sediment); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }
::selection { background: var(--bronze); color: var(--quarry); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* grounds set their own text colours (guide 4.3) */
body, .dark { --head-c: var(--bone); --text-c: var(--sediment); --rule: var(--rule-dark); --fill-c: var(--quarry); }
.panel, .visit-panel { --head-c: var(--bone); --text-c: var(--sediment); --rule: var(--rule-dark); --fill-c: var(--quarry); }
.light { --head-c: var(--quarry); --text-c: var(--basalt); --rule: var(--rule-light); --fill-c: var(--bone); }
.dark { background: var(--quarry); color: var(--text-c); }
.panel { background: var(--basalt); color: var(--text-c); }
.light { background: var(--bone); color: var(--text-c); }
h1, h2, h3, .display, .h-section { color: var(--head-c); }

/* type */
.display { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; line-height: 1.1; }
.d-hero { font-size: clamp(38px, 6.6vw, 108px); letter-spacing: .1em; line-height: 1.02; }
.d-xl { font-size: clamp(32px, 5vw, 76px); letter-spacing: .1em; line-height: 1.06; }
.d-lg { font-size: clamp(26px, 3.4vw, 50px); }
.d-md { font-size: clamp(20px, 2vw, 28px); }
.d-sm { font-size: clamp(15px, 1.3vw, 18px); letter-spacing: .14em; }
.h-section { font-family: var(--sans); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; }
.eyebrow { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze) !important; display: inline-flex; align-items: center; gap: 14px; line-height: 1.4; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--bronze); }
.eyebrow.plain::before { display: none; }
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3, .eyebrow + .display { margin-top: 22px; }
.lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.8; }
.caption { font-size: 13px; line-height: 1.6; }
.bone { color: var(--bone) !important; }
.tagline { font-family: var(--sans); font-weight: 400; font-size: clamp(11px, .9vw, 13px); letter-spacing: .5em; text-transform: uppercase; color: var(--bone); }

/* split-text reveal targets */
.lines .line { display: block; overflow: hidden; }
.lines .line > span { display: block; will-change: transform; }
.words .w { display: inline-block; opacity: .18; transition: opacity .15s linear; }
.words .w.on { opacity: 1; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 30px; border: 1px solid currentColor; background: transparent; cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--head-c); position: relative; overflow: hidden; white-space: nowrap; transition: color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--head-c); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn > * { position: relative; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--fill-c); }
.btn.fill { background: var(--head-c); color: var(--fill-c); }
.btn.fill::before { background: transparent; }
.btn.fill:hover { background: transparent; color: var(--head-c); }
.site-head .btn { color: var(--bone); }
.site-head .btn:hover { color: var(--quarry); }
.link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--head-c); padding-bottom: 8px; position: relative; }
.link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze); transform-origin: left; transition: transform .5s var(--ease); }
.link::after { content: "\2192"; transition: transform .4s var(--ease); }
.link:hover::after { transform: translateX(8px); }
.link:hover::before { transform: scaleX(.3); }

/* header: Quarry Black, Marble Bone lockup (approved colourway) */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--head); background: var(--quarry); color: var(--bone); border-bottom: 1px solid var(--rule-dark); transform: translateY(0); transition: transform .5s var(--ease); }
.site-head.hide { transform: translateY(-100%); }
.site-head .wrap { max-width: none; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 30px; width: auto; min-width: 144px; display: block; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.menu a.nav-link { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; position: relative; padding: 6px 0; color: var(--bone); }
.menu a.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--bronze); transition: right .4s var(--ease); }
.menu a.nav-link:hover::after, .menu a.nav-link[aria-current="page"]::after { right: 0; }
.menu .btn { min-height: 42px; padding: 0 20px; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; color: var(--bone); }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
body.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }
main { padding-top: var(--head); }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .menu { position: fixed; inset: var(--head) 0 0 0; z-index: 59; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 0 var(--pad) 40px; background: var(--quarry); opacity: 0; pointer-events: none; transition: opacity .4s; overflow-y: auto; }
  .menu a.nav-link { width: 100%; padding: 14px 0; font-family: var(--display); font-weight: 500; font-size: clamp(24px, 7vw, 38px); letter-spacing: .12em; color: var(--bone); border-bottom: 1px solid var(--rule-dark); }
  .menu .btn { margin-top: 30px; }
  body.menu-open .menu { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
}

/* preloader + page curtain (solid Quarry Black; no fades across images) */
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--quarry); display: grid; place-items: center; transform: translateY(0); pointer-events: none; }
.curtain img { width: min(60vw, 360px); opacity: 0; }
.curtain .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--bronze); transform: scaleX(0); transform-origin: left; }
html.no-motion .curtain { display: none; }

/* custom cursor */
.cursor { position: fixed; z-index: 95; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--bronze); pointer-events: none; transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), background .35s; display: none; }
.cursor .lbl { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--quarry); opacity: 0; transition: opacity .3s; }
.cursor.big { width: 72px; height: 72px; background: var(--bronze); }
.cursor.big .lbl { opacity: 1; }
.cursor.sm { width: 40px; height: 40px; }
@media (hover: hover) and (pointer: fine) and (min-width: 960px) { .cursor.live { display: block; } }
.cursor.away { display: none !important; }

/* sections */
.sec { padding: clamp(90px, 11vw, 170px) 0; position: relative; }
.sec.tight { padding: clamp(60px, 7vw, 100px) 0; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.head-row .left { display: grid; gap: 18px; max-width: 820px; }
.rule { height: 1px; background: var(--rule); border: 0; }

/* HERO: full-width masthead on Quarry Black, photograph edge to edge below it; on scroll the photo fills the viewport */
.hero { position: relative; }
.hero-pin { position: relative; height: calc(100vh - var(--head)); min-height: 620px; overflow: hidden; }
.hero-top { position: relative; z-index: 2; padding: clamp(28px, 4vh, 48px) 0 clamp(36px, 7vh, 80px); background: var(--quarry); text-align: center; }
.hero-mark { font-family: var(--display); font-weight: 500; font-size: clamp(64px, 11.5vw, 190px); line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--bone); margin: 0; }
.hero-top .tagline { display: block; margin: clamp(14px, 2.4vh, 28px) 0 0; text-align: center; font-size: clamp(12px, 1.2vw, 18px); letter-spacing: .5em; text-indent: .5em; }
.hero-frame { background: var(--quarry); }
.hero-frame img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 46%); mask-image: linear-gradient(to bottom, transparent 0, #000 46%); }
.hero-top .d-hero { font-size: clamp(40px, 7.4vw, 124px); letter-spacing: .08em; line-height: .98; }
.hero-top .d-hero br { display: none; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.1fr) auto auto; gap: clamp(20px, 3vw, 56px); align-items: end; margin-top: clamp(16px, 2.6vh, 30px); padding-top: clamp(14px, 2vh, 22px); border-top: 1px solid var(--rule-dark); }
.hero-row .lead { max-width: 480px; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; margin: 0; }
.hero-row .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(18px, 2vw, 32px); }
.hero-stats li { display: grid; gap: 4px; }
.hero-stats b { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.5vw, 24px); letter-spacing: .06em; color: var(--bone); line-height: 1; }
.hero-stats span { font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); white-space: nowrap; }
.hero-frame { position: absolute; left: 0; right: 0; bottom: 0; top: var(--frame-top, 46%); overflow: hidden; z-index: 1; will-change: top; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.12); will-change: transform; }
.hero-cap { position: absolute; right: 0; bottom: 0; z-index: 3; background: var(--quarry); color: var(--sediment); padding: 18px 0 0 24px; display: grid; gap: 3px; font-size: 12px; letter-spacing: .1em; min-width: 240px; opacity: 0; transform: translateY(14px); }
.hero-cap .k { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); }
.hero-cap strong { font-family: var(--display); font-weight: 500; letter-spacing: .14em; font-size: 15px; color: var(--bone); text-transform: uppercase; }
@media (max-width: 1340px) { .hero-row { grid-template-columns: minmax(0, 1fr) auto; } .hero-stats { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--rule-dark); } }
@media (max-width: 900px) {
  .hero-pin { height: auto; min-height: 0; }
  .hero-top { padding: 30px 0 40px; }
  .hero-mark { font-size: clamp(44px, 15vw, 72px); }
  .hero-top .tagline { font-size: 11px; letter-spacing: .4em; text-indent: .4em; margin-top: 12px; }
  .hero-top .d-hero br { display: inline; }
  .hero-top .d-hero { font-size: clamp(36px, 10.5vw, 64px); }
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero-stats { flex-wrap: wrap; gap: 16px 24px; }
  .hero-stats span { white-space: normal; }
  .hero-row .ctas { flex-direction: column; align-items: stretch; }
  .hero-row .ctas .btn { white-space: normal; text-align: center; }
  .hero-frame { position: relative; top: auto; height: auto; aspect-ratio: 4 / 3.2; }
  .hero-frame img { transform: none; }
  .hero-cap { position: static; opacity: 1; transform: none; padding: 14px var(--pad) 0; min-width: 0; }
}
html.no-motion .hero-frame { clip-path: none; }
html.no-motion .hero-cap { opacity: 1; transform: none; }

/* NUMBERS: pinned; figure and index on the left, one interior on the right that changes with the figure */
.numbers { position: relative; }
.numbers-pin { height: 100vh; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.num-left { display: grid; align-content: center; gap: clamp(18px, 3vh, 30px); padding: clamp(40px, 6vh, 80px) clamp(24px, 4vw, 64px) clamp(40px, 6vh, 80px) var(--pad); }
.num-stage { position: relative; height: clamp(150px, 22vh, 220px); }
.num-stage .f { position: absolute; inset: 0; display: grid; align-content: center; gap: 14px; opacity: 0; pointer-events: none; }
.num-stage .big { font-family: var(--display); font-weight: 500; font-size: clamp(64px, 9vw, 150px); line-height: .9; letter-spacing: .02em; color: var(--bone); font-variant-numeric: tabular-nums; }
.num-stage .lbl { font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); }
.num-index { display: grid; border-top: 1px solid var(--rule-dark); max-width: 560px; }
.num-index button { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border: 0; border-bottom: 1px solid var(--rule-dark); background: none; cursor: pointer; text-align: left; color: var(--sediment); position: relative; transition: color .4s, padding-left .5s var(--ease); }
.num-index button::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--bronze); transition: width .5s var(--ease); }
.num-index b { font-family: var(--display); font-weight: 500; font-size: clamp(14px, 1.2vw, 18px); letter-spacing: .06em; }
.num-index span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.num-index button.on { color: var(--bone); padding-left: 30px; }
.num-index button.on::before { width: 18px; }
.num-right { position: relative; }
.num-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
@media (max-width: 860px) {
  .numbers-pin { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .num-right { order: -1; aspect-ratio: 4 / 3; }
  .num-left { padding: clamp(40px, 8vw, 70px) var(--pad); }
  .num-stage { height: clamp(130px, 24vw, 190px); }
}

/* DIVISIONS: pinned horizontal track */
.divisions { position: relative; overflow: hidden; }
.div-track { display: flex; width: max-content; height: 100vh; }
.div-panel { width: 100vw; height: 100vh; display: grid; grid-template-columns: 1.25fr 1fr; flex: none; }
.div-panel .img { overflow: hidden; }
.div-panel .img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.div-panel .txt { display: grid; align-content: center; gap: 22px; padding: clamp(32px, 5vw, 80px); background: var(--basalt); color: var(--sediment); position: relative; }
.div-panel .txt h2 { color: var(--bone); }
.div-panel .idx { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .3em; color: var(--bronze); }
.div-panel .count { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.div-progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; height: 1px; background: var(--rule-dark); z-index: 2; }
.div-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 33.333%; background: var(--bronze); transform-origin: left; }
@media (max-width: 900px) {
  .div-track { display: grid; width: auto; height: auto; }
  .div-panel { width: auto; height: auto; grid-template-columns: 1fr; }
  .div-panel .img { aspect-ratio: 16 / 10; }
  .div-panel .img img { transform: none; }
  .div-progress { display: none; }
}

/* STONES: two rows that drift in opposite directions on scroll */
.drift { overflow: hidden; display: grid; gap: clamp(14px, 2vw, 24px); }
.drift-row { display: flex; gap: clamp(14px, 2vw, 24px); width: max-content; will-change: transform; }
.drift-row .stone-card { width: clamp(200px, 20vw, 280px); flex: none; }
@media (max-width: 900px) {
  .drift { gap: 18px; }
  .drift-row { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 6px; scrollbar-width: none; }
  .drift-row::-webkit-scrollbar { display: none; }
  .drift-row .stone-card { width: min(62vw, 240px); scroll-snap-align: start; }
}

/* stone cards */
.stone-card { display: grid; gap: 14px; align-content: start; }
.stone-card .ph { position: relative; aspect-ratio: 1; background: var(--bone); overflow: hidden; }
.stone-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.stone-card .ph img.sw { object-fit: cover; }
.stone-card .ph img.slab { object-fit: contain; padding: 9%; opacity: 0; transform: scale(.94); }
.stone-card:hover .ph img.sw { opacity: 0; transform: scale(1.06); }
.stone-card:hover .ph img.slab { opacity: 1; transform: none; }
@media (hover: none) { .stone-card .ph img.slab { display: none; } }
.stone-card h3 { font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.stone-card .origin { font-size: 13px; line-height: 1.5; margin-top: 3px; }
.avail { font-size: 10px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); margin-top: 6px; display: block; }

/* STORY: pinned timeline */
.story-pin { height: 100vh; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.story-img { position: relative; }
.story-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.story-txt { display: grid; align-content: center; gap: 22px; padding: 0 var(--pad) 0 clamp(32px, 5vw, 80px); position: relative; }
.story-year { font-family: var(--display); font-weight: 500; font-size: clamp(64px, 9vw, 150px); line-height: .9; letter-spacing: .04em; color: var(--bone); height: 1em; position: relative; }
.story-year span { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; }
.story-step { position: relative; min-height: 150px; }
.story-step > div { position: absolute; inset: 0; display: grid; gap: 14px; align-content: start; opacity: 0; }
.story-step h3 { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze) !important; }
.story-step p { max-width: 460px; color: var(--sediment); }
.story-dots { display: flex; gap: 10px; }
.story-dots i { width: 28px; height: 1px; background: var(--rule-dark); transition: background .4s; }
.story-dots i.on { background: var(--bronze); }
@media (max-width: 900px) {
  .story-pin { height: auto; grid-template-columns: 1fr; }
  .story-img { aspect-ratio: 4 / 3; }
  .story-txt { padding: clamp(40px, 7vw, 70px) var(--pad); }
  .story-step { min-height: 190px; }
}

/* ORIGINS: list with a cursor-following swatch */
.origins-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.origins-grid > * { min-width: 0; }
.country-list { border-top: 1px solid var(--rule-dark); }
.country { display: grid; grid-template-columns: 36px 1fr auto; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule-dark); color: var(--sediment); transition: padding-left .5s var(--ease); }
.country:hover { padding-left: 14px; }
.country .i { font-size: 11px; letter-spacing: .2em; color: var(--bronze); }
.country .n { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2vw, 28px); letter-spacing: .12em; color: var(--bone); text-transform: uppercase; }
.country .c { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.peek { position: fixed; z-index: 50; width: 220px; aspect-ratio: 1; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .35s var(--ease), transform .35s var(--ease); overflow: hidden; display: none; }
.peek img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.peek img.on { opacity: 1; }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (pointer: fine) { .peek { display: block; } }
@media (max-width: 860px) { .origins-grid { grid-template-columns: 1fr; } }
.india-line { margin-top: 30px; font-size: 14px; letter-spacing: .04em; }
.india-line a { border-bottom: 1px solid var(--rule-dark); margin-right: 10px; }
.india-line strong { color: var(--bone); font-weight: 500; margin-right: 10px; }

/* VISIT: full-bleed parallax image, then a Basalt panel */
.visit-img { height: 80vh; min-height: 420px; overflow: hidden; position: relative; }
.visit-img img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.visit-panel { background: var(--basalt); color: var(--sediment); }
.visit-panel .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 100px); padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(60px, 8vw, 120px); align-items: end; }
.visit-panel h2 { color: var(--bone); }
.visit-panel address { font-style: normal; display: grid; gap: 6px; }
.visit-panel address b { color: var(--bone); font-weight: 500; }
@media (max-width: 860px) { .visit-panel .wrap { grid-template-columns: 1fr; } .visit-img { height: 60vh; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 100px); }
.faq-grid > * { min-width: 0; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 500; font-size: 17px; line-height: 1.5; color: var(--head-c); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; line-height: 1; transition: transform .4s var(--ease); color: var(--bronze); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 26px; max-width: 680px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* JOURNAL cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.post-card { display: grid; gap: 16px; align-content: start; }
.post-card .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.post-card:hover .ph img { transform: scale(1.1); }
.post-meta { display: flex; gap: 14px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
.post-card h3 { font-family: var(--sans); font-weight: 500; font-size: 19px; line-height: 1.45; }
.post-card.big { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.post-card.big h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } .post-card.big { grid-template-columns: 1fr; } }

/* FOOTER: giant lockup revealed on scroll */
.site-foot { background: var(--quarry); color: var(--sediment); padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--rule-dark); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: clamp(50px, 7vw, 90px); }
.foot-top h4 { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); margin-bottom: 18px; }
.foot-top li { margin-bottom: 8px; }
.foot-top a:hover { color: var(--bone); }
.foot-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 30px; padding: 30px 0; border-top: 1px solid var(--rule-dark); }
.foot-strip .imgs { display: flex; gap: 18px; min-width: 0; overflow: hidden; }
.foot-strip .imgs.r { justify-content: flex-end; }
.foot-strip .imgs img { width: clamp(70px, 8vw, 160px); aspect-ratio: 8 / 5; object-fit: cover; flex: none; }
.foot-strip p { font-family: var(--display); font-weight: 500; font-size: clamp(12px, 1.2vw, 18px); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--sediment); }
@media (max-width: 900px) { .foot-strip { grid-template-columns: minmax(0, 1fr); text-align: center; } .foot-strip .imgs { justify-content: center !important; gap: 10px; } .foot-strip .imgs img { flex: 1 1 0; min-width: 0; width: 0; max-width: 160px; } .foot-strip p { white-space: normal; padding: 0 var(--pad); } }
.foot-lockup { width: 100%; height: auto; margin: 10px 0 40px; clip-path: inset(0 100% 0 0); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px 0 34px; border-top: 1px solid var(--rule-dark); font-size: 13px; }
.foot-base nav { display: flex; gap: 28px; }
.foot-base a:hover { color: var(--bone); }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* page header */
.page-head { padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 5vw, 70px); }
.page-head .wrap { display: grid; gap: 22px; }
.page-head p.lead { max-width: 680px; }
.crumbs { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--head-c); }

/* COLLECTIONS */
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.cat-tile { display: grid; gap: 14px; align-content: start; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; padding: 0; }
.cat-tile .img { aspect-ratio: 4 / 3; overflow: hidden; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.cat-tile:hover img { transform: scale(1.1); }
.cat-tile .t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.cat-tile .t small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.cat-tile[aria-selected="true"] .t { border-bottom-color: var(--bronze); }
.cat-tile[aria-selected="true"] .t small { color: var(--bronze); }
@media (max-width: 760px) { .cat-tiles { grid-template-columns: 1fr; } .cat-tile .img { aspect-ratio: 16 / 7; } }
.toolbar { position: sticky; top: var(--head); z-index: 20; background: var(--bone); border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); color: var(--basalt); }
.toolbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 14px; padding-bottom: 14px; }
.search { flex: 1 1 220px; max-width: 320px; min-height: 44px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--rule-light); }
.search input { flex: 1; border: 0; background: transparent; outline: none; min-height: 44px; font-size: 15px; font-weight: 300; color: var(--quarry); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-light); background: transparent; cursor: pointer; font-size: 13px; font-weight: 400; color: var(--basalt); transition: all .3s; }
.chip:hover { border-color: var(--quarry); }
.chip[aria-pressed="true"] { background: var(--quarry); border-color: var(--quarry); color: var(--bone); }
.select { min-height: 40px; padding: 0 34px 0 14px; border: 1px solid var(--rule-light); color: var(--basalt); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%232a2622'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; border-radius: 999px; font-size: 13px; cursor: pointer; }
.count { margin-left: auto; font-size: 13px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 28px); padding: clamp(40px, 5vw, 70px) 0 clamp(80px, 10vw, 130px); }
.empty { grid-column: 1 / -1; text-align: center; padding: 80px 0; }
.soon { grid-column: 1 / -1; display: grid; gap: 18px; justify-items: start; padding: clamp(40px, 6vw, 80px); background: var(--basalt); color: var(--sediment); }
.soon h2, .soon .btn { color: var(--bone); }

/* PRODUCT */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; padding-bottom: clamp(70px, 9vw, 120px); }
.product > * { min-width: 0; }
.slab-stage { position: sticky; top: calc(var(--head) + 24px); aspect-ratio: 1; background: var(--bone); border: 1px solid var(--rule-light); display: grid; place-items: center; perspective: 1200px; }
.slab-stage img { width: 86%; height: 86%; object-fit: contain; will-change: transform; }
.product .info { display: grid; gap: 26px; padding-top: 10px; }
.product .info p.desc { font-size: 19px; color: var(--quarry); font-weight: 400; line-height: 1.6; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); }
.facts div { padding: 22px 0; display: grid; gap: 6px; min-width: 0; }
.facts dd, .facts dt { overflow-wrap: anywhere; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-light); } }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--rule-light); }
.facts dt { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); }
.facts dd { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; color: var(--quarry); }
.note { font-size: 14px; border-left: 1px solid var(--bronze); padding-left: 16px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.spaces { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); }
.spaces .ph { overflow: hidden; cursor: zoom-in; }
.spaces .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.spaces .ph:first-child { grid-row: span 2; aspect-ratio: 4 / 3; }
.spaces.three { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
.spaces.three .ph { aspect-ratio: 4 / 3; }
.spaces.three .ph:first-child { grid-row: auto; }
/* every interior, captioned by application: lead image large, the rest in threes */
.spaces.apps { grid-template-columns: repeat(6, 1fr); grid-template-rows: none; row-gap: clamp(22px, 2.4vw, 34px); }
.spaces.apps figure { grid-column: span 2; display: grid; grid-template-rows: 1fr auto; gap: 12px; min-width: 0; }
.spaces.apps .ph { aspect-ratio: 16 / 9; grid-row: auto; }
.spaces.apps figure:first-child { grid-column: span 4; grid-row: span 2; }
.spaces.apps figure:first-child .ph { aspect-ratio: auto; min-height: 0; }
.spaces.apps.n1 figure:first-child { grid-column: 1 / -1; grid-row: auto; }
.spaces.apps.n1 figure:first-child .ph, .spaces.apps.n2 figure:first-child .ph { aspect-ratio: 16 / 9; }
.spaces.apps.n2 figure, .spaces.apps.n2 figure:first-child { grid-column: span 3; grid-row: auto; }
.spaces.apps figcaption { display: flex; align-items: baseline; gap: 12px; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--bone); line-height: 1.4; }
.spaces.apps figcaption span { font-size: 11px; font-weight: 500; letter-spacing: .24em; color: var(--bronze); }
@media (max-width: 860px) { .spaces.apps { grid-template-columns: 1fr; } .spaces.apps figure, .spaces.apps figure:first-child { grid-column: auto; grid-row: auto; } .spaces.apps figure:first-child .ph { aspect-ratio: 16 / 9; } }
.lightbox { position: fixed; inset: 0; z-index: 90; background: var(--quarry); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 90vh; width: auto; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .slab-stage { position: relative; top: 0; } .spaces { grid-template-columns: 1fr; grid-template-rows: auto; } .spaces .ph:first-child { grid-row: auto; } .spaces .ph img { transform: none; } }

/* ABOUT */
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: end; }
.about-hero > * { min-width: 0; }
.about-hero .img { aspect-ratio: 4 / 5; overflow: hidden; }
@media (max-width: 960px) { .about-hero { grid-template-columns: 1fr; } .about-hero .img { aspect-ratio: 4 / 3; } }
.about-hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.story-prose { max-width: 880px; margin: 0 auto; font-size: clamp(20px, 2.3vw, 34px); line-height: 1.55; font-weight: 300; color: var(--bone); }
.story-prose p { margin-bottom: 1.1em; }
.story-prose .close { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.5; color: var(--bone); padding-left: 24px; border-left: 1px solid var(--bronze); margin-top: 1.6em; }
.creds { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); }
.cred { padding: clamp(26px, 3vw, 40px) clamp(12px, 2vw, 24px) 0 0; display: grid; gap: 10px; align-content: start; }
.cred + .cred { padding-left: clamp(12px, 2vw, 24px); border-left: 1px solid var(--rule); }
.cred .num { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.4vw, 52px); line-height: 1; letter-spacing: .04em; color: var(--head-c); font-variant-numeric: tabular-nums; }
.cred p { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); line-height: 1.6; }
@media (max-width: 900px) { .creds { grid-template-columns: repeat(2, 1fr); } .cred, .cred + .cred { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); } .cred:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); } }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--rule); }
.t-item { position: relative; padding: 42px 22px 0 0; display: grid; gap: 12px; align-content: start; }
.t-item::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--basalt); border: 1px solid var(--bronze); }
.t-item.now::before { background: var(--bronze); }
.t-item .when { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: .06em; color: var(--head-c); line-height: 1; }
.t-item h3 { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze) !important; }
.t-item p { font-size: 15px; line-height: 1.75; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; padding-left: 30px; }
  .timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .t-item { padding: 0 0 38px; }
  .t-item::before { left: -30px; }
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.pillar { border-top: 1px solid var(--bronze); padding-top: 24px; display: grid; gap: 12px; align-content: start; }
.pillar .n { font-size: 11px; font-weight: 500; letter-spacing: .24em; color: var(--bronze); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.leader .mono { aspect-ratio: 4 / 5; background: var(--basalt); display: grid; place-items: center; position: relative; overflow: hidden; }
.leader .mono span { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: .12em; color: var(--bone); }
.leader .mono img { position: absolute; width: 20px; bottom: 18px; right: 18px; }
.leader h3 { margin-top: 18px; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.leader p { font-size: 14px; margin-top: 2px; }
@media (max-width: 860px) { .leaders { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .leaders { grid-template-columns: 1fr; } .leader h3 { overflow-wrap: anywhere; } }

/* EXPERIENCE page + projects sample */
.big-img { overflow: hidden; height: 85vh; min-height: 420px; position: relative; }
.big-img img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.preview-banner { background: var(--basalt); color: var(--sediment); text-align: center; font-size: 13px; padding: 12px var(--pad); }
.preview-banner b { color: var(--bronze); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; margin-right: 10px; }
.proj-feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.proj-feature > * { min-width: 0; }
.proj-feature .ph { aspect-ratio: 3 / 2; overflow: hidden; }
.proj-feature img { width: 100%; height: 100%; object-fit: cover; }
.proj-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; border-top: 1px solid var(--rule); padding-top: 22px; }
.proj-facts dt { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
.proj-facts dd { margin-top: 2px; color: var(--head-c); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.proj-card { display: grid; gap: 12px; }
.proj-card .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.proj-card:hover img { transform: scale(1.1); }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.logo-wall div { aspect-ratio: 3 / 2; display: grid; place-items: center; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 860px) { .proj-feature { grid-template-columns: 1fr; } .proj-grid { grid-template-columns: 1fr; } .logo-wall { grid-template-columns: repeat(3, 1fr); } }
.map { width: 100%; aspect-ratio: 21 / 8; border: 0; filter: grayscale(1); display: block; }
@media (max-width: 860px) { .map { aspect-ratio: 4 / 3; } }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); }
.contact-grid > * { min-width: 0; }
.contact-lines { display: grid; gap: 30px; align-content: start; }
.contact-lines > div { display: grid; gap: 10px; justify-items: start; }
.contact-lines .eyebrow { margin: 0 !important; }
.contact-lines a:not(.link):not(.btn), .contact-lines address { overflow-wrap: anywhere; font-family: var(--display); font-weight: 500; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: .1em; font-style: normal; line-height: 1.5; color: var(--head-c); text-transform: uppercase; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); }
.field input, .field textarea { border: 0; border-bottom: 1px solid var(--rule-light); background: transparent; padding: 12px 0; font-size: 16px; font-weight: 300; color: var(--quarry); outline: none; border-radius: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--bronze); }
.options { display: flex; flex-wrap: wrap; gap: 10px; border: 0; }
.options label { cursor: pointer; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--rule-light); border-radius: 999px; font-size: 13px; color: var(--basalt); transition: all .3s; }
.options input:checked + span { background: var(--quarry); color: var(--bone); border-color: var(--quarry); }
.options input:focus-visible + span { outline: 1px solid var(--bronze); outline-offset: 3px; }
@media (max-width: 860px) { .contact-grid, .form { grid-template-columns: 1fr; } }

/* article */
.article-head { text-align: center; padding: clamp(70px, 9vw, 120px) var(--pad) clamp(40px, 5vw, 60px); display: grid; gap: 22px; justify-items: center; }
.article-head h1 { max-width: 920px; }
.article-head .post-meta { justify-content: center; }
.article-hero { overflow: hidden; height: 70vh; min-height: 360px; position: relative; }
.article-hero img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.article { max-width: 720px; margin: 0 auto; padding: clamp(50px, 7vw, 90px) var(--pad); }
.article h2 { font-family: var(--sans); font-weight: 700; font-size: 22px; margin: 40px 0 12px; }
.article h2:first-child { margin-top: 0; }
.article p { font-size: 17px; line-height: 1.85; margin-bottom: 16px; }

/* legal + 404 */
.legal { max-width: 760px; padding-bottom: clamp(80px, 10vw, 130px); }
.legal h2 { font-family: var(--sans); font-weight: 700; font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { border-bottom: 1px solid var(--bronze); }
.nf { min-height: calc(100vh - var(--head)); display: grid; place-items: center; text-align: center; }
.nf .wrap { display: grid; gap: 24px; justify-items: center; }

/* small phones */
@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .hero-copy .ctas .btn { white-space: normal; text-align: center; padding: 14px 18px; line-height: 1.4; }
  .hero-copy .ctas { flex-direction: column; align-items: stretch; }
}
@media (max-width: 320px) {
  .d-xl { font-size: 21px; }
  .d-lg { font-size: 18px; }
  .d-hero { font-size: 26px; }
}
@media (max-width: 420px) {
  .d-hero { font-size: 30px; }
  .d-xl { font-size: 26px; letter-spacing: .06em; }
  .d-lg { font-size: 22px; letter-spacing: .06em; }
  .num-stage .big { font-size: 60px; }
  .story-year { font-size: 56px; }
}

/* reveal fallback (used when motion is off) */
.reveal { opacity: 0; transform: translateY(26px); }
html.no-motion .reveal, html.no-motion .lines .line > span, html.no-motion .words .w { opacity: 1; transform: none; }
html.no-motion .hero-frame img, html.no-motion .div-panel .img img, html.no-motion .spaces .ph img, html.no-motion .about-hero img { transform: none; }
html.no-motion .story-img img:first-child, html.no-motion .story-step > div:first-child, html.no-motion .story-year span:first-child, html.no-motion .num-stage .f:first-child, html.no-motion .num-right img:first-child { opacity: 1; }
html.no-motion .hero-cap { opacity: 1; transform: none; }
html.no-motion .foot-lockup { clip-path: none; }
html.no-motion .scroll-cue::after { animation: none; }

/* ===== phone layout ===== */
@media (max-width: 900px) {
  .sec { padding: clamp(56px, 12vw, 90px) 0; }
  .head-row { margin-bottom: 28px; }
  /* stone rows keep their gutter when they snap */
  .drift-row { scroll-padding-inline: var(--pad); scroll-snap-type: x proximity; }
  /* story: a swipeable row of steps under the image, year on each card */
  .story-txt { padding: 36px var(--pad) 44px; gap: 18px; }
  .story-year, .story-dots { display: none; }
  .story-step { min-height: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 6px; scrollbar-width: none; }
  .story-step::-webkit-scrollbar { display: none; }
  .story-step > div { position: static; opacity: 1 !important; transform: none !important; flex: 0 0 min(78vw, 300px); scroll-snap-align: start; display: grid; gap: 10px; align-content: start; padding: 20px 18px 22px; background: var(--basalt); }
  .story-step > div::before { content: attr(data-when); font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: .04em; color: var(--bone); line-height: 1; margin-bottom: 4px; }
  .story-step p { font-size: 14px; line-height: 1.65; }
  .story-img img:first-child { opacity: 1; }
}
@media (max-width: 860px) {
  /* numbers: all eight figures in a grid under the image; no stage, no cycling list */
  .num-stage { display: none; }
  .num-index { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 0; max-width: none; background: var(--rule-dark); }
  .num-index button { display: grid; gap: 8px; padding: 20px 16px; border: 0; background: var(--quarry); color: var(--sediment); cursor: default; }
  .num-index button::before { display: none; }
  .num-index button b { font-size: clamp(26px, 8vw, 36px); color: var(--bone); letter-spacing: .02em; }
  .num-index button span { font-size: 10px; letter-spacing: .16em; line-height: 1.5; }
  .num-index button.on { padding-left: 16px; }
  .num-index button.on b { color: var(--bronze); }
  .num-right { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  /* collections: a compact three-up strip instead of three tall tiles */
  .cat-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-tile .img { aspect-ratio: 1; }
  .cat-tile .t { flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 10px; }
  .cat-tile .t .display { font-size: 11px; letter-spacing: .12em; }
  .cat-tile .t small { font-size: 9px; letter-spacing: .12em; }
}

/* ===== inner-page masthead: headline across the width, photograph edge to edge, wipes in on load ===== */
.page-hero { position: relative; }
.page-hero .wrap { padding-top: clamp(28px, 4vh, 56px); padding-bottom: clamp(22px, 3vh, 40px); }
.page-hero .d-hero { font-size: clamp(34px, 6vw, 100px); letter-spacing: .08em; line-height: 1; }
.page-hero .d-hero br { display: none; }
.page-hero .hero-row { grid-template-columns: minmax(0, 1.2fr) auto; }
.page-hero .hero-row .ctas { justify-self: end; }
.page-img { height: clamp(320px, 56vh, 640px); overflow: hidden; }
.page-img img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 55%; margin-top: -10%; }
html.no-motion .page-img img { transform: none; }
@media (max-width: 900px) {
  .page-hero .d-hero br { display: inline; }
  .page-hero .d-hero { font-size: clamp(30px, 8.6vw, 60px); overflow-wrap: anywhere; }
  .page-hero .hero-row { grid-template-columns: minmax(0, 1fr); }
  .page-hero .hero-row .ctas { justify-self: start; }
  .page-img { height: auto; aspect-ratio: 4 / 3.2; }
  .page-img img { height: 100%; margin-top: 0; }
}

/* ===== timeline: pinned horizontal track ===== */
.tl { position: relative; overflow: hidden; }
.tl-head { padding-top: clamp(56px, 7vh, 90px); padding-bottom: clamp(24px, 4vh, 48px); display: grid; gap: 16px; }
.tl-track { display: flex; width: max-content; }
.tl-panel { width: 72vw; max-width: 1100px; height: calc(100vh - 230px); min-height: 440px; display: grid; grid-template-columns: 1.1fr 1fr; flex: none; border-left: 1px solid var(--rule-dark); }
.tl-panel .img { overflow: hidden; }
.tl-panel .img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.tl-panel .txt { display: grid; align-content: center; gap: 14px; padding: clamp(28px, 4vw, 60px); }
.tl-panel .idx { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: .3em; color: var(--bronze); }
.tl-panel .when { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 84px); line-height: .95; letter-spacing: .04em; color: var(--bone); }
.tl-panel h3 { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze) !important; }
.tl-panel p { max-width: 420px; }
.tl-panel.now .when { color: var(--bronze); }
.tl .div-progress { bottom: 24px; }
@media (max-width: 900px) {
  .tl-track { display: grid; width: auto; gap: 14px; padding: 0 var(--pad) clamp(56px, 12vw, 90px); }
  .tl-panel { width: auto; max-width: none; height: auto; min-height: 0; grid-template-columns: 1fr; border: 0; background: var(--quarry); }
  .tl-panel .img { aspect-ratio: 16 / 9; }
  .tl-panel .img img { transform: none; }
  .tl-panel .txt { padding: 22px 20px 26px; }
  .tl .div-progress { display: none; }
}

/* project cards drift on desktop, scroll on phones */
.proj-row { padding: 0 var(--pad); }
.proj-row .proj-card { width: clamp(260px, 26vw, 380px); flex: none; }

/* ===== home v3: the sections and effects of the live homepage ===== */
.hasbg { overflow: hidden; }
.bg-lines { position: absolute; left: -30px; top: 55%; width: calc(100% + 60px); max-width: none; pointer-events: none; opacity: .07; z-index: 0; }
.light .bg-lines { opacity: .16; }
.hasbg > .wrap { position: relative; z-index: 1; }
.big-num { font-family: var(--display); font-weight: 500; font-size: clamp(64px, 10vw, 150px); letter-spacing: -.02em; line-height: 1; color: var(--bone); }
.stats { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 6vw, 90px); }
.stat p { margin-top: 16px; font-size: 14px; }
.stat.right { justify-self: end; text-align: right; }
.statement { max-width: 600px; margin: clamp(30px, 4vw, 60px) auto 0; text-align: center; font-size: 15px; }
/* the ring: a 600x320 stage scaled to fit, perspective 1400 like the live site */
.ring3d { --rs: 1; width: calc(600px * var(--rs)); height: calc(320px * var(--rs)); perspective: calc(1400px * var(--rs)); display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; justify-self: center; }
.ring3d.grabbing { cursor: grabbing; }
.ring-tilt { transform-style: preserve-3d; transform: rotateX(-40deg) rotateY(-10deg); width: 0; height: 0; }
.ring-spin { transform-style: preserve-3d; position: relative; will-change: transform; }
.ring-panel { position: absolute; left: calc(var(--w) * -0.5px * var(--rs)); top: calc(var(--h) * -0.5px * var(--rs)); width: calc(var(--w) * 1px * var(--rs)); height: calc(var(--h) * 1px * var(--rs)); transform: rotateY(var(--a)) translateZ(calc(180px * var(--rs))) scale(.8); backface-visibility: visible; }
.ring-panel img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (max-width: 1100px) { .ring3d { --rs: .8; } }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stats .ring3d { grid-column: 1 / -1; order: -1; --rs: .62; margin: 0 auto 10px; } .stat.right { text-align: left; justify-self: start; } .big-num { font-size: clamp(48px, 14vw, 84px); } }
@media (max-width: 400px) { .stats .ring3d { --rs: .52; } }

/* commitments: sticky scene */
.commit-wrap { height: 320vh; position: relative; }
.commit-sticky { position: sticky; top: var(--head); height: calc(100vh - var(--head)); display: grid; grid-template-rows: auto 1fr; gap: 10px; padding: clamp(28px, 4vh, 56px) var(--pad) 40px; overflow: hidden; }
.commit-grid { display: grid; grid-template-columns: 1fr minmax(240px, 393px) 1fr; gap: clamp(20px, 4vw, 70px); align-items: center; min-height: 0; }
.deck { position: relative; height: min(64vh, 591px); aspect-ratio: 393 / 591; justify-self: center; }
.deck img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; transition: transform .9s var(--ease), opacity .9s ease; }
.steps-l, .steps-r-txt { position: relative; min-height: 190px; }
.steps-r { display: grid; gap: 40px; align-content: center; }
.step { position: absolute; inset: 0; display: grid; align-content: center; gap: 16px; opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s var(--ease); pointer-events: none; }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step .eyebrow img { width: 11px; height: 17px; }
.step h3 { letter-spacing: .06em; }
.step p { max-width: 320px; font-size: 15px; line-height: 1.7; }
.counter { position: relative; width: 72px; height: 72px; justify-self: start; }
.counter span { position: absolute; inset: 0; border: 1px solid var(--rule-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 1px; font-size: 13px; letter-spacing: .1em; color: var(--bone); opacity: 0; transition: opacity .5s; }
.counter span i { font-style: normal; color: var(--sediment); }
.counter span.on { opacity: 1; }
.commit-phone { display: none; }
@media (max-width: 860px) {
  .commit-wrap { height: auto; }
  .commit-sticky { position: relative; top: auto; height: auto; display: block; padding: clamp(56px, 12vw, 90px) var(--pad) 0; overflow: visible; }
  .commit-grid { display: none; }
  .commit-phone { display: grid; gap: 40px; padding: 30px var(--pad) clamp(56px, 12vw, 90px); }
  .commit-phone article { display: grid; gap: 12px; }
  .commit-phone img { width: min(72vw, 300px); aspect-ratio: 393 / 591; object-fit: cover; margin-bottom: 8px; }
  .commit-phone .eyebrow img { width: 11px; height: 17px; }
  .commit-phone p { font-size: 15px; }
}

/* testimonial */
.testi-sec { overflow: hidden; }
.testi { display: grid; grid-template-columns: 805fr 575fr; align-items: start; margin-top: clamp(40px, 6vw, 90px); position: relative; z-index: 1; }
.testi-sec h2 { font-size: clamp(20px, 2.3vw, 34px); letter-spacing: .14em; line-height: 1.3; }
.commit-h, .h-mid { max-width: 1040px; margin-left: auto; margin-right: auto; }
.h-mid { max-width: 900px; }
@media (max-width: 600px) { .commit-h, .h-mid, .commit-sticky .center { text-align: left; margin-left: 0; } }
.testi video { width: 100%; aspect-ratio: 805 / 379; object-fit: cover; background: var(--quarry); }
.testi-card { background: var(--quarry); color: var(--sediment); padding: clamp(28px, 3.5vw, 52px); display: grid; gap: 30px; margin-top: clamp(30px, 5vw, 70px); align-content: start; }
.testi-card .stars { width: 103px; height: 18px; }
.testi-card blockquote { transition: opacity .4s; display: grid; gap: 8px; }
.testi-card .quote { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.9; color: var(--bone); margin-bottom: 26px; }
.testi-card .who { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); }
.testi-card .where { font-size: 13px; }
.testi-nav { display: flex; gap: 40px; margin-top: 30px; }
.arrow-btn { background: none; border: 0; cursor: pointer; padding: 6px; opacity: .75; transition: opacity .2s; }
.arrow-btn:hover { opacity: 1; }
.arrow-btn img { width: 32px; height: 18px; }
.quote-mark { position: absolute; right: 0; bottom: 0; width: clamp(110px, 15vw, 220px); opacity: .9; pointer-events: none; }
@media (max-width: 860px) { .testi { grid-template-columns: 1fr; } .testi-card { margin-top: 0; } .quote-mark { width: 90px; } }

/* origins */
.origins { display: grid; grid-template-columns: 388fr 592fr; gap: 20px; max-width: 1000px; margin: clamp(40px, 6vw, 80px) auto 0; }
.origins .col { display: grid; gap: 20px; align-content: start; }
.origins .col img:first-child { width: 90%; justify-self: end; }
.origins img { width: 100%; aspect-ratio: 388 / 155; object-fit: cover; }
.origins .main { aspect-ratio: 592 / 330; height: 100%; }
.origin-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 64px; margin-top: clamp(40px, 5vw, 70px); }
.origin-list a { display: flex; align-items: baseline; gap: 14px; }
.origin-list small { font-size: 11px; letter-spacing: .14em; color: var(--sediment); }
.origin-list span { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2vw, 28px); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); transition: color .3s; }
.origin-list a:hover span { color: var(--bronze); }
@media (max-width: 760px) { .origins { grid-template-columns: 1fr; } .origins .col img:first-child { width: 100%; } .origin-list { gap: 16px 32px; } }

/* family + journal strip */
.home-leaders { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: clamp(40px, 6vw, 80px) auto 0; }
.sec-head { display: flex; align-items: center; gap: 24px; margin-bottom: clamp(40px, 5vw, 70px); }
.sec-head .rule { flex: 1; }
.sec.lined { border-top: 1px solid var(--rule-light); }
.faq-home { max-width: 900px; margin: 0 auto; }
@media (max-width: 860px) { .home-leaders { grid-template-columns: 1fr 1fr; } .sec-head { flex-wrap: wrap; } }
@media (max-width: 480px) { .home-leaders { grid-template-columns: 1fr; } }

/* footer CTA: a photograph that fades up out of the dark, like the hero */
.foot-cta { position: relative; height: clamp(320px, 36vw, 480px); overflow: hidden; display: flex; align-items: center; }
.foot-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 70%); mask-image: linear-gradient(to right, transparent 0, #000 70%); }
.foot-cta .wrap { position: relative; z-index: 1; width: 100%; }
.foot-cta h2 { max-width: 620px; }
.foot-cta .down { position: absolute; z-index: 1; left: 50%; bottom: 24px; transform: translateX(-50%); width: 36px; height: 36px; border: 1px solid var(--rule-dark); border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--bone); }
.site-foot { padding-top: 0; border-top: 0; }
.foot-top { padding-top: clamp(60px, 8vw, 110px); }

/* ?qa=1 full-page capture: viewport-height scenes become natural height */
html.qa .hero-pin, html.qa .commit-wrap, html.qa .commit-sticky, html.qa .numbers-pin, html.qa .story-pin { height: auto; min-height: 0; }
html.qa .hero-frame { position: relative; top: auto; height: auto; aspect-ratio: 1440 / 700; }
html.qa .deck { height: 591px; }
html.qa .commit-sticky { position: relative; }

.center { text-align: center; }

/* collections toolbar on phones: one compact block that scrolls with the page, chips in a single swipeable row */
@media (max-width: 900px) {
  .toolbar { position: static; }
  .toolbar .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 10px; padding-top: 12px; padding-bottom: 12px; }
  .search { grid-column: 1 / -1; max-width: none; min-height: 40px; }
  .chips { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 2px var(--pad); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 34px; padding: 0 14px; font-size: 12px; }
  .toolbar .select { width: 100%; min-width: 0; }
  .count { grid-column: 1 / -1; margin: 0; text-align: right; font-size: 12px; }
}
/* phones: two stones per row instead of one giant tile */
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; padding-top: 28px; }
  .cat-grid .stone-card h3 { font-size: 12px; letter-spacing: .1em; }
  .cat-grid .stone-card .origin { font-size: 12px; }
}

/* built to last: the figures turn with the ring */
.stat { position: relative; display: grid; min-width: 0; }
.stat .fig { grid-area: 1 / 1; opacity: 0; transform: translateY(-12px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.stat .fig.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s ease .4s, transform .8s var(--ease) .4s; }
.stat .fig p { margin-top: 16px; font-size: 14px; max-width: 240px; }
.stat.right .fig p { margin-left: auto; }
.fig-dots { grid-area: 2 / 1; display: flex; gap: 8px; margin-top: 22px; }
.fig-dots i { width: 22px; height: 1px; background: var(--rule-dark); transition: background .4s; }
.fig-dots i.on { background: var(--bronze); }
@media (max-width: 860px) { .stat.right .fig p { margin-left: 0; } }

/* placeholder sections stay hidden until Jaishree's content arrives (see ?preview=1 in site.js) */
html:not(.preview) [data-preview] { display: none !important; }

/* Collections masthead: same placement as the other inner pages, tiles under the rule */
.coll-hero .wrap { padding-bottom: clamp(36px, 5vh, 64px); }
.coll-hero .hero-row { grid-template-columns: minmax(0, 1fr); }
.coll-hero .hero-row .lead { max-width: 640px; }
.coll-hero .cat-tiles { margin-top: clamp(28px, 4vh, 44px); }
@media (max-width: 760px) {
  .cat-tile .t { min-height: 62px; justify-content: flex-start; }
  .cat-tile .t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
}

/* the Collections filter bar follows the header: under it when shown, at the top when it hides */
.toolbar { transition: top .5s var(--ease); }
html.head-hidden .toolbar { top: 0; }

/* WhatsApp chat button: Quarry Black with a Bronze Vein ring, never WhatsApp green */
.wa-chat { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 58; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 26px; background: var(--quarry); color: var(--bone); border: 1px solid var(--bronze); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: transform .4s var(--ease), background .3s; }
.wa-chat svg { width: 20px; height: 20px; flex-shrink: 0; }
.wa-chat:hover { background: var(--basalt); transform: translateY(-2px); }
.wa-chat:focus-visible { outline: 1px solid var(--bone); outline-offset: 3px; }
body.menu-open .wa-chat { opacity: 0; pointer-events: none; }
@media (max-width: 600px) { .wa-chat { width: 52px; padding: 0; justify-content: center; } .wa-chat span { display: none; } }
@media print { .wa-chat { display: none; } }

/* SEO content blocks (server-rendered stone and landing pages) */
.seo-copy-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 100px); }
.seo-copy-grid > * { min-width: 0; }
.seo-copy-body { display: grid; gap: 16px; max-width: 760px; }
.seo-copy-body p { line-height: 1.75; }
.seo-copy-body a, .seo-faq .faq a, .seo-nap a { color: var(--head-c); border-bottom: 1px solid var(--rule); }
.spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px 24px; padding: 20px 0; margin-top: 8px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.spec dt { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 4px; }
.spec dd { color: var(--head-c); }
.seo-links { font-size: 14px; }
.seo-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 28px; padding: 0; }
.seo-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; font-size: 13px; color: var(--head-c); transition: background .3s, color .3s; }
.seo-pills a:hover { background: var(--head-c); color: var(--fill-c); }
.seo-nap { font-style: normal; font-size: 14px; line-height: 1.7; }
@media (max-width: 860px) { .seo-copy-grid { grid-template-columns: 1fr; } }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule-dark); font-size: 12.5px; }
.foot-links a { color: var(--sediment); transition: color .3s; }
.foot-links a:hover { color: var(--bone); }
.seo-company { font-size: 14px; margin-bottom: 14px; }
.seo-company a { color: var(--head-c); border-bottom: 1px solid var(--rule); }

/* ---------- phone audit fixes (31 Oct 2026) ----------
   1 readable text, 2 tap targets of 44px, 3 no zoom on form focus, 4 balanced media, 5 copy never left half-faded */
@media (max-width: 760px) {
  /* 1. text: phones fall back to Helvetica Neue / Roboto, whose Light weight is too thin on dark */
  body { font-weight: 400; }
  .eyebrow, .crumbs, .origin-list small, .cat-tile .t small, .cat-tile .t .display { font-size: 12px; }
  .avail { font-size: 11px; }
  .hero-top .tagline, .post-meta, .foot-top h4, .hero-stats span, .tl-panel h3, .pillar .n, .field > label, .field > legend { font-size: 12px; }
  .lead, .story-step p, .commit-phone p { line-height: 1.7; }

  /* 2. tap targets */
  .crumbs { align-items: center; row-gap: 0; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-links { gap: 0 22px; font-size: 13px; }
  .foot-links a, .foot-base a { display: inline-flex; align-items: center; min-height: 44px; }
  .origin-list a { min-height: 48px; align-items: center; }
  .chip { min-height: 44px; }
  .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .seo-nap a { border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; padding: 11px 0; }
  .foot-cta .down { width: 44px; height: 44px; }
  .contact-lines a:not(.link):not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }

  /* 3. iOS zooms the page when a focused field is under 16px */
  input, select, textarea, .search input, .select, .toolbar .select { font-size: 16px; }

  /* 4. media: full-width photos, compact founder cards instead of three screen-tall squares */
  .commit-phone img { width: 100%; aspect-ratio: 4 / 5; }
  .leaders, .home-leaders { grid-template-columns: 1fr; gap: 14px; }
  .leader { display: grid; grid-template-columns: 76px 1fr; align-items: center; column-gap: 18px; }
  .leader .mono { aspect-ratio: 1; grid-row: span 2; }
  .leader .mono span { font-size: 20px; }
  .leader .mono img { display: none; }
  .leader h3 { margin-top: 0; align-self: end; }
  .leader p { align-self: start; }

  /* 5. scroll-scrubbed word reveal leaves paragraphs at 18% opacity on short phone scrolls */
  .words .w { opacity: 1; }

  /* keep the last lines of the page clear of the WhatsApp button */
  .foot-base { padding-bottom: 88px; }
}

/* hero: what, where and next */
.hero-line { max-width: 620px; margin: clamp(10px, 1.6vh, 18px) auto 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.55; color: var(--bone); text-align: center; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(12px, 2vh, 22px); }
.hero-cta .btn { min-height: 44px; color: var(--bone); }
.hero-cta .btn.fill { color: var(--quarry); }
/* comparison and catalogue tables */
.cmp-wrap { overflow-x: auto; margin: 22px 0 30px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.cmp th, .cmp td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule-light); text-align: left; vertical-align: top; }
.cmp th { font-weight: 700; }
.cmp a { border-bottom: 1px solid var(--rule-light); }
.article .byline { font-size: 14px; margin: -8px 0 24px; }
.article .byline a { border-bottom: 1px solid var(--rule-light); }
