/* Sumner Digital · the interim site, every page, 2026-11-05
 * The Website HQ Teal look (Website HQ/websites/teal-home/, modeled on sperlinginteractive.com) converted
 * to Sumner Digital: full-bleed photo hero with rotating blur-in headlines, edge-to-edge split panels,
 * a color band, a ruled service list, a blue split panel, a dark footer.
 * Sumner Digital's own colors: deep navy and white, a cobalt blue for panels and links,
 * and the logo's orange kept small (dots, the header button).
 * One family (DM Sans): bold 700 for headlines, light 300 italic for the accent words. */

/* Layout: full-bleed bands; split panels run edge to edge, copy sits inside a 76rem measure */
:root {
  color-scheme: light;
  --ink: #10294f;        /* deep navy: headlines, body copy, hero wash, menu */
  --ink-deep: #0a1a35;   /* footer and hero base */
  --ink-soft: #4b5d7c;   /* secondary copy on paper */
  --blue: #1d52c4;       /* cobalt: panel, button outlines, quote, small labels */
  --sky: #a9cdfb;        /* light blue on navy: outlines, rules, footer text */
  --mist: #bcd7f7;       /* the pale blue band */
  --line: #9fc2f3;       /* rules on paper */
  --hot: #cf4319;        /* the logo's orange, deep enough to carry white text */
  --hot-ink: #c03d14;    /* orange for text on white */
  --flame: #f05f22;      /* the logo's orange: dots and small marks */
  --paper: #f6f8fc;
  --white: #ffffff;

  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-hero: clamp(2.5rem, 1.1rem + 4.6vw, 5rem);
  --text-h2: clamp(2.1rem, 1.25rem + 2.9vw, 3.55rem);
  --text-row: clamp(1.3rem, 1rem + 0.9vw, 1.7rem);
  --text-lede: clamp(1.08rem, 1rem + 0.3vw, 1.25rem);
  --text-body: 1.0625rem;
  --text-small: 0.9rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 76rem;
  --edge: max(var(--gutter), calc((100vw - var(--measure)) / 2 + var(--gutter)));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body {
  margin: 0; overflow-x: clip;
  background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--text-body); font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.018em; line-height: 1.05; text-wrap: balance; }
h1 i, h2 i { font-style: italic; font-weight: 300; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; border-radius: 6px; background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { html { scroll-padding-top: 5rem; } }

/* ---------- Eyebrow: dot + short label, as on Sperling ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.95rem; font-weight: 600; line-height: 1.2; color: var(--blue);
}
.eyebrow::before { content: ""; flex: none; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--flame); }
.eyebrow--ink { color: var(--ink); }
.eyebrow--ink::before { background: var(--hot); }
.eyebrow--sky { color: var(--sky); }
.eyebrow--light { color: var(--white); }
.eyebrow--light::before { background: var(--sky); }

/* ---------- Buttons: the outlined pill with its own arrow circle ---------- */
.go {
  --go-ink: var(--ink); --go-line: var(--blue); --go-fill-ink: var(--white);
  display: inline-flex; align-items: center; align-self: start; justify-self: start;
  color: var(--go-ink); text-decoration: none; font-weight: 700; font-size: 1.0625rem; line-height: 1.1;
}
.go__label {
  display: inline-flex; align-items: center; min-height: 2.9rem;
  padding: 0.55rem 1.45rem; border: 2px solid var(--go-line); border-radius: 999px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.go__dot {
  display: grid; place-items: center; flex: none;
  width: 2.9rem; height: 2.9rem; margin-left: -0.1rem;
  border: 2px solid var(--go-line); border-radius: 50%;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.go__dot svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.go:hover .go__label { background: var(--go-line); color: var(--go-fill-ink); }
.go:hover .go__dot svg { transform: translateX(3px); }
.go:active .go__label { transform: translateY(1px); }
.go--light { --go-ink: var(--white); --go-line: var(--white); --go-fill-ink: var(--ink); }
.go--sky { --go-ink: var(--sky); --go-line: var(--sky); --go-fill-ink: var(--ink-deep); }
.go--onmist { --go-line: var(--ink); --go-fill-ink: var(--white); }

.pill {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: 0.5rem 1.35rem; border-radius: 999px;
  background: var(--hot); color: var(--white);
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(207, 67, 25, 0.4); }
.pill:active { transform: translateY(1px); box-shadow: none; }

/* ---------- Header: big logo, orange pill, three-line menu ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(env(safe-area-inset-top, 0px) + 1.4rem) var(--gutter) 1.4rem;
  transition: background-color 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.bar.is-solid { background: var(--ink); padding-block: calc(env(safe-area-inset-top, 0px) + 0.8rem) 0.8rem; box-shadow: 0 10px 30px rgba(10, 26, 53, 0.3); }
.bar.is-menu { background: transparent; box-shadow: none; }
.bar__logo { display: inline-flex; text-decoration: none; }
.bar__logo img { height: clamp(1.9rem, 1.3rem + 1.5vw, 2.6rem); width: auto; transition: height 0.35s var(--ease); }
.bar.is-solid .bar__logo img { height: clamp(1.7rem, 1.2rem + 1.1vw, 2.15rem); }
.bar__right { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.75rem); }
.burger {
  display: grid; align-content: center; justify-items: end; gap: 0.42rem;
  width: 2.9rem; height: 2.9rem; padding: 0; margin-right: -0.2rem;
  background: none; border: 0; cursor: pointer; color: var(--white);
}
.burger span { display: block; height: 3px; width: 2.5rem; border-radius: 3px; background: currentColor; transition: transform 0.35s var(--ease), width 0.35s var(--ease), opacity 0.2s; }
.burger span:nth-child(2) { width: 1.8rem; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.6rem) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.6rem) rotate(-45deg); }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto;
  background: var(--ink); color: var(--white);
  padding-block: calc(env(safe-area-inset-top, 0px) + 7.5rem) calc(env(safe-area-inset-bottom, 0px) + 2.5rem);
  animation: menu-in 0.4s var(--ease);
}
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
.menu__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; align-items: end; }
.menu nav { display: grid; gap: 0.2rem; }
.menu nav a {
  justify-self: start; text-decoration: none;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12;
  transition: color 0.25s var(--ease);
}
.menu nav a:hover { color: var(--sky); font-style: italic; font-weight: 300; }
.menu__contact { display: grid; gap: 0.35rem; color: var(--sky); font-size: 1.1rem; }
.menu__contact a { text-decoration: none; }
.menu__contact a:hover { text-decoration: underline; }

/* ---------- Hero: photo slideshow under a navy wash, headline that blurs in ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center;
  min-height: clamp(36rem, 94svh, 62rem);
  padding-block: clamp(8rem, 14vh, 10rem) clamp(5rem, 10vh, 7rem);
  background: var(--ink-deep); color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__photo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__photo.is-on { opacity: 1; }
.hero__photo img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1.13) translate3d(-1.5%, -1%, 0); } }
/* Two layers over the photos: a blue multiply tint so every photo reads as the same deep blue,
   then a navy wash that keeps the headline legible and fades into the next section */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: #3567cf; mix-blend-mode: multiply;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(10, 26, 53, 0.42), transparent 75%),
    linear-gradient(180deg, rgba(10, 26, 53, 0.7) 0%, rgba(13, 34, 68, 0.3) 30%, rgba(16, 41, 79, 0.5) 62%, var(--ink) 100%);
}
.hero__content { display: grid; justify-items: center; gap: clamp(1.5rem, 3vw, 2.25rem); text-align: center; }
.hero__title { font-size: var(--text-hero); line-height: 1.04; max-width: 17ch; text-shadow: 0 2px 30px rgba(10, 26, 53, 0.45); }
.rotator { display: grid; }
.phrase {
  grid-area: 1 / 1; align-self: center;
  opacity: 0; filter: blur(22px); transform: scale(1.04);
  transition: opacity 0.95s ease, filter 0.95s ease, transform 1.2s var(--ease);
}
.phrase.is-on { opacity: 1; filter: blur(0); transform: none; }
.hero__content .go { justify-self: center; }
.hero__lede { max-width: 46ch; font-size: var(--text-lede); line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.hero__pause {
  position: absolute; right: var(--gutter); bottom: clamp(1.25rem, 3vw, 2rem);
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 50%;
  background: transparent; color: var(--white); cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.hero__pause:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.12); }
.hero__pause svg { width: 0.9rem; height: 0.9rem; fill: currentColor; }
.hero__pause .i-play { display: none; }
.hero__pause.is-paused .i-play { display: block; }
.hero__pause.is-paused .i-pause { display: none; }

/* ---------- Split: copy on paper, photo mosaic to the right edge ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--white); }
.split__text {
  display: grid; align-content: center; gap: 1.25rem; min-width: 0;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  padding-inline: var(--edge) clamp(1.5rem, 4vw, 4.5rem);
}
.split__text h2 { font-size: var(--text-h2); }
.split__text p:not(.eyebrow) { max-width: 44ch; }
.split__text .go { margin-top: 0.75rem; }
.mosaic {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 3px; min-height: clamp(30rem, 52vw, 46rem); background: var(--white);
}
.mosaic figure { position: relative; overflow: hidden; min-height: 0; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 0.9rem; bottom: 0.9rem;
  display: inline-flex; align-items: baseline; gap: 0.45rem;
  padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--ink); color: var(--white);
  font-size: var(--text-small); font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.mosaic figcaption span { color: var(--sky); font-weight: 400; font-style: italic; }
.m1 { grid-column: 1; grid-row: 1 / 7; }
.m2 { grid-column: 2; grid-row: 1 / 5; }
.m3 { grid-column: 2; grid-row: 5 / 7; }

/* ---------- Pale blue band: Jeane stands on its bottom edge, one word keeps changing ---------- */
.band { background: var(--mist); color: var(--ink); padding-top: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.band__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.band__head h2 { font-size: var(--text-h2); }
.swap { display: inline-block; padding-right: 0.06em; transition: opacity 0.4s ease, filter 0.4s ease; }
.swap.is-out { opacity: 0; filter: blur(10px); }
.band__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter);
}
.band__jeane { position: relative; align-self: end; justify-self: center; width: min(100%, 35rem); }
.band__jeane img { width: 100%; height: auto; }
.band__jeane figcaption {
  position: absolute; left: 0; bottom: clamp(1.5rem, 3vw, 2.5rem);
  display: inline-flex; align-items: baseline; gap: 0.45rem;
  padding: 0.5rem 1rem; border-radius: 999px; background: var(--ink); color: var(--white);
  font-size: var(--text-small); font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.band__jeane figcaption span { color: var(--sky); font-weight: 400; font-style: italic; }
.band__copy { display: grid; align-content: center; gap: 1.25rem; min-width: 0; padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.band__copy > p { max-width: 48ch; }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.75rem;
  margin: 0.75rem 0 0.5rem; padding-top: 1.5rem; border-top: 2px solid rgba(16, 41, 79, 0.22);
}
.stats div { min-width: 0; }
.stats dt { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd { margin: 0.35rem 0 0; font-size: var(--text-small); line-height: 1.4; }

/* ---------- Services: sticky intro left, ruled list right ---------- */
.services {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.services__intro { position: sticky; top: 7.5rem; align-self: start; display: grid; gap: 1.25rem; min-width: 0; }
.services__intro h2 { font-size: var(--text-h2); }
.services__intro p:not(.eyebrow) { max-width: 40ch; }
.services__intro .go { margin-top: 0.75rem; }
.services__main { min-width: 0; }
.services__list { display: grid; margin: 0; padding: 0; list-style: none; }
.svc {
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0 1.1rem; align-items: baseline;
  padding-block: 1.35rem; border-bottom: 1.5px solid var(--line);
}
.svc:first-child { padding-top: 0.2rem; }
.svc__num { font-size: 0.95rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.svc__name { display: block; font-size: var(--text-row); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.svc__desc { display: block; margin-top: 0.35rem; max-width: 50ch; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; }
.services__note { margin-top: 1.6rem; max-width: 54ch; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }

/* ---------- When to call: navy band, four numbered moments ---------- */
.moments { background: var(--ink); color: var(--white); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.moments__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.moments__head > div { display: grid; gap: 1rem; }
.moments__head h2 { font-size: var(--text-h2); }
.moments__head > p { max-width: 34ch; color: rgba(255, 255, 255, 0.82); }
.moments__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 2.75rem) clamp(1.25rem, 2.4vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.moment { display: grid; align-content: start; gap: 0.7rem; min-width: 0; padding-top: 1.4rem; border-top: 2px solid var(--sky); }
.moment__num { font-size: clamp(2.6rem, 2rem + 1.8vw, 3.6rem); font-weight: 300; font-style: italic; letter-spacing: -0.02em; line-height: 1; color: var(--sky); font-variant-numeric: tabular-nums; }
.moment h3 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.2; letter-spacing: -0.012em; }
.moment p { color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; line-height: 1.55; }

/* ---------- A client's words: cobalt panel left, the quote on white right ---------- */
.voices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); }
.voices__panel {
  display: grid; align-content: center; gap: 1.25rem; min-width: 0;
  background: var(--blue); color: var(--white);
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  padding-inline: var(--edge) clamp(1.5rem, 5vw, 5rem);
}
.voices__panel h2 { font-size: var(--text-h2); }
.voices__panel p:not(.eyebrow) { max-width: 40ch; }
.voices__panel .go { margin-top: 0.75rem; }
.voices__list {
  display: grid; align-content: center; gap: clamp(2rem, 4vw, 3rem); min-width: 0;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  padding-inline: clamp(1.5rem, 5vw, 5rem) var(--edge);
}
.voice { display: grid; gap: 1.1rem; }
.voice blockquote {
  margin: 0; max-width: 27ch;
  font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 500; letter-spacing: -0.014em; line-height: 1.28;
  color: var(--blue);
}
.voice figcaption { font-size: 1rem; font-weight: 400; color: var(--ink); }
.voice figcaption .who { font-weight: 700; }

/* ---------- Footer: deepest navy, light blue type, how to reach us ---------- */
.foot { background: var(--ink-deep); color: var(--white); padding-block: clamp(4rem, 8vw, 6.5rem) calc(env(safe-area-inset-bottom, 0px) + 2rem); }
.foot__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: end; }
.foot__cta { display: grid; gap: 1.25rem; min-width: 0; }
.foot__cta h2 { font-size: var(--text-h2); }
.foot__cta h2 i { color: var(--sky); }
.foot__cta p { max-width: 46ch; color: rgba(255, 255, 255, 0.82); }
.foot__cta .go { margin-top: 0.75rem; }
.reach { display: grid; gap: 0.3rem; justify-items: end; text-align: right; color: var(--sky); font-size: 1.05rem; }
.reach__label { margin-bottom: 0.35rem; font-size: var(--text-small); font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.reach a { text-decoration: none; }
.reach a:hover { text-decoration: underline; }
.reach__phone { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--white); }
.foot__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem;
  margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: 2rem; border-top: 1px solid rgba(169, 205, 251, 0.3);
}
.foot__logo img { height: clamp(2rem, 1.5rem + 1.4vw, 2.75rem); width: auto; }
.foot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2rem; color: var(--sky); font-size: 1rem; }
.foot__meta a { text-decoration: none; }
.foot__meta a:hover { text-decoration: underline; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; width: 100%; color: rgba(255, 255, 255, 0.66); font-size: 0.85rem; }
.foot__legal a { text-decoration: none; }
.foot__legal a:hover { color: var(--white); }

/* ---------- Reduced motion: no slideshow, no drift, no blur swaps ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__photo img { animation: none; }
  .phrase, .hero__photo, .swap, .menu { transition: none; animation: none; }
  .hero__pause { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .moments__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 56rem) {
  .split, .voices, .services, .foot__top, .menu__inner { grid-template-columns: minmax(0, 1fr); }
  .split__text, .voices__panel, .voices__list { padding-inline: var(--gutter); }
  .mosaic { min-height: clamp(26rem, 100vw, 36rem); }
  .band__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .band__copy { order: -1; padding-bottom: 2.5rem; }
  .band__jeane { width: min(88%, 24rem); }
  .services__intro { position: static; }
  .voice blockquote { max-width: 30ch; }
  .reach { justify-items: start; text-align: left; }
  .menu__inner { gap: 2.5rem; }
}
@media (max-width: 34rem) {
  .bar { gap: 0.75rem; }
  .pill { min-height: 2.5rem; padding-inline: 1rem; font-size: 0.92rem; }
  .burger { width: 2.5rem; }
  .burger span { width: 2.1rem; }
  .burger span:nth-child(2) { width: 1.5rem; }
  .hero__lede { font-size: 1.05rem; }
  .moments__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 1.1rem 1rem; }
  .svc { grid-template-columns: 1.9rem minmax(0, 1fr); gap: 0 0.7rem; }
  .mosaic figcaption { left: 0.6rem; bottom: 0.6rem; font-size: 0.8rem; padding: 0.4rem 0.75rem; }
}
@media (pointer: coarse) { .go__label, .go__dot { min-height: 3rem; } .go__dot { width: 3rem; height: 3rem; } }

/* =====================================================================
   Inner pages: page hero, prose, blog cards, people, contact split
   ===================================================================== */

/* ---------- Page hero: a navy band under the fixed header, with a ring that echoes the arrow circles ---------- */
.phero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding-block: clamp(8.5rem, 17vh, 11rem) clamp(3.25rem, 6vw, 5rem);
}
.phero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: clamp(-14rem, -8vw, -6rem); top: 50%; width: clamp(22rem, 38vw, 38rem); aspect-ratio: 1;
  border: 2px solid rgba(169, 205, 251, 0.16); border-radius: 50%; transform: translateY(-42%);
  box-shadow: inset 0 0 0 4.5rem rgba(169, 205, 251, 0.035);
}
.phero__inner { display: grid; gap: 1.25rem; }
.phero h1 { font-size: clamp(2.4rem, 1.3rem + 3.9vw, 4.4rem); line-height: 1.04; max-width: 20ch; }
.phero--post h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); max-width: 24ch; line-height: 1.08; }
.phero__lede { max-width: 54ch; font-size: var(--text-lede); line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.phero__meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; color: var(--sky); font-size: 0.98rem; }
.phero .go { margin-top: 0.5rem; }
.phero a.eyebrow { text-decoration: none; }
.phero a.eyebrow:hover { text-decoration: underline; }
/* photo version: the same blue treatment as the homepage hero */
.phero--photo { background: var(--ink-deep); }
.phero--photo::after { display: none; }
.phero__media { position: absolute; inset: 0; z-index: -3; }
.phero__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 40%); }
.phero__tint { position: absolute; inset: 0; z-index: -2; background: #3567cf; mix-blend-mode: multiply; }
.phero__wash { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 26, 53, 0.72) 0%, rgba(13, 34, 68, 0.38) 40%, rgba(16, 41, 79, 0.7) 78%, var(--ink) 100%); }

/* ---------- Article shell and prose: legal pages, posts, anything WordPress hands us ---------- */
.article { background: var(--white); padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6.5rem); }
.post__lead { max-width: 60rem; margin: 0 auto clamp(2rem, 4vw, 3.25rem); padding-inline: var(--gutter); }
.post__lead img { width: 100%; height: auto; max-height: 34rem; object-fit: cover; border-radius: 6px; }
.prose { max-width: 46rem; margin-inline: auto; padding-inline: var(--gutter); font-size: 1.125rem; line-height: 1.72; overflow-wrap: break-word; }
.prose::after { content: ""; display: block; clear: both; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { margin: 2.1em 0 0.6em; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem); line-height: 1.15; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: clamp(1.28rem, 1.15rem + 0.5vw, 1.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.012em; }
.prose h4, .prose h5, .prose h6 { margin: 1.6em 0 0.4em; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.prose > :first-child, .prose .et_pb_text_inner > :first-child { margin-top: 0; }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
.prose a:hover { color: var(--hot-ink); }
.prose strong, .prose b { font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--blue); font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding: 0.15em 0 0.15em 1.4rem; border-left: 3px solid var(--line); color: var(--blue); font-size: 1.3rem; font-weight: 500; line-height: 1.4; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { height: auto; border-radius: 4px; }
.prose figure { margin: 1.8em 0; }
.prose figcaption, .prose .wp-caption-text { margin-top: 0.5em; color: var(--ink-soft); font-size: 0.9rem; }
.prose .wp-caption { max-width: 100%; }
.prose .aligncenter { display: block; margin: 1.6em auto; }
.prose .alignright { float: right; max-width: 46%; margin: 0.35em 0 1em 1.6em; }
.prose .alignleft { float: left; max-width: 46%; margin: 0.35em 1.6em 1em 0; }
.prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 0.6em 0.8em; border-bottom: 1.5px solid var(--line); text-align: left; vertical-align: top; }
.prose hr { margin: 2.5em 0; border: 0; border-top: 1.5px solid var(--line); }
.prose iframe, .prose video, .prose embed { max-width: 100%; }
.prose pre { overflow-x: auto; padding: 1rem; border-radius: 6px; background: var(--paper); font-size: 0.95rem; }
/* What the Divi builder leaves behind once its own stylesheet is gone */
.prose .et_pb_button_module_wrapper { margin: 1.5em 0 2em; }
.prose a.et_pb_button {
  display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0.55rem 1.45rem;
  border: 2px solid var(--blue); border-radius: 999px; color: var(--ink);
  font-size: 1.0625rem; font-weight: 700; line-height: 1.1; text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.prose a.et_pb_button:hover { background: var(--blue); color: var(--white); }
.prose .et_pb_image { margin: 2.4em 0 0.4em; }
.prose .et_pb_image img { max-width: min(100%, 13rem); max-height: 6rem; width: auto; object-fit: contain; }
.prose .et_pb_image + .et_pb_text h2, .prose .et_pb_image + .et_pb_text h3 { margin-top: 0.4em; }
.prose .et_pb_row + .et_pb_row, .prose .et_pb_section + .et_pb_section { margin-top: 1.2em; }
.prose .et-pb-icon, .prose .et_pb_social_media_follow, .prose .et_pb_divider, .prose .et_pb_scroll_top,
.prose .lwrp, .prose .sharedaddy, .prose .jp-relatedposts, .prose .wp-block-spacer { display: none; }
.prose .wpil-link-icon svg { fill: currentColor !important; stroke: currentColor !important; }

/* ---------- Blog cards ---------- */
.listing { background: var(--white); padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.25rem, 3.5vw, 3.25rem) clamp(1.25rem, 2.4vw, 2rem); }
.card { display: grid; align-content: start; gap: 0.55rem; min-width: 0; color: var(--ink); text-decoration: none; }
.card__img { overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 0.5rem; border-radius: 4px; background: linear-gradient(135deg, var(--mist), var(--sky)); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__cat { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--blue); font-size: 0.85rem; font-weight: 600; line-height: 1.2; }
.card__cat::before { content: ""; flex: none; width: 0.38rem; height: 0.38rem; border-radius: 50%; background: var(--flame); }
.card__title { font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.4rem); font-weight: 600; letter-spacing: -0.012em; line-height: 1.22; text-wrap: balance; transition: color 0.25s var(--ease); }
.card:hover .card__title { color: var(--blue); }
.card__excerpt { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; }
.card__date { color: var(--ink-soft); font-size: var(--text-small); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.75rem; border-top: 1.5px solid var(--line); }
.pager__at { color: var(--ink-soft); font-size: 0.98rem; }
.go--back .go__dot { order: -1; margin: 0 -0.1rem 0 0; }
.go--back .go__dot svg { transform: rotate(180deg); }
.go--back:hover .go__dot svg { transform: rotate(180deg) translateX(3px); }
.listing__empty { max-width: 44ch; font-size: var(--text-lede); }
.more { background: var(--paper); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.more__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.more__head h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); }

/* ---------- About: the two of us ---------- */
.people { background: var(--white); padding-block: clamp(4rem, 8vw, 6.5rem); }
.people__head { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.people__head h2 { font-size: var(--text-h2); }
.people__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.person { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.person figure { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--mist); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 20%); }
.person__text { display: grid; gap: 0.6rem; min-width: 0; padding-top: 0.25rem; }
.person h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); }
.person__role { color: var(--blue); font-size: 0.98rem; font-weight: 600; }
.person p:not(.person__role) { font-size: 1rem; line-height: 1.6; }
.svc__num--year { font-size: 1.05rem; }
.svc--year { grid-template-columns: 3.4rem minmax(0, 1fr); }
.band--plain { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.band--plain .band__grid { align-items: start; }
.band--plain .band__copy { padding-bottom: 0; align-content: start; }
.band__aside { display: grid; align-content: start; gap: 1rem; min-width: 0; }
.band__aside h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); line-height: 1.15; }
.band__aside p { max-width: 46ch; }

/* ---------- Contact: details on the cobalt panel, the form on white ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--white); }
.contact__panel {
  display: grid; align-content: start; gap: 1.6rem; min-width: 0;
  background: var(--blue); color: var(--white);
  padding-block: clamp(3rem, 6vw, 5rem);
  padding-inline: var(--edge) clamp(1.5rem, 4vw, 4rem);
}
.contact__panel h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); line-height: 1.1; }
.contact__list { display: grid; gap: 1.2rem; margin: 0; }
.contact__list dt { color: var(--sky); font-size: var(--text-small); font-weight: 600; }
.contact__list dd { margin: 0.15rem 0 0; font-size: 1.15rem; line-height: 1.45; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 1rem; }
.contact__social a { text-underline-offset: 0.18em; }
.contact__form { min-width: 0; padding-block: clamp(2.5rem, 5vw, 4rem); padding-inline: clamp(1.25rem, 4vw, 4rem) var(--edge); }
.contact__form h2 { margin-bottom: 0.6rem; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); }
.contact__form > p { max-width: 50ch; margin-bottom: 1.5rem; color: var(--ink-soft); }
.contact__form iframe { display: block; width: 100%; min-height: 980px; border: 0; }
.portal { background: var(--white); padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.portal iframe { display: block; width: 100%; min-height: 750px; border: 0; }
.steps { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0.9rem; align-items: start; counter-increment: step; line-height: 1.5; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 2px solid var(--sky); border-radius: 50%; color: var(--sky); font-size: 0.95rem; font-weight: 700; }

/* ---------- Footer without the call to action (contact pages) ---------- */
.foot--slim { padding-top: 0; }
.foot--slim .foot__base { margin-top: 0; border-top: 0; padding-top: clamp(2.5rem, 5vw, 3.5rem); }

@media (max-width: 64rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 56rem) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__panel, .contact__form { padding-inline: var(--gutter); }
  .phero::after { opacity: 0.6; }
}
@media (max-width: 34rem) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 1fr); }
  .person figure { max-width: 16rem; }
  .prose { font-size: 1.0625rem; }
  .prose .alignright, .prose .alignleft { float: none; max-width: 100%; margin: 1.4em 0; }
}
