/* Chelone Tech LLC - site styles
   Design system: near-monochrome, two chromatic accents (blue, teal), ocean imagery in the hero only. */

:root {
  --color-primary: #16110f;
  --color-on-primary: #ffffff;
  --color-primary-hover: #2a2422;
  --color-secondary: #5d95b0;
  --color-on-secondary: #ffffff;
  --color-tertiary: #4d8a8f;
  --color-on-tertiary: #ffffff;
  --color-surface: #ffffff;
  --color-surface-container-low: #fbfbfa;
  --color-surface-container: #f7f7f5;
  --color-surface-container-high: #efeeeb;
  --color-background: #ffffff;
  --color-on-surface: #1f1f1e;
  --color-on-surface-variant: #7e7b78;
  --color-outline: #c9c7c2;
  --color-outline-variant: #e7e5e1;
  --scrim-badge: rgba(22, 17, 15, 0.45);

  --font: "Hanken Grotesk", "Inter", system-ui, -apple-system, sans-serif;

  --space-1: 8px;  --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 40px; --space-6: 48px; --space-8: 64px; --space-12: 96px;

  --radius-sm: 0.5rem; --radius: 0.75rem; --radius-md: 1rem;
  --radius-lg: 1.5rem; --radius-xl: 2rem; --radius-full: 9999px;

  --border-hairline: 1px solid var(--color-outline-variant);
  --container-max: 1200px;
  --container-pad: 24px;
  --section-margin: 96px;
  --ease: 0.18s ease;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px; line-height: 24px;
  color: var(--color-on-surface);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
p { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-on-surface); outline-offset: 3px; border-radius: 4px; }

/* Type scale ------------------------------------------------------------- */
.display-lg { font-size: 80px; line-height: 84px; letter-spacing: -0.03em; font-weight: 600; }
.display-md { font-size: 56px; line-height: 60px; letter-spacing: -0.025em; font-weight: 600; }
.headline-lg { font-size: 40px; line-height: 46px; letter-spacing: -0.02em; font-weight: 600; }
.headline-md { font-size: 28px; line-height: 34px; letter-spacing: -0.01em; font-weight: 600; }
.title-lg { font-size: 20px; line-height: 26px; font-weight: 600; }
.body-lg { font-size: 20px; line-height: 30px; font-weight: 400; }
.body-md { font-size: 16px; line-height: 24px; }
.label-md { font-size: 14px; line-height: 20px; font-weight: 500; }
.label-sm { font-size: 13px; line-height: 16px; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 600; }
.muted { color: var(--color-on-surface-variant); }
.eyebrow { color: var(--color-on-surface-variant); margin-bottom: var(--space-2); display: block; }

@media (max-width: 900px) {
  .display-lg { font-size: 56px; line-height: 60px; letter-spacing: -0.025em; }
  .display-md { font-size: 40px; line-height: 46px; letter-spacing: -0.02em; }
  .headline-lg { font-size: 32px; line-height: 38px; }
  .body-lg { font-size: 18px; line-height: 28px; }
}

/* Layout ----------------------------------------------------------------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
@media (min-width: 900px) { .container { padding: 0 48px; } }
.section { margin: var(--section-margin) 0; }
.section-head { max-width: 640px; margin: 0 auto var(--space-6); text-align: center; }
.section-head p { margin-top: var(--space-2); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--space-2); }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Buttons & badges --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-full);
  font-size: 16px; line-height: 24px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-outline { background: transparent; border-color: var(--color-outline); color: var(--color-on-surface); }
.btn-outline:hover { border-color: var(--color-on-surface); }
.btn-ghost { background: transparent; color: var(--color-on-surface); }
.btn-ghost:hover { background: var(--color-surface-container); }
.btn-on-dark { background: var(--color-surface); color: var(--color-on-surface); }
.btn-on-dark:hover { background: var(--color-surface-container-high); }
.btn-outline-on-dark { background: transparent; border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-outline-on-dark:hover { border-color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-row.center { justify-content: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-full);
  border: var(--border-hairline); background: var(--color-surface);
  font-size: 14px; line-height: 20px; font-weight: 500;
}
.badge-scrim { background: var(--scrim-badge); color: #fff; border-color: transparent; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-tertiary); }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.86); backdrop-filter: blur(10px); border-bottom: var(--border-hairline); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--color-primary); }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: var(--radius-full); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--color-on-surface); transition: background-color var(--ease); }
.nav a:hover { background: var(--color-surface-container); }
.nav a[aria-current="page"] { background: var(--color-surface-container-high); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: var(--border-hairline); border-radius: var(--radius-full); padding: 8px 14px; font-size: 14px; }
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--color-surface); border-bottom: var(--border-hairline); padding: 12px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; }
.hero-art {
  position: absolute; left: 0; right: 0; top: 0; height: 860px; z-index: 0; pointer-events: none;
  /* Painterly ocean: pale sky haze at the top (type sits here), open water through the middle,
     fading to white behind the product panel. */
  background:
    radial-gradient(70% 30% at 50% 0%, rgba(255,255,255,0.9), transparent 70%),
    radial-gradient(40% 28% at 80% 30%, rgba(238, 222, 196, 0.8), transparent 65%),
    radial-gradient(50% 30% at 15% 36%, rgba(93, 149, 176, 0.8), transparent 68%),
    radial-gradient(75% 32% at 55% 52%, rgba(77, 138, 143, 0.95), transparent 70%),
    radial-gradient(55% 28% at 28% 66%, rgba(31, 84, 105, 0.9), transparent 70%),
    radial-gradient(45% 24% at 84% 62%, rgba(63, 120, 138, 0.85), transparent 70%),
    linear-gradient(180deg, #f3f6f7 0%, #dfe9ed 22%, #a9c9d3 40%, #5f9aab 56%, #2b6b82 72%, #1c4f63 100%);
}
.hero-art::before {
  /* soft swell lines, translucent so the gradient shows through */
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(120% 18% at 50% 46%, transparent 58%, rgba(255,255,255,0.16) 60%, transparent 63%),
    radial-gradient(120% 18% at 40% 56%, transparent 58%, rgba(255,255,255,0.14) 60%, transparent 63%),
    radial-gradient(120% 18% at 60% 66%, transparent 58%, rgba(255,255,255,0.12) 60%, transparent 63%),
    radial-gradient(120% 18% at 45% 76%, transparent 58%, rgba(255,255,255,0.10) 60%, transparent 63%);
}
.hero-art::after {
  /* fade to white so the page body and the lower half of the product panel sit on white */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 55%, #fff 100%);
}
@media (max-width: 760px) { .hero-art { height: 640px; } }
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero-badge { margin-bottom: var(--space-3); }
.hero h1 { max-width: 1000px; margin: 0 auto var(--space-3); color: var(--color-primary); }
.hero h1 .hl { display: inline-block; padding: 0 0.22em; border-radius: var(--radius-md); background: var(--color-surface-container); color: var(--color-on-surface); }
.hero-sub { max-width: 620px; margin: 0 auto var(--space-4); color: var(--color-on-surface); }
.hero-visual {
  margin: var(--space-8) auto 0; max-width: 1040px;
  background: var(--color-surface); border: var(--border-hairline); border-radius: var(--radius-lg);
  padding: 20px; position: relative; z-index: 1;
}
.hero-visual .window { border-radius: var(--radius-md); background: var(--color-surface-container-low); border: var(--border-hairline); overflow: hidden; }
.window-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: var(--border-hairline); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-outline-variant); display: block; }
.window-body { display: grid; grid-template-columns: 240px 1fr; min-height: 330px; }
.window-side { border-right: var(--border-hairline); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.window-side .item { padding: 8px 10px; border-radius: var(--radius-sm); font-size: 14px; color: var(--color-on-surface-variant); }
.window-side .item.active { background: var(--color-surface-container-high); color: var(--color-on-surface); font-weight: 500; }
.window-main { padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; }
.stat { background: var(--color-surface); border: var(--border-hairline); border-radius: var(--radius); padding: 14px 16px; }
.stat .k { font-size: 13px; line-height: 16px; color: var(--color-on-surface-variant); margin-bottom: 6px; }
.stat .v { font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.stat .v small { font-size: 13px; font-weight: 500; color: var(--color-tertiary); margin-left: 6px; }
.window-main .wide { grid-column: 1 / -1; }
.rows { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.row .pill { margin-left: auto; }
.pill { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: 12px; line-height: 16px; font-weight: 500; background: var(--color-surface-container-high); }
.pill.ok { background: rgba(77,138,143,0.14); color: var(--color-tertiary); }
.pill.info { background: rgba(93,149,176,0.16); color: #3f7690; }
@media (max-width: 760px) {
  .hero { padding-top: 48px; }
  .window-body { grid-template-columns: 1fr; }
  .window-side { display: none; }
  .window-main { grid-template-columns: 1fr; }
  .hero-visual { padding: 10px; }
}

/* Logo strip ---------------------------------------------------------------- */
.strip { margin-top: var(--space-8); text-align: center; }
.strip .label-sm { margin-bottom: var(--space-3); }
.strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
.strip-items .badge { color: var(--color-on-surface); }

/* Cards ---------------------------------------------------------------------- */
.card {
  background: var(--color-surface-container); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 12px;
}
.card.quiet { border-radius: var(--radius-md); padding: 24px; }
.card .icon { width: 28px; height: 28px; color: var(--color-on-surface); }
.card h3 { font-size: 20px; line-height: 26px; }
.card p { color: var(--color-on-surface-variant); }
.card ul { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.card li { display: flex; gap: 10px; align-items: flex-start; }
.card li svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; color: var(--color-tertiary); }
.card-feature { background: var(--color-secondary); color: var(--color-on-secondary); }
.card-feature p, .card-feature .muted { color: rgba(255,255,255,0.86); }
.card-feature .icon { color: #fff; }
.card-feature li svg { color: #fff; }
@media (max-width: 600px) { .card { padding: 24px; } }

/* Timeline connector (vertical thread between sections, like the reference) */
.thread { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 auto; }
.thread .line { width: 1px; height: 64px; background: var(--color-outline-variant); }
.thread .node { width: 44px; height: 44px; border-radius: 50%; background: var(--color-surface-container-high); display: grid; place-items: center; }
.thread .node svg { width: 20px; height: 20px; }

/* Split feature -------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.panel { background: var(--color-surface-container); border-radius: var(--radius-lg); padding: 40px; }
.panel-dark { background: var(--color-primary); color: var(--color-on-primary); }
.panel-dark p, .panel-dark .muted { color: rgba(255,255,255,0.72); }
.panel-teal { background: var(--color-tertiary); color: var(--color-on-tertiary); }
.panel-teal p, .panel-teal .muted { color: rgba(255,255,255,0.86); }

/* Scope ledger */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .ledger { grid-template-columns: 1fr; } }
.ledger .card ul { gap: 10px; }
.ledger .card.no li svg { color: var(--color-on-surface-variant); }

/* Steps */
.steps { counter-reset: step; }
.steps .card { position: relative; }
.steps .num { width: 36px; height: 36px; border-radius: 50%; background: var(--color-surface); border: var(--border-hairline); display: grid; place-items: center; font-weight: 600; font-size: 14px; }

/* Lists of definitions (About) */
.dl { display: grid; grid-template-columns: 1fr; gap: 0; border-top: var(--border-hairline); }
.dl .dl-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 20px 0; border-bottom: var(--border-hairline); }
.dl .dl-row dt { font-weight: 600; }
.dl .dl-row dd { margin: 0; color: var(--color-on-surface-variant); }
@media (max-width: 600px) { .dl .dl-row { grid-template-columns: 1fr; gap: 6px; } }

/* Forms ----------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field .hint { font-size: 14px; color: var(--color-on-surface-variant); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--color-outline); background: var(--color-surface);
  transition: border-color var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-on-surface); }
.form .actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form .fine { font-size: 14px; color: var(--color-on-surface-variant); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; }
.hidden { position: absolute; left: -9999px; }

/* Contact side panel */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-meta { display: flex; flex-direction: column; gap: 24px; }
.contact-meta .item { display: flex; gap: 14px; }
.contact-meta .item svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; }
.contact-meta .item .t { font-weight: 600; }
.contact-meta .item .d { color: var(--color-on-surface-variant); }

/* Prose (Legal) ---------------------------------------------------------------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.prose h3 { font-size: 20px; line-height: 26px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--color-on-surface); font-size: 16px; line-height: 26px; }
.prose ul { list-style: disc; padding-left: 22px; display: block; }
.prose ul li { display: list-item; margin-bottom: 6px; }
.prose .note { background: var(--color-surface-container); border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* CTA band + footer ------------------------------------------------------------- */
.cta-band {
  margin-top: var(--section-margin);
  background: var(--color-tertiary); color: var(--color-on-tertiary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 96px 0 0;
}
.cta-band .cta-inner { text-align: center; max-width: 640px; margin: 0 auto; padding-bottom: 64px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.86); margin: 16px 0 32px; }
.site-footer { border-top: 1px solid rgba(255,255,255,0.18); padding: 40px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand svg { color: #fff; }
.site-footer .col h4 { font-size: 13px; line-height: 16px; letter-spacing: 0.02em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.site-footer .col a { display: block; padding: 4px 0; color: rgba(255,255,255,0.9); }
.site-footer .col a:hover { color: #fff; }
.site-footer .small { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.18); font-size: 13px; line-height: 18px; color: rgba(255,255,255,0.7); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Page hero (interior pages) ------------------------------------------------------ */
.page-hero { padding: 72px 0 0; }
.page-hero .container { max-width: 800px; text-align: center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--color-on-surface-variant); font-size: 20px; line-height: 30px; }
@media (max-width: 760px) { .page-hero { padding-top: 48px; } }

/* Utility */
.mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); }
.maxw { max-width: 720px; margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cta-band.no-cta { padding-top: 0; }
.cta-band.no-cta .site-footer { border-top: 0; padding-top: 56px; }
@media (max-width: 760px) {
  .hero h1 .hl { background: none; padding: 0; border-radius: 0; }
  .display-lg { font-size: 48px; line-height: 52px; }
}

/* Brand lockup */
.brand { gap: 12px; }
.brand svg { width: 34px; height: 34px; color: #1f5f5b; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-1 { font-size: 17px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-primary); }
.wm-2 { font-size: 9px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: #1f5f5b; margin-top: 4px; }
.brand-light svg, .brand-light .wm-1, .brand-light .wm-2 { color: #fff; }
.brand-light .wm-2 { color: rgba(255,255,255,0.75); }

/* Dark feature grid */
.dark-grid { gap: 12px; }
.dcard { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.dcard strong { font-weight: 600; font-size: 16px; color: #fff; }
.dcard span { font-size: 14px; line-height: 20px; color: rgba(255,255,255,0.68); }
@media (max-width: 760px) { .panel-dark { padding: 40px 24px !important; } }

/* Scroll reveal - restrained: 18px rise, 0.6s ease-out, once only.
   JS adds .reveal, then .is-in on intersect. No transform at all under reduced motion. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.22,0.61,0.36,1), transform 0.6s cubic-bezier(0.22,0.61,0.36,1); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
/* Hero art drifts up very slightly as the page settles - no parallax on scroll */
@keyframes tide-settle { from { transform: translateY(10px) scale(1.02); opacity: 0.88; } to { transform: none; opacity: 1; } }
.hero-art { animation: tide-settle 1.1s cubic-bezier(0.22,0.61,0.36,1) both; }
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } }
/* Header gains a hairline only once scrolled */
.site-header { border-bottom-color: transparent; transition: border-color var(--ease), background-color var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--color-outline-variant); }
/* Thread connector draws down */
.thread .line { transform-origin: top; transform: scaleY(0); transition: transform 0.7s cubic-bezier(0.22,0.61,0.36,1); }
.thread.is-in .line, .reveal.is-in .line { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .thread .line { transform: none; transition: none; } }

/* Deep-water hero (orbital canvas) ------------------------------------------ */
.hero-deep {
  position: relative; overflow: hidden; padding: 0;
  min-height: 720px; height: 88svh; max-height: 900px;
  background: #0b2a38; color: #fff;
  /* under the sticky header, so the canvas runs edge to edge */
}
.hero-deep canvas { z-index: 0; }
.hero-deep .hero-copy { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; text-align: left; }
.hero-deep .hero-copy-inner { max-width: 560px; padding: 64px 0 120px; }
.hero-deep h1 { color: #fff; margin: 0 0 var(--space-3); max-width: none; }
.hero-deep .hl-sand { color: #eddcbf; }
.hero-deep .hero-sub { color: rgba(255,255,255,0.72); margin: 0 0 var(--space-4); max-width: 480px; }
.hero-deep .hero-badge { margin-bottom: var(--space-3); }
.badge-glass { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); backdrop-filter: blur(6px); }
.badge-glass .dot { background: #6fd6cc; }
/* fade the water into the white page so the body stays on the light theme */
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 55%, #fff 100%); }
/* product panel overlaps the fade band */
.hero-below { position: relative; z-index: 3; margin-top: -140px; }
.hero-below .hero-visual { margin-top: 0; box-shadow: 0 1px 0 rgba(22,17,15,0.04); }
@media (max-width: 767px) {
  .hero-deep { min-height: 640px; height: 92svh; }
  .hero-deep .hero-copy { align-items: flex-start; }
  .hero-deep .hero-copy-inner { padding: 48px 0 0; }
  .hero-below { margin-top: -80px; }
  .hero-deep .display-lg { font-size: 44px; line-height: 48px; }
}
/* the old light-hero rules stay for interior pages; neutralise their hero-specific bits here */
.hero-deep .hero-art { display: none; }
/* deep hero - sizing pass */
.hero-deep { height: auto; max-height: none; min-height: 0; }
.hero-deep .hero-copy-inner { max-width: 600px; padding: 96px 0 220px; }
.hero-deep .display-lg { font-size: 64px; line-height: 68px; letter-spacing: -0.03em; }
.hero-deep .hero-sub { font-size: 18px; line-height: 28px; max-width: 460px; }
.hero-below { margin-top: -150px; }
@media (max-width: 1100px) { .hero-deep .display-lg { font-size: 56px; line-height: 60px; } }
@media (max-width: 767px) {
  .hero-deep .hero-copy-inner { padding: 56px 0 300px; max-width: none; }
  .hero-deep .display-lg { font-size: 42px; line-height: 46px; }
  .hero-below { margin-top: -120px; }
}

/* Hero without the dashboard panel: copy sits in the water, platform strip lands in the fade */
.hero-deep .hero-copy-inner { padding-bottom: 180px; }
.hero-below { margin-top: -96px; }
.hero-below .strip { margin-top: 0; }
@media (max-width: 767px) {
  .hero-deep .hero-copy-inner { padding-bottom: 260px; }
  .hero-below { margin-top: -64px; }
}
.hero-fade { height: 26%; }
.hero-below { margin-top: -36px; }
@media (max-width: 767px) { .hero-fade { height: 22%; } .hero-below { margin-top: -24px; } }
