/* Self-hosted fonts (SIL OFL 1.1, licenses in fonts/). Variable WOFF2, latin subset. */
@font-face{font-family:"Inter";font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/inter-latin-wght-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400 500;font-display:swap;src:url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Big Whale Analytics — shared styles */
:root {
  --ink: #0A1424;
  --ink-2: #0F1D33;
  --ink-3: #162843;
  --line-d: rgba(255,255,255,.10);
  --paper: #F6F5F1;
  --paper-2: #ECEAE3;
  --white: #fff;
  --text: #16202F;
  --muted: #5B6677;
  --muted-d: #9DAABD;
  --accent: #2EC4B6;
  --accent-d: #0B6E65;
  --amber: #F2B34A;
  --line: rgba(10,20,36,.12);
  --radius: 14px;
  --max: 1160px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1,h2,h3,h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }

.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.dark .lead { color: var(--muted-d); }

/* Placeholders */
.ph { font-family: var(--mono); font-size: .82em; color: #7A5200; background: rgba(242,179,74,.14); outline: 1.5px dashed var(--amber); outline-offset: 2px; padding: .1em .45em; border-radius: 4px; display: inline; font-weight: 500; }
.dark .ph { color: var(--amber); background: rgba(242,179,74,.10); }
.ph-box { border: 2px dashed var(--amber); background: repeating-linear-gradient(135deg, rgba(242,179,74,.07) 0 12px, transparent 12px 24px); border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 2rem; font-family: var(--mono); color: #7A5200; font-size: .9rem; }
.dark .ph-box { color: var(--amber); }

/* Drafts: hides unconfirmed/placeholder content on public pages. Remove the data-draft attribute to publish. */
[data-draft] { display: none !important; }
.about-grid > [data-draft] + div { grid-column: 1 / -1; max-width: 760px; }
.booking-fallback { font-size: 1.1rem; }
.booking-fallback a { color: var(--accent-d); font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,20,36,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 650; letter-spacing: -.01em; font-size: 1.05rem; }
.brand svg { width: 30px; height: 30px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .95rem; color: #C8D2E0; transition: color .15s; }
.nav-links a:hover, .nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #04211E; }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { box-shadow: 0 2px 0 var(--accent); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-d); color: #fff; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04211E; }
.btn-primary:hover { background: #46D6C8; box-shadow: 0 8px 28px -8px rgba(46,196,182,.6); }
.btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: #fff; color: var(--ink); padding: .75rem 1.1rem; border-radius: 8px; font-weight: 600; text-decoration: none; outline: 2px solid var(--ink); outline-offset: 2px; }
.skip-link:focus { top: 12px; }
.arrow { display: inline-block; vertical-align: -.125em; margin-left: .15em; flex: none; }

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.dark { background: var(--ink); color: #E8EDF5; }
.dark h1,.dark h2,.dark h3 { color: #fff; }
.alt { background: var(--paper-2); }
.section-head { margin-bottom: 3.5rem; max-width: 720px; }

.grid-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); pointer-events: none; }
.glow::after { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -200px; background: radial-gradient(circle, rgba(46,196,182,.22), transparent 65%); pointer-events: none; }
.container { position: relative; z-index: 1; }

/* Hero */
.hero { padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.hero h1 { max-width: 15ch; margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 1.28rem; margin-bottom: 2.4rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-mark { position: absolute; right: -40px; bottom: -60px; width: min(560px, 62vw); color: var(--accent); opacity: .09; z-index: 0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 3.5rem; font-family: var(--mono); font-size: .78rem; color: var(--muted-d); letter-spacing: .04em; }
.hero-meta span::before { content: "▸ "; color: var(--accent); }

.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }

/* Cards / grids */
.grid { display: grid; gap: 1.5rem; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(10,20,36,.35); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.dark .card { background: var(--ink-2); border-color: var(--line-d); }
.dark .card p { color: var(--muted-d); }
.card.dark { background: var(--ink-2); border-color: var(--line-d); color: #E8EDF5; }
.card.dark ul { color: var(--muted-d); }
.card.dark .info-list a { color: #fff; }
.icon { width: 44px; height: 44px; border-radius: 11px; background: rgba(46,196,182,.12); color: var(--accent-d); display: grid; place-items: center; margin-bottom: 1.4rem; }
.icon svg { width: 22px; height: 22px; }
.num { font-family: var(--mono); font-size: .8rem; color: var(--accent-d); letter-spacing: .1em; }
.dark .num { color: var(--accent); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-d); }
.step { padding: 2rem 1.75rem 0 0; position: relative; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(46,196,182,.18); }
.step h3 { margin-top: .6rem; }
.step p { color: var(--muted-d); font-size: .96rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font-family: var(--mono); font-size: .85rem; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.dark .chip { background: rgba(255,255,255,.04); border-color: var(--line-d); color: #DCE4F0; }

/* Assessment split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.3rem; border: 1px solid var(--line-d); border-radius: 12px; background: rgba(255,255,255,.03); }
.checklist svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.checklist strong { display: block; color: #fff; font-weight: 600; }
.checklist span { color: var(--muted-d); font-size: .95rem; }
.light-list li { border-color: var(--line); background: var(--white); }
.light-list strong { color: var(--text); } .light-list span { color: var(--muted); }
.light-list svg { color: var(--accent-d); }

/* Services detail */
.ladder .card { text-decoration: none; display: flex; flex-direction: column; }
.ladder .card h3 { margin: .6rem 0 .4rem; }
.ladder .card .more { margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: .92rem; color: var(--accent-d); }
.dark .ladder .card .more { color: var(--accent); }
.card.featured, .dark .card.featured { border-color: var(--accent); }
.card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.card li { margin-bottom: .3rem; }
.pill { display: inline-block; vertical-align: middle; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--accent-d); color: var(--accent-d); }
.dark .pill { border-color: var(--accent); color: var(--accent); }
.creds { margin: 0; color: var(--muted); }
.dark .creds { color: var(--muted-d); }
.pillars-head { margin-top: 4.5rem; }
.pillars .card h3 { margin: .6rem 0 .5rem; }
.engage { margin: 2.5rem 0 0; color: var(--muted); max-width: 70ch; }
.strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .75rem 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.strip p { margin: 0; }
.dark .strip { border-color: var(--line-d); color: var(--muted-d); }
.dark .strip strong { color: #fff; }

/* Case studies */
.badge { display: inline-block; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 6px; color: #7A5200; background: rgba(242,179,74,.16); outline: 1.5px dashed var(--amber); outline-offset: 1px; }
.cs-card { display: flex; flex-direction: column; text-decoration: none; min-height: 300px; }
.cs-card .tag { font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin: 1.25rem 0 .5rem; }
.cs-card h3 { margin-bottom: .6rem; }
.cs-card .more { margin-top: auto; font-weight: 600; color: var(--accent-d); }
.meta-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--radius); overflow: hidden; }
.meta-table div { background: var(--ink-2); padding: 1.25rem 1.4rem; }
.meta-table dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
.meta-table dd { margin: 0; font-size: .95rem; }
.cs-section { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 2.75rem 0; border-top: 1px solid var(--line); }
.cs-section:first-child { border-top: 0; }
.cs-section h2 { font-size: 1.1rem; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-d); }
.quote { font-size: 1.5rem; letter-spacing: -.01em; line-height: 1.4; }

/* About */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.headshot { aspect-ratio: 4/5; }
.principles { counter-reset: p; display: grid; gap: 1.5rem; }
.principle { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; }
.principle::before { counter-increment: p; content: "0" counter(p); font-family: var(--mono); color: var(--accent); font-size: .95rem; padding-top: .2rem; }
.principle h3 { margin-bottom: .3rem; }
.principle p { color: var(--muted-d); margin: 0; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
label { font-size: .85rem; font-weight: 600; }
input, select, textarea { font: inherit; font-size: .98rem; padding: .75rem .9rem; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-d); outline-offset: 1px; border-color: var(--accent-d); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.info-list li { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-d); }
.info-list small { display: block; font-family: var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; margin-bottom: .3rem; }
.booking { min-height: 420px; }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; margin-bottom: 2rem; }
.cta-band .cta-row { justify-content: center; }

/* Footer */
.site-footer { background: #060D19; color: var(--muted-d); padding: 56px 0 36px; font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-d); }
.foot .brand { color: #fff; margin-bottom: .8rem; }
.foot p { max-width: 36ch; margin: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot a { text-decoration: none; } .foot a:hover { color: #fff; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; }

@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .g2, .split, .contact-grid, .about-grid, .cs-section { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .meta-table { grid-template-columns: repeat(2, 1fr); }
  .about-grid .headshot { max-width: 280px; }
  .cs-section { gap: .5rem; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-d); padding: .5rem 24px 1.25rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line-d); }
  .nav-links a { display: block; padding: 1rem 0; }
  .nav-links li:last-child { border: 0; padding-top: 1rem; }
  .nav-links .btn { justify-content: center; }
}
@media (max-width: 560px) {
  .steps, .g4 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
