/* Coronado Signature Painting LLC — site design system
   Palette (owner-specified): Deep Navy #17283B · Smoked Grey #6B7280 · Oyster White #F5F5F0 · Pure White #FFFFFF */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #17283B;
  --navy-2: #22374F;      /* navy, one step lighter: hover on navy */
  --grey: #6B7280;
  --oyster: #F5F5F0;
  --white: #FFFFFF;
  --line: #DEDED6;        /* oyster-tinted hairline */
  --line-strong: #C9C9C0;
  --ink-soft: #4A5463;    /* secondary text on white/oyster, 7.6:1 */
  --on-navy-soft: #B9C2CE;/* secondary text on navy, 8:1 */

  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; -webkit-tap-highlight-color: rgba(23,40,59,.12); scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--oyster);
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
html { scrollbar-color: var(--grey) var(--oyster); }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--ink-soft); max-width: 58ch; }
.muted { color: var(--ink-soft); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px 64px; }

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

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: 600 1rem/1 var(--font); letter-spacing: 0.005em; text-decoration: none;
  border-radius: var(--radius); border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .16s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.on-navy .btn--primary { background: var(--white); color: var(--navy); border-color: var(--white); }
.on-navy .btn--primary:hover { background: var(--oyster); }
.on-navy .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.on-navy .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ease);
}
.link:hover { background-size: 100% 1.5px; }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 80px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 8px; height: 1.5px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; min-height: 46px; padding: 0 20px; font-size: .95rem; color: var(--white); }
.nav .btn::after { display: none; }
.nav a.btn, .nav a.btn:hover, .nav a.btn[aria-current="page"] { color: var(--white); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--navy); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--gutter) 40px; background: var(--white); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s var(--ease), transform .35s var(--ease); }
  .nav a { min-height: 60px; font-size: 1.35rem; color: var(--navy); border-bottom: 1px solid var(--line); padding: 0; }
  .nav a::after { left: 0; right: auto; width: 40px; bottom: 14px; }
  .nav .btn { margin: 28px 0 0; min-height: 56px; font-size: 1.05rem; border-bottom: 0; padding: 0 20px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand img { height: 66px; } :root { --header-h: 78px; } }

/* ---------- Hero (home) ---------- */
.hero { background: var(--oyster); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100svh - var(--header-h)); max-height: 980px; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 80px) clamp(48px, 7vw, 96px) 0; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero__copy h1 { max-width: 15ch; font-size: clamp(2.5rem, 4.6vw, 4.4rem); }
.hero__rule { display: block; width: 96px; height: 3px; background: var(--navy); transform-origin: left; }
.hero__media { position: relative; min-height: 420px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 8px; border-top: 1px solid var(--line-strong); max-width: 560px; }
.hero__facts li { display: flex; align-items: center; gap: 9px; font-size: .95rem; font-weight: 600; color: var(--ink-soft); padding-top: 16px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--navy); flex: none; }
ul.plain { list-style: none; margin: 0; padding: 0; }

/* Hero entrance: one authored moment — the copy settles, the rule draws like a brush stroke, the photo unveils. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] > * { animation: rise .9s var(--ease) both; }
  .js [data-enter] > *:nth-child(2) { animation-delay: .08s; }
  .js [data-enter] > *:nth-child(3) { animation-delay: .16s; }
  .js [data-enter] > *:nth-child(4) { animation-delay: .24s; }
  .js [data-enter] > *:nth-child(5) { animation-delay: .32s; }
  .js [data-enter] .hero__rule { animation: stroke 1.1s .35s var(--ease) both; }
  .js .hero__media img, .js .page-hero__media img { animation: unveil 1.4s .1s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes stroke { from { transform: scaleX(0); } }
@keyframes unveil { from { clip-path: inset(0 0 0 100%); transform: scale(1.06); } to { clip-path: inset(0 0 0 0); transform: none; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero__copy { padding: 48px var(--gutter) 44px; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
}
@media (max-width: 560px) { .btn-row .btn { width: 100%; } }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--oyster); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.page-hero__copy { display: grid; gap: 24px; }
.page-hero__media { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.intro__body { display: grid; gap: 22px; }
.intro__body p { color: var(--ink-soft); max-width: 62ch; }
.intro__body p:first-child { font-size: 1.25rem; color: var(--navy); font-weight: 500; line-height: 1.55; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Featured services (home): photo-led index, not identical cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature { position: relative; display: block; text-decoration: none; color: var(--white); border-radius: var(--radius); overflow: hidden; background: var(--navy); grid-column: span 2; aspect-ratio: 4 / 5; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature--wide { grid-column: span 3; aspect-ratio: 16 / 11; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(23,40,59,.92) 0%, rgba(23,40,59,.55) 38%, rgba(23,40,59,0) 70%); }
.feature__text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px 28px; display: grid; gap: 8px; }
.feature__text p { color: #DCE2EA; font-size: .97rem; line-height: 1.5; max-width: 40ch; }
.feature__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; margin-top: 4px; }
.feature__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.feature:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(23,40,59,.55); }
.feature:hover img { transform: scale(1.03); }
.feature:hover .feature__more svg { transform: translateX(4px); }
.all-services { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.all-services ul { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
@media (max-width: 1000px) { .feature, .feature--wide { grid-column: span 3; aspect-ratio: 4 / 4.2; } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } .feature, .feature--wide { grid-column: auto; aspect-ratio: 4 / 4.4; } }

/* ---------- Why choose ---------- */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.why__media { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__list { display: grid; counter-reset: none; }
.why__item { display: grid; grid-template-columns: 52px 1fr; gap: 6px 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__icon { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; border: 1.5px solid var(--line-strong); border-radius: 50%; color: var(--navy); }
.why__icon svg { width: 22px; height: 22px; }
.why__item p { color: var(--ink-soft); max-width: 56ch; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why__media { position: static; aspect-ratio: 16 / 10; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery a:hover img, .gallery figure:hover img { transform: scale(1.025); }
.g-a { grid-column: span 7; grid-row: span 4; }
.g-b { grid-column: span 5; grid-row: span 2; }
.g-c { grid-column: span 5; grid-row: span 2; }
.g-d { grid-column: span 4; grid-row: span 3; }
.g-e { grid-column: span 4; grid-row: span 3; }
.g-f { grid-column: span 4; grid-row: span 3; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--white); color: var(--navy); font-size: .82rem; font-weight: 700; padding: 6px 10px; border-radius: 3px; letter-spacing: .01em; }
@media (max-width: 900px) { .gallery { grid-auto-rows: 90px; } .g-a { grid-column: span 12; } .g-b, .g-c { grid-column: span 6; } .g-d, .g-e { grid-column: span 6; } .g-f { grid-column: span 12; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; } .gallery figure { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--white); font: 600 .95rem var(--font); color: var(--ink-soft); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work__img { aspect-ratio: 4 / 3; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover .work__img img { transform: scale(1.025); }
.work__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; }
.work__meta strong { font-size: 1rem; }
.tag { font-size: .8rem; font-weight: 700; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.work[hidden] { display: none; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Service areas ---------- */
.areas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.area-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 1.15rem; font-weight: 600; }
.area-list li:nth-child(odd) { padding-right: 28px; }
.area-list li:nth-child(even) { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.area-list small { font-size: .85rem; font-weight: 500; color: var(--on-navy-soft); }
.section--navy .lede, .section--navy .muted { color: var(--on-navy-soft); }
.areas--light .area-list { border-top-color: var(--line); }
.areas--light .area-list li { border-color: var(--line); }
.areas--light .area-list small { color: var(--ink-soft); }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .area-list { grid-template-columns: 1fr; } .area-list li:nth-child(n) { padding-inline: 0; border-left: 0; } }

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.region { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; align-content: start; }
.region ul { display: grid; gap: 4px; color: var(--ink-soft); font-weight: 500; }
.region ul li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.region ul li:last-child { border-bottom: 0; }
.region ul svg { width: 16px; height: 16px; color: var(--grey); flex: none; }
@media (max-width: 900px) { .region-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 14ch; }
.cta__side { display: grid; gap: 28px; }
.cta__side p { color: var(--on-navy-soft); font-size: 1.1rem; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: 10px; }
.service-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink-soft); background: var(--white); transition: border-color .2s var(--ease), color .2s var(--ease); }
.service-index a:hover { border-color: var(--navy); color: var(--navy); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.025); }
.svc__body { display: grid; gap: 18px; }
.svc__body > p { color: var(--ink-soft); max-width: 54ch; }
.svc__num { font-size: .9rem; font-weight: 700; color: var(--grey); font-variant-numeric: tabular-nums; }
.svc details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; font-weight: 600; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc details[open] summary svg { transform: rotate(45deg); }
.svc summary:hover { color: var(--navy-2); }
.svc details ul { margin: 0 0 18px; padding-left: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-soft); }
.svc details li { display: flex; gap: 10px; align-items: baseline; }
.svc details li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--grey); transform: translateY(-2px); }
.note { font-size: .92rem; color: var(--ink-soft); background: var(--oyster); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.svc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc__media { order: 0; } }

/* ---------- Process (about) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 32px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__n { font-size: .9rem; font-weight: 700; color: var(--grey); font-variant-numeric: tabular-nums; }
.step p { color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { padding-left: 0; border-left: 0; } .step { padding-bottom: 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 12px; align-content: start; }
.value p { color: var(--ink-soft); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 500 1rem/1.4 var(--font); color: var(--navy);
  background: var(--oyster); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5A6170; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(23,40,59,.28); }
.field [aria-invalid="true"] { border-color: #A4373A; }
.field__error { color: #A4373A; font-size: .9rem; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; margin-top: 4px; }
.checks label { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 500; font-size: .95rem; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--navy); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__foot p { font-size: .9rem; color: var(--ink-soft); max-width: 40ch; }
.form-status { padding: 16px 18px; border-radius: var(--radius); font-weight: 600; }
.form-status[data-state="ok"] { background: #EAF0EA; color: #23502C; border: 1px solid #C7D8C9; }
.form-status[data-state="err"] { background: #F6E9E9; color: #7E2A2C; border: 1px solid #E5C9CA; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form__row, .checks { grid-template-columns: 1fr; } }

.info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info__item { display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info__item svg { width: 22px; height: 22px; color: var(--navy); grid-row: span 2; margin-top: 2px; }
.info__item > span { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.info__item a, .info__item strong { font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.info__item a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid rgba(255,255,255,.14); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-brand { display: grid; gap: 20px; align-content: start; }
.footer-logo { display: block; width: fit-content; }
.footer-logo img { height: 104px; width: auto; }
.footer-brand p { color: var(--on-navy-soft); max-width: 36ch; }
.footer-col h3 { font-size: .95rem; letter-spacing: 0; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col--areas ul { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 28px; }
.footer-col a, .footer-col li { color: var(--on-navy-soft); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 28px; font-size: .85rem; color: var(--on-navy-soft); }
.footer-bottom a { color: var(--on-navy-soft); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Placeholder content the owner must replace (phone, email) */
[data-placeholder] { }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Service-area links ---------- */
.area-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; color: inherit; text-decoration: none; transition: color .2s; }
.area-list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.area-list li:has(a) { padding-block: 0; }
.area-list li a { min-height: 64px; }
.region--city { position: relative; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.region--city h3 a { color: var(--navy); text-decoration: none; }
.region--city h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.region--city h3 a:focus-visible { outline: none; }
.region--city:has(a:focus-visible) { outline: 2px solid var(--navy); outline-offset: 3px; }
.region--city p:not(.muted) { color: var(--ink-soft); }
.region--city:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 16px 36px -26px rgba(23,40,59,.5); }
.region--city:hover .link svg { transform: translateX(3px); }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); aspect-ratio: 16 / 7; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 5; } }

/* ---------- Local landing pages ---------- */
.local-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.local-svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 0 0 24px; overflow: hidden; }
.local-svc > :not(.local-svc__img) { margin-inline: 24px; }
.local-svc__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 8px; }
.local-svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.local-svc:hover .local-svc__img img { transform: scale(1.03); }
.local-svc h3 { font-size: 1.2rem; }
.local-svc h3 a { color: var(--navy); text-decoration: none; }
.local-svc h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.local-svc p { color: var(--ink-soft); }
@media (max-width: 1000px) { .local-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .local-services { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 14px; cursor: pointer; font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; max-width: 62ch; }
.nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.nearby a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--oyster); color: var(--navy); font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s; }
.nearby a:hover { border-color: var(--line-strong); background: var(--white); }
.nearby svg { width: 18px; height: 18px; color: var(--grey); flex: none; }
.section-head .lede a { color: var(--navy); text-underline-offset: 4px; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; align-content: start; }
.section--white .review { background: var(--oyster); }
.review blockquote { margin: 0; font-size: 1.05rem; color: var(--navy); }
.review__by { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .92rem; color: var(--ink-soft); }
.review__by strong { color: var(--navy); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; color: var(--grey); }
.stars svg.on { color: var(--navy); fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Home: Google reviews band */
.rv { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rv__copy { padding: clamp(32px, 5vw, 64px); display: grid; gap: 20px; align-content: center; }
.rv__copy .lede { color: var(--ink-soft); max-width: 54ch; }
.rv__copy .btn-row { margin-top: 8px; }
.eyebrow { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.rv__panel { background: var(--navy); color: var(--white); padding: clamp(32px, 5vw, 56px); display: grid; gap: 28px; align-content: center; }
.rv__panel h3 { font-size: 1.25rem; color: var(--white); }
.rv__steps { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; }
.rv__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.rv__steps strong { display: block; color: var(--white); font-size: 1.02rem; }
.rv__steps p { margin: 4px 0 0; color: var(--on-navy-soft); font-size: .95rem; }
.rv__n { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.rv__stars { display: inline-flex; gap: 4px; margin-top: 10px; }
.rv__stars svg { width: 20px; height: 20px; color: var(--white); fill: rgba(255,255,255,.9); }
@media (max-width: 960px) { .rv { grid-template-columns: minmax(0, 1fr); } }

/* Press feedback on pill controls */
.filter, .service-index a { transition-property: background-color, border-color, color, transform; }
.filter:active, .service-index a:active { transform: scale(.97); }

/* Touch screens fire :hover on tap: keep lifts and zooms to real pointers */
@media (hover: none) {
  .feature:hover, .region--city:hover { transform: none; box-shadow: none; }
  .feature:hover img, .gallery figure:hover img, .gallery a:hover img, .work:hover .work__img img, .svc:hover .svc__media img, .local-svc:hover img { transform: none; }
  .btn:hover svg, .link:hover svg, .feature:hover .feature__more svg { transform: none; }
}

/* ---------- Phone layout refinements ---------- */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .feature, .feature--wide { aspect-ratio: 4 / 3.3; }
  .rv__copy, .rv__panel { padding: 28px 22px; }
  .why__item { padding: 22px 0; grid-template-columns: 44px 1fr; gap: 4px 16px; }
  .why__icon { width: 44px; height: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-col--areas, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col--areas { order: 3; }
  .footer-grid > .footer-col:last-child { order: 4; }
  .footer-col--areas ul { grid-template-columns: 1fr 1fr; }
  .footer-logo img { height: 88px; }

  /* Sticky call / estimate bar: the two actions a visitor on a phone wants */
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 18px; border-radius: var(--radius); font-weight: 700; text-decoration: none; transition: transform .16s var(--ease), background-color .2s var(--ease); }
  .mobile-bar a:active { transform: scale(.97); }
  .mobile-bar svg { width: 18px; height: 18px; }
  .mobile-bar__call { border: 1.5px solid var(--navy); color: var(--navy); background: var(--white); }
  .mobile-bar__cta { background: var(--navy); color: var(--white); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.menu-open .mobile-bar { display: none; }
}
.footer-col li.footer-hours { display: block; padding-top: 6px; line-height: 1.6; }
.info, .info__item, .contact-grid > * { min-width: 0; }
.info__item a, .info__item span { overflow-wrap: break-word; }

/* ---------- Recent projects on phones: a calm 2-column mosaic ---------- */
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .gallery figure { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1 / 1; }
  .gallery .g-a, .gallery .g-f { grid-column: 1 / -1 !important; aspect-ratio: 4 / 3; }
}

/* ---------- Header: hides on scroll down, returns on scroll up ---------- */
.site-header { transition: transform .32s cubic-bezier(.23, 1, .32, 1), box-shadow .25s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(23,40,59,.45); }
.why__media { transition: top .32s cubic-bezier(.23, 1, .32, 1); }
.header-hidden .why__media { top: 32px; }

/* ---------- Menu (tablet and phone) ---------- */
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }
.menu-toggle__open { display: inline-flex; }
.menu-toggle { transition: background-color .2s ease, color .2s ease, transform .16s ease; }
.menu-toggle:active { transform: scale(.95); }
.menu-toggle[aria-expanded="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.nav__extra { display: none; }
@media (max-width: 1080px) {
  .nav { padding-top: 8px; background: var(--oyster); }
  .nav > a:not(.btn) { justify-content: space-between; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; min-height: 64px; }
  .nav > a:not(.btn)::before { content: ""; order: 2; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .35; transition: opacity .2s, transform .2s; }
  .nav > a[aria-current="page"]::before { opacity: 1; }
  .nav > a::after { display: none; }
  .nav > a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--navy); padding-left: 14px; }
  .nav .btn { width: 100%; justify-content: center; }
  .nav__extra { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
  .nav .nav__extra a.nav__call { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; border: 0; padding: 0; font-size: 1.15rem; font-weight: 700; color: var(--navy); width: fit-content; }
  .nav__call svg { width: 20px; height: 20px; }
  .nav__extra p { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
}
@media (max-width: 1080px) and (prefers-reduced-motion: no-preference) {
  .nav.is-open > * { animation: menu-in .42s cubic-bezier(.23, 1, .32, 1) both; }
  .nav.is-open > *:nth-child(2) { animation-delay: .03s; }
  .nav.is-open > *:nth-child(3) { animation-delay: .06s; }
  .nav.is-open > *:nth-child(4) { animation-delay: .09s; }
  .nav.is-open > *:nth-child(5) { animation-delay: .12s; }
  .nav.is-open > *:nth-child(6) { animation-delay: .15s; }
  .nav.is-open > *:nth-child(7) { animation-delay: .18s; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Home hero on phones: photo, headline and action in the first screen ---------- */
@media (max-width: 640px) {
  .hero__media { aspect-ratio: 16 / 11; }
  .hero__copy { padding: 28px var(--gutter) 40px; gap: 18px; }
  .hero__copy h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); max-width: 14ch; }
  .hero__copy .lede { font-size: 1.02rem; }
  .hero__rule { width: 64px; }
  .hero__facts { gap: 4px 20px; }
  .hero__facts li { padding-top: 12px; font-size: .9rem; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .hero__media img { animation: unveil-up 1.1s .05s cubic-bezier(.23, 1, .32, 1) both; }
  .js [data-enter] > * { animation-duration: .7s; }
  .js [data-enter] > *:nth-child(1) { animation-delay: .25s; }
  .js [data-enter] > *:nth-child(2) { animation-delay: .32s; }
  .js [data-enter] > *:nth-child(3) { animation-delay: .39s; }
  .js [data-enter] > *:nth-child(4) { animation-delay: .46s; }
  .js [data-enter] > *:nth-child(5) { animation-delay: .53s; }
  .js [data-enter] .hero__rule { animation: stroke .9s .3s cubic-bezier(.23, 1, .32, 1) both; }
}
@keyframes unveil-up { from { clip-path: inset(100% 0 0 0); transform: scale(1.08); } to { clip-path: inset(0 0 0 0); transform: none; } }
.nav__extra a::after { display: none !important; }

/* Mobile bar with Call, Text and Estimate */
@media (max-width: 640px) {
  .mobile-bar { grid-template-columns: auto auto 1fr; gap: 8px; padding-inline: 12px; }
  .mobile-bar a { padding: 0 14px; gap: 6px; }
}
@media (max-width: 360px) { .mobile-bar__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .mobile-bar__call { padding: 0 14px; } }
.nav__contact { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.notfound { min-height: 60vh; display: grid; align-items: center; background: var(--oyster); }
.notfound__inner { display: grid; gap: 22px; max-width: 760px; }
@media (max-width: 640px) {
  .mobile-bar a { white-space: nowrap; }
  .mobile-bar__cta svg { display: none; }
}
/* Phone bar: Call and Text only */
@media (max-width: 640px) {
  .mobile-bar { grid-template-columns: 1fr 1fr; }
  .mobile-bar a.mobile-bar__call--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
}
@media (max-width: 360px) { .mobile-bar__call span { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }

/* ================= Menu v2 (phone and tablet): navy sheet, numbered links ================= */
.nav-scrim { display: none; }
@media (max-width: 1080px) {
  .nav { background: var(--navy); color: var(--white); padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom)); counter-reset: navn; border-top: 1px solid rgba(255,255,255,.08); }
  .nav :focus-visible { outline-color: var(--white); }
  .nav > a:not(.btn) { counter-increment: navn; justify-content: flex-start; gap: 18px; min-height: 68px; padding: 0 4px; font-size: clamp(1.5rem, 6vw, 1.85rem); font-weight: 700; letter-spacing: -.015em; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: none; transition: color .2s ease, padding-left .3s cubic-bezier(.23,1,.32,1); }
  .nav > a:not(.btn)::before { content: counter(navn, decimal-leading-zero); order: 0; width: auto; height: auto; border: 0; transform: none; opacity: 1; font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--on-navy-soft); font-variant-numeric: tabular-nums; }
  .nav > a:not(.btn)::after { display: block; content: ""; position: static; margin-left: auto; width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--white); transform: scale(0); transition: transform .25s cubic-bezier(.23,1,.32,1); }
  .nav > a[aria-current="page"] { color: var(--white); padding-left: 4px; box-shadow: none; }
  .nav > a[aria-current="page"]::after { transform: scale(1); }
  .nav > a:not(.btn):active { color: var(--white); }
  .nav .btn, .nav a.btn, .nav a.btn:hover, .nav a.btn[aria-current="page"] { width: 100%; justify-content: center; margin: 28px 0 0; min-height: 58px; background: var(--white); color: var(--navy); border-color: var(--white); font-size: 1.05rem; }
  .nav__extra { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); gap: 10px; }
  .nav__label { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-soft); }
  .nav__contact { gap: 10px; }
  .nav .nav__extra a.nav__call { flex: 1 1 140px; justify-content: center; min-height: 52px; border: 1.5px solid rgba(255,255,255,.3); border-radius: var(--radius); color: var(--white); font-size: 1.02rem; transition: background-color .2s ease, border-color .2s ease, transform .16s ease; }
  .nav .nav__extra a.nav__call:active { transform: scale(.97); }
  .nav__extra p:not(.nav__label) { color: var(--on-navy-soft); font-size: .92rem; margin-top: 6px; }
  /* The open toggle sits on the white header, so keep it navy */
  .menu-toggle[aria-expanded="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
}
@media (hover: hover) and (max-width: 1080px) {
  .nav > a:not(.btn):hover { color: var(--white); padding-left: 10px; }
  .nav .nav__extra a.nav__call:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
}
/* Tablet: a side drawer over a dimmed page instead of a full screen */
@media (min-width: 641px) and (max-width: 1080px) {
  .nav { left: auto; width: min(460px, 100%); transform: translateX(32px); box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); }
  .nav.is-open { transform: none; }
  .nav-scrim { display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: -1; background: rgba(23,40,59,.42); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
  body.menu-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity .3s ease; }
}
@media (max-width: 1080px) { .nav .nav__extra .nav__label { color: var(--on-navy-soft); } .nav a.btn { font-weight: 700; } }

/* ================= Menu button v2: two lines that turn into an X, with a word ================= */
@media (max-width: 1080px) {
  .menu-toggle { width: auto; height: 46px; padding: 0 16px 0 14px; gap: 10px; border: 0; border-radius: 999px; background: var(--navy); color: var(--white); font: 700 .92rem/1 var(--font); letter-spacing: .02em; transition: background-color .2s ease, transform .16s ease; }
  .menu-toggle:active { transform: scale(.96); }
  .menu-toggle[aria-expanded="true"] { background: var(--navy-2); }
  .burger { position: relative; width: 20px; height: 12px; display: inline-block; }
  .burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .32s cubic-bezier(.23, 1, .32, 1), top .32s cubic-bezier(.23, 1, .32, 1); }
  .burger i:first-child { top: 0; }
  .burger i:last-child { top: 10px; }
  .menu-toggle[aria-expanded="true"] .burger i:first-child { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .burger i:last-child { top: 5px; transform: rotate(-45deg); }
  .menu-toggle__text { display: inline-grid; }
  .menu-toggle__text > span { grid-area: 1 / 1; transition: opacity .2s ease, transform .25s cubic-bezier(.23, 1, .32, 1); }
  .menu-toggle__text .t-close { opacity: 0; transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] .t-open { opacity: 0; transform: translateY(-6px); }
  .menu-toggle[aria-expanded="true"] .t-close { opacity: 1; transform: none; }
}
@media (hover: hover) and (max-width: 1080px) { .menu-toggle:hover { background: var(--navy-2); } }
@media (max-width: 1080px) { .nav > a:not(.btn)::before { content: none; display: none; } .nav > a:not(.btn) { gap: 0; } }
.site-header.is-hidden { box-shadow: none; }
