/* ============================================================
   CASA BELLA — Editorial Cream
   Fraunces italic display · Inter Tight body · Mono labels
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

:root {
  --ink:     #000000;
  --ink-soft:#1a1a1a;
  --paper:   #ffffff;
  --paper-2: #f5f5f3;
  --cream:   #f5f5f3;
  --bone:    #ffffff;
  --bronze:  #000000;
  --bronze-d:#000000;
  --line:    rgba(0, 0, 0, 0.14);
  --dark:    #000000;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans:  'Inter Tight', 'Helvetica Neue', system-ui, sans-serif;
  --mono:  'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  display: none;
  position: fixed; top: 0; left: 0;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width .2s ease, height .2s ease, opacity .2s ease;
}
.cursor.is-hover { width: 56px; height: 56px; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}

/* ============================================================
   PRIMITIVES
   ============================================================ */
.serif { font-family: var(--serif); }
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 300; font-variation-settings: 'opsz' 144, 'SOFT' 50; }
.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mono.dot::before { content: '●'; font-size: 7px; margin-right: 6px; opacity: 0.6; vertical-align: middle; }
.rule { height: 1px; background: var(--line); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0;
  height: 92px; z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  transition: background .35s ease, color .35s ease, backdrop-filter .35s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
/* solid header + locked page scroll while the mobile menu is open */
.header:has(.burger.is-open) {
  background: var(--paper);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
body:has(.drawer.is-open) { overflow: hidden; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  justify-self: start;
}
.brand-logo { height: 48px; width: auto; }
.brand .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.nav {
  justify-self: center;
  display: flex; gap: 28px;
}
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  opacity: 0.7;
  transition: opacity .15s ease, color .15s ease;
}
.nav a:hover, .nav a:focus-visible, .nav a.is-active { opacity: 1; }
.nav a.is-active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--bronze);
}
.h-right { justify-self: end; display: inline-flex; align-items: center; gap: 20px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.lang button { padding: 4px 2px; opacity: 0.45; }
.lang button:hover, .lang button:focus-visible { opacity: 1; }
.lang .is-active { opacity: 1; }
.lang .sep { opacity: 0.35; }
.h-cta {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.h-cta:hover, .h-cta:focus-visible { background: var(--ink); color: var(--paper); }
.burger { display: none; width: 32px; height: 32px; position: relative; }
.burger span { position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor; transition: transform .25s ease, top .25s ease, opacity .15s ease; }
.burger span:nth-child(1) { top: 11px; }
.burger span:nth-child(2) { top: 15px; }
.burger span:nth-child(3) { top: 19px; }
.burger.is-open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* DRAWER */
.drawer {
  position: fixed; inset: 92px 0 0 0;
  background: var(--paper);
  z-index: 55;
  display: flex; flex-direction: column;
  padding: 44px var(--gutter) 40px;
  gap: 0;
  counter-reset: navi;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity .4s ease, visibility 0s .4s;
}
.drawer.is-open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .4s ease, visibility 0s 0s; }
.drawer > a {
  position: relative;
  display: flex; align-items: center; gap: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(40px, 9vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1),
              color .25s ease, padding-left .3s cubic-bezier(.2,.7,.2,1), border-color .25s ease;
}
.drawer > a::before {
  counter-increment: navi;
  content: counter(navi, decimal-leading-zero);
  flex: none; align-self: center;
  font-family: var(--mono); font-style: normal; font-weight: 400;
  font-size: 12px; letter-spacing: 0.12em; line-height: 1;
  opacity: 0.35;
  transition: opacity .25s ease;
}
/* staggered reveal on open */
.drawer.is-open > a { opacity: 1; transform: none; }
.drawer.is-open > a:nth-of-type(1) { transition-delay: .10s; }
.drawer.is-open > a:nth-of-type(2) { transition-delay: .16s; }
.drawer.is-open > a:nth-of-type(3) { transition-delay: .22s; }
.drawer.is-open > a:nth-of-type(4) { transition-delay: .28s; }
.drawer.is-open > a:nth-of-type(5) { transition-delay: .34s; }
.drawer.is-open > a:nth-of-type(6) { transition-delay: .40s; }
.drawer > a:hover, .drawer > a:focus-visible, .drawer > a:active { padding-left: 16px; border-color: var(--ink); }
.drawer > a:hover::before, .drawer > a:focus-visible::before, .drawer > a:active::before { opacity: 1; }

.drawer-lang {
  display: flex; gap: 20px; align-items: center;
  margin-top: auto; padding-top: 32px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0;
  transition: opacity .5s ease .42s;
}
.drawer.is-open .drawer-lang { opacity: 1; }
.drawer-lang button { opacity: 0.4; padding: 4px 0; transition: opacity .2s ease; }
.drawer-lang button:hover, .drawer-lang button:focus-visible, .drawer-lang button.is-active { opacity: 1; }
.drawer-lang button.is-active { text-decoration: underline; text-underline-offset: 5px; }

.drawer-foot {
  margin-top: 18px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.5;
  opacity: 0;
  transition: opacity .5s ease .46s;
}
.drawer.is-open .drawer-foot { opacity: 0.6; }
.drawer-foot .df-mail { text-transform: none; letter-spacing: 0.02em; font-size: 13px; }
.drawer-foot .df-mail:hover, .drawer-foot .df-mail:focus-visible { text-decoration: underline; }
.drawer-foot .df-geo { opacity: 0.75; }

/* ============================================================
   PAGE SCAFFOLD
   ============================================================ */
main { padding-top: 92px; }
.page { display: none; }
.page.is-active { display: block; }

/* ============================================================
   HERO — editorial spread
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: var(--paper);
}
/* ============================================================
   HERO — cinematic full-bleed cover + editorial shelf
   ============================================================ */
.hero-tape {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--paper);
}
.hero-tape .t-l { display: inline-flex; align-items: center; gap: 10px; opacity: 0.78; }
.hero-tape .t-l .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--ink)); display: inline-block; animation: heroDot 2.4s ease-in-out infinite; }
@keyframes heroDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.hero-tape .t-c { text-align: center; opacity: 0.92; font-weight: 500; }
.hero-tape .t-r { text-align: right; opacity: 0.7; }

.hero-cover {
  position: relative;
  overflow: hidden;
  height: clamp(560px, 78vh, 880px);
  background: #111;
  isolation: isolate;
}
.hero-cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroKen 28s ease-in-out infinite alternate;
  transition: opacity 0.6s ease;
}
@keyframes heroKen {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.14) translate(-2%, -2%); }
}
.hero-grad {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.62) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0) 45%);
  pointer-events: none;
}
.hero-cover::before, .hero-cover::after {
  content: ''; position: absolute; z-index: 2; pointer-events: none;
}
.hero-cover::before {
  inset: 22px 22px auto 22px; height: 1px; background: rgba(255,255,255,0.22);
}
.hero-cover::after {
  inset: auto 22px 22px 22px; height: 1px; background: rgba(255,255,255,0.22);
}

.hero-corner {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.hero-corner.tl { top: 42px; left: 42px; }
.hero-corner.tr { top: 42px; right: 42px; }
.hero-corner .cn { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22px; letter-spacing: 0; text-transform: none; opacity: 0.95; line-height: 1; }
.hero-corner .cl { display: inline-block; width: 34px; height: 1px; background: currentColor; opacity: 0.5; }
.hero-corner .ck { opacity: 0.78; }

.hero-title {
  position: absolute; z-index: 3;
  left: 42px; bottom: 92px;
  max-width: min(900px, 70%);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.038em;
  color: #fff;
  text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.hero-collection {
  position: absolute; z-index: 3;
  right: 42px; bottom: 130px;
  width: min(280px, 36vw);
  padding: 18px 20px 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}
.hero-collection .hc-k {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.7; margin-bottom: 8px;
}
.hero-collection .hc-v {
  font-family: var(--serif); font-weight: 300;
  font-size: 22px; line-height: 1.15; letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.hero-collection .hc-v em { font-style: italic; opacity: 0.7; }
.hero-collection .hc-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.22);
  width: 100%;
}
.hero-collection .hc-cta .ar { margin-left: auto; transition: transform 0.4s; }
.hero-collection .hc-cta:hover,
.hero-collection .hc-cta:focus-visible { border-top-color: rgba(255,255,255,0.7); }
.hero-collection .hc-cta:hover .ar,
.hero-collection .hc-cta:focus-visible .ar { transform: translateX(6px); }

.hero-thumbs {
  position: absolute; z-index: 3;
  right: 42px; bottom: 42px;
  display: flex; gap: 8px;
}
.hero-thumbs .ht {
  width: 52px; height: 52px;
  padding: 0; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; cursor: pointer; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.hero-thumbs .ht img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) brightness(0.85); transition: filter 0.3s; }
.hero-thumbs .ht:hover,
.hero-thumbs .ht:focus-visible { border-color: rgba(255,255,255,0.72); transform: translateY(-2px); }
.hero-thumbs .ht:hover img,
.hero-thumbs .ht:focus-visible img { filter: none; }
.hero-thumbs .ht.active { border-color: #fff; }
.hero-thumbs .ht.active img { filter: none; }

.hero-scroll-cue {
  position: absolute; z-index: 3;
  left: 42px; bottom: 42px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.hero-scroll-cue .hsc-line {
  display: inline-block; width: 64px; height: 1px;
  background: rgba(255,255,255,0.4); position: relative; overflow: hidden;
}
.hero-scroll-cue .hsc-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%; background: #fff;
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.hero-shelf {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.9fr;
  gap: 48px;
  padding: 36px var(--gutter) 44px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.hero-shelf .hs-eye {
  display: block;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.55; margin-bottom: 10px;
}
.hero-shelf .hs-lede p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55;
  color: var(--ink-soft);
  max-width: 460px;
  text-wrap: pretty;
}
.hero-shelf .hs-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 4px;
}
.hero-shelf .hs-stats > div { display: flex; flex-direction: column; gap: 6px; }
.hero-shelf .hs-stats .n {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.025em;
}
.hero-shelf .hs-stats .k {
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.55;
}
.hero-shelf .hs-cta {
  display: flex; flex-direction: column; gap: 10px;
  align-items: stretch; padding-top: 4px;
}
.hero-shelf .hs-cta .btn { justify-content: space-between; }

@media (max-width: 1100px) {
  .hero-tape { grid-template-columns: 1fr auto; gap: 16px; }
  .hero-tape .t-c { display: none; }
  .hero-corner.tl, .hero-corner.tr { top: 28px; }
  .hero-corner.tl { left: 28px; }
  .hero-corner.tr { right: 28px; }
  .hero-title { left: 28px; right: 28px; bottom: 110px; max-width: none; font-size: clamp(48px, 8vw, 80px); }
  .hero-collection { display: none; }
  .hero-thumbs { right: 28px; bottom: 28px; }
  .hero-scroll-cue { left: 28px; bottom: 28px; }
  .hero-shelf { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .hero-tape { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .hero-tape .t-l { justify-content: center; }
  .hero-tape .t-c, .hero-tape .t-r { display: none; }
  .hero-cover { height: 74vh; min-height: 500px; }
  .hero-corner.tl { top: 22px; left: 22px; right: 22px; }
  .hero-corner.tr { display: none; }
  .hero-title { left: 22px; right: 22px; bottom: 96px; max-width: none; font-size: clamp(40px, 12vw, 56px); }
  .hero-thumbs { right: 22px; bottom: 22px; gap: 6px; }
  .hero-thumbs .ht { width: 42px; height: 42px; }
  .hero-scroll-cue { display: none; }
  .hero-shelf { padding: 28px var(--gutter) 34px; }
  .hero-shelf .hs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 28px var(--gutter);
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  align-items: center;
}
.trust .item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  opacity: 0.9;
}
.trust .item::before { content: ''; width: 5px; height: 5px; background: var(--paper); border-radius: 50%; }

/* ============================================================
   SECTION BASE
   ============================================================ */
.sec { padding: clamp(80px, 11vw, 160px) var(--gutter); position: relative; }
.sec--paper { background: var(--paper); }
.sec--cream { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--bone  { background: var(--paper-2); }
.sec--dark  { background: var(--dark); color: var(--paper); }
.sec--dark .sec-head h2 .it,
.sec--dark .proto .row .n,
.sec--dark .proto .row .h .it { color: var(--paper); }
.sec--dark .proto .row p { color: rgba(255,255,255,0.78); opacity: 1; }

.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sec-head .l .mono { display: block; margin-bottom: 18px; opacity: 0.85; }
.sec-head h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.sec-head h2 .it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  color: var(--bronze);
}
.sec-head .r { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; text-align: right; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 88px); align-items: start; }
.manifesto .q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.manifesto .q::before, .manifesto .q::after { color: var(--bronze); }
.manifesto .q::before { content: '« '; }
.manifesto .q::after  { content: ' »'; }
.manifesto .by { margin-top: 36px; display: flex; align-items: center; gap: 14px; }
.manifesto .by .ava { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; }
.manifesto .by .ava img { width: 100%; height: 100%; object-fit: cover; }
.manifesto .by .name { font-weight: 500; }
.manifesto .by .role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; margin-top: 2px; }
.manifesto .body p { font-size: 17px; line-height: 1.62; margin-bottom: 16px; color: var(--ink-soft); }
.manifesto .body p:first-child::first-letter {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 5em; float: left; line-height: 0.86;
  padding: 6px 12px 0 0;
  color: var(--bronze);
}

/* ============================================================
   CATEGORY RAIL — 7 cards
   ============================================================ */
.cats {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.cat {
  position: relative;
  aspect-ratio: 3/5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
}
.cat img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.cat:hover img, .cat:focus-visible img { transform: scale(1.05); opacity: 0.92; }
.cat::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13,12,10,0.55) 100%);
}
.cat .lab {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; justify-content: space-between; align-items: end;
  color: var(--bone);
  z-index: 2;
}
.cat .lab .name { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22px; }
.cat .lab .num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; }

/* ============================================================
   "THE CASE FOR" — manifesto pillars
   ============================================================ */
.case { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 5vw, 96px); align-items: start; }
.case .pillars { display: flex; flex-direction: column; }
.case .pillar { display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.case .pillar:last-child { border-bottom: 1px solid var(--line); }
.case .pillar .n { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 48px; line-height: 0.9; color: var(--bronze); }
.case .pillar h4 { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 6px; }
.case .pillar p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.case .visual { position: relative; align-self: stretch; min-height: 480px; }
.case .visual img { position: absolute; border-radius: 4px; }
.case .visual .v1 { top: 0; left: 0; width: 64%; aspect-ratio: 3/4; object-fit: cover; }
.case .visual .v2 { bottom: 0; right: 0; width: 56%; aspect-ratio: 4/3; object-fit: cover; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 24px 0;
  background: var(--paper);
}
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: scrollx 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
}
.marquee-track .dot { display: inline-block; width: 8px; height: 8px; background: var(--bronze); border-radius: 50%; align-self: center; margin: 0 12px; }
@keyframes scrollx {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portgrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.portgrid .card { position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.portgrid .card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.portgrid .card:hover img, .portgrid .card:focus-visible img { transform: scale(1.04); }
.portgrid .card .lab {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  display: flex; justify-content: space-between; gap: 12px;
  color: var(--bone);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.portgrid .a { grid-column: span 7; height: clamp(400px, 40vw, 580px); }
.portgrid .b { grid-column: span 5; height: clamp(400px, 40vw, 580px); }
.portgrid .c { grid-column: span 4; height: clamp(300px, 28vw, 400px); }
.portgrid .d { grid-column: span 4; height: clamp(300px, 28vw, 400px); }
.portgrid .e { grid-column: span 4; height: clamp(300px, 28vw, 400px); }

/* ============================================================
   PROTOCOL — 4 step
   ============================================================ */
.proto { display: grid; grid-template-columns: 1fr; }
.proto .row {
  display: grid;
  grid-template-columns: 140px 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid rgba(250,243,225,0.18);
}
.proto .row:last-child { border-bottom: 1px solid rgba(250,243,225,0.18); }
.proto .row .n { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(72px, 9vw, 124px); line-height: 0.86; color: var(--bronze); }
.proto .row .h { font-family: var(--sans); font-weight: 300; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -0.02em; }
.proto .row .h .it { font-family: var(--serif); font-style: italic; font-weight: 300; font-variation-settings: 'opsz' 144; color: var(--bronze); }
.proto .row .b { display: flex; flex-direction: column; gap: 14px; }
.proto .row p { font-size: 15px; line-height: 1.6; max-width: 520px; opacity: 0.78; }
.proto .row .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.proto .row .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(250,243,225,0.3);
  border-radius: 999px;
  opacity: 0.85;
}

/* ============================================================
   JOURNAL CARDS (home)
   ============================================================ */
.j-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.j-card { display: flex; flex-direction: column; gap: 14px; }
.j-card .pic { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.j-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.j-card:hover .pic img { transform: scale(1.04); }
.j-card .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); }
.j-card h3 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.j-card h3 .it { font-family: var(--serif); font-style: italic; font-weight: 300; font-variation-settings: 'opsz' 144; color: var(--bronze); }
.j-card .meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; margin-top: 4px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: end;
}
.cta-block h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.cta-block h2 .it {
  font-family: var(--serif);
  font-style: italic; font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  color: var(--bronze);
}
.cta-block .right { display: flex; flex-direction: column; gap: 24px; }
.cta-block .right p { font-size: 17px; line-height: 1.55; max-width: 460px; opacity: 0.85; }
.cta-block .row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  max-width: 100%;
  min-width: 0;
  line-height: 1.15;
  white-space: normal;
}
.btn .a { width: 14px; height: 1px; background: currentColor; position: relative; flex: 0 0 14px; }
.btn .a::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }
.btn-primary { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-primary:active { background: var(--ink-soft); color: var(--paper); border-color: var(--ink-soft); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sec--dark .btn-primary, .footer .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sec--dark .btn-primary:hover, .sec--dark .btn-primary:focus-visible,
.footer .btn-primary:hover, .footer .btn-primary:focus-visible { background: transparent; color: var(--paper); border-color: var(--paper); }
.sec--dark .btn-primary:active, .footer .btn-primary:active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sec--dark .btn-ghost:hover, .sec--dark .btn-ghost:focus-visible,
.footer .btn-ghost:hover, .footer .btn-ghost:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-on-dark { background: var(--bone); color: var(--ink); border-color: var(--ink); }
.btn-on-dark:hover, .btn-on-dark:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sec--dark .btn-on-dark, .footer .btn-on-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sec--dark .btn-on-dark:hover, .sec--dark .btn-on-dark:focus-visible,
.footer .btn-on-dark:hover, .footer .btn-on-dark:focus-visible { background: transparent; color: var(--paper); border-color: var(--paper); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark); color: var(--bone);
  padding: clamp(60px, 8vw, 120px) var(--gutter) 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250,243,225,0.18);
}
.footer-top h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.65;
}
.footer-top a { display: block; padding: 5px 0; font-size: 14px; opacity: 0.92; }
.footer-top a:hover, .footer-top a:focus-visible { color: var(--bone); opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-top .brand-col p { max-width: 320px; font-size: 14px; line-height: 1.6; opacity: 0.78; margin-top: 14px; }
.footer-mega {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(80px, 16vw, 240px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  padding: 56px 0 36px;
}
.footer-mega .it { font-style: italic; color: var(--bone); }
.footer-bot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6;
  padding-top: 28px; border-top: 1px solid rgba(250,243,225,0.18);
}

/* ============================================================
   INNER PAGES — hero base
   ============================================================ */
.inner-hero {
  padding: clamp(96px, 12vw, 180px) var(--gutter) clamp(56px, 7vw, 96px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.inner-hero .crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; margin-bottom: 28px; }
.inner-hero h1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(56px, 8.4vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.inner-hero h1 .it {
  font-family: var(--serif);
  font-style: italic; font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  color: var(--bronze);
}
.inner-hero .lede { margin-top: 36px; max-width: 640px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }

/* ============================================================
   FACTORIES PAGE
   ============================================================ */
.fab-controls {
  background: var(--paper);
  padding: 20px var(--gutter);
  position: sticky; top: 92px; z-index: 30;
  display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: center;
  border-bottom: 1px solid var(--line);
}
.fab-controls::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  z-index: -1;
}
.fab-search {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.4);
}
.fab-search::before { content: '⌕'; font-size: 14px; opacity: 0.6; }
.fab-search input {
  width: 100%; background: transparent; border: none; color: inherit;
  font-family: var(--sans); font-weight: 400; font-size: 13px;
}
.fab-search input::placeholder { color: rgba(13,12,10,0.45); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }
.fab-search:focus-within { border-color: var(--ink); background: var(--paper); }
.fab-search input:focus { outline: none; }

.fab-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover, .chip:focus-visible { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }
.chip.is-on, .chip.is-on:hover, .chip.is-on:focus-visible { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip-ghost { opacity: 0.85; }
.chip-ghost:hover, .chip-ghost:focus-visible { opacity: 1; }
.chip-sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }

.fab-body {
  display: grid; grid-template-columns: 220px 1fr;
  gap: clamp(28px, 4vw, 72px);
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  background: var(--paper);
}
.fab-side { position: sticky; top: 176px; align-self: start; }
.fab-side-head {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  opacity: 0.75;
}
#fabSide { list-style: none; }
#fabSide li { border-bottom: 1px solid var(--line); }
#fabSide li a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  font-size: 15px;
}
#fabSide li a .num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; opacity: 0.6; }
#fabSide li a:hover, #fabSide li a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
#fabSide li.is-empty a { opacity: 0.35; pointer-events: none; }
.fab-side-foot { margin-top: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }

.fab-list { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.fab-group-head {
  display: flex; justify-content: space-between; align-items: end;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.fab-group-head h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.96; letter-spacing: -0.03em;
}
.fab-group-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 300; font-variation-settings: 'opsz' 144, 'SOFT' 50; color: var(--bronze); }
.fab-group-head .mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }

.fab-group-list { display: flex; flex-direction: column; }
.fab-row {
  display: grid;
  grid-template-columns: 60px 1.4fr 1fr 1.3fr 0.6fr 120px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease, padding .25s ease, box-shadow .15s ease;
  cursor: pointer;
  text-decoration: none;
}
.fab-row:hover, .fab-row:focus-visible { background: var(--paper-2); padding-left: 16px; }
.fab-row:hover .r-idx, .fab-row:focus-visible .r-idx { color: var(--ink); opacity: 1; }
.fab-row > * { min-width: 0; }
.fab-row .r-idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; opacity: 0.55; }
.fab-row .r-h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.fab-row .r-h3 em { font-family: var(--serif); font-style: italic; font-weight: 300; font-variation-settings: 'opsz' 144; color: var(--bronze); }
.fab-row .r-city { font-size: 14px; opacity: 0.85; }
.fab-row .r-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; overflow-wrap: break-word; }
.fab-row .r-year { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; opacity: 0.85; }
.fab-row .r-preview { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; }
.fab-row .r-preview img { width: 100%; height: 100%; object-fit: cover; }

.fab-empty { padding: 80px 0; text-align: center; }
.fab-empty .serif { font-family: var(--serif); font-size: 56px; margin-bottom: 8px; color: var(--bronze); }
.fab-empty p { margin-bottom: 20px; opacity: 0.75; }

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.bento {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento .b { position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.bento .b img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.bento .b:hover img, .bento .b:focus-visible img { transform: scale(1.04); }
.bento .b .tag {
  position: absolute; left: 14px; bottom: 14px;
  color: var(--bone);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.bento .b1 { grid-column: span 8; aspect-ratio: 16/10; }
.bento .b2 { grid-column: span 4; aspect-ratio: 4/5; }
.bento .b3 { grid-column: span 4; aspect-ratio: 1/1; }
.bento .b4 { grid-column: span 4; aspect-ratio: 1/1; }
.bento .b5 { grid-column: span 4; aspect-ratio: 1/1; }
.bento .b6 { grid-column: span 6; aspect-ratio: 4/3; }
.bento .b7 { grid-column: span 6; aspect-ratio: 4/3; }

/* ============================================================
   STUDIO
   ============================================================ */
.studio-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
}
.studio-numbers .n {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.studio-numbers .n:last-child { border-right: none; }
.studio-numbers .n .v {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9; letter-spacing: -0.03em;
}
.studio-numbers .n .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.studio-numbers .n .d { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-top: 4px; }

.studio-letter {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.studio-letter .col-aside {
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 96px;
  align-self: start;
}
.studio-letter .portrait { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.studio-letter .portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.12); }
.studio-letter .sig {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-size: 36px; line-height: 1; letter-spacing: -0.02em;
}
.studio-letter .sig-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.studio-letter .body p { font-size: 18px; line-height: 1.62; margin-bottom: 20px; color: var(--ink-soft); }
.studio-letter .body p:first-of-type::first-letter {
  float: left; font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 6em; line-height: 0.82; padding: 8px 14px 0 0; color: var(--ink);
}
.studio-letter .body .pull {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 32px 0;
  padding-left: 28px;
  border-left: 1px solid var(--ink);
  color: var(--ink);
}

.studio-team {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.studio-team .member { display: flex; flex-direction: column; gap: 14px; }
.studio-team .member .ph { aspect-ratio: 3/4; overflow: hidden; background: var(--paper-2); }
.studio-team .member .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: filter .4s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.studio-team .member:hover .ph img { filter: grayscale(0); transform: scale(1.03); }
.studio-team .member .nm { font-family: var(--sans); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.studio-team .member .ro { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.studio-team .member .ci { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; margin-top: -8px; }

.studio-timeline { display: flex; flex-direction: column; }
.studio-timeline .row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 32px; align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.studio-timeline .row:last-child { border-bottom: 1px solid var(--line); }
.studio-timeline .yr {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-size: 44px; line-height: 1; letter-spacing: -0.02em;
}
.studio-timeline .h { font-family: var(--sans); font-weight: 400; font-size: 22px; letter-spacing: -0.015em; }
.studio-timeline .h em { font-family: var(--serif); font-style: italic; font-weight: 300; }
.studio-timeline .p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--line); }
.pillars .p { padding: 40px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.pillars .p:last-child { border-right: none; }
.pillars .p .n { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 64px; line-height: 0.9; letter-spacing: -0.02em; }
.pillars .p h4 { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: -0.015em; }
.pillars .p p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ============================================================
   JOURNAL PAGE
   ============================================================ */
.j-featured {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.j-featured .pic { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.j-featured .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.j-featured:hover .pic img { transform: scale(1.04); }
.j-featured .body { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.j-featured .badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.j-featured .badge::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.j-featured .badge .pin { padding: 4px 9px; border: 1px solid var(--ink); border-radius: 999px; font-size: 10px; }
.j-featured h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.96; letter-spacing: -0.03em;
}
.j-featured h2 em { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 80; }
.j-featured .desc { font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 520px; }
.j-featured .meta { display: flex; gap: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; padding-top: 8px; }

.j-rubrics {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.j-rubric {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.j-rubric:hover, .j-rubric.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.j-rubric .ct { opacity: 0.55; margin-left: 6px; }

.j-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.j-list .item {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.j-list .item:nth-child(3n) { border-right: none; }
.j-list .item:hover { background: var(--paper-2); }
.j-list .item .pic { aspect-ratio: 4/3; overflow: hidden; }
.j-list .item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.j-list .item:hover .pic img { transform: scale(1.04); }
.j-list .item .top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.j-list .item .top .num { font-weight: 500; opacity: 1; }
.j-list .item h3 { font-family: var(--sans); font-weight: 400; font-size: 22px; line-height: 1.12; letter-spacing: -0.015em; }
.j-list .item h3 em { font-family: var(--serif); font-style: italic; font-weight: 300; font-variation-settings: 'opsz' 144; }
.j-list .item p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.j-list .item .meta { margin-top: auto; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; padding-top: 8px; border-top: 1px solid var(--line); }

/* ============================================================
   CONTACTS
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 5vw, 96px); }
.contact-card { padding: 32px; border: 1px solid var(--line); border-radius: 4px; }
.contact-card h3 { font-family: var(--sans); font-weight: 400; font-size: 22px; letter-spacing: -0.015em; margin-bottom: 16px; }
.contact-card .row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.contact-card .row:first-of-type { border-top: none; }
.contact-card .row .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form .field label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.form .field input, .form .field textarea, .form .field select {
  font-family: var(--sans); font-weight: 400;
  background: transparent; color: var(--ink);
  border: none; border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 16px;
  width: 100%;
  min-width: 0;
}
.form .field input:focus, .form .field textarea:focus, .form .field select:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.form .field textarea { min-height: 120px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-root {
  position: fixed; inset: 0; z-index: 80;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-root.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13,12,10,0.6); backdrop-filter: blur(6px); }
.modal {
  position: relative;
  background: var(--paper);
  border-radius: 6px;
  width: min(1000px, 100%); max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
}
.modal-img { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-img .badge { position: absolute; top: 16px; left: 16px; background: rgba(13,12,10,0.6); color: var(--bone); padding: 7px 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; backdrop-filter: blur(6px); }
.modal-img .coord { position: absolute; bottom: 16px; left: 16px; background: rgba(13,12,10,0.6); color: var(--bone); padding: 6px 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; backdrop-filter: blur(6px); }
.modal-body { padding: 36px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.modal-body .eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.modal-body h2 { font-family: var(--sans); font-weight: 300; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.02; letter-spacing: -0.02em; }
.modal-body h2 em { font-family: var(--serif); font-style: italic; font-weight: 300; font-variation-settings: 'opsz' 144; color: var(--bronze); }
.modal-body .lede { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.modal-body .specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 8px; }
.modal-body .spec { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.modal-body .spec .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.65; }
.modal-body .ctas { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.modal-count { position: absolute; right: 16px; bottom: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.modal-close svg { stroke: var(--ink); }
.modal-close:hover, .modal-close:focus-visible { background: var(--ink); }
.modal-close:hover svg, .modal-close:focus-visible svg { stroke: var(--bone); }

.sec--dark .it { color: var(--paper); }
.sec--dark .h-cta, .footer .h-cta { border-color: var(--paper); color: var(--paper); }
.sec--dark .h-cta:hover, .sec--dark .h-cta:focus-visible,
.footer .h-cta:hover, .footer .h-cta:focus-visible { background: var(--paper); color: var(--ink); }
.sec--dark .chip, .footer .chip,
.sec--dark .j-rubric, .footer .j-rubric { border-color: rgba(255,255,255,0.34); color: var(--paper); }
.sec--dark .chip:hover, .sec--dark .chip:focus-visible,
.footer .chip:hover, .footer .chip:focus-visible,
.sec--dark .j-rubric:hover, .sec--dark .j-rubric:focus-visible,
.footer .j-rubric:hover, .footer .j-rubric:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sec--dark .chip.is-on, .sec--dark .chip.is-on:hover, .sec--dark .chip.is-on:focus-visible,
.footer .chip.is-on, .footer .chip.is-on:hover, .footer .chip.is-on:focus-visible,
.sec--dark .j-rubric.is-on, .footer .j-rubric.is-on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sec--dark .chip-sep, .footer .chip-sep { background: rgba(255,255,255,0.28); }
.sec--dark .fab-search, .footer .fab-search { border-color: rgba(255,255,255,0.34); background: transparent; color: var(--paper); }
.sec--dark .fab-search:focus-within, .footer .fab-search:focus-within { border-color: var(--paper); background: rgba(255,255,255,0.08); }
.sec--dark .fab-search input::placeholder, .footer .fab-search input::placeholder { color: rgba(255,255,255,0.62); }
.sec--dark .fab-row, .footer .fab-row { border-bottom-color: rgba(255,255,255,0.22); color: var(--paper); }
.sec--dark .fab-row:hover, .sec--dark .fab-row:focus-visible,
.footer .fab-row:hover, .footer .fab-row:focus-visible { background: rgba(255,255,255,0.1); }
.sec--dark .fab-row:hover .r-idx, .sec--dark .fab-row:focus-visible .r-idx,
.footer .fab-row:hover .r-idx, .footer .fab-row:focus-visible .r-idx { color: var(--paper); }
.sec--dark .form .field input, .sec--dark .form .field textarea, .sec--dark .form .field select,
.footer .form .field input, .footer .form .field textarea, .footer .form .field select { color: var(--paper); border-bottom-color: rgba(255,255,255,0.34); }
.sec--dark .form .field input:focus, .sec--dark .form .field textarea:focus, .sec--dark .form .field select:focus,
.footer .form .field input:focus, .footer .form .field textarea:focus, .footer .form .field select:focus { border-bottom-color: var(--paper); box-shadow: 0 1px 0 var(--paper); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav, .h-cta { display: none; }
  .burger { display: inline-block; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case { grid-template-columns: 1fr; }
  .case .visual { min-height: 420px; }
  .portgrid .a, .portgrid .b, .portgrid .c, .portgrid .d, .portgrid .e { grid-column: span 12; height: auto; aspect-ratio: 4/3; }
  .bento .b1, .bento .b2, .bento .b3, .bento .b4, .bento .b5, .bento .b6, .bento .b7 { grid-column: span 12; aspect-ratio: 4/3; }
  .j-grid, .pillars, .manifesto, .cta-block, .contact-grid { grid-template-columns: 1fr; }
  .pillars .p { border-right: none; border-bottom: 1px solid var(--line); }
  .pillars .p:last-child { border-bottom: none; }
  .j-list { grid-template-columns: 1fr; }
  .j-list .item { border-right: none; }
  .j-featured { grid-template-columns: 1fr; }
  .studio-letter { grid-template-columns: 1fr; }
  .studio-letter .col-aside { position: relative; top: 0; flex-direction: row; align-items: center; }
  .studio-letter .portrait { width: 200px; flex-shrink: 0; }
  .studio-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-numbers .n:nth-child(2) { border-right: none; }
  .studio-numbers .n:nth-child(1), .studio-numbers .n:nth-child(2) { border-bottom: 1px solid var(--line); }
  .studio-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-timeline .row { grid-template-columns: 80px minmax(0, 1fr); }
  .studio-timeline .p { grid-column: 2; }
  .proto .row { grid-template-columns: 80px minmax(0, 1fr); gap: 24px; padding: 36px 0; }
  .proto .row .b, .proto .row p { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .fab-body { grid-template-columns: 1fr; }
  .fab-side { position: relative; top: 0; }
  .fab-controls { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 14px var(--gutter); }
  .fab-search, .fab-chips { min-width: 0; }
  .fab-row { grid-template-columns: 44px minmax(0, 1fr) minmax(120px, 0.55fr) 96px; gap: 10px 16px; align-items: start; }
  .fab-row .r-idx { grid-column: 1; grid-row: 1; }
  .fab-row .r-name { grid-column: 2; grid-row: 1; }
  .fab-row .r-city { grid-column: 3; grid-row: 1; }
  .fab-row .r-preview { grid-column: 4; grid-row: 1 / span 2; width: 100%; align-self: stretch; }
  .fab-row .r-year { grid-column: 1; grid-row: 2; }
  .fab-row .r-cat { grid-column: 2 / 4; grid-row: 2; }
  .modal { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
  .modal-img { aspect-ratio: 16/10; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .r { text-align: left; }
}
@media (max-width: 720px) {
  .header { grid-template-columns: 1fr auto; height: 64px; }
  main { padding-top: 64px; }
  .drawer { top: 64px; }
  .hero { min-height: calc(100vh - 64px); }
  .fab-controls { top: 64px; }
  .h-right { gap: 10px; }
  .lang { display: none; }
  .brand .sub { display: none; }
  .drawer { padding-top: 24px; }
  .drawer > a { font-size: clamp(34px, 11vw, 46px); }
  .sec { padding: clamp(56px, 14vw, 80px) var(--gutter); }
  .inner-hero { padding: clamp(72px, 16vw, 96px) var(--gutter) clamp(44px, 10vw, 64px); }
  .inner-hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .inner-hero .lede { margin-top: 24px; font-size: 16px; }
  .sec-head h2 { font-size: clamp(38px, 12vw, 56px); }
  .manifesto .q { font-size: clamp(28px, 9vw, 38px); }
  .manifesto .body p { font-size: 16px; }
  .manifesto .body p:first-child::first-letter { font-size: 4em; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat .lab { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cat .lab .name { font-size: 20px; }
  .trust { grid-template-columns: 1fr; }
  .case .pillar { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .case .visual { min-height: 320px; }
  .portgrid .card .lab { flex-direction: column; align-items: flex-start; font-size: 10px; }
  .bento .b .tag { right: 14px; font-size: 10px; }
  .cta-block h2 { font-size: clamp(42px, 13vw, 64px); }
  .cta-block .row, .modal-body .ctas { flex-direction: column; align-items: stretch; }
  .cta-block .row .btn, .modal-body .ctas .btn, .form .btn { width: 100%; justify-content: space-between; }
  .proto .row { grid-template-columns: 1fr; gap: 16px; }
  .proto .row .b, .proto .row p { grid-column: auto; }
  .proto .row .n { font-size: clamp(54px, 18vw, 72px); }
  .studio-letter .col-aside { flex-direction: column; align-items: flex-start; }
  .studio-letter .portrait { width: min(100%, 260px); }
  .studio-timeline .row { grid-template-columns: 1fr; gap: 10px; }
  .studio-timeline .p { grid-column: auto; }
  .contact-card { padding: 24px; }
  .contact-card .row { flex-direction: column; gap: 4px; align-items: flex-start; }
  .form .row2 { grid-template-columns: 1fr; }
  .fab-controls { position: relative; top: auto; }
  .fab-group-head { align-items: start; gap: 10px; }
  .fab-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 14px; padding: 18px 0; }
  .fab-row:hover, .fab-row:focus-visible { padding-left: 10px; }
  .fab-row .r-idx { grid-column: 1; grid-row: 1; }
  .fab-row .r-year { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; }
  .fab-row .r-name { grid-column: 1 / -1; grid-row: 2; }
  .fab-row .r-city { grid-column: 1; grid-row: 3; }
  .fab-row .r-cat { grid-column: 2; grid-row: 3; justify-self: end; text-align: right; }
  .fab-row .r-preview { grid-column: 1 / -1; grid-row: 4; width: 100%; }
  .fab-empty .serif { font-size: 42px; }
  .modal-root { padding: 12px; align-items: flex-start; overflow-y: auto; }
  .modal { width: 100%; max-height: none; overflow: visible; margin: 12px 0; }
  .modal-img { aspect-ratio: 16/9; max-height: 220px; }
  .modal-body { padding: 24px 18px 58px; }
  .modal-body .specs { grid-template-columns: 1fr; }
  .modal-body .spec { flex-direction: column; gap: 2px; }
  .modal-count { left: 18px; right: auto; bottom: 18px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .brand-logo { height: 42px; }
  .hero-cover { min-height: 480px; }
  .hero-corner.tl { gap: 10px; font-size: 9.5px; }
  .hero-corner .cl { width: 24px; }
  .hero-thumbs .ht { width: 40px; height: 40px; }
  .btn { width: 100%; justify-content: space-between; padding: 13px 16px; font-size: 10px; letter-spacing: 0.1em; }
  .studio-numbers { grid-template-columns: 1fr; }
  .studio-numbers .n, .studio-numbers .n:nth-child(2) { border-right: none; }
  .studio-numbers .n:nth-child(1), .studio-numbers .n:nth-child(2), .studio-numbers .n:nth-child(3) { border-bottom: 1px solid var(--line); }
  .studio-numbers .n:last-child { border-bottom: none; }
  .studio-team { grid-template-columns: 1fr; }
  .pillars .p { padding: 30px 0; }
  .fab-chips { gap: 5px; }
  .chip { max-width: 100%; }
  .footer-bot { flex-direction: column; }
}
