/* =========================================================================
   Gavin Giddings & Co — Building Contractors, London
   Design system: classic & trustworthy — deep navy, warm stone, brass accent
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy:        #16243d;
  --navy-700:    #1d2f4f;
  --navy-600:    #28406a;
  --navy-050:    #eef1f6;

  --stone-50:    #faf8f3;
  --stone-100:   #f4f0e8;
  --stone-200:   #e9e3d7;
  --stone-300:   #d9d1c1;

  --brass:       #b0883f;  /* decorative + accents on dark/navy */
  --brass-600:   #835d2a;  /* text on light + primary button (WCAG AA) */
  --brass-700:   #6d4d23;  /* primary button hover */
  --brass-050:   #f3ead9;

  --ink:         #1f242c;
  --muted:       #5c6571;
  --line:        rgba(22, 36, 61, 0.12);
  --line-strong: rgba(22, 36, 61, 0.22);

  --white:       #ffffff;

  --shadow-sm:   0 1px 2px rgba(22, 36, 61, 0.06), 0 1px 3px rgba(22, 36, 61, 0.06);
  --shadow-md:   0 6px 18px rgba(22, 36, 61, 0.10);
  --shadow-lg:   0 18px 50px rgba(22, 36, 61, 0.16);

  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1160px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--stone-50);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--brass-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  text-wrap: balance;          /* tidy, balanced multi-line headings */
}
.lede, .prose p, .hero__sub, .project__desc { text-wrap: pretty; }  /* avoid orphan words */

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--stone { background: var(--stone-100); }
.section--navy { background: var(--navy); color: #d6deea; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.center { text-align: center; }
.measure { max-width: 64ch; }
.mx-auto { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: 18px;
}
.section--navy .eyebrow { color: var(--brass); }

.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.lede { font-size: 1.18rem; color: var(--muted); line-height: 1.7; }
.section--navy .lede { color: #aebbd0; }

.rule {
  position: relative; width: 66px; height: 2px; border: 0; margin: 22px 0 0;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass) 45%, rgba(176,136,63,0.18) 100%);
}
.center .rule {
  margin-inline: auto; width: 92px;
  background: linear-gradient(90deg, rgba(176,136,63,0) 0%, var(--brass) 50%, rgba(176,136,63,0) 100%);
}
.center .rule::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 6px; height: 6px; background: var(--brass);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--brass-600); color: #fff; border-color: var(--brass-600); }
.btn--primary:hover { background: var(--brass-700); border-color: var(--brass-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-top: 3px solid var(--brass);          /* brass "letterhead" keyline */
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(250, 248, 243, 0.96); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--navy); letter-spacing: 0.01em; }
.brand__tag { font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-600); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav__links a {
  display: inline-block; padding: 10px 16px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 500; color: var(--navy);
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
  height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--brass-600); }

.nav__cta { margin-left: 12px; }

/* Mobile slide-in menu is hidden on desktop; revealed in the ≤820px breakpoint */
.mobile-menu { display: none; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: transparent; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease); position: relative;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after  { position: absolute; top:  7px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav__toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(176,136,63,0.22), transparent 55%),
    linear-gradient(180deg, #1a2c49 0%, #16243d 60%, #121d31 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(110% 90% at 75% 10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(110% 90% at 75% 10%, #000 30%, transparent 75%);
}
.hero__deco {
  position: absolute; z-index: 1; top: 40%; right: clamp(-24px, 3vw, 56px);
  transform: translateY(-50%);
  width: min(40vw, 460px); aspect-ratio: 300 / 356;
  background: url("../img/portico-motif.svg") no-repeat center / contain;
  opacity: 0.16; pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding: 116px 0 124px; max-width: 760px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 26px;
}
.hero__kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--brass); }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 6.2vw, 4.1rem); line-height: 1.08;
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: #e7c894; }
.hero__sub { font-size: 1.2rem; color: #b9c4d8; max-width: 56ch; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero stat strip */
.hero-stats {
  position: relative; z-index: 2; background: var(--navy-700);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-stats__item { padding: 26px 24px; text-align: center; border-left: 1px solid rgba(255,255,255,0.08); }
.hero-stats__item:first-child { border-left: 0; }
.hero-stats__num { font-family: var(--serif); font-size: 1.7rem; color: #fff; line-height: 1; }
.hero-stats__num span { color: var(--brass); }
.hero-stats__label { font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: #9fb0c8; margin-top: 8px; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(100% 120% at 85% 0%, rgba(176,136,63,0.20), transparent 55%);
}
.page-banner::after {
  content: ""; position: absolute; z-index: 1; top: 50%; right: -16px;
  transform: translateY(-50%);
  width: 220px; aspect-ratio: 300 / 356;
  background: url("../img/portico-motif.svg") no-repeat center / contain;
  opacity: 0.11; pointer-events: none;
}
.page-banner__inner { position: relative; z-index: 2; padding: 88px 0 76px; max-width: 720px; }
.page-banner h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-bottom: 16px; }
.page-banner p { color: #b9c4d8; font-size: 1.12rem; max-width: 52ch; }
.breadcrumb { font-size: 0.8rem; letter-spacing: 0.06em; color: #8ea0bb; margin-bottom: 22px; text-transform: uppercase; }
.breadcrumb a { color: #b9c4d8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; color: #5d7095; }

/* ---------- Intro / split blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--narrow { gap: 56px; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid rgba(22, 36, 61, 0.06);
  box-shadow: 0 30px 60px -22px rgba(22, 36, 61, 0.30), 0 12px 24px -14px rgba(22, 36, 61, 0.20);
}
/* refined offset keyline frame behind split imagery */
.split__media::after {
  content: ""; position: absolute; z-index: -1;
  top: 22px; left: 22px; right: -22px; bottom: -22px;
  border: 1px solid rgba(176, 136, 63, 0.35); border-radius: var(--radius);
}
.split--reverse .split__media::after,
.split__media--reverse::after { left: -22px; right: 22px; }
.split__media .frame-tag {
  position: absolute; bottom: -18px; left: -18px; background: var(--brass-600); color: #fff;
  font-family: var(--serif); font-size: 1.4rem; padding: 16px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); line-height: 1;
}
.split__media .frame-tag small { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: .9; margin-top: 7px; font-weight: 600; }
.prose p + p { margin-top: 18px; }
.prose p { color: #3c434d; }
.prose .lede { color: var(--muted); }

.signature { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--navy); margin-top: 26px; }
.signature small { display: block; font-family: var(--sans); font-style: normal; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stone-300); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--brass-050); color: var(--brass-600);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* compact service list grid */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.service-item { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.service-item:nth-last-child(-n+2) { border-bottom: 0; }
.service-item__no { font-family: var(--serif); font-size: 1.05rem; color: var(--brass); padding-top: 2px; min-width: 30px; }
.service-item h3 { font-size: 1.22rem; margin-bottom: 7px; }
.service-item p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Feature list (ticks) ---------- */
.ticks { list-style: none; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; }
.ticks li svg { flex: none; width: 22px; height: 22px; color: var(--brass); margin-top: 2px; }
.ticks li strong { color: var(--navy); }
.ticks li span { color: #3c434d; }

/* ---------- Gallery ---------- */
.project { margin-bottom: 88px; }
.project:last-child { margin-bottom: 0; }
.project__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.project__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.project__loc { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-600); font-weight: 600; }
.project__desc { color: var(--muted); max-width: 60ch; margin-top: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid--2 { grid-template-columns: repeat(2, 1fr); }
.shot {
  position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer;
  aspect-ratio: 3 / 2; background: var(--stone-200); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  /* button-reset so .shot can be a <button> (keyboard-operable lightbox trigger) */
  appearance: none; -webkit-appearance: none; padding: 0; margin: 0;
  font: inherit; color: inherit; text-align: left; width: 100%; display: block;
}
.shot:focus-visible { outline: 3px solid var(--brass-600); outline-offset: 2px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(180deg, transparent 45%, rgba(18,29,49,0.72));
  opacity: 0; transition: opacity .3s var(--ease);
}
.shot:hover .shot__overlay { opacity: 1; }
.shot__overlay span { color: #fff; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 8px; }
.shot__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(18,29,49,0.82); color: #fff; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 5vw;
  background: rgba(15, 22, 36, 0.92); backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 4vh; left: 0; right: 0; text-align: center; color: #cfd8e6; font-size: 0.9rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background .2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__close { top: 4vh; right: 5vw; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 3vw; }
.lightbox__nav--next { right: 3vw; }
.lightbox svg { width: 22px; height: 22px; }

/* ---------- Credentials / badges ---------- */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.badge {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start;
}
.badge__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-050); display: grid; place-items: center; color: var(--navy); }
.badge__icon svg { width: 22px; height: 22px; }
.badge h4 { font-size: 1.02rem; margin-bottom: 4px; font-family: var(--sans); font-weight: 700; color: var(--navy); }
.badge p { font-size: 0.88rem; color: var(--muted); }

/* trust logos strip */
.accreditation-strip { display: flex; flex-wrap: wrap; gap: 14px 12px; justify-content: center; }
.accred-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 0.86rem; font-weight: 600; color: var(--navy);
}
.accred-chip svg { width: 17px; height: 17px; color: var(--brass); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 140% at 15% 0%, rgba(176,136,63,0.22), transparent 50%); }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 64px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.cta-band p { color: #b9c4d8; max-width: 46ch; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-line { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brass-050); color: var(--brass-600); display: grid; place-items: center; }
.contact-line__icon svg { width: 21px; height: 21px; }
.contact-line__label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-line__val { font-size: 1.08rem; color: var(--navy); font-weight: 500; }
.contact-line__val a { color: var(--navy); }
.contact-line__val a:hover { color: var(--brass-600); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--stone-50); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-050); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 14px; font-size: 0.92rem; display: none; padding: 12px 16px; border-radius: var(--radius); }
.form-status.is-ok { display: block; background: #e9f4ec; color: #1f6b3a; border: 1px solid #bfe1c8; }
.form-status.is-err { display: block; background: #fbecec; color: #9b2c2c; border: 1px solid #f0c9c9; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 16px; }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(0.2) contrast(1.02); }

/* ---------- Footer ---------- */
.site-footer { background: #111c2f; color: #93a2bb; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: var(--brass); }
.footer-about { font-size: 0.95rem; line-height: 1.7; margin: 20px 0 14px; max-width: 34ch; }
.footer-aside { font-size: 0.86rem; max-width: 34ch; }
.footer-aside a { color: var(--brass); font-weight: 600; display: inline-flex; align-items: baseline; gap: 5px; }
.footer-aside a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer-links a { color: #93a2bb; font-size: 0.95rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { font-size: 0.95rem; line-height: 1.8; }
.footer-contact a { color: #cdd6e4; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: grid; place-items: center; color: #93a2bb; }
.footer-social a:hover { border-color: var(--brass); color: var(--brass); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom a { color: #93a2bb; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split__media { order: -1; }
  .split__media::after { display: none; }   /* editorial offset frame is desktop-only */
  .cards--4, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .site-header.nav-open, body.nav-open .site-header { background: var(--stone-50); }
  .mobile-menu {
    position: fixed; inset: 81px 0 0; z-index: 99; background: var(--stone-50);
    padding: 28px 24px; display: flex; flex-direction: column; overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px); transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  body.nav-open .mobile-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .mobile-menu a { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu a[aria-current="page"]:not(.btn) { color: var(--brass-600); }
  /* the CTA is a button, not a plain menu link — override the link styles above
     (specificity 0,2,1 beats .mobile-menu a) so its label stays white on navy */
  .mobile-menu a.btn { margin-top: 26px; justify-content: center; color: #fff;
    font-family: var(--sans); font-size: 1rem; padding: 16px 28px; border-bottom: 0; }
  .hero-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats__item { min-width: 0; padding: 22px 14px; }
  .hero-stats__item:nth-child(odd) { border-left: 0; }
  .hero-stats__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .hero-stats__num { font-size: 1.45rem; }
  .hero__kicker { flex-wrap: wrap; row-gap: 6px; font-size: 0.72rem; }
}
@media (max-width: 680px) {
  .section { padding: 68px 0; }
  body { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 0; }
  .service-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-item:last-child { border-bottom: 0; }
  .cards--3, .cards--4, .cards--2, .badges { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid--2 { grid-template-columns: 1fr 1fr; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__inner { padding: 84px 0 92px; }
  .form-card { padding: 26px; }
}
@media (max-width: 420px) {
  .gallery-grid, .gallery-grid--2 { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
}

/* utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
[hidden] { display: none !important; }

/* decorative motifs are desktop-only (would crowd text on small screens) */
@media (max-width: 980px) { .hero__deco { display: none; } }
@media (max-width: 760px) { .page-banner::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .card::before, .shot img { transition: none; } }
