:root {
  --void: #050505;
  --ink: #0b0a08;
  --charcoal: #14120f;
  --panel: #1a1712;
  --ivory: #e9e1d2;
  --muted: #a49b8d;
  --ash: #716a61;
  --ochre: #b36a33;
  --ember: #6b2f1f;
  --line: rgba(233, 225, 210, 0.16);
  --max: 1180px;
  --header-h: 88px;
  --scroll-ratio: 0;
  --scroll-x: 0px;
  --scroll-y: 0px;
  --font-display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--void);
  color: var(--ivory);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--void);
  color: var(--ivory);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
canvas {
  display: block;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 52% 8%, rgba(179, 106, 51, 0.11), transparent 34rem),
    radial-gradient(circle at 50% 42%, rgba(233, 225, 210, 0.055), transparent 38rem),
    linear-gradient(180deg, #070706 0%, var(--void) 58%, #090806 100%);
}

.grain {
  position: fixed;
  inset: -24px;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  animation: grain-shift 1.2s steps(4) infinite;
}

.cinema-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.42;
}

.cinema-atmosphere::before,
.cinema-atmosphere::after {
  content: "";
  position: absolute;
  inset: -22%;
  background-image:
    radial-gradient(circle at 18% 32%, rgba(179, 106, 51, 0.20) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 58%, rgba(233, 225, 210, 0.13) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 18%, rgba(179, 106, 51, 0.16) 0 1px, transparent 2px);
  background-size: 180px 180px, 240px 240px, 320px 320px;
  opacity: 0.46;
  transform: translate3d(0, 0, 0);
  animation: dust-field 28s linear infinite;
}

.cinema-atmosphere::after {
  opacity: 0.28;
  filter: blur(1px);
  animation-duration: 42s;
  animation-direction: reverse;
}

.cinema-atmosphere span {
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(179, 106, 51, 0.14), transparent 62%);
  opacity: 0.56;
  transform: translate3d(0, 0, 0);
  animation: ember-drift 22s ease-in-out infinite alternate;
}

.cinema-atmosphere span:nth-child(1) {
  left: -18vmax;
  top: 18vh;
}

.cinema-atmosphere span:nth-child(2) {
  right: -18vmax;
  top: -18vmax;
  width: 50vmax;
  height: 50vmax;
  background: radial-gradient(circle, rgba(233, 225, 210, 0.09), transparent 64%);
  animation-duration: 26s;
}

.cinema-atmosphere span:nth-child(3) {
  right: 8vw;
  bottom: -24vmax;
  width: 46vmax;
  height: 46vmax;
  animation-duration: 31s;
  animation-delay: -9s;
}

@keyframes dust-field {
  from { transform: translate3d(-2%, -1%, 0); }
  to { transform: translate3d(5%, 4%, 0); }
}

@keyframes ember-drift {
  0% { transform: translate3d(-2vw, 1vh, 0) scale(0.92); }
  48% { transform: translate3d(2vw, -2vh, 0) scale(1.05); }
  100% { transform: translate3d(4vw, 1vh, 0) scale(1.12); }
}

@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-8px, 5px, 0); }
  50% { transform: translate3d(4px, -7px, 0); }
  75% { transform: translate3d(7px, 3px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px min(5vw, 64px);
  color: var(--ivory);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 140px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: clamp(146px, 12vw, 188px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.48));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.5vw, 38px);
}

.site-nav a {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  line-height: 1;
  color: rgba(233, 225, 210, 0.76);
  transition: color 220ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 1px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ivory);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.25);
  color: var(--ivory);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease, top 220ms ease;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-open .menu-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.hero-sequence {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  background: var(--void);
}

.hero-sequence::before,
.hero-sequence::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 6;
  pointer-events: none;
}

.hero-sequence::before {
  top: 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.98), transparent);
}

.hero-sequence::after {
  bottom: 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0));
}

#hero-canvas,
.hero-still,
.hero-atmosphere {
  position: absolute;
  inset: 0;
}

#hero-canvas {
  z-index: 3;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms ease;
  mix-blend-mode: screen;
}

.webgl-ready #hero-canvas {
  opacity: 0.16;
}

.hero-still {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: brightness(0.98) contrast(1.16) saturate(0.9);
  transform: scale(1);
  transform-origin: center 42%;
  animation: hero-camera 24s ease-in-out infinite alternate;
  transition: opacity 900ms ease, filter 900ms ease;
}

.webgl-ready .hero-still {
  opacity: 0.96;
  filter: brightness(0.95) contrast(1.18) saturate(0.9);
}

.hero-atmosphere {
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 44%, rgba(179, 106, 51, 0.20), transparent 17rem),
    radial-gradient(circle at 74% 22%, rgba(233, 225, 210, 0.10), transparent 19rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), transparent 24%, transparent 72%, rgba(5, 5, 5, 0.76));
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: hero-light-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-camera {
  0% {
    transform: translate3d(0, 0, 0) scale(1.015);
  }
  44% {
    transform: translate3d(-0.7%, -0.6%, 0) scale(1.045);
  }
  100% {
    transform: translate3d(0.8%, -1.2%, 0) scale(1.072);
  }
}

@keyframes hero-light-drift {
  0% {
    opacity: 0.62;
    transform: translate3d(-1.5%, 0, 0);
  }
  100% {
    opacity: 0.82;
    transform: translate3d(1.5%, -1%, 0);
  }
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 11svh;
  z-index: 8;
  width: min(960px, calc(100% - 40px));
  transform: translateX(-50%);
  text-align: center;
}

.hero-copy h1 {
  margin: 0 auto;
  max-width: 900px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 5.2rem;
  font-weight: 400;
  line-height: 1.04;
  text-wrap: balance;
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.86);
  animation: hero-title 1400ms ease 420ms both;
}

.hero-support {
  margin: 28px auto 0;
  max-width: 760px;
  color: rgba(233, 225, 210, 0.76);
  font-size: 0.92rem;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.86);
  animation: hero-title 1400ms ease 700ms both;
}

.hero-motto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 28px auto 0;
  color: rgba(233, 225, 210, 0.66);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.86);
  animation: hero-title 1400ms ease 700ms both;
}

.hero-motto span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.hero-motto span:not(:last-child)::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(179, 106, 51, 0.64);
}

@keyframes hero-title {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.scroll-cue {
  position: absolute;
  left: min(5vw, 64px);
  bottom: 32px;
  z-index: 9;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.64rem;
  color: rgba(233, 225, 210, 0.42);
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 38px;
  margin: 12px 0 0 1.35em;
  background: linear-gradient(var(--ochre), transparent);
}

.home-manifesto {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(320px, 0.54fr) minmax(260px, 0.46fr);
  grid-template-areas:
    "label visual"
    "copy visual";
  gap: clamp(18px, 2.4vh, 28px) clamp(38px, 5vw, 84px);
  align-items: center;
  align-content: center;
  width: min(1480px, calc(100% - 56px));
  min-height: clamp(520px, 66svh, 720px);
  margin: clamp(18px, 3vh, 34px) auto clamp(18px, 3vh, 34px);
  padding: clamp(68px, 8vh, 96px) clamp(34px, 5vw, 74px);
  border-top: 1px solid rgba(233, 225, 210, 0.13);
  border-bottom: 1px solid rgba(233, 225, 210, 0.08);
  background: var(--void);
}

.home-manifesto::before,
.home-manifesto::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-manifesto::before {
  z-index: -2;
  background: url("/assets/live/who-we-are-boardroom.jpg") center center / cover no-repeat;
  opacity: 0.94;
  filter: brightness(0.90) contrast(1.18) saturate(0.88);
  transform: scale(1.01);
  animation: preview-camera-wide 20s ease-in-out infinite alternate;
}

.home-manifesto::after {
  z-index: -1;
  background:
    radial-gradient(ellipse at 76% 48%, rgba(179, 106, 51, 0.10), transparent 34rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.92) 35%, rgba(5, 5, 5, 0.38) 62%, rgba(5, 5, 5, 0.20) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.06) 44%, rgba(5, 5, 5, 0.84));
}

.manifesto-label {
  grid-area: label;
  display: grid;
  gap: 18px;
  align-self: center;
}

.manifesto-label span {
  color: var(--ochre);
  font-size: 0.84rem;
  letter-spacing: 0.24em;
}

.manifesto-label strong {
  max-width: 520px;
  color: rgba(233, 225, 210, 0.92);
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  font-weight: 400;
  line-height: 0.96;
  text-wrap: balance;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.78);
}

.manifesto-copy p {
  margin: 0;
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.65vw, 3.45rem);
  line-height: 1.14;
  color: rgba(233, 225, 210, 0.92);
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.88);
}

.manifesto-copy {
  grid-area: copy;
  align-self: start;
}

.manifesto-copy p + p {
  margin-top: clamp(24px, 3vh, 36px);
  color: rgba(233, 225, 210, 0.76);
}

.section-previews {
  width: 100%;
  margin: 0;
  padding: 0 0 64px;
  display: grid;
  gap: clamp(20px, 3.8vh, 48px);
}

.section-preview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 72px minmax(300px, 0.92fr) minmax(420px, 0.95fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: center;
  min-height: clamp(610px, 78svh, 860px);
  width: min(1480px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(82px, 9vh, 108px) clamp(34px, 5vw, 74px) clamp(48px, 6vh, 76px);
  scroll-margin-top: calc(var(--header-h) + 18px);
  border-top: 1px solid rgba(233, 225, 210, 0.16);
  border-bottom: 1px solid rgba(233, 225, 210, 0.08);
  text-decoration: none;
  color: var(--ivory);
  background: var(--void);
}

.section-preview::before,
.section-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-preview::before {
  z-index: -2;
  background-image: var(--preview-image);
  background-color: var(--void);
  background-size: var(--preview-size, cover);
  background-position: var(--preview-position, center center);
  background-repeat: no-repeat;
  opacity: var(--preview-opacity, 0.96);
  filter: var(--preview-filter, brightness(1.02) contrast(1.10) saturate(0.9));
  transform: scale(1.002);
  transform-origin: var(--preview-origin, center center);
  animation: preview-camera 18s ease-in-out infinite alternate;
  transition: transform 1200ms ease, opacity 1200ms ease, filter 1200ms ease;
}

.section-preview-wide {
  min-height: clamp(600px, 76svh, 840px);
}

.section-preview-wide::before {
  background-color: var(--void);
  background-repeat: no-repeat;
  background-size: var(--preview-size, contain);
  background-position: var(--preview-position, center center);
  transform: scale(0.995);
  animation-name: preview-camera-wide;
}

.section-preview-wide::after {
  background:
    radial-gradient(ellipse at 72% 50%, rgba(5, 5, 5, 0.70), rgba(5, 5, 5, 0.28) 38%, transparent 62%),
    radial-gradient(ellipse at 28% 54%, rgba(5, 5, 5, 0.58), rgba(5, 5, 5, 0.16) 42%, transparent 66%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.18) 48%, rgba(5, 5, 5, 0.68)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.40), rgba(5, 5, 5, 0.08) 42%, rgba(5, 5, 5, 0.86));
}

.section-preview::after {
  z-index: -1;
  background:
    radial-gradient(ellipse at 72% 48%, rgba(5, 5, 5, 0.68), rgba(5, 5, 5, 0.26) 40%, transparent 66%),
    radial-gradient(ellipse at 28% 56%, rgba(5, 5, 5, 0.60), rgba(5, 5, 5, 0.16) 42%, transparent 68%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.74), rgba(5, 5, 5, 0.16) 46%, rgba(5, 5, 5, 0.68)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.38), rgba(5, 5, 5, 0.08) 45%, rgba(5, 5, 5, 0.86));
}

.section-preview:hover::before,
.section-preview:focus-visible::before {
  opacity: 1;
  filter: brightness(1.30) contrast(1.08) saturate(0.98);
  transform: scale(1.012) translate3d(0.4%, -0.28%, 0);
}

.section-preview-wide:hover::before,
.section-preview-wide:focus-visible::before {
  transform: scale(1.012) translate3d(0.4%, -0.2%, 0);
}

.section-preview span {
  align-self: center;
  justify-self: center;
  color: var(--ochre);
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.78);
}

.section-preview strong {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 5.1vw, 6.1rem);
  font-weight: 400;
  line-height: 0.96;
  max-width: 460px;
  color: rgba(233, 225, 210, 0.93);
  text-wrap: balance;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.78);
}

.section-preview p {
  margin: 0;
  max-width: 700px;
  color: rgba(233, 225, 210, 0.84);
  line-height: 1.5;
  font-size: clamp(1.18rem, 1.24vw, 1.48rem);
  font-weight: 400;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.94);
}

.preview-copy {
  display: grid;
  gap: clamp(18px, 2.1vh, 28px);
  align-self: center;
  max-width: 720px;
}

.preview-copy p {
  max-width: 760px;
}

.preview-copy p:first-child {
  color: rgba(233, 225, 210, 0.94);
}

.preview-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(233, 225, 210, 0.86);
  font-size: 1rem;
  line-height: 1.35;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.78);
}

.preview-list li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: rgba(179, 106, 51, 0.78);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.service-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px 7px;
  border-top: 1px solid rgba(179, 106, 51, 0.42);
  border-bottom: 1px solid rgba(233, 225, 210, 0.12);
  color: rgba(233, 225, 210, 0.82);
  background: rgba(5, 5, 5, 0.34);
  font-size: 0.80rem;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
}

.service-tags-page {
  margin: 36px 0 0 202px;
  max-width: 700px;
}

.process-preview {
  min-height: clamp(610px, 78svh, 860px);
  background:
    radial-gradient(circle at 70% 28%, rgba(179, 106, 51, 0.12), transparent 24rem),
    radial-gradient(circle at 24% 62%, rgba(233, 225, 210, 0.055), transparent 26rem),
    linear-gradient(135deg, rgba(12, 11, 9, 0.96), rgba(5, 5, 5, 1));
}

.process-preview::before {
  background-image:
    var(--preview-image),
    linear-gradient(90deg, transparent 0 49.8%, rgba(179, 106, 51, 0.16) 49.9% 50.1%, transparent 50.2%),
    linear-gradient(180deg, rgba(233, 225, 210, 0.055), transparent 44%, rgba(179, 106, 51, 0.08));
  background-position: 24% 50%, center center, center center;
  background-size: min(94vw, 1420px) auto, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  opacity: 1;
  filter: brightness(1.47) contrast(1.38) saturate(1.18);
  animation: preview-camera-wide 20s ease-in-out infinite alternate;
}

.process-preview::after {
  background:
    radial-gradient(ellipse at 24% 52%, rgba(179, 106, 51, 0.12), transparent 28rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.16) 38%, rgba(5, 5, 5, 0.72) 58%, rgba(5, 5, 5, 0.90)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.42), transparent 48%, rgba(5, 5, 5, 0.74));
}

.process-copy {
  max-width: 720px;
}

.process-steps {
  display: grid;
  gap: 0;
  margin: 8px 0;
  border-top: 1px solid rgba(233, 225, 210, 0.16);
  border-bottom: 1px solid rgba(233, 225, 210, 0.12);
}

.process-steps article {
  display: grid;
  grid-template-columns: 58px minmax(120px, 0.35fr) minmax(220px, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid rgba(233, 225, 210, 0.10);
}

.process-steps article:first-child {
  border-top: 0;
}

.process-steps span {
  justify-self: start;
  align-self: baseline;
  color: var(--ochre);
  font-size: 0.68rem;
  letter-spacing: 0.20em;
}

.process-steps h3 {
  margin: 0;
  color: rgba(233, 225, 210, 0.94);
  font-size: 1.14rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-steps p {
  max-width: 480px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(233, 225, 210, 0.76);
}

.section-preview:hover strong,
.section-preview:focus-visible strong {
  color: var(--ivory);
}

.section-preview-contact {
  grid-template-columns: 72px minmax(260px, 0.82fr) minmax(540px, 1.08fr);
}

.section-preview-contact::after {
  background:
    radial-gradient(ellipse at 73% 48%, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.30) 42%, transparent 64%),
    radial-gradient(ellipse at 28% 58%, rgba(5, 5, 5, 0.64), rgba(5, 5, 5, 0.18) 42%, transparent 66%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.22) 46%, rgba(5, 5, 5, 0.72)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.38), rgba(5, 5, 5, 0.10) 42%, rgba(5, 5, 5, 0.88));
}

.home-contact-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.58fr) minmax(320px, 0.84fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  justify-self: end;
  max-width: 820px;
}

.home-contact-panel .preview-copy {
  max-width: 400px;
  padding-top: 8px;
}

.home-contact-panel .preview-copy p {
  font-size: clamp(1.12rem, 1.18vw, 1.32rem);
  line-height: 1.52;
}

.home-contact-form {
  width: min(100%, 440px);
  max-width: 440px;
  padding: 0;
  border-top: 1px solid rgba(233, 225, 210, 0.22);
  border-bottom: 1px solid rgba(233, 225, 210, 0.14);
}

.section-preview .contact-form p,
.section-preview .contact-form .field-meta,
.section-preview .contact-form .form-status {
  max-width: none;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(233, 225, 210, 0.52);
  text-shadow: none;
}

.section-preview .contact-form .form-guidance {
  font-size: 0.92rem;
  color: rgba(233, 225, 210, 0.66);
}

.section-preview .contact-form .field-meta {
  font-size: 0.80rem;
}

.section-preview .contact-form .field input,
.section-preview .contact-form .field select,
.section-preview .contact-form .field textarea {
  padding: 12px 0;
  font-size: 1.02rem;
  text-shadow: none;
}

.section-preview .contact-form .field textarea {
  min-height: 124px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px min(5vw, 64px);
  border-top: 1px solid var(--line);
  color: rgba(233, 225, 210, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
}

body.subpage {
  min-height: 100svh;
}

.subpage-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--void);
}

.subpage-scene img {
  width: 100%;
  height: 100%;
  object-fit: var(--scene-fit, cover);
  object-position: var(--scene-position, var(--page-position, center center));
  opacity: var(--scene-opacity, 0.94);
  filter: var(--scene-filter, brightness(0.98) contrast(1.12) saturate(0.78));
  transform-origin: var(--scene-origin, 58% 46%);
  animation: subpage-camera var(--scene-duration, 14s) ease-in-out infinite alternate;
  will-change: transform, filter;
}

.subpage-scene::before,
.subpage-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.subpage-scene::before {
  background:
    radial-gradient(circle at 62% 30%, rgba(233, 225, 210, 0.13), transparent 19rem),
    radial-gradient(circle at 18% 60%, rgba(179, 106, 51, 0.14), transparent 24rem);
  mix-blend-mode: screen;
  opacity: 0.34;
  animation: scene-glow 7s ease-in-out infinite alternate;
}

.subpage-scene::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.50), rgba(5, 5, 5, 0.08) 44%, rgba(5, 5, 5, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.36), transparent 30%, rgba(5, 5, 5, 0.58));
}

body.subpage::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.76) 0%, rgba(5, 5, 5, 0.54) 34%, rgba(5, 5, 5, 0.12) 62%, rgba(5, 5, 5, 0.04) 82%, rgba(5, 5, 5, 0.22) 100%),
    radial-gradient(circle at 74% 22%, rgba(233, 225, 210, 0.06), transparent 24rem),
    radial-gradient(circle at 16% 60%, rgba(179, 106, 51, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(5, 5, 5, 0.10), rgba(5, 5, 5, 0.32));
  animation: subpage-light 20s ease-in-out infinite alternate;
}

body.subpage .cinema-atmosphere {
  z-index: 1;
  opacity: 0.42;
}

@keyframes preview-camera {
  0% {
    transform: scale(1.005) translate3d(-0.25%, 0.16%, 0);
  }
  52% {
    transform: scale(1.02) translate3d(0.25%, -0.18%, 0);
  }
  100% {
    transform: scale(1.04) translate3d(-0.1%, -0.24%, 0);
  }
}

@keyframes preview-camera-wide {
  0% {
    transform: scale(1.005) translate3d(-0.25%, 0.15%, 0);
  }
  52% {
    transform: scale(1.018) translate3d(0.25%, -0.18%, 0);
  }
  100% {
    transform: scale(1.03) translate3d(-0.1%, -0.24%, 0);
  }
}

@keyframes subpage-camera {
  0% {
    transform: translate3d(calc(-0.8% + var(--scroll-x)), calc(0.3% + var(--scroll-y)), 0) scale(1.01);
  }
  50% {
    transform: translate3d(calc(0.7% + var(--scroll-x)), calc(-0.6% + var(--scroll-y)), 0) scale(1.03);
  }
  100% {
    transform: translate3d(calc(-0.4% + var(--scroll-x)), calc(-1% + var(--scroll-y)), 0) scale(1.05);
  }
}

@keyframes scene-glow {
  0% {
    opacity: 0.22;
    transform: translate3d(-2%, 1%, 0) scale(1);
  }
  100% {
    opacity: 0.5;
    transform: translate3d(2%, -1%, 0) scale(1.06);
  }
}

@keyframes subpage-light {
  0% { opacity: 0.94; }
  100% { opacity: 1; }
}

.subpage-main {
  position: relative;
  z-index: 2;
}

.subpage-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 120px minmax(0, 760px) minmax(240px, 1fr);
  gap: 34px;
  align-items: center;
  padding: var(--header-h) min(5vw, 64px) 72px;
}

.page-side-index {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  color: var(--muted);
}

.page-side-index span:first-child {
  font-size: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
}

.page-side-index::before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--ochre), transparent);
}

.page-side-index span:last-child {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
}

.page-title {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 1.08;
  color: var(--ivory);
  text-wrap: balance;
}

.page-lede {
  margin: 34px 0 0;
  max-width: 520px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.45;
  color: rgba(233, 225, 210, 0.78);
}

.page-accent {
  width: 112px;
  height: 1px;
  margin-top: 30px;
  background: var(--ochre);
}

.chapter {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.chapter.narrow {
  max-width: 920px;
}

.chapter-copy {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 42px;
  padding: 26px 0;
}

.chapter-copy span {
  color: var(--ochre);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.chapter-copy p {
  margin: 0;
  max-width: 840px;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.25;
  color: rgba(233, 225, 210, 0.86);
}

.service-rows,
.values-rail {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 120px;
}

.service-row,
.value-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 30px;
  align-items: baseline;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child,
.value-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row span,
.value-row span {
  color: var(--ochre);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.service-row strong,
.value-row strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.1;
}

.service-row div {
  max-width: 860px;
}

.service-row p,
.value-row p {
  margin: 12px 0 0;
  max-width: 700px;
  color: var(--muted);
  line-height: 1.65;
}

.confidential-statement {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 110px;
  padding: 54px 0;
  border-top: 1px solid var(--ochre);
  border-bottom: 1px solid var(--line);
}

.confidential-statement p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.35rem;
  line-height: 1.12;
  color: var(--ivory);
}

.contact-panel {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.8;
}

address strong,
.mail-direct strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.mail-direct a {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 2rem;
  text-decoration: none;
  color: var(--ivory);
}

.mail-direct a:hover,
.mail-direct a:focus-visible {
  color: var(--ochre);
}

.mail-direct p,
.contact-privacy {
  margin: 24px 0 0;
  max-width: 430px;
  color: rgba(233, 225, 210, 0.70);
  line-height: 1.7;
}

.mail-direct p + strong {
  margin-top: 42px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-label {
  color: rgba(233, 225, 210, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 0;
  background: transparent;
  color: var(--ivory);
  outline: none;
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(233, 225, 210, 0.62) 50%),
    linear-gradient(135deg, rgba(233, 225, 210, 0.62) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 51%,
    calc(100% - 8px) 51%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field select option {
  background: #0b0a08;
  color: var(--ivory);
}

.field textarea {
  min-height: 210px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(233, 225, 210, 0.44);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ochre);
}

.form-guidance {
  margin: 0 0 6px;
  max-width: 660px;
  color: rgba(233, 225, 210, 0.68);
  line-height: 1.65;
}

.field-meta {
  color: rgba(233, 225, 210, 0.42);
  font-size: 0.78rem;
  line-height: 1.5;
}

.hp {
  position: absolute;
  left: -9999px;
}

.send-button {
  justify-self: start;
  border: 1px solid rgba(233, 225, 210, 0.34);
  background: transparent;
  color: var(--ivory);
  padding: 15px 22px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.send-button:hover,
.send-button:focus-visible {
  border-color: var(--ochre);
  color: var(--ochre);
  transform: translateY(-1px);
}

.send-button:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.form-status a {
  color: var(--ivory);
}

body.can-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
}

body.can-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 4rem;
  }

  .page-title {
    font-size: 3.8rem;
  }

  .subpage-hero {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .subpage-hero::after {
    content: "";
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 78px;
  }

  .site-header {
    padding: 18px 20px;
  }

  .menu-toggle {
    display: block;
    z-index: 82;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    align-content: center;
    justify-content: stretch;
    gap: 0;
    padding: 96px 28px 36px;
    background: rgba(5, 5, 5, 0.96);
    transform: translateY(-100%);
    transition: transform 360ms ease;
  }

  .menu-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    display: block;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.3rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-sequence {
    min-height: 90svh;
  }

  .hero-copy {
    bottom: 13svh;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-motto {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .hero-support {
    max-width: 620px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .home-manifesto {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "copy";
    gap: 28px;
    min-height: auto;
    padding: 84px 32px 76px;
  }

  .home-manifesto::after {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.70) 48%, rgba(5, 5, 5, 0.44)),
      linear-gradient(180deg, rgba(5, 5, 5, 0.50), rgba(5, 5, 5, 0.18) 48%, rgba(5, 5, 5, 0.84));
  }

  .manifesto-label {
    gap: 14px;
  }

  .manifesto-copy p {
    font-size: 2.42rem;
  }

  .section-preview {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    min-height: clamp(560px, 76svh, 760px);
    width: calc(100% - 32px);
    padding: 94px 28px 66px;
    gap: 18px 26px;
  }

  .section-preview strong {
    font-size: clamp(3rem, 10vw, 4.9rem);
    max-width: 720px;
  }

  .section-preview p {
    grid-column: 2;
    font-size: 1.32rem;
  }

  .preview-copy {
    grid-column: 2;
  }

  .preview-list {
    grid-column: 2;
  }

  .service-tags {
    grid-column: 2;
  }

  .service-tags-page {
    margin-left: 0;
  }

  .process-steps article {
    grid-template-columns: 52px minmax(110px, 0.34fr) minmax(220px, 1fr);
    gap: 18px;
  }

  .home-contact-panel {
    grid-column: 2;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-contact-panel .preview-copy {
    grid-column: auto;
    max-width: 620px;
  }

  .section-preview .contact-form p {
    grid-column: auto;
  }

  .section-preview .contact-form .field input,
  .section-preview .contact-form .field select,
  .section-preview .contact-form .field textarea {
    font-size: 1.08rem;
  }

  .subpage-hero {
    min-height: 90svh;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 112px 20px 64px;
  }

  .page-side-index {
    min-height: auto;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    gap: 20px;
    justify-items: start;
    align-items: center;
  }

  .page-side-index::before {
    width: 96px;
    height: 1px;
  }

  .page-side-index span:last-child {
    writing-mode: initial;
    transform: none;
  }

  .page-title {
    font-size: 3.15rem;
  }

  .chapter-copy,
  .service-row,
  .value-row,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .chapter-copy p,
  .service-row strong,
  .value-row strong {
    font-size: 2rem;
  }

  .confidential-statement p {
    font-size: 2.35rem;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 142px;
  }

  .hero-sequence {
    min-height: 78svh;
  }

  .hero-still {
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
  }

  .hero-atmosphere {
    background:
      radial-gradient(circle at 50% 36%, rgba(179, 106, 51, 0.16), transparent 16rem),
      linear-gradient(90deg, rgba(5, 5, 5, 0.80), transparent 34%, transparent 66%, rgba(5, 5, 5, 0.80));
  }

  .hero-copy {
    bottom: 12svh;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .hero-motto {
    gap: 8px 12px;
    max-width: 300px;
  }

  .hero-support {
    max-width: 340px;
    font-size: 0.68rem;
    line-height: 1.7;
    letter-spacing: 0.1em;
  }

  .hero-motto span:not(:last-child)::after {
    width: 16px;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto-copy p {
    font-size: 2.02rem;
  }

  .section-previews,
  .home-manifesto,
  .chapter,
  .service-rows,
  .values-rail,
  .contact-panel {
    width: calc(100% - 32px);
  }

  .section-preview {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100% - 24px);
    min-height: auto;
    padding: 82px 20px 54px;
  }

  .section-previews {
    width: 100%;
    gap: 28px;
  }

  .section-preview span {
    justify-self: start;
  }

  .section-preview strong {
    font-size: 2.75rem;
  }

  .section-preview p {
    grid-column: auto;
    font-size: 1.16rem;
  }

  .preview-copy {
    grid-column: auto;
  }

  .preview-list {
    grid-column: auto;
  }

  .service-tags {
    grid-column: auto;
    gap: 8px;
  }

  .service-tags li {
    min-height: 28px;
    padding: 7px 10px 6px;
    font-size: 0.70rem;
    letter-spacing: 0.12em;
  }

  .service-tags-page {
    margin-top: 26px;
  }

  .process-steps article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .process-steps span {
    justify-self: start;
  }

  .process-steps p {
    font-size: 1.04rem;
  }

  .home-contact-panel {
    grid-column: auto;
  }

  .home-contact-form {
    max-width: none;
  }

  .page-title {
    font-size: 2.55rem;
  }

  .page-lede {
    font-size: 1.25rem;
  }

  .chapter {
    padding: 56px 0;
  }

  .chapter-copy p,
  .service-row strong,
  .value-row strong {
    font-size: 1.7rem;
  }

  .mail-direct a {
    font-size: 1.55rem;
  }

  .site-footer {
    padding: 24px 16px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .grain {
    animation: none;
  }

  .cinema-atmosphere {
    display: none;
  }

  #hero-canvas {
    display: none;
  }

  .hero-still {
    opacity: 0.78;
    animation: none;
    transform: none;
  }

  .hero-atmosphere,
  .section-preview::before,
  body.subpage::after,
  .subpage-scene img,
  .subpage-scene::before {
    animation: none;
  }
}
