/* =========================================================================
   HALDANE · Architecture & Spatial Design
   Near-monochrome concrete palette · single terracotta accent · sharp corners
   Fonts: Bricolage Grotesque (display) · Archivo (text) · Space Mono (labels)
   Dials: VARIANCE 8 · MOTION 5 · DENSITY 3
   ========================================================================= */

:root {
  --paper:      #f3f3f1;
  --paper-2:    #eceae5;
  --paper-3:    #e3e1da;
  --ink:        #17150f;
  --ink-soft:   #2a2823;
  --dark:       #15140f;
  --dark-2:     #1d1c16;
  --white:      #ffffff;

  --line:       rgba(23, 21, 15, 0.14);
  --line-soft:  rgba(23, 21, 15, 0.08);
  --muted:      rgba(23, 21, 15, 0.56);
  --muted-d:    rgba(243, 243, 241, 0.58);
  --line-d:     rgba(243, 243, 241, 0.16);

  --accent:     #b8431f; /* terracotta — used sparingly, one accent for whole page */

  --display: 'Bricolage Grotesque', 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --sans:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:    'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1440px;
  --pad-x: 56px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--paper); }

/* Scroll reveal --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Layout helpers -------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding: 140px var(--pad-x); }

/* Typographic primitives ------------------------------------------------ */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.h2 {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.h2 em { font-style: italic; font-weight: 600; color: var(--accent); }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--ondark { background: var(--paper); color: var(--ink); }
.btn--ondark:hover { background: var(--ink); color: var(--paper); }

.btn--ghost-d { background: transparent; color: var(--paper); border-color: var(--line-d); }
.btn--ghost-d:hover { border-color: var(--paper); }

.btn--sm { padding: 11px 18px; font-size: 13px; }

/* Text link with animated underline */
.tlink {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.tlink:hover { color: var(--accent); border-color: var(--accent); }

/* =========================================================================
   Navigation
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 243, 241, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  height: 72px;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 13px;
  height: 13px;
  background: var(--accent);
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.nav__links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 16px; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }

/* =========================================================================
   Hero — asymmetric split
   ========================================================================= */
.hero {
  padding: 80px var(--pad-x) 110px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: end;
}

/* Animated studio wordmark in the top-left void */
.hero__signature {
  position: absolute;
  top: 2px;
  left: 0;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 6.4vw, 94px);
  line-height: 0.92;
  letter-spacing: 0.015em;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--ink);
  pointer-events: none;
}
.sig__word { display: flex; overflow: hidden; padding: 0.14em 0.06em 0.06em; }
.sig__l { display: inline-block; }
.sig__rule { display: block; width: 0; height: 3px; background: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .sig__l { transform: translateY(118%); animation: sig-up .85s var(--ease) both; }
  .sig__l:nth-child(1) { animation-delay: .15s; }
  .sig__l:nth-child(2) { animation-delay: .22s; }
  .sig__l:nth-child(3) { animation-delay: .29s; }
  .sig__l:nth-child(4) { animation-delay: .36s; }
  .sig__l:nth-child(5) { animation-delay: .43s; }
  .sig__l:nth-child(6) { animation-delay: .50s; }
  .sig__l:nth-child(7) { animation-delay: .57s; }
  .sig__rule { animation: sig-rule .7s var(--ease) .9s forwards; }
}
@keyframes sig-up { to { transform: translateY(0); } }
@keyframes sig-rule { to { width: 96px; } }
.hero__copy { padding-bottom: 6px; }
.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(46px, 6.6vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
}
.hero__title em {
  font-style: italic;
  font-weight: 600;
  line-height: 1.1;
  display: inline-block;
  padding-bottom: 0.04em;
  color: var(--accent);
}
.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
  margin: 34px 0 0;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}
.hero__media { position: relative; }
.hero__framewrap { position: relative; }
.hero__framewrap::before {
  content: '';
  position: absolute;
  z-index: 0;
  right: -34px;
  top: -34px;
  width: 60%;
  height: 66%;
  background: var(--accent);
}
.hero__framewrap .frame { position: relative; z-index: 1; }
.hero__media .frame { aspect-ratio: 4 / 5; }
.hero__cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 16px;
}
.hero__cap .t { font-size: 14px; font-weight: 600; }
.hero__cap .m { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* Image frame (grayscale editorial) */
.frame {
  width: 100%;
  overflow: hidden;
  background: var(--paper-3);
  position: relative;
}
.frame img {
  position: absolute;
  top: -14%;
  left: 0;
  right: 0;
  width: 100%;
  height: 128%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: filter .6s var(--ease);
}
.work-card:hover .frame img,
.work-card:focus-visible .frame img,
.feat:hover .frame img { filter: grayscale(0.3) contrast(1.05); }

/* Scroll-driven image parallax (progressive enhancement, off main thread) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .frame img {
      animation: img-parallax linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
      will-change: transform;
    }
    .fullbleed .frame img { animation-name: img-parallax-wide; }
  }
}
@keyframes img-parallax {
  from { transform: translateY(-9%); }
  to   { transform: translateY(9%); }
}
@keyframes img-parallax-wide {
  from { transform: translateY(-13%); }
  to   { transform: translateY(13%); }
}

/* =========================================================================
   Ledger (credentials) — dark measured band, count-up numbers + ticker
   ========================================================================= */
.ledger {
  background: var(--dark);
  color: var(--paper);
  overflow: hidden;
}
.ledger__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--pad-x) 44px;
}
.ledger__head { margin-bottom: 68px; }
.eyebrow--d { color: var(--accent); }
.ledger__title {
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.028em;
  margin: 0;
}
.ledger__title em { font-style: italic; font-weight: 600; color: var(--accent); }

.ledger__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  position: relative;
  padding: 2px 34px 0;
  border-left: 1px solid var(--line-d);
}
.stat:first-child { padding-left: 0; border-left: none; }
.stat__idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-d);
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 20px 0 22px;
  font-variant-numeric: tabular-nums;
}
.stat__num--accent { color: var(--accent); }
.stat__lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-d);
  padding-top: 20px;
  border-top: 1px solid var(--line-d);
  max-width: 20ch;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.stat__lbl::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 3px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Scrolling discipline ticker (full-bleed) */
.ledger__ticker {
  border-top: 1px solid var(--line-d);
  overflow: hidden;
  white-space: nowrap;
  padding: 24px 0;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(243, 243, 241, 0.26);
  will-change: transform;
  animation: ticker 34s linear infinite;
}
.ticker__track .dot { color: var(--accent); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* =========================================================================
   Section head (shared)
   ========================================================================= */
.shead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.shead__r {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 360px;
}
.idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================================
   Selected work
   ========================================================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 96px 48px;
}
.work-card {
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.work-card .frame { aspect-ratio: 4 / 3; }
.work-card--tall .frame { aspect-ratio: 4 / 5; }
.work-card--wide .frame { aspect-ratio: 16 / 10; }
.work-feature .frame { aspect-ratio: 16 / 9; }
.work-band .frame { aspect-ratio: 21 / 9; }
.work-offset { margin-top: 96px; }
.work-feature .work-meta__l .name { font-size: clamp(26px, 2.6vw, 34px); }

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.work-meta__l .name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.work-card:hover .name { color: var(--accent); }
.work-meta__l .type {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.work-meta__r {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.work-foot {
  margin-top: 88px;
  display: flex;
  justify-content: center;
}

/* Full-bleed cinematic image band */
.fullbleed { padding: 0; margin: 0; }
.fullbleed .frame { width: 100%; aspect-ratio: 21 / 9; }
.fullbleed .frame img { top: -20%; height: 140%; }
.fullbleed__cap {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-top: 18px;
}

/* =========================================================================
   Statement (dark editorial block)
   ========================================================================= */
.statement {
  background: linear-gradient(135deg, #cb5329 0%, #b8431f 46%, #8c2f12 100%);
  color: var(--paper);
  padding: 160px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: '\201C';
  position: absolute;
  top: -0.18em;
  left: 28px;
  font-family: var(--display);
  font-size: 360px;
  line-height: 1;
  color: rgba(243, 243, 241, 0.10);
  pointer-events: none;
}
.statement__inner { max-width: 1100px; margin: 0 auto; position: relative; }
.statement p {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0;
}
.statement p .dim { color: rgba(243, 243, 241, 0.66); }
.statement p em { font-style: italic; color: var(--ink); }
.statement__sig {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 243, 241, 0.82);
}
.statement__sig::before {
  content: '';
  width: 40px; height: 1px;
  background: rgba(243, 243, 241, 0.4);
}

/* =========================================================================
   Practice — "The Index": interactive split (list + cross-fading panel)
   ========================================================================= */
.px {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

/* Left: numbered discipline index */
.px__index {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.px__item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 30px 40px 30px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: padding-left .4s var(--ease);
}
.px__item:last-child { border-bottom: none; }
.px__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  height: calc(100% + 1px);
  width: 0;
  background: var(--accent);
  transition: width .35s var(--ease);
}
.px__item.is-active::before { width: 3px; }
.px__no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  transition: color .3s;
}
.px__name {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--muted);
  transition: color .3s;
}
.px__arrow {
  font-size: 20px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.px__item:hover { padding-left: 18px; }
.px__item:hover .px__name,
.px__item.is-active .px__name { color: var(--ink); }
.px__item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.px__item.is-active { padding-left: 18px; }
.px__item.is-active .px__no { color: var(--accent); }
.px__item.is-active .px__arrow { opacity: 1; transform: none; }

/* Right: cross-fading detail stage */
.px__stage {
  position: relative;
  min-height: 440px;
}
.px__panel {
  position: absolute;
  inset: 0;
  padding: 52px 8px 52px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.px__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.px__panel[hidden] { display: flex; }
.px__ghost {
  position: absolute;
  top: 20px;
  right: 4px;
  z-index: 0;
  font-family: var(--display);
  font-size: clamp(130px, 17vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--paper-3);
  pointer-events: none;
  user-select: none;
}
.px__body { position: relative; z-index: 1; max-width: 46ch; }
.px__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.px__title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0 0 24px;
}
.px__desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 34px;
}
.px__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.px__tags li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 9px 15px;
}

/* =========================================================================
   Studio — split image + text
   ========================================================================= */
.studio { background: var(--paper-2); }
.studio__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.studio__media .frame { aspect-ratio: 5 / 6; }
.studio__media .m { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 14px; }
.studio h2 { margin-bottom: 28px; }
.studio p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 52ch;
}
.studio p:last-of-type { margin-bottom: 36px; }

/* =========================================================================
   Recognition — grouped, sparse
   ========================================================================= */
.recog__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.recog__list { display: flex; flex-direction: column; }
.recog__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.recog__item:last-child { border-bottom: 1px solid var(--line); }
.recog__item .a {
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.recog__item .p { font-size: 14px; color: var(--muted); margin-top: 5px; }
.recog__item .y { font-family: var(--mono); font-size: 13px; color: var(--accent); white-space: nowrap; }

/* =========================================================================
   Journal — featured + list
   ========================================================================= */
.journal__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.feat { text-decoration: none; color: var(--ink); display: block; }
.feat .frame { aspect-ratio: 16 / 10; }
.feat__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 24px 0 14px; }
.feat__title {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  transition: color .2s;
  max-width: 18ch;
}
.feat:hover .feat__title { color: var(--accent); }

.jlist { display: flex; flex-direction: column; }
.jitem {
  text-decoration: none;
  color: var(--ink);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: block;
  transition: padding-left .3s var(--ease);
}
.jlist .jitem:last-child { border-bottom: 1px solid var(--line); }
.jitem:hover { padding-left: 14px; }
.jitem .m { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.jitem .t {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 10px;
  line-height: 1.2;
  transition: color .2s;
}
.jitem:hover .t { color: var(--accent); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq .container { max-width: 1040px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  color: var(--ink);
}
.faq__q {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.faq__sign {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
}
.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  background: var(--ink);
  transition: transform .3s var(--ease), background .3s;
}
.faq__sign::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__sign::after  { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__sign::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__item.is-open .faq__sign::before { background: var(--accent); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq__item.is-open .faq__answer { max-height: 260px; }
.faq__answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  padding: 0 60px 32px 0;
  max-width: 70ch;
}

/* =========================================================================
   Contact
   ========================================================================= */
.contact { background: var(--paper-2); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact__info h2 { margin-bottom: 36px; }
.cblock { padding: 24px 0; border-top: 1px solid var(--line); }
.cblock:first-of-type { border-top: none; padding-top: 0; }
.cblock .label { display: block; margin-bottom: 10px; }
.cblock a, .cblock .v {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.3;
  transition: color .2s;
}
.cblock a:hover { color: var(--accent); }
.cblock .v small {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 6px;
}

.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field > span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  outline: none;
  width: 100%;
  transition: border-color .25s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(23, 21, 15, 0.38); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2317150f' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 28px;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 70px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form button[type="submit"] {
  margin-top: 8px;
  align-self: flex-start;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 17px 30px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background .25s var(--ease), transform .12s;
}
.form button[type="submit"]:hover { background: var(--accent); }
.form button[type="submit"]:active { transform: translateY(1px); }
.form button[type="submit"]:disabled { opacity: 0.7; cursor: default; }
.form__foot { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }

/* =========================================================================
   CTA band (dark)
   ========================================================================= */
.cta {
  background: linear-gradient(135deg, #cb5329 0%, #b8431f 50%, #8c2f12 100%);
  color: var(--paper);
  padding: 130px var(--pad-x);
}
.cta__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}
.cta h2 { color: var(--paper); max-width: 16ch; }
.cta__r { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cta__r p { color: rgba(243, 243, 241, 0.84); font-size: 16px; line-height: 1.6; max-width: 34ch; margin: 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  background: var(--dark-2);
  color: var(--muted-d);
  padding: 80px var(--pad-x) 40px;
}
.footer__inner { max-width: var(--container); margin: 0 auto; }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-d);
}
.footer__brand .brand__name { color: var(--paper); font-size: 30px; }
.footer__brand p { margin: 22px 0 0; font-size: 14px; line-height: 1.6; max-width: 32ch; }
.fcol h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 4px 0 18px;
  font-weight: 400;
}
.fcol a, .fcol p {
  display: block;
  text-decoration: none;
  font-size: 14px;
  margin: 0 0 12px;
  color: var(--muted-d);
  transition: color .2s;
}
.fcol a:hover { color: var(--paper); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-d);
}

/* =========================================================================
   Project (case study) page
   ========================================================================= */
.crumbs { padding: 36px var(--pad-x) 0; }
.crumbs__inner {
  max-width: var(--container);
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 12px; color: var(--line); }

.phero { padding: 56px var(--pad-x) 64px; }
.phero__inner { max-width: var(--container); margin: 0 auto; }
.phero__type { margin-bottom: 30px; }
.phero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 14ch;
}
.phero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
  margin: 32px 0 0;
}
.pcover { padding: 0 var(--pad-x); }
.pcover__inner { max-width: var(--container); margin: 0 auto; }
.pcover .frame { aspect-ratio: 16 / 9; }

.pspecs { background: var(--dark); color: var(--paper); padding: 0 var(--pad-x); margin-top: 0; }
.pspecs__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.pspec { padding: 40px 28px; border-right: 1px solid var(--line-d); }
.pspec:first-child { padding-left: 0; }
.pspec:last-child { border-right: none; }
.pspec .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 12px; }
.pspec .v { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.01em; }

.pnarr { padding: 130px var(--pad-x); }
.pnarr__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.pnarr h2 { margin-bottom: 0; }
.pnarr__body p { font-size: 18px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 24px; max-width: 60ch; }
.pnarr__body p:last-child { margin-bottom: 0; }

.pgallery { padding: 0 var(--pad-x) 130px; }
.pgallery__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
}
.pgallery .g-wide { grid-column: span 12; }
.pgallery .g-wide .frame { aspect-ratio: 16 / 8; }
.pgallery .g-half { grid-column: span 6; }
.pgallery .g-half .frame { aspect-ratio: 4 / 3; }
.gcap { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 14px; }

.pnext { border-top: 1px solid var(--line); padding: 60px var(--pad-x); }
.pnext__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.pnext .label { display: block; margin-bottom: 12px; }
.pnext .nm {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
  transition: color .2s;
}
.pnext a.nm:hover { color: var(--accent); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .work-grid { gap: 64px 32px; }
  .col-7, .col-5, .col-6, .col-4, .col-8 { grid-column: span 6; }
  .work-offset { margin-top: 56px; }
  .px { grid-template-columns: 1fr 1fr; }
  .px__panel { padding: 44px 4px 44px 44px; }
}

@media (max-width: 940px) {
  :root { --pad-x: 36px; }
  .section { padding: 96px var(--pad-x); }
  .hero { padding: 56px var(--pad-x) 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .hero__signature { position: static; margin-bottom: 4px; gap: 14px; font-size: clamp(46px, 13vw, 76px); }
  .hero__media .frame { aspect-ratio: 16 / 11; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px var(--pad-x) 28px;
  }
  .nav.is-open .nav__links a { padding: 10px 0; font-size: 18px; }

  .ledger__inner { padding: 72px var(--pad-x) 40px; }
  .ledger__head { margin-bottom: 52px; }
  .ledger__grid { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .stat { padding: 26px 0 0; border-left: none; border-top: 1px solid var(--line-d); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; padding-top: 2px; }
  .stat:nth-child(odd) { padding-right: 24px; }

  .work-grid { gap: 48px; }
  .col-7, .col-5, .col-6, .col-4, .col-8 { grid-column: span 12; }
  .work-offset { margin-top: 0; }
  .work-band .frame { aspect-ratio: 16 / 10; }
  .fullbleed .frame { aspect-ratio: 4 / 3; }

  .statement { padding: 110px var(--pad-x); }
  .studio__grid { grid-template-columns: 1fr; gap: 40px; }
  .studio__media .frame { aspect-ratio: 16 / 11; }
  .recog__grid { grid-template-columns: 1fr; gap: 36px; }
  .journal__grid { grid-template-columns: 1fr; gap: 44px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }

  .px { grid-template-columns: 1fr; }
  .px__index { border-right: none; }
  .px__stage { min-height: 0; }
  .px__panel {
    position: static;
    inset: auto;
    display: none;
    padding: 34px 0 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .px__panel.is-active { display: flex; }
  .px__panel[hidden]:not(.is-active) { display: none; }
  .px__ghost { font-size: clamp(96px, 30vw, 170px); top: 4px; }
  .px__item .px__arrow { display: none; }

  .pnarr__inner { grid-template-columns: 1fr; gap: 32px; }
  .pspecs__inner { grid-template-columns: repeat(2, 1fr); }
  .pspec { border-right: none; border-bottom: 1px solid var(--line-d); padding-left: 0 !important; padding-right: 0; }
  .pgallery .g-half { grid-column: span 12; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 560px) {
  :root { --pad-x: 22px; }
  .section { padding: 72px var(--pad-x); }
  .ledger__grid { grid-template-columns: 1fr; }
  .stat { border-top: 1px solid var(--line-d); padding: 30px 0 0; }
  .stat:first-child { border-top: none; padding-top: 2px; }
  .stat:nth-child(odd) { padding-right: 0; }
  .shead { margin-bottom: 44px; }
  .work-meta { flex-wrap: wrap; gap: 8px; }
  .form__row { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}
