/* ==========================================================================
   Burket Web Design
   Palette is taken directly from the logo. Yellow is reserved for actions
   only, never decoration, so every clickable thing reads instantly.
   ========================================================================== */

:root {
  /* Logo colours, sampled from the mark */
  --blue:        #185888;
  --blue-deep:   #0F3D60;
  --blue-soft:   #E8F1F8;
  --sky:         #50B0E0;
  --sky-soft:    #EAF6FD;
  --yellow:      #F8C810;
  --yellow-dark: #DFB00A;
  --yellow-soft: #FEF7DF;

  /* Neutrals, tinted blue rather than grey so nothing looks dead */
  --ink:         #11212E;
  --ink-soft:    #3D5465;
  --muted:       #64798A;
  --faint:       #93A5B3;
  --line:        #DEE7ED;
  --line-strong: #C4D3DE;
  --paper:       #F5F9FC;
  --white:       #FFFFFF;

  /* Type scale */
  --t-hero: clamp(2.5rem, 1.5rem + 4.2vw, 4.5rem);
  --t-xl:   clamp(2rem, 1.5rem + 2.1vw, 3.1rem);
  --t-lg:   clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --t-md:   clamp(1.1rem, 1.05rem + 0.25vw, 1.25rem);
  --t-base: 1.0625rem;
  --t-sm:   0.9375rem;
  --t-xs:   0.8125rem;

  /* Rhythm */
  --gut:   clamp(1.25rem, 0.8rem + 2.2vw, 3rem);
  --sec:   clamp(4rem, 3rem + 4.5vw, 7.5rem);
  --max:   1200px;
  --narrow: 760px;

  /* Curves. Radii vary by purpose so the page is not one uniform box kit. */
  --r-panel: clamp(28px, 1rem + 3vw, 64px);
  --r-card:  18px;
  --r-pill:  999px;

  /* Texture. One grid, used at two scales, so the whole page shares a ruling. */
  --mesh:      rgba(24, 88, 136, .07);
  --mesh-on-blue: rgba(255, 255, 255, .07);
  --mesh-gap:  34px;

  --shadow-soft: 0 2px 4px rgba(24, 88, 136, .04), 0 12px 32px -12px rgba(24, 88, 136, .14);
  --shadow-lift: 0 4px 8px rgba(24, 88, 136, .06), 0 24px 48px -16px rgba(24, 88, 136, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-soft);
  font-family: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
}
h1 { font-size: var(--t-hero); font-weight: 900; letter-spacing: -.035em; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); }

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

a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

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

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: var(--narrow); }

.lede {
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

/* --------------------------------------------------------------------------
   Buttons. Yellow means action. Blue means navigation within the brand.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1.05em 1.9em;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: var(--t-sm);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-go {
  background: var(--yellow);
  color: var(--blue-deep);
  box-shadow: 0 4px 0 var(--yellow-dark);
}
.btn-go:hover { background: #FFD428; color: var(--blue-deep); box-shadow: 0 6px 0 var(--yellow-dark); }
.btn-go:active { box-shadow: 0 2px 0 var(--yellow-dark); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); color: var(--white); }

.btn-quiet { background: transparent; color: var(--blue); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-deep); }

.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: var(--white); color: var(--white); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(24,88,136,.3); }
.head-row { display: flex; align-items: center; gap: 1.25rem; min-height: 88px; }
.head-logo { flex: none; }
.head-logo img { height: 56px; width: auto; }

.head-nav { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.head-nav a {
  padding: .6rem .85rem;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.head-nav a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.head-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }

.head-cta { margin-left: .5rem; padding: .85em 1.5em; }

.head-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  padding: 0;
  background: var(--blue-soft);
  border: 0;
  border-radius: 14px;
  color: var(--blue);
  cursor: pointer;
}
.head-toggle svg { width: 24px; height: 24px; margin-inline: auto; }

@media (max-width: 900px) {
  .head-nav { display: none; }
  .head-toggle { display: block; }
  .head-row { min-height: 74px; }
  .head-logo img { height: 46px; }
}

.mobile-panel {
  display: none;
  /* padding-block, not the shorthand: the panel also carries .wrap, whose
     padding-inline is the page gutter and must survive. */
  padding-block: .5rem 1.5rem;
  border-top: 1px solid var(--line);
}
.mobile-panel.is-open { display: block; }
.mobile-panel a {
  display: block;
  padding: .9rem .25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--t-md);
  font-weight: 700;
  text-decoration: none;
}
.mobile-panel .btn { width: 100%; margin-top: 1.1rem; }

/* --------------------------------------------------------------------------
   Hero. The scan input is the main event.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  /* Trimmed at the bottom so the section below peeks above the fold on a
     13in laptop, which is what invites the scroll. */
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2.2rem + 3vw, 5rem);
  background:
    radial-gradient(900px 500px at 78% -8%, var(--sky-soft) 0%, transparent 62%),
    radial-gradient(1100px 700px at -10% 130%, var(--yellow-soft) 0%, transparent 62%),
    var(--white);
}
/* Engineering grid, faded out toward the text so it never fights the copy. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to right, var(--mesh) 0 1px, transparent 1px var(--mesh-gap)),
    repeating-linear-gradient(to bottom, var(--mesh) 0 1px, transparent 1px var(--mesh-gap));
  -webkit-mask-image: radial-gradient(120% 90% at 85% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(120% 90% at 85% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero-grid { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }

.hero h1 { max-width: 13ch; margin-bottom: .45em; }
.hero .lede { font-size: clamp(1.1rem, 1.05rem + .35vw, 1.3rem); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 17px; height: 17px; color: var(--sky); flex: none; }

/* The scan card */
.scan-card {
  position: relative;
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-lift);
}
.scan-card h2 { font-size: var(--t-lg); margin-bottom: .35em; }
.scan-card p { font-size: var(--t-sm); color: var(--muted); }

.scan-field { position: relative; margin: 1.5rem 0 .9rem; }
.scan-field svg {
  position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--faint); pointer-events: none;
}
input.scan-input {
  width: 100%;
  padding: 1.15rem 1.15rem 1.15rem 3.1rem;
  font-family: inherit;
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 16px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
input.scan-input::placeholder { color: var(--faint); font-weight: 500; }
input.scan-input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--sky);
  box-shadow: 0 0 0 4px var(--sky-soft);
}
.scan-card .btn { width: 100%; }
.scan-note {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  margin-top: 1.1rem;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--faint);
}
.scan-note svg { width: 15px; height: 15px; color: var(--sky); flex: none; }

/* --------------------------------------------------------------------------
   Curved panels. Sections overlap slightly so the page flows rather than
   stacking as hard rectangles.
   -------------------------------------------------------------------------- */
.panel { position: relative; padding-block: var(--sec); }
.panel-paper { background: var(--paper); }
.panel-blue  { background: var(--blue); color: rgba(255,255,255,.82); }
.panel-blue h2, .panel-blue h3, .panel-blue h4 { color: var(--white); }

.panel-curve {
  border-radius: var(--r-panel) var(--r-panel) 0 0;
  margin-top: calc(var(--r-panel) * -1);
  padding-top: calc(var(--sec) + var(--r-panel) * .4);
}
.panel-curve-end { border-radius: 0 0 var(--r-panel) var(--r-panel); }

.panel-head { max-width: 50ch; margin-bottom: clamp(2.25rem, 1.8rem + 1.8vw, 3.5rem); }
.panel-head h2 { margin-bottom: .4em; }
.panel-head p { font-size: var(--t-md); color: var(--muted); margin: 0; }
.panel-blue .panel-head p { color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
/* Four items read better as a square than as three and an orphan. */
@media (min-width: 760px) { .svc-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .svc-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.svc {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.svc:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: var(--shadow-lift);
  color: inherit;
}
.svc-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.25rem;
  background: var(--sky-soft);
  border-radius: 16px;
  color: var(--blue);
}
.svc-icon svg { width: 27px; height: 27px; }
.svc h3 { font-size: var(--t-md); margin-bottom: .4em; }
.svc p { font-size: var(--t-sm); color: var(--muted); flex: 1; }
.svc-price {
  display: flex; align-items: baseline; gap: .4rem;
  margin-top: 1.4rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-weight: 800; color: var(--ink);
}
.svc-price b { font-size: 1.5rem; letter-spacing: -.03em; }
.svc-price span { font-size: var(--t-sm); font-weight: 600; color: var(--muted); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
/* Stretch, so all three cards share a height and the buttons line up across
   the row. The list absorbs the slack via flex:1 below. */
.price-grid { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

.price {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.7rem, 1.4rem + 1.1vw, 2.3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
.price-pick {
  border: 2px solid var(--yellow);
  box-shadow: var(--shadow-lift);
}
.price-flag {
  position: absolute; top: -14px; left: clamp(1.7rem, 1.4rem + 1.1vw, 2.3rem);
  padding: .4em 1em;
  background: var(--yellow);
  border-radius: var(--r-pill);
  font-size: var(--t-xs);
  font-weight: 800;
  color: var(--blue-deep);
}
.price h3 { font-size: var(--t-md); margin-bottom: .3em; }
.price-for { font-size: var(--t-sm); color: var(--muted); min-height: 3em; }
.price-amt {
  display: flex; align-items: baseline; gap: .3rem;
  margin: 1.25rem 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.price-amt b { font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem); font-weight: 900; color: var(--ink); letter-spacing: -.045em; line-height: 1; }
.price-amt span { font-size: var(--t-sm); font-weight: 600; color: var(--muted); }

.price ul { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .7rem; flex: 1; }
.price li { display: flex; gap: .65rem; font-size: var(--t-sm); line-height: 1.5; }
.price li svg { width: 18px; height: 18px; color: var(--sky); flex: none; margin-top: .15em; }
.price .btn { width: 100%; }
.price-fine { margin-top: .85rem; font-size: var(--t-xs); color: var(--faint); text-align: center; }

/* --------------------------------------------------------------------------
   Process. A genuine sequence, so it is numbered.
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { position: relative; padding-top: 3.6rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--yellow);
  border-radius: 14px;
  font-size: 1.1rem; font-weight: 900; color: var(--blue-deep);
}
.panel-blue .step::before { background: var(--yellow); }
.step h3 { font-size: var(--t-md); margin-bottom: .35em; }
.step p { font-size: var(--t-sm); margin: 0; }
.panel-blue .step p { color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.rev-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }

.rev {
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
.rev-stars { display: flex; gap: 2px; margin-bottom: 1.1rem; }
.rev-stars svg { width: 18px; height: 18px; color: var(--yellow); }
.rev blockquote {
  margin: 0 0 1.4rem;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}
.rev figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.rev-av {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--blue-soft);
  border-radius: 50%;
  font-size: var(--t-sm); font-weight: 800; color: var(--blue);
  flex: none;
}
.rev-who { display: flex; flex-direction: column; min-width: 0; }
.rev-who b { font-size: var(--t-sm); color: var(--ink); line-height: 1.3; }
.rev-who span { font-size: var(--t-xs); color: var(--muted); line-height: 1.35; }

/* --------------------------------------------------------------------------
   Client logo strip
   -------------------------------------------------------------------------- */
/* No padding-inline here, so the rail below can run the full width of the
   viewport while the label above it stays inside the page container. */
.clients { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); background: var(--white); }

/* The slider is injected by Elfsight after load. Reserving its height stops
   the page jumping once it arrives, and keeps the band from collapsing if it
   is slow or blocked. */
.clients-rail {
  min-height: 90px;
  width: 100%;
  overflow: hidden;
  /* Logos entering and leaving fade out at the edges rather than being cut
     off mid-mark, which is what makes a moving rail read as deliberate. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.clients-rail > div { max-width: none; }
.clients-label {
  margin-bottom: 1.75rem;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  padding: clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label {
  display: block;
  margin-bottom: .45rem;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--ink);
}
input.inp, select.inp, textarea.inp {
  width: 100%;
  padding: .95rem 1.1rem;
  font-family: inherit;
  font-size: var(--t-base);
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 14px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
textarea.inp { min-height: 130px; resize: vertical; line-height: 1.6; }
select.inp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364798A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.8rem;
}
input.inp:focus, select.inp:focus, textarea.inp:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px var(--sky-soft);
}
input.inp.is-bad, textarea.inp.is-bad { border-color: #D64545; }
.form-err { margin: .4rem 0 0; font-size: var(--t-sm); color: #D64545; font-weight: 600; }
.form-card .btn { width: 100%; margin-top: .4rem; }
.form-fine { margin-top: 1rem; font-size: var(--t-xs); color: var(--faint); text-align: center; }
.honey { position: absolute; left: -9999px; }

.form-done { text-align: center; padding: 2rem 0; }
.form-done-tick {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 1.3rem;
  background: var(--sky-soft);
  border-radius: 50%;
  color: var(--blue);
  animation: pop .45s var(--ease) both;
}
.form-done-tick svg { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: var(--narrow); }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  margin-bottom: .75rem;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--sky); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.4rem;
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2.5px 100% no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-body { padding: 0 1.4rem 1.4rem; font-size: var(--t-sm); color: var(--muted); }
.faq-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */
.closer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background: var(--blue);
  border-radius: var(--r-panel);
  color: rgba(255,255,255,.85);
  text-align: center;
}
.closer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(640px 360px at 50% -20%, rgba(80,176,224,.3), transparent 70%);
}
.closer > * { position: relative; }
.closer h2 { color: var(--white); max-width: 18ch; margin-inline: auto; }
.closer p { max-width: 48ch; margin-inline: auto; color: rgba(255,255,255,.78); }
.closer-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-foot { padding-block: clamp(3rem, 2.4rem + 2vw, 4.5rem) 2rem; background: var(--white); }
.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-logo img { height: 64px; width: auto; margin-bottom: 1.1rem; }
.foot-blurb { font-size: var(--t-sm); color: var(--muted); max-width: 34ch; }
.foot-col h4 { font-size: var(--t-sm); margin-bottom: 1rem; color: var(--ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot-col a { font-size: var(--t-sm); color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--blue); text-decoration: underline; }
.foot-base {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: var(--t-xs); color: var(--faint);
}

/* --------------------------------------------------------------------------
   404. The number is set big and quiet behind the headline rather than
   shouting, because the useful part of the page is the list beside it.
   -------------------------------------------------------------------------- */
.hero-404 {
  margin: 0 0 .25rem;
  font-size: clamp(3.5rem, 2rem + 7vw, 6rem);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--yellow-dark);
}
.lost-list { display: grid; gap: .75rem; }
.lost-list a {
  display: block;
  padding: 1.1rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.lost-list a:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow-lift);
}
.lost-list b {
  display: block;
  margin-bottom: .2rem;
  font-size: var(--t-md);
  font-weight: 800;
  color: var(--blue-deep);
}
.lost-list span { display: block; font-size: var(--t-sm); color: var(--muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Audit frame. Holds the Paige scan tool.

   The tool renders its own header inside the iframe. If that duplicates the
   heading above it on deploy, raise --audit-crop and the frame hides that many
   pixels off the top by pulling the iframe up inside an overflow-hidden shell.
   Default is 0, so nothing is hidden unless you ask for it.
   -------------------------------------------------------------------------- */
.audit-frame {
  --audit-crop: 0px;
  --audit-h: 740px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: 0 18px 50px -28px rgba(17, 33, 46, .22);
  height: var(--audit-h);
}
.audit-frame iframe {
  display: block;
  width: 100%;
  height: calc(var(--audit-h) + var(--audit-crop));
  margin-top: calc(var(--audit-crop) * -1);
  border: 0;
}
@media (max-width: 720px) {
  .audit-frame { --audit-h: 620px; border-radius: 14px; }
}

/* --------------------------------------------------------------------------
   Reveal. One gentle entrance, opted into by script so no-JS shows everything.
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .svc:hover { transform: none; }
  * { animation: none !important; }
}

/* Utilities */
.stack-sm > * + * { margin-top: .75rem; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Texture and depth
   One ruled grid at a single scale, a radar motif on the blue panels, and a
   hairline of brand colour at the very top. Nothing decorative beyond that.
   ========================================================================== */

/* The brand edge. Reads as a status bar, which suits the subject. */
.site-head::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 42%, var(--yellow) 100%);
}
.site-head { position: sticky; }

/* Panels on the paper tint get the same ruling as the hero, very faint. */
.panel-paper { position: relative; overflow: hidden; }
.panel-paper::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to right, var(--mesh) 0 1px, transparent 1px var(--mesh-gap)),
    repeating-linear-gradient(to bottom, var(--mesh) 0 1px, transparent 1px var(--mesh-gap));
  opacity: .55;
  -webkit-mask-image: radial-gradient(100% 70% at 100% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(100% 70% at 100% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
.panel-paper > * { position: relative; }

/* The deep blue panels: grid plus concentric rings, the local-search motif. */
.closer, .panel-blue { position: relative; overflow: hidden; }
.closer::before, .panel-blue::before {
  content: "";
  z-index: 0;
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to right, var(--mesh-on-blue) 0 1px, transparent 1px var(--mesh-gap)),
    repeating-linear-gradient(to bottom, var(--mesh-on-blue) 0 1px, transparent 1px var(--mesh-gap));
  pointer-events: none;
}
.closer::after, .panel-blue::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -140px; bottom: -220px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    0 0 0 70px rgba(255,255,255,.04),
    0 0 0 71px rgba(255,255,255,.10),
    0 0 0 150px rgba(255,255,255,.03),
    0 0 0 151px rgba(255,255,255,.08);
  pointer-events: none;
}
.closer > *, .panel-blue > * { position: relative; z-index: 1; }

/* Cards lift onto a faint sky edge instead of a grey shadow. */
.svc { position: relative; }
.svc::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--sky), var(--yellow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.svc:hover::after { opacity: .85; }

/* ==========================================================================
   Ty. The photo is a cutout, so it sits on a shaped tint rather than in a box.
   ========================================================================== */
.ty-figure {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  margin: 0;
  isolation: isolate;
}
.ty-figure::before {
  content: "";
  position: absolute; z-index: -1;
  left: 50%; bottom: 0;
  width: min(100%, 420px); aspect-ratio: 1 / 1.08;
  transform: translateX(-50%);
  background: linear-gradient(160deg, var(--sky-soft), var(--blue-soft));
  border-radius: 48% 52% 42% 58% / 46% 44% 56% 54%;
}
.ty-figure img { display: block; width: min(100%, 400px); height: auto; aspect-ratio: 1000 / 1671; }

/* Small round portrait, for the about page intro. */
.ty-round {
  width: clamp(130px, 10vw, 168px); height: clamp(130px, 10vw, 168px);
  border-radius: 50%;
  object-fit: cover; object-position: 50% 12%;
  background: linear-gradient(160deg, var(--sky-soft), var(--blue-soft));
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lift);
  flex: none;
}
.ty-intro { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); }

/* ==========================================================================
   Review carousel
   One card per view on phones, two from 760px, three from 1100px. The track
   is a scroll-snap row, so it works with no script at all.
   ========================================================================== */
.rev-shell { position: relative; }
.rev-track {
  display: grid;
  grid-auto-flow: column;
  /* A fixed track width, not minmax(0, ...): a minimum of 0 lets the browser
     shrink every card to fit the container, which defeats the scroller. */
  grid-auto-columns: 100%;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: .5rem;
  scrollbar-width: none;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline: 3px solid var(--sky); outline-offset: 6px; border-radius: var(--r-card); }
/* Two per view rather than three, so each quote gets room to breathe and the
   pagination has something to page through. */
@media (min-width: 760px) { .rev-track { grid-auto-columns: calc(50% - .625rem); } }
@media (prefers-reduced-motion: reduce) { .rev-track { scroll-behavior: auto; } }

.rev-track .rev { scroll-snap-align: start; margin: 0; }

.rev-nav {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  margin-top: 2rem;
}
.rev-arrow {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.rev-arrow svg { width: 20px; height: 20px; }
.rev-arrow:hover:not(:disabled) { border-color: var(--sky); transform: translateY(-2px); }
.rev-arrow:disabled { opacity: .3; cursor: default; }
.rev-dots { display: flex; gap: .5rem; }
.rev-dot {
  width: 9px; height: 9px; padding: 0;
  background: var(--line-strong);
  border: 0; border-radius: 50%;
  cursor: pointer;
  transition: background .2s var(--ease), width .2s var(--ease);
}
.rev-dot.is-on { width: 26px; border-radius: var(--r-pill); background: var(--blue); }
/* The script shows these. Without it the track is simply swipeable. */
.rev-nav { display: none; }
.js .rev-nav { display: flex; }

/* ==========================================================================
   Coverage map
   ========================================================================== */
.map-wrap { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
@media (min-width: 900px) { .map-wrap { grid-template-columns: 1.55fr .45fr; } }

.map-canvas {
  position: relative;
  padding: clamp(.5rem, 1vw, 1.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-soft);
}
.map-svg { display: block; width: 100%; height: auto; }
.map-base path { fill: var(--blue-soft); }
.map-hot  path { fill: #CFE4F4; }
.map-mesh { fill: none; stroke: var(--white); stroke-width: 1.1; stroke-linejoin: round; }

.map-pin { cursor: pointer; }
.map-halo { fill: var(--yellow); opacity: .18; transform-origin: center; transition: opacity .25s var(--ease); }
.map-dot  { fill: var(--yellow); stroke: var(--white); stroke-width: 2.5; transition: r .25s var(--ease); }
.map-pin.is-home .map-dot { fill: var(--blue); }
.map-pin.is-home .map-halo { fill: var(--blue); }
.map-pin:hover .map-halo, .map-pin.is-on .map-halo { opacity: .4; }
.map-pin:hover .map-dot,  .map-pin.is-on .map-dot  { r: 8; }

.map-side { align-self: center; }
.map-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.map-item {
  display: flex; align-items: center; gap: .7rem;
  width: 100%;
  padding: .7rem .9rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-card);
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.map-item:hover, .map-item.is-on { background: var(--white); border-color: var(--line); }
.map-bullet { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; }
.map-item.is-home .map-bullet { background: var(--blue); }
.map-item em { font-style: normal; font-size: var(--t-xs); font-weight: 600; color: var(--faint); margin-left: auto; }

/* ==========================================================================
   Resources and posts
   ========================================================================== */
.post-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px)  { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--sky); box-shadow: var(--shadow-lift); color: inherit; }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--blue-soft); }
.post-body { padding: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); display: flex; flex-direction: column; flex: 1; }
.post-kicker { font-size: var(--t-xs); font-weight: 800; color: var(--blue); margin-bottom: .6rem; }
.post-card h3 { font-size: var(--t-md); margin: 0 0 .5rem; line-height: 1.3; }
.post-card p { margin: 0; font-size: var(--t-sm); color: var(--muted); line-height: 1.55; flex: 1; }
.post-more { margin-top: 1.1rem; font-size: var(--t-sm); font-weight: 800; color: var(--blue); }

.post-hero img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 7; object-fit: cover;
  border-radius: var(--r-panel);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: var(--t-sm); color: var(--faint); margin-bottom: 1.5rem; }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--t-lg); margin: 2.4em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; font-size: var(--t-base); line-height: 1.75; color: var(--ink-soft); }
.prose ul { margin: 0 0 1.3em; padding-left: 1.2em; }
.prose li { margin-bottom: .5em; line-height: 1.7; color: var(--ink-soft); }
.prose a { color: var(--blue); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose .pull {
  margin: 2em 0;
  padding: 1.3rem 1.5rem;
  background: var(--sky-soft);
  border-left: 4px solid var(--sky);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}
.prose .pull p { margin: 0; color: var(--blue-deep); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .post-card:hover, .rev-arrow:hover { transform: none; }
}
