/* =========================================================
   HORIZON DIGITAL — styles.css
   Brand colors live here. Change them once, they update everywhere.
   ========================================================= */
:root {
  color-scheme: dark;
  /* Brand palette */
  --midnight: #151A20;   /* main background */
  --ivory: #F5F0E8;      /* headings & text on dark, light section bg */
  --champagne: #D6B989;  /* accents, buttons, hairlines, links */
  --slate: #81858A;      /* secondary text, captions, borders */

  /* Tints built only from the palette above */
  --ivory-soft: rgba(245, 240, 232, 0.76);     /* body copy on dark */
  --ivory-line: rgba(245, 240, 232, 0.10);     /* subtle borders on dark */
  --ivory-wash: rgba(245, 240, 232, 0.025);    /* card fill on dark */
  --gold-line: rgba(214, 185, 137, 0.35);      /* gold hairlines */
  --gold-wash: rgba(214, 185, 137, 0.06);
  --midnight-soft: rgba(21, 26, 32, 0.74);     /* body copy on ivory */
  --midnight-line: rgba(21, 26, 32, 0.14);     /* borders on ivory */

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Layout & motion */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(5.5rem, 12vw, 10rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--champagne); color: var(--midnight); }

:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 300;
  background: var(--champagne); color: var(--midnight);
  padding: .75rem 1.25rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--champagne); flex: none; }

.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.25rem, 6.2vw, 4rem);
  line-height: 1.08; letter-spacing: -0.005em;
  color: var(--ivory);
  text-wrap: balance;
}
.section-title em, .hero-title em { font-style: italic; color: var(--champagne); }
.section-intro { color: var(--ivory-soft); max-width: 34rem; font-size: 1rem; }
.section-intro a { color: var(--champagne); border-bottom: 1px solid var(--gold-line); transition: border-color .3s; }
.section-intro a:hover { border-color: var(--champagne); }

h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.6rem; line-height: 1.2; color: var(--ivory);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ivory); --btn-border: rgba(245, 240, 232, .32);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.4rem; padding: 1rem 1.9rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-border); border-radius: 0;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; line-height: 1.2; text-align: center;
  cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn-primary { --btn-bg: var(--champagne); --btn-fg: var(--midnight); --btn-border: var(--champagne); }
.btn-primary:hover { --btn-bg: transparent; --btn-fg: var(--champagne); }
.btn-ghost:hover { --btn-border: var(--champagne); --btn-fg: var(--champagne); }
.btn-dark { --btn-bg: var(--midnight); --btn-fg: var(--ivory); --btn-border: var(--midnight); }
.btn-dark:hover { --btn-bg: transparent; --btn-fg: var(--midnight); }
.btn-icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.btn-sm { min-height: 2.75rem; padding: .7rem 1.3rem; font-size: .66rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--champagne);
  padding: .4rem 0; border-bottom: 1px solid transparent;
  transition: border-color .3s, gap .3s var(--ease);
}
.text-link:hover { border-color: var(--champagne); gap: .8rem; }

/* ---------- Logo mark ---------- */
.mark { fill: none; stroke: var(--champagne); stroke-width: 1.15; stroke-linecap: round; overflow: visible; }

.brand { display: inline-flex; align-items: center; gap: .85rem; }
.brand-mark { width: 44px; height: 33px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--sans); font-weight: 400; font-size: .98rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--ivory);
}
.brand-sub {
  font-family: var(--sans); font-weight: 400; font-size: .56rem;
  letter-spacing: .62em; text-transform: uppercase; color: var(--champagne);
  margin-top: .42rem;
}

/* ---------- 1. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled,
.site-header.menu-is-open {
  background: var(--midnight);
  border-bottom-color: var(--gold-line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.header-inner .brand { margin-right: auto; }

.nav { display: none; }
.nav ul { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav a {
  position: relative; display: inline-block; padding: .5rem 0;
  font-size: .68rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ivory-soft);
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: var(--champagne); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ivory); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-cta { display: none; }

.menu-toggle {
  position: relative; width: 48px; height: 48px; margin-right: -12px;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle-lines { position: relative; width: 26px; height: 9px; }
.menu-toggle-lines span {
  position: absolute; left: 0; width: 100%; height: 1px; background: var(--ivory);
  transition: transform .45s var(--ease), top .45s var(--ease), background-color .3s;
}
.menu-toggle-lines span:first-child { top: 0; }
.menu-toggle-lines span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span { background: var(--champagne); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child { top: 4px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--midnight);
  padding: calc(var(--header-h) + env(safe-area-inset-top)) 0 calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding-top: 2rem; }
.mobile-links li { border-bottom: 1px solid var(--ivory-line); }
.mobile-links a {
  display: flex; align-items: baseline; gap: 1.25rem; padding: 1rem 0;
  font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.1;
  color: var(--ivory);
  opacity: 0; transform: translateY(14px);
  transition: color .3s, opacity .6s var(--ease), transform .6s var(--ease);
}
.mobile-links a span { font-family: var(--sans); font-size: .65rem; letter-spacing: .2em; color: var(--champagne); }
.mobile-links a:hover { color: var(--champagne); }
.mobile-menu.is-open .mobile-links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-links li:nth-child(2) a { transition-delay: .05s; }
.mobile-menu.is-open .mobile-links li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu.is-open .mobile-links li:nth-child(4) a { transition-delay: .15s; }
.mobile-menu.is-open .mobile-links li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu.is-open .mobile-links li:nth-child(6) a { transition-delay: .25s; }
.mobile-menu-contact { display: flex; flex-direction: column; gap: .4rem; margin-top: 1.5rem; font-size: .9rem; color: var(--ivory-soft); }
.mobile-menu-contact a:hover { color: var(--champagne); }

/* ---------- 2. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 6rem;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 1.75rem; align-items: center; }
@media (max-width: 599px) { .hero .eyebrow { letter-spacing: .22em; font-size: .64rem; } .hero .eyebrow::before { width: 1.25rem; } }
.hero-visual { order: -1; justify-self: start; width: min(42vw, 170px); margin-left: -6px; }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 12.5vw, 6.4rem);
  line-height: 1; letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}
.hero-sub { color: var(--ivory-soft); font-size: clamp(1rem, 2.4vw, 1.1rem); max-width: 35rem; margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; }
.hero-note { margin-top: 1.75rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); }

/* Animated horizon mark */
.hero-mark { width: 100%; height: auto; overflow: visible; }
.hero-mark .hm-sun, .hero-mark .hm-base, .hero-mark .hm-line {
  fill: none; stroke-width: .75; stroke-linecap: round;
}
.hero-mark .hm-sun, .hero-mark .hm-base { stroke: var(--champagne); }
.hero-mark .hm-line { stroke: url(#hm-line-fade); }
.hero-mark .hm-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hm-draw 1.8s var(--ease) .2s forwards; }
.hero-mark .hm-base { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hm-draw 2.4s var(--ease) .7s forwards; }
.hero-mark .hm-sun {
  transform: translateY(60px);
  animation: hm-rise 3.2s cubic-bezier(.16, .8, .2, 1) 1.2s forwards, hm-breathe 7s ease-in-out 4.4s infinite alternate;
}
.hero-mark .hm-glow {
  opacity: 0; transform-origin: 100px 86px;
  animation: hm-glow-in 3s ease 1.6s forwards, hm-glow-pulse 7s ease-in-out 4.6s infinite alternate;
}
@keyframes hm-draw { to { stroke-dashoffset: 0; } }
@keyframes hm-rise { from { transform: translateY(60px); } to { transform: translateY(0); } }
@keyframes hm-breathe { from { transform: translateY(0); } to { transform: translateY(-3.5px); } }
@keyframes hm-glow-in { to { opacity: 1; } }
@keyframes hm-glow-pulse { from { opacity: 1; transform: scale(1); } to { opacity: .65; transform: scale(1.06); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%);
  width: 24px; height: 56px; display: grid; place-items: center;
}
.scroll-cue span { position: relative; width: 1px; height: 100%; background: var(--ivory-line); overflow: hidden; }
.scroll-cue span::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--champagne); animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* ---------- 3. Trust strip ---------- */
.trust { border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.trust-list {
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 1.6rem; padding-bottom: 1.6rem; row-gap: 1.1rem;
}
.trust-list li {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-size: .64rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ivory); text-align: center;
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section-rule::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--container), calc(100% - var(--gutter) * 2)); height: 1px; background: var(--ivory-line);
}
.section-head { margin-bottom: clamp(3rem, 7vw, 5rem); }
.section-head.split { display: grid; gap: 1.5rem; align-items: end; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .section-title { max-width: 46rem; }
.section-head.center .section-intro { margin-top: 1.5rem; }
.section-head.center .eyebrow::after { content: ""; width: 2rem; height: 1px; background: var(--champagne); }

/* Light (ivory) sections */
.light { background: var(--ivory); color: var(--midnight); }
.light .section-title, .light h3 { color: var(--midnight); }
.light .section-title em { color: var(--midnight); }
.light .eyebrow { color: var(--midnight); }
.light .eyebrow::before, .light .section-head.center .eyebrow::after { background: var(--champagne); height: 1px; }
.light p, .light .section-intro { color: var(--midnight-soft); }
.light .section-intro a { color: var(--midnight); border-color: var(--champagne); }
.light :focus-visible { outline-color: var(--midnight); }

/* ---------- 4. Services ---------- */
.cards-3 { display: grid; gap: 1px; background: var(--ivory-line); border: 1px solid var(--ivory-line); }
.service-card {
  position: relative; background: var(--midnight);
  padding: 2.5rem 2rem 2.75rem;
  transition: background-color .6s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.service-card:hover { background: #181e25; background: color-mix(in srgb, var(--midnight) 96%, var(--ivory)); }
.service-card:hover::before { transform: scaleX(1); }
.icon { width: 48px; height: 48px; fill: none; stroke: var(--champagne); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 2.25rem; }
.card-num { font-size: .66rem; letter-spacing: .26em; color: var(--slate); margin-bottom: .6rem; }
.service-card h3 { margin-bottom: .9rem; }
.service-card p:last-child { color: var(--ivory-soft); font-size: .95rem; }

/* ---------- 5. Process timeline ---------- */
.timeline { position: relative; display: grid; gap: 3rem; padding-left: 2.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px;
  background: var(--champagne); transform-origin: top; transform: scaleY(var(--line-scale, 1));
  transition: transform 1.8s var(--ease) .2s;
}
.step { position: relative; }
.step-node {
  position: absolute; left: calc(-2.5rem + 1px); top: 4px;
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--champagne); background: var(--midnight);
}
.step-node::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--champagne); transform: scale(0); transition: transform .5s var(--ease); }
.step:hover .step-node::after { transform: scale(1); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--champagne); margin-bottom: .4rem; line-height: 1; }
.step h3 { margin-bottom: .75rem; }
.step p:last-child { color: var(--ivory-soft); font-size: .95rem; max-width: 26rem; }

/* ---------- 6. Free demo ---------- */
.demo-grid { display: grid; gap: 3.5rem; align-items: center; }
.demo-copy .section-title { margin-bottom: 1.75rem; }
.demo-copy > p { max-width: 36rem; margin-bottom: 2rem; }
.check-list { display: grid; gap: .9rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 400; color: var(--midnight); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 7px;
  border-left: 1px solid var(--midnight); border-bottom: 1px solid var(--midnight);
  transform: rotate(-45deg);
}
.demo-card {
  position: relative; text-align: center;
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.75rem, 5vw, 3rem);
  border: 1px solid var(--midnight-line);
  background: var(--ivory);
}
.demo-card::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--champagne); pointer-events: none;
}
.demo-card-label { font-size: .68rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--midnight) !important; }
.demo-price {
  font-family: var(--serif); font-weight: 300; font-size: clamp(6rem, 22vw, 9rem); line-height: 1;
  color: var(--midnight) !important; margin: 1rem 0 1rem;
}
.demo-card-text { margin: 0 auto 2.25rem; max-width: 18rem; }

/* ---------- 7. Work ---------- */
.work-grid { display: grid; gap: 3.5rem; }
.work-card { display: flex; flex-direction: column; gap: 1.5rem; }
.browser {
  border: 1px solid var(--ivory-line); background: var(--midnight);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  transition: transform .8s var(--ease), border-color .6s var(--ease);
}
.work-card:hover .browser { transform: translateY(-6px); border-color: var(--gold-line); }
.browser-bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border-bottom: 1px solid var(--ivory-line);
}
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--slate); }
.browser-bar span {
  margin-left: 10px; flex: 1; max-width: 60%; height: 18px; line-height: 18px; padding: 0 10px;
  font-size: .58rem; letter-spacing: .06em; color: var(--slate);
  border: 1px solid var(--ivory-line); border-radius: 9px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser img, .mock-screen { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* CSS-drawn placeholder screens: delete when you add real screenshots */
.mock-screen { position: relative; overflow: hidden; padding: 7% 8%; display: flex; flex-direction: column; gap: 5%; }
.mock-screen span { display: block; position: relative; z-index: 1; }
.m-nav { height: 4px; width: 100%; background: linear-gradient(90deg, currentColor 0 14%, transparent 14% 62%, currentColor 62% 68%, transparent 68% 74%, currentColor 74% 80%, transparent 80% 86%, currentColor 86% 92%, transparent 92%); opacity: .5; margin-bottom: 8%; }
.m-eyebrow { width: 18%; height: 3px; background: var(--champagne); }
.m-title { width: 58%; height: 9%; background: currentColor; opacity: .9; }
.m-title.short { width: 38%; }
.m-btn { width: 22%; height: 9%; border: 1px solid var(--champagne); margin-top: 3%; }
.mock-1 { color: var(--ivory); background: linear-gradient(160deg, #1d242c, var(--midnight) 70%); }
.m-arc { position: absolute !important; right: -8%; bottom: -38%; width: 58%; aspect-ratio: 1; border: 1px solid var(--gold-line); border-radius: 50%; z-index: 0 !important; }
.m-arc::after { content: ""; position: absolute; inset: 14%; border: 1px solid var(--gold-line); border-radius: 50%; }
.mock-2 { color: var(--midnight); background: var(--ivory); }
.mock-2 .m-eyebrow { background: var(--midnight); opacity: .4; }
.mock-2 .m-btn { background: var(--midnight); border-color: var(--midnight); }
.m-block { position: absolute !important; right: 0; top: 0; bottom: 0; width: 36%; background: linear-gradient(180deg, var(--champagne), #b89d71); opacity: .85; z-index: 0 !important; }
.mock-3 { color: var(--ivory); background: radial-gradient(circle at 78% 60%, rgba(214, 185, 137, .2), transparent 55%), var(--midnight); align-items: center; text-align: center; }
.mock-3 .m-title { width: 48%; } .mock-3 .m-title.short { width: 30%; }
.m-ring { position: absolute !important; left: 50%; top: 50%; width: 64%; aspect-ratio: 1; transform: translate(-50%, -46%); border: 1px solid var(--gold-line); border-radius: 50%; z-index: 0 !important; }

.work-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-top: .25rem; }
.work-cat { font-size: .64rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--slate); margin-bottom: .35rem; }
.work-meta h3 { font-size: 1.5rem; }
.work-meta .text-link { flex: none; }

/* ---------- 8. Pricing ---------- */
.pricing-grid { display: grid; gap: 1.5rem; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2.75rem 2rem 2.25rem;
  border: 1px solid var(--ivory-line); background: var(--ivory-wash);
  transition: border-color .5s var(--ease), transform .6s var(--ease);
}
.price-card:hover { border-color: var(--gold-line); }
.price-card.featured { border-color: var(--champagne); background: var(--gold-wash); }
.badge {
  position: absolute; top: -1px; left: 50%; transform: translate(-50%, -50%);
  background: var(--champagne); color: var(--midnight);
  font-size: .6rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  padding: .55rem 1.1rem; white-space: nowrap;
}
.price-name { font-size: 1.9rem; margin-bottom: .6rem; }
.price-desc { color: var(--ivory-soft); font-size: .92rem; min-height: 3.2em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .9rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--ivory-line); }
.price-amount { font-family: var(--serif); font-weight: 300; font-size: 3.2rem; line-height: 1; color: var(--ivory); }
.price-term { font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); }
.price-monthly { margin-top: .75rem; font-size: .9rem; color: var(--champagne); }
.feature-list { display: grid; gap: .85rem; margin: 2rem 0 2.5rem; flex: 1; }
.feature-list li { position: relative; padding-left: 1.75rem; font-size: .93rem; color: var(--ivory); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 11px; height: 5px;
  border-left: 1px solid var(--champagne); border-bottom: 1px solid var(--champagne); transform: rotate(-45deg);
}

/* ---------- 9. Why Horizon ---------- */
.why-grid { display: grid; gap: 3rem; }
.why-list { display: grid; gap: 0; }
.why-list li { padding: 2rem 0; border-top: 1px solid var(--ivory-line); }
.why-list li:last-child { border-bottom: 1px solid var(--ivory-line); }
.why-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--champagne); margin-bottom: .5rem; }
.why-num::after { content: ""; display: inline-block; width: 1.5rem; height: 1px; background: var(--champagne); vertical-align: middle; margin-left: .75rem; }
.why-list h3 { margin-bottom: .6rem; }
.why-list li > p:not(.why-num):not(.why-fix) { color: var(--ivory-soft); max-width: 36rem; }
.why-body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.why-body > p:first-child { color: var(--ivory-soft); font-size: 1.05rem; max-width: 36rem; }
.why-fix { padding-left: 1.25rem; border-left: 1px solid var(--champagne); color: var(--ivory); max-width: 36rem; }
.why-fix span { display: block; margin-bottom: .35rem; font-size: .62rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne); }
.why { border-top: 1px solid var(--gold-line); }

/* ---------- 10. Testimonials ---------- */
.quote-grid { display: grid; gap: 1.5rem; }
.quote {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: 3.5rem 2rem 2.25rem;
  border: 1px solid var(--ivory-line);
}
.quote::before {
  content: "\201C"; position: absolute; top: .4rem; left: 1.6rem;
  font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--champagne);
}
.quote blockquote p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 1.45rem; line-height: 1.45; color: var(--ivory); }
.quote figcaption { display: flex; flex-direction: column; gap: .3rem; padding-top: 1.5rem; border-top: 1px solid var(--gold-line); }
.quote-name { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory); }
.quote-biz { font-size: .82rem; color: var(--slate); }

/* ---------- 11. FAQ ---------- */
.faq-grid { display: grid; gap: 3rem; }
.faq-head .section-intro { margin-top: 1.5rem; }
.faq-list { border-top: 1px solid var(--midnight-line); }
.faq-item { border-bottom: 1px solid var(--midnight-line); }
.faq-item summary {
  position: relative; display: block; list-style: none; cursor: pointer;
  padding: 1.6rem 3rem 1.6rem 0;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 3.6vw, 1.6rem); line-height: 1.3;
  color: var(--midnight);
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%; width: 15px; height: 1px;
  background: var(--midnight); transition: transform .45s var(--ease), background-color .3s;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover::before, .faq-item summary:hover::after { background: var(--champagne); }
.faq-item summary:focus-visible { outline-offset: 2px; }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 2.5rem 1.8rem 0; max-width: 40rem; }

/* ---------- 12. Contact ---------- */
.contact-grid { display: grid; gap: 4rem; }
.contact-info .section-intro { margin: 1.5rem 0 2.5rem; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--ivory-line); margin-bottom: 2rem; }
.contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; align-items: baseline; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--ivory-line); }
.contact-label { font-size: .62rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--slate); }
.contact-list a { color: var(--ivory); transition: color .3s; word-break: break-word; }
.contact-list a:hover { color: var(--champagne); }

.contact-form { display: grid; gap: 1.75rem; padding: clamp(2rem, 5vw, 3rem); border: 1px solid var(--gold-line); background: var(--ivory-wash); }
.field-row { display: grid; gap: 1.75rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .64rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); }
.field .optional { text-transform: none; letter-spacing: .02em; color: var(--slate); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 0; border: 0; border-bottom: 1px solid rgba(245, 240, 232, .28);
  background: transparent; border-radius: 0; color: var(--ivory);
  font-size: 1rem; /* 16px prevents iOS zoom */
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate); }
.field select {
  cursor: pointer; padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--champagne) 50%), linear-gradient(-45deg, transparent 50%, var(--champagne) 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { background: var(--midnight); color: var(--ivory); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--champagne); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--champagne); }
.form-note { font-size: .8rem; color: var(--slate); text-align: center; margin-top: -.5rem; }

/* ---------- 13. Footer ---------- */
.site-footer { border-top: 1px solid var(--gold-line); padding: 5rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 3rem; padding-bottom: 4rem; }
.footer-tagline { margin-top: 1.5rem; max-width: 20rem; color: var(--ivory-soft); font-size: .92rem; }
.footer-heading { font-size: .62rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--champagne); margin-bottom: 1.25rem; }
.footer-nav ul, .footer-contact ul { display: grid; gap: .55rem; font-size: .92rem; color: var(--ivory-soft); }
.footer-nav a, .footer-contact a { transition: color .3s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--champagne); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--ivory-line);
  font-size: .78rem; color: var(--slate);
}
.footer-bottom::before { display: none; }

/* ---------- Thank-you page ---------- */
.thanks {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}
.thanks .hero-mark { width: min(60vw, 220px); margin: 0 auto 2.5rem; }
.thanks .section-title { margin-bottom: 1.5rem; }
.thanks .section-intro { margin: 0 auto 2.5rem; }
.thanks .eyebrow::after { content: ""; width: 2rem; height: 1px; background: var(--champagne); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .timeline { --line-scale: 0; }
.js .timeline.is-visible { --line-scale: 1; }

/* =========================================================
   Breakpoints (mobile-first)
   ========================================================= */
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .trust-list { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
  .trust-list li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--champagne); margin-right: 1rem; display: none; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .header-cta { display: inline-flex; }
}

@media (min-width: 760px) {
  .trust-list { justify-content: center; gap: 0; }
  .trust-list li + li::before { display: block; margin: 0 clamp(1rem, 3vw, 2.5rem); }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem 2rem; }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  :root { --header-h: 88px; }
  .site-header.is-scrolled { height: 72px; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
  .hero-visual { order: 0; width: 100%; max-width: 440px; justify-self: end; }
  .hero-mark .hm-sun, .hero-mark .hm-base, .hero-mark .hm-line { stroke-width: .5; }
  .section-head.split { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
  .section-head.split .section-intro { justify-self: end; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }

  /* Horizontal timeline */
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-left: 0; padding-top: 3rem; }
  .timeline::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; transform-origin: left; transform: scaleX(var(--line-scale, 1)); }
  .step-node { left: 0; top: -3rem; }

  .demo-grid { grid-template-columns: 1.3fr 1fr; gap: 6rem; }
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .price-card.featured { transform: translateY(-1rem); }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 6rem; align-items: start; }
  .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 6rem; align-items: start; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1120px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-inner .brand { margin-right: 0; }
  .nav { margin-left: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-mark .hm-line, .hero-mark .hm-base { stroke-dashoffset: 0; }
  .hero-mark .hm-sun { transform: none; }
  .hero-mark .hm-glow { opacity: 1; }
  .scroll-cue span::after { display: none; }
}
