/* ============================================================
   Francesca Santiago — Portfolio · "Editorial" edition
   Swiss / brutalist monochrome: heavy grotesque + serif italic accent
   ============================================================ */

:root {
  /* Monochrome paper system */
  --bg:        #E9E8E3;   /* page — light warm gray */
  --bg-2:      #E2E1DB;   /* alt band */
  --card:      #FFFFFF;   /* white mini-cards */
  --card-2:    #F4F3EF;   /* soft card */
  --ink:       #0D0D0B;   /* near-black */
  --ink-2:     #46453F;   /* secondary text */
  --muted:     #8A887F;   /* labels / tertiary */
  --line:      #C9C7BE;   /* hairlines */
  --line-2:    #D6D4CB;

  /* Placeholder / media background grays */
  --g1: #BDBCB6;
  --g2: #C9C8C2;
  --g3: #AAA9A2;
  --g4: #D2D1CB;

  /* Accent dots — the only color in the system */
  --c1: #2A6FDB;   /* blue */
  --c2: #E0A325;   /* amber */
  --c3: #9A988F;   /* gray */
  --c4: #D24B3A;   /* coral */

  /* Type */
  --display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif:   'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:    'Archivo', system-ui, -apple-system, sans-serif;

  --display-weight: 900;

  --radius:  26px;
  --maxw:    1440px;
  --pad:     clamp(20px, 4vw, 56px);
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --grain:   .5;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; line-height: 1.15; -moz-tab-size: 4; tab-size: 4; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* faint paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 2;
}

/* ---------- shared atoms ---------- */
.label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.label.dim { color: var(--muted); }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ============================================================
   Top navigation — divided full-width bar
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--ink);
  transition: background .3s var(--ease);
}
.topbar-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
}
.nav-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px var(--pad);
  border-left: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-cell:first-child { border-left: none; padding-left: var(--pad); }
.nav-cell .num { transition: color .25s; font-variant-numeric: tabular-nums; color: var(--muted); }
a.nav-cell:hover { background: var(--ink); color: var(--bg); }
a.nav-cell:hover .num { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.nav-cell.brand { font-weight: 800; letter-spacing: .04em; }
.nav-cell.brand .num { color: var(--ink); }
.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: 92px; }
.hero-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-block: clamp(18px, 3vw, 34px) 6px;
}
.hero-head .right { text-align: right; }
.hero-head .label + .label { margin-top: 5px; }

.hero-title-row { position: relative; }
.hero-title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .84;
  font-size: clamp(46px, 11.4vw, 172px);
  margin: 0;
}
.hero-title .amp {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.02em;
  padding-right: .12em;
}
.hero-arrow {
  position: absolute;
  top: 8%; right: 0;
  width: clamp(34px, 4vw, 58px);
  height: clamp(34px, 4vw, 58px);
  color: var(--ink);
}
.hero-arrow svg { width: 100%; height: 100%; display: block; }

/* hero bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(26px, 4vw, 48px);
  align-items: stretch;
}

/* feature media (left, large) */
.b-feature {
  grid-column: span 7;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--radius);
  background: var(--g1);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
}
.b-feature img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* right column — stacked quote + black */
.b-right {
  grid-column: span 5;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b-right > .b-quote { flex: 1 1 auto; }
.b-right > .b-black { flex: 0 0 auto; }

/* quote card (top right) */
.b-quote {
  border-radius: var(--radius);
  background: var(--card-2);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line-2);
}
.b-quote .q {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -.005em;
}
.q-cv {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 4px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.q-cv .arr { transition: transform .3s var(--ease); }
.q-cv:hover { opacity: .9; }
.q-cv:hover .arr { transform: translateY(3px); }

/* black feature card (bottom right) */
.b-black {
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  padding: clamp(16px, 7cqi, 26px) clamp(18px, 8cqi, 26px) clamp(18px, 7cqi, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(12px, 5cqi, 18px);
  min-height: 168px;
  container-type: inline-size;
}
.b-black .bl-top { display: flex; justify-content: space-between; align-items: center; }
.b-black .label { color: color-mix(in srgb, var(--bg) 70%, transparent); font-size: clamp(9px, 3.6cqi, 11px); }
.b-black .tag {
  font-size: clamp(9px, 3.4cqi, 10px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bg);
  border: 1px solid color-mix(in srgb, var(--bg) 30%, transparent);
  border-radius: 999px; padding: 4px 10px;
}
.b-black-sub {
  margin: 8px 0 0;
  font-size: clamp(11px, 4.4cqi, 13px);
  letter-spacing: .02em;
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}
.b-black-sub .ft-rank {
  display: block;
  margin-top: 6px;
  font-size: clamp(10px, 4cqi, 12px);
  letter-spacing: .01em;
  color: color-mix(in srgb, var(--bg) 60%, transparent);
}
.b-black-sub .ft-rank a {
  color: var(--bg);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, var(--bg) 45%, transparent);
}
.b-black-sub .ft-rank a:hover { text-decoration-color: var(--bg); }
.b-black h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(19px, 7.4cqi, 30px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

/* ============================================================
   Marquee strip
   ============================================================ */
.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: clamp(40px, 6vw, 80px);
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding-block: 16px;
  animation: scroll-x 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 34px);
  letter-spacing: -.01em;
  padding-inline: clamp(20px, 3vw, 44px);
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.marquee-track span::after {
  content: "✦";
  font-family: var(--sans);
  font-size: .5em;
  color: var(--muted);
}
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding-block: clamp(60px, 8vw, 120px); }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 18px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: clamp(48px, 9vw, 132px);
  line-height: .82;
  letter-spacing: -.03em;
  margin: 0;
}
.filters { display: flex; gap: 22px; align-items: baseline; padding-bottom: 10px; }
.filter {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  background: none; border: none; cursor: pointer;
  font-family: var(--sans);
  padding: 0;
  transition: color .2s var(--ease);
  position: relative;
}
.filter:hover { color: var(--ink); }
.filter.active { color: var(--ink); }
.filter.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--ink);
}

/* ============================================================
   Works — uniform grid, 01→05 reading order
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(28px, 3vw, 48px);
  row-gap: clamp(44px, 5vw, 80px);
  align-items: start;
}

.work {
  display: block;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.work.hide { display: none; }
.work-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--g2);
  position: relative;
  transition: transform .5s var(--ease);
  aspect-ratio: 3 / 4;
}
.work:hover .work-media { transform: translateY(-6px); }
.work.g1 .work-media { background: var(--g1); }
.work.g2 .work-media { background: var(--g2); }
.work.g3 .work-media { background: var(--g3); }
.work.g4 .work-media { background: var(--g4); }

.work-meta-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  margin-top: 16px;
}
.work-cat { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.work-year { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--muted); font-variant-numeric: tabular-nums; }
.work-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 6px 0 0;
}
.work:hover .work-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ============================================================
   Craft — scroll-through galleries
   ============================================================ */
.craft-list { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 88px); }
.craft-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.craft-kind { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.craft-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 3vw, 40px); line-height: .96; letter-spacing: -.02em; margin: 0; }
.scroll-hint { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-bottom: 4px; }

.gallery-scroll {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.shot {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: clamp(260px, 34vw, 440px);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--g2);
}
a.shot { color: inherit; text-decoration: none; }
.shot:nth-child(3n+2) { background: var(--g1); }
.shot:nth-child(3n) { background: var(--g4); }

/* Crossfade shot — two stacked images that fade between each other on hover */
.shot-cross .cross-stack { position: absolute; inset: 0; }
.shot-cross .cross-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.9s ease;
  transform: scale(1);
}
.shot-cross .cross-img.is-active { opacity: 1; }

/* manual crop nudges — small pans within the image's natural cover overflow */
.cross-img.nudge-down-10 { object-position: 50% calc(50% - 10px); }
.cross-img.nudge-down-20 { object-position: 50% calc(50% - 20px); }
.cross-img.nudge-down-65 { object-position: 50% calc(50% - 65px); }
.cross-img.nudge-up-10   { object-position: 50% calc(50% + 10px); }
.cross-img.zoom-fill     { transform: scale(1.25); }

/* fit-to-width: image spans the box's full width at its true aspect ratio,
   anchored slightly above center (can overflow top/bottom, cropped by .shot) */
.cross-img.fit-width {
  inset: auto;
  left: 0;
  top: 40%;
  width: 100%;
  height: auto;
  object-fit: initial;
  transform: translateY(-50%);
}

/* Slow creeping zoom while the cursor stays on the shot */
.shot-cross:hover .cross-img { transform: scale(1.12); transition: opacity 0.7s ease, transform 7s ease-out; }
.shot-cross:hover .cross-img.zoom-fill { transform: scale(1.25); }
.shot-cross:hover .cross-img.fit-width { transform: translateY(-50%) scale(1.12); }
@media (prefers-reduced-motion: reduce) {
  .shot-cross:hover .cross-img { transform: none; transition: opacity 0.7s ease; }
  .shot-cross:hover .cross-img.zoom-fill { transform: scale(1.25); }
  .shot-cross:hover .cross-img.fit-width { transform: translateY(-50%); }
}

.shot iframe, .shot video { width: 100%; height: 100%; border: 0; display: block; }
.shot iframe { object-fit: cover; }
.shot video { object-fit: contain; background: #000; }

.craft-desc { margin: 18px 0 0; max-width: 64ch; font-size: clamp(14px, 1.05vw, 16px); color: var(--ink-2); line-height: 1.55; }

/* hover caption — soft black gradient + white text, over any media */
.media-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 30px 18px 15px;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.45) 38%, rgba(0,0,0,0));
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.shot:hover .media-cap,
.shot:focus-visible .media-cap { opacity: 1; transform: none; }
.media-cap .mc-d a { color: inherit; text-decoration: underline; pointer-events: auto; }
.media-cap .mc-t {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 14.5px; letter-spacing: -.01em; line-height: 1.05;
}
.media-cap .mc-t .ext { font-family: var(--sans); font-weight: 700; font-size: .82em; }
.media-cap .mc-d {
  display: block; margin-top: 4px;
  font-size: 11.5px; letter-spacing: .02em;
  color: rgba(255,255,255,.82);
}

/* ============================================================
   About / Methodology
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.about-portrait {
  border-radius: var(--radius);
  background: var(--g4);
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; min-height: 560px; }

.about-body .label { color: var(--muted); }
.about-h {
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: clamp(30px, 3.7vw, 56px);
  line-height: .96;
  letter-spacing: -.025em;
  margin: 18px 0 0;
}
.about-h .serif-i { text-transform: none; font-weight: 400; }
.about-p {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 52ch;
  margin: 26px 0 0;
}
.about-table { margin-top: 30px; border-top: 1px solid var(--ink); }
.about-table .row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.about-table dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.about-table dd { margin: 0; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; text-align: right; }

.wishlist { margin-top: 30px; }
.wishlist h4 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.wishlist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.wishlist li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); }
.wishlist .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.wishlist .dot.c1 { background: var(--c1); }
.wishlist .dot.c2 { background: var(--c2); }
.wishlist .dot.c3 { background: var(--c3); }
.wishlist .dot.c4 { background: var(--c4); }

/* ============================================================
   Let's talk / contact
   ============================================================ */
.cta { padding-block: clamp(70px, 12vw, 170px); text-align: center; }
.cta .label { color: var(--muted); }
.cta-title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: clamp(64px, 17vw, 280px);
  line-height: .82;
  letter-spacing: -.03em;
  margin: 18px 0 0;
}
.cta-email {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  margin-top: clamp(26px, 4vw, 46px);
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  /* Fallback size (used before JS fits it to the exact width). Kept small
     enough to stay on one line at any width if JS doesn't run. */
  font-size: clamp(13px, 3.2vw, 50px);
  letter-spacing: -.01em;
  text-decoration: underline;
  text-decoration-thickness: clamp(2px, .4vw, 5px);
  text-underline-offset: clamp(5px, .8vw, 12px);
  transition: color .25s var(--ease);
}
.cta-email:hover { color: var(--ink-2); }
.cta-links {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: clamp(22px, 3vw, 38px);
}
.cta-links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-2);
  transition: color .25s var(--ease);
}
.cta-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.cta-links .ext { font-size: .9em; }

/* ============================================================
   Footer
   ============================================================ */
.foot {
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  position: relative;
  z-index: 2;
}
.foot-grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: clamp(34px, 5vw, 56px) var(--pad);
}
.foot-col h5 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 55%, transparent); margin: 0 0 14px; }
.foot-socials { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-socials a {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  position: relative;
}
.foot-socials a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-col p { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.6; }
.foot-col .clock { font-variant-numeric: tabular-nums; }
.foot-bottom {
  border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--pad);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 60%, transparent);
}

/* ============================================================
   Reveal — eased entrance (EASE = cubic-bezier(0.22,1,0.36,1))
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .b-feature { grid-column: span 12; max-width: 100%; }
  .b-right { grid-column: span 12; flex-direction: row; align-items: stretch; }
  .b-right > .b-quote, .b-right > .b-black { flex: 1 1 0; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .shot { width: clamp(240px, 44vw, 380px); }
}

@media (max-width: 760px) {
  .topbar-inner { grid-template-columns: 1fr auto; }
  .topbar-inner .nav-cell:not(.brand):not(.nav-toggle) { display: none; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    border-left: 1px solid var(--line);
    cursor: pointer; background: none;
  }
  .topbar.open .topbar-inner { grid-template-columns: 1fr; }
  .topbar.open .nav-cell { display: flex !important; border-left: none; border-top: 1px solid var(--line); }
  .topbar.open .nav-toggle { border-top: 1px solid var(--line); }

  .hero-arrow { display: none; }
  .bento { grid-template-columns: 1fr; }
  .b-feature { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .b-right { grid-column: 1 / -1; flex-direction: column; }
  .b-right > .b-quote { flex: 1 1 auto; }
  .b-right > .b-black { flex: 0 0 auto; }

  .works-grid { grid-template-columns: 1fr; }

  .shot { width: 78vw; }

  .about-grid { grid-template-columns: 1fr; }
  .about-portrait, .about-portrait img { min-height: 420px; }
  .wishlist ul { grid-template-columns: 1fr; }

  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
