/* ==========================================================================
   Crestwave Enterprises Inc — site stylesheet
   Palette: deep navy / professional blue / white / light gray / teal accent
   Type:    Newsreader (display) · Instrument Sans (body) · IBM Plex Mono (labels)
   ========================================================================== */

:root {
  --navy-900: #061529;
  --navy-800: #08203C;
  --navy-700: #0E2B4F;
  --navy-600: #16375F;
  --blue-600: #17497F;
  --blue-500: #1E5FA8;
  --blue-400: #3D82CE;
  --aqua-500: #2FA99C;
  --aqua-400: #3FC0B1;
  --aqua-050: #E7F5F3;
  --paper:    #FFFFFF;
  --mist:     #F5F7FA;
  --mist-200: #EDF1F6;
  --line:     #DCE3EC;
  --line-dim: rgba(255, 255, 255, 0.14);
  --ink:      #0B1B31;
  --slate:    #55657D;
  --slate-lt: #A8BBD3;

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(6, 21, 41, .05);
  --shadow-md: 0 14px 40px -18px rgba(6, 21, 41, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--blue-600); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.14;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.1vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1.02rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid var(--aqua-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-800); color: #fff;
  padding: 12px 20px; font-size: 15px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ------------------------------------------------------ utilities -------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-500); margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--aqua-500); flex: none;
}
.eyebrow.on-dark { color: var(--aqua-400); }

.lede { font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); color: var(--slate); line-height: 1.66; }
.muted { color: var(--slate); }
.on-dark .lede, .dark .lede { color: var(--slate-lt); }

.section { padding: clamp(60px, 8vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--navy-800); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--slate-lt); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 54px); }
.section-head p { color: var(--slate); font-size: 1.06rem; }
.section--dark .section-head p { color: var(--slate-lt); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------- buttons ------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: .005em;
  padding: 13px 24px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--blue-500); color: #fff; }
.btn--primary:hover { background: var(--blue-600); color: #fff; }

.btn--accent { background: var(--aqua-400); color: var(--navy-900); }
.btn--accent:hover { background: var(--aqua-500); color: var(--navy-900); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }

.btn--ghost-dark { border-color: var(--line-dim); color: #fff; background: transparent; }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--blue-500);
}
.arrow-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------- header -------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--body); font-weight: 600; font-size: 19px;
  letter-spacing: -.012em; color: var(--navy-800);
}
.brand-sub {
  font-family: var(--mono); font-size: 9.2px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--slate); margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 9px 13px; border-radius: 4px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color .18s var(--ease);
}
.nav-link:hover { color: var(--blue-500); }
.nav-link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--aqua-500); transform: scaleX(0);
  transform-origin: left; transition: transform .22s var(--ease);
}
.nav-link[aria-current="page"] { color: var(--blue-600); font-weight: 600; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-panel {
  display: none; border-top: 1px solid var(--line); background: #fff;
  padding: 14px var(--gutter) 24px;
}
.mobile-panel.is-open { display: block; }
.mobile-panel a {
  display: block; padding: 13px 2px; font-size: 16px; font-weight: 500;
  color: var(--ink); border-bottom: 1px solid var(--mist-200);
}
.mobile-panel .btn { width: 100%; justify-content: center; margin-top: 18px; }

/* ---------------------------------------------------------- hero --------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-800); color: #fff;
  padding: clamp(56px, 7vw, 96px) 0 clamp(60px, 7vw, 100px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(47, 169, 156, .20), transparent 62%),
    radial-gradient(760px 480px at 8% 96%, rgba(30, 95, 168, .30), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(34px, 5vw, 64px); align-items: center;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--aqua-400); }
.hero-copy { color: var(--slate-lt); font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem); max-width: 54ch; }

.page-hero {
  background: var(--navy-800); color: #fff; position: relative; overflow: hidden;
  padding: clamp(52px, 6vw, 86px) 0 clamp(52px, 6vw, 82px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(820px 420px at 88% 12%, rgba(47, 169, 156, .18), transparent 60%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: var(--slate-lt); max-width: 62ch; font-size: 1.1rem; }

/* ------------------------------------------------- signature crest ------- */
.crest-panel {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dim);
  border-radius: 10px;
  padding: clamp(18px, 2.4vw, 26px);
  backdrop-filter: blur(4px);
}
.crest-panel figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--slate-lt); margin-bottom: 16px;
}
.crest-panel svg { width: 100%; height: auto; display: block; }

.crest-path {
  stroke-dasharray: 620; stroke-dashoffset: 620;
  animation: draw 2.4s var(--ease) .25s forwards;
}
.crest-area { opacity: 0; animation: fade 1.4s var(--ease) 1.5s forwards; }
.crest-node { opacity: 0; animation: pop .5s var(--ease) forwards; }
.crest-node:nth-of-type(1) { animation-delay: .8s; }
.crest-node:nth-of-type(2) { animation-delay: 1.25s; }
.crest-node:nth-of-type(3) { animation-delay: 1.7s; }
.crest-node:nth-of-type(4) { animation-delay: 2.15s; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.crest-rule { display: block; width: 100%; height: 22px; color: var(--line); }

/* --------------------------------------------------------- cards --------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #C4D2E4; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--slate); font-size: .96rem; margin-bottom: 0; }
.card .arrow-link { margin-top: 16px; }

.card-icon {
  width: 46px; height: 46px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--aqua-050); color: var(--blue-500); margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

.card--flat { box-shadow: none; background: transparent; border-color: transparent; padding: 0; }
.card--flat:hover { transform: none; box-shadow: none; }

.service-list .card { display: flex; flex-direction: column; height: 100%; }

/* article cards (Insights) */
.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card .tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 12px; display: block;
}
.article-card .meta { font-size: 13px; color: var(--slate); margin-top: auto; padding-top: 18px; }

.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.topic-grid--3 { grid-template-columns: repeat(3, 1fr); }
.topic {
  background: #fff; padding: 26px 22px; box-shadow: 0 0 0 1px var(--line);
  transition: background .2s var(--ease);
}
.topic:hover { background: var(--mist); }
.topic h3 { font-size: 1.02rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.topic p { font-size: .9rem; color: var(--slate); margin: 0; }

/* --------------------------------------------------- approach stages ----- */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.stage { position: relative; padding-top: 30px; border-top: 1px solid var(--line-dim); }
.section--mist .stage, .section--light .stage { border-top-color: var(--line); }
.stage-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  color: var(--aqua-400); margin-bottom: 14px; display: block;
}
.section--mist .stage-num { color: var(--blue-500); }
.stage::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 34px; height: 5px;
  background: var(--aqua-400); border-radius: 3px;
}
.stage h3 { margin-bottom: .4em; }
.stage p { font-size: .95rem; }

/* ------------------------------------------------------ value rows ------- */
.value-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 70px); }
.value-list { border-top: 1px solid var(--line); }
.value-row { display: grid; grid-template-columns: 30px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.value-row svg { width: 24px; height: 24px; color: var(--aqua-500); margin-top: 4px; }
.value-row h3 { font-family: var(--body); font-weight: 600; font-size: 1.06rem; letter-spacing: 0; margin-bottom: .35em; }
.value-row p { color: var(--slate); font-size: .97rem; margin: 0; }

/* ------------------------------------------------------- stat strip ------ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { box-shadow: 0 0 0 1px var(--line); }
.split .pillars { grid-template-columns: 1fr; }
.pillar { background: #fff; padding: 30px 26px; }
.pillar h3 { font-family: var(--body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin-bottom: .4em; }
.pillar p { font-size: .94rem; color: var(--slate); margin: 0; }

/* --------------------------------------------------------- media --------- */
.media {
  position: relative; border-radius: 8px; overflow: hidden; min-height: 320px;
  background:
    linear-gradient(140deg, var(--navy-700) 0%, var(--navy-800) 55%, #0A2647 100%);
  border: 1px solid var(--line);
}
.media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(420px 260px at 22% 78%, rgba(47, 169, 156, .28), transparent 65%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 46px);
}
.media svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 66px); align-items: center; }

/* ---------------------------------------------------------- CTA band ----- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 82% 20%, rgba(47,169,156,.22), transparent 62%);
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band p { color: var(--slate-lt); max-width: 60ch; }

/* ----------------------------------------------------------- forms ------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 60px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
label .opt { font-weight: 400; color: var(--slate); font-size: 12.5px; }
input, select, textarea {
  width: 100%; font-family: var(--body); font-size: 15.5px; color: var(--ink);
  padding: 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355657D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(30, 95, 168, .14);
}
fieldset { border: 0; margin: 0 0 20px; padding: 0; }
legend { font-size: 14px; font-weight: 600; margin-bottom: 9px; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 40px; padding: 9px 16px; font-size: 14.5px; cursor: pointer; }
.radio-pill input { width: auto; padding: 0; }
.radio-pill:has(input:checked) { border-color: var(--blue-500); background: var(--aqua-050); }
.form-note { font-size: 13.5px; color: var(--slate); margin-top: 16px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-size: 14.5px; display: none; }
.form-status.is-visible { display: block; }
.form-status[data-tone="info"] { background: var(--aqua-050); border: 1px solid #BFE3DE; color: #0B4B45; }
.form-status[data-tone="error"] { background: #FCEDEC; border: 1px solid #F3C8C4; color: #8A2C24; }

.contact-aside .info-row { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-aside .info-row svg { width: 20px; height: 20px; color: var(--blue-500); margin-top: 3px; }
.contact-aside .info-row p { margin: 0; font-size: .95rem; color: var(--slate); }
.contact-aside .info-row strong { display: block; color: var(--ink); font-size: .95rem; }
.placeholder { color: var(--slate); font-family: var(--mono); font-size: 13px; }

/* ------------------------------------------------------------ legal ------ */
.legal h2 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.7rem); margin-top: 2em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--slate); }
.legal .updated { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }

/* ---------------------------------------------------------- footer ------- */
.site-footer { background: var(--navy-900); color: var(--slate-lt); padding: clamp(48px, 6vw, 76px) 0 34px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 34px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--slate-lt); }
.footer-tagline { font-size: .92rem; color: var(--slate-lt); margin-top: 18px; max-width: 42ch; }
.footer-col h4 { color: #fff; font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--slate-lt); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-row a {
  width: 38px; height: 38px; border: 1px solid var(--line-dim); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: var(--slate-lt);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.social-row a:hover { border-color: var(--aqua-400); color: #fff; }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line-dim);
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: 13.5px;
}
.footer-bottom a { color: var(--slate-lt); }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------- reveal -------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------ responsive ------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .topic-grid, .topic-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .value-layout, .form-layout, .split { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .media { min-height: 260px; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .topic-grid, .topic-grid--3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { color: #000; font-size: 12pt; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .crest-path { stroke-dashoffset: 0; }
  .crest-area, .crest-node { opacity: 1; }
}

/* --------------------------------------------------- service blocks ----- */
[id] { scroll-margin-top: 96px; }

.service-block {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(38px, 4.5vw, 62px) 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-aside { position: sticky; top: 100px; align-self: start; }
.service-aside h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0; }
.service-block h3 {
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  letter-spacing: .01em; margin: 1.7em 0 .7em;
}
.service-block ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.service-block ul li { position: relative; padding-left: 26px; color: var(--slate); font-size: .97rem; }
.service-block ul li::before {
  content: ""; position: absolute; left: 2px; top: .68em;
  width: 11px; height: 1.5px; background: var(--aqua-500);
}

a.topic { display: block; color: inherit; }
a.topic h3 { color: var(--ink); transition: color .18s var(--ease); }
a.topic:hover h3 { color: var(--blue-600); }

/* ------------------------------------------------------ about page ------ */
.statement {
  border-left: 3px solid var(--aqua-400);
  padding: 6px 0 6px 26px;
}
.statement h3 {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--aqua-400);
  margin-bottom: 14px;
}
.statement p { font-family: var(--display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.4; color: #fff; }

.commitments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.commitment { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.commitment svg { width: 20px; height: 20px; color: var(--aqua-500); margin-top: 4px; }
.commitment strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.commitment p { font-size: .93rem; color: var(--slate); margin: 0; }

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .commitments { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- mini lists ----- */
.mini-list { list-style: none; padding: 0; margin: 18px 0 0; }
.mini-list li {
  position: relative; padding-left: 22px; margin-bottom: .35em;
  font-size: .92rem; color: var(--slate);
}
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 9px; height: 1.5px; background: var(--aqua-500);
}
code {
  font-family: var(--mono); font-size: .88em;
  background: var(--mist-200); padding: 2px 6px; border-radius: 3px;
}
.media-img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
