/* ==========================================================================
   MIRAI — A Launch Studio for Architecture
   Production Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. FONTS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --paper: #f5f2ec;
  --paper-deep: #eeeae0;
  --forest: #171d19;
  --forest-deep: #0f1411;
  --forest-mid: #212923;
  --gold: #b09a75;
  --gold-tint: rgba(176, 154, 117, 0.15);
  --ink: #111412;
  --ink-secondary: #5e6460;
  --card: #faf8f5;
  --border: rgba(17, 20, 18, 0.1);
  --border-light: rgba(255, 255, 255, 0.12);

  /* Typography */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  /* Layout */
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(80px, 10vw, 140px);
  --header-h: 80px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.35s;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--sans);
  background-color: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  font-size: 15px;
  font-weight: 400;
  overflow-x: hidden;
  background-color: var(--paper);
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: var(--gold-tint);
  color: var(--ink);
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   3. UTILITY & ACCESSIBILITY
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.section-shell,
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-secondary);
  padding-top: 4px;
}

.kicker::before {
  content: '—';
  color: var(--gold);
  font-weight: 400;
}

.kicker .index,
.kicker .kicker__index {
  color: var(--gold);
}

.kicker.kicker--light {
  color: rgba(255, 255, 255, 0.5);
}

.kicker.kicker--light::before {
  color: var(--gold);
}

/* Section aside text */
.section-aside {
  font-size: 12px;
  color: var(--ink-secondary);
  max-width: 280px;
  text-align: right;
  line-height: 1.6;
}

/* Buttons & Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid,
.btn-primary {
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
}

.btn--solid:hover,
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.text-link:hover {
  color: var(--gold);
}

.text-link--light {
  color: rgba(255, 255, 255, 0.85);
}

.text-link--light:hover {
  color: var(--gold);
}

.text-link--dark {
  color: var(--ink);
}

.text-link--dark:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   4. HEADER  ·  .site-header
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  color: #fff;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(245, 242, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--border);
}

/* Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.brand-mark--dark {
  display: none;
}

.brand-mark--light {
  display: block;
}

.site-header.is-scrolled .brand-mark--light,
.site-header.is-open .brand-mark--light {
  display: none;
}

.site-header.is-scrolled .brand-mark--dark,
.site-header.is-open .brand-mark--dark {
  display: block;
}

.site-header.is-open {
  color: var(--ink);
}

.wordmark {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark .dot {
  color: var(--gold);
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding-block: 4px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--duration) var(--ease);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

.nav-cta {
  font-size: 10px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border: 1px solid currentColor;
  border-radius: 0;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #fff;
  color: var(--ink);
}

.site-header.is-scrolled .nav-cta:hover {
  background: var(--ink);
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

.nav-toggle.is-active span:first-child,
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.is-active span:last-child,
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. HERO  ·  .hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  overflow: hidden;
}

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

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 14s var(--ease) forwards;
}

@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 65%, transparent 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 40%);
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h) + 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.hero__inner {
  max-width: 960px;
}

.hero__eyebrow {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  opacity: 0.85;
}

.hero__eyebrow span {
  color: var(--gold);
  margin-inline: 8px;
}

.hero__title {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

.hero__title .dot {
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.65;
  opacity: 0.65;
  max-width: 520px;
  margin-bottom: 36px;
}

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

/* Hero bottom bar */
.hero__bar {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.hero__bar a {
  transition: opacity var(--duration) var(--ease);
}

.hero__bar a:hover {
  opacity: 1;
}

.hero__badge,
.hero__clock {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   6. PHILOSOPHY  ·  .philosophy
   -------------------------------------------------------------------------- */
.philosophy {
  padding-block: var(--section-pad);
}

.philosophy__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}

.philosophy__content {
  display: flex;
  flex-direction: column;
}

.philosophy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  max-width: 760px;
}

.philosophy h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.philosophy__lead,
.philosophy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-secondary);
  max-width: 640px;
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   7. WORK / STUDIES  ·  .work
   -------------------------------------------------------------------------- */
.work {
  background: var(--paper-deep);
  padding-block: var(--section-pad);
}

.work__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
}

.work__header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.work__header h2 em {
  font-family: var(--serif);
  font-style: italic;
}

/* Studies grid */
.studies {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
}

.studies > .study--offset,
.studies > :nth-child(even) {
  margin-top: 80px;
}

.study {
  cursor: pointer;
}

.study__frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.study:nth-child(odd) .study__frame {
  aspect-ratio: 16 / 10;
}

.study:nth-child(even) .study__frame {
  aspect-ratio: 4 / 3.5;
}

.study__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.study:hover .study__frame img {
  transform: scale(1.04);
}

.study__label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--paper);
  padding: 6px 12px;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  z-index: 1;
}

.study figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 14px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.study__title {
  color: var(--ink);
}

.study figcaption .study__index {
  color: var(--ink-secondary);
  font-weight: 400;
}

/* Work footer CTA */
.work__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  font-size: 13px;
  color: var(--ink-secondary);
  flex-wrap: wrap;
}

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

.work__dash {
  width: 24px;
  height: 1px;
  background: var(--ink-secondary);
  opacity: 0.4;
  display: inline-block;
}

.work__cta em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   8. LAUNCH MOMENTS  ·  .moments
   -------------------------------------------------------------------------- */
.moments {
  padding-block: var(--section-pad);
}

.moments__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
}

.moments__header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.moments__header h2 em {
  font-family: var(--serif);
  font-style: italic;
}

.moments__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.moment-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 4vw, 56px);
  min-height: 520px;
}

.moment-card--light {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
}

.moment-card--dark {
  background: var(--forest);
  color: #fff;
}

.moment-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.moment-card--dark .moment-card__header {
  border-bottom-color: var(--border-light);
}

.moment-card__index {
  color: var(--gold);
}

.moment-card__body {
  flex: 1;
}

.moment-card__body h3 {
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.moment-card__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  margin-bottom: 16px;
  opacity: 0.85;
}

.moment-card__text {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.65;
  max-width: 480px;
}

.moment-card__footer {
  padding-top: 32px;
}

.deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.deliverables span {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.deliverables span::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. CAPABILITIES  ·  .capabilities
   -------------------------------------------------------------------------- */
.capabilities {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
}

.capabilities__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
}

.capabilities__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
}

.capabilities__intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 16px;
}

.capabilities__intro h2 em {
  font-family: var(--serif);
  font-style: italic;
}

.capabilities__intro p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
  max-width: 320px;
}

.capabilities__list {
  border-top: 1px solid var(--border);
}

.capability {
  border-bottom: 1px solid var(--border);
}

.capability__trigger {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  width: 100%;
  min-height: 60px;
  text-align: left;
  padding: 18px 0;
}

.capability__num {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  min-width: 28px;
}

.capability__trigger h3 {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.02em;
  flex: 1;
}

.capability__icon {
  font-size: 22px;
  font-weight: 300;
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.capability[aria-expanded="true"] .capability__icon,
.capability.is-expanded .capability__icon {
  transform: rotate(45deg);
}

.capability__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), padding 0.3s var(--ease);
  padding: 0;
}

.capability[aria-expanded="true"] .capability__panel,
.capability.is-expanded .capability__panel {
  max-height: 200px;
  opacity: 1;
  padding: 4px 0 24px 0;
}

.capability__panel p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
  max-width: 540px;
}

/* --------------------------------------------------------------------------
   10. PROCESS / APPROACH  ·  .process
   -------------------------------------------------------------------------- */
.process {
  background: var(--forest);
  color: #fff;
  padding-block: var(--section-pad);
}

.process__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
}

.process__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
}

.process__intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 20px;
}

.process__intro h2 em {
  font-family: var(--serif);
  font-style: italic;
}

.process__intro p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.55;
  max-width: 320px;
}

.process__steps {
  border-top: 1px solid var(--border-light);
}

.step {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-light);
  padding: 36px 0;
}

.step__num {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  min-width: 32px;
  padding-top: 4px;
}

.step__body {
  flex: 1;
}

.step__body h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.25;
}

.step__body p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.6;
  max-width: 520px;
  margin-bottom: 16px;
}

.step__output {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   11. AUDIENCE  ·  .audience
   -------------------------------------------------------------------------- */
.audience {
  padding-block: var(--section-pad);
}

.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.audience__intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 16px;
}

.audience__intro h2 em {
  font-family: var(--serif);
  font-style: italic;
}

.audience__intro p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.audience__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.audience__list {
  display: flex;
  flex-direction: column;
}

.audience-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.audience-card--primary {
  border-bottom-color: var(--ink);
}

.audience-card__tag {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.audience-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.reach-note {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--paper-deep);
  border-radius: 2px;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reach-note span:first-child {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   12. STUDIO NOTE  ·  .studio-note
   -------------------------------------------------------------------------- */
.studio-note {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
}

.studio-note .reveal {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}

.studio-note__statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 760px;
}

.studio-note__small {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   13. CONTACT  ·  .contact
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  background: var(--forest);
  color: #fff;
  padding-block: var(--section-pad);
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}

.contact__main h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 20px;
}

.contact__main h2 em {
  font-family: var(--serif);
  font-style: italic;
}

.contact__lead {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.6;
  max-width: 480px;
  margin-bottom: 36px;
}

/* Inquiry Builder */
.inquiry {
  background: var(--forest-mid);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 2px;
}

.inquiry h3 {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.5;
  margin-bottom: 20px;
}

.inquiry__group {
  margin-bottom: 24px;
}

.inquiry__group label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.5;
  display: block;
  margin-bottom: 12px;
}

.inquiry__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12px;
  font-weight: 400;
  padding: 10px 18px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  transition: all var(--duration) var(--ease);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.chip.is-active,
.chip.is-selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.inquiry__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.inquiry__actions .btn {
  flex: 1;
  justify-content: center;
  min-height: 48px;
}

.inquiry__wa {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.inquiry__wa:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.inquiry__note {
  font-size: 11px;
  opacity: 0.45;
  text-align: center;
  margin-top: 14px;
}

/* Contact right */
.contact__aside {
  padding-top: 40px;
}

.contact__channel {
  margin-bottom: 36px;
}

.contact__channel > span {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.4;
  display: block;
  margin-bottom: 8px;
}

.contact__email {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  word-break: break-all;
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #fff;
  cursor: pointer;
  margin-left: 12px;
  transition: background var(--duration) var(--ease);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.copy-btn.is-copied {
  background: var(--gold);
  border-color: var(--gold);
}

.contact__channel p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   14. FOOTER  ·  .footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--forest-deep);
  color: #fff;
  padding: 60px var(--gutter) 40px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.footer__brand .wordmark {
  font-size: 20px;
  opacity: 0.8;
  display: block;
  margin-bottom: 6px;
}

.footer__brand p {
  font-size: 13px;
  font-family: var(--serif);
  font-style: italic;
  opacity: 0.5;
}

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__nav a {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  transition: opacity var(--duration) var(--ease);
}

.footer__nav a:hover {
  opacity: 0.9;
}

.footer__bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.45;
}

.footer__bottom .copyright {
  font-weight: 400;
}

.footer__bottom .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
}

.footer__construction,
.construction-link {
  color: var(--gold);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--duration) var(--ease);
}

.footer__construction:hover,
.construction-link:hover {
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   15. MODAL  ·  .modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease),
              visibility var(--duration) var(--ease);
  padding: var(--gutter);
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal__shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.modal__image {
  position: relative;
  overflow: hidden;
  background: #000;
}

.modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__info {
  padding: clamp(32px, 4vw, 56px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal__kicker {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.modal__info h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.modal__desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal__specs {
  border-top: 1px solid var(--border);
  margin-bottom: 28px;
}

.modal__spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.modal__spec-label {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  color: var(--ink-secondary);
}

.modal__spec-val {
  text-align: right;
  font-weight: 400;
}

.modal .btn--outline {
  border-color: var(--ink);
  color: var(--ink);
  align-self: flex-start;
}

.modal .btn--outline:hover {
  background: var(--ink);
  color: #fff;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-radius: 50%;
  font-size: 20px;
  color: var(--ink);
  z-index: 10;
  transition: background var(--duration) var(--ease);
}

.modal__close:hover {
  background: var(--paper-deep);
}

/* --------------------------------------------------------------------------
   16. TOAST  ·  .toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--forest);
  color: #fff;
  padding: 20px 24px;
  max-width: 380px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration) var(--ease);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
}

body.no-scroll .toast {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.toast__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.toast__close {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.toast__close:hover {
  color: #fff;
}

.toast__body {
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.75;
}

.toast__action {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   17. CONSTRUCTION PAGE  ·  .construction-page
   -------------------------------------------------------------------------- */
.construction-page {
  min-height: 100svh;
  background: var(--forest);
  color: #fff;
}

.construction-hero {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: flex-end;
  padding: var(--section-pad) var(--gutter) 80px;
  overflow: hidden;
}

.construction-hero__bg {
  position: absolute;
  inset: 0;
}

.construction-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.construction-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(16, 21, 18, 0.88) 0%, rgba(16, 21, 18, 0.65) 50%, rgba(16, 21, 18, 0.25) 85%, transparent 100%),
    linear-gradient(to top, var(--forest) 15%, rgba(23, 29, 25, 0.75) 60%, rgba(23, 29, 25, 0.45) 100%);
}

.construction-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.construction-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffffff;
  margin-bottom: 24px;
  padding: 6px 14px 6px 12px;
  background: rgba(23, 29, 25, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.construction-hero .kicker::before {
  content: '—';
  color: var(--gold);
  font-weight: 600;
}

.construction-hero__content h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.construction-hero__content p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.6;
  max-width: 540px;
}

.construction-details {
  padding: var(--section-pad) var(--gutter);
}

.construction-details .wrap,
.construction-details .section-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.construction-details h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.construction-details h2 em {
  font-family: var(--serif);
  font-style: italic;
}

.construction-details p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.6;
}

/* ==========================================================================
   RESPONSIVE  ·  BREAKPOINTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   ≤ 1024px  ·  Tablet landscape → single-column layouts
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .philosophy__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .capabilities__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .capabilities__intro {
    position: static;
  }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process__intro {
    position: static;
  }

  .audience__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .studio-note .reveal {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .modal__shell {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }

  .modal__image {
    max-height: 38vh;
  }

  .construction-details .wrap,
  .construction-details .section-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* --------------------------------------------------------------------------
   ≤ 820px  ·  Tablet portrait → mobile-first / THE CRITICAL BREAKPOINT
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  /* Header mobile */
  .site-header {
    height: var(--header-h);
    padding-inline: var(--gutter);
  }

  /* When drawer is open: header expands to cover entire viewport with opaque paper canvas */
  .site-header.is-open {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100svh !important;
    height: 100vh !important;
    background: var(--paper) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    z-index: 1000 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 0 !important;
    color: var(--ink) !important;
  }

  .site-header.is-open .header-brand {
    position: absolute;
    top: 0;
    left: var(--gutter);
    height: var(--header-h);
    display: flex;
    align-items: center;
    z-index: 1002;
  }

  .site-header.is-open .nav-toggle {
    position: absolute;
    top: 0;
    right: var(--gutter);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    color: var(--ink);
  }

  /* Nav container when closed */
  .site-nav {
    display: none;
  }

  /* Nav container when open */
  .site-header.is-open .site-nav {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    padding: calc(var(--header-h) + 16px) var(--gutter) 48px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    visibility: visible;
    background: transparent;
    z-index: 1001;
  }

  .site-header.is-open .site-nav a:not(.nav-cta) {
    font-size: clamp(20px, 5.5vw, 26px);
    font-family: var(--sans);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
  }

  .site-header.is-open .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-header.is-open .site-nav a:not(.nav-cta):hover,
  .site-header.is-open .site-nav a:not(.nav-cta).is-active {
    color: var(--gold);
    padding-left: 6px;
  }

  .site-header.is-open .nav-cta {
    margin-top: 32px;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 18px 24px;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    text-align: center;
    border-radius: 0;
    transition: background var(--duration) var(--ease),
                color var(--duration) var(--ease);
  }

  .site-header.is-open .nav-cta:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
  }

  .nav-toggle {
    display: flex;
    z-index: 101;
  }

  /* Hero mobile */
  .hero__overlay {
    background:
      linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.3) 100%),
      linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  }

  .construction-hero__bg::after {
    background:
      linear-gradient(to right, rgba(16, 21, 18, 0.92) 0%, rgba(16, 21, 18, 0.75) 100%),
      linear-gradient(to top, var(--forest) 20%, rgba(23, 29, 25, 0.6) 100%);
  }

  .hero__title {
    font-size: clamp(2.4rem, 9vw, 3.8rem);
  }

  .hero__body {
    padding-top: calc(var(--header-h) + 30px);
  }

  /* Work grid → stack */
  .work__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .work__header .section-aside {
    text-align: left;
  }

  .studies {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .studies > .study--offset,
  .studies > :nth-child(even) {
    margin-top: 0;
  }

  .study:nth-child(odd) .study__frame,
  .study:nth-child(even) .study__frame,
  .study__frame {
    aspect-ratio: 16 / 10 !important;
  }

  /* Moments → stack */
  .moments__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .moments__header .section-aside {
    text-align: left;
  }

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

  .moment-card {
    min-height: auto;
    padding: 32px;
  }

  /* Capabilities mobile */
  .capabilities__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .capabilities__intro {
    position: static;
  }

  .capability__panel,
  .capability[aria-expanded="true"] .capability__panel {
    padding-left: 0;
  }

  /* Process mobile */
  .process__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process__intro {
    position: static;
  }

  /* Audience mobile */
  .audience__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Studio note mobile */
  .studio-note .reveal {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Contact mobile */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Footer mobile */
  .footer__top {
    flex-direction: column;
    gap: 24px;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  /* Construction page */
  .construction-details .wrap,
  .construction-details .section-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   ≤ 480px  ·  Small phone
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn,
  .hero__actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero__bar a {
    display: none;
  }

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

  .inquiry__chips {
    flex-direction: column;
  }

  .inquiry__actions {
    flex-direction: column;
  }

  .chip {
    width: 100%;
    justify-content: center;
  }

  .footer__nav {
    flex-direction: column;
    gap: 12px;
  }

  .modal__spec {
    flex-direction: column;
    gap: 4px;
  }

  .modal__spec-val {
    text-align: left;
  }

  /* Toast edge-to-edge */
  .toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__media img,
  .hero__media video {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
