/* =========================================================================
   Beaches Brain Clinic — Variant B: "COLUMN"
   Fintech / architectural-blueprint LAYOUT, recoloured to the original BRAND
   palette (green -> teal -> blue -> navy, shared with Variant A "Aurora").
   Keeps Column's identity: Inter Tight + JetBrains Mono, dotted blueprint grid,
   precise 8px geometry, flat solid buttons, mono technical labels.
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  /* Brand palette (shared with Aurora) */
  --green: #4FBE8C;
  --green-soft: #6BCB9F;
  --mint: #9FD9B6;
  --teal: #20B8AE;
  --teal-bright: #36C7BD;
  --sky: #4FB8EE;
  --blue: #2090D0;
  --blue-deep: #1F78C8;
  --navy: #0E3F77;
  --navy-deep: #0A2F5C;

  --ink: #0C2A4D;
  --ink-soft: #294966;
  --muted: #5E7186;
  --muted-light: #8A9AAB;

  /* Column role colours mapped onto the brand palette */
  --plum: #0E3F77;        /* dark brand surface — bands, footer, step 1 */
  --plum-2: #123F73;
  --action: #129E90;      /* primary CTA — deep brand teal (flat) */
  --action-2: #0E8377;
  --cyan: #1F78C8;        /* secondary accent — brand blue */
  --teal-note: #5FE0D2;   /* bright pop on dark surfaces */
  --moss: #4FBE8C;        /* brand green — success / checks */

  --line: #E5ECF3;
  --line-strong: #D4DEE8;
  --paper: #FAFCFE;
  --paper-2: #F1F6FB;
  --paper-warm: #F4F9F6;
  --card: #ffffff;

  --grad-brand: linear-gradient(118deg, var(--green) 0%, var(--teal) 30%, var(--blue) 64%, var(--navy) 100%);
  --grad-soft: linear-gradient(118deg, var(--green-soft), var(--teal-bright) 50%, var(--sky));
  --grad-horizon: linear-gradient(125deg, #4FBE8C, #36C7BD 26%, #20B8AE 46%, #2090D0 70%, #0E3F77 92%);
  --grad-ink: linear-gradient(160deg, #123F73 0%, #0E3F77 60%, #0A2F5C 100%);

  --font-display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 14px;
  --r-pill: 999px;
  --ring: 0 0 0 1px rgba(12,42,77,0.08);
  --shadow-sm: 0 0 0 1px rgba(12,42,77,0.06), 0 1px 2px rgba(12,42,77,0.06);
  --shadow-md: 0 0 0 1px rgba(12,42,77,0.07), 0 4px 14px -4px rgba(12,42,77,0.12);
  --shadow-lg: 0 0 0 1px rgba(12,42,77,0.08), 0 24px 48px -18px rgba(12,42,77,0.26);
  --shadow-glow: 0 28px 70px -26px rgba(32,144,208,0.4);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(29px, 4vw, 56px);

  --grid-dot: radial-gradient(rgba(14,63,119,0.10) 1px, transparent 1px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: rgba(32,184,174,0.22); color: var(--ink); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 3px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); }
.h-display { font-size: clamp(2.6rem, 6vw, 4.3rem); font-weight: 600; letter-spacing: -0.045em; }
.h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.h3 { font-size: clamp(1.18rem, 1.9vw, 1.4rem); font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep);
  display: inline-flex; align-items: center; gap: 0.55em;
}
.eyebrow::before { content: "//"; color: var(--action); font-weight: 700; }
.eyebrow.center { justify-content: center; }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
em.grad-text, .grad-text em { font-style: normal; }

/* Layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }
.section-head h2 { margin-top: 14px; }
.bg-paper-2 { background: var(--paper-2); }
.bg-warm { background: var(--paper-2); border-block: 1px solid var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-weight: 600; font-size: 0.94rem; padding: 0.8em 1.35em; border-radius: var(--r-md);
  border: 1px solid transparent; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s; white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { color: #fff; background: var(--action); box-shadow: 0 1px 2px rgba(12,42,77,0.18); }
.btn-primary:hover { background: var(--action-2); transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(18,158,144,0.5); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn-light { color: var(--navy); background: #fff; box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.06); }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.btn-lg { padding: 0.95em 1.6em; font-size: 0.98rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; font-size: 0.92rem; color: var(--action); transition: gap 0.2s, color 0.2s; }
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.2s; }
.link-arrow:hover { color: var(--action-2); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(255,255,255,0.9); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.brand img { width: 34px; height: 34px; }
.brand .brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; }
.brand .brand-name span { display: block; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); padding: 0.5em 0.8em; border-radius: var(--r-sm); transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--paper-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.has-dropdown { position: relative; }
.has-dropdown > button { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); background: none; border: none; padding: 0.5em 0.8em; border-radius: var(--r-sm); transition: color 0.2s, background 0.2s; }
.has-dropdown > button svg { width: 0.8em; height: 0.8em; transition: transform 0.2s; }
.has-dropdown:hover > button { color: var(--navy); background: var(--paper-2); }
.has-dropdown:hover > button svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 6px; min-width: 230px; opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 0.65em 0.8em; border-radius: var(--r-sm); font-size: 0.9rem; color: var(--ink-soft); }
.dropdown a strong { display: block; color: var(--ink); font-weight: 600; }
.dropdown a small { color: var(--muted); font-size: 0.78rem; font-family: var(--font-mono); }
.dropdown a:hover { background: var(--paper-2); }
.menu-toggle { display: none; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-sm); width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }

/* Mobile nav (only ever visible at the mobile breakpoint) */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: linear-gradient(170deg, #f6faf8 0%, #fff 38%); transform: translateX(100%); transition: transform 0.34s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; padding: 16px var(--gutter) 32px; overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; height: 54px; margin-bottom: 10px; order: -1; }
.mobile-nav::before { content: "// MENU"; font-family: var(--font-mono); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--teal); margin: 18px 0 6px; }
/* Direct children only — the brand link in the top row must NOT pick these up. */
.mobile-nav > a { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; padding: 0.62em 2px; border-bottom: 1px solid var(--line); color: var(--ink); letter-spacing: -0.02em; transition: color 0.2s, padding-left 0.2s; }
.mobile-nav > a::after { content: "→"; font-family: var(--font-mono); font-size: 0.85em; color: var(--line-strong); transition: color 0.2s, transform 0.2s; }
.mobile-nav > a:active { color: var(--action); }
.mobile-nav > a:active::after { color: var(--action); transform: translateX(3px); }
.mobile-nav > a.sub { font-family: var(--font-sans); font-size: 0.98rem; font-weight: 500; padding-left: 16px; color: var(--ink-soft); }
.mobile-nav > a.sub::after { content: "→"; font-size: 0.8em; }
.mobile-nav > a.btn { margin-top: 28px; border-bottom: none; justify-content: center; gap: 0.5em; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: #fff; padding: 1em 1.6em; }
.mobile-nav > a.btn::after { display: none; }

/* Hero — blueprint */
.hero { position: relative; padding-top: clamp(36px, 6vw, 72px); padding-bottom: var(--section-y); overflow: hidden; background: linear-gradient(165deg, #f1f9f5 0%, #eef6fb 50%, #f5f8fc 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-horizon); opacity: 0.9; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.18; }
.aurora .a1 { width: 40vw; height: 40vw; left: -8vw; top: -6vw; background: radial-gradient(circle, var(--teal), transparent 65%); }
.aurora .a2 { width: 42vw; height: 42vw; right: -10vw; top: -4vw; background: radial-gradient(circle, var(--blue), transparent 62%); }
.aurora .a3 { display: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { margin: 22px 0 0; }
.hero .lead { margin-top: 20px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; font-weight: 500; color: var(--ink-soft); font-family: var(--font-mono); }
.hero-trust svg { width: 18px; height: 18px; color: var(--moss); flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 400px; }
.medallion { position: relative; width: clamp(240px, 30vw, 330px); aspect-ratio: 1; border-radius: var(--r-xl); background: #fff; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: floaty 7s ease-in-out infinite; }
.medallion::before { content: ""; position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-left: 2px solid rgba(255,255,255,0.95); border-top: 2px solid rgba(255,255,255,0.95); z-index: 1; filter: drop-shadow(0 1px 2px rgba(2,24,33,0.45)); }
.medallion::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-right: 2px solid rgba(255,255,255,0.95); border-bottom: 2px solid rgba(255,255,255,0.95); z-index: 1; filter: drop-shadow(0 1px 2px rgba(2,24,33,0.45)); }
.medallion img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.glass-card { position: absolute; bottom: -28px; right: -4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-lg); max-width: 244px; animation: floaty 7s ease-in-out infinite 0.6s; }
.glass-card .gc-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; }
.glass-card .gc-role { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; }
.glass-card .gc-creds { display: flex; flex-wrap: wrap; gap: 6px; }
.glass-card .gc-creds span { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; color: var(--navy); background: rgba(12,42,77,0.07); padding: 3px 8px; border-radius: var(--r-sm); }
.glass-chip { position: absolute; top: 16px; left: -6px; background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 8px 14px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.82rem; font-family: var(--font-mono); animation: floaty 6.5s ease-in-out infinite 0.3s; }
.glass-chip b { font-family: var(--font-display); font-size: 1.1rem; color: var(--teal-note); }

/* Trust strip */
.trust-strip { border-block: 1px solid var(--line); background: var(--paper-2); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px clamp(20px, 5vw, 50px); padding-block: 22px; }
.trust-strip .tlabel { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }
.trust-strip .titem { font-family: var(--font-display); font-weight: 600; font-size: clamp(0.95rem, 1.4vw, 1.1rem); color: var(--ink-soft); letter-spacing: -0.02em; }

/* Cards */
.grid { display: grid; gap: clamp(16px, 2.2vw, 22px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 2.8vw, 30px); box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-horizon); opacity: 0; transition: opacity 0.25s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-link:hover::before { opacity: 1; }
.card-icon { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); color: var(--teal); margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .link-arrow { margin-top: 18px; }
.card-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-mono); font-size: 1.4rem; font-weight: 600; color: var(--line-strong); line-height: 1; }

/* Card grids with mixed-length headings: reserve 2 heading lines so the body copy
   starts at the same height. Desktop only — cards stack on mobile, so it's moot there. */
@media (min-width: 721px) { .cards-balance .card h3 { min-height: 2lh; } }

/* About */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.portrait::after { content: ""; position: absolute; inset: -16px -16px auto auto; width: 110px; height: 110px; border-right: 2px solid var(--teal); border-top: 2px solid var(--teal); border-radius: 0 var(--r-lg) 0 0; z-index: -1; }
.portrait .p-badge { position: absolute; left: -16px; bottom: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 17px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.portrait .p-badge b { font-family: var(--font-display); font-size: 1.6rem; color: var(--teal); line-height: 1; }
.portrait .p-badge span { font-size: 0.78rem; color: var(--muted); line-height: 1.25; }
.cred-list { display: grid; gap: 11px; margin-top: 24px; }
.cred-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.cred-list svg { width: 19px; height: 19px; color: var(--teal); flex: none; margin-top: 3px; }
.cred-list b { color: var(--ink); font-weight: 600; }

/* Band */
.band { position: relative; overflow: hidden; background: var(--grad-ink); color: #fff; border-radius: var(--r-lg); }
.band .wrap { padding-block: clamp(46px, 6vw, 78px); position: relative; z-index: 1; }
.band::before { content: ""; position: absolute; inset: 0; background: var(--grid-dot); background-size: 22px 22px; opacity: 0.4; }
.band::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-horizon); }
.band h2, .band .h-display { color: #fff; }
.band-quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2.9vw, 2.2rem); line-height: 1.28; max-width: 880px; letter-spacing: -0.03em; }
.band-quote .grad-text { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band-meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.band-meta img { width: 50px; height: 50px; border-radius: var(--r-sm); object-fit: cover; object-position: top; border: 1px solid rgba(255,255,255,0.3); }
.band-meta .bm-name { font-weight: 600; }
.band-meta .bm-role { font-size: 0.84rem; color: rgba(255,255,255,0.7); font-family: var(--font-mono); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); background: #fff; border: 1px solid var(--line-strong); padding: 0.5em 0.95em; border-radius: var(--r-sm); transition: transform 0.2s, border-color 0.2s, color 0.2s; }
.chip:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--navy); }
.chip.solid { background: rgba(32,184,174,0.1); border-color: rgba(32,184,174,0.3); color: var(--action-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.step { position: relative; padding-top: 16px; }
.step .step-num { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; background: var(--action); margin-bottom: 16px; }
.step h3 { font-size: 1.15rem; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 0.94rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 39px; left: 60px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }

/* Feature list */
.feature-list { display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 15px; align-items: flex-start; }
.feature-list .fl-icon { width: 42px; height: 42px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); color: var(--teal); }
.feature-list .fl-icon svg { width: 21px; height: 21px; }
.feature-list h4 { font-size: 1.05rem; font-family: var(--font-display); font-weight: 600; margin-bottom: 3px; }
.feature-list p { color: var(--muted); font-size: 0.93rem; }

/* Contact / form */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.contact-info { display: grid; gap: 12px; align-content: start; }
.info-row { display: flex; gap: 15px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ir-icon { width: 44px; height: 44px; border-radius: var(--r-md); flex: none; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); color: var(--blue-deep); }
.info-row .ir-icon svg { width: 21px; height: 21px; }
.info-row .ir-label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); }
.info-row a, .info-row p { font-size: 1rem; font-weight: 500; color: var(--ink); }
.info-row a:hover { color: var(--action); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.2vw, 38px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field .req { color: var(--action); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 0.96rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 0.78em 0.95em; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 3px rgba(18,158,144,0.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 0.8rem; color: var(--muted); font-family: var(--font-mono); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin-top: 16px; padding: 13px 16px; border-radius: var(--r-sm); font-size: 0.92rem; font-weight: 500; display: none; }
.form-status.ok { display: block; background: rgba(79,190,140,0.14); color: #1f7a4d; border: 1px solid rgba(79,190,140,0.4); }
.form-status.err { display: block; background: rgba(214,69,69,0.1); color: #b23a3a; border: 1px solid rgba(214,69,69,0.35); }

/* Callout — "please note" / redirect notice, sits beside or above a form */
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--action); border-radius: var(--r-md); font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); }
.callout p { margin: 0; }
.callout svg { flex: none; width: 19px; height: 19px; color: var(--action); margin-top: 2px; }
.callout strong { color: var(--ink); }
.callout a { color: var(--action); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.callout a:hover { color: var(--action-2); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .inner { background: var(--grad-ink); border-radius: var(--r-lg); padding: clamp(42px, 6vw, 74px) var(--gutter); position: relative; overflow: hidden; }
.cta-band .inner::before { content: ""; position: absolute; inset: 0; background: var(--grid-dot); background-size: 22px 22px; opacity: 0.4; }
.cta-band .inner::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-horizon); }
.cta-band h2, .cta-band p { position: relative; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 14px auto 0; }
.cta-band .hero-actions { position: relative; justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding-top: clamp(54px, 7vw, 84px); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-horizon); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 38px; padding-bottom: 44px; }
.site-footer .brand .brand-name { color: #fff; }
.footer-about { max-width: 300px; }
.footer-about p { margin-top: 16px; font-size: 0.92rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.62); font-size: 0.92rem; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.5); font-family: var(--font-mono); }
.footer-bottom a:hover { color: var(--teal-bright); }
.ack { font-size: 0.83rem; color: rgba(255,255,255,0.5); max-width: 720px; padding-bottom: 24px; line-height: 1.6; }

/* Page hero (sub) */
.page-hero { position: relative; padding-top: clamp(44px, 5vw, 76px); padding-bottom: clamp(38px, 5vw, 56px); overflow: hidden; background: linear-gradient(165deg, #f1f9f5 0%, #eef6fb 50%, #f5f8fc 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-horizon); }
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; font-family: var(--font-mono); }
.breadcrumb a:hover { color: var(--action); }
.breadcrumb svg { width: 13px; height: 13px; opacity: 0.6; }
.page-hero h1 { max-width: 760px; }
.page-hero .lead { max-width: 640px; margin-top: 18px; }
.page-hero-media { margin-top: clamp(32px, 5vw, 50px); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/7; border: 1px solid var(--line); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s cubic-bezier(.2,.8,.2,1), transform 0.6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.07s; }
.reveal[data-d="2"] { transition-delay: 0.14s; }
.reveal[data-d="3"] { transition-delay: 0.21s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .aurora span, .medallion, .glass-card, .glass-chip { animation: none !important; } }

/* Helpers */
.prose p { margin-bottom: 1.05em; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.stack-sm > * + * { margin-top: 10px; }
.split-list { columns: 2; column-gap: 40px; }
.split-list li { break-inside: avoid; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; color: var(--ink-soft); font-size: 0.95rem; }
.split-list svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }
.divider { height: 1px; background: var(--line); border: none; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links, .has-dropdown { display: none; }
  .menu-toggle { display: inline-flex; }
  /* Keep the CTA readable on mobile: show the label, drop the arrow icon. */
  .nav-cta .btn-primary svg { display: none; }
  .nav-cta .btn-primary { padding: 0.72em 1.1em; font-size: 0.88rem; }
  .hero-grid { grid-template-columns: 1fr; }
  /* Hero photo sits BELOW the heading + blurb on mobile, scaled down + centred. */
  .hero-visual { order: 2; min-height: 0; margin-top: 30px; }
  .medallion { width: min(72vw, 300px); animation: none; }
  .glass-card { animation: none; bottom: -20px; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  /* Restore the pre-compaction vertical rhythm on phones only (desktop keeps
     the tightened clamp(29px, 4vw, 56px)). */
  :root { --section-y: clamp(52px, 13vw, 64px); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step:not(:last-child)::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .split-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .glass-card { right: 0; max-width: 210px; }
}
@media (max-width: 460px) {
  .glass-card, .glass-chip { display: none; }
  .hero-visual { margin-bottom: 0; }
  .brand .brand-name span { display: none; }
  /* Fit brand + CTA + hamburger on one line on small phones. */
  .nav { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand .brand-name { font-size: 0.95rem; white-space: nowrap; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { padding: 0.62em 0.85em; font-size: 0.82rem; }
  .menu-toggle { width: 40px; height: 40px; }
}
