/* NVblu site styles. Light theme (chosen 2026-11-03): warm stone background, deep navy text and a teal accent.
   Text on photos (homepage hero, photo page heroes, project tiles) stays light on a dark tint, and the signature
   features section and the footer are the two deliberately dark bands. */
:root {
  --surface: #FBF8F3;      /* page top */
  --abyss: #F2ECE2;        /* page bottom; site.js shifts --bg between the two as you scroll */
  --bg: #FBF8F3;
  --panel: #FFFFFF;
  --fg: #0E2A38;
  --muted: #4A5B63;
  --line: #DDD4C6;
  --aqua: #1D6A80;         /* accent text, links, active states */
  --aqua-ink: #FFFFFF;     /* text on accent or navy fills */
  --stone: #CDBFA8;        /* travertine, used sparingly */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;  /* labels use the body face */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); }
.muted { color: var(--muted); }
.lede { font-size: 19px; line-height: 1.7; color: var(--muted); max-width: 60ch; }
p { text-wrap: pretty; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid var(--fg); background: transparent; color: var(--fg); font: 500 15px var(--body); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--fg); color: var(--aqua-ink); }
.btn.solid { background: var(--fg); color: var(--aqua-ink); }
.btn.solid:hover { background: var(--aqua); border-color: var(--aqua); }
.btn.aqua { background: var(--aqua); border-color: var(--aqua); color: var(--aqua-ink); }
.btn.aqua:hover { background: var(--fg); border-color: var(--fg); }
.link { display: inline-block; padding: 10px 0; border-bottom: 1px solid var(--aqua); text-decoration: none; font-weight: 500; }

/* Header */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); transition: background .3s; }
.site-head.solid { background: rgba(4, 14, 20, .86); backdrop-filter: blur(10px); }
.site-head .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { font-family: var(--display); font-size: 30px; letter-spacing: .16em; text-decoration: none; }
.nav { display: flex; gap: 32px; font-size: 14px; letter-spacing: .05em; }
.nav a { text-decoration: none; padding: 12px 0; }
.nav a:hover { color: var(--aqua); }
.head-cta { min-height: 44px; padding: 0 20px; font-size: 13px; letter-spacing: .12em; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; }
@media (max-width: 1240px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(4, 14, 20, .97); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .head-cta { display: none; }
}

/* Sections */
.band { padding-block: clamp(96px, 12vw, 160px); position: relative; }
.band-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.band-head > * { min-width: 0; }
.band-head h2 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; max-width: 15ch; }
.depth-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.depth-tag::after { content: ""; flex: 0 0 64px; height: 1px; background: var(--aqua); opacity: .6; }

/* Hero */
.hero { position: relative; min-height: clamp(580px, 90vh, 920px); display: flex; align-items: flex-end; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .tint { position: absolute; inset: 0; background: rgba(3, 11, 16, .5); }
.hero .inner { position: relative; padding-block: 140px 88px; width: 100%; }
.hero h1 { font-size: clamp(64px, 11vw, 160px); line-height: .92; max-width: 10ch; }
.hero .lede { color: #D4DEE2; margin-top: 28px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.surface-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--aqua); opacity: .5; }

/* Range slider (project before/after) */
input[type=range] { width: 100%; height: 44px; background: transparent; -webkit-appearance: none; appearance: none; margin: 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua); margin-top: -10px; box-shadow: 0 0 0 6px rgba(130, 202, 218, .2); }
input[type=range]::-moz-range-track { height: 2px; background: var(--line); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--aqua); }

/* Filter chips (project gallery) */
.chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: 500 15px var(--body); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed=true] { background: var(--fg); border-color: var(--fg); color: var(--aqua-ink); }

/* Projects rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: 20px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x mandatory; scrollbar-color: var(--line) transparent; }
.rail > a { scroll-snap-align: start; text-decoration: none; }
.rail figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.rail img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rail a:hover img { transform: scale(1.04); }
.rail .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.rail h3 { font-size: 30px; margin-top: 6px; }
@media (max-width: 700px) { .rail { grid-auto-columns: 82%; } }

/* Team */
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.member { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.member:last-child { border-right: 0; }
.member + .member { padding-left: 28px; }
.portrait { aspect-ratio: 1; max-width: 132px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-size: 40px; color: var(--aqua); }
.member .stage { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--aqua); }
.member h3 { font-size: 32px; }
.member p { font-size: 15px; color: var(--muted); }
.member blockquote { margin: 6px 0 0; font-size: 15px; font-style: italic; color: var(--fg); }
.member blockquote cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 1000px) { .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); } .member { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0 !important; } }
@media (max-width: 560px) { .crew { grid-template-columns: 1fr; } }

/* Materials teaser */
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.swatch { text-decoration: none; }
.swatch figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--panel); }
.swatch img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.4); }
.swatch span { display: block; margin-top: 14px; text-align: center; font-size: 15px; }
@media (max-width: 800px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Deep end */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.proof div { padding: 32px 24px 32px 0; }
.proof div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.proof b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 68px); color: var(--aqua); line-height: 1; }
.proof span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 800px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof div { padding: 24px 12px 24px 0 !important; border-left: 0 !important; } }
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 88px; }
.voices blockquote { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.3; }
.voices cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; } }
.commercial { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 88px; padding: 36px; border: 1px solid var(--line); }
.commercial > div { min-width: 0; max-width: 640px; }
.commercial h3 { font-size: 36px; }

/* Consult form */
.consult { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.consult h2 { font-size: clamp(44px, 6vw, 80px); line-height: 1; }
.contact-lines { margin-top: 36px; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.contact-lines strong { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--fg); }
form.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--fg); font: 400 17px var(--body); border-radius: 0; }
.field select option { background: var(--panel); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); }
.form-done { grid-column: 1 / -1; padding: 18px; border: 1px solid var(--aqua); color: var(--fg); }
@media (max-width: 900px) { .consult { grid-template-columns: 1fr; } }
@media (max-width: 560px) { form.fields { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { padding-block: 64px 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-foot .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-foot .logo { color: var(--fg); }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--aqua); }

/* Inner pages */
.page-hero { padding-block: 168px 64px; }
.page-hero h1 { font-size: clamp(56px, 9vw, 128px); line-height: .95; }
.crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--aqua); }

/* Project page */
.p-cover { aspect-ratio: 21 / 9; overflow: hidden; background: var(--panel); }
.p-cover img { width: 100%; height: 100%; object-fit: cover; }
.p-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.p-story p + p { margin-top: 20px; }
.p-story h2 { font-size: clamp(36px, 4vw, 52px); margin: 56px 0 20px; }
.facts { position: sticky; top: 100px; border-top: 1px solid var(--line); }
.facts dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; }
/* Project photo slideshow (project.html): one large photo, arrows, counter and a thumbnail strip */
.show { margin-top: clamp(56px, 7vw, 96px); }
.show-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.show-head h2 { font-size: clamp(36px, 4vw, 52px); }
.show-stage { position: relative; aspect-ratio: 3 / 2; max-height: 78vh; width: 100%; background: #0E2A38; overflow: hidden; touch-action: pan-y; }
.show-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.show-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(251, 248, 243, .9); color: #0E2A38; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.show-btn:hover { background: #fff; }
.show-btn.prev { left: 14px; } .show-btn.next { right: 14px; }
.show-count { font-variant-numeric: tabular-nums; }
.show-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 6px; scroll-snap-type: x proximity; }
.show-thumbs button { flex: 0 0 auto; width: 112px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; background: var(--panel); cursor: pointer; opacity: .65; scroll-snap-align: center; }
.show-thumbs button[aria-current=true] { border-color: var(--aqua); opacity: 1; }
.show-thumbs button:hover { opacity: 1; }
.show-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.next { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .p-grid { grid-template-columns: 1fr; } .facts { position: static; } .p-cover { aspect-ratio: 4 / 3; } .show-btn { width: 42px; height: 42px; } .show-thumbs button { width: 84px; } }

/* Materials page */
.mat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: 72px; border-top: 1px solid var(--line); }
.mat:nth-of-type(even) .mat-img { order: 2; }
.mat-img { aspect-ratio: 1; overflow: hidden; background: var(--panel); }
.mat-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.8)); transform-origin: var(--o, 50% 50%); }
.mat h2 { font-size: clamp(40px, 5vw, 64px); }
.mat .lede { margin-top: 18px; }
.mat dl { margin: 28px 0 0; display: grid; gap: 0; }
.mat dl div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.mat dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); padding-top: 3px; }
.mat dd { margin: 0; }
@media (max-width: 900px) { .mat { grid-template-columns: 1fr; } .mat:nth-of-type(even) .mat-img { order: 0; } .mat dl div { grid-template-columns: 1fr; gap: 4px; } }

/* ===== v3 additions: blended structure ===== */
.ann { background: #04141B; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-align: center; padding: 8px var(--gutter); }
.ann b { color: var(--aqua); font-weight: 500; }
.site-head.ads .nav, .site-head.ads .menu-btn { display: none; }
.site-head.ads .phone { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-decoration: none; }
.page-hero.photo { position: relative; padding-block: 200px 96px; overflow: hidden; }
.page-hero.photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.photo .tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,11,16,.82), rgba(3,11,16,.45)); }
.page-hero.photo .wrap { position: relative; }
.page-hero.photo h1 { font-size: clamp(52px, 8vw, 112px); }
.page-hero.photo .lede { color: #D4DEE2; margin-top: 24px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cols3 > *, .cols2 > *, .cols4 > * { min-width: 0; }
.card { border-top: 1px solid var(--aqua); padding-top: 24px; }
.card .n { font-family: var(--display); font-size: 26px; color: var(--aqua); }
.card h3 { font-size: 30px; margin-top: 10px; }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.tile { position: relative; display: block; text-decoration: none; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.05); }
.tile .ov { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,11,16,.92), rgba(3,11,16,0) 60%); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile .ov .mono { color: var(--aqua); }
.tile h3 { font-size: 36px; margin-top: 8px; }
.tile p { color: #D4DEE2; font-size: 15px; margin-top: 6px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.steps > div:nth-child(3n+2), .steps > div:nth-child(3n) { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .mono { color: var(--aqua); }
.steps h3 { font-size: 30px; margin-top: 10px; }
.steps p { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; min-height: 44px; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--display); font-size: 28px; color: var(--aqua); }
.faq details[open] summary::after { content: "–"; }
.faq p { padding-bottom: 24px; max-width: 70ch; color: var(--muted); line-height: 1.7; }
.city-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.city-tags a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.city-tags a:hover { border-color: var(--aqua); color: var(--aqua) }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.area { display: block; text-decoration: none; padding: 32px; background: var(--panel); border: 1px solid var(--line); min-height: 220px; display: flex; flex-direction: column; gap: 10px; }
.area:hover { border-color: var(--aqua); }
.area h3 { font-size: 34px; }
.area p { color: var(--muted); font-size: 15px; }
.area .mono { color: var(--aqua); margin-top: auto; }
.guide article { padding: 32px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; }
.guide article .n { font-family: var(--display); font-size: 32px; color: var(--aqua); }
.guide h3 { font-size: 30px; }
.guide p { margin-top: 10px; color: var(--muted); line-height: 1.75; max-width: 70ch; }
.note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.sticky-call { display: none; }
@media (max-width: 900px) { .cols3, .cols2, .cols4, .areas { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; } .steps > div { padding: 24px 0 !important; border-left: 0 !important; } .guide article { grid-template-columns: 1fr; gap: 8px; } .page-hero.photo { padding-block: 150px 64px; } }
@media (max-width: 720px) { .sticky-call { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding-bottom: env(safe-area-inset-bottom, 0px); background: #04141B; border-top: 1px solid var(--line); } .sticky-call a { display: grid; place-items: center; min-height: 54px; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; } .sticky-call a:last-child { background: var(--aqua); color: var(--aqua-ink); } body { padding-bottom: 54px; } }
[hidden] { display: none !important; }

/* ===== Light theme ===== */
body { font-size: 18px; line-height: 1.7; -webkit-font-smoothing: auto; }
h1, h2, h3 { letter-spacing: 0; }
.lede { font-size: 20px; }

/* Readable labels: body font, larger, less letter spacing */
.mono, .eyebrow, .rail .meta, .proof span, .voices cite, .field label,
.crumbs, .facts dt, .mat dt,
.member .stage, .site-head.ads .phone {
  font-size: 13px; letter-spacing: .08em; font-weight: 600;
}
.eyebrow { letter-spacing: .12em; }

/* Calmer display sizes: Playfair is wider and heavier than Italiana */
.hero h1 { font-size: clamp(42px, 6.2vw, 92px); line-height: 1.04; max-width: 17ch; }
@media (min-width: 900px) { .hero h1 { max-width: none; font-size: clamp(56px, 5.6vw, 88px); } }
@media (max-width: 899px) { .br-wide { display: none; } }
.band-head h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.08; }
.consult h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; }
.logo { letter-spacing: .12em; font-size: 26px; font-weight: 500; }
.voices blockquote { font-size: 24px; line-height: 1.45; font-style: italic; }
.band { padding-block: clamp(72px, 9vw, 128px); }


/* Announcement bar: a fixed 32px strip; the header sits below it until you scroll */
.ann { background: #0E2A38; color: #D4DEE2; font-size: 11px; line-height: 16px; letter-spacing: .12em; font-weight: 600; }
.ann b { color: #9ED6E3; }
.site-head { transition: background .3s, top .3s; }
.ann + .site-head { top: 32px; }
.ann + .site-head.solid { top: 0; }

/* Card headings: Playfair is wider, so step them down a size */
h3 { line-height: 1.2; }
.tile h3 { font-size: 30px; }
.commercial h3 { font-size: 30px; }

/* Anything sitting on a photo or a dark band keeps light text */
.hero, .page-hero.photo, .tile, .site-head, section[data-zone="Features"], .site-foot {
  --fg: #F4F7F8; --muted: #C9D5DA; --line: rgba(255, 255, 255, .28); --aqua: #9ED6E3; --aqua-ink: #04141B;
  --panel: #12313F;
  color: var(--fg);
}

/* Header: light text over a photo hero, then a light bar with navy text once you scroll.
   Pages with no photo hero (materials, project, privacy) mark the header with class "light" so it is light from the first paint. */
.site-head.solid, .site-head.light {
  background: rgba(251, 248, 243, .94); box-shadow: 0 1px 0 #DDD4C6;
  --fg: #0E2A38; --muted: #4A5B63; --line: #DDD4C6; --aqua: #1D6A80; --aqua-ink: #FFFFFF;
}
@media (max-width: 1240px) {
  .nav { background: #FBF8F3; color: #0E2A38; --line: #DDD4C6; box-shadow: 0 8px 24px rgba(14, 42, 56, .12); }
  .nav a:hover { color: #1D6A80; }
}

/* Signature features band and footer: the two dark moments */
section[data-zone="Features"] { background: #0E2A38; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.features .tile { aspect-ratio: 4 / 3; }
.features .tile .ov { padding: 24px; }
.features .tile h3 { font-size: 26px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.site-foot { background: #0E2A38; color: var(--muted); border-top: 0; }

/* Cards and controls on the light background */
.chip { border-color: #C9BFAF; }
.chip:hover { border-color: var(--fg); }
.commercial, .cols2 > div[style*="border"] { background: #FFFFFF; }
.field input, .field select, .field textarea { border-bottom-color: #BFB4A3; }
.faq summary::after { font-family: var(--body); font-weight: 300; }

/* Mobile bottom bar */
.sticky-call { background: #0E2A38; color: #F4F7F8; border-top: 0; }

/* Phone: keep the announcement on one line so it doesn't run into the logo */
@media (max-width: 720px) {
  .ann { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; letter-spacing: .08em; }
}

/* Homepage hero: a lighter, left-weighted shade so the photo stays bright */
.hero .tint { background: linear-gradient(90deg, rgba(6, 20, 28, .66) 0%, rgba(6, 20, 28, .36) 50%, rgba(6, 20, 28, .06) 100%); }
.hero .inner { text-shadow: 0 1px 18px rgba(4, 14, 20, .55); }
.hero .btn { text-shadow: none; }
@media (max-width: 900px) { .hero .tint { background: rgba(6, 20, 28, .5); } }

/* Link to the separate commercial site: last in the menu, set apart by a hairline, arrow marks an outside site */
.nav .nav-ext { position: relative; display: inline-flex; align-items: center; gap: 7px; }
.nav .nav-ext svg { flex: none; opacity: .75; transition: transform .2s; }
.nav .nav-ext:hover svg { transform: translate(1px, -1px); }
.nav .nav-ext::before { content: ""; position: absolute; left: -16px; top: 50%; width: 1px; height: 16px; margin-top: -8px; background: currentColor; opacity: .35; }
@media (max-width: 1240px) { .nav .nav-ext::before { display: none; } .nav .nav-ext { margin-top: 6px; } }
.nav a { white-space: nowrap; }
.head-cta { white-space: nowrap; }
/* Header over a photo: a dark frosted pane so the logo, menu and button stay readable on any photo.
   Scrolling swaps it for the solid light bar; pages without a photo hero get the light bar from the start. */
.site-head:not(.solid):not(.light) {
  background: rgba(6, 20, 28, .42);
  -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12);
}

/* Logo image in the header (from MyNVblu's brand files; solid-colour web copy) */
.site-head .logo { display: block; flex: none; line-height: 0; }
.site-head .logo img { height: 60px; width: auto; }
@media (max-width: 720px) { .site-head .logo img { height: 48px; } }
.site-foot .logo { display: inline-block; line-height: 0; }
.site-foot .logo img { height: 76px; width: auto; }

/* Pool Service plans: three across on desktop, stacked on phones */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* Closing "next chapter" box: line its border up with the content column, not the page edge */
.wrap.commercial { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; padding: 36px; }
@media (max-width: 560px) { .wrap.commercial { padding: 24px; } }

/* In-page links (Design Yours, the consultation form) stop below the fixed header */
[id] { scroll-margin-top: 96px; }

/* Consultation form: state + ZIP side by side, spam trap, errors, sending state */
.field { align-content: start; }
.field.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; align-items: start; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
form.fields { position: relative; }
.field-error { font-size: 14px; color: #A3361F; margin-top: -2px; }
.field [aria-invalid="true"] { border-bottom-color: #A3361F !important; }
.form-done.is-error { border-color: #A3361F; }
.form-done a { color: inherit; }
#consult-form button[disabled] { opacity: .6; cursor: progress; }

/* Consultation form, readable version (2026-11-04): the form sits on a white panel and every field is a
   clearly bordered box, so it's obvious where to type. Overrides the underline-only fields above. */
form.fields {
  background: #FFFFFF; border: 1px solid #DDD4C6; border-radius: 6px;
  box-shadow: 0 1px 2px rgba(14, 42, 56, .04), 0 12px 32px rgba(14, 42, 56, .06);
  padding: clamp(22px, 3.5vw, 44px); gap: 22px 22px; align-self: start;
}
.field label { color: #2F4550; font-size: 13px; letter-spacing: .06em; }
.field input, .field select, .field textarea {
  min-height: 52px; padding: 12px 14px; background: #FFFFFF; color: #0E2A38;
  border: 1px solid #B9AE9C; border-radius: 4px; font-size: 17px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230E2A38' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option { background: #FFFFFF; color: #0E2A38; }
.field input::placeholder, .field textarea::placeholder { color: #7D8A90; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8E8473; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: #1D6A80; box-shadow: 0 0 0 3px rgba(29, 106, 128, .18);
}
.field [aria-invalid="true"] { border-color: #A3361F !important; box-shadow: 0 0 0 3px rgba(163, 54, 31, .12); }
.form-done { border-radius: 4px; background: #F4FAFB; }
.form-done.is-error { background: #FBF3F1; }
@media (max-width: 560px) { form.fields { padding: 20px 16px; margin-inline: -4px; } }

/* Privacy notice and other long legal text */
.legal { max-width: 70ch; margin-top: 32px; color: var(--muted); line-height: 1.75; }
.legal > * + * { margin-top: 16px; }
.legal h2 { font-size: 28px; color: var(--fg); margin-top: 44px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; }
.legal strong { color: var(--fg); font-weight: 600; }
