/* ============================================================
   OBX Home Solutions · design system
   Inspired by Turner Construction: white-dominant, brand blue,
   light geometric sans + a script accent word, sparing red-orange.
   ============================================================ */

:root {
  /* palette */
  --white: #ffffff;
  --ink: #17171b;          /* primary text + dark sections */
  --ink-soft: #2c2c33;
  --gray: #73737b;         /* secondary text */
  --gray-light: #9b9ba3;
  --line: #e5e6ea;         /* hairlines on white */
  --paper: #f4f5f7;        /* light gray section */
  --blue: #0b5dd0;         /* brand blue */
  --blue-deep: #094bab;    /* hover */
  --blue-light: #bfd2e4;   /* subtle accent */
  --blue-tint: #eef3fb;    /* faint blue section bg */
  --accent: #ff4026;       /* red-orange, arrows + tiny accents only */

  /* type */
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;

  /* metrics */
  --container: 1280px;
  --header-h: 96px;
  --radius: 3px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --shadow: 0 18px 50px -24px rgba(13, 30, 60, 0.28);
  --shadow-soft: 0 2px 10px rgba(20, 30, 50, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-weight: 300; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.0; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 400; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; }
p { color: var(--ink); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--gray); font-weight: 400; line-height: 1.6; }
h2 + .lead, h2 + p, h3 + p { margin-top: 1.1rem; }

/* script accent word inside headlines */
.script { font-family: var(--font-script); font-weight: 400; font-style: normal; letter-spacing: 0; }
h1 .script { font-size: 1.45em; line-height: 0.72; }
h2 .script { font-size: 1.38em; line-height: 0.74; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper { background: var(--paper); }
.section--tint { background: var(--blue-tint); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink p { color: #fff; }
.section--blue { background: var(--blue); color: #fff; }
.section--blue h1, .section--blue h2, .section--blue h3, .section--blue p { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; } .mt-4 { margin-top: 2.5rem; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  --bw: 1.5px;
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 0.97rem; letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem; border-radius: var(--radius);
  border: var(--bw) solid transparent; background: var(--ink); color: #fff;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.02rem; }

.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* text + arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
}
.arrow-link svg { width: 18px; height: 18px; color: var(--accent); transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }
.arrow-link--light { color: #fff; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(15,30,60,.4);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark { height: 42px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; color: #fff; transition: color .3s var(--ease); }
.brand__sub { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.7); transition: color .3s var(--ease); }
.site-header.scrolled .brand__name { color: var(--ink); }
.site-header.scrolled .brand__sub { color: var(--gray); }

.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a {
  font-size: 0.98rem; font-weight: 500; color: rgba(255,255,255,0.92);
  position: relative; transition: color .2s var(--ease); padding-block: 0.4rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent);
  transition: width .25s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.site-header.scrolled .nav__links a { color: var(--ink); }
.nav__cta .btn { padding: 0.7rem 1.25rem; }
.site-header:not(.scrolled) .nav__cta .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.site-header:not(.scrolled) .nav__cta .btn-primary:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.nav__toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; position: relative; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; transition: transform .25s var(--ease), background .3s var(--ease), opacity .2s;
}
.nav__toggle span { top: 21px; }
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
.site-header.scrolled .nav__toggle span, .site-header.scrolled .nav__toggle span::before, .site-header.scrolled .nav__toggle span::after { background: var(--ink); }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.nav.open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  margin-top: calc(-1 * var(--header-h)); color: #fff; overflow: hidden;
  background: var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../images/hero-home.jpg") center center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,18,32,0.55) 0%, rgba(10,18,32,0.35) 45%, rgba(10,18,32,0.90) 100%),
    radial-gradient(1100px 680px at 78% -10%, rgba(11,93,208,0.38), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(3rem, 8vh, 7rem); padding-top: calc(var(--header-h) + 2rem); }
.hero__content { max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(255,255,255,0.85); max-width: 640px; font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; align-items: center; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.8);
}
.hero__scroll svg { width: 22px; height: 22px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll svg { animation: none; } }

/* page hero (interior pages) */
.page-hero {
  position: relative; margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background: var(--ink); color: #fff; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(1100px 500px at 80% -10%, rgba(11,93,208,0.55), transparent 60%), var(--ink);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.82); margin-top: 1rem; font-size: 1.15rem; max-width: 620px; }
.crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.62); margin-bottom: 1.1rem; letter-spacing: 0.02em; }
.crumbs a { color: rgba(255,255,255,0.82); }
.crumbs a:hover { color: #fff; }

/* ---------- cards (image-led, Turner news style) ---------- */
.card-img {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card-img:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-img__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card-img__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card-img:hover .card-img__media img { transform: scale(1.05); }
.card-img__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-img__body h3 { font-weight: 400; }
.card-img__body p { color: var(--gray); font-size: 0.97rem; }
.card-img__body .arrow-link { margin-top: auto; padding-top: 0.7rem; }

/* simple feature card (icon) */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-weight: 400; }
.card p { color: var(--gray); font-size: 0.97rem; }
.svc-icon {
  width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue); transition: background .3s var(--ease), color .3s var(--ease);
}
.svc-icon svg { width: 26px; height: 26px; }
.card:hover .svc-icon { background: var(--blue); color: #fff; }
.card .arrow-link { margin-top: 0.4rem; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 0.5rem 1.5rem; position: relative; }
.stat:not(:first-child) { border-left: 1px solid var(--line); }
.section--blue .stat:not(:first-child), .section--ink .stat:not(:first-child) { border-left-color: rgba(255,255,255,0.22); }
.stat__num { font-size: clamp(2.6rem, 4.5vw, 3.8rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--blue); }
.section--blue .stat__num, .section--ink .stat__num { color: #fff; }
.stat__label { margin-top: 0.55rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); font-weight: 600; }
.section--blue .stat__label, .section--ink .stat__label { color: rgba(255,255,255,0.8); }

/* ---------- process steps ---------- */
.step { position: relative; padding-top: 2.6rem; }
.step__num {
  position: absolute; top: 0; left: 0; font-family: var(--font-sans); font-weight: 300;
  font-size: 2.4rem; color: var(--blue-light); letter-spacing: -0.03em; line-height: 1;
}
.step h3 { font-weight: 500; font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { color: var(--gray); font-size: 0.96rem; }

/* ---------- media split image ---------- */
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }

/* ---------- town / list grids ---------- */
.town-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.5rem; }
.town-grid li { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 500; }
.town-grid svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.check-list { display: grid; gap: 0.85rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--ink); }
.check-list svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }

/* ---------- map ---------- */
.map-wrap { position: relative; z-index: 0; isolation: isolate; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-frame { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- testimonials ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; display: flex; flex-direction: column; gap: 1.1rem;
}
.quote-card .stars { display: flex; gap: 3px; color: var(--accent); }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.1rem; line-height: 1.55; color: var(--ink); font-weight: 400; }
.quote-card__by { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 0.95rem; flex: none; }
.quote-card__name { display: block; font-weight: 600; }
.quote-card__loc { display: block; font-size: 0.85rem; color: var(--gray); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; text-align: center; }
.cta-band .container { max-width: 820px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); margin-top: 1rem; font-size: 1.15rem; }
.cta-band .hero__actions { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--blue); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- gallery ---------- */
.gallery { columns: 3; column-gap: 1.1rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1.1rem; position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; display: block; background: var(--paper); }
.gallery__item img { width: 100%; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem 0.9rem; color: #fff; font-weight: 500; font-size: 0.92rem;
  background: linear-gradient(transparent, rgba(10,16,28,0.8)); opacity: 0; transition: opacity .3s var(--ease);
}
.gallery__item:hover .gallery__cap { opacity: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: rgba(8,12,20,0.92); padding: 4vw; }
.lightbox.open { display: grid; }
.lightbox__img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius); }
.lightbox__cap { color: #fff; text-align: center; margin-top: 1rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.lightbox__btn { position: absolute; background: rgba(255,255,255,0.12); border: none; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; display: grid; place-items: center; transition: background .2s; }
.lightbox__btn:hover { background: rgba(255,255,255,0.25); }
.lightbox__close { top: 4vw; right: 4vw; } .lightbox__prev { left: 3vw; top: 50%; transform: translateY(-50%); } .lightbox__next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 3rem 1.5rem 0; font-size: 1.12rem; font-weight: 500; color: var(--ink); position: relative; display: flex; }
.faq__q::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--blue); transition: transform .25s var(--ease); }
.faq__item.open .faq__q::after { content: "−"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 0 1.5rem; color: var(--gray); }

/* ---------- forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,93,208,0.12); }
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-success { display: none; background: var(--blue-tint); border: 1px solid var(--blue-light); color: var(--blue-deep); padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-weight: 500; }
.form-success.show { display: block; }
.form-error { display: none; background: #fdecea; border: 1px solid #f3c2bd; color: #a3261a; padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-weight: 500; }
.form-error.show { display: block; }
.form-error a { color: inherit; text-decoration: underline; }
.form-note { font-size: 0.85rem; color: var(--gray); margin-top: 0.75rem; }

.contact-meta { display: grid; gap: 1.4rem; }
.contact-meta__item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-meta__item svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.contact-meta__item h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray); margin-bottom: 0.2rem; }
.contact-meta__item a, .contact-meta__item p { color: var(--ink); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue); color: #fff; padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-about p { color: rgba(255,255,255,0.78); margin-top: 1rem; max-width: 320px; font-size: 0.96rem; }
.site-footer .brand__name { color: #fff; } .site-footer .brand__sub { color: rgba(255,255,255,0.7); }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer-links li, .footer-contact li { margin-bottom: 0.65rem; }
.footer-links a { color: rgba(255,255,255,0.82); font-size: 0.96rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; color: rgba(255,255,255,0.82); font-size: 0.96rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-light); flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.82); } .footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.14); display: grid; place-items: center; transition: background .2s; }
.social a:hover { background: #fff; } .social a:hover svg { color: var(--blue); }
.social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* ---------- icon sprite (hidden defs) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- image placeholder panels (premium, stand in for real photography) ---------- */
.img-ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; text-align: center; padding: 2rem; min-height: 240px; color: #fff;
  background:
    radial-gradient(130% 110% at 50% -10%, rgba(11,93,208,0.40), transparent 62%),
    linear-gradient(158deg, var(--ink) 0%, #16243f 68%, var(--blue-deep) 150%);
}
.img-ph__icon { width: 56px; height: 56px; color: var(--blue-light); display: grid; place-items: center; }
.img-ph__icon svg { width: 100%; height: 100%; }
.img-ph__cap {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); max-width: 22ch; line-height: 1.5;
}
.img-ph--light { background: var(--blue-tint); color: var(--blue); }
.img-ph--light .img-ph__icon { color: var(--blue); }
.img-ph--light .img-ph__cap { color: var(--gray); }
.gallery .img-ph { min-height: 220px; }
.gallery .img-ph--tall { min-height: 310px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- interior page helpers ---------- */
section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (min-width: 861px) { .split--reverse > :first-child { order: 2; } }

/* featured pull-quote (testimonials) */
.pull-quote { max-width: 880px; margin-inline: auto; text-align: center; }
.pull-quote .stars { display: flex; justify-content: center; gap: 4px; color: var(--accent); margin-bottom: 1.5rem; }
.pull-quote .stars svg { width: 22px; height: 22px; }
.pull-quote blockquote { font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.32; letter-spacing: -0.015em; color: #fff; }
.pull-quote figcaption { margin-top: 1.6rem; color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.pull-quote figcaption strong { color: #fff; font-weight: 600; }

/* mini icon list (about / contact value rows) */
.icon-row { display: flex; gap: 1rem; align-items: flex-start; }
.icon-row__icon { width: 46px; height: 46px; border-radius: var(--radius); background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.icon-row__icon svg { width: 24px; height: 24px; }
.icon-row h3 { font-size: 1.12rem; font-weight: 500; margin-bottom: 0.3rem; }
.icon-row p { color: var(--gray); font-size: 0.96rem; }

/* hours / definition list */
.spec-list { display: grid; gap: 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--gray); }
.spec-list dd { font-weight: 600; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
}
@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .nav__cta { display: none; }
  .brand__name { white-space: nowrap; }
  .nav__toggle { display: block; z-index: 120; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.4rem; padding: 2rem 2.2rem; transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: -20px 0 50px -30px rgba(0,0,0,.5);
  }
  .nav.open .nav__links { transform: translateX(0); }
  .nav__links a { color: var(--ink); font-size: 1.15rem; }
  .site-header.scrolled .nav__links a { color: var(--ink); }
  .nav__cta .btn { padding: 0.85rem 1.4rem; }
  .site-header:not(.scrolled) .nav__cta .btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { align-items: flex-start; min-height: 86vh; }
  .hero__inner { padding-top: calc(2 * var(--header-h) + 2.5rem); }
  .page-hero { padding-top: calc(2 * var(--header-h) + 2.5rem); }
}
@media (max-width: 600px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .stat:nth-child(3) { border-left: none; }
  .field--row { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .town-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
