/* ============================================================
   GIORDANO FRONTE — Fine Art Photography
   Design system: "Gallery White + Darkroom" · 1:1
   Monochrome. Paper and ink. The photograph is the only color.
   ============================================================ */

:root {
  --paper: #FAF9F6;        /* gallery wall */
  --paper-2: #F1EFEA;      /* print blocks / plinths */
  --paper-3: #E9E7E1;      /* deep paper, hover plinths */
  --ink: #131311;          /* near-black ink */
  --ink-2: #57554F;        /* secondary text */
  --ink-3: #8B897F;        /* tertiary / captions */
  --line: rgba(19, 19, 17, .16);
  --line-soft: rgba(19, 19, 17, .09);

  --dark: #0C0B0A;         /* the darkroom */
  --dark-2: #131211;
  --off: #ECEAE4;          /* text on dark */
  --off-2: #98958D;
  --dline: rgba(236, 234, 228, .18);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --tight: "Inter Tight", "Inter", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --gut: clamp(20px, 4vw, 72px);
  --max: 1560px;
  --pad-y: clamp(72px, 10vw, 160px);
  --head-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: var(--paper); padding: 10px 18px; font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 1.5px solid currentColor; outline-offset: 3px; }

/* ---------- type scale ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.filmedge {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   HEADER — white + mix-blend difference: self-inverting over
   any photograph or darkroom section. No animation.
   ============================================================ */
.site-head {
  position: fixed; inset: 0 0 auto 0; height: var(--head-h);
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gut);
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
}
.site-head a, .site-head button { pointer-events: auto; }
.wordmark {
  font-family: var(--tight); font-weight: 700; font-size: 19px;
  letter-spacing: -0.02em; white-space: nowrap;
}
.site-nav { display: flex; gap: clamp(16px, 2.4vw, 34px); align-items: center; }
.site-nav a, .site-nav button {
  font-family: var(--tight); font-weight: 600; font-size: 13.5px;
  letter-spacing: .01em; opacity: .92;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.cart-link sup { font-family: var(--mono); font-size: 9.5px; margin-left: 2px; }
.nav-burger { display: none; }

/* mobile nav */
@media (max-width: 820px) {
  .site-nav { display: none; }
  .nav-burger { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
  .site-head .cart-link { margin-left: auto; margin-right: 18px; font-family: var(--tight); font-weight: 600; font-size: 13.5px; }
  body.nav-open .mobile-nav { display: flex; }
}
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: var(--paper);
  flex-direction: column; justify-content: center; padding: 0 var(--gut); gap: 8px;
}
.mobile-nav a {
  font-family: var(--serif); font-size: clamp(34px, 9vw, 56px); line-height: 1.25;
  border-bottom: 1px solid var(--line-soft); padding: 10px 0;
}
.mobile-nav .m-social { margin-top: 26px; display: flex; gap: 22px; }
.mobile-nav .m-social a { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border: 0; }

/* ---------- follow rail (desktop) ---------- */
.follow-rail {
  position: fixed; left: 18px; bottom: 0; z-index: 80;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  mix-blend-mode: difference; color: #fff;
}
.follow-rail a {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  opacity: .62;
}
.follow-rail a:hover { opacity: 1; }
.follow-rail::after { content: ""; width: 1px; height: 56px; background: currentColor; opacity: .4; }
@media (max-width: 1100px) { .follow-rail { display: none; } }

/* scroll progress hairline */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  z-index: 110; background: transparent; pointer-events: none;
  mix-blend-mode: difference;
}
.progress i { display: block; height: 100%; background: #fff; width: 100%;
  transform-origin: 0 0; transform: scaleX(var(--sp, 0)); }

/* ============================================================
   HERO — a print becomes the world.
   200vh scroll: framed gallery print scales to full bleed.
   ============================================================ */
.hero { position: relative; height: 220vh; background: var(--paper); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; }
.hero-print {
  position: relative;
  width: calc(62vmin + (100vw - 62vmin) * var(--hp, 0));
  height: calc(72vmin + (100vh - 72vmin) * var(--hp, 0));
  overflow: hidden;
  background: var(--dark);
}
.hero-print img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 38%;
  transform: scale(calc(1.14 - .14 * var(--hp, 0)));
}
.hero-edge {
  position: absolute; inset: auto 0 0 0;
  display: flex; justify-content: space-between; padding: 0 2px;
  transform: translateY(26px);
  color: var(--ink-3);
}
.hero-title {
  position: absolute; z-index: 2; inset: auto var(--gut) calc(8vh);
  color: #fff; mix-blend-mode: difference;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  pointer-events: none;
}
.hero-title h1 {
  font-family: var(--mono); font-weight: 400; font-size: clamp(9.5px, 1vw, 11.5px);
  letter-spacing: .24em; text-transform: uppercase;
}
.hero-scrollcue { display: flex; align-items: center; gap: 10px; }
.hero-scrollcue span { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.hero-scrollcue i { display: block; width: 52px; height: 1px; background: currentColor;
  transform-origin: 0 50%; transform: scaleX(calc(.2 + .8 * var(--hp, 0))); }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding: var(--pad-y) var(--gut); max-width: var(--max); margin: 0 auto; }
.manifesto .eyebrow { margin-bottom: 26px; }
.manifesto h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 84px); line-height: 1.06; letter-spacing: -0.012em;
  max-width: 18ch;
}
.manifesto h2 em { font-style: italic; }
.manifesto .mani-sub {
  margin-top: 34px; max-width: 60ch; color: var(--ink-2); font-size: 17px; line-height: 1.75;
}
.rule { height: 1px; background: var(--line); margin: 0 var(--gut); max-width: none; }
.rule.draw { transform-origin: 0 50%; }

/* ============================================================
   DARKROOM — descent to 1:1
   ============================================================ */
.darkroom { background: var(--dark); color: var(--off); }
.dr-enter { padding: calc(var(--pad-y) * .9) var(--gut) 0; max-width: var(--max); margin: 0 auto; }
.dr-enter .eyebrow { color: var(--off-2); }
.dr-enter h2 {
  font-family: var(--serif); font-weight: 500; color: var(--off);
  font-size: clamp(30px, 4.6vw, 68px); line-height: 1.08; max-width: 22ch; margin-top: 22px;
}
.descent { position: relative; height: 480vh; }
.descent-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; }
.descent-stage {
  position: relative; width: min(92vw, calc(74vh * var(--darn, 1)));
  aspect-ratio: var(--dar, 1);
}
.descent-frame {
  position: absolute; inset: 0; overflow: hidden; background: var(--dark-2);
  outline: 1px solid var(--dline); outline-offset: 10px;
}
.descent-layers { position: absolute; inset: 0;
  transform: scale(var(--dz, 1)); transform-origin: var(--dox, 50%) var(--doy, 50%); }
.descent-layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.descent-layers .lyr { opacity: 0; }
.descent-layers .lyr-0 { opacity: 1; }
.descent-cap {
  position: absolute; inset: auto 0 -44px 0; display: flex; justify-content: space-between;
  color: var(--off-2); padding: 0 2px;
}
.descent-cap .filmedge b { color: var(--off); font-weight: 500; }
.descent-onexone {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  opacity: var(--d11, 0);
}
.descent-onexone span {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(90px, 22vmin, 260px); color: var(--off);
  text-shadow: 0 2px 60px rgba(0,0,0,.55);
  line-height: 1;
}
.dr-specs {
  max-width: var(--max); margin: 0 auto; padding: calc(var(--pad-y) * .9) var(--gut);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--dline);
}
.dr-spec .n {
  font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 92px);
  line-height: 1; color: var(--off);
}
.dr-spec .n small { font-size: .45em; font-style: italic; }
.dr-spec .l { margin-top: 12px; color: var(--off-2); font-size: 13.5px; max-width: 30ch; line-height: 1.6; }
.dr-spec .nm { margin-top: 14px; font-family: var(--serif); font-size: clamp(19px, 1.8vw, 26px); font-weight: 500; color: var(--off); }
.dr-eyebrow { color: var(--off-2); margin-bottom: 16px; }
@media (max-width: 720px) {
  .dr-specs { grid-template-columns: 1fr; gap: 34px; }
  .descent { height: 380vh; }
  .descent-cap { inset: auto 0 -58px 0; flex-direction: column; gap: 4px; align-items: flex-start; }
  .descent-cap .filmedge { white-space: normal; letter-spacing: .16em; }
}

/* ============================================================
   SELECTED WORKS — free horizontal strip (native scroll-snap)
   ============================================================ */
.strip-sec { padding: var(--pad-y) 0; }
.strip-head { display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 var(--gut); max-width: none; margin-bottom: clamp(30px, 4vw, 56px); }
.strip-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 54px); }
.strip-head a { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.strip-head a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.strip {
  display: flex; gap: clamp(18px, 3vw, 44px);
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 0 var(--gut) 26px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.strip::-webkit-scrollbar { height: 4px; }
.strip::-webkit-scrollbar-thumb { background: var(--line); }
.strip-item { flex: 0 0 auto; scroll-snap-align: center; width: min(74vw, 560px); }
.strip-item.tall { width: min(58vw, 400px); }
.strip-item figure { background: var(--paper-2); }
.strip-item img { width: 100%; height: auto; }
.strip-item figcaption { display: flex; justify-content: space-between; gap: 14px; padding: 12px 2px 0; }
.strip-item .t { font-family: var(--serif); font-size: 17px; }
.strip-item .m { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-top: 5px; white-space: nowrap; }

/* ============================================================
   PROJECT INDEX — film credit roll
   ============================================================ */
.credits { max-width: var(--max); margin: 0 auto; padding: var(--pad-y) var(--gut); }
.credits-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(28px, 4vw, 54px); }
.credits-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 54px); }
.credit-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: baseline;
  padding: clamp(16px, 2.2vw, 26px) 0; border-top: 1px solid var(--line-soft);
  position: relative;
}
.credit-row:last-of-type { border-bottom: 1px solid var(--line-soft); }
.credit-row .no { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.credit-row .nm { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.8vw, 40px); line-height: 1.1; }
.credit-row .ct { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.credit-row:hover { background: linear-gradient(90deg, var(--paper-2), transparent 70%); }
.credit-row:hover .no { color: var(--ink); }
.credit-peek {
  position: fixed; z-index: 60; width: 300px; pointer-events: none; display: none;
  outline: 6px solid var(--paper); box-shadow: 0 18px 60px rgba(19,19,17,.18);
}
@media (hover: hover) and (pointer: fine) { .credit-peek.on { display: block; } }
@media (max-width: 720px) { .credit-row { grid-template-columns: 40px 1fr; } .credit-row .ct { display: none; } }

/* ============================================================
   PRINTS — plinth grid (echo of his store)
   ============================================================ */
.plinths { max-width: var(--max); margin: 0 auto; padding: var(--pad-y) var(--gut); }
.plinths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); }
.plinth { display: block; }
.plinth:nth-child(even) { transform: translateY(clamp(30px, 6vw, 110px)); }
.plinth figure { background: var(--paper-2); display: grid; place-items: center;
  padding: clamp(22px, 4vw, 64px); position: relative; }
.plinth:hover figure { background: var(--paper-3); }
.plinth img { max-height: 62vh; width: auto; max-width: 100%; }
.plinth .sale-tag {
  position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 10px;
}
.plinth figcaption { padding: 14px 2px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.plinth .t { font-family: var(--serif); font-size: 19px; }
.plinth .p { font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.plinth .p s { color: var(--ink-3); margin-right: 8px; }
.plinth .ed { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 720px) {
  .plinths-grid { grid-template-columns: 1fr; }
  .plinth:nth-child(even) { transform: none; }
}

/* ============================================================
   GENERIC PAGE SCAFFOLD
   ============================================================ */
.page-head { max-width: var(--max); margin: 0 auto; padding: calc(var(--head-h) + clamp(48px, 8vw, 120px)) var(--gut) clamp(30px, 5vw, 70px); }
.page-head .eyebrow { margin-bottom: 20px; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 7vw, 108px); line-height: 1.0; letter-spacing: -0.015em; }
.page-head .sub { margin-top: 24px; color: var(--ink-2); max-width: 62ch; font-size: 17px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(28px, 4vw, 52px); }
.filters button {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-2);
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* portfolio grid */
.works { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) var(--pad-y);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.6vw, 44px); }
.work-card { grid-column: span 4; display: block; }
.work-card:nth-child(6n+1), .work-card:nth-child(6n+5) { grid-column: span 8; }
.work-card .ph { position: relative; overflow: hidden; background: var(--paper-2); }
.work-card .ph img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }
.work-card .ph img.alt { position: absolute; inset: 0; opacity: 0; }
.work-card:hover .ph img.alt { opacity: 1; }
.work-card .meta { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 2px 0; gap: 14px; }
.work-card .t { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 26px); }
.work-card .c { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.work-card.hidden { display: none; }
@media (max-width: 900px) { .work-card, .work-card:nth-child(6n+1), .work-card:nth-child(6n+5) { grid-column: span 6; } }
@media (max-width: 620px) { .work-card, .work-card:nth-child(6n+1), .work-card:nth-child(6n+5) { grid-column: span 12; } }

/* ============================================================
   PROJECT PAGE
   ============================================================ */
.proj-intro { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(36px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 90px); }
.proj-intro .lede { color: var(--ink-2); font-size: 16.5px; line-height: 1.8; }
.proj-intro .lede p + p { margin-top: 1em; }
.proj-facts { display: flex; flex-direction: column; gap: 14px; }
.proj-fact { display: grid; grid-template-columns: 110px 1fr; gap: 14px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.proj-fact dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
.proj-fact dd { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .proj-intro { grid-template-columns: 1fr; } }

.gal { display: flex; flex-direction: column; gap: clamp(24px, 4.5vw, 80px); padding-bottom: var(--pad-y); }
.gal-full { width: 100%; }
.gal-full img { width: 100%; height: auto; }
.gal-wide { max-width: min(1160px, 92vw); margin: 0 auto; }
.gal-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 44px);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); align-items: start; }
.gal-pair.off { align-items: end; }
.gal-pair.off figure:first-child { transform: translateY(clamp(-60px, -4vw, -20px)); }
.gal-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 36px);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.gal figure { position: relative; }
.gal figure button { display: block; width: 100%; cursor: zoom-in; }
.gal figcaption { padding-top: 10px; }
@media (max-width: 720px) {
  .gal-pair, .gal-trio { grid-template-columns: 1fr; }
  .gal-pair.off figure:first-child { transform: none; }
}

/* scrubbed develop-reveal: only where scroll-driven animations exist */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .gal figure, .work-card, .plinth, .strip-item {
      animation: develop linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 42%;
    }
  }
}
@keyframes develop {
  from { clip-path: inset(7% 7% 7% 7%); opacity: .35; }
  to   { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* video facade */
.vid { position: relative; max-width: min(1160px, 92vw); margin: 0 auto; aspect-ratio: 16/9;
  background: var(--dark); cursor: pointer; overflow: hidden; }
.vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.vid .play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--off); }
.vid .play i {
  width: 76px; height: 76px; border: 1px solid var(--dline); border-radius: 50%;
  display: grid; place-items: center; background: rgba(12,11,10,.4); backdrop-filter: blur(4px);
}
.vid .play i::after { content: ""; display: block; margin-left: 4px;
  border-left: 14px solid var(--off); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.vid .vt { position: absolute; left: 16px; bottom: 12px; color: var(--off); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.proj-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.proj-nav a { padding: clamp(28px, 4vw, 54px) var(--gut); display: flex; flex-direction: column; gap: 8px; }
.proj-nav a + a { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.proj-nav .lb { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.proj-nav .nm { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 34px); }
.proj-nav a:hover { background: var(--paper-2); }

/* ============================================================
   STORE
   ============================================================ */
.shop-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) var(--pad-y);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px) clamp(24px, 4vw, 90px); }
.shop-grid .plinth:nth-child(even) { transform: translateY(clamp(30px, 5vw, 90px)); }
@media (max-width: 720px) { .shop-grid { grid-template-columns: 1fr; } .shop-grid .plinth:nth-child(even) { transform: none; } }

/* product page */
.pdp { max-width: var(--max); margin: 0 auto; padding: calc(var(--head-h) + clamp(30px, 5vw, 70px)) var(--gut) var(--pad-y);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 100px); align-items: start; }
.pdp-media { position: sticky; top: calc(var(--head-h) + 20px); }
.pdp-main { background: var(--paper-2); display: grid; place-items: center; padding: clamp(20px, 3.5vw, 56px); position: relative; overflow: hidden; }
.pdp-main img { max-height: 74vh; width: auto; max-width: 100%; }
.pdp-main .loupe {
  position: absolute; width: 190px; height: 190px; border-radius: 50%;
  outline: 1px solid var(--line); box-shadow: 0 10px 40px rgba(19,19,17,.28), inset 0 0 0 1px rgba(250,249,246,.6);
  background-repeat: no-repeat; pointer-events: none; display: none; z-index: 5;
}
.pdp-main:hover .loupe { display: block; }
@media (hover: none) { .pdp-main .loupe { display: none !important; } }
.loupe-hint { margin-top: 10px; display: flex; justify-content: space-between; color: var(--ink-3); }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pdp-thumbs button { width: 74px; background: var(--paper-2); padding: 7px; opacity: .65; }
.pdp-thumbs button[aria-current="true"], .pdp-thumbs button:hover { opacity: 1; outline: 1px solid var(--line); }

.pdp-info .eyebrow { margin-bottom: 14px; }
.pdp-info h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.03; }
.pdp-price { margin-top: 18px; font-family: var(--mono); font-size: 17px; }
.pdp-price s { color: var(--ink-3); margin-right: 12px; font-size: 14px; }
.pdp-edition { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.pdp-specs { margin-top: 30px; border-top: 1px solid var(--line-soft); }
.pdp-spec { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.pdp-spec dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.pdp-spec dd { font-size: 14px; color: var(--ink-2); }
.pdp-opts { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.pdp-opt label { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-row button { font-family: var(--mono); font-size: 11px; padding: 9px 14px; border: 1px solid var(--line); color: var(--ink-2); }
.opt-row button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.add-cart {
  margin-top: 30px; width: 100%; padding: 18px 24px; background: var(--ink); color: var(--paper);
  font-family: var(--tight); font-weight: 600; font-size: 14px; letter-spacing: .02em;
  display: flex; justify-content: space-between;
}
.add-cart:hover { background: #000; }
.add-cart[data-added] { background: var(--ink-2); }
.pdp-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.pdp-desc { margin-top: 34px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp-media { position: static; } }

.related { border-top: 1px solid var(--line); }

/* ============================================================
   CART / ORDER REQUEST
   ============================================================ */
.cart-wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--gut) var(--pad-y); }
.cart-line { display: grid; grid-template-columns: 92px 1fr auto auto; gap: 20px; align-items: center;
  padding: 20px 0; border-top: 1px solid var(--line-soft); }
.cart-line:last-of-type { border-bottom: 1px solid var(--line-soft); }
.cart-line .th { background: var(--paper-2); padding: 8px; }
.cart-line .t { font-family: var(--serif); font-size: 20px; }
.cart-line .v { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.cart-line .qty { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; }
.cart-line .qty button { width: 26px; height: 26px; border: 1px solid var(--line); }
.cart-line .pr { font-family: var(--mono); font-size: 13px; }
.cart-line .rm { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid transparent; }
.cart-line .rm:hover { color: var(--ink); border-bottom-color: var(--ink); }
.cart-total { display: flex; justify-content: space-between; padding: 22px 0; font-family: var(--mono); font-size: 14px; }
.cart-empty { padding: 60px 0; color: var(--ink-2); }

.order-form { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 40px; }
.order-form h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 40px); margin-bottom: 8px; }
.order-form .fyi { color: var(--ink-2); font-size: 14.5px; max-width: 58ch; margin-bottom: 30px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: flex; flex-direction: column; gap: 7px; }
.f-field.full { grid-column: 1 / -1; }
.f-field label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.f-field input, .f-field textarea {
  font: 15px/1.5 var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 2px;
}
.f-field input:focus, .f-field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.f-field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; height: 0; overflow: hidden; }
.submit-btn { margin-top: 28px; padding: 18px 44px; background: var(--ink); color: var(--paper);
  font-family: var(--tight); font-weight: 600; font-size: 14px; }
.submit-btn:hover { background: #000; }
.form-ok { padding: 40px 0; }
.form-ok .big { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); margin-bottom: 10px; }
.form-ok p { color: var(--ink-2); max-width: 56ch; }
@media (max-width: 720px) { .f-grid { grid-template-columns: 1fr; } .cart-line { grid-template-columns: 72px 1fr; } .cart-line .pr, .cart-line .qty { grid-column: 2; justify-self: start; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.about-txt { font-size: 16.5px; line-height: 1.85; color: var(--ink-2); }
.about-txt p + p { margin-top: 1.2em; }
.about-txt .lead { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 30px); line-height: 1.45; color: var(--ink); font-weight: 500; }
.about-port { position: sticky; top: calc(var(--head-h) + 20px); }
.about-port figure { background: var(--paper-2); padding: clamp(16px, 2vw, 30px); }
.about-port figcaption { padding-top: 12px; display: flex; justify-content: space-between; color: var(--ink-3); }
.about-scans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 30px);
  max-width: var(--max); margin: 0 auto; padding: var(--pad-y) var(--gut) 0; }
.about-quote { max-width: 900px; margin: 0 auto; padding: var(--pad-y) var(--gut); text-align: center; }
.about-quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(24px, 3.2vw, 44px); line-height: 1.35; }
.about-quote cite { display: block; margin-top: 22px; font-family: var(--mono); font-style: normal;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-port { position: static; order: -1; max-width: 420px; } .about-scans { grid-template-columns: 1fr; max-width: 480px; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) var(--pad-y);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(34px, 6vw, 120px); }
.contact-side .big-line { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.15; max-width: 16ch; }
.contact-side .loc { margin-top: 30px; }
.contact-side .loc dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.contact-side .loc dd { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.contact-side .soc { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.contact-side .soc a { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); width: fit-content; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.contact-side .soc a:hover { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LEGAL
   ============================================================ */
.legal { max-width: 860px; margin: 0 auto; padding: 0 var(--gut) var(--pad-y);
  color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.legal h2 { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 22px; margin: 2.2em 0 .6em; }
.legal p + p { margin-top: 1em; }

/* ============================================================
   HOME about band + contact band
   ============================================================ */
.band { max-width: var(--max); margin: 0 auto; padding: var(--pad-y) var(--gut);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.band .prt { max-width: 440px; justify-self: center; }
.band .prt figure { background: var(--paper-2); padding: clamp(14px, 2vw, 26px); }
.band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.12; }
.band .bd { margin-top: 22px; color: var(--ink-2); line-height: 1.8; max-width: 52ch; }
.band .lnk { margin-top: 30px; display: inline-block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 4px; color: var(--ink-2); }
.band .lnk:hover { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; } }

.contact-band { background: var(--dark); color: var(--off); }
.contact-band .inner { max-width: var(--max); margin: 0 auto; padding: calc(var(--pad-y) * .85) var(--gut);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 90px); align-items: end; }
.contact-band .edge-row { grid-column: 1 / -1; display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--dline); padding-bottom: 16px; margin-bottom: clamp(28px, 5vw, 64px); color: var(--off-2); }
.contact-band .eyebrow { color: var(--off-2); }
.contact-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5.2vw, 84px); line-height: 1.04; margin-top: 18px; }
.contact-band a.cta { display: inline-block; padding: 18px 54px; border: 1px solid var(--dline); justify-self: end;
  font-family: var(--tight); font-weight: 600; font-size: 14px; color: var(--off); white-space: nowrap; }
.contact-band a.cta:hover { background: var(--off); color: var(--dark); border-color: var(--off); }
@media (max-width: 820px) { .contact-band .inner { grid-template-columns: 1fr; } .contact-band a.cta { justify-self: start; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot { border-top: 1px solid var(--line); background: var(--paper); }
.foot-mark { padding: clamp(36px, 6vw, 80px) var(--gut) 0; max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.foot-mark span { font-family: var(--tight); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.foot-mark .filmedge { color: var(--ink-3); }
.foot-rows { max-width: var(--max); margin: 0 auto; padding: clamp(30px, 5vw, 60px) var(--gut);
  display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-end; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col .h { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.foot-col a { font-size: 14px; color: var(--ink-2); width: fit-content; }
.foot-col a:hover { color: var(--ink); }
.foot-legal { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 30px;
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
  font-size: 12.5px; color: var(--ink-3); }
.foot-legal a { color: inherit; border-bottom: 1px solid transparent; }
.foot-legal a:hover { border-bottom-color: currentColor; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 11, 10, .96);
  display: none; place-items: center; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; display: flex;
  justify-content: space-between; padding: 0 var(--gut); color: var(--off-2); }
.lightbox button { position: absolute; color: var(--off); font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; padding: 16px; }
.lightbox .lb-x { top: 14px; right: var(--gut); }
.lightbox .lb-prev { left: var(--gut); top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: var(--gut); top: 50%; transform: translateY(-50%); }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-ov { position: fixed; inset: 0; z-index: 210; background: var(--paper); display: none;
  overflow-y: auto; }
.search-ov.open { display: block; }
.search-in { max-width: 900px; margin: 0 auto; padding: 120px var(--gut) 80px; }
.search-in input { width: 100%; font-family: var(--serif); font-size: clamp(30px, 5vw, 60px);
  border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0; color: var(--ink); }
.search-in input:focus { outline: 0; border-bottom-color: var(--ink); }
.search-res { margin-top: 40px; display: flex; flex-direction: column; }
.search-res a { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0;
  border-bottom: 1px solid var(--line-soft); }
.search-res .t { font-family: var(--serif); font-size: 22px; }
.search-res .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); align-self: center; }
.search-x { position: absolute; top: 26px; right: var(--gut); font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; }

/* dark pages keep footer legible */
.on-dark .site-foot { background: var(--paper); }

/* utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.plinths-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .plinths-grid.cols3 { grid-template-columns: 1fr; } }
.plinths-grid.cols3 .plinth:nth-child(even) { transform: none; }

/* --- polish pass 1 --- */
.hero-pin { background: var(--paper); }
.cap-wrap { position: relative; flex: 1; margin-right: 18px; }
.cap-wrap .cap-b { position: absolute; left: 0; top: 0; }
.plinth figcaption > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.strip { overscroll-behavior-x: contain; }

.cart-line .t { display: block; }
.cart-line .v { display: block; }
