/* ============================================================
   KRIOLU TRANSLATE — Headquarters
   A building you move through. Scroll orbits the camera.
   Warm linen · deep muted ocean · graphite · instrument mono
   ============================================================ */

:root {
  --paper: #f0e9dc;          /* warm off-white / linen */
  --paper-2: #e7dece;        /* sand */
  --plaster: #ebe3d5;
  --ocean: #1c3a52;          /* deep, muted ocean blue */
  --ocean-deep: #12293b;
  --slate: #62707c;
  --graphite: #26292c;
  --oak: #a2825a;            /* wood accent — used sparingly */
  --line: rgba(38, 41, 44, 0.16);
  --line-soft: rgba(38, 41, 44, 0.09);
  --line-light: rgba(240, 233, 220, 0.24);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Filmic warmth over the whole building */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- Type primitives ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow-light { color: rgba(240, 233, 220, 0.72); }

.registry {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: 1.6rem;
}
.registry-light { color: rgba(240, 233, 220, 0.82); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }

.btn-solid { background: var(--ocean); color: var(--paper); }
.btn-solid:hover { background: var(--ocean-deep); transform: translateY(-2px); }

.btn-line { background: transparent; color: var(--ocean); border-color: var(--line); }
.btn-line:hover { border-color: var(--ocean); transform: translateY(-2px); }

.link-arrow {
  display: inline-block;
  margin-top: 2.2rem;
  font-weight: 500;
  color: var(--ocean);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  transition: border-color 0.35s var(--ease), letter-spacing 0.35s var(--ease);
}
.link-arrow span { display: inline-block; transition: transform 0.35s var(--ease); }
.link-arrow:hover { border-color: var(--ocean); }
.link-arrow:hover span { transform: translateX(6px); }

/* ============================================================
   ENTRY SEQUENCE
   ============================================================ */

.enter {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--plaster);
  display: flex;
  align-items: center;
  justify-content: center;
}
.enter-inner { display: grid; justify-items: center; gap: 1.4rem; text-align: center; }
.enter-logo { width: clamp(150px, 30vw, 220px); height: auto; }
.enter-line { width: 0; height: 1px; background: var(--oak); }
.enter-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--slate);
}
.no-js .enter { display: none; }

/* ============================================================
   WAYFINDING HUD
   ============================================================ */

.rail {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 60;
  width: 58px;
  height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 6rem 0 1.6rem;   /* clear the nav at the top */
  pointer-events: none;
}
.rail-meridian {
  position: relative;
  width: 1px;
  height: 100%;
  margin-bottom: 1.4rem;
  background: var(--line);
  transition: background-color 0.5s var(--ease);
}
.rail-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--oak);
  transform: translate(-50%, -50%);
  will-change: top;
  transition: background-color 0.5s var(--ease);
}
.rail-bearing {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transition: color 0.5s var(--ease);
}

.plaque {
  position: fixed;
  right: 58px;
  left: auto;
  bottom: 1.6rem;
  z-index: 60;
  display: grid;
  gap: 0.2rem;
  text-align: right;
  padding-right: 1rem;
  border-right: 1px solid var(--line);
  pointer-events: none;
}
.plaque-reg {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--graphite);
  transition: color 0.5s var(--ease);
}
.plaque-idx {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--slate);
  transition: color 0.5s var(--ease);
}

/* Rail + plaque go light when they sit over a dark section */
body.hud-dark .rail-meridian { background: rgba(240, 233, 220, 0.28); }
body.hud-dark .rail-dot { background: #e9d9bd; }
body.hud-dark .rail-bearing { color: rgba(240, 233, 220, 0.82); }
body.hud-dark .plaque { border-right-color: rgba(240, 233, 220, 0.28); }
body.hud-dark .plaque-reg { color: var(--paper); }
body.hud-dark .plaque-idx { color: rgba(240, 233, 220, 0.72); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 61;
  height: 2px;
  width: 0;
  background: var(--oak);
  display: none;
}

/* ============================================================
   NAV + DIRECTORY
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(240, 233, 220, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.brand { text-decoration: none; display: flex; align-items: center; }
.brand-logo { height: clamp(30px, 4.4vw, 40px); width: auto; display: block; }
.brand-logo--dark { display: none; }
.nav.is-scrolled .brand-logo--light { display: none; }
.nav.is-scrolled .brand-logo--dark { display: block; }
.nav-right { display: flex; align-items: center; gap: clamp(0.7rem, 1.6vw, 1.4rem); }

.dir-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 0.4rem 0;
  transition: color 0.5s var(--ease);
}
.nav.is-scrolled .dir-toggle { color: var(--graphite); }
.dir-toggle-bars { display: grid; gap: 4px; width: 22px; }
.dir-toggle-bars i { height: 1px; width: 100%; background: currentColor; transition: transform 0.4s var(--ease); }

/* Language switcher */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--paper);
  padding: 0.4rem 0;
  transition: color 0.5s var(--ease);
}
.nav.is-scrolled .lang-toggle { color: var(--graphite); }
.lang-toggle svg { opacity: 0.85; }
.lang-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  min-width: 168px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 24px 50px -26px rgba(18, 41, 59, 0.5);
  padding: 0.4rem;
  display: grid;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 5;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.55rem 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--graphite);
  transition: background-color 0.2s var(--ease);
}
.lang-menu li:hover { background: var(--sand); }
.lang-menu li[aria-selected="true"] { color: var(--ocean); }
.lang-menu li[aria-selected="true"]::after { content: "·"; color: var(--oak); font-weight: 700; }
.lang-menu .lang-code { font-family: var(--mono); font-size: 0.7rem; color: var(--slate); letter-spacing: 0.08em; }
.dir-toggle[aria-expanded="true"] .dir-toggle-bars i:first-child { transform: translateY(2.5px) rotate(6deg); }
.dir-toggle[aria-expanded="true"] .dir-toggle-bars i:last-child { transform: translateY(-2.5px) rotate(-6deg); }

.directory {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--ocean-deep);
  color: var(--paper);
  display: flex;
  align-items: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.directory.is-open { opacity: 1; visibility: visible; }
.directory[hidden] { display: flex; }  /* controlled by opacity/visibility */
.directory-inner { width: min(760px, 100%); margin: 0 auto; }
.directory-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240, 233, 220, 0.55);
  margin-bottom: 2rem;
}
.directory-list { display: grid; gap: 0.15rem; }
.directory-list a {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  padding: 0.55rem 0;
  text-decoration: none;
  color: var(--paper);
  border-bottom: 1px solid rgba(240, 233, 220, 0.12);
  transition: padding-left 0.4s var(--ease), color 0.4s var(--ease);
}
.directory-list a:hover { padding-left: 1.2rem; color: #fff; }
.d-idx { font-family: var(--mono); font-size: 0.8rem; color: var(--oak); min-width: 2.2ch; }
.d-name { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 3.4vw, 2.2rem); }
.directory-foot { margin-top: 2.4rem; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; }
.directory-foot a { color: rgba(240, 233, 220, 0.7); }

/* ============================================================
   RECEPTION / HERO — pinned camera orbit
   ============================================================ */

.reception { position: relative; height: 460vh; }
.no-js .reception { height: auto; }

.reception-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.no-js .reception-sticky { position: static; height: auto; min-height: 100vh; }

.camera { position: absolute; inset: 0; z-index: 0; background: var(--ocean-deep); }
.camera-frame {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity, transform;
}
.camera-frame:first-child { opacity: 1; }
.camera-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,41,59,0.34) 0%, rgba(18,41,59,0) 26%),
    linear-gradient(0deg, rgba(18,41,59,0.72) 0%, rgba(18,41,59,0.12) 42%, rgba(18,41,59,0) 62%),
    linear-gradient(90deg, rgba(18,41,59,0.4) 0%, rgba(18,41,59,0) 44%);
}

.reception-copy {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 9vh, 7rem);
  color: var(--paper);
}
.slogan {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  display: grid;
  margin: 0.8rem 0 1.4rem;
}
.slogan-line {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.slogan-line.is-active { opacity: 1; transform: none; }
.slogan-line[lang="kea"] { font-style: italic; color: #e9d9bd; }

.reception-sub {
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(240, 233, 220, 0.86);
  margin-bottom: 2.2rem;
}
.reception-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.reception-actions .btn-line { color: var(--paper); border-color: rgba(240,233,220,0.4); }
.reception-actions .btn-line:hover { border-color: var(--paper); background: rgba(240,233,220,0.08); }

.reception-scrollcue {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.8rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(240, 233, 220, 0.72);
}
.reception-scrollcue-line { width: 46px; height: 1px; background: currentColor; transform-origin: left; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%,100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(0.3); opacity: 0.4; } }

/* ============================================================
   WHO WE SERVE
   ============================================================ */

.serve { background: var(--paper); padding: clamp(4rem, 10vh, 8rem) var(--gutter); }
.serve-inner { max-width: 1300px; margin: 0 auto; }
.serve .eyebrow { display: block; margin-bottom: 2.4rem; }
.serve-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.6rem;
}
.serve-list li {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  color: var(--graphite);
}
.serve-list li:nth-child(even) { color: var(--slate); }

/* ============================================================
   ROOMS — split & full-bleed chapters
   ============================================================ */

.room {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(5rem, 13vh, 11rem) var(--gutter);
}
.room--left, .room--right { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.room--right .room-media { order: 2; }

.room-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-2);
  box-shadow: 0 40px 80px -50px rgba(18, 41, 59, 0.6);
}
.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.room-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--graphite);
  margin-bottom: 1.6rem;
}
.room-body {
  max-width: 42ch;
  font-size: 1.08rem;
  color: var(--slate);
  margin-bottom: 1.8rem;
}
.room-notes { display: grid; gap: 0.55rem; }
.room-notes li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.98rem;
  color: var(--graphite);
}
.room-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--oak);
  transform: rotate(45deg);
}

/* Full-bleed interpreter room */
.room--full {
  display: block;
  position: relative;
  max-width: none;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
}
.room-full-media { position: absolute; inset: 0; }
.room-full-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; }
.room-full-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,41,59,0.86) 0%, rgba(18,41,59,0.5) 42%, rgba(18,41,59,0.05) 78%),
    linear-gradient(0deg, rgba(18,41,59,0.5), rgba(18,41,59,0) 40%);
}
.room-full-copy {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(7rem, 20vh, 12rem) var(--gutter);
  color: var(--paper);
}
.room-title-light, .room-body-light { color: var(--paper); }
.room-body-light { color: rgba(240, 233, 220, 0.86); }
.room-notes-light li { color: var(--paper); }
.room-notes-light li::before { border-color: #e9d9bd; }

/* ============================================================
   HERITAGE INTERSTITIAL
   ============================================================ */

.heritage {
  position: relative;
  height: clamp(58vh, 70vh, 80vh);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.heritage-media { position: absolute; inset: 0; }
.heritage-media img { width: 100%; height: 100%; object-fit: cover; }
.heritage-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18,41,59,0.55) 0%, rgba(18,41,59,0) 45%);
}
.heritage-kicker {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 1300px;
  width: 100%;
  padding: 0 var(--gutter) clamp(2rem, 5vh, 3.5rem);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240, 233, 220, 0.92);
  text-shadow: 0 1px 12px rgba(18, 41, 59, 0.5);
}

/* ============================================================
   PROCESS
   ============================================================ */

.process { background: var(--ocean-deep); color: var(--paper); padding: clamp(5rem, 13vh, 11rem) var(--gutter); }
.process-inner { position: relative; max-width: 1300px; margin: 0 auto; }
.process .eyebrow { color: var(--oak); display: block; margin-bottom: 1.6rem; }
.process-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: clamp(3rem, 8vh, 6rem);
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-line {
  position: absolute;
  left: 0;
  bottom: auto;
  top: 0;
  height: 1px;
  width: 100%;
  background: rgba(240, 233, 220, 0.16);
}
.process-step {
  position: relative;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(240, 233, 220, 0.16);
}
.process-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--oak);
}
.process-key {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--paper);
  margin-bottom: 0.6rem;
}
.process-step p { font-size: 0.95rem; color: rgba(240, 233, 220, 0.72); }

/* ============================================================
   LANGUAGE LIBRARY
   ============================================================ */

.library { background: var(--plaster); padding: clamp(5rem, 13vh, 11rem) var(--gutter); }
.library-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.library .eyebrow { display: block; margin-bottom: 1.6rem; }
.library-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  color: var(--graphite);
  margin-bottom: 1.4rem;
}
.library-lede { max-width: 40ch; color: var(--slate); }

.library-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 0 40px 80px -55px rgba(18, 41, 59, 0.55);
}
.dialect-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ocean);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.chip:hover { border-color: var(--ocean); }
.chip.is-active { background: var(--ocean); border-color: var(--ocean); color: var(--paper); }

.dialect-readout { display: grid; gap: 0.5rem; border-top: 1px solid var(--line-soft); padding-top: 1.6rem; }
.dialect-region {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oak);
}
.dialect-greeting {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  color: var(--graphite);
  line-height: 1.1;
}
.dialect-gloss { font-size: 0.95rem; color: var(--slate); }

/* ============================================================
   ABOUT / EXECUTIVE OFFICE
   ============================================================ */

.about { background: var(--paper); padding: clamp(5rem, 13vh, 11rem) var(--gutter); }
.about-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about .eyebrow { display: block; margin-bottom: 1.6rem; }
.about-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  color: var(--graphite);
  margin-bottom: 2rem;
}
.about-text p { max-width: 52ch; color: var(--slate); margin-bottom: 1.3rem; }
.about-pull {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.3;
  color: var(--ocean) !important;
  max-width: 30ch !important;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ocean-deep);
  box-shadow: 0 40px 80px -50px rgba(18, 41, 59, 0.6);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.about-video figcaption {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oak);
}

/* ============================================================
   CONTACT LOUNGE
   ============================================================ */

.lounge { background: var(--ocean-deep); color: var(--paper); padding: clamp(5rem, 13vh, 11rem) var(--gutter); }
.lounge-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.lounge .eyebrow { color: var(--oak); display: block; margin-bottom: 1.6rem; }
.lounge-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 1.6rem;
}
.lounge-lede { color: rgba(240, 233, 220, 0.8); max-width: 34ch; margin-bottom: 2rem; }
.lounge-email { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; line-height: 2; color: rgba(240,233,220,0.6); }
.lounge-email a { font-family: var(--serif); font-size: 1.4rem; letter-spacing: normal; color: #e9d9bd; text-decoration-color: var(--oak); }

.lounge-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }

.form {
  background: var(--paper);
  border-radius: 3px;
  padding: clamp(1.8rem, 2.6vw, 2.4rem);
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
.form-alt { background: var(--plaster); }
.form-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: 0.3rem;
}
.form-note { font-size: 0.92rem; color: var(--slate); margin-bottom: 0.4rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--graphite); }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; }
.optional { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--graphite);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.3s var(--ease);
}
.form-alt .field input, .form-alt .field select { background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); }
.field input[type="file"] { padding: 0.5rem 0.85rem; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  background: rgba(28, 58, 82, 0.08);
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin-right: 0.8rem;
  cursor: pointer;
}
.field-error { font-size: 0.85rem; color: #a4322a; }
.form .btn { justify-self: start; margin-top: 0.3rem; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer { background: var(--paper); padding: clamp(4rem, 9vh, 7rem) var(--gutter) 3rem; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1300px; margin: 0 auto; display: grid; gap: 2rem; }
.footer-logo { height: 44px; width: auto; }
.footer-slogan {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--graphite);
}
.footer-slogan span { font-size: 0.9rem; font-family: var(--mono); letter-spacing: 0.06em; color: var(--slate); display: inline-block; margin-top: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.footer-links a:hover { border-color: var(--oak); }
.footer-legal { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--slate); }
.footer-credit { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--slate); }
.footer-credit a { color: var(--ocean); text-decoration: none; border-bottom: 1px solid var(--oak); padding-bottom: 1px; transition: color 0.3s var(--ease); }
.footer-credit a:hover { color: var(--oak); }

/* ============================================================
   REVEALS
   ============================================================ */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-media img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.js .reveal-media.is-visible img { clip-path: inset(0 0 0 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .rail { display: none; }
  .plaque { display: none; }
  .scroll-progress { display: block; }

  .reception { height: 340vh; }
  .reception-sticky { align-items: center; }
  .reception-copy { padding-bottom: 0; padding-top: 6rem; }
  .reception-scrollcue { display: none; }

  .room--left, .room--right { grid-template-columns: 1fr; }
  .room--right .room-media { order: 0; }
  .room-media { aspect-ratio: 3 / 2; max-height: 60vh; }

  .library-inner, .about-inner, .lounge-inner { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; gap: 0; }
  .process-step { padding: 1.6rem 0; }
  .process-line { display: none; }
  .lounge-forms { grid-template-columns: 1fr; }
  .about-video { max-width: 460px; }
}

@media (max-width: 560px) {
  .brand-sub { display: none; }
  .serve-list { gap: 0.4rem 1.6rem; }
  .reception-actions { width: 100%; }
  .reception-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }

  .enter { display: none; }
  .reception { height: auto; }
  .reception-sticky { position: static; height: auto; min-height: 100vh; }
  .camera-frame { opacity: 0; }
  .camera-frame:first-child { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-media img { clip-path: none; }
  .slogan-line { position: static; opacity: 1; transform: none; }
  .slogan-line:not(.is-active) { display: none; }
  .room-media img, .room-full-media img { transform: none; }
  .reception-scrollcue { display: none; }
}
