/* Moore Than Clean — Claude Fable 5.1 design preview
   Tokens first. Change the brand in one place. */

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14191b;          /* graphite, cool-tinted */
  --ink-2: #1d2427;
  --ink-3: #2a3235;
  --paper: #f5f6f4;        /* page ground, warm-neutral */
  --paper-2: #eceeeb;      /* tinted section */
  --card: #fbfbfa;
  --line: #d9ddd9;
  --line-dark: #37403f;
  --text: #182022;
  --muted: #5b6563;
  --muted-light: #b9c2bf;
  --accent: #0a2ff2;       /* logo blue, sampled from Philip's logo (#0028f8) */
  --accent-hover: #0722c9;
  --on-accent: #f7f8ff;
  --focus: #0a2ff2;

  --display: "Barlow Condensed", "Arial Narrow", Impact, "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 84px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--card); color: var(--ink); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .94;
  letter-spacing: .002em;
  overflow-wrap: anywhere;
}
.display--xl { font-size: clamp(60px, 9.2vw, 136px); line-height: .9; }
.display--lg { font-size: clamp(42px, 5.2vw, 76px); }
.display--md { font-size: clamp(32px, 3.6vw, 48px); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--muted-light); }

.lede { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 34em; margin-top: 22px; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
p { max-width: 70ch; }

.note { font-size: 13px; color: var(--muted); margin-top: 28px; }
.note--light { color: var(--muted-light); }
.pending { color: var(--accent); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border: 1.5px solid transparent; border-radius: 3px; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 14px; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-top: 14px; padding-bottom: 14px; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #f5f6f4; }
.btn--ink:hover { background: var(--ink-3); border-color: var(--ink-3); }

/* ---------- Preview note ---------- */
.preview-note {
  background: var(--ink); color: var(--muted-light);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  text-align: center; padding: 9px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px;
  position: relative; z-index: 60;
}
.preview-note__short { display: none; }

/* ---------- Header (overlaid) ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  color: #fff;
  transition: background-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.site-header.is-fixed { position: fixed; top: 0; }
.site-header.is-solid { background: rgba(20,25,27,.96); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; flex-direction: column; line-height: 1; flex: 0 1 auto; min-width: 0; }
.brand__name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 28px; letter-spacing: .01em; }
.brand__tag { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); margin-top: 6px; line-height: 1.4; }
.brand__name--footer { font-size: 32px; color: #fff; }
/* Logo: designed for white, so it sits on a light plate wherever the ground is dark. */
.brand--logo { display: inline-flex; align-items: center; }
.site-header .brand--logo { position: relative; }
.brand__img { display: block; height: 64px; width: auto; filter: drop-shadow(0 0 1px rgba(255,255,255,.75)) drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand__sparkle { position: absolute; top: 5px; right: -13px; width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 0 5px rgba(255,255,255,.75)); transform-origin: center; }
.brand--footer { margin-bottom: 14px; }
.brand--footer .brand__img { height: 48px; }
.contact-block__logo { display: block; width: min(100%, 300px); height: auto; margin-bottom: 18px; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav__list { display: flex; gap: 28px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-nav__list a { padding: 8px 0; position: relative; }
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1.5px; background: var(--accent); transition: right var(--t-base) var(--ease-out); }
.site-nav__list a:hover::after { right: 0; }
.site-nav__cta { min-height: 44px; padding: 0 18px; font-size: 12px; }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff;
  min-height: 44px; padding: 0 14px; border-radius: 3px; cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.menu-toggle__bars { display: inline-flex; flex-direction: column; gap: 5px; }
.menu-toggle__bars i { display: block; width: 18px; height: 2px; background: currentColor; transition: transform var(--t-base) var(--ease-out), opacity var(--t-base); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(720px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 36px;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__still, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__video { opacity: 0; transition: opacity 600ms var(--ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,25,27,.72) 0%, rgba(20,25,27,.28) 30%, rgba(20,25,27,.22) 60%, rgba(20,25,27,.86) 100%),
    linear-gradient(90deg, rgba(20,25,27,.62) 0%, rgba(20,25,27,.25) 55%, rgba(20,25,27,.05) 100%);
}
.hero__content { position: relative; margin-bottom: auto; margin-top: auto; padding: 24px 0; }
.hero__content .display--xl { max-width: 12ch; text-wrap: balance; }
.hero__lede { margin-top: 26px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; max-width: 34em; color: rgba(255,255,255,.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__foot { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px clamp(22px, 3vw, 44px); margin: 0; }
.hero-stat { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 8px; }
.hero-stat dd, .hero-stat dt { margin: 0; }
.hero-stat b { font-family: var(--display); font-size: 31px; line-height: 1; color: #fff; }
.hero-stat dt { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hero__media-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hero__chip {
  font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 12px;
  background: rgba(20,25,27,.45);
}
.video-toggle {
  background: rgba(20,25,27,.7); color: #fff; border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; padding: 7px 14px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}

/* ---------- Quote ---------- */
.quote { background: var(--paper); padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.quote__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }

.steps-mini { margin-top: 32px; display: grid; gap: 14px; }
.steps-mini li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--text); }
.steps-mini__num { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }

.contact-block { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 380px; }
.contact-block__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.contact-block__line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.contact-block__line span:first-child { color: var(--muted); }

.quote-form { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); border-radius: 4px; }
.quote-form__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 2.6vw, 38px); line-height: 1; }
.quote-form__intro { font-size: 14px; color: var(--muted); margin-top: 10px; margin-bottom: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
label, legend { font-size: 13px; font-weight: 600; }
.req { color: var(--accent); }
input, select, textarea {
  width: 100%; min-width: 0; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: 3px; background: #fff; padding: 11px 13px; font-size: 15px;
  transition: border-color var(--t-fast) var(--ease-out);
}
textarea { min-height: 96px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #b9c2bf; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid select, .choice.is-invalid .chip-choice span { border-color: #b42318; }
.field__err { font-size: 13px; color: #b42318; margin: 0; }
.field__err[hidden] { display: none; }

.choice { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.choice legend { padding: 0; margin-bottom: 8px; }
.choice__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-choice { position: relative; display: inline-flex; }
.chip-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; margin: 0; }
.chip-choice span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; background: #fff; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.chip-choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.quote-form .btn--block { margin-top: 24px; }
.quote-form__fine { font-size: 12px; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 16px; font-size: 15px; line-height: 1.5; padding: 14px 16px; border-radius: 3px; background: var(--paper-2); border: 1px solid var(--line); }
.form-status:empty { display: none; }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.btn[disabled] { opacity: .6; cursor: progress; }
.form-status.is-error { background: #fdecec; border-color: #f3b9b9; color: #8a1c1c; }

/* ---------- Bands & sections ---------- */
.band { padding: clamp(40px, 5vw, 64px) 0; }
.band--ink { background: var(--ink); color: #fff; }
.ticker__label .eyebrow { margin-bottom: 20px; }
.ticker__viewport { overflow: hidden; }
.ticker__track { display: block; }
.wordrow { display: flex; flex-wrap: wrap; gap: 6px 0; align-items: baseline; }
.wordrow li { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.2vw, 60px); line-height: 1.05; color: #fff; }
.wordrow li + li::before { content: "·"; color: var(--accent); margin: 0 .38em; }
.ticker__copy { display: none; }
.motion-ready .ticker__track { display: flex; width: max-content; will-change: transform; }
.motion-ready .wordrow { flex: 0 0 auto; flex-wrap: nowrap; padding-left: var(--gutter); }
.motion-ready .wordrow li { white-space: nowrap; }
.motion-ready .wordrow li:first-child::before { content: "·"; color: var(--accent); margin: 0 .38em; }
.motion-ready .ticker__copy { display: flex; padding-right: var(--gutter); }

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--tint { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head__copy { font-size: 17px; color: var(--muted); max-width: 30em; justify-self: end; padding-bottom: 6px; }

/* Services: numbered list, uneven rhythm, no cards */
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 80px); border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service__num { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--accent); }
.service h3 { margin-bottom: 8px; }
.service p { font-size: 15px; color: var(--muted); }

/* Statement */
.statement { position: relative; isolation: isolate; color: #fff; background: var(--ink-2); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.statement__media { position: absolute; inset: 0; z-index: -1; opacity: .18; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.statement__content .display--lg { max-width: 16ch; }
.statement__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line-dark); }
.statement__points h3 { color: #fff; margin-bottom: 8px; font-size: 19px; }
.statement__points p { color: var(--muted-light); font-size: 15px; }

/* Photo strip */
.photo-strip { overflow: hidden; background: var(--paper); }
.photo-strip__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); align-items: end; gap: 8px 48px; margin-bottom: clamp(34px, 5vw, 64px); }
.photo-strip__head .eyebrow { grid-column: 1 / -1; }
.photo-strip__intro { color: var(--muted); font-size: 17px; padding-bottom: 6px; }
.photo-strip__viewport { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.photo-strip__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.photo-card { margin: 0; min-width: 0; }
.photo-card picture { display: block; aspect-ratio: 16 / 10; background: var(--paper-2); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card figcaption { margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.has-hgallery .photo-strip__viewport { width: 100%; overflow: hidden; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.has-hgallery .photo-strip__track { display: flex; width: max-content; gap: clamp(18px, 2.4vw, 32px); will-change: transform; }
.has-hgallery .photo-card { flex: 0 0 clamp(380px, 42vw, 590px); }

/* Image wipe; the finished image is always the CSS default. */
.wipe-media { position: relative; overflow: hidden; }
.wipe-media::after { content: ""; position: absolute; inset: -35% auto -35% -35%; width: 18%; transform: translateX(-250%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); opacity: 0; pointer-events: none; }
.motion-ready .wipe-media.is-shining::after { animation: squeegee-shine 620ms 230ms var(--ease-out) both; }
@keyframes squeegee-shine {
  0% { opacity: 0; transform: translateX(-250%) skewX(-18deg); }
  18% { opacity: .9; }
  100% { opacity: 0; transform: translateX(850%) skewX(-18deg); }
}

/* Process */
.process-wrap { position: relative; }
.process-rail { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #b9c0bd; overflow: hidden; }
.process-rail__fill { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: left center; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.process li { position: relative; padding-top: 24px; transition: color 240ms var(--ease-out), opacity 240ms var(--ease-out); }
.process li::before { content: ""; position: absolute; top: -5px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 3px solid var(--paper-2); box-shadow: 0 0 0 1px var(--accent); }
.motion-ready .process-rail__fill { transform: scaleX(0); }
.motion-ready .process li { opacity: .42; }
.motion-ready .process li.is-lit { opacity: 1; }
.process__num { display: block; font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--ink); margin-bottom: 14px; }
.process h3 { margin-bottom: 8px; }
.process p { font-size: 15px; color: var(--muted); }

/* Area */
.area__grid, .faq__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.pills li { border: 1.5px solid var(--ink); border-radius: 3px; padding: 12px 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--accent); transition: transform var(--t-base) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 15px; max-width: 56ch; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--on-accent); padding: clamp(64px, 8vw, 104px) 0; }
.cta-band__row { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band__meta { font-size: 13px; color: rgba(247,248,255,.8); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-light); padding: clamp(48px, 6vw, 72px) 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 40px; align-items: start; }
.site-footer__copy { font-size: 13px; margin-top: 10px; }
.site-footer__links { display: grid; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__links a:hover { color: #fff; }
.site-footer__meta p { font-size: 13px; line-height: 1.6; }
.site-footer__top { display: inline-block; margin-top: 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #fff; }

/* Sticky mobile CTA */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(20,25,27,.92); backdrop-filter: none; transform: translateY(0); transition: transform var(--t-base) var(--ease-out); }
.sticky-cta.is-hidden { transform: translateY(110%); }

/* Reveal */
.reveal { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Motion-created inline sparkle on quote buttons. */
.quote-sparkle { width: 15px; height: 15px; flex: 0 0 auto; color: currentColor; transform-origin: center; }
.motion-word { display: inline-block; }

/* Palette option B: navy-tinted darks (toggle with <html data-theme="navy">) */
html[data-theme="navy"] { --ink: #0b1546; --ink-2: #101c5c; --ink-3: #1a2a78; --line-dark: #2a3a86; --muted-light: #b7c0e6; }
html[data-theme="navy"] .hero__scrim { background: linear-gradient(180deg, rgba(11,21,70,.78) 0%, rgba(11,21,70,.35) 30%, rgba(11,21,70,.3) 60%, rgba(11,21,70,.9) 100%), linear-gradient(90deg, rgba(11,21,70,.7) 0%, rgba(11,21,70,.3) 55%, rgba(11,21,70,.08) 100%); }
html[data-theme="navy"] .site-header.is-solid { background: rgba(11,21,70,.96); }
html[data-theme="navy"] .sticky-cta { background: rgba(11,21,70,.94); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 22px; }
  .site-nav__list { gap: 18px; }
  .process { grid-template-columns: 1fr; gap: 30px; padding-left: 34px; }
  .process-rail { top: 0; bottom: 0; left: 5px; right: auto; width: 3px; height: auto; }
  .process-rail__fill { transform-origin: center top; }
  .motion-ready .process-rail__fill { transform: scaleY(0); }
  .process li { padding-top: 0; }
  .process li::before { top: 5px; left: -35px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head__copy { justify-self: start; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .site-nav {
    position: fixed; inset: 0; top: 0; z-index: 45;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 28px;
    background: rgba(20,25,27,.98); padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-base);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; gap: 4px; font-size: 22px; letter-spacing: .06em; font-family: var(--display); font-weight: 800; }
  .site-nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .site-nav__list a::after { display: none; }
  .site-nav__cta { min-height: 56px; font-size: 14px; }
  .menu-toggle { display: inline-flex; position: relative; z-index: 46; }
  .brand { position: relative; z-index: 46; }

  .hero { min-height: max(640px, 100svh); padding-bottom: 28px; }
  .hero__still, .hero__video { object-position: center; }
  .hero__lede { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; }
  .hero__media-status { justify-content: flex-start; }

  .quote__grid, .area__grid, .faq__grid { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .statement__points { grid-template-columns: 1fr; gap: 24px; }
  .photo-strip__head { grid-template-columns: 1fr; }
  .photo-strip__head .eyebrow { grid-column: auto; }
  .photo-strip__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band__row { flex-direction: column; align-items: flex-start; }
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

@media (max-width: 700px) {
  .photo-strip__viewport { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 0 var(--gutter) 14px; }
  .photo-strip__track, .has-hgallery .photo-strip__track { display: flex; width: max-content; gap: 14px; }
  .photo-card, .has-hgallery .photo-card { flex: 0 0 min(82vw, 330px); scroll-snap-align: start; }
}

@media (max-width: 480px) {
  .preview-note { font-size: 10px; letter-spacing: .06em; padding: 8px 14px; }
  .preview-note__long { display: none; }
  .preview-note__short { display: inline; }
  .brand__name { font-size: 24px; }
  .brand__tag { font-size: 9px; letter-spacing: .14em; max-width: 170px; }

  .brand__img { height: 50px; }
  .btn--lg { font-size: 13px; letter-spacing: .08em; padding-left: 20px; padding-right: 20px; }
  .display--xl { font-size: clamp(56px, 16vw, 72px); }
  .display--lg { font-size: clamp(38px, 11vw, 48px); }
  .wordrow li { font-size: 30px; }
  .hero-stat { grid-template-columns: 1fr; gap: 2px; }
  .hero-stat b { font-size: 27px; }
  .steps-mini li { font-size: 14px; }
  .contact-block__line { font-size: 14px; }
  .pills li { padding: 10px 12px; font-size: 11px; }
  .hero__chip { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { transform: none !important; }
  .wipe-media { clip-path: none !important; }
  .wipe-media::after { display: none; }
}

/* ---------- Print (PDF export) ---------- */
@media print {
  @page { size: 1440px 2400px; margin: 0; }
  html { scroll-padding-top: 0; }
  body { background: #fff; padding-bottom: 0; }
  .preview-note, .skip, .sticky-cta, .video-toggle, .menu-toggle { display: none !important; }
  .site-header { position: absolute; top: 0; background: transparent; }
  .site-nav { display: flex !important; opacity: 1; visibility: visible; position: static; flex-direction: row; background: transparent; padding: 0; transform: none; }
  .site-nav__list { flex-direction: row; font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .12em; }
  .site-nav__list a { border: 0; padding: 8px 0; }
  .hero { height: 820px; min-height: 820px; max-height: 820px; padding-top: 110px; }
  .quote { padding: 56px 0 64px; }
  .quote__grid { break-inside: avoid; }
  .hero__video { display: none; }
  .hero__still { display: block; }
  .reveal { opacity: 1 !important; transform: none !important; }
  #services, #process, #faq { break-before: page; }
  .section, .statement, .band, .cta-band, .site-footer, .quote-form, .service, .process li { break-inside: avoid; }
  .faq details p { display: block !important; }
  .faq details:not([open]) summary::after { content: "+"; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.contact-block__line > :last-child { text-align: right; }
