/* ==========================================================================
   Lang Accountants & Advisors
   Topographic: navy and white fields drawn with contour lines, services
   marked like summits on a survey map. Orange marks buttons, map markers,
   and link underlines only.
   Typography: Archivo (display) + Public Sans (body) + Martian Mono (labels)
   ========================================================================== */

/* Fonts are loaded via <link> in each page's <head> so they download
   in parallel with this stylesheet rather than after it. */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root{
  --navy:        #14254a;  /* fields and all type on white */
  --navy-deep:   #0d1a36;  /* closing band, footer */
  --navy-soft:   #4a5878;  /* secondary type on white (7:1) */
  --white:       #ffffff;
  --mist:        #f2f5fa;  /* quiet panels on white */
  --on-navy:     #ffffff;
  --muted:       #c3cde0;  /* secondary type on navy (9:1) */
  --orange:      #e8782a;  /* markers, underlines, accents */
  --orange-btn:  #e8782a;  /* button fill, matches the logo (white text 2.9:1, chosen for brand match) */
  --orange-press:#b45f1a;
  --line:        rgba(20, 37, 74, .14);   /* rules on white */
  --line-strong: rgba(20, 37, 74, .28);
  --line-light:  rgba(255, 255, 255, .16);/* rules on navy */
  --radius:      16px;

  /* Legacy names, kept so page-level styles keep resolving */
  --color-dark:          var(--navy);
  --color-dark-soft:     var(--navy-soft);
  --color-dark-deep:     var(--navy-deep);
  --color-accent:        var(--orange-btn);
  --color-accent-strong: var(--orange-btn);
  --color-accent-ink:    var(--orange-press);
  --color-accent-warm:   var(--orange);
  --color-surface:       var(--mist);
  --color-background:    var(--white);
  --color-white:         var(--white);
  --color-text:          var(--navy);
  --color-text-soft:     var(--navy-soft);
  --color-rule:          var(--line);

  /* Type */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Martian Mono', ui-monospace, monospace;

  /* Rhythm */
  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --section-y: clamp(64px, 8vw, 112px);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }

/* <picture> is only a wrapper for WebP sources — it must not affect layout. */
picture{ display: contents; }

html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--white);
  scrollbar-color: var(--navy) var(--mist);
}

body{
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-underline-offset: .22em; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.04;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}
h1 em, h2 em, h3 em{ font-style: normal; }

p{ margin: 0; text-wrap: pretty; }

::selection{ background: var(--orange); color: var(--white); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible{
  outline: 3px solid var(--orange-btn);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-navy :focus-visible,
.band-navy :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible{ outline-color: var(--orange); }

.skip-link{
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus{ top: 12px; }

.shell{
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-inline: var(--gutter);
}
.wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-inline: var(--gutter);
}

section{
  padding-top: 64px;
  padding-bottom: 64px;
  padding-block: var(--section-y);
}

/* the short data labels: coordinates, cadence, form numbers */
.mono{
  font-family: var(--font-mono);
  font-variation-settings: "wdth" 85;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* contour fields. On navy the lines are translucent white, on white translucent navy */
.contours-navy{
  background-color: var(--navy);
  background-image: url("assets/topo/contours-navy.svg");
  background-size: cover;
  background-position: center;
}
.contours-wide{
  background-image: url("assets/topo/contours-navy-wide.svg");
  background-size: cover;
  background-position: center;
}

/* --------------------------------------------------------------------------
   3. Buttons & links
   -------------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{
  background: var(--orange-btn);
  color: var(--white);
  border-color: var(--orange-btn);
}
.btn-primary:hover{ background: var(--orange-press); border-color: var(--orange-press); }
.btn-ghost{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover{ background: var(--navy); color: var(--white); }
.on-navy .btn-ghost,
.band-navy .btn-ghost,
.hero .btn-ghost{ color: var(--white); border-color: rgba(255, 255, 255, .7); }
.on-navy .btn-ghost:hover,
.band-navy .btn-ghost:hover,
.hero .btn-ghost:hover{ background: rgba(255, 255, 255, .1); border-color: var(--white); }

.cta-row{
  display: flex;
  gap: 14px 22px;
  flex-wrap: wrap;
  align-items: center;
}

.link-line{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
  transition: text-decoration-thickness .15s ease;
}
.link-line:hover{ text-decoration-thickness: 4px; }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.site-header .shell,
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding-block: 12px;
  max-width: var(--shell);
}
.brand-mark{ display: block; flex-shrink: 0; }
.brand-mark img{ height: 46px; width: auto; }

.main-nav{ margin-left: auto; }
.main-nav ul{
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a{
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover{ border-bottom-color: var(--line-strong); }
.main-nav a.active{ border-bottom-color: var(--orange); }
.main-nav .nav-cta a{
  color: var(--white);
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  border-bottom: 1.5px solid var(--orange-btn);
}
.main-nav .nav-cta a:hover{ border-bottom-color: var(--orange-press); }
/* on the contact page the header button points here, so it steps back */
.main-nav .nav-cta a.btn-ghost{ color: var(--navy); background: transparent; border: 1.5px solid var(--line-strong); }
.main-nav .nav-cta a.btn-ghost:hover{ color: var(--white); background: var(--navy); border-color: var(--navy); }

.nav-toggle{
  display: none;
  min-height: 44px;
  min-width: 72px;
  background: none;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 1080px){
  .main-nav .nav-call{ display: none; }
}
@media (max-width: 860px){
  .nav-toggle{ display: block; }
  .site-header .shell,
  .site-header .wrap{ flex-wrap: wrap; }
  .main-nav{ order: 3; width: 100%; display: none; }
  .main-nav.open{ display: block; }
  .main-nav ul{
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 18px;
  }
  .main-nav li{ border-top: 1px solid var(--line); }
  .main-nav a{ display: block; padding: 14px 0; font-size: 18px; border-bottom: 0; }
  .main-nav a.active{ text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .3em; }
  .main-nav .nav-call{ display: block; }
  .main-nav .nav-cta{ border-top: 0; padding-top: 10px; }
  .main-nav .nav-cta a{ display: flex; width: 100%; }
}

/* --------------------------------------------------------------------------
   5. Homepage
   -------------------------------------------------------------------------- */
.lede{
  font-size: clamp(17px, 1.3vw, 19.5px);
  line-height: 1.6;
  max-width: 36em;
}

.sec-head{
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: clamp(36px, 4.4vw, 60px);
}
.sec-head h2{ font-size: clamp(36px, 1.2rem + 2.8vw, 60px); }
.sec-head p{ color: var(--navy-soft); }
.on-navy .sec-head p{ color: var(--muted); }
@media (max-width: 860px){ .sec-head{ grid-template-columns: 1fr; } }

/* Hero */
.topo-hero{
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 104px) clamp(96px, 10vw, 140px);
}
.topo-hero h1,
.on-navy h1, .on-navy h2, .on-navy h3{ color: var(--on-navy); }
.topo-layer{ position: absolute; inset: 0; pointer-events: none; }
.topo-layer svg{ width: 100%; height: 100%; display: block; }
.topo-layer path{ fill: none; vector-effect: non-scaling-stroke; }
.topo-layer .min{ stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.topo-layer .maj{ stroke: rgba(255, 255, 255, .26); stroke-width: 1.4; }
/* the contours draw in once, staggered, then stay put */
.topo-layer.draw path{
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: contour-draw 2.6s cubic-bezier(.3, .6, .2, 1) forwards;
}
.topo-layer.draw path:nth-child(3n){ animation-delay: .15s; }
.topo-layer.draw path:nth-child(3n+1){ animation-delay: .3s; }
@keyframes contour-draw{ to{ stroke-dashoffset: 0; } }

.topo-hero > .shell:not(.coords){
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.topo-hero h1{ font-size: clamp(40px, 1.2rem + 3.3vw, 66px); }
.underline{ position: relative; white-space: nowrap; }
.underline svg{
  position: absolute;
  left: -2%;
  bottom: -.16em;
  width: 104%;
  height: .32em;
  overflow: visible;
}
.underline path{ fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.topo-hero .lede{ margin-top: 26px; color: var(--muted); }
.topo-hero .cta-row{ margin-top: 34px; }
.call-line{ font-weight: 600; }
.call-line a{ text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.coords{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 10px 18px;
  flex-wrap: wrap;
  color: var(--muted);
}
.coords .pin{
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 10px;
}

/* the snapshot card: an example dashboard, white on the navy hero */
.snap{
  margin: 0;
  background: var(--mist);
  color: var(--navy);
  border-radius: 20px;
  padding: clamp(16px, 1.8vw, 24px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
  display: grid;
  gap: 14px;
}
.snap svg{ fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.snap-label{ color: var(--navy-soft); letter-spacing: .12em; margin: 0; }
.snap-top{ display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 4px 4px 0; }
.snap-card{
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20, 37, 74, .06), 0 0 0 1px rgba(20, 37, 74, .05);
  padding: clamp(14px, 1.6vw, 22px);
}
.snap-main{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(14px, 2vw, 26px); }
.snap-stats{ padding-right: clamp(14px, 2vw, 26px); border-right: 1px solid var(--line); }
.snap-k{ margin: 0; font-weight: 600; font-size: 15.5px; }
.snap-rev{ margin: 4px 0 0; display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.snap-big{ font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: -.02em; }
.snap-chg{ display: grid; font-size: 13px; padding-top: 3px; }
.snap .up{ color: #1f8a5b; font-family: var(--font-mono); font-weight: 500; }
.snap-vs{ color: var(--navy-soft); }
.snap-chart{ position: relative; min-height: 96px; align-self: stretch; margin: 30px 8px 0 0; }
.snap-chart svg{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.snap-chart .snap-area{ stroke: none; }
.snap-chart .snap-line{ stroke: var(--navy); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; animation: snap-draw 1.8s .3s cubic-bezier(.3, .6, .2, 1) forwards; }
@keyframes snap-draw{ to{ stroke-dashoffset: 0; } }
.snap-pt{ position: absolute; width: 11px; height: 11px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--navy); box-shadow: 0 0 0 3px var(--white); }
.snap-next{ background: var(--orange); }
.snap-tag{
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 8px;
  background: #e3e9f3;
  color: var(--navy);
}
.snap-next .snap-tag{ left: auto; right: -4px; transform: none; background: var(--orange-btn); color: var(--white); }
.snap-bottom{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* a short list, icon beside label, to sit level with the next-steps list */
.snap-svc ul{ list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.snap-svc a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 4px 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.snap-ico{ display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); transition: background-color .15s ease, color .15s ease; }
.snap-ico svg{ width: 17px; height: 17px; }
.snap-svc a:hover .snap-ico,
.snap-svc a:focus-visible .snap-ico{ background: var(--orange-btn); color: var(--white); }
.snap-svc a:focus-visible{ outline-color: var(--orange-btn); }
.snap-next-steps ul{ list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.snap-next-steps li{ position: relative; padding-left: 28px; font-size: 14px; line-height: 1.35; white-space: nowrap; }
.snap-next-steps li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
/* phones skip the card entirely; the hero ends at the call line */
@media (max-width: 640px){
  .snap{ display: none; }
}
/* the chart is desktop-only; phones get the numbers */
@media (max-width: 760px){
  .snap-main{ grid-template-columns: 1fr; }
  .snap-stats{ padding-right: 0; border-right: 0; }
  .snap-chart{ display: none; }
}
.marker{
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.marker.flip{ flex-direction: row-reverse; }
.marker .dot{
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(232, 120, 42, .22);
}
.marker .dot::after{
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  opacity: 0;
}
.marker:hover .dot::after,
.marker:focus-visible .dot::after{ animation: marker-ping 1.2s ease-out infinite; }
@keyframes marker-ping{
  from{ opacity: .9; transform: scale(1); }
  to{ opacity: 0; transform: scale(2.4); }
}
.marker .tag{
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.marker:hover .tag,
.marker:focus-visible .tag{ background: var(--orange-btn); }
.marker:focus-visible{ outline-color: var(--orange-btn); }
.map-foot{
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--navy-soft);
}
/* stack before the headline column gets too narrow to hold "Accounting. Tax." */
@media (max-width: 1100px){
  .topo-hero > .shell:not(.coords){ grid-template-columns: 1fr; }
  .snap{ max-width: 560px; }
  .coords{ position: static; margin-top: 40px; }
  .topo-hero{ padding-bottom: clamp(48px, 7vw, 72px); }
}
@media (max-width: 640px){
  .marker .tag{ font-size: 12.5px; padding: 6px 10px; min-height: 26px; display: inline-flex; align-items: center; }
}

/* What we do */
.svc{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}
.svc li{
  position: relative;
  padding: 30px 0 34px 40px;
  border-top: 1px solid var(--line-strong);
}
.svc li::before{
  content: "";
  position: absolute;
  left: 4px;
  top: 40px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 120, 42, .2);
}
.svc h3{ font-size: clamp(26px, 2.2vw, 32px); }
.svc .cadence{ display: block; margin-top: 8px; color: var(--navy-soft); }
.svc p{ margin-top: 12px; color: var(--navy-soft); max-width: 44ch; }
.svc .link-line{ margin-top: 14px; font-size: 15.5px; }
.svc-more{ margin-top: 28px; color: var(--navy-soft); }
@media (max-width: 760px){ .svc{ grid-template-columns: 1fr; } }

/* Who we work with */
.routes{ position: relative; color: var(--on-navy); }
.rgrid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.rcard{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(13, 26, 54, .78);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 26px 22px;
  color: var(--on-navy);
  text-decoration: none;
  transition: border-color .2s ease;
}
.rcard:hover{ border-color: var(--orange); }
.rcard h3{ font-size: 25px; color: var(--on-navy); }
.rcard .mono{ display: block; margin-top: 8px; color: var(--muted); transition: color .2s ease; }
.rcard:hover .mono,
.rcard:focus-visible .mono{ color: var(--orange); }
.rcard p{ margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.rcard .go{
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}
.rcard .go svg{ transition: transform .2s ease; }
.rcard:hover .go svg{ transform: translateX(4px); }
.rgrid--two{ grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
@media (max-width: 1000px){ .rgrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .rgrid{ grid-template-columns: 1fr; } }

/* Who does the work */
.people{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.photo{ position: relative; margin: 0; border-radius: 18px; overflow: hidden; }
.photo img{ width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo figcaption{
  font-size: 14px;
  font-weight: 600;
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--white);
  color: var(--navy);
  padding: 7px 11px;
  border-radius: 999px;
}
.people h2{ font-size: clamp(34px, 1.2rem + 2.4vw, 54px); }
.people p{ margin-top: 18px; color: var(--navy-soft); max-width: 38em; }
.creds{ display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.creds li,
.credential-pill{
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.people .link-line{ margin-top: 24px; }
@media (max-width: 820px){
  .people{ grid-template-columns: 1fr; }
  .photo{ max-width: 440px; }
}

/* Process */
.steps-title{ font-size: clamp(34px, 1.2rem + 2.4vw, 54px); }
.process-rail{
  list-style: none;
  margin: clamp(28px, 3.4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.process-step{ border-top: 1px solid var(--line-strong); padding-top: 20px; }
.process-step h3{ font-size: clamp(23px, 2vw, 28px); margin-bottom: 10px; }
.process-step p{ color: var(--navy-soft); max-width: 34ch; }
@media (max-width: 760px){ .process-rail{ grid-template-columns: 1fr; gap: 30px; } }

/* Closing */
.closing{ position: relative; color: var(--on-navy); background-color: var(--navy-deep); }
.closing .shell{
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: end;
}
.closing h2{ font-size: clamp(40px, 1.3rem + 3.4vw, 74px); color: var(--on-navy); }
.closing p{ color: var(--muted); }
.closing .cta-row{ margin-top: 24px; }
@media (max-width: 860px){ .closing .shell{ grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   6. Hero with photograph (industry pages)
   -------------------------------------------------------------------------- */
.hero{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 56vw, 640px);
  padding-block: clamp(56px, 9vw, 110px);
  color: var(--on-navy);
}
.hero-bg{ position: absolute; inset: 0; z-index: 0; }
.hero-bg img{ width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(20, 37, 74, .96) 0%,
    rgba(20, 37, 74, .9) 42%,
    rgba(20, 37, 74, .6) 68%,
    rgba(20, 37, 74, .28) 100%);
}
.hero .shell{ position: relative; z-index: 1; width: 100%; }
.hero-content{ max-width: 640px; }
.hero-headline{ font-size: clamp(42px, 1.3rem + 3.6vw, 72px); max-width: 14ch; color: var(--on-navy); }
.hero-headline em{ color: var(--on-navy); }
.hero-support{
  margin-top: clamp(16px, 2.2vw, 26px);
  max-width: 46ch;
  font-size: clamp(16.5px, 1.2vw, 18.5px);
  color: var(--muted);
}
.hero-actions{
  margin-top: clamp(18px, 2.4vw, 30px);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 720px){
  .hero{ min-height: clamp(420px, 92vw, 560px); }
  .hero-bg::after{ background: rgba(20, 37, 74, .9); }
}

/* --------------------------------------------------------------------------
   7. Interior pages
   -------------------------------------------------------------------------- */
/* every page opens on a navy contour field */
.page-head{
  background-color: var(--navy);
  background-image: url("assets/topo/contours-navy.svg");
  background-size: cover;
  background-position: center;
  color: var(--on-navy);
  padding-block: clamp(48px, 6.4vw, 96px) clamp(44px, 5.6vw, 84px);
}
.page-head h1{
  font-size: clamp(42px, 1.4rem + 3.8vw, 76px);
  max-width: 18ch;
  color: var(--on-navy);
}
.page-head h1 em{ color: var(--on-navy); }
.page-head .lede,
.page-head .section-lead{ color: var(--muted); }
.page-head .split-close{ color: var(--on-navy); }
.page-head .prompt-list li{ border-color: var(--line-light); color: var(--on-navy); }
.page-head .link-line{ color: var(--on-navy); }
.page-head .btn-ghost{ color: var(--white); border-color: rgba(255, 255, 255, .7); }
.page-head :focus-visible{ outline-color: var(--orange); }
.page-head .lede{ margin-top: 20px; }
.lede + .lede,
.lede + .section-lead{ margin-top: 16px; }
.page-head .lede,
.page-head .section-lead,
.page-head .prompt-list,
.page-head .split-close{ max-width: 64ch; }

.section-title{
  font-size: clamp(32px, 1.2rem + 2.2vw, 50px);
  max-width: 20ch;
  margin-bottom: 18px;
}
.section-lead{
  font-size: clamp(16.5px, 1.15vw, 18.5px);
  color: var(--navy-soft);
  max-width: 62ch;
  line-height: 1.65;
}
.split-close{
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  max-width: 60ch;
}

/* a second heading inside the same section, and a link that follows the copy */
.section-title--next{ margin-top: clamp(40px, 5vw, 56px); }
.section-title--list{ margin-bottom: 32px; }
.after-copy{ margin-top: 24px; }

.prompt-list{ list-style: none; margin: 22px 0 0; padding: 0; max-width: 62ch; }
.prompt-list li{ padding: 14px 0; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.55; }
.prompt-list li:last-child{ border-bottom: 1px solid var(--line); }

.other-services-list{ list-style: none; margin: 22px 0 0; padding: 0; max-width: 700px; }
.other-services-list li{ padding: 20px 0; border-top: 1px solid var(--line-strong); }
.other-services-list li:last-child{ border-bottom: 1px solid var(--line-strong); }
.other-services-list a{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: 23px;
  line-height: 1.15;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}
.other-services-list a:hover{ text-decoration-thickness: 4px; }
.other-services-list p{ margin: 8px 0 0; color: var(--navy-soft); font-size: 16px; line-height: 1.6; }

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.split--reverse .split-media{ order: 2; }
.split-media{ aspect-ratio: 5 / 6; border-radius: 18px; overflow: hidden; }
.split-media--wide{ aspect-ratio: 16 / 9; }
@media (max-width: 700px){
  .split{ grid-template-columns: 1fr; }
  .split--reverse .split-media{ order: 0; }
  .split-media{ aspect-ratio: 4 / 3; }
  .split-media--wide{ aspect-ratio: 16 / 9; }
}

.section-head{ max-width: 700px; margin-bottom: clamp(22px, 2.8vw, 38px); }
.section-head h2{ font-size: clamp(30px, 1.1rem + 2vw, 46px); margin-bottom: 18px; }
.section-head p{ color: var(--navy-soft); font-size: 17px; line-height: 1.65; }

/* navy call-to-action band with contours */
.band-navy{
  background-color: var(--navy-deep);
  background-image: url("assets/topo/contours-navy-wide.svg");
  background-size: cover;
  background-position: center;
  color: var(--on-navy);
}
.band-navy h2, .band-navy h3{ color: var(--on-navy); }
.band-navy p,
.band-navy .section-head p{ color: var(--muted); }

/* quiet mist panel inside the content width */
.band-peach{ background: transparent; }
.band-peach > .shell,
.band-peach > .wrap{
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--shell) - 2 * var(--gutter));
  margin-inline: auto;
  background: var(--mist);
  border-radius: 20px;
  padding-block: clamp(30px, 4.6vw, 64px);
  padding-inline: clamp(20px, 4vw, 60px);
}

/* mid-page navy field: one per interior page, never next to another navy band */
.field{ color: var(--on-navy); }
.field h2, .field h3{ color: var(--on-navy); }
.field .section-lead,
.field .process-step p{ color: var(--muted); }
.field .split-close{ color: var(--on-navy); }
.field .process-step{ border-top-color: var(--line-light); }

/* map cards: the same survey sheet as the homepage hero, for a page's own terrain */
.map-sheet{
  position: relative;
  margin: 0;
  background: var(--white) url("assets/topo/contours-light.svg") center / cover no-repeat;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(13, 26, 54, .45);
}
.map-sheet .marker{ cursor: default; }
.map-sheet .map-foot{ left: 18px; right: auto; }
.map-sheet--practice{ aspect-ratio: 5 / 6; }
.map-sheet--route{ aspect-ratio: 1240 / 380; margin-top: clamp(36px, 4.4vw, 56px); }
.map-sheet--route .route{ position: absolute; inset: 0; width: 100%; height: 100%; }
.map-sheet--route .map-foot{ left: auto; right: 18px; }
/* route stops sit on the line by their dot, with the label above or below it */
.map-sheet--route .marker{ flex-direction: column; gap: 10px; transform: translate(-50%, -8px); }
.map-sheet--route .marker.above{ flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 8px)); }
.map-sheet--route .route path{
  fill: none;
  stroke: var(--orange-btn);
  stroke-width: 2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
@media (max-width: 860px){
  .map-sheet--practice{ aspect-ratio: 1 / 1; }
  .map-sheet--route{ aspect-ratio: auto; padding: 22px 22px 52px; }
  .map-sheet--route .route{ display: none; }
  .map-sheet--route .marker,
  .map-sheet--route .marker.above{
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none;
    flex-direction: row;
    padding: 10px 0;
  }
  .map-sheet--route .marker + .marker{ border-top: 1px dashed var(--line-strong); }
  .map-sheet--route .marker .tag{ white-space: normal; line-height: 1.3; }
}

/* lists marked like summits */
.prompt-list--marked li{ position: relative; padding-left: 30px; }
.prompt-list--marked li::before{
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 120, 42, .18);
}

/* a pin dropped on a photograph */
.split-media{ position: relative; }
.photo-pin{
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(13, 26, 54, .82);
  color: var(--on-navy);
}
.photo-pin .pin{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 120, 42, .25);
}

.cta-band h2{ font-size: clamp(36px, 1.3rem + 3vw, 64px); max-width: 18ch; }
.cta-band p{ margin: 20px 0 0; max-width: 58ch; font-size: 17.5px; }
.cta-band .cta-row{ margin-top: 28px; }

.problem-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.problem-item{ position: relative; border-top: 1px solid var(--line-strong); padding: 24px 0 0 32px; }
/* each point is marked like a summit on the map */
.problem-item .who{ margin-top: 14px; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.problem-item::before{
  content: "";
  position: absolute;
  left: 2px;
  top: 32px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 120, 42, .2);
}
.problem-item h3{ font-size: clamp(22px, 2vw, 27px); margin-bottom: 10px; }
.problem-item p{ color: var(--navy-soft); font-size: 16px; line-height: 1.6; }
.problem-item p + p{ margin-top: 12px; }
@media (max-width: 760px){ .problem-grid{ grid-template-columns: 1fr; gap: 28px; } }

.fit-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 56px); }
.fit-col h3{ font-size: 24px; margin-bottom: 14px; }
.fit-list{ list-style: none; margin: 0; padding: 0; }
.fit-list li{
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy-soft);
}
.fit-list li:last-child{ border-bottom: 1px solid var(--line); }
.fit-yes li::after{
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
  transform: rotate(-45deg);
}
.fit-no li::after{
  content: "";
  position: absolute;
  left: 2px;
  top: 23px;
  width: 13px;
  height: 2.5px;
  background: var(--navy-soft);
}
@media (max-width: 700px){ .fit-grid{ grid-template-columns: 1fr; gap: 32px; } }

.services-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 3vw, 52px); }
.service-card{ border-top: 1px solid var(--line-strong); padding-top: 20px; }
.service-card h3{ font-size: clamp(23px, 2vw, 29px); margin: 8px 0 10px; }
.service-card p{ color: var(--navy-soft); font-size: 16px; line-height: 1.6; }
@media (max-width: 700px){ .services-grid{ grid-template-columns: 1fr; gap: 28px; } }

.process-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 48px);
}
.process-list li{ border-top: 1px solid var(--line-strong); padding-top: 20px; }
.band-navy .process-list li{ border-top-color: var(--line-light); }
.service-full{
  position: relative;
  padding: clamp(32px, 4vw, 52px) 0 clamp(32px, 4vw, 52px) 40px;
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 96px;
}
.service-full::before{
  content: "";
  position: absolute;
  left: 4px;
  top: calc(clamp(32px, 4vw, 52px) + 12px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(232, 120, 42, .2);
}
.service-full:last-of-type{ border-bottom: 1px solid var(--line-strong); }
.service-full h2{ font-size: clamp(28px, 1rem + 1.8vw, 40px); margin-bottom: 14px; }
.service-full p{ color: var(--navy-soft); font-size: 17px; line-height: 1.65; max-width: 62ch; }
.service-full .who{
  display: block;
  margin-top: 16px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
}

.wide-copy{ max-width: 900px; }
.wide-copy .section-title{ max-width: 24ch; }
.wide-copy .section-lead,
.wide-copy .split-close{ max-width: 66ch; }

.service-sub{
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--mist);
  border-radius: 14px;
}
.service-sub h3{ font-size: 21px; margin-bottom: 8px; }

/* two white sections in a row share one gap instead of stacking two */
main > section:is(:not([class]), .faq, .band-peach, .ck-page-break) + section:is(:not([class]), .faq, .band-peach, .ck-page-break){ padding-top: 0; }

/* full-width two-column copy: heading on the left, the reading on the right */
.split-copy{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px clamp(40px, 6vw, 96px);
  align-items: start;
}
.split-copy + .split-copy{ margin-top: clamp(48px, 6vw, 80px); }
.split-copy > :first-child .section-title,
.split-copy > .section-title{ max-width: 16ch; margin-bottom: 0; }
.split-copy .section-lead,
.split-copy .split-close,
.split-copy .prompt-list{ max-width: 68ch; }
.split-copy > .prompt-list{ margin-top: 0; }
.split-copy .lede-col > .section-lead{ margin-top: 18px; }
.page-head .split-copy h1{ max-width: 14ch; }
.split-copy--wide-head{ grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.page-head .split-copy--wide-head h1{ max-width: 16ch; }
.page-head .split-copy > * > :first-child{ margin-top: 0; }

.service-full--split{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 14px clamp(40px, 6vw, 96px);
}
.service-full--split h2{ margin-bottom: 0; max-width: 14ch; }
.service-full--split p{ max-width: 68ch; }

.other-services-list--grid{
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 56px);
}
.other-services-list--grid li:last-child{ border-bottom: 0; }

.process-list--three{ grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(32px, 4vw, 52px); }

@media (max-width: 960px){
  .split-copy,
  .split-copy--wide-head,
  .service-full--split{ grid-template-columns: 1fr; }
  .page-head .split-copy{ gap: 20px; }
  .page-head .split-copy h1{ max-width: 18ch; }
  .process-list,
  .process-list--three{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .other-services-list--grid{ grid-template-columns: 1fr; }
  .other-services-list--grid li:last-child{ border-bottom: 1px solid var(--line-strong); }
}
@media (max-width: 560px){
  .process-list,
  .process-list--three{ grid-template-columns: 1fr; }
}

/* about.html */
.founder-row{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.founder-media{ aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; }
.founder-copy h2{ font-size: clamp(32px, 1.2rem + 2.2vw, 50px); margin-bottom: 22px; }
.founder-copy p{ color: var(--navy-soft); font-size: 17px; line-height: 1.65; margin-bottom: 18px; max-width: 58ch; }
.founder-credentials{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
/* Two stacked photos. height:0 + min-height:100% keeps the stack out of the
   row's sizing, so it always matches the copy's height and never exceeds it. */
.founder-stack{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(12px, 1.4vw, 18px);
  align-self: stretch;
  height: 0;
  min-height: 100%;
  width: 100%;
  max-width: 340px;
  justify-self: center;
}
.founder-stack picture{ display: block; min-height: 0; }
.founder-stack img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}
.founder-stack__para{ object-position: 30% 55%; }
.founder-stack__moto{ object-position: 45% center; }
@media (max-width: 680px){
  .founder-row{ grid-template-columns: 1fr; }
  .founder-media{ aspect-ratio: 4 / 3; order: 1; }
  /* Phones: side by side under the copy instead of a tall stack */
  .founder-stack{ order: 1; grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; height: auto; min-height: 0; max-width: none; }
  .founder-stack img{ height: auto; aspect-ratio: 1 / 1; border-radius: 14px; }
}

.industries-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 56px); }
.industry-item{
  border-top: 1px solid var(--line-strong);
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.15;
}
.industry-item span{
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy-soft);
  margin-top: 6px;
}
@media (max-width: 820px){ .industries-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .industries-grid{ grid-template-columns: 1fr; } }

/* contact.html */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-form-wrap{ order: -1; }
.contact-card{ padding-top: 0; }
.contact-line{ margin-bottom: 14px; }
.contact-line:last-child{ margin-bottom: 0; }
.contact-line .label{
  display: block;
  font-family: var(--font-mono);
  font-variation-settings: "wdth" 85;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 6px;
}
.contact-line a, .contact-line span:not(.label){
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.3;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}
.contact-line a:hover{ text-decoration-thickness: 4px; }
.contact-note{ font-size: 17px; line-height: 1.65; color: var(--navy-soft); }
.contact-note p{ margin-bottom: 16px; }
@media (max-width: 680px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* the three steps, repeated where the visitor decides: same ruled steps as the home page */
.contact-steps{ list-style: none; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; display: grid; gap: 28px; }
.contact-steps li{ border-top: 1px solid var(--line-strong); padding-top: 20px; }
.contact-steps h2{ font-size: clamp(23px, 2vw, 28px); margin-bottom: 10px; }
.contact-steps p{ color: var(--navy-soft); max-width: 40ch; }
.contact-steps + .contact-line{ border-top: 1px solid var(--line-strong); padding-top: 24px; }

.contact-form-wrap{
  background: var(--mist);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 36px);
}
.form-hp{ position: absolute; left: -9999px; top: -9999px; }
.form-row{ margin-bottom: 18px; }
.form-row label{ display: block; font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field-hint{ margin: -2px 0 8px; font-size: 15px; line-height: 1.5; color: var(--navy-soft); }
.form-row label .optional{ font-weight: 400; color: var(--navy-soft); }
.form-row input,
.form-row textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #7f8aa3;
  border-radius: 10px;
  padding: 12px 14px;
  caret-color: var(--orange-btn);
  transition: border-color .15s ease;
}
.form-row input:focus,
.form-row textarea:focus{
  outline: 3px solid rgba(232, 120, 42, .35);
  outline-offset: 0;
  border-color: var(--navy);
}
.form-row input:user-invalid,
.form-row textarea:user-invalid{ border-color: #a3261e; }
.form-row textarea{ resize: vertical; min-height: 130px; }
button.btn:disabled{ opacity: .6; cursor: progress; }

.form-status{ margin-top: 14px; font-size: 15px; font-weight: 600; color: #a3261e; }
.form-status:empty{ display: none; }
.form-note{ margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--navy-soft); }
.form-note a{ color: var(--navy); }

.form-success{
  background: var(--mist);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 36px);
}
.form-success:focus{ outline: none; }
.form-success h2,
.form-success h3{ font-size: 34px; margin-bottom: 10px; }
.form-success p{ color: var(--navy-soft); font-size: 16.5px; line-height: 1.6; max-width: 42ch; }

/* --------------------------------------------------------------------------
   8. Blog
   -------------------------------------------------------------------------- */
.blog-grid{ display: grid; gap: 0; max-width: 920px; }
.blog-card{ border-top: 1px solid var(--line-strong); padding-block: clamp(26px, 3vw, 40px); }
.blog-card:last-child{ border-bottom: 1px solid var(--line-strong); }
.blog-card h2{ font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 10px; max-width: 26ch; }
.blog-card .post-date{ display: block; margin-bottom: 14px; }
.blog-card p{ color: var(--navy-soft); font-size: 16.5px; line-height: 1.62; max-width: 60ch; margin-bottom: 16px; }
.post-date{
  font-family: var(--font-mono);
  font-variation-settings: "wdth" 85;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-soft);
}
.page-head .post-date{ color: var(--muted); }
.read-more{
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}
.read-more:hover{ text-decoration-thickness: 4px; }

.post-wrap{
  max-width: 760px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-inline: var(--gutter);
}
.back-link{
  display: inline-block;
  margin-bottom: 24px;
  padding-block: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--on-navy);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}
.page-head .post-wrap h1{ font-size: clamp(36px, 1.2rem + 3vw, 60px); max-width: 20ch; }
.page-head .post-wrap .post-date{ display: block; margin-top: 18px; }

.post-body{ padding-top: 8px; }
.post-body > :first-child{ margin-top: 0; }
.post-body h2{ font-size: clamp(26px, 2.6vw, 34px); margin: 48px 0 16px; }
.post-body p{ margin-bottom: 22px; font-size: 18px; line-height: 1.75; }
.post-body ul{ margin: 0 0 24px; padding-left: 20px; }
.post-body li{ margin-bottom: 10px; font-size: 17.5px; line-height: 1.7; }
.post-body li::marker{ color: var(--orange-btn); }
.post-body a{ font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.post-body strong{ font-weight: 700; }
.post-disclaimer{
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--navy-soft);
}
.post-body .post-disclaimer{ font-size: 14.5px; color: var(--navy-soft); }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.site-footer{
  background: var(--navy-deep);
  color: var(--muted);
  padding-block: clamp(40px, 4.4vw, 56px) 26px;
  font-size: 15px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 28px;
}
.footer-logo{
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}
.footer-blurb{ max-width: 34ch; line-height: 1.6; }
.footer-col-title{
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col a{ display: inline-block; padding-block: 7px; text-decoration: none; color: var(--muted); }
.footer-col a:hover{ color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); }
.footer-bottom{
  border-top: 1px solid var(--line-light);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-bottom a{ color: inherit; text-decoration: none; display: inline-block; padding-block: 6px; }
.footer-bottom a:hover{ color: var(--white); text-decoration: underline; }
.site-footer .wrap{ max-width: var(--shell); }
@media (max-width: 760px){ .footer-top{ grid-template-columns: 1fr; gap: 26px; } }

/* --------------------------------------------------------------------------
   10. Utilities & motion
   -------------------------------------------------------------------------- */
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* One authored moment: the hero contours draw in on load. Markers ping on
   hover or focus. Everything is visible without motion. */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .topo-layer.draw path{ stroke-dashoffset: 0; animation: none; }
  .marker .dot::after{ animation: none !important; }
  .snap-chart .snap-line{ stroke-dashoffset: 0; animation: none; }
  .rcard:hover{ transform: none; }
}

.steps{ background: var(--mist); }
.page-head .ck-basis{ color: var(--navy); border-radius: 14px; }
.page-head .ck-basis{ border-top: 0; }
/* longer mono lines read in sentence case */
.coords > span,
.post-date{ text-transform: none; letter-spacing: 0; }

/* --------------------------------------------------------------------------
   alexlang.org welcome (homepage dialog, opened by script.js)
   -------------------------------------------------------------------------- */
.hello{
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 24px 64px rgba(13, 26, 54, .35);
}
.hello::backdrop{ background: rgba(13, 26, 54, .72); }
html:has(.hello[open]){ overflow: hidden; }

.hello__media{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
/* the global picture{display:contents} would turn each <source> into a grid cell */
.hello__media picture{ display: block; min-width: 0; }
.hello__media img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hello__close{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 26, 54, .6);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.hello__close:hover{ background: var(--navy); }

.hello__body{ padding: 28px; }
.hello h2{ font-size: clamp(28px, 6vw, 36px); margin-bottom: 14px; }
.hello__body p{ font-size: 16px; color: var(--navy-soft); }
.hello__body p + p{ margin-top: 12px; }
.hello__go{ margin-top: 24px; }
.hello__back{
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--navy-soft);
  text-decoration: underline;
}
.hello__back:hover{ color: var(--navy); }
@media (max-width: 480px){
  .hello__body{ padding: 22px 20px; }
}
