/* ==========================================================================
   Lighthouse Companies — company site
   Lighthouse brand tokens: green is the brand, navy is the night surface,
   the page background is a warm off-white, never pure white.
   Two fonts only: Sora for headings/numbers/buttons, Inter for everything else.
   ========================================================================== */

@font-face {
  font-family: 'Sora Variable';
  src: url('assets/fonts/sora-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Variable';
  src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #0F6E56;
  --green-dark: #085041;
  --green-light: #E1F5EE;
  --green-border: #9FE1CB;
  --mint: #9FE1CB;
  --navy: #162F43;
  --night: #0B1B28;
  --night-2: #10283A;
  --amber: #E8A020;
  --amber-soft: #FFE7A8;
  --violet: #5B35CF;
  --violet-dark: #33188F;
  --violet-light: #EFEAFE;

  --bg: #F5F5F2;
  --surface: #FFFFFF;
  --surface-2: #F0F0EC;
  --border: rgba(0, 0, 0, 0.08);
  --text: #1A1A1A;
  --text-2: #555555;
  --text-3: #767676;

  --font-sans: 'Inter Variable', 'Inter', system-ui, sans-serif;
  --font-display: 'Sora Variable', 'Sora', 'Inter Variable', sans-serif;
  --font-beacon: 'Fredoka Variable', 'Fredoka', 'Sora Variable', sans-serif;
  --green-bright: #3FD6A4;

  --radius: 11px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .04);
  --shadow-lg: 0 24px 60px rgba(11, 27, 40, .18);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --sky-top: #081520;
  --gutter: max(clamp(20px, 5vw, 48px), env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--sky-top); color-scheme: dark; }
main { display: block; background: var(--bg); color-scheme: light; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--sky-top);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: var(--green-dark); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 12px; }

/* ── The Lighthouse logo — exact product spec, do not restyle ───────────── */
.lh-logo-pill { background: #0F6E56; border-radius: 14px; padding: 13px 22px 11px; display: inline-flex; flex-direction: column; align-items: flex-start; color: #fff; text-decoration: none; }
.lh-logo-wordmark { display: flex; align-items: flex-start; gap: 4px; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.6px; line-height: 1; }
.lh-logo-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: 0.55; flex-shrink: 0; margin-top: 2px; }
.lh-logo-tagline { font-family: var(--font-sans); font-size: 10px; font-weight: 400; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.4px; margin-top: 4px; line-height: 1; }

@font-face {
  font-family: 'Fredoka Variable';
  src: url('assets/fonts/fredoka-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ── The Beacon logo — exact product spec, do not restyle ───────────────── */
.bcn-brand-pill { display: inline-flex; flex-direction: column; align-items: flex-start; background: #6941DF; border-radius: 14px; padding: 13px 22px 11px; color: #fff; flex-shrink: 0; text-decoration: none; }
.bcn-brand-wordmark { display: flex; align-items: flex-start; gap: 5px; font-family: var(--font-beacon); font-weight: 600; font-size: 27px; letter-spacing: -.2px; line-height: 1; }
.bcn-brand-wordmark svg { flex: 0 0 17px; width: 17px; height: 17px; max-width: 17px; max-height: 17px; margin-top: 1px; opacity: .85; }
.bcn-brand-tagline { margin-top: 5px; font-family: var(--font-sans); font-size: 10px; font-weight: 400; letter-spacing: .4px; line-height: 1; color: rgba(255,255,255,.85); }

/* Product names always wear their own typeface: Lighthouse in Sora 800, Beacon in Fredoka 600 */
.n-lh { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.n-bcn { font-family: var(--font-beacon); font-weight: 600; letter-spacing: -.005em; font-size: 1.06em; }
.wm-lh { display: flex; align-items: flex-start; gap: 4px; font-family: var(--font-display); font-weight: 800 !important; letter-spacing: -.6px; line-height: 1; }
.wm-bcn { display: flex; align-items: flex-start; gap: 5px; font-family: var(--font-beacon); font-weight: 600 !important; font-size: 28px !important; letter-spacing: -.2px; line-height: 1; }
.wm-bcn svg { flex: 0 0 17px; width: 17px; height: 17px; min-width: 0; max-width: 17px; max-height: 17px; margin-top: 1px; opacity: .85; }

/* Names sit on the same baseline as the rest of the button label, whatever their typeface */
.btn > .n-lh, .btn > .n-bcn { margin-left: -5px; line-height: 1; }
.btn > .n-bcn { font-size: 1.04em; }

/* The company wordmark: plain Sora, green, no pill */
.co-logo { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -.03em; line-height: 1; color: #fff; text-decoration: none; white-space: nowrap; }
@media (max-width: 860px) { .co-logo { font-size: 20px; } }

/* ── Header ─────────────────────────────────────────────────────────────── */
/* iOS 26 Safari paints its status bar from the fixed element at the top edge, and a glass one gets a solid
   fill of the page background instead. A hidden fixed box is skipped, so this box stays hidden and ::before
   draws the glass. WebKit only counts the box as hidden when nothing painted in its own layer shows, so the
   content (the <header> inside) gets a layer of its own. The box itself never blurs: that would stop the
   ::before glass from seeing the page behind it. Same approach as lighthouseapp.pro. */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-top: env(safe-area-inset-top); visibility: hidden; }
.site-header > .wrap { position: relative; z-index: 0; visibility: visible; }
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; visibility: visible; pointer-events: none;
  border-bottom: 1px solid transparent;
  transition: background .32s var(--ease-standard), box-shadow .32s var(--ease-standard), border-color .32s;
}
/* iPhone and iPad (-webkit-touch-callout exists only there): once scrolled, Safari shows the page under its
   status bar, but a fixed element on the page's base layer is clipped to the area below it. With <body> as
   its own layer (will-change: opacity makes a layer and a stacking context, not a containing block, so the
   header stays fixed) the glass is not clipped and reaches up behind the status bar, edge to edge. */
@supports (-webkit-touch-callout: none) {
  body { will-change: opacity; }
  .site-header::before { top: -160px; }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 88px; transition: height .32s var(--ease-standard); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-co { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); transition: color .32s; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { position: relative; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 10px; color: rgba(255,255,255,.82); transition: color .16s, background .16s; }
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a[aria-current='page']::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--mint); }
.site-nav a.nav-cta { margin-left: 8px; background: #fff; color: var(--green-dark); padding: 10px 18px; }
.site-nav a.nav-cta:hover { background: var(--green-light); }
.site-nav a.nav-cta::after { display: none; }

.site-header.is-scrolled::before { background: rgba(8,21,32,.94); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.site-header.is-scrolled .wrap { height: 76px; }
.site-header.is-scrolled .site-nav a.nav-cta { background: var(--green); color: #fff; }
.site-header.is-scrolled .site-nav a.nav-cta:hover { background: var(--green-dark); }

.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .22s var(--ease-standard), opacity .16s, top .22s var(--ease-standard); }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 22px; } .menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded='true'] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded='true'] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .brand-co { display: none; }
  .site-header .wrap, .site-header.is-scrolled .wrap { height: 68px; }
  .site-header .lh-logo-pill { border-radius: 11px; padding: 8px 16px 7px; }
  .site-header .lh-logo-wordmark { font-size: 18px; }
  .site-header .lh-logo-tagline { display: none; }
  .menu-btn { display: block; }
  .site-nav {
    position: fixed; top: calc(68px + env(safe-area-inset-top)); left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 18px; background: rgba(16,40,58,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; visibility: hidden;
    transition: opacity .22s var(--ease-standard), transform .22s var(--ease-out-expo), visibility 0s .22s;
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .site-nav a { color: rgba(255,255,255,.88); font-size: 17px; padding: 14px 16px; }
  .site-nav a[aria-current='page']::after { display: none; }
  .site-nav a.nav-cta, .site-header.is-scrolled .site-nav a.nav-cta { margin: 6px 0 0; text-align: center; background: #fff; color: var(--green-dark); }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  padding: 15px 24px; border-radius: 14px; border: 0; cursor: pointer; text-decoration: none;
  transition: transform .22s var(--ease-out-expo), box-shadow .22s var(--ease-standard), background .16s;
}
.btn { align-items: baseline; }
.btn > svg { align-self: center; }
.btn svg { width: 18px; height: 18px; transition: transform .22s var(--ease-out-expo); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 28px rgba(15,110,86,.34); }
.btn-green:hover { background: var(--green-dark); box-shadow: 0 16px 36px rgba(15,110,86,.42); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 10px 28px rgba(91,53,207,.34); }
.btn-violet:hover { background: #4A28B8; box-shadow: 0 16px 36px rgba(91,53,207,.42); }
.btn-light { background: #fff; color: var(--green-dark); box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { background: transparent; color: var(--green-dark); box-shadow: inset 0 0 0 1.5px var(--green-border); }
.btn-outline:hover { background: var(--green-light); }

/* ── Shared section furniture ───────────────────────────────────────────── */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(232,160,32,.2); }
.on-dark .kicker, .kicker.on-dark { color: var(--mint); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); }
.on-dark { color: #fff; }
.on-dark .section-head p { color: rgba(255,255,255,.72); }
.text-green { color: var(--green); }
.text-mint { color: var(--mint); }
.text-glow { background: linear-gradient(100deg, #FFE7A8 0%, #9FE1CB 60%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Scroll reveal — only hides content when JS is running */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Night sky (hero + page heads) ──────────────────────────────────────── */
.night {
  position: relative; isolation: isolate; color: #fff; overflow: clip;
  background:
    radial-gradient(120% 70% at 78% 100%, rgba(15,110,86,.55) 0%, rgba(15,110,86,0) 60%),
    radial-gradient(90% 60% at 10% 0%, rgba(34,72,102,.7) 0%, rgba(34,72,102,0) 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--night) 35%, var(--night-2) 72%, #12394A 100%);
}
/* The top edge of every sky melts into exactly --sky-top, the colour mobile browsers paint the status bar,
   so the bar and the page read as one continuous sky with no seam. */
.hero::before, .page-head::before { content: ''; position: absolute; inset: 0 0 auto 0; height: calc(150px + env(safe-area-inset-top)); z-index: 2; pointer-events: none; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-top) calc(env(safe-area-inset-top) + 4px), rgba(8,21,32,.6) 45%, rgba(8,21,32,0) 100%); }
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .5; animation: twinkle var(--t, 4s) ease-in-out var(--dl, 0s) infinite; }
.stars i.big { width: 3px; height: 3px; box-shadow: 0 0 6px rgba(255,255,255,.8); }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: .95; transform: scale(1.15); } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { min-height: min(100lvh, 980px); display: flex; align-items: center; padding: calc(140px + env(safe-area-inset-top)) 0 170px; }
.hero .wrap { position: relative; z-index: 3; }
.hero-copy { max-width: 700px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-pill b { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: var(--green); color: #fff; padding: 4px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(42px, 7.2vw, 86px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin-top: 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(110%); animation: rise 1.1s var(--ease-out-expo) forwards; animation-delay: calc(var(--i) * 120ms + 150ms); }
@keyframes rise { to { transform: none; } }
.hero-sub { margin-top: 26px; max-width: 560px; font-size: clamp(18px, 1.9vw, 21px); color: rgba(255,255,255,.78); }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.js .hero-pill, .js .hero-sub, .js .hero-actions, .js .hero-trust { opacity: 0; animation: fadeUp 1s var(--ease-out-expo) forwards; }
.js .hero-pill { animation-delay: 50ms; } .js .hero-sub { animation-delay: 620ms; } .js .hero-actions { animation-delay: 760ms; } .js .hero-trust { animation-delay: 900ms; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: rgba(255,255,255,.7); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--mint); }

/* Sky life: a slow aurora, beams of light from beyond the horizon, the odd shooting star */
.aurora { position: absolute; z-index: 0; inset: -10% -20% 0 20%; pointer-events: none; filter: blur(60px); opacity: .6; background: radial-gradient(40% 50% at 70% 60%, rgba(63,214,164,.30), transparent 70%), radial-gradient(35% 45% at 35% 40%, rgba(105,65,223,.24), transparent 70%); animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { from { transform: translate3d(-4%, 2%, 0) scale(1); } to { transform: translate3d(5%, -4%, 0) scale(1.15) rotate(4deg); } }

.beams { position: absolute; z-index: 1; right: 14%; bottom: clamp(40px, 6vw, 78px); width: 0; height: 0; pointer-events: none; }
.beams i { position: absolute; right: 0; top: 0; width: 170vmax; height: 34vmax; margin-top: -17vmax; transform-origin: 100% 50%; clip-path: polygon(100% 50%, 0 0, 0 100%); background: linear-gradient(270deg, rgba(255,231,168,.62) 0%, rgba(255,231,168,.2) 28%, rgba(255,231,168,0) 78%); mix-blend-mode: screen; will-change: transform; }
.beams i:nth-child(1) { animation: beamA 12s ease-in-out infinite alternate; }
.beams i:nth-child(2) { height: 20vmax; margin-top: -10vmax; opacity: .7; background: linear-gradient(270deg, rgba(159,225,203,.55) 0%, rgba(159,225,203,.14) 30%, rgba(159,225,203,0) 75%); animation: beamB 16s ease-in-out infinite alternate; }
.beams i:nth-child(3) { height: 14vmax; margin-top: -7vmax; opacity: .55; animation: beamC 20s ease-in-out infinite alternate; }
.beams b { position: absolute; right: -130px; top: -130px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,243,205,1) 0%, rgba(255,231,168,.55) 12%, rgba(232,160,32,.22) 34%, transparent 66%); animation: lamp 3.6s ease-in-out infinite; }
@keyframes beamA { from { transform: rotate(4deg); } to { transform: rotate(34deg); } }
@keyframes beamB { from { transform: rotate(58deg); } to { transform: rotate(22deg); } }
@keyframes beamC { from { transform: rotate(72deg); opacity: .25; } to { transform: rotate(96deg); opacity: .6; } }

.shooting { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shooting i { position: absolute; width: 130px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); opacity: 0; animation: shoot 11s ease-in infinite; }
.shooting i:nth-child(1) { top: 14%; left: 52%; }
.shooting i:nth-child(2) { top: 30%; left: 18%; animation-delay: 4.2s; animation-duration: 13s; }
.shooting i:nth-child(3) { top: 8%; left: 78%; animation-delay: 7.6s; animation-duration: 16s; }
@keyframes shoot { 0%, 88% { opacity: 0; transform: translate3d(-160px, -70px, 0) rotate(24deg); } 90% { opacity: 1; } 100% { opacity: 0; transform: translate3d(260px, 116px, 0) rotate(24deg); } }

/* (unused) former lighthouse illustration */
.beacon-scene { position: absolute; right: max(2vw, calc((100vw - var(--max)) / 2 - 40px)); bottom: 56px; width: clamp(200px, 27vw, 360px); z-index: 1; pointer-events: none; }
.beacon-scene svg { overflow: visible; width: 100%; height: auto; }
.beam { transform-box: view-box; transform-origin: 160px 112px; mix-blend-mode: screen; }
.beam-l { animation: sweepL 9s ease-in-out infinite alternate; }
.beam-r { animation: sweepR 9s ease-in-out infinite alternate; }
@keyframes sweepL { from { transform: rotate(-9deg); opacity: .95; } 50% { opacity: .7; } to { transform: rotate(15deg); opacity: .95; } }
@keyframes sweepR { from { transform: rotate(7deg); opacity: .55; } to { transform: rotate(-12deg); opacity: .8; } }
.lamp-glow { transform-box: fill-box; transform-origin: center; animation: lamp 3.2s ease-in-out infinite; }
@keyframes lamp { 0%, 100% { opacity: .65; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.12); } }

.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(90px, 12vw, 150px); overflow: hidden; z-index: 2; pointer-events: none; }
.waves svg { position: absolute; bottom: 0; left: 0; width: max(200%, 2400px); max-width: none; height: 100%; }
.waves .w1 { animation: drift 22s linear infinite; opacity: .45; }
.waves .w2 { animation: drift 15s linear infinite reverse; opacity: .7; }
.waves .w3 { animation: drift 11s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

.scroll-cue { position: absolute; left: 50%; bottom: 96px; z-index: 4; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); text-decoration: none; }
.scroll-cue span { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.4); position: relative; }
.scroll-cue span::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--amber-soft); animation: cue 2s var(--ease-standard) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(13px); opacity: 0; } }

@media (max-width: 860px) {
  .hero { padding: 120px 0 200px; min-height: 0; }
  .beams { right: 16%; bottom: 46px; }
  .beams b { width: 180px; height: 180px; right: -90px; top: -90px; }
  .beacon-scene { right: 8px; bottom: 40px; width: 170px; }
  .hero-pill { font-size: 12px; gap: 7px; padding: 6px 12px 6px 7px; white-space: nowrap; max-width: 100%; }
  .hero-pill b { white-space: nowrap; font-size: 10px; letter-spacing: .05em; padding: 4px 9px; }
  .scroll-cue { display: none; }
}

/* ── Marquee ────────────────────────────────────────────────────────────── */
.marquee { background: var(--green); color: #fff; overflow: hidden; padding: 18px 0; position: relative; z-index: 3; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: drift 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-weight: 600; font-size: 16px; white-space: nowrap; }
.marquee-track span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .55; }

/* ── Product showcase ───────────────────────────────────────────────────── */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.product {
  --accent: var(--green); --accent-dark: var(--green-dark); --accent-light: var(--green-light); --accent-rgb: 15,110,86;
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-md); overflow: hidden;
  transition: transform .42s var(--ease-out-expo), box-shadow .42s var(--ease-out-expo);
}
.product.is-beacon { --accent: var(--violet); --accent-dark: var(--violet-dark); --accent-light: var(--violet-light); --accent-rgb: 91,53,207; }
.product:hover { transform: translateY(-6px); box-shadow: 0 32px 70px rgba(var(--accent-rgb), .22); }
.product::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .32s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), .14), transparent 60%); }
.product:hover::before { opacity: 1; }
.product-stage { position: relative; padding: 28px 28px 0; min-height: 300px; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 85% 0%, rgba(255,255,255,.18), transparent 55%), linear-gradient(150deg, var(--accent) 0%, var(--accent-dark) 100%); }
.product-stage::after { content: ''; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 46px rgba(255,255,255,.05), 0 0 0 100px rgba(255,255,255,.035); }
.product-id { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.product-id img { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.2); }
.product-id h3 { font-size: 26px; font-weight: 800; }
.product-id p { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 3px; }

.mock { position: relative; z-index: 1; margin: 26px auto 0; max-width: 430px; background: var(--surface); color: var(--text); border-radius: 18px 18px 0 0; padding: 18px 18px 22px; box-shadow: 0 -10px 40px rgba(0,0,0,.25); transform: translateY(14px); transition: transform .6s var(--ease-out-expo); font-size: 14px; line-height: 1.5; }
.product:hover .mock { transform: translateY(2px); }
.mock-label { font-family: var(--font-display); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.bubble { margin-top: 10px; padding: 10px 14px; border-radius: 14px; max-width: 92%; }
.bubble.me { margin-left: auto; background: var(--navy); color: #fff; border-bottom-right-radius: 5px; width: fit-content; }
.bubble.ai { background: var(--green-light); border: 1px solid var(--green-border); border-bottom-left-radius: 5px; }
.typing { display: inline-flex; gap: 4px; margin-left: 4px; vertical-align: middle; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: bounce 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.quiz-q { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.35; }
.quiz-opts { margin-top: 12px; display: grid; gap: 8px; }
.quiz-opts li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--border); font-weight: 500; }
.quiz-opts li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cfcfd6; flex-shrink: 0; }
.quiz-opts li.is-right { border-color: #22C55E; background: #E4FAEC; animation: pick 5s var(--ease-standard) infinite; }
.quiz-opts li.is-right::before { border-color: #16803D; background: #22C55E; box-shadow: inset 0 0 0 3px #E4FAEC; }
@keyframes pick { 0%, 35% { border-color: var(--border); background: transparent; } 45%, 100% { border-color: #22C55E; background: #E4FAEC; } }
.xp { margin-top: 12px; height: 8px; border-radius: 8px; background: var(--violet-light); overflow: hidden; }
.xp span { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), #B79CFF); transform-origin: left; animation: grow 5s var(--ease-out-expo) infinite; }
@keyframes grow { 0%, 40% { transform: scaleX(.55); } 60%, 100% { transform: scaleX(1); } }

.product-body { position: relative; z-index: 3; padding: 30px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.product-body h4 { font-size: clamp(22px, 2.4vw, 27px); font-weight: 800; }
.product-body > p { margin-top: 12px; color: var(--text-2); font-size: 16.5px; }
.ticks { margin-top: 20px; display: grid; gap: 10px; font-size: 15.5px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23085041' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.4 2.6 2.6L14 7.6'/%3E%3C/svg%3E") center/100% no-repeat; }
.is-beacon .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2333188F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.4 2.6 2.6L14 7.6'/%3E%3C/svg%3E"); }
.product-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.product-foot small { font-size: 14px; color: var(--text-3); }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

/* ── Journey ────────────────────────────────────────────────────────────── */
.journey { background: var(--surface); border-block: 1px solid var(--border); }
.path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.path::before { content: ''; position: absolute; left: 6%; right: 6%; top: 27px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--violet) 0%, var(--violet) 40%, var(--green) 60%, var(--green) 100%); opacity: .22; }
.path::after { content: ''; position: absolute; top: 21px; left: 6%; width: 15px; height: 15px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(232,160,32,.22), 0 0 24px rgba(232,160,32,.8); animation: travel 8s var(--ease-standard) infinite; }
@keyframes travel { 0% { left: 6%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(94% - 15px); opacity: 0; } }
.stop { position: relative; text-align: center; padding-inline: 6px; }
.stop-dot { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--c, var(--green)); color: var(--c, var(--green)); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.stop-dot svg { width: 26px; height: 26px; }
.stop h3 { font-size: 18px; font-weight: 700; }
.stop p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.stop .tag { display: inline-block; margin-top: 12px; font-size: 14px; line-height: 1.2; padding: 5px 11px; border-radius: 999px; color: var(--c); background: var(--cl); }
.stop.b { --c: var(--violet); --cl: var(--violet-light); } .stop.l { --c: var(--green); --cl: var(--green-light); }
@media (max-width: 800px) {
  .path { grid-template-columns: 1fr; gap: 34px; padding-left: 8px; }
  .path::before { left: 35px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, var(--violet) 0%, var(--violet) 40%, var(--green) 60%, var(--green) 100%); }
  .path::after { display: none; }
  .stop { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; text-align: left; }
  .stop-dot { margin: 0; grid-row: span 3; }
}

/* ── Principles ─────────────────────────────────────────────────────────── */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principle { position: relative; padding: 28px 24px; border-radius: var(--radius-xl); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .42s var(--ease-out-expo), background .32s, border-color .32s; }
.principle:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: rgba(159,225,203,.45); }
.principle-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(159,225,203,.14); color: var(--mint); margin-bottom: 20px; }
.principle-icon svg { width: 25px; height: 25px; }
.principle h3 { font-size: 19px; font-weight: 700; }
.principle p { margin-top: 10px; font-size: 15.5px; color: rgba(255,255,255,.7); }
@media (max-width: 1000px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* ── Founder teaser ─────────────────────────────────────────────────────── */
.founder-teaser { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.portrait { position: relative; width: clamp(220px, 26vw, 320px); aspect-ratio: 1; }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-lg); border: 5px solid #fff; }
.portrait::before { content: ''; position: absolute; inset: -18px; border-radius: 44px; background: conic-gradient(from var(--a, 0deg), var(--green), var(--mint), var(--amber), var(--green)); opacity: .55; filter: blur(22px); animation: spin 10s linear infinite; }
.portrait::after { content: ''; position: absolute; z-index: 0; right: -22px; bottom: -22px; width: 62%; height: 62%; border-radius: 28px; background: repeating-linear-gradient(45deg, rgba(15,110,86,.2) 0 2px, transparent 2px 10px); }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.founder-teaser blockquote { margin: 18px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3; letter-spacing: -.02em; }
.founder-teaser .who { margin-top: 22px; color: var(--text-2); }
.founder-teaser .who b { color: var(--text); font-family: var(--font-display); }
.founder-teaser .btn { margin-top: 28px; }
@media (max-width: 760px) { .founder-teaser { grid-template-columns: 1fr; } }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band { border-radius: 32px; padding: clamp(40px, 7vw, 84px) clamp(24px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; }
.cta-band p { margin: 16px auto 0; max-width: 560px; color: rgba(255,255,255,.76); }
.cta-band .hero-actions { justify-content: center; opacity: 1 !important; animation: none !important; }
.cta-band .sweep { position: absolute; z-index: -1; left: 50%; top: -40%; width: 140%; height: 180%; translate: -50% 0; background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, rgba(255,231,168,.16) 14deg, transparent 30deg); transform-origin: 50% 0; animation: sway 9s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-38deg); } to { transform: rotate(8deg); } }

/* ── Sub-page head ──────────────────────────────────────────────────────── */
.page-head { padding: calc(176px + env(safe-area-inset-top)) 0 130px; }
.page-head h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; letter-spacing: -.03em; margin-top: 20px; max-width: 900px; }
.page-head p.lede { margin-top: 22px; max-width: 640px; font-size: clamp(18px, 1.8vw, 21px); color: rgba(255,255,255,.76); }
.page-head .halo { position: absolute; z-index: -1; right: -10%; top: -30%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(255,231,168,.16) 0%, rgba(159,225,203,.08) 35%, transparent 65%); animation: lamp 6s ease-in-out infinite; }
@media (max-width: 860px) { .page-head { padding: 130px 0 110px; } }

/* ── Company page ───────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; margin-top: 16px; }
.prose p { color: var(--text-2); } .prose p + p { margin-top: 18px; }
.prose strong { color: var(--text); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.is-isnt { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border-radius: var(--radius-xl); padding: clamp(26px, 3.4vw, 40px); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.panel h3 i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-style: normal; }
.panel.yes { background: var(--green-light); border-color: var(--green-border); } .panel.yes h3 i { background: var(--green); color: #fff; }
.panel.no h3 i { background: var(--surface-2); color: var(--text-2); }
.panel ul { margin-top: 20px; display: grid; gap: 12px; color: var(--text-2); font-size: 16px; }
.panel li { padding-left: 22px; position: relative; }
.panel li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.panel.no li::before { background: #b9b9b2; }
@media (max-width: 760px) { .is-isnt { grid-template-columns: 1fr; } }

.facts { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.facts div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 20px clamp(20px, 3vw, 32px); }
.facts div + div { border-top: 1px solid var(--border); }
.facts dt { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; }
.facts dd a { color: var(--green-dark); text-decoration-color: var(--green-border); text-underline-offset: 3px; }
.facts dd a:hover { text-decoration-color: var(--green); }
@media (max-width: 640px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* ── Founder page ───────────────────────────────────────────────────────── */
/* Hero: the introduction beside the portrait, with a few personal stickers around it */
.founder-hero { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.founder-head h1 { font-size: clamp(36px, 5.2vw, 62px); }
.founder-head h1 .line { display: block; }
.founder-head .lede { max-width: 580px; }
.founder-photo { position: relative; justify-self: center; width: min(100%, 360px); }
.founder-photo .portrait { width: 100%; }
.founder-photo .portrait::after { background: repeating-linear-gradient(45deg, rgba(159,225,203,.24) 0 2px, transparent 2px 10px); }
.sticker {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px 6px 6px; border-radius: 999px;
  background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 13.5px; line-height: 1; white-space: nowrap;
  box-shadow: 0 14px 34px rgba(2,10,18,.38); rotate: var(--r);
  animation: sticker-pop .7s var(--ease-out-expo) var(--in) both, sticker-bob 6s ease-in-out var(--dl) infinite;
}
.sticker i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--ink); font-style: normal; font-size: 15px; line-height: 1; }
.sticker svg { width: 16px; height: 16px; }
/* One sticker at each corner of the photo, clear of the face */
.s-sun { --tint: var(--amber-soft); --ink: #B86E00; --r: -6deg; --in: .35s; --dl: 0s; top: 7%; left: -14%; }
.s-friends { --tint: var(--green-light); --ink: var(--green); --r: -3deg; --in: .8s; --dl: -4s; bottom: 7%; left: -9%; }
/* The team stickers wear their team's colours: Suns purple and orange, Lions Honolulu blue */
.s-suns { --tint: #FFE4D2; --r: 5deg; --in: .5s; --dl: -2s; top: 20%; right: -12%; color: #1D1160; }
.s-lions { --tint: #DDEEF9; --r: -4deg; --in: .65s; --dl: -3s; bottom: 23%; right: -9%; color: #0076B6; }
@keyframes sticker-pop { from { opacity: 0; scale: .6; } }
@keyframes sticker-bob { 50% { translate: 0 -8px; } }
@media (max-width: 900px) {
  .founder-hero { grid-template-columns: 1fr; }
  .founder-head h1 { font-size: clamp(34px, 9.6vw, 56px); }
  .founder-photo { width: min(74vw, 300px); margin-top: 12px; }
  .sticker { font-size: 12.5px; }
  .s-sun { left: -9%; } .s-friends { left: -6%; }
  .s-suns { top: 4%; right: -10%; } .s-lions { right: -7%; }
}

/* Social links wear each network's own mark and colours */
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.social {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 20px 7px 7px; border-radius: 999px; text-decoration: none;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.2; letter-spacing: -.01em;
  transition: transform .22s var(--ease-out-expo), background .16s, border-color .16s, box-shadow .22s;
}
.social:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.social small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0; color: rgba(255,255,255,.62); }
/* Icon boxes get a real width, not just a flex-basis: Safari sizes a pill from its items' widths and would
   count the 21px glyph instead of the 40px badge, leaving the handle hanging off the pill's rounded end. */
.social-ico { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; transition: transform .32s var(--ease-out-expo); }
.social-ico svg { width: 21px; height: 21px; }
.social:hover .social-ico { transform: rotate(-8deg) scale(1.08); }
.is-ig .social-ico { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.is-x .social-ico { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.is-x .social-ico svg { width: 18px; height: 18px; }
.socials.is-light .social { background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: var(--shadow-sm); }
.socials.is-light .social:hover { border-color: var(--green-border); box-shadow: var(--shadow-md); }
.socials.is-light .social small { color: var(--text-3); }

/* At a glance: a card that rides up over the bottom edge of the night sky */
.glance-wrap { position: relative; z-index: 3; margin-top: -56px; }
.glance { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.glance li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.glance li + li { border-left: 1px solid var(--border); }
.g-ico { position: relative; flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--green-light); color: var(--green); }
.g-ico svg { width: 21px; height: 21px; }
.g-duo { background: none; }
.g-duo img { position: absolute; width: 28px; height: 28px; border-radius: 8px; }
.g-duo img:first-child { left: 0; top: 0; }
.g-duo img:last-child { right: 0; bottom: 0; box-shadow: 0 0 0 2.5px var(--surface); }
@media (max-width: 1060px) { .glance { grid-template-columns: repeat(2, 1fr); } .glance li:nth-child(3) { border-left: 0; } .glance li:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 520px) { .glance { grid-template-columns: 1fr; } .glance li { padding: 13px 14px; } .glance li + li { border-left: 0; border-top: 1px solid var(--border); } }

/* The letter: its headline stays in view beside the note while it's read */
.letter-section { padding-top: clamp(64px, 8vw, 104px); }
.letter-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.letter-head { position: sticky; top: 108px; }
.letter-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-top: 16px; }
.from { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-2); }
.from img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-md); }
.letter .prose { font-size: 18px; }
.letter .prose p.lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 2.3vw, 26px); line-height: 1.4; color: var(--text); letter-spacing: -.015em; }
.sign { margin-top: 36px; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--green-dark); letter-spacing: -.02em; }
.sign small { display: block; margin-top: 4px; font-family: var(--font-sans); font-weight: 400; font-size: 15px; color: var(--text-3); letter-spacing: 0; }
@media (max-width: 860px) { .letter-grid { grid-template-columns: 1fr; } .letter-head { position: static; } }

.beliefs-block { margin-top: clamp(64px, 8vw, 104px); }
.beliefs { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.belief { padding: 28px 26px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); transition: transform .42s var(--ease-out-expo), border-color .32s, box-shadow .32s; }
.belief:hover { transform: translateY(-6px); border-color: var(--green-border); box-shadow: var(--shadow-md); }
.belief b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--green-border); }
.belief h3 { margin-top: 18px; font-size: 19px; font-weight: 700; }
.belief p { margin-top: 8px; font-size: 16px; color: var(--text-2); }
@media (max-width: 900px) { .beliefs { grid-template-columns: 1fr; } }

/* Off the clock: three little scenes from life outside work */
.life-section { padding-top: 0; }
.life { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.life-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .42s var(--ease-out-expo), box-shadow .42s; }
.life-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.life-art { position: relative; height: 200px; display: grid; place-items: center; overflow: hidden; }
.life-card h3 { margin: 26px 28px 0; font-size: 21px; font-weight: 800; }
.life-card p { margin: 10px 28px 30px; font-size: 16px; color: var(--text-2); }
.life-ico { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 32px; display: grid; place-items: center; }
.life-ico svg { width: 50px; height: 50px; }

/* Family: a Michigan mitten in the snow */
.is-family .life-art { background: radial-gradient(80% 70% at 50% 115%, rgba(255,255,255,.6), transparent 70%), linear-gradient(180deg, #E4F0FA 0%, #B9D6EE 100%); }
.is-family .life-ico { width: 132px; height: 132px; color: var(--navy); }
.is-family .life-ico svg { width: 122px; height: 122px; rotate: -8deg; filter: drop-shadow(0 12px 18px rgba(22,47,67,.22)); }
.life-snow i { position: absolute; top: -10px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.9); animation: snow-fall var(--t, 8s) linear var(--dl, 0s) infinite; }
.life-snow i:nth-child(1) { left: 10%; }
.life-snow i:nth-child(2) { left: 23%; width: 4px; height: 4px; --t: 9s; --dl: -3s; }
.life-snow i:nth-child(3) { left: 37%; --t: 8.5s; --dl: -6s; }
.life-snow i:nth-child(4) { left: 63%; width: 4px; height: 4px; --t: 10s; --dl: -1.5s; }
.life-snow i:nth-child(5) { left: 77%; --t: 7.5s; --dl: -4.5s; }
.life-snow i:nth-child(6) { left: 89%; width: 5px; height: 5px; --t: 9.5s; --dl: -7s; }
.life-snow i:nth-child(7) { left: 50%; width: 3px; height: 3px; --t: 11s; --dl: -9s; }
@keyframes snow-fall { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 50% { transform: translate(8px, 110px); } 88% { opacity: 1; } 100% { transform: translate(-4px, 220px); opacity: 0; } }

.is-friends .life-art { background: radial-gradient(90% 90% at 85% 110%, rgba(15,110,86,.6), transparent 60%), linear-gradient(180deg, var(--sky-top), var(--night-2)); }
.is-friends .life-ico { background: rgba(159,225,203,.12); color: var(--mint); box-shadow: 0 0 0 12px rgba(159,225,203,.05), 0 0 44px rgba(159,225,203,.22); }
.is-friends .life-ico svg { width: 60px; height: 60px; }
.is-friends .clink { stroke: var(--amber-soft); transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.life-moon { position: absolute; top: 24px; right: 30px; width: 24px; height: 24px; border-radius: 50%; box-shadow: -7px 4px 0 0 var(--amber-soft); }
.life-stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: twinkle var(--t, 3.6s) ease-in-out var(--dl, 0s) infinite; }
.life-stars i:nth-child(1) { top: 18%; left: 14%; }
.life-stars i:nth-child(2) { top: 36%; left: 28%; --t: 4.4s; --dl: -1s; }
.life-stars i:nth-child(3) { top: 14%; left: 56%; --t: 3s; --dl: -2s; }
.life-stars i:nth-child(4) { top: 72%; left: 17%; --t: 5s; --dl: -.5s; }
.life-stars i:nth-child(5) { top: 66%; left: 80%; --t: 3.8s; --dl: -3s; }
.life-stars i:nth-child(6) { top: 44%; left: 88%; --t: 4.6s; --dl: -1.6s; }

.is-adan .life-art { background: radial-gradient(80% 80% at 50% 115%, rgba(159,225,203,.6), transparent 70%), linear-gradient(180deg, #F3FBF8, var(--green-light)); }
.is-adan .life-ico { background: #fff; color: #E0487A; box-shadow: 0 16px 36px rgba(15,110,86,.18); animation: heart-beat 2.6s ease-in-out infinite; }
.life-hearts svg { position: absolute; bottom: 16%; width: 16px; height: 16px; color: #F2839F; opacity: 0; animation: heart-rise 5s ease-in var(--dl, 0s) infinite; }
.life-hearts svg:nth-child(1) { left: 25%; }
.life-hearts svg:nth-child(2) { left: 69%; width: 12px; height: 12px; --dl: -1.7s; }
.life-hearts svg:nth-child(3) { left: 47%; width: 10px; height: 10px; --dl: -3.4s; }
@keyframes heart-rise { 0% { opacity: 0; transform: translateY(10px) scale(.7); } 25% { opacity: .9; } 100% { opacity: 0; transform: translateY(-120px) scale(1.15); } }
@keyframes heart-beat { 0%, 40%, 100% { scale: 1; } 10%, 30% { scale: 1.09; } 20% { scale: 1.02; } }

.is-sun .life-art { background: radial-gradient(60% 70% at 50% 45%, rgba(255,255,255,.75), transparent 70%), linear-gradient(180deg, #FFF4D6 0%, #FFE0A0 100%); }
.is-sun .life-ico { width: 132px; height: 132px; color: var(--amber); }
.is-sun .life-ico svg { width: 124px; height: 124px; filter: drop-shadow(0 10px 22px rgba(232,160,32,.35)); }
.sun-rays { transform-box: fill-box; transform-origin: center; animation: sun-turn 26s linear infinite; }
@keyframes sun-turn { to { transform: rotate(360deg); } }

.follow { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 26px 30px; border-radius: var(--radius-xl); background: linear-gradient(115deg, var(--green-light) 0%, #FFF4DC 100%); border: 1px solid var(--green-border); }
.follow h3 { font-size: 21px; font-weight: 800; }
.follow p { margin-top: 4px; font-size: 16px; color: var(--text-2); }
.follow .socials { margin-top: 0; }
@media (max-width: 700px) { .life { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .follow { max-width: 560px; margin-inline: auto; } }
@media (max-width: 520px) { .life-art { height: 176px; } .life-card h3 { margin-inline: 22px; } .life-card p { margin-inline: 22px; } .follow { padding: 22px; } }

/* ── Contact page ───────────────────────────────────────────────────────── */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { --accent: var(--green); --accent-light: var(--green-light); display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .42s var(--ease-out-expo), box-shadow .42s, border-color .32s; }
.contact-card.is-beacon { --accent: var(--violet); --accent-light: var(--violet-light); }
.contact-card.is-navy { --accent: var(--navy); --accent-light: #E6ECF1; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.contact-card .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-light); color: var(--accent); overflow: hidden; }
.contact-card .ico img { width: 100%; height: 100%; }
.contact-card .ico svg { width: 25px; height: 25px; }
.contact-card h3 { margin-top: 20px; font-size: 20px; font-weight: 700; }
.contact-card p { margin-top: 8px; font-size: 15.5px; color: var(--text-2); flex: 1; }
/* The full address always fits on one line: the type scales with the card instead of wrapping or clipping */
.contact-card { container-type: inline-size; padding: 28px 24px; }
.contact-card span.addr { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: min(15.5px, 4.5cqw); letter-spacing: -.01em; color: var(--accent); white-space: nowrap; }
/* Three across only when each card is wide enough for a comfortably sized address */
@media (max-width: 1140px) { .contact-cards { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
@media (max-width: 480px) { .contact-card { padding: 24px 18px; } }

.form-shell { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(0,0,0,.12); background: var(--bg); transition: border-color .16s, box-shadow .16s, background .16s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(15,110,86,.14); }
.form .btn { width: 100%; }
.form-note { font-size: 14px; color: var(--text-3); text-align: center; }
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 0; font-family: var(--font-display); font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--green); transition: transform .22s var(--ease-standard); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; font-size: 15.5px; color: var(--text-2); }
@media (max-width: 860px) { .form-shell { grid-template-columns: 1fr; } }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: linear-gradient(180deg, var(--night) 0%, var(--sky-top) 100%); color: rgba(255,255,255,.7); padding: 72px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { text-decoration: none; transition: color .16s; }
.footer-grid a:hover { color: var(--mint); }
.footer-about p { margin-top: 18px; max-width: 360px; }
.footer-about .co-logo { font-size: 26px; color: #fff; }
.footer-about .family-label { margin-top: 30px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.family-logos { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.family-logos a { display: inline-flex; border-radius: 14px; transition: transform .22s var(--ease-out-expo), box-shadow .22s; }
.family-logos a:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.footer-legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 12px; font-size: 14px; color: rgba(255,255,255,.5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero h1 .line > span { transform: none; }
  .path::after, .scroll-cue { display: none; }
}
