@font-face {
  font-family: "Morningline Serif";
  src: url("/design/garage-door/assets/fonts/newsreader-variable.woff2")
    format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Morningline Sans";
  src: url("/design/garage-door/assets/fonts/ibm-plex-sans-condensed.woff2")
    format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171615;
  --ink-deep: #080807;
  --graphite: #343738;
  --signal: #ff5a24;
  --signal-soft: #ffb28f;
  --steel: #d8d1c5;
  --stone: #d7d0c5;
  --paper: #eee9e1;
  --white: #fff;
  --muted: #aaa39a;
  --line-dark: rgb(34 31 28 / 17%);
  --line-light: rgb(255 238 226 / 22%);
  --serif: "Morningline Serif", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "Morningline Sans", "Arial Narrow", "Helvetica Neue", sans-serif;
  --header-h: 88px;
  --page-x: clamp(22px, 4.4vw, 78px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink-deep);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--signal);
  color: var(--ink-deep);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: var(--steel);
  color: var(--ink-deep);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.technical-label,
.scene-index,
.service-card__number,
.service-ledger__number {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  width: 100%;
  height: var(--header-h);
  padding: 0 var(--page-x);
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition:
    transform 420ms var(--ease),
    background 300ms ease,
    border-color 300ms ease,
    color 300ms ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(1 13 17 / 72%), transparent);
  content: "";
  opacity: 1;
  transition: opacity 300ms ease;
}

.site-header.is-scrolled {
  border-color: rgb(255 178 143 / 18%);
  background: rgb(3 21 27 / 82%);
  backdrop-filter: blur(18px) saturate(120%);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-height: 48px;
}

.brand-link img {
  width: 36px;
  height: 36px;
}

.brand-glyph {
  position: relative;
  display: grid;
  align-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 46%);
}

.brand-glyph i {
  display: block;
  width: 20px;
  height: 1px;
  margin: 2px auto;
  background: currentColor;
}

.brand-glyph i:nth-child(2) {
  width: 14px;
  margin-left: 8px;
  background: var(--signal);
}

.brand-glyph--large {
  width: 64px;
  height: 64px;
}

.brand-glyph--large i {
  width: 34px;
}

.brand-glyph--large i:nth-child(2) {
  width: 24px;
  margin-left: 14px;
}

.brand-link > span:not(.brand-glyph) {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-link strong {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-link small {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 52px);
}

.desktop-nav a {
  position: relative;
  padding: 15px 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 1px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.mode-toggle,
.menu-toggle,
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgb(255 236 225 / 28%);
  border-radius: 999px;
  background: rgb(2 18 23 / 32%);
  color: inherit;
  cursor: pointer;
}

.mode-toggle {
  gap: 7px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mode-toggle svg,
.menu-toggle svg,
.menu-close svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    transform 220ms var(--ease);
}

.header-cta:hover {
  background: var(--steel);
  transform: translateY(-2px);
}

.header-cta svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.menu-toggle {
  display: none;
  padding: 0;
}

.menu-panel {
  position: fixed;
  z-index: 500;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.menu-panel.is-open {
  visibility: visible;
  pointer-events: auto;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(0 8 11 / 74%);
  opacity: 0;
  transition: opacity 350ms ease;
}

.menu-panel.is-open .menu-backdrop {
  opacity: 1;
}

.menu-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(90vw, 520px);
  height: 100%;
  padding: 28px clamp(28px, 6vw, 62px) 44px;
  background:
    linear-gradient(150deg, rgb(61 45 36 / 36%), transparent 55%),
    var(--ink-deep);
  color: var(--white);
  transform: translateX(105%);
  transition: transform 520ms var(--ease);
}

.menu-panel.is-open .menu-drawer {
  transform: translateX(0);
}

.menu-close {
  align-self: flex-end;
  padding: 0;
}

.menu-drawer > .technical-label {
  margin-top: 10vh;
  color: var(--signal);
}

.menu-drawer nav {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
}

.menu-drawer nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: clamp(2.15rem, 6vw, 4rem);
  font-weight: 350;
  line-height: 1;
}

.menu-note {
  max-width: 36ch;
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 250ms var(--ease),
    background 250ms ease,
    color 250ms ease,
    border-color 250ms ease;
}

.button svg,
.text-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.button--ink {
  background: var(--ink);
  color: var(--white);
}

.button--signal {
  background: var(--signal);
  color: var(--ink-deep);
}

.button--signal:hover,
.button--light:hover {
  background: var(--steel);
}

.text-link {
  padding-right: 0;
  padding-left: 0;
  border-bottom-color: rgb(255 255 255 / 50%);
  border-radius: 0;
  color: var(--white);
}

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

/* Hybrid story */

.story-experience {
  background: var(--ink-deep);
  color: var(--white);
}

.story-media {
  --focal-desktop: 50% 50%;
  --focal-mobile: 50% 50%;
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0d1516;
}

.story-media picture,
.story-media img,
.story-media video {
  display: block;
  width: 100%;
  height: 100%;
}

.story-media img,
.story-media video {
  object-fit: cover;
  object-position: var(--focal-desktop);
}

.story-media video {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.story-media.is-video-ready:not(.has-video-error) video {
  opacity: 1;
}

.story-media.is-video-ready:not(.has-video-error) .story-media__poster {
  opacity: 0;
}

.story-media__poster {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.story-media__motion-note {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 30%);
  background: rgb(1 14 18 / 62%);
  color: rgb(255 255 255 / 78%);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-media__motion-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.story-media.is-loading .story-media__motion-note i {
  box-shadow: 0 0 0 5px rgb(255 90 36 / 14%);
}

body.is-still .story-media video {
  display: none;
}

body.is-still .story-media .story-media__poster {
  opacity: 1;
}

.story-hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
}

.story-hero__media,
.story-final__media {
  position: absolute;
  inset: 0;
}

.story-hero__media picture,
.story-final__media picture {
  position: absolute;
  inset: 0;
}

.story-hero__shade,
.story-final__shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(circle at 70% 38%, transparent 0 24%, rgb(0 9 12 / 28%) 72%),
    linear-gradient(90deg, rgb(1 13 17 / 82%) 0%, rgb(1 13 17 / 24%) 56%, rgb(1 13 17 / 36%) 100%),
    linear-gradient(180deg, rgb(1 12 15 / 35%), transparent 32%, rgb(1 10 13 / 62%));
  pointer-events: none;
}

.story-hero__copy,
.story-final__copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--page-x);
  width: min(650px, 48vw);
  transform: translateY(-44%);
}

.story-hero__copy .scene-index,
.story-card .scene-index,
.story-final__copy .scene-index {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--signal-soft);
}

.scene-index > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.story-hero__copy h1,
.story-final__copy h2 {
  max-width: 13ch;
  margin: 26px 0 22px;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 6.8vw, 7.6rem);
  font-weight: 290;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-wrap: balance;
}

.story-hero__copy > p:last-of-type,
.story-final__copy > p:last-of-type {
  max-width: 43ch;
  margin: 0;
  color: rgb(244 237 229 / 82%);
  font-size: clamp(0.9rem, 1.2vw, 1.08rem);
  font-weight: 350;
  letter-spacing: 0.015em;
}

.scene-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  pointer-events: auto;
}

.story-hero__footer {
  position: absolute;
  z-index: 3;
  right: var(--page-x);
  bottom: 34px;
  left: var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 28%);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-hero__footer > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 64%);
}

.story-hero__footer a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.story-hero__footer a i {
  color: var(--signal);
  font-style: normal;
}

.story-diagnosis,
.story-movement {
  padding: clamp(110px, 12vw, 190px) var(--page-x);
}

.story-diagnosis {
  background:
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--paper);
  color: var(--ink);
}

.story-section-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(440px, 0.95fr) minmax(240px, 0.42fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
  margin-bottom: clamp(72px, 9vw, 140px);
}

.story-section-head .technical-label {
  padding-top: 12px;
  color: var(--graphite);
}

.story-section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 7.6rem);
  font-weight: 290;
  letter-spacing: -0.052em;
  line-height: 0.84;
}

.story-section-head h2 em {
  color: #75675d;
  font-weight: 270;
}

.story-section-head > p:last-child {
  margin: 11px 0 0;
  color: #665e56;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(20px, 2.4vw, 42px);
}

.story-card {
  overflow: hidden;
  background: var(--stone);
  color: var(--ink);
}

.story-card--lead {
  grid-row: span 2;
}

.story-card__media {
  min-height: 340px;
  aspect-ratio: 16 / 10;
}

.story-card--lead .story-card__media {
  min-height: 580px;
  height: calc(100% - 320px);
  aspect-ratio: auto;
}

.story-card__copy {
  padding: clamp(28px, 4vw, 58px);
}

.story-card .scene-index {
  color: var(--graphite);
}

.story-card h3 {
  max-width: 13ch;
  margin: 25px 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 5rem);
  font-weight: 310;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.story-card p:last-child {
  max-width: 48ch;
  margin-bottom: 0;
  color: #665f58;
}

.story-card--compact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 1.08fr);
}

.story-card--compact .story-card__media {
  min-height: 420px;
  aspect-ratio: auto;
}

.story-card--compact .story-card__copy {
  align-self: center;
}

.story-card--compact h3 {
  font-size: clamp(2.4rem, 3.4vw, 4rem);
}

.story-movement {
  background: #0d1415;
}

.story-section-head--dark .technical-label {
  color: var(--signal);
}

.story-section-head--dark h2 em {
  color: var(--signal-soft);
}

.story-section-head--dark > p:last-child {
  color: var(--muted);
}

.story-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(20px, 3vw, 52px);
  align-items: end;
}

.story-pair .story-card {
  background: #172022;
  color: var(--white);
}

.story-pair .story-card__media {
  min-height: 58svh;
  max-height: 780px;
  aspect-ratio: 4 / 5;
}

.story-pair .story-card--rise .story-card__media {
  min-height: 72svh;
  aspect-ratio: 5 / 6;
}

.story-pair .story-card .scene-index {
  color: var(--signal-soft);
}

.story-pair .story-card p:last-child {
  color: var(--muted);
}

.story-final {
  position: relative;
  min-height: max(680px, 92svh);
  overflow: hidden;
}

.story-final__shade {
  background:
    linear-gradient(90deg, rgb(1 12 15 / 76%) 0%, rgb(1 12 15 / 18%) 60%),
    linear-gradient(180deg, rgb(1 12 15 / 18%), transparent 42%, rgb(1 10 13 / 58%));
}

.story-final__copy h2 {
  font-size: clamp(4.4rem, 8vw, 9rem);
}

.still-mode-note {
  display: none;
  padding: 16px var(--page-x);
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  background: var(--ink-deep);
  color: var(--muted);
  font-size: 0.74rem;
}

.still-mode-note span {
  margin-right: 12px;
  color: var(--signal);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.is-still .still-mode-note {
  display: block;
}

/* Home epilogue */

.epilogue {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vw, 220px) var(--page-x);
  background:
    linear-gradient(90deg, rgb(255 90 36 / 8%) 1px, transparent 1px) 0 0 /
      25% 100%,
    var(--paper);
}

.epilogue-head {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(420px, 1fr) minmax(
      240px,
      0.42fr
    );
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}

.epilogue-head .technical-label {
  padding-top: 12px;
  color: var(--graphite);
}

.epilogue-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.4vw, 7rem);
  font-weight: 290;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

.epilogue-head > p:last-child {
  margin: 10px 0 0;
  color: #655f58;
}

.service-preview {
  margin-top: clamp(90px, 11vw, 170px);
  border-top: 1px solid var(--line-dark);
}

.service-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  min-height: 184px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-card__number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  font-weight: 340;
  letter-spacing: -0.03em;
}

.service-card p {
  max-width: 70ch;
  margin: 0;
  color: #6e675f;
}

.service-card > a {
  min-height: 44px;
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.epilogue-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 100px;
  padding: 38px 0 0;
  border-top: 3px solid var(--ink);
}

.epilogue-cta p {
  max-width: 16ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 0.94;
}

/* Supporting pages */

main:not(:empty) {
  min-height: 72svh;
}

.page-hero {
  position: relative;
  min-height: min(88svh, 920px);
  overflow: hidden;
  padding: clamp(170px, 24vh, 240px) var(--page-x) 100px;
  background:
    radial-gradient(circle at 78% 28%, rgb(255 90 36 / 20%), transparent 28%),
    linear-gradient(130deg, var(--ink-deep), #30251f);
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  top: -40%;
  right: -10%;
  width: min(70vw, 920px);
  aspect-ratio: 1;
  border: 1px solid rgb(255 178 143 / 18%);
  border-radius: 50%;
  content: "";
  box-shadow:
    inset 0 0 0 13vw rgb(255 90 36 / 3%),
    inset 0 0 0 24vw rgb(255 90 36 / 2%);
}

.page-hero .technical-label {
  position: relative;
  color: var(--signal);
}

.page-hero h1 {
  position: relative;
  max-width: 13ch;
  margin: 42px 0 36px;
  font-family: var(--serif);
  font-size: clamp(4rem, 8.4vw, 9.3rem);
  font-weight: 270;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.page-hero h1 em {
  color: var(--signal-soft);
  font-weight: 260;
}

.page-hero > p:not(.technical-label) {
  position: relative;
  max-width: 54ch;
  margin: 0 0 0 auto;
  color: rgb(244 237 229 / 74%);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.page-hero__line {
  position: absolute;
  right: var(--page-x);
  bottom: 48px;
  left: var(--page-x);
  height: 1px;
  background: var(--line-light);
}

.page-hero__line span {
  display: block;
  width: 18%;
  height: 3px;
  background: var(--signal);
  transform: translateY(-1px);
}

.service-ledger {
  padding: 40px var(--page-x) 130px;
  background: var(--paper);
}

.service-ledger__item {
  display: grid;
  grid-template-columns: 82px minmax(270px, 0.74fr) minmax(300px, 0.8fr) minmax(
      240px,
      0.46fr
    );
  gap: clamp(24px, 4vw, 68px);
  align-items: start;
  padding: 84px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-ledger__number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.service-ledger__intro h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.7vw, 5.6rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.service-ledger__intro p,
.service-ledger__item li,
.service-ledger__note {
  color: #675f57;
}

.service-ledger__item ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.service-ledger__item li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.service-ledger__item li svg {
  width: 18px;
  fill: none;
  stroke: var(--graphite);
  stroke-width: 1.5;
}

.service-ledger__note {
  margin: 5px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--signal);
  font-size: 0.78rem;
}

.service-ledger__note span {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.truth-panel {
  display: grid;
  grid-template-columns: 0.34fr 1fr 0.55fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
  padding: clamp(90px, 12vw, 170px) var(--page-x);
  background: var(--signal);
  color: var(--ink-deep);
}

.truth-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 290;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

.truth-panel > div p {
  margin-top: 6px;
}

.truth-panel .button {
  margin-top: 28px;
}

.routine-sequence {
  counter-reset: routine;
  padding: 80px var(--page-x) 140px;
  background: var(--paper);
}

.routine-sequence article {
  display: grid;
  grid-template-columns: 110px minmax(280px, 0.65fr) minmax(300px, 0.65fr);
  gap: clamp(30px, 6vw, 120px);
  align-items: center;
  min-height: 210px;
  border-bottom: 1px solid var(--line-dark);
}

.routine-sequence article > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.routine-sequence h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  font-weight: 320;
  letter-spacing: -0.04em;
}

.routine-sequence p {
  max-width: 52ch;
  color: #675f57;
}

.route-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 90svh;
  padding: 80px var(--page-x);
  background: var(--ink-deep);
  color: var(--white);
}

.lift-diagram {
  position: relative;
  width: min(62vw, 620px);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgb(255 178 143 / 22%);
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent calc(16.66% - 1px),
      rgb(255 255 255 / 11%) calc(16.66% - 1px),
      rgb(255 255 255 / 11%) 16.66%
    ),
    linear-gradient(90deg, rgb(255 90 36 / 5%), transparent 36%);
  box-shadow: inset 0 0 90px rgb(0 0 0 / 28%);
}

.lift-diagram::before,
.lift-diagram::after {
  position: absolute;
  content: "";
}

.lift-diagram::before {
  top: 9%;
  right: 9%;
  bottom: 9%;
  width: 6px;
  border-right: 1px solid rgb(255 178 143 / 38%);
  border-left: 1px solid rgb(255 178 143 / 18%);
}

.lift-diagram::after {
  top: 9%;
  right: 9%;
  width: 46%;
  height: 46%;
  border-top: 1px solid rgb(255 178 143 / 38%);
  border-left: 1px solid rgb(255 178 143 / 38%);
  border-radius: 72% 0 0;
}

.lift-diagram span,
.lift-diagram i,
.lift-diagram b,
.lift-diagram em {
  position: absolute;
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--signal);
  box-shadow: 0 0 20px rgb(255 90 36 / 64%);
}

.lift-diagram span {
  top: 9%;
  right: calc(9% - 3px);
}

.lift-diagram i {
  right: calc(9% - 3px);
  bottom: 34%;
}

.lift-diagram b {
  right: calc(9% - 3px);
  bottom: 9%;
  background: var(--steel);
}

.lift-diagram em {
  top: calc(55% - 5px);
  left: calc(55% - 5px);
  width: 38%;
  height: 2px;
  border-radius: 0;
  transform: rotate(-45deg);
  transform-origin: left;
  background: rgb(255 255 255 / 26%);
  box-shadow: none;
}

.route-callout > div:last-child {
  max-width: 720px;
}

.route-callout .technical-label {
  color: var(--signal);
}

.route-callout h2 {
  margin: 32px 0 26px;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 6.4vw, 7.2rem);
  font-weight: 280;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.route-callout p:not(.technical-label) {
  max-width: 47ch;
  color: var(--muted);
}

.route-callout .button {
  margin-top: 30px;
}

.faq-list {
  padding: 60px var(--page-x) 150px;
  background: var(--paper);
}

.faq-list details {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 70px 1fr 48px;
  align-items: center;
  min-height: 132px;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.faq-list summary strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 3.6rem);
  font-weight: 350;
  letter-spacing: -0.03em;
}

.faq-list summary i {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.faq-list summary i::before,
.faq-list summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 250ms var(--ease);
}

.faq-list summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details > div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 48px;
  padding-bottom: 44px;
}

.faq-list details > div p {
  grid-column: 2;
  max-width: 66ch;
  margin: 0;
  color: #675f57;
  font-size: 1.02rem;
}

/* Inquiry */

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--ink-deep);
  color: var(--white);
}

.inquiry-intro {
  position: sticky;
  top: var(--header-h);
  align-self: start;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(80px, 10vw, 150px) var(--page-x) 70px;
  background:
    radial-gradient(circle at 20% 20%, rgb(255 90 36 / 16%), transparent 35%),
    linear-gradient(145deg, #352720, var(--ink-deep) 72%);
}

.inquiry-intro .technical-label {
  color: var(--signal);
}

.inquiry-intro h1 {
  max-width: 9ch;
  margin: 36px 0 28px;
  font-family: var(--serif);
  font-size: clamp(4rem, 7.4vw, 8.4rem);
  font-weight: 280;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.inquiry-intro > p:not(.technical-label) {
  max-width: 44ch;
  color: var(--muted);
}

.inquiry-facts {
  display: grid;
  gap: 16px;
  margin-top: clamp(60px, 9vh, 120px);
}

.inquiry-facts p {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: rgb(244 237 229 / 76%);
  font-size: 0.78rem;
}

.inquiry-facts span {
  color: var(--signal);
  font-weight: 650;
  letter-spacing: 0.1em;
}

.inquiry-panel {
  min-height: 100%;
  padding: clamp(90px, 10vw, 150px) clamp(30px, 7vw, 120px);
  background: var(--paper);
  color: var(--ink);
}

.inquiry-panel form {
  max-width: 850px;
  margin: 0 auto;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field > label,
.form-field > legend {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.form-field--zip {
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line-dark);
}

.form-field--zip input {
  width: min(100%, 360px);
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 3px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 320;
  letter-spacing: 0.08em;
}

.form-field--zip input::placeholder {
  color: rgb(6 24 32 / 20%);
}

.field-note {
  max-width: 50ch;
  margin: 0;
  color: #766f67;
  font-size: 0.72rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 28px;
  margin-top: 58px;
}

.form-field select,
.form-field textarea,
.form-field input[type="file"] {
  width: 100%;
  min-height: 54px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.form-field textarea {
  resize: vertical;
}

.form-field--contact {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-field--contact > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-field--contact label {
  cursor: pointer;
}

.form-field--contact input {
  position: absolute;
  opacity: 0;
}

.form-field--contact label span {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.72rem;
}

.form-field--contact input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.form-field--contact input:focus-visible + span {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

.form-consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 44px;
  color: #6e675f;
  font-size: 0.78rem;
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--graphite);
}

.form-error {
  min-height: 24px;
  margin: 18px 0 0;
  color: #9d2e36;
  font-size: 0.76rem;
}

.form-submit {
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.inquiry-success {
  max-width: 720px;
  margin: 10vh auto 0;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 42px;
  border-radius: 50%;
  background: var(--signal);
}

.success-mark svg {
  width: 40px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.inquiry-success h2 {
  margin: 28px 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

.inquiry-success > p:not(.technical-label) {
  max-width: 55ch;
  color: #6e675f;
}

.text-button {
  min-height: 44px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Footer */

.service-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 54px var(--page-x);
  background: var(--signal);
  color: var(--ink-deep);
}

.service-ribbon h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 310;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.site-footer {
  padding: 90px var(--page-x) 34px;
  background: var(--ink-deep);
  color: var(--white);
}

.footer-primary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 18px;
}

.footer-brand img {
  width: 68px;
}

.footer-brand > span:not(.brand-glyph) {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.2vw, 3.5rem);
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand small {
  color: var(--signal);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-primary nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-rule {
  height: 1px;
  margin: 72px 0 26px;
  background: var(--line-light);
}

.footer-rule span {
  display: block;
  width: 22%;
  height: 3px;
  background: var(--signal);
  transform: translateY(-1px);
}

.footer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  color: var(--muted);
  font-size: 0.68rem;
}

.footer-meta p {
  margin: 0;
}

/* Responsive */

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    grid-column: 2;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .epilogue-head {
    grid-template-columns: 0.3fr 1fr;
  }

  .epilogue-head > p:last-child {
    grid-column: 2;
  }

  .service-ledger__item {
    grid-template-columns: 70px minmax(0, 1fr) minmax(280px, 0.75fr);
  }

  .service-ledger__note {
    grid-column: 2 / -1;
  }

  .truth-panel {
    grid-template-columns: 0.3fr 1fr;
  }

  .truth-panel > div {
    grid-column: 2;
  }

  .inquiry-layout {
    grid-template-columns: minmax(320px, 0.7fr) minmax(470px, 1.3fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 76px;
    --page-x: clamp(20px, 5.5vw, 44px);
  }

  .header-cta {
    display: none;
  }

  .brand-link small {
    display: none;
  }

  .story-media img,
  .story-media video {
    object-position: var(--focal-mobile);
  }

  .story-hero {
    min-height: max(680px, 100svh);
  }

  .story-hero__copy,
  .story-final__copy {
    top: auto;
    right: var(--page-x);
    bottom: 122px;
    left: var(--page-x);
    width: auto;
    transform: none;
  }

  .story-hero__copy h1,
  .story-final__copy h2 {
    max-width: 10ch;
    font-size: clamp(3.3rem, 11vw, 6rem);
  }

  .story-hero__copy > p:last-of-type,
  .story-final__copy > p:last-of-type {
    max-width: 38ch;
  }

  .story-hero__shade,
  .story-final__shade {
    background:
      linear-gradient(180deg, rgb(1 12 15 / 35%), transparent 28%),
      linear-gradient(0deg, rgb(1 10 13 / 86%), transparent 70%);
  }

  .story-hero__footer {
    bottom: 24px;
  }

  .story-section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-section-head > p:last-child {
    max-width: 48ch;
  }

  .story-grid,
  .story-pair {
    grid-template-columns: 1fr;
  }

  .story-card--lead {
    grid-row: auto;
  }

  .story-card--lead .story-card__media,
  .story-card--compact .story-card__media {
    height: auto;
    min-height: 54svh;
    aspect-ratio: 4 / 3;
  }

  .story-card--compact {
    display: block;
  }

  .story-pair .story-card__media,
  .story-pair .story-card--rise .story-card__media {
    min-height: 58svh;
    aspect-ratio: 4 / 3;
  }

  .epilogue-head {
    grid-template-columns: 1fr;
  }

  .epilogue-head > p:last-child {
    grid-column: 1;
  }

  .service-card {
    grid-template-columns: 68px 1fr;
  }

  .service-card > a {
    grid-column: 2;
    justify-self: start;
  }

  .epilogue-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-ledger__item {
    grid-template-columns: 62px 1fr;
  }

  .service-ledger__item ul,
  .service-ledger__note {
    grid-column: 2;
  }

  .truth-panel {
    grid-template-columns: 1fr;
  }

  .truth-panel > div {
    grid-column: 1;
  }

  .routine-sequence article {
    grid-template-columns: 74px 1fr;
    padding: 54px 0;
  }

  .routine-sequence article p {
    grid-column: 2;
  }

  .route-callout {
    grid-template-columns: 1fr;
    gap: 80px;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .lift-diagram {
    width: min(78vw, 560px);
  }

  .inquiry-layout {
    grid-template-columns: 1fr;
    padding-top: var(--header-h);
  }

  .inquiry-intro {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .inquiry-panel {
    padding-top: 90px;
    padding-bottom: 120px;
  }

  .service-ribbon {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-right: 14px;
  }

  .mode-toggle {
    min-width: 44px;
    padding: 0;
  }

  .mode-toggle [data-mode-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .story-hero {
    min-height: max(640px, 100svh);
  }

  .story-hero__copy,
  .story-final__copy {
    bottom: 112px;
  }

  .story-hero__copy .scene-index,
  .story-final__copy .scene-index,
  .story-card .scene-index {
    gap: 10px;
    font-size: 0.62rem;
  }

  .scene-index > span {
    width: 30px;
    height: 30px;
  }

  .story-hero__copy h1,
  .story-final__copy h2 {
    margin: 18px 0 14px;
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .story-hero__copy > p:last-of-type,
  .story-final__copy > p:last-of-type {
    font-size: 0.86rem;
  }

  .scene-ctas {
    gap: 14px;
    margin-top: 20px;
  }

  .scene-ctas .text-link {
    display: none;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.64rem;
  }

  .story-hero__footer {
    align-items: flex-start;
    font-size: 0.56rem;
  }

  .story-hero__footer > span {
    display: none;
  }

  .story-hero__footer a {
    margin-left: auto;
  }

  .story-diagnosis,
  .story-movement {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .story-section-head h2 {
    font-size: clamp(3.4rem, 15vw, 5.4rem);
  }

  .story-card--lead .story-card__media,
  .story-card--compact .story-card__media,
  .story-pair .story-card__media,
  .story-pair .story-card--rise .story-card__media {
    min-height: 46svh;
    aspect-ratio: 4 / 3;
  }

  .story-card__copy {
    padding: 30px 24px 36px;
  }

  .story-card h3,
  .story-card--compact h3 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .story-media__motion-note {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .story-hero .story-media__motion-note {
    display: none;
  }

  .epilogue {
    padding-top: 110px;
    padding-bottom: 110px;
    background: var(--paper);
  }

  .epilogue-head h2 {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .service-card {
    grid-template-columns: 52px 1fr;
    gap: 18px;
    min-height: 0;
    padding: 34px 0;
  }

  .service-card__number {
    width: 44px;
    height: 44px;
  }

  .epilogue-cta {
    margin-top: 70px;
  }

  .page-hero {
    min-height: 82svh;
    padding-top: 160px;
  }

  .page-hero h1 {
    font-size: clamp(3.8rem, 15vw, 6rem);
  }

  .service-ledger {
    padding-top: 20px;
  }

  .service-ledger__item {
    grid-template-columns: 1fr;
    padding: 64px 0;
  }

  .service-ledger__item ul,
  .service-ledger__note {
    grid-column: 1;
  }

  .service-ledger__number {
    width: 44px;
    height: 44px;
  }

  .truth-panel {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .routine-sequence {
    padding-top: 40px;
  }

  .routine-sequence article {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .routine-sequence article p {
    grid-column: 1;
  }

  .route-callout h2 {
    font-size: clamp(3.3rem, 14vw, 5.3rem);
  }

  .faq-list summary {
    grid-template-columns: 42px 1fr 44px;
    min-height: 118px;
  }

  .faq-list summary strong {
    font-size: 1.65rem;
  }

  .faq-list details > div {
    grid-template-columns: 42px 1fr;
  }

  .faq-list details > div p {
    grid-column: 2;
  }

  .inquiry-intro {
    padding-top: 90px;
  }

  .inquiry-intro h1 {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .inquiry-panel {
    padding-right: var(--page-x);
    padding-left: var(--page-x);
  }

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

  .form-field--contact {
    grid-column: 1;
  }

  .service-ribbon {
    padding-top: 46px;
    padding-bottom: 50px;
  }

  .site-footer {
    padding-top: 70px;
  }

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

  .footer-primary nav {
    justify-content: flex-start;
  }

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

@media (max-height: 620px) and (orientation: landscape) {
  .story-hero,
  .story-final {
    min-height: 100svh;
  }

  .story-hero__copy,
  .story-final__copy {
    top: 52%;
    bottom: auto;
    width: min(590px, 65vw);
    transform: translateY(-44%);
  }

  .story-hero__copy h1,
  .story-final__copy h2 {
    margin: 14px 0 12px;
    font-size: clamp(2.8rem, 8vw, 4.8rem);
  }

  .story-hero__copy > p:last-of-type,
  .story-final__copy > p:last-of-type {
    max-width: 60ch;
    font-size: 0.78rem;
  }

  .scene-ctas {
    display: none;
  }

  .story-hero__footer {
    bottom: 12px;
  }
}

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

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