/* ==========================================================================
   Law Offices of Craig S. Redler — site styles
   Palette: deep navy + refined gold, with a muted teal accent
   ========================================================================== */

:root {
  --navy-950: #061428;
  --navy-900: #0a1f3c;
  --navy-800: #11305a;
  --navy-700: #1b4277;
  --lagoon-600: #0f766e;
  --lagoon-500: #2a9d8f;
  --lagoon-300: #8fd3c9;
  --lagoon-100: #e6f3f1;
  --sky-400: #3b82a8;
  --gold-500: #c9a24b;
  --gold-400: #dcbb6c;
  --coral-500: #a87b3c;
  --sand-50: #fdfaf4;
  --sand-100: #f7f1e5;
  --ink: #15203a;
  --muted: #56627a;
  --line: #e4e8ef;
  --white: #ffffff;

  --grad-hero: linear-gradient(135deg, #061428 0%, #0c2547 55%, #10395a 100%);
  --grad-lagoon: linear-gradient(135deg, #2a9d8f 0%, #3b82a8 100%);
  --grad-sunrise: linear-gradient(135deg, #e3c27a 0%, #c79a3e 100%);

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(10, 31, 60, .06), 0 1px 2px rgba(10, 31, 60, .04);
  --shadow: 0 10px 30px rgba(10, 31, 60, .08);
  --shadow-lg: 0 24px 60px rgba(6, 20, 40, .18);
  --container: 1200px;
  --header-h: 108px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--lagoon-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); font-weight: 700; letter-spacing: -.022em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold-500); color: var(--navy-900); padding: 8px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.6em; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .98rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-gold { background: var(--grad-sunrise); color: var(--navy-950); box-shadow: 0 6px 18px rgba(150, 110, 35, .22); }
.btn-gold:hover { color: var(--navy-950); box-shadow: 0 8px 22px rgba(150, 110, 35, .32); }
.btn-lagoon { background: var(--grad-lagoon); color: var(--navy-950); box-shadow: 0 6px 18px rgba(20, 110, 120, .2); }
.btn-lagoon:hover { color: var(--navy-950); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: var(--white); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-sm { padding: .7em 1.2em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-900); }
.brand:hover { color: var(--navy-900); }
.brand-mark { width: 56px; height: 56px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.38rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text span { font-size: .64rem; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; color: var(--muted); white-space: nowrap; margin-top: 4px; }
.site-footer .brand-text span { max-width: none; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 9px; color: var(--ink); font-weight: 500; font-size: .92rem; white-space: nowrap; border-radius: 999px; position: relative; }
.main-nav a:hover { color: var(--lagoon-600); background: var(--lagoon-100); }
.main-nav a.active { color: var(--navy-900); background: var(--sand-100); }
.main-nav .nav-cta { margin-left: 8px; }
.main-nav .nav-cta a { background: var(--grad-sunrise); color: var(--navy-950); font-weight: 700; padding: 10px 18px; }
.main-nav .nav-cta a:hover { background: var(--grad-sunrise); color: var(--navy-950); box-shadow: 0 8px 20px rgba(150,110,35,.25); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy-900); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h)) 0 auto 0;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: var(--shadow); max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 24px; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 1.05rem; border-radius: 12px; }
  .main-nav .nav-cta { margin: 10px 0 0; }
  .main-nav .nav-cta a { text-align: center; }
}
@media (max-width: 640px) {
  .brand-text span { display: none; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(44px, 6vw, 72px) 0; }
.bg-sand { background: var(--sand-50); }
.bg-navy { background: var(--navy-900); color: #d5dfef; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-hero { background: var(--grad-hero); color: #d9e5f5; }
.bg-hero h1, .bg-hero h2, .bg-hero h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lagoon-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.bg-navy .eyebrow, .bg-hero .eyebrow { color: var(--lagoon-300); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); }
.bg-navy .lead, .bg-hero .lead { color: #b9c9e0; }
.text-grad { background: var(--grad-sunrise); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-lagoon { background: var(--grad-lagoon); -webkit-background-clip: text; background-clip: text; color: transparent; }

.grid { display: grid; gap: 28px; }
.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: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: #dbe6f6; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(20,184,166,.35), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(245,184,65,.18), transparent 60%),
    linear-gradient(120deg, rgba(6,20,40,.96) 0%, rgba(10,31,60,.88) 50%, rgba(13,110,122,.72) 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr; padding: clamp(44px, 5.5vw, 72px) 0 clamp(104px, 9vw, 128px); }
.hero h1 { max-width: 860px; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 em { font-style: italic; }
.hero .hero-sub { max-width: none; font-family: var(--font-display); font-size: clamp(1.05rem, 1.85vw, 1.44rem); color: var(--gold-400); margin-bottom: .8em; font-weight: 500; }
.hero p { font-size: 1.1rem; color: #c3d2e8; max-width: 620px; }
.hero .btn-row { margin-top: 30px; }

.portrait-card { position: relative; justify-self: center; width: min(100%, 420px); border-radius: 30px; box-shadow: var(--shadow-lg); }
.portrait-card .photo {
  border-radius: 30px 30px 0 0; overflow: hidden; aspect-ratio: 1 / 1;
  background: var(--navy-800);
}
.portrait-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.portrait-card::before {
  content: ""; position: absolute; inset: -18px -18px 40px 30px; border-radius: 36px; z-index: -1;
  background: var(--grad-lagoon); opacity: .55; filter: blur(2px); transform: rotate(4deg);
}
.portrait-plate { position: relative; background: var(--white); color: var(--ink); border-radius: 0 0 30px 30px; padding: 20px 24px 22px; }
.portrait-plate::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad-sunrise); }
.pp-name { display: flex; flex-direction: column; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.pp-name strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--navy-900); line-height: 1.2; }
.pp-name span { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lagoon-600); margin-top: 4px; }
.pp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-facts li { display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.pp-facts b { color: var(--navy-900); font-weight: 700; }
.pp-ico { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; color: var(--navy-950); }
.pp-ico svg { width: 19px; height: 19px; }
.pp-gold { background: var(--grad-sunrise); }
.pp-lagoon { background: var(--grad-lagoon); }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.wave svg { width: 100%; height: clamp(60px, 8vw, 120px); }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--grad-hero); color: #d2dff1; padding: clamp(60px, 8vw, 100px) 0 clamp(110px, 12vw, 150px); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 90% 0%, rgba(94,234,212,.28), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(245,184,65,.16), transparent 60%); }
.page-hero h1 { color: var(--white); max-width: 900px; }
.page-hero p { font-size: 1.15rem; max-width: 720px; color: #c0d0e6; }
.breadcrumbs { font-size: .85rem; margin-bottom: 16px; color: #9fb4d2; }
.breadcrumbs a { color: var(--lagoon-300); }

/* ---------- Credential strip ---------- */
.cred-strip { position: relative; z-index: 2; margin-top: -70px; }
.cred-strip .inner { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; }
.cred { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.cred:last-child { border-right: 0; }
.cred .big { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy-900); line-height: 1; margin-bottom: 6px; }
.cred .big .text-grad { font-weight: 800; }
.cred .big.cred-icon { color: var(--lagoon-600); display: flex; justify-content: center; align-items: center; height: 2rem; }
.cred .big.cred-icon svg { width: 2.1rem; height: 2.1rem; }
.cred .small { font-size: .84rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) { .cred-strip .inner { grid-template-columns: repeat(2, 1fr); } .cred { border-bottom: 1px solid var(--line); } .cred:nth-child(2n) { border-right: 0; } .cred:last-child { grid-column: 1 / -1; border-bottom: 0; } }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--lagoon-100); color: var(--lagoon-600);
}
.card .icon svg { width: 28px; height: 28px; }
.card.accent-gold .icon { background: #fff2d6; color: #c47f00; }
.card.accent-coral .icon { background: #f5ecdc; color: #7a5426; }
.card.accent-sky .icon { background: #e0f4fe; color: #0284c7; }
.card.accent-navy .icon { background: #e3e9f5; color: var(--navy-700); }
.card .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 12px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
.card-dark { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #c7d5ea; box-shadow: none; }
.card-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(94,234,212,.4); }
.card-dark h3 { color: var(--white); }
.card-dark .icon { background: rgba(94,234,212,.12); color: var(--lagoon-300); }
.card-top-bar::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad-lagoon); }
.card-top-bar.gold::before { background: var(--grad-sunrise); }
.card-list { list-style: none; padding: 0; margin: 14px 0 0; }
.card-list li { padding: 6px 0 6px 28px; position: relative; font-size: .97rem; }
.card-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--lagoon-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.bg-navy .card-list li::before, .card-dark .card-list li::before { background-color: rgba(94,234,212,.15); }

/* ---------- Definition block ---------- */
.definition {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.definition::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--grad-lagoon); opacity: .12; }
.definition .word { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--navy-900); font-weight: 700; }
.definition .phon { color: var(--muted); font-style: italic; margin-left: 10px; font-size: 1rem; }
.definition .pos { display: inline-block; margin: 6px 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lagoon-600); }
.definition p { font-size: 1.12rem; }
.definition mark { background: linear-gradient(transparent 60%, rgba(245,184,65,.45) 60%); color: inherit; padding: 0 2px; }

/* ---------- Pull quote ---------- */
.pullquote { position: relative; padding: clamp(32px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--grad-hero); color: var(--white); overflow: hidden; }
.pullquote::before { content: "\201C"; position: absolute; top: -40px; left: 20px; font-family: var(--font-display); font-size: 16rem; line-height: 1; color: rgba(94,234,212,.18); }
.pullquote blockquote { margin: 0; position: relative; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; font-weight: 500; }
.pullquote blockquote strong { color: var(--gold-400); font-weight: 600; }
.pullquote cite { display: block; margin-top: 18px; font-style: normal; color: var(--lagoon-300); font-size: .95rem; font-family: var(--font-body); letter-spacing: .04em; }

.quote-simple { border-left: 4px solid var(--gold-500); padding: 8px 0 8px 24px; margin: 28px 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--navy-900); }
.quote-simple cite { display: block; font-family: var(--font-body); font-size: .9rem; font-style: normal; color: var(--muted); margin-top: 8px; }
.bg-navy .quote-simple { color: var(--white); }
.bg-navy .quote-simple cite { color: #9fb4d2; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats .stat:last-child { grid-column: 1 / -1; } }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px 22px; text-align: left; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1; margin-bottom: 10px; background: var(--grad-sunrise); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(even) .num { background: var(--grad-lagoon); -webkit-background-clip: text; background-clip: text; }
.stat p { margin: 0; font-size: .95rem; color: #c0cfe5; line-height: 1.45; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: .95rem; box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s; }
.chip:hover { transform: translateY(-2px); border-color: var(--lagoon-500); }
.chip svg { width: 18px; height: 18px; color: var(--lagoon-600); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--lagoon-300) 0 10px, transparent 10px 20px); }
.step { text-align: center; position: relative; padding: 0 8px; }
.step .n { counter-increment: step; width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--white); border: 2px solid var(--lagoon-500); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--navy-900); position: relative; box-shadow: 0 0 0 8px var(--sand-50); }
.step:nth-child(2) .n { border-color: var(--sky-400); }
.step:nth-child(3) .n { border-color: var(--gold-500); }
.step:nth-child(4) .n { border-color: var(--coral-500); }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cook Islands band ---------- */
.lagoon-band { position: relative; overflow: hidden; background: linear-gradient(160deg, #062a40 0%, #0b4a5e 55%, #11606c 100%); color: #dff6f4; isolation: isolate; }
.lagoon-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 80% 20%, rgba(255,255,255,.18), transparent 60%), radial-gradient(500px 280px at 15% 85%, rgba(245,184,65,.22), transparent 60%); }
.lagoon-band h2, .lagoon-band h3 { color: var(--white); }
.lagoon-band .eyebrow { color: var(--gold-400); }
.lagoon-band .lead { color: #c5ece8; }
.island-art { width: 100%; max-width: 520px; justify-self: center; filter: drop-shadow(0 30px 50px rgba(0,0,0,.25)); }
.fact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.fact-list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 18px; }
.fact-list svg { width: 24px; height: 24px; flex: none; color: var(--gold-400); margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); background: var(--grad-hero); color: #d2dff1; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: var(--grad-sunrise); opacity: .25; z-index: -1; }
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; left: -100px; bottom: -160px; border-radius: 50%; background: var(--grad-lagoon); opacity: .25; z-index: -1; }
.cta-band h2 { color: var(--white); }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Gauge teaser ---------- */
.gauge-wrap { position: relative; max-width: 360px; margin-inline: auto; }
.gauge-wrap svg { width: 100%; height: auto; }
.gauge-needle { transform-origin: 150px 150px; transform: rotate(-80deg); transition: transform 2.2s cubic-bezier(.2,.9,.25,1.15); }
.gauge-wrap.in .gauge-needle { transform: rotate(52deg); }

/* ---------- Video ---------- */
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-900); aspect-ratio: 16/9; }
.video-frame video, .video-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-facade { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: var(--navy-900) center / cover no-repeat; display: grid; place-items: center; width: 100%; }
.yt-facade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,40,.05), rgba(6,20,40,.55)); transition: opacity .2s; }
.yt-facade .play { position: relative; width: 72px; height: 72px; border-radius: 50%; background: var(--grad-sunrise); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.yt-facade .play svg { width: 28px; height: 28px; color: var(--navy-950); margin-left: 4px; }
.yt-facade:hover .play { transform: scale(1.1); }
.video-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.video-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.video-card .video-frame { border-radius: 0; box-shadow: none; }
.video-card .body { padding: 20px 22px 24px; }
.video-card h3 { font-size: 1.1rem; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; line-height: 1.35; }
.video-card .src { font-size: .87rem; color: var(--muted); margin: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--lagoon-100); color: var(--lagoon-600); margin-bottom: 10px; }
.tag.gold { background: #fff2d6; color: #b07000; }
.tag.coral { background: #f5ecdc; color: #8a6424; }
.tag.navy { background: #e3e9f5; color: var(--navy-700); }

/* ---------- Downloads ---------- */
.dl-list { display: grid; gap: 14px; }
.dl {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dl:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--lagoon-500); color: var(--ink); }
.dl .ft { width: 50px; height: 56px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .05em; color: var(--white); background: var(--coral-500); position: relative; }
.dl .ft.docx { background: #2563eb; }
.dl .ft.mp3 { background: var(--lagoon-600); }
.dl .meta { flex: 1; min-width: 0; }
.dl .meta strong { display: block; font-weight: 600; line-height: 1.35; }
.dl .meta span { font-size: .86rem; color: var(--muted); }
.dl .arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-100); color: var(--navy-900); flex: none; transition: background .2s; }
.dl:hover .arrow { background: var(--grad-lagoon); }
.dl .arrow svg { width: 18px; height: 18px; }

/* ---------- Press / logos ---------- */
.press-bar { display: grid; grid-template-columns: repeat(5, auto); justify-content: center; justify-items: center; align-items: center; gap: 18px 48px; }
.press-bar span { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #8a96ab; letter-spacing: -.01em; transition: color .2s; }
.press-bar span:hover { color: var(--navy-900); }
@media (max-width: 1000px) { .press-bar { grid-template-columns: repeat(2, auto); gap: 14px 48px; } }
@media (max-width: 560px) { .press-bar { gap: 12px 16px; } .press-bar span { font-size: .9rem; } .press-bar span.press-long { white-space: normal; text-align: center; line-height: 1.25; } }
.press-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; color: var(--ink); height: 100%; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.post-card .cover { height: 150px; position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.95); }
.post-card .cover svg { width: 54px; height: 54px; position: relative; z-index: 1; }
.post-card .cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 120px at 80% 0%, rgba(255,255,255,.3), transparent 70%); }
.cover-0 { background: linear-gradient(135deg, #0a1f3c, #14b8a6); }
.cover-1 { background: linear-gradient(135deg, #f5b841, #a87b3c); }
.cover-2 { background: linear-gradient(135deg, #11305a, #3b82a8); }
.cover-3 { background: linear-gradient(135deg, #0d9488, #5eead4); }
.cover-4 { background: linear-gradient(135deg, #1b4277, #a87b3c); }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-cat { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { font-size: 1.22rem; margin: 8px 0 10px; line-height: 1.3; }
.post-card p { font-size: .95rem; color: var(--muted); flex: 1; }
.post-card .more { font-weight: 600; color: var(--lagoon-600); }
.blog-tools { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.blog-tools input { flex: 1 1 280px; max-width: 420px; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line); font: inherit; background: var(--white); }
.filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btns button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; color: var(--ink); }
.filter-btns button.active, .filter-btns button:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.article { font-size: 1.1rem; line-height: 1.8; }
.article h3 { margin-top: 1.6em; font-size: 1.55rem; }
.article h4 { margin-top: 1.4em; font-size: 1.25rem; }
.article blockquote { border-left: 4px solid var(--lagoon-500); margin: 1.5em 0; padding: 4px 0 4px 22px; color: var(--navy-800); font-style: italic; }
.article ul, .article ol { margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: #b9c9e0; font-size: .95rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 18px; height: 18px; color: var(--lagoon-300); }
.page-hero h1 svg { width: .8em; height: .8em; vertical-align: -.05em; }
.author-box { display: flex; gap: 20px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--sand-50); border: 1px solid var(--line); margin-top: 48px; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center; flex: none; }
.author-box p { margin: 0; font-size: .95rem; color: var(--muted); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav a { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.post-nav a span { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.post-nav a:hover { border-color: var(--lagoon-500); }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--lagoon-300); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; font-size: 1.07rem; position: relative; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--lagoon-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; padding-left: 34px; list-style: none; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--lagoon-500), var(--gold-500), var(--coral-500)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 24px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--lagoon-500); }
.timeline li:nth-child(3n+2)::before { border-color: var(--gold-500); }
.timeline li:nth-child(3n)::before { border-color: var(--coral-500); }
.timeline strong { display: block; color: var(--navy-900); font-size: 1.05rem; }
.timeline span { font-size: .93rem; color: var(--muted); }

.talks { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .talks { grid-template-columns: 1fr; } }
.talk { background: var(--white); border-radius: 14px; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--lagoon-500); }
.talk:nth-child(3n+2) { border-left-color: var(--gold-500); }
.talk:nth-child(3n) { border-left-color: var(--coral-500); }
.talk strong { display: block; color: var(--navy-900); line-height: 1.4; }
.talk span { font-size: .9rem; color: var(--muted); }

.photo-stack { position: relative; }
.photo-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-height: 720px; object-fit: cover; object-position: center 30%; }
.photo-stack .sub { position: absolute; width: 58%; right: -16px; bottom: -36px; max-height: none; object-fit: contain; border: 6px solid var(--white); border-radius: 22px; }
@media (max-width: 900px) { .photo-stack .sub { right: 0; } }

/* ---------- Exposure test ---------- */
.risk-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .risk-layout { grid-template-columns: 1fr; } }
.risk-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; }
.risk-group { min-width: 0; margin-inline: 0; }
.score-mini { display: none; }
@media (max-width: 960px) {
  .score-panel { position: static; }
  .score-mini { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-radius: 16px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(150%); transition: transform .3s; }
  .score-mini.show { transform: none; }
  .score-mini strong { font-family: var(--font-display); font-size: 1.6rem; }
  .score-mini a { color: var(--gold-400); font-weight: 600; font-size: .9rem; }
}
@media (max-width: 560px) { .risk-group { padding: 20px 10px; } .risk-group h3 { padding-left: 8px; } .risk-item { padding: 10px 8px; gap: 10px; } }
.risk-group h3 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lagoon-600); margin-bottom: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.risk-group h3 svg { width: 20px; height: 20px; }
.risk-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, border-color .15s; line-height: 1.45; }
.risk-item:hover { background: var(--sand-50); border-color: var(--lagoon-100); }
.risk-item input { appearance: none; width: 24px; height: 24px; border: 2px solid #c3ccd9; border-radius: 7px; flex: none; display: grid; place-items: center; cursor: pointer; transition: all .15s; margin: 0; background: var(--white); }
.risk-item input:checked { background: var(--grad-lagoon); border-color: var(--lagoon-500); }
.risk-item input:checked::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--navy-950); border-bottom: 3px solid var(--navy-950); transform: rotate(-45deg) translate(1px, -1px); }
.risk-item.checked { background: #effcf9; border-color: var(--lagoon-300); }
.risk-item .txt { flex: 1; }
.risk-item .pts { font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--sand-100); padding: 3px 9px; border-radius: 999px; flex: none; }
.risk-item.checked .pts { background: var(--navy-900); color: var(--white); }
.score-panel { position: sticky; top: calc(var(--header-h) + 20px); background: var(--grad-hero); color: #cfdcf0; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); overflow: hidden; }
.score-panel h3 { color: var(--white); font-size: 1.1rem; font-family: var(--font-body); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.score-gauge { position: relative; max-width: 300px; margin: 6px auto 0; }
.score-gauge svg { width: 100%; height: auto; overflow: visible; }
.score-gauge .arc-fill { transition: stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1), stroke .4s; }
.score-gauge .needle { transform-origin: 150px 150px; transition: transform .6s cubic-bezier(.2,.8,.2,1.2); }
.score-readout { text-align: center; margin-top: 4px; }
.score-readout .num { font-family: var(--font-display); font-size: 4rem; font-weight: 700; line-height: 1; color: var(--white); }
.score-readout .lvl { display: inline-block; margin-top: 10px; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; letter-spacing: .04em; background: rgba(255,255,255,.12); color: var(--white); }
.lvl.avg { background: #22c55e; color: #052e14; }
.lvl.above { background: #f59e0b; color: #3b2300; }
.lvl.high { background: #f43f5e; color: var(--white); }
.lvl.extreme { background: #9f1239; color: var(--white); }
.score-result { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.score-result h4 { color: var(--white); font-size: 1.3rem; }
.score-result p { font-size: .97rem; }
.score-email { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; }
.score-email label { color: var(--white); font-weight: 600; font-size: .95rem; }
.score-email .opt { color: #9fb4d2; font-weight: 400; }
.score-email .form-status:empty { display: none; }
.score-email .form-status.ok { color: #7fd8c9; }
.score-email .form-status.err { color: #ffb4a8; }
.score-panel .disclaimer { font-size: .78rem; color: #8fa5c6; margin: 18px 0 0; }

/* ---------- Mind map ---------- */
.mindmap { display: grid; gap: 16px; }
.mm-branch { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.mm-branch > button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; font-weight: 700; font-size: 1.1rem; color: var(--navy-900); }
.mm-branch > button .dot { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--white); }
.mm-branch > button .dot svg { width: 22px; height: 22px; }
.mm-branch > button > svg:last-child { margin-left: auto; width: 22px; height: 22px; transition: transform .3s; color: var(--muted); }
.mm-branch.open > button > svg:last-child { transform: rotate(180deg); }
.mm-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.mm-branch.open .mm-body { grid-template-rows: 1fr; }
.mm-body > div { overflow: hidden; }
.mm-leaves { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 24px 24px 84px; }
@media (max-width: 600px) { .mm-leaves { padding-left: 24px; } }
.mm-leaves span { padding: 8px 14px; border-radius: 10px; background: var(--sand-50); border: 1px solid var(--line); font-size: .93rem; }
.mm-sub { padding: 0 24px 20px 84px; }
@media (max-width: 600px) { .mm-sub { padding-left: 24px; } }
.mm-sub h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
.mm-sub .mm-leaves { padding: 0 0 8px; }
.mm-controls { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }

/* Timing */
.timing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.timing > div { padding: 32px 28px; color: var(--white); }
.timing h3 { color: var(--white); font-size: 1.3rem; }
.timing p { margin: 0; font-size: .97rem; opacity: .92; }
.timing .t1 { background: linear-gradient(160deg, #0d9488, #14b8a6); }
.timing .t2 { background: linear-gradient(160deg, #d99a1e, #f5b841); color: var(--navy-950); }
.timing .t2 h3 { color: var(--navy-950); }
.timing .t3 { background: linear-gradient(160deg, #7a5426, #a87b3c); }
.timing .lbl { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; display: block; margin-bottom: 8px; }
@media (max-width: 820px) { .timing { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy-900); }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--lagoon-500); box-shadow: 0 0 0 4px rgba(42,157,143,.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 600; margin: 0; }
.form-status.ok { color: var(--lagoon-600); }
.form-status.err { color: var(--coral-500); }

.contact-methods { display: grid; gap: 14px; }
.cm { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #d2dff1; transition: background .2s, transform .2s; }
.cm:hover { background: rgba(255,255,255,.12); color: var(--white); transform: translateX(4px); }
.cm .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-lagoon); color: var(--navy-950); flex: none; }
.cm:nth-child(even) .ico { background: var(--grad-sunrise); }
.cm .ico svg { width: 22px; height: 22px; }
.cm small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb4d2; }
.cm strong { color: var(--white); font-size: 1.05rem; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/10; border: 0; width: 100%; }
.calendly-inline-widget { min-width: 320px; height: 700px; border-radius: var(--radius); overflow: hidden; }


/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 220px; padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--white); font: inherit; }
.newsletter input::placeholder { color: #9fb4d2; }
.newsletter input:focus { outline: none; border-color: var(--lagoon-300); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9bad3; font-size: .95rem; position: relative; }
.site-footer a { color: #d2dff1; }
.site-footer a:hover { color: var(--gold-400); }
.footer-news { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px 56px; align-items: center; padding: 56px 0 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-news h4 { margin-bottom: 10px; }
.footer-news .fn-title { color: var(--white); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.footer-news .fn-sub { font-size: .88rem; margin: 0; }
.footer-news .fn-sub a { text-decoration: underline; text-underline-offset: 3px; }
.footer-news .newsletter input { min-width: 0; flex: 1 1 200px; }
.footer-news .newsletter input[name=name] { flex: 1 1 130px; }
.footer-news .newsletter .form-status { flex-basis: 100%; }
.footer-news .newsletter .form-status:empty { display: none; }
.site-footer .form-status.ok { color: #7fd8c9; }
.site-footer .form-status.err { color: #ffb4a8; }
@media (max-width: 860px) { .footer-news { grid-template-columns: 1fr; } }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding: 56px 0 48px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer .brand-text span { color: #8ea3c4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #7f93b3; }
.footer-bottom p { margin: 0; }
.disclaimer-text { font-size: .8rem; color: #7f93b3; line-height: 1.6; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.social a:hover { background: var(--grad-lagoon); color: var(--navy-950); }
.social svg { width: 18px; height: 18px; }


/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* misc */
.pill-note { display: inline-flex; gap: 10px; align-items: center; background: var(--lagoon-100); color: var(--lagoon-600); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.divider-dots { height: 14px; background: radial-gradient(circle, var(--line) 2px, transparent 2.5px) center / 18px 14px repeat-x; margin: 48px 0; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.highlight-box { background: var(--sand-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.caps-callout { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; color: var(--navy-900); background: linear-gradient(120deg, #fff6e0, #e6fbf7); border-radius: var(--radius); padding: 28px 32px; border: 1px solid #f3e2b8; }

/* ---------- Services mega menu ---------- */
.mega-toggle { display: none; }
.main-nav .mega a:not(.btn) { display: flex; padding: 0; border-radius: 0; white-space: normal; background: none; font-size: inherit; font-weight: inherit; color: inherit; }

@media (min-width: 1281px) {
  .has-mega { position: static; }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(6, 20, 40, .18);
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: opacity .22s ease, transform .22s ease, visibility 0s;
  }
  .has-mega.closing .mega { opacity: 0; visibility: hidden; pointer-events: none; }
  .has-mega:hover > .mega-trigger, .has-mega.open > .mega-trigger { color: var(--lagoon-600); background: var(--lagoon-100); }
}

.mega-inner { width: min(100% - 40px, var(--container)); margin-inline: auto; display: grid; grid-template-columns: 320px 1fr; gap: 28px; padding: 28px 0; }
.mega-feature {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-hero); color: #c7d6ec; border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.mega-feature::before { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: var(--grad-lagoon); opacity: .35; z-index: -1; }
.mega-feature::after { content: ""; position: absolute; width: 160px; height: 160px; left: -70px; bottom: -80px; border-radius: 50%; background: var(--grad-sunrise); opacity: .25; z-index: -1; }
.mega-feature-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mega-feature-top img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center; border: 2px solid var(--gold-400); }
.mega-feature-top strong { display: block; color: var(--white); font-size: .95rem; line-height: 1.25; }
.mega-feature-top span { display: block; font-size: .78rem; line-height: 1.4; color: #9fb4d2; margin-top: 2px; }
.mega-feature h3 { color: var(--white); font-size: 1.35rem; margin-bottom: .35em; }
.mega-feature p { font-size: .9rem; line-height: 1.55; margin-bottom: 18px; }
.main-nav .mega .mega-feature .btn { color: var(--navy-950); padding: .8em 1.2em; font-size: .88rem; }
.main-nav .mega a.mega-feature-link { align-items: center; gap: 8px; margin-top: 14px; font-size: .86rem; color: var(--lagoon-300); font-weight: 600; }
.main-nav .mega a.mega-feature-link:hover { color: var(--gold-400); }
.mega-feature-link svg { width: 16px; height: 16px; }

.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; }
.main-nav .mega a.mega-item {
  gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; color: var(--ink);
  border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.main-nav .mega a.mega-item:hover, .main-nav .mega a.mega-item:focus-visible { background: var(--sand-50); border-color: var(--line); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
.mi-icon { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; color: var(--white); box-shadow: 0 8px 18px rgba(10,31,60,.15); transition: transform .25s; }
.mi-icon svg { width: 24px; height: 24px; }
.mega-item:hover .mi-icon { transform: scale(1.08) rotate(-4deg); }
.mi-lagoon .mi-icon { background: var(--grad-lagoon); }
.mi-gold .mi-icon { background: var(--grad-sunrise); }
.mi-sky .mi-icon { background: linear-gradient(135deg, #1b4277, #3b82a8); }
.mi-coral .mi-icon { background: linear-gradient(135deg, #7a5426, #a87b3c); }
.mi-navy .mi-icon { background: linear-gradient(135deg, #0a1f3c, #3b5ba8); }
.mi-teal .mi-icon { background: linear-gradient(135deg, #0d9488, #0a1f3c); }
.mi-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mi-text strong { font-size: .97rem; color: var(--navy-900); line-height: 1.3; font-weight: 700; }
.mi-text > span { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.mega-item:hover .mi-text strong { color: var(--lagoon-600); }

.mega-foot { background: var(--sand-50); border-top: 1px solid var(--line); }
.mega-foot-inner { width: min(100% - 40px, var(--container)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 14px 0; }
.main-nav .mega .mega-foot a { align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.main-nav .mega .mega-foot a:hover { color: var(--lagoon-600); }
.mega-foot svg { width: 16px; height: 16px; color: var(--lagoon-600); }
.main-nav .mega .mega-foot a.mega-all { margin-left: auto; color: var(--navy-900); font-weight: 700; }
.main-nav .mega .mega-foot a.mega-all svg { transition: transform .2s; }
.main-nav .mega .mega-foot a.mega-all:hover svg { transform: translateX(4px); }

/* Mobile: Services expands inline inside the slide-down menu */
@media (max-width: 1280px) {
  .has-mega { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .mega-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--sand-100); color: var(--navy-900); cursor: pointer; }
  .mega-toggle svg { width: 20px; height: 20px; transition: transform .25s; }
  .has-mega.open .mega-toggle { background: var(--lagoon-100); color: var(--lagoon-600); }
  .has-mega.open .mega-toggle svg { transform: rotate(180deg); }
  .mega { grid-column: 1 / -1; display: none; }
  .has-mega.open .mega { display: block; }
  .mega-inner { width: 100%; grid-template-columns: 1fr; padding: 6px 0 4px; gap: 0; }
  .mega-feature { display: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 2px; }
  .main-nav .mega a.mega-item { padding: 10px 12px; align-items: center; }
  .mi-icon { width: 38px; height: 38px; border-radius: 11px; box-shadow: none; }
  .mi-icon svg { width: 19px; height: 19px; }
  .mi-text > span { display: none; }
  .mega-foot { background: none; border: 0; }
  .mega-foot-inner { width: 100%; padding: 4px 12px 10px; gap: 8px 18px; }
  .main-nav .mega .mega-foot a.mega-all { margin-left: 0; }
}
@media (min-width: 1281px) and (max-width: 1360px) {
  .mega-inner { grid-template-columns: 280px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mega, .mega-item, .mi-icon { transition: none !important; }
}

/* Media mega menu: video feature card + press strip */
.main-nav .mega a.mega-feature-video {
  flex-direction: column; align-items: stretch; padding: 0; border-radius: var(--radius); color: #c7d6ec;
  background: var(--grad-hero); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.main-nav .mega a.mega-feature-video:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: #c7d6ec; }
.mfv-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8.5; background: #fff center / cover no-repeat; }
.mfv-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,40,0) 40%, rgba(6,20,40,.55)); }
.mfv-play { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--grad-sunrise); display: grid; place-items: center; color: var(--navy-950); box-shadow: 0 10px 26px rgba(0,0,0,.3); transition: transform .25s; }
.mfv-play svg { width: 22px; height: 22px; margin-left: 3px; }
.mega-feature-video:hover .mfv-play { transform: scale(1.1); }
.mfv-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 22px; }
.mfv-tag { align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-950); background: var(--lagoon-300); padding: 3px 10px; border-radius: 999px; }
.mfv-body strong { font-family: var(--font-display); color: var(--white); font-size: 1.2rem; line-height: 1.25; font-weight: 600; }
.mfv-body > span:not(.mfv-tag):not(.mfv-cta) { font-size: .86rem; line-height: 1.5; }
.mfv-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .86rem; font-weight: 700; color: var(--gold-400); }
.mfv-cta svg { width: 15px; height: 15px; transition: transform .2s; }
.mega-feature-video:hover .mfv-cta svg { transform: translateX(4px); }
.mega-feature-video::before, .mega-feature-video::after { display: none; }
.mega-press { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.mega-press b { color: var(--navy-800); font-weight: 600; }
@media (max-width: 1280px) {
  .main-nav .mega a.mega-feature-video, .mega-press { display: none; }
}

/* Cook Islands mega menu: lagoon quote card */
.mega-feature.mega-feature-lagoon { background: linear-gradient(160deg, #062a40 0%, #0b4a5e 55%, #11606c 100%); color: #dff6f4; padding-top: 18px; }
.mega-feature-lagoon::before { background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%); opacity: .5; }
.mega-feature-lagoon::after { background: var(--grad-sunrise); opacity: .18; }
.mfl-art { width: 100%; height: auto; margin-bottom: 10px; }
.mega-feature-lagoon blockquote { margin: 0 0 18px; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.4; color: var(--white); }
.mega-feature-lagoon blockquote strong { color: var(--gold-400); font-weight: 600; }
.main-nav .mega .mega-feature-lagoon a.mega-feature-link { color: #ccfbf1; }

/* Compact page intro (contact page) */
.page-hero-compact { padding: 36px 0 70px; }
.page-hero-compact h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .2em; }
.page-hero-compact p { font-size: 1.05rem; margin: 0; }
.page-hero-compact .breadcrumbs { margin-bottom: 10px; }
.page-hero-compact .wave svg { height: clamp(36px, 4vw, 56px); }
.section.contact-top { padding-top: 24px; }
.contact-card { border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.contact-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-address { display: inline-flex; align-items: center; gap: 8px; color: #b9c9e0; font-size: .92rem; margin-bottom: 18px; }
.contact-address:hover { color: var(--gold-400); }
.contact-address svg { width: 16px; height: 16px; color: var(--lagoon-300); flex: none; }
.contact-methods.two-col { grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-methods.two-col .cm { padding: 12px 14px; gap: 12px; }
.contact-methods.two-col .cm .ico { width: 40px; height: 40px; border-radius: 12px; }
.contact-methods.two-col .cm .ico svg { width: 19px; height: 19px; }
.contact-methods.two-col .cm strong { font-size: .95rem; overflow-wrap: anywhere; }
@media (max-width: 560px) { .contact-methods.two-col { grid-template-columns: 1fr; } .contact-card { padding: 22px 18px; } }
@media (max-width: 560px) {
  .page-hero-compact { padding: 20px 0 44px; }
  .page-hero-compact .breadcrumbs { display: none; }
  .page-hero-compact h1 { font-size: 1.9rem; }
  .page-hero-compact p { font-size: .98rem; }
  .section.contact-top { padding-top: 8px; }
  .contact-card h2 { font-size: 1.3rem; }
  .contact-address { font-size: .85rem; margin-bottom: 12px; align-items: flex-start; }
  .contact-methods.two-col { gap: 6px; }
  .contact-methods.two-col .cm { padding: 9px 12px; }
  .contact-methods.two-col .cm .ico { width: 34px; height: 34px; border-radius: 10px; }
  .contact-methods.two-col .cm small { font-size: .7rem; }
}
@media (min-width: 901px) { .contact-top .split { grid-template-columns: 1.25fr 1fr; gap: 48px; } }
@media (min-width: 901px) and (max-width: 1260px) { .contact-methods.two-col { grid-template-columns: 1fr; } }

/* About Craig mega menu: portrait feature card */
.mega-feature.mega-feature-photo { padding: 0; background: var(--grad-hero); }
.mega-feature-photo::before { opacity: .22; }
.mega-feature-photo::after { display: none; }
.mfp-photo { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.mfp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.mfp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,40,0) 45%, rgba(6,20,40,.85)); }
.mfp-name { position: absolute; left: 20px; right: 20px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; }
.mfp-name strong { color: var(--white); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.mfp-name span { color: var(--gold-400); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.mfp-body { display: flex; flex-direction: column; align-items: flex-start; padding: 16px 20px 20px; }
.mfp-quote { font-family: var(--font-display); font-style: italic; color: #dbe6f6; font-size: 1rem; line-height: 1.4; margin-bottom: 14px; }

/* Header: Free Consultation button sits above the menu links */
.header-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; }
.header-cta { padding: .6em 1.15em; font-size: .86rem; }
.header-cta:hover { transform: translateY(-1px); }
@media (min-width: 1281px) {
  .main-nav .nav-cta { display: none; }
}
@media (max-width: 1280px) {
  .header-right { flex-direction: row; align-items: center; }
  :root { --header-h: 96px; }
  .header-cta { display: none; }
}

/* Homepage hero: deep navy with gold neoclassical line art */
.hero.hero-pro { background:
    radial-gradient(900px 520px at 78% 18%, rgba(220,187,108,.10), transparent 62%),
    linear-gradient(135deg, #061428 0%, #0a1f3c 55%, #0e2b4d 100%); }
.hero.hero-pro::before {
  background:
    url("../img/hero-columns.svg") right -90px bottom 64px / auto 76% no-repeat,
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 44px);
  opacity: .9;
}
.hero.hero-pro::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,20,40,.97) 0%, rgba(6,20,40,.9) 45%, rgba(6,20,40,.55) 72%, rgba(6,20,40,.5) 100%); }
.hero.hero-pro .container { position: relative; }
.hero.hero-pro .container::before { content: ""; display: block; width: 64px; height: 3px; background: var(--gold-500); margin-bottom: 26px; border-radius: 2px; }
@media (max-width: 900px) {
  .hero.hero-pro::before { background-size: auto 60%, auto, auto; background-position: right -120px bottom 80px, 0 0, 0 0; opacity: .5; }
  .hero.hero-pro::after { background: linear-gradient(180deg, rgba(6,20,40,.7), rgba(6,20,40,.9)); }
}
.section-head.section-head-wide { max-width: none; }
@media (max-width: 560px) { .h2-two-line { font-size: clamp(1.2rem, 6.2vw, 1.9rem); } }

/* ==========================================================================
   Professional refinements: calmer shapes, solid accents, modern type
   ========================================================================== */
.main-nav a { border-radius: var(--radius-sm); }
.main-nav .mega a.mega-item { border-radius: var(--radius); }
.newsletter input, .blog-tools input, .filter-btns button { border-radius: var(--radius-sm); }
.card .icon, .mi-icon, .pp-ico { border-radius: 10px; }

/* Accent words: solid colour reads cleaner than gradient-filled text */
.text-grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #b07d22; }
.text-lagoon { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--lagoon-600); }
.hero .text-grad, .page-hero .text-grad, .bg-navy .text-grad, .bg-hero .text-grad, .lagoon-band .text-grad, .cta-band .text-grad { color: var(--gold-400); }
.hero .text-lagoon, .page-hero .text-lagoon, .bg-navy .text-lagoon, .lagoon-band .text-lagoon { color: var(--lagoon-300); }

/* Hero subheading in the modern sans */
.hero .hero-sub { font-weight: 600; letter-spacing: -.01em; }

/* Portraits: clean card, no tilted colour blob */
.portrait-card::before { display: none; }
.portrait-card { border-radius: var(--radius-lg); }
.portrait-card .photo { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.portrait-plate { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.photo-stack img { border-radius: var(--radius-lg); }
.photo-stack .sub { border-radius: var(--radius); }

/* Gentler scroll-in animation */
.js .reveal { transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { transform: none; }

/* "Hair on fire" timing card keeps a clear warning tone */
.timing .t3 { background: linear-gradient(160deg, #7f2d2b, #a8443f); }

/* Statistics: keep each figure on one line in the wider sans */
.stat .num { white-space: nowrap; font-size: clamp(1.9rem, 2.9vw, 2.6rem); letter-spacing: -.03em; }

/* Mega menus: one restrained palette (navy + gold) instead of a colour per item */
.mi-lagoon .mi-icon, .mi-gold .mi-icon, .mi-sky .mi-icon, .mi-coral .mi-icon, .mi-navy .mi-icon, .mi-teal .mi-icon {
  background: var(--navy-900); color: var(--gold-400); box-shadow: none;
}
.mega-item:hover .mi-icon { transform: none; background: var(--navy-700); }
.mega-item:hover .mi-text strong { color: var(--navy-700); }
.mega-foot svg { color: var(--gold-500); }
.main-nav .mega a.mega-feature-link, .main-nav .mega .mega-feature-lagoon a.mega-feature-link { color: var(--gold-400); }
.main-nav .mega a.mega-feature-link:hover { color: #fff; }
.mfv-tag { background: var(--gold-400); }
.mega-feature::before, .mega-feature::after { display: none; }
.mega-feature.mega-feature-lagoon { background: var(--grad-hero); color: #c7d6ec; }
.mfl-art { filter: grayscale(1) brightness(1.6); opacity: .35; }

/* Mega menus: identical feature panel size in every menu */
@media (min-width: 1281px) {
  .mega-inner { align-items: center; }
  .mega-feature, .main-nav .mega a.mega-feature-video { width: 320px; height: 380px; box-sizing: border-box; overflow: hidden; }
  .mega-feature:not(.mega-feature-photo):not(.mega-feature-video) { justify-content: center; }
  .mega-feature-photo .mfp-body, .mega-feature-video .mfv-body { flex: 1; justify-content: center; }
}
@media (min-width: 1281px) and (max-width: 1360px) {
  .mega-feature, .main-nav .mega a.mega-feature-video { width: 280px; }
}
.mft-badge { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid var(--gold-400); color: var(--gold-400); }
.mft-badge svg { width: 24px; height: 24px; }
.mega-feature-top .mft-badge { display: grid; place-items: center; margin-top: 0; font-size: inherit; }
.mega-feature h3 { text-wrap: balance; }

/* Anchor jumps (e.g. menu links to a section): land on the content, not on the
   section's top padding. Negative scroll margin skips most of that padding so
   content sits ~40px below the sticky header. */
.section[id] { scroll-margin-top: calc(24px - clamp(64px, 9vw, 120px)); }
.section-sm[id] { scroll-margin-top: calc(24px - clamp(44px, 6vw, 72px)); }

/* Homepage hero, decluttered: plain navy, centred single column */
.hero.hero-clean { background: linear-gradient(180deg, #0c2547 0%, #081b35 100%); }
.hero.hero-clean::before, .hero.hero-clean::after, .hero.hero-clean .container::before { display: none; }
.hero.hero-clean .container { text-align: center; justify-items: center; padding: clamp(64px, 7vw, 96px) 0 clamp(120px, 10vw, 140px); }
.hero.hero-clean h1 { max-width: 900px; margin-inline: auto; }
.hero.hero-clean .hero-sub { margin-inline: auto; margin-bottom: 1em; }
.hero.hero-clean p:not(.hero-sub) { max-width: 820px; margin-inline: auto; color: #b9c8de; text-wrap: balance; }
.hero.hero-clean .btn-row { justify-content: center; margin-top: 34px; }

/* Homepage hero: subtle flowing gold lines + soft glows (centre kept clear for text) */
.hero.hero-clean {
  background:
    radial-gradient(700px 380px at 12% 8%, rgba(220,187,108,.10), transparent 65%),
    radial-gradient(800px 420px at 92% 100%, rgba(59,130,168,.18), transparent 65%),
    linear-gradient(180deg, #0c2547 0%, #081b35 100%);
}
.hero.hero-clean::before {
  display: block; content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/hero-lines.svg") center / 100% 100% no-repeat;
  opacity: .62;
  -webkit-mask-image: radial-gradient(ellipse 46% 42% at 50% 44%, rgba(0,0,0,.25) 0%, #000 100%);
          mask-image: radial-gradient(ellipse 46% 42% at 50% 44%, rgba(0,0,0,.25) 0%, #000 100%);
}
@media (max-width: 760px) { .hero.hero-clean::before { opacity: .38; } }
.js .reveal.instant { transition: none; }

/* Footer contact column */
.footer-contact { gap: 14px !important; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--gold-400); margin-top: 2px; }
.footer-contact small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #7f93b3; margin-bottom: 1px; }
.footer-contact a { color: #d2dff1; }
.footer-contact a:hover { color: var(--gold-400); }

/* Top menu: a little more breathing room between links (desktop) */
@media (min-width: 1281px) {
  .main-nav ul { gap: 10px; }
  .main-nav > ul > li > a { padding: 8px 14px; }
}

/* Larger logo: emblem 56 -> 70px, name and tagline scaled to match */
.brand { gap: 14px; }
.brand-mark { width: 70px; height: 70px; }
.brand-text strong { font-size: 1.7rem; letter-spacing: -.02em; }
.brand-text span { font-size: .72rem; letter-spacing: .12em; margin-top: 5px; }
@media (max-width: 640px) { .brand-mark { width: 60px; height: 60px; } .brand-text strong { font-size: 1.45rem; } }
