/* =========================================================================
   V9d · BUREAU  ·  design bureau monograph synthesis
   Atelier monumental display + Halation cinematic photo placeholders + Riso
   data cards + Calibration margin labels + Drafting grid behind everything.
   Concrete grey ground, deep ink, warm oak accent, halation red-orange used
   only in photo glows. Inter Tight monumental + Inter body + Instrument
   Serif italics + IBM Plex Mono for measurements.
   ========================================================================= */

:root {
  --paper:     #E8E6E1;
  --paper-2:   #DDD9D1;
  --card:      #F2F0EB;
  --ink:       #0F0F0E;
  --ink-soft:  #2C2A26;
  --ink-mid:   #5C5852;
  --ink-muted: #8E8A82;
  --line:      rgba(15, 15, 14, 0.10);
  --line-2:    rgba(15, 15, 14, 0.22);
  --oak:       #7A5D3F;
  --halation:  #C9554D;

  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --sans:    'Inter', system-ui, sans-serif;
  --ital:    'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --mono:    'IBM Plex Mono', SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body.bureau {
  background: var(--paper);
  /* drafting grid behind everything — light + bold */
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 0 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

p, h1, h2, h3, h4, dl, dt, dd, ol, ul, li, figure, figcaption { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-style: italic; }
b  { font-weight: 600; }
a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
a:hover { color: var(--halation); border-bottom-color: var(--halation); }
::selection { background: var(--ink); color: var(--paper); }

/* =========================================================================
   TOP BAR
   ========================================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 14px 36px;
  background: rgba(232, 230, 225, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ink);
}

.topbar__l { display: flex; align-items: center; gap: 12px; }
.mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}
.bureau__id {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.bureau__id b { font-weight: 700; }
.bureau__id em { font-family: var(--ital); font-style: italic; font-weight: 400; font-size: 16px; }

.topbar__nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topbar__nav a {
  border-bottom: 0;
  color: var(--ink-mid);
  transition: color 140ms ease-out;
}
.topbar__nav a:hover { color: var(--halation); }

.topbar__r {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  justify-self: end;
}

@media (max-width: 760px) {
  .topbar { grid-template-columns: auto 1fr; padding: 12px 20px; }
  .topbar__nav { display: none; }
}

/* =========================================================================
   HERO — monumental
   ========================================================================= */

.hero {
  position: relative;
  padding: 80px 36px 120px;
  border-bottom: 1px solid var(--ink);
}

.hero__grid {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
}

/* calibration margin labels */
.lab {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--halation);
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--halation);
  background: rgba(232, 230, 225, 0.85);
}
.lab--l { top: 12px; left: 0; }
.lab--r { top: 12px; right: 0; }

.hero__eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-mid);
  text-transform: uppercase;
  margin: 36px 0 26px;
}

.hero__name {
  font-family: var(--display);
  font-weight: 700;
  /* intentionally enormous — designed to crop subtly at the bottom */
  font-size: clamp(96px, 19vw, 240px);
  line-height: 0.84;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.hero__name span { display: block; }
.hero__cut {
  /* the "mehta" gets the warm oak accent + slight cinematic glow */
  color: var(--oak);
  position: relative;
}
.hero__cut::after {
  content: "";
  position: absolute;
  inset: -10% -2% -10% -2%;
  background: radial-gradient(60% 60% at 20% 50%, rgba(201, 85, 77, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero__deck {
  margin-top: 36px;
  max-width: 56ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.hero__deck em { font-family: var(--ital); font-style: italic; font-size: 22px; color: var(--ink); }

.hero__meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-right: 1px solid var(--line-2);
}
.hero__meta > div:last-child { border-right: 0; }
.m-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.m-v {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

@media (max-width: 760px) {
  .hero { padding: 60px 20px 80px; }
  .hero__name { font-size: clamp(64px, 18vw, 120px); }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .hero__meta > div { border-bottom: 1px solid var(--line-2); }
  .lab { font-size: 9px; }
}

/* =========================================================================
   FIG — cinematic full-bleed work cards
   ========================================================================= */

.fig {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--ink);
  min-height: 70vh;
}
.fig--reverse { grid-template-columns: 1fr 1.4fr; }
.fig--reverse .fig__photo { order: 2; }
.fig--reverse .fig__card  { order: 1; border-left: 0; border-right: 1px solid var(--ink); }

@media (max-width: 900px) {
  .fig, .fig--reverse { grid-template-columns: 1fr; min-height: 0; }
  .fig--reverse .fig__photo { order: 0; }
  .fig--reverse .fig__card  { order: 1; border-right: 0; }
}

.fig__photo {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: #1a1612;
}
.fig__photo--amber { background: radial-gradient(120% 100% at 30% 40%, #3a2a16 0%, #1a1209 60%, #060402 100%); }
.fig__photo--green { background: radial-gradient(120% 100% at 70% 60%, #1a2a1f 0%, #0f1a13 60%, #050808 100%); }
.fig__photo--blue  { background: radial-gradient(120% 100% at 40% 60%, #0e1a2a 0%, #0a121e 60%, #04060a 100%); }

/* halation glow */
.fig__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 36% at 30% 50%, rgba(201, 85, 77, 0.38) 0%, transparent 70%),
    radial-gradient(50% 50% at 80% 30%, rgba(228, 165, 90, 0.22) 0%, transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.fig__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: url(#grain);
  filter: url(#grain);
  mix-blend-mode: overlay;
  opacity: 0.95;
  pointer-events: none;
}

.fig__caption {
  position: absolute;
  bottom: 18px; left: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(232, 230, 225, 0.78);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(232, 230, 225, 0.35);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(4px);
}

.fig__card {
  padding: 44px 44px 44px;
  background: var(--paper);
  border-left: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 900px) { .fig__card { padding: 32px 22px; border-left: 0; border-top: 1px solid var(--ink); } }

.fig__h {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--halation);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}

.fig__t {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 8px;
}
.fig__sub {
  font-family: var(--ital);
  font-style: italic;
  font-size: 22px;
  color: var(--oak);
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}
.fig__d {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 48ch;
}

.fig__data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.fig__data > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.fig__data dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--ink-muted);
  text-transform: uppercase;
  padding-top: 3px;
}
.fig__data dd {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}

/* =========================================================================
   INDEX — contact sheet
   ========================================================================= */

.index {
  padding: 96px 36px 80px;
  border-bottom: 1px solid var(--ink);
  max-width: 1320px;
  margin: 0 auto;
}

.index__h {
  margin-bottom: 48px;
  max-width: 720px;
}
.index__no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--halation);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.index__t {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.index__d {
  font-size: 17px;
  color: var(--ink-mid);
  max-width: 50ch;
}
.index__d em { font-family: var(--ital); font-style: italic; }

.sheet {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--ink);
}
@media (max-width: 1000px) { .sheet { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .sheet { grid-template-columns: 1fr; } }

.frame {
  padding: 22px 22px 26px;
  border-right: 1px solid var(--line-2);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  position: relative;
  transition: background 160ms ease-out;
}
.frame:last-child { border-right: 0; }
.frame:hover { background: var(--paper-2); }

@media (max-width: 1000px) {
  .frame { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
}

.frame__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--halation);
  text-transform: uppercase;
}
.frame__t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
  flex: 1;
}
.frame__m {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* =========================================================================
   SPEC
   ========================================================================= */

.spec {
  padding: 96px 36px 96px;
  border-bottom: 1px solid var(--ink);
  max-width: 1320px;
  margin: 0 auto;
}

.spec__h { margin-bottom: 48px; }
.spec__no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--halation);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.spec__t {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.spec__list {
  display: grid;
  border-top: 1px solid var(--ink);
}
.spec__list > div {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.spec__list dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.spec__list dt span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--halation);
  text-transform: uppercase;
}
.spec__list dd {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

@media (max-width: 760px) {
  .spec { padding: 56px 20px; }
  .spec__list > div { grid-template-columns: 1fr; gap: 6px; }
}

/* =========================================================================
   COLOPHON
   ========================================================================= */

.colophon {
  padding: 60px 36px 80px;
  max-width: 1320px;
  margin: 0 auto;
}
.colophon__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .colophon__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .colophon__grid { grid-template-columns: 1fr; } }

.colophon__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.colophon__v {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.colophon__v em { font-family: var(--ital); font-style: italic; font-size: 16px; color: var(--ink); }
