/* ==========================================================================
   Top Stinson Beach Real Estate Agents (2026, v2 "tide chart")
   Ivory page, ink-teal bands, coral accent. Newsreader for display,
   Figtree for body, Chivo for tracked labels and buttons.
   Naming: block__element and block--modifier.
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --ivory: #F6F3EC;
  --teal: #0E2F3A;
  --teal-deep: #0A2129;
  --coral: #D9704A;
  --coral-deep: #BF5B37;
  --fog: #B9C7C4;
  --fog-deep: #9FB0AC;
  --sand: #E6DCC8;
  --sand-light: #EFE8D9;
  --ink: #17272E;
  --muted: #5E6B70;
  --line: rgba(23, 39, 46, 0.12);
  --tint: rgba(23, 39, 46, 0.05);
  --teal-line: rgba(14, 47, 58, 0.18);
  --white: #FFFFFF;
  --on-teal: rgba(246, 243, 236, 0.78);
  --on-teal-line: rgba(246, 243, 236, 0.16);

  --f-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-body: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --f-label: 'Chivo', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 20px;
  --rail-w: 332px;
  --radius: 14px;
  --topline-h: 38px;
  --mast-h: 72px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; color: var(--teal); margin: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: underline; text-decoration-color: var(--fog-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--mast-h) + 20px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* 3. Utilities ---------------------------------------------------------- */
.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; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 880px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; padding: 10px 18px; background: var(--coral); color: var(--white); font-family: var(--f-label); font-weight: 700; font-size: 13px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.label { font-family: var(--f-label); font-weight: 500; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.3; color: var(--muted); margin: 0; }
.label--coral { color: var(--coral-deep); font-weight: 700; }
.arrow { display: inline-block; margin-left: 6px; transition: transform 160ms ease; }
a:hover .arrow { transform: translateX(3px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 999px; font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background 160ms ease, color 160ms ease; }
.btn--coral { background: var(--coral); color: var(--white); }
.btn--coral:hover { background: var(--coral-deep); color: var(--white); }
.btn--fog { background: var(--fog); color: var(--teal); }
.btn--fog:hover { background: var(--fog-deep); color: var(--teal); }
.btn__short { display: none; }

/* Stars */
.stars { display: inline-flex; align-items: center; gap: 8px; }
.stars__row { display: inline-flex; gap: 2px; }
.star { width: 15px; height: 15px; background: var(--coral); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.star--off { background: var(--fog); }
.stars__num { font-family: var(--f-label); font-weight: 700; font-size: 14px; color: var(--teal); }
.stars__src { font-size: 13px; color: var(--muted); text-decoration-color: var(--line); }
.stars__src .arrow { margin-left: 3px; font-size: 11px; }

/* 4. Topline + masthead ------------------------------------------------- */
.topline { background: var(--teal); color: var(--on-teal); height: var(--topline-h); }
.topline__in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topline .label { color: var(--on-teal); font-size: 11px; }
.topline__dot { margin: 0 10px; opacity: .6; }

.mast { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.mast__in { display: flex; align-items: center; gap: 16px; height: var(--mast-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal); flex: 0 0 auto; min-width: 0; }
.brand:hover { color: var(--teal); }
.brand .mark { width: 40px; height: 40px; flex: 0 0 40px; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.05; letter-spacing: -0.2px; white-space: nowrap; }
.brand__name-b { font-weight: 400; }
.brand__tag { font-family: var(--f-label); font-weight: 500; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--coral-deep); margin-top: 5px; }
.mast__nav { display: flex; gap: 4px; margin-left: auto; margin-right: auto; align-self: stretch; }
.mast__link { display: inline-flex; align-items: center; padding: 0 12px; font-family: var(--f-label); font-weight: 500; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); text-decoration: none; position: relative; white-space: nowrap; }
.mast__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--coral); border-radius: 3px 3px 0 0; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.mast__link:hover { color: var(--coral-deep); }
.mast__link.is-current { color: var(--teal); }
.mast__link.is-current::after, .mast__link:hover::after { transform: scaleX(1); }
.mast__cta { display: flex; gap: 10px; flex: 0 0 auto; }

/* 5. Hero --------------------------------------------------------------- */
.hero { background: var(--teal); color: var(--ivory); padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 64px; align-items: center; }
.hero__title { font-size: clamp(38px, 4vw, 54px); color: var(--ivory); letter-spacing: -0.6px; margin: 14px 0 20px; max-width: 17ch; }
.hero__lede { font-family: var(--f-display); font-size: 23px; line-height: 1.35; color: var(--ivory); max-width: 30ch; margin-bottom: 14px; }
.hero__sub { font-size: 17px; color: var(--on-teal); max-width: 52ch; margin-bottom: 28px; }
.hero__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--on-teal-line); max-width: 600px; }
.hero__list li { position: relative; padding-left: 20px; font-family: var(--f-label); font-weight: 500; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; line-height: 1.4; color: var(--ivory); }
.hero__list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 8px; height: 8px; background: var(--coral); border-radius: 2px; }
.hero__stats { display: flex; gap: 48px; margin: 0; }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dd { margin: 0; font-family: var(--f-display); font-size: 42px; line-height: 1; color: var(--ivory); }
.hero__stats dt { font-family: var(--f-label); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--fog); margin-top: 10px; }
.hero__art { position: relative; aspect-ratio: 8 / 7; border: 1px solid var(--on-teal-line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #113844 0%, var(--teal) 55%, var(--teal-deep) 100%); }
.tide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__corner { position: absolute; font-family: var(--f-label); font-weight: 500; font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--on-teal); }
.hero__corner--tl { top: 22px; left: 24px; }
.hero__corner--tr { top: 22px; right: 24px; }
.hero__corner--bl { bottom: 22px; left: 24px; }
.hero__corner--br { bottom: 22px; right: 24px; }

/* Stat strip */
.strip { background: var(--sand); border-bottom: 1px solid var(--line); }
.strip__in { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip__item { display: flex; flex-direction: column; padding: 22px 24px; border-left: 1px solid rgba(23, 39, 46, 0.1); }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__val { font-family: var(--f-display); font-size: 24px; line-height: 1.1; color: var(--teal); }
.strip__key { font-family: var(--f-label); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* 6. Layout: main + rail ------------------------------------------------ */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail-w); gap: 72px; padding-top: 80px; padding-bottom: 96px; }
.layout__main { min-width: 0; }
.intro { margin-bottom: 72px; max-width: 68ch; }
.intro__lead { font-size: 21px; line-height: 1.55; color: var(--teal); }
.block + .block { margin-top: 96px; }
.block__head { margin-bottom: 32px; }
.block__title { font-size: 36px; letter-spacing: -0.4px; margin-top: 10px; }
.block__lede { color: var(--muted); max-width: 64ch; margin-top: 14px; }

/* Rail (index card) */
.rail { min-width: 0; }
.rail__sticky { position: sticky; top: calc(var(--mast-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.card-index { background: var(--white); border: 1px solid var(--teal-line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(23, 39, 46, 0.03); }
.card-index__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--sand); border-bottom: 1px solid var(--line); }
.card-index__head .label { color: var(--teal); font-weight: 700; }
.card-index__count { color: var(--muted) !important; font-weight: 500 !important; font-size: 10.5px; }
.card-index__list { list-style: none; }
.card-index__list li + li { border-top: 1px solid var(--line); }
.card-index__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 20px; text-decoration: none; color: var(--ink); transition: background 140ms ease; }
.card-index__list a:hover { background: var(--tint); color: var(--teal); }
.rail__who { font-weight: 600; font-size: 15px; }
.rail__firm { font-size: 12.5px; color: var(--muted); text-align: right; white-space: nowrap; }
.rail__stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.rail__stats li { display: flex; flex-direction: column; padding: 16px 20px; border-top: 1px solid var(--line); }
.rail__stats li:nth-child(-n+2) { border-top: 0; }
.rail__stats li:nth-child(even) { border-left: 1px solid var(--line); }
.rail__val { font-family: var(--f-display); font-size: 20px; line-height: 1.15; color: var(--teal); }
.rail__key { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.35; }

/* 7. Quick reference table --------------------------------------------- */
.glance__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--teal-line); border-radius: var(--radius); background: var(--white); }
.glance { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.glance th, .glance td { padding: 13px 18px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.glance thead th { font-family: var(--f-label); font-weight: 500; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); background: var(--sand-light); border-top: 0; }
.glance tbody th { font-weight: 600; white-space: nowrap; }
.glance tbody th a { text-decoration: none; }
.glance tbody th a:hover { text-decoration: underline; }
.glance tbody tr:hover td, .glance tbody tr:hover th { background: var(--tint); }
.glance td { color: var(--muted); }
.glance__num { text-align: right !important; font-variant-numeric: tabular-nums; }
.glance__rating .stars__num { font-size: 13px; }
.glance .star { width: 13px; height: 13px; }

/* 8. Agent entries ------------------------------------------------------ */
.entries { list-style: none; display: flex; flex-direction: column; gap: 28px; }
.entry { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 32px; padding: 36px 40px 36px 36px; background: var(--white); border: 1px solid var(--teal-line); border-radius: var(--radius); transition: box-shadow 180ms ease, border-color 180ms ease; }
.entry::before { content: ""; position: absolute; left: -1px; top: 24px; bottom: 24px; width: 3px; background: var(--coral); border-radius: 0 3px 3px 0; opacity: 0; transition: opacity 180ms ease; }
.entry:hover { box-shadow: 0 10px 30px rgba(14, 47, 58, 0.08); border-color: rgba(14, 47, 58, 0.3); }
.entry:hover::before { opacity: 1; }
.entry__media { align-self: start; }
.entry__photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--sand); border: 3px solid var(--sand); box-shadow: 0 0 0 1px var(--line); }
.entry__photo--initials { display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-display); font-size: 40px; color: var(--teal); }
.entry__body { min-width: 0; }
.entry__name { font-size: 24px; letter-spacing: -0.2px; margin-bottom: 4px; }
.entry__role { font-size: 15.5px; color: var(--muted); margin-bottom: 10px; }
.entry__firm { font-family: var(--f-label); font-weight: 700; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; line-height: 1.7; }
.entry__office { font-weight: 500; color: var(--muted); }
.entry__office::before { content: "\00b7"; margin: 0 8px; color: var(--fog-deep); }
.entry__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.entry__rating { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.entry__years { font-size: 14.5px; font-weight: 600; color: var(--ink); position: relative; padding-left: 22px; }
.entry__years::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; background: var(--coral); }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 18px; }
.tags__label { font-family: var(--f-label); font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.tags__list { list-style: none; display: contents; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--sand-light); border: 1px solid var(--sand); font-family: var(--f-label); font-weight: 500; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); }
.entry__bio { font-size: 16px; line-height: 1.65; }
.entry__note { font-size: 15px; color: var(--muted); font-style: italic; margin-top: -4px; }
.sales { margin: 18px 0 4px; padding: 16px 20px; background: var(--ivory); border: 1px solid var(--sand); border-radius: 10px; }
.sales__label { display: block; font-family: var(--f-label); font-weight: 700; font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 8px; }
.sales__list { list-style: none; font-size: 15px; }
.sales__list li { position: relative; padding-left: 18px; }
.sales__list li + li { margin-top: 5px; }
.sales__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--fog-deep); }
.entry__links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.entry__link { font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; text-decoration: none; color: var(--teal); }
.entry__link:hover { color: var(--coral-deep); }

/* 9. Full-width bands --------------------------------------------------- */
.band { padding: 104px 0; }
.band--tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Neighborhoods */
.locales { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.locale { grid-column: span 2; }
.locale:nth-child(n+4) { grid-column: span 3; }
.locale { position: relative; padding: 30px 28px 30px; background: var(--white); border: 1px solid var(--teal-line); border-radius: var(--radius); }
.locale__mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--coral); color: var(--coral-deep); font-family: var(--f-label); font-weight: 700; font-size: 11px; letter-spacing: 1px; margin-bottom: 18px; }
.locale__name { font-size: 23px; margin-bottom: 10px; }
.locale p { font-size: 15.5px; color: var(--muted); }

/* Market figures */
.figures { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.figure { display: flex; flex-direction: column; padding: 28px 24px 26px; background: var(--white); border: 1px solid var(--teal-line); border-radius: var(--radius); border-top: 4px solid var(--coral); }
.figure__value { font-family: var(--f-display); font-size: 30px; line-height: 1.1; color: var(--teal); letter-spacing: -0.3px; }
.figure__detail { font-size: 13px; color: var(--coral-deep); margin-top: 6px; }
.figure__label { font-family: var(--f-label); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-top: auto; padding-top: 18px; line-height: 1.5; }
.figures__note { margin-top: 24px; font-family: var(--f-display); font-size: 17px; color: var(--muted); max-width: 78ch; }

/* Map */
.mapbox { border: 1px solid var(--teal-line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.mapbox iframe { display: block; width: 100%; height: 420px; }

/* FAQ */
.qa-list { border-top: 1px solid var(--teal-line); }
.qa { border-bottom: 1px solid var(--teal-line); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 22px; line-height: 1.3; color: var(--teal); }
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--coral-deep); }
.qa__glyph { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--coral); }
.qa__glyph::before, .qa__glyph::after { content: ""; position: absolute; background: var(--coral-deep); left: 50%; top: 50%; transition: transform 180ms ease; }
.qa__glyph::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.qa__glyph::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.qa[open] .qa__glyph::after { transform: translate(-50%, -50%) scaleY(0); }
.qa__a { padding: 0 64px 26px 4px; color: var(--ink); font-size: 16.5px; }

/* 10. Footer ------------------------------------------------------------ */
.foot { background: var(--teal); color: var(--on-teal); padding-top: 72px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.brand--foot { color: var(--ivory); }
.brand--foot:hover { color: var(--ivory); }
.brand--foot .mark rect { fill: #FFFFFF; fill-opacity: 0.08; stroke: var(--on-teal-line); }
.brand--foot .brand__tag { color: var(--coral); }
.foot__blurb { margin-top: 20px; font-size: 15px; max-width: 40ch; }
.foot__col .label { color: var(--fog); display: block; margin-bottom: 16px; }
.foot__col ul { list-style: none; }
.foot__col li + li { margin-top: 9px; }
.foot__col a { color: var(--ivory); text-decoration: none; font-size: 15px; }
.foot__col a:hover { color: var(--coral); }
.foot__bar { border-top: 1px solid var(--on-teal-line); padding: 24px 0 28px; }
.foot__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.foot__fine { font-size: 13px; max-width: 80ch; margin: 0; }
.foot__copy { font-family: var(--f-label); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; margin: 0; white-space: nowrap; color: var(--fog); }

/* 11. Responsive ------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --rail-w: 300px; }
  .layout { gap: 48px; }
  .hero__in { gap: 40px; }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 1024px) {
  .mast__nav { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 64px; }
  .rail__sticky { position: static; }
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 640px; aspect-ratio: 16 / 9; }
  .hero__title { max-width: none; }
  .locales { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .locale, .locale:nth-child(n+4) { grid-column: span 1; }
  .locale:last-child { grid-column: span 2; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) and (min-width: 721px) {
  .rail__sticky { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --mast-h: 60px; }
  body { font-size: 16px; }
  .topline .label { font-size: 10px; letter-spacing: 1.6px; }
  .topline__in > .label:first-child { display: none; }
  .topline__in { justify-content: center; }
  .mast__in { height: auto; min-height: var(--mast-h); padding: 10px var(--gutter) 0; gap: 12px; flex-wrap: wrap; }
  .brand { gap: 10px; }
  .brand .mark { width: 30px; height: 30px; flex-basis: 30px; }
  .brand__name { font-size: 16px; white-space: normal; max-width: 150px; }
  .brand__name-b { display: block; }
  .brand__tag { display: none; }
  .mast__cta { margin-left: auto; gap: 6px; }
  .btn { height: 34px; padding: 0 12px; font-size: 10px; letter-spacing: 1px; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
  .mast__nav { display: flex; flex: 0 0 calc(100% + 2 * var(--gutter)); order: 3; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); border-top: 1px solid var(--line); }
  .mast__nav::-webkit-scrollbar { display: none; }
  .mast__link { padding: 12px 12px 10px; font-size: 11px; }
  .mast__link:first-child { padding-left: 0; }
  .mast__link::after { left: 0; right: 12px; }
  .glance td:nth-child(2) { white-space: nowrap; }
  [id] { scroll-margin-top: 120px; }
  .hero { padding: 48px 0 56px; }
  .hero__title { font-size: 36px; }
  .hero__lede { font-size: 20px; }
  .hero__list { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .hero__list li { font-size: 11px; letter-spacing: 1.2px; }
  .hero__stats { display: grid; grid-template-columns: auto auto auto; gap: 16px; justify-content: space-between; }
  .hero__stats dd { font-size: 32px; }
  .hero__stats dt { font-size: 9.5px; letter-spacing: 1.4px; }
  .hero__art { aspect-ratio: 4 / 3; }
  .hero__corner { font-size: 9.5px; letter-spacing: 1.6px; }
  .strip__in { grid-template-columns: 1fr 1fr; }
  .strip__item { padding: 16px 0 16px 16px; border-left: 1px solid rgba(23, 39, 46, 0.1); }
  .strip__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid rgba(23, 39, 46, 0.1); }
  .strip__val { font-size: 20px; }
  .layout { padding-top: 48px; padding-bottom: 64px; gap: 48px; }
  .intro { margin-bottom: 56px; }
  .intro__lead { font-size: 19px; }
  .block + .block { margin-top: 64px; }
  .block__title { font-size: 30px; }
  .entries { gap: 20px; }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 22px; }
  .entry__photo { width: 120px; height: 120px; }
  .entry__name { font-size: 23px; }
  .entry__office { display: block; }
  .entry__office::before { content: none; }
  .band { padding: 64px 0; }
  .locales { grid-template-columns: 1fr; gap: 16px; }
  .locale, .locale:nth-child(n+4), .locale:last-child { grid-column: span 1; }
  .figures { grid-template-columns: 1fr 1fr; gap: 14px; }
  .figure { padding: 22px 18px 20px; }
  .figure__value { font-size: 24px; }
  .figure:first-child { grid-column: 1 / -1; }
  .mapbox iframe { height: 320px; }
  .qa__q { font-size: 19px; padding: 18px 0; }
  .qa__a { padding: 0 0 22px; }
  .foot { padding-top: 56px; }
  .foot__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .foot__bar-in { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 400px) {
  .hero__list { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
}
