/* ═══════════════════════════════════════════════════════════════════
   FORM ATELIER — Brutalist Editorial / Light Bone Theme
   Palette: bg #E8E6E1 · surface #FFFFFF · text #111111 · muted #6A6A66 · accent #B5532A · line rgba(17,17,17,.14)
   Fonts: Space Grotesk (display) · IBM Plex Mono (body/labels)
═══════════════════════════════════════════════════════════════════ */

/* ── RESET + TOKENS ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #E8E6E1;
  --surface:   #FFFFFF;
  --text:      #111111;
  --muted:     #6A6A66;
  --accent:    #B5532A;
  --line:      rgba(17,17,17,.14);
  --line-mid:  rgba(17,17,17,.22);

  --font-display: 'Space Grotesk', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* spacing scale */
  --s-xs:   0.5rem;
  --s-sm:   1rem;
  --s-md:   1.5rem;
  --s-lg:   3rem;
  --s-xl:   5rem;
  --s-2xl:  8rem;

  /* transitions */
  --t-fast:   200ms cubic-bezier(.16,1,.3,1);
  --t-mid:    300ms cubic-bezier(.16,1,.3,1);
  --t-slow:   400ms cubic-bezier(.16,1,.3,1);

  --header-h: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── FOCUS VISIBLE ──────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 2px; }

/* ══════════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(232,230,225,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-mid), box-shadow var(--t-mid), height var(--t-mid);
}

.site-header.scrolled {
  height: 52px;
  background: rgba(232,230,225,0.96);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: 0.7; }

.logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t-fast);
  cursor: pointer;
}
.nav-link:hover { color: var(--text); }

.nav-link--cta {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 14px;
  letter-spacing: 0.06em;
}
.nav-link--cta:hover {
  background: var(--accent);
  color: #fff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: transform var(--t-mid), opacity var(--t-mid);
  transform-origin: center;
}
.nav-hamburger.open .hamburger-line:first-child {
  transform: translateY(3px) rotate(45deg);
}
.nav-hamburger.open .hamburger-line:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17,17,17,0.72) 0%,
    rgba(17,17,17,0.48) 50%,
    rgba(17,17,17,0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(4rem,10vw,8rem) clamp(1rem,4vw,3rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}

.eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: clamp(1.5rem,3vw,2.5rem);
}

.headline-row {
  display: block;
}
.headline-row--indent {
  padding-left: clamp(3rem,8vw,10rem);
  color: var(--accent);
}

.hero-subline {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 15px);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 40ch;
  margin-bottom: clamp(2rem,4vw,3.5rem);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: clamp(1.5rem,4vw,2.5rem);
  right: clamp(1rem,4vw,3rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.6);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { top: -100%; }
  50%  { top: 0; }
  100% { top: 100%; }
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.8);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: #9a3f1e;
  border-color: #9a3f1e;
}

.btn--dark {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.btn--dark:hover {
  background: #333;
  border-color: #333;
}

/* ══════════════════════════════════════════════════════════════════
   MARQUEE BAND
══════════════════════════════════════════════════════════════════ */
.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 1.5rem;
}

.marquee-dot {
  color: var(--accent) !important;
  padding: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════
   SHARED SECTION PATTERNS
══════════════════════════════════════════════════════════════════ */
.section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
  max-width: 1440px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.section-label-group {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.section-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  align-self: center;
}

/* ══════════════════════════════════════════════════════════════════
   WORKS GRID
══════════════════════════════════════════════════════════════════ */
.works-section { border-top: 1px solid var(--line); }

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-item {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.work-item--wide {
  grid-column: span 2;
}

.work-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.work-item--wide .work-image-wrap { aspect-ratio: 16/9; }
.work-item--tall .work-image-wrap { aspect-ratio: 3/4; }

.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.work-item:hover .work-image {
  transform: scale(1.04);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: background var(--t-mid);
}
.work-item:hover .work-overlay {
  background: rgba(17,17,17,0.42);
}

.work-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 7px 13px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-mid), transform var(--t-mid), background var(--t-fast);
  cursor: pointer;
}
.work-item:hover .work-view-btn {
  opacity: 1;
  transform: translateY(0);
}
.work-view-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
}

.work-index {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 20px;
}

.work-info {
  flex: 1;
  min-width: 0;
}

.work-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-detail {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 1px;
}

.work-discipline {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-mid);
  padding: 3px 7px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   DISCIPLINES
══════════════════════════════════════════════════════════════════ */
.disciplines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.discipline-item {
  display: flex;
  gap: 2rem;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-fast);
}
.discipline-item:nth-child(even) { border-right: none; }
.discipline-item:nth-child(3),
.discipline-item:nth-child(4) { border-bottom: none; }
.discipline-item:hover { background: var(--surface); }

.discipline-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--line-mid);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.05em;
  transition: color var(--t-mid);
  user-select: none;
}
.discipline-item:hover .discipline-number { color: var(--accent); }

.discipline-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.discipline-desc {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 1.25rem;
}

.discipline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.discipline-tags li {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-mid);
  padding: 3px 8px;
}

/* ══════════════════════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════════════════════ */
.process-section { background: var(--surface); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.process-phase {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  position: relative;
}
.process-phase:last-child { border-right: none; }

.process-phase-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.process-phase-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.process-phase-line {
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.35;
}

.process-phase-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.process-phase-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.process-phase-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.process-deliverables {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.deliverable-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.5rem;
}

.process-deliverables ul li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text);
  padding: 3px 0;
  padding-left: 1rem;
  position: relative;
}
.process-deliverables ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1px;
  background: var(--accent);
}

/* ══════════════════════════════════════════════════════════════════
   STUDIO / PHILOSOPHY
══════════════════════════════════════════════════════════════════ */
.studio-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem,6vw,7rem);
  align-items: start;
}

.studio-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: clamp(1rem, 2vw, 1.75rem);
  margin-top: 2.5rem;
}

.studio-quote footer {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-style: normal;
}

.studio-body {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 62ch;
  margin-bottom: 1.25rem;
}

.studio-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.studio-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}

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

/* ══════════════════════════════════════════════════════════════════
   PRESS / RECOGNITION
══════════════════════════════════════════════════════════════════ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 2rem;
}

.press-item {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-fast);
}
.press-item:nth-child(3n) { border-right: none; }
.press-item:nth-child(4),
.press-item:nth-child(5),
.press-item:nth-child(6) { border-bottom: none; }
.press-item:hover { background: var(--surface); }

.press-pub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.press-headline {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 15.5px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.press-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}

.awards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.award-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--line-mid);
  padding: 5px 12px;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.award-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════════
   TEAM
══════════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.team-member {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  transition: background var(--t-fast);
}
.team-member:last-child { border-right: none; }
.team-member:hover { background: var(--surface); }

.team-portrait {
  width: clamp(64px, 10vw, 80px);
  aspect-ratio: 5/6;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
}
.team-portrait svg { width: 100%; height: 100%; }

.team-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.team-bio {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════
   ENQUIRIES / FORM
══════════════════════════════════════════════════════════════════ */
.enquiries-section { background: var(--surface); }

.enquiries-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.enquiries-body {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 44ch;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.enquiries-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 72px;
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
  transition: color var(--t-fast);
}
.contact-value:hover { color: var(--accent); }

/* FORM */
.enquiry-form { position: relative; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
}

.required { color: var(--accent); }

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-mid);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 11px 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
  border-radius: 0;
  outline: none;
}
.form-input:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(17,17,17,0.06);
}
.form-input.error { border-color: var(--accent); }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%236A6A66' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent);
  min-height: 1em;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.6;
}

.btn--submit {
  flex-shrink: 0;
  position: relative;
}
.btn--submit .btn-icon { transition: transform var(--t-fast); }
.btn--submit:hover .btn-icon { transform: translateX(3px); }

/* SUCCESS STATE */
.form-success {
  position: absolute;
  inset: 0;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.form-success.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.form-success[aria-hidden="false"] { display: flex; }

.success-icon { margin-bottom: 1.5rem; }

.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.success-body {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 38ch;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { max-width: 280px; }

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-col-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
  font-weight: 400;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}
.footer-link:hover { color: rgba(255,255,255,0.9); }
.footer-link--text { color: rgba(255,255,255,0.35); }
.footer-link--text:hover { color: rgba(255,255,255,0.35); cursor: default; }

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.25);
}

.footer-credit {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.25);
}

.footer-credit-link {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}
.footer-credit-link:hover { color: rgba(255,255,255,0.8); }

/* ══════════════════════════════════════════════════════════════════
   BUILT BY PILL (FIXED)
══════════════════════════════════════════════════════════════════ */
.built-by-pill {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(232,230,225,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-mid);
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(17,17,17,0.1);
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
}
.built-by-pill:hover {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 6px 24px rgba(17,17,17,0.18);
}

/* ══════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════════════════════════ */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children of a grid */
.works-grid .reveal-item:nth-child(2)  { transition-delay: 60ms; }
.works-grid .reveal-item:nth-child(3)  { transition-delay: 120ms; }
.works-grid .reveal-item:nth-child(4)  { transition-delay: 180ms; }
.works-grid .reveal-item:nth-child(5)  { transition-delay: 60ms; }
.works-grid .reveal-item:nth-child(6)  { transition-delay: 120ms; }
.works-grid .reveal-item:nth-child(7)  { transition-delay: 0ms; }
.works-grid .reveal-item:nth-child(8)  { transition-delay: 60ms; }
.works-grid .reveal-item:nth-child(9)  { transition-delay: 120ms; }
.works-grid .reveal-item:nth-child(10) { transition-delay: 60ms; }

.disciplines-grid .reveal-item:nth-child(2) { transition-delay: 80ms; }
.disciplines-grid .reveal-item:nth-child(3) { transition-delay: 160ms; }
.disciplines-grid .reveal-item:nth-child(4) { transition-delay: 240ms; }

.process-grid .reveal-item:nth-child(2) { transition-delay: 80ms; }
.process-grid .reveal-item:nth-child(3) { transition-delay: 160ms; }
.process-grid .reveal-item:nth-child(4) { transition-delay: 240ms; }

.press-grid .reveal-item:nth-child(2) { transition-delay: 60ms; }
.press-grid .reveal-item:nth-child(3) { transition-delay: 120ms; }
.press-grid .reveal-item:nth-child(4) { transition-delay: 60ms; }
.press-grid .reveal-item:nth-child(5) { transition-delay: 120ms; }
.press-grid .reveal-item:nth-child(6) { transition-delay: 180ms; }

.team-grid .reveal-item:nth-child(2) { transition-delay: 80ms; }
.team-grid .reveal-item:nth-child(3) { transition-delay: 160ms; }
.team-grid .reveal-item:nth-child(4) { transition-delay: 240ms; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track { animation: none; }
  .scroll-line::after { animation: none; }
  .hero-video { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — 1024px (tablet landscape)
══════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-item--wide { grid-column: span 2; }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-phase:nth-child(2n) { border-right: none; }
  .process-phase:nth-child(1),
  .process-phase:nth-child(2) { border-bottom: 1px solid var(--line); }
  .process-phase:nth-child(3),
  .process-phase:nth-child(4) { border-bottom: none; }

  .studio-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-member:nth-child(even) { border-right: none; }
  .team-member:nth-child(1),
  .team-member:nth-child(2) { border-bottom: 1px solid var(--line); }
  .team-member:nth-child(3),
  .team-member:nth-child(4) { border-right: none; }

  .enquiries-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — 768px (tablet portrait)
══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(232,230,225,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem clamp(1rem,4vw,3rem);
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-mid), transform var(--t-mid);
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  .nav-link--cta { margin-top: 1rem; border: 1px solid var(--accent); padding: 0.75rem 1rem; }
  .nav-hamburger { display: flex; }

  .hero-headline { font-size: clamp(3rem, 12vw, 5.5rem); }
  .headline-row--indent { padding-left: clamp(1.5rem, 5vw, 4rem); }

  .works-grid {
    grid-template-columns: 1fr;
  }
  .work-item--wide { grid-column: span 1; }
  .work-item--wide .work-image-wrap { aspect-ratio: 4/3; }

  .disciplines-grid { grid-template-columns: 1fr; }
  .discipline-item { border-right: none; }
  .discipline-item:nth-child(3) { border-bottom: 1px solid var(--line); }
  .discipline-item:nth-child(4) { border-bottom: none; }

  .process-grid { grid-template-columns: 1fr; }
  .process-phase { border-right: none; border-bottom: 1px solid var(--line); }
  .process-phase:last-child { border-bottom: none; }

  .press-grid { grid-template-columns: 1fr; }
  .press-item { border-right: none; }
  .press-item:last-child { border-bottom: none; }

  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-member:nth-child(even) { border-right: none; }
  .team-member { border-bottom: 1px solid var(--line); }
  .team-member:nth-child(3),
  .team-member:nth-child(4) { border-bottom: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — 375px (mobile)
══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-member { border-right: none; border-bottom: 1px solid var(--line); }
  .team-member:last-child { border-bottom: none; }

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

  .hero-meta { flex-direction: column; align-items: flex-start; }

  .studio-stats { gap: 1.5rem; }

  .built-by-pill { bottom: 1rem; right: 1rem; font-size: 9.5px; padding: 6px 11px; }
}
