/* ==========================================================================
   Believer Infradeveloper — site styles
   Palette and type are taken from the corporate mark: Believer navy, brass
   gold, and the gold horizon arc that sits under the buildings.
   ========================================================================== */

:root {
  --paper: #fcfcfa;
  --white: #ffffff;
  --mist: #eef2f6;
  --mist-2: #e3e9f0;
  --line: #d9e0e8;
  --ink: #0e2443;
  --ink-2: #29405f;
  --slate: #586477;
  --midnight: #0a1a33;
  --brass: #8a6416;
  --gilt: #d2a64a;
  --gilt-soft: #f4ead3;
  --danger: #b3261e;
  --ok: #1f7a4d;

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --t-display: clamp(2.7rem, 1.6rem + 4.6vw, 5.6rem);
  --t-h2: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  --t-h3: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem);
  --t-lead: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  --t-body: 1.0625rem;
  --t-small: 0.9rem;
  --t-micro: 0.8rem;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --narrow: 780px;
  --section: clamp(72px, 9vw, 140px);
  --header-h: 84px;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
::selection { background: var(--gilt-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }
.section--tight { padding-block: calc(var(--section) * .6); }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-size: var(--t-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
}
.h2 { font-family: var(--serif); font-size: var(--t-h2); line-height: 1.06; letter-spacing: -0.02em; }
.h3 { font-family: var(--serif); font-size: var(--t-h3); line-height: 1.18; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); max-width: 58ch; font-weight: 300; }
.muted { color: var(--slate); }
.small { font-size: var(--t-small); }
.micro { font-size: var(--t-micro); line-height: 1.5; }
.prose { max-width: 64ch; }
.prose p { color: var(--ink-2); }
.kicker { display: block; font-size: var(--t-small); color: var(--brass); font-weight: 500; letter-spacing: .01em; margin-bottom: 18px; }

.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: 2px;
  font-size: .98rem; font-weight: 500; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { --bg: var(--ink-2); --bd: var(--ink-2); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--gold { --bg: var(--gilt); --fg: var(--midnight); --bd: var(--gilt); }
.btn--gold:hover { --bg: #e0b85d; --bd: #e0b85d; }
.btn--light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .btn-row > .btn { flex: 1 1 100%; } }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--gilt); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.link:hover { color: var(--brass); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 34px; }
.nav a {
  position: relative; text-decoration: none; font-size: .98rem; color: var(--ink-2); padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gilt);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.header-cta { display: none; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: .98rem; }
.header-phone svg { width: 17px; height: 17px; color: var(--brass); }
.header-cta .btn { min-height: 46px; padding: 0 22px; }

.menu-toggle {
  margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; border-radius: 2px;
}
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 80;
  background: var(--paper);
  padding: 28px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 32px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  overflow-y: auto;
}
.menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-nav ul { list-style: none; border-top: 1px solid var(--line); }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a.mn-link {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  font-family: var(--serif); font-size: 1.7rem; text-decoration: none;
}
.mobile-nav .btn-row .btn { flex: 1 1 140px; }
.menu-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav, .header-cta { display: flex; }
  .menu-toggle, .mobile-nav { display: none; }
}
@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .brand img { height: 34px; }
}

/* ---------- home hero: buildings standing on the gold horizon ---------- */
.hero {
  padding-top: clamp(36px, 6vw, 88px);
  position: relative;
}
.hero__top {
  display: grid; gap: 28px; align-items: end;
  padding-bottom: clamp(36px, 5vw, 64px);
}
.hero__title { max-width: 13ch; }
.hero__aside { display: grid; gap: 26px; max-width: 460px; }
@media (min-width: 960px) {
  .hero__top { grid-template-columns: 1.35fr 1fr; gap: 72px; }
  .hero__aside { justify-self: end; padding-bottom: 10px; }
}
.hero__media {
  position: relative;
  height: clamp(380px, 68vh, 760px);
  overflow: hidden;
  background: var(--mist);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transform: scale(1.06);
  animation: hero-settle 2.4s var(--ease) .1s forwards;
}
.horizon {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(54px, 9vw, 140px);
  pointer-events: none;
}
.horizon .fill { fill: var(--paper); }
.horizon .arc {
  fill: none; stroke: var(--gilt); stroke-width: 2.25; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw-arc 1.8s var(--ease) .6s forwards;
}
@keyframes hero-settle { to { transform: scale(1); } }
@keyframes draw-arc { to { stroke-dashoffset: 0; } }

.now-booking {
  position: relative; z-index: 2;
  display: flex; justify-content: center; text-align: center;
  margin-top: clamp(-36px, -3vw, -20px);
  padding-inline: var(--gutter);
}
.now-booking a {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px;
  text-decoration: none; padding: 6px 0;
}
.now-booking .nb-label { color: var(--brass); font-weight: 500; font-size: var(--t-small); }
.now-booking .nb-name { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); border-bottom: 1px solid var(--gilt); }
.now-booking .nb-meta { color: var(--slate); font-size: var(--t-small); }
.now-booking { flex-direction: column; align-items: center; gap: 4px; }
@media (max-width: 760px) { .now-booking { margin-top: 8px; } }

/* ---------- featured project ---------- */
.feature { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: 1.15fr 1fr; } }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.section--white .feature__media .tag { background: var(--white); }
@media (min-width: 960px) { .feature--rev { grid-template-columns: 1fr 1.15fr; } .feature--rev .feature__media { order: 2; } }
.feature__media .tag {
  position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 14px 20px 0 0;
  font-size: var(--t-small); color: var(--slate);
}
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin: 34px 0 38px; }
.facts > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 20px; }
.facts dt { font-size: var(--t-micro); color: var(--slate); margin-bottom: 4px; }
.facts dd { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }

/* ---------- standards (commitments) ---------- */
.standards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.standard { display: grid; gap: 10px 48px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.standard h3 { font-family: var(--serif); font-size: var(--t-h3); }
.standard p { color: var(--ink-2); max-width: 62ch; }
@media (min-width: 860px) { .standard { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---------- image band with quote ---------- */
.band {
  position: relative; margin: 0; min-height: clamp(460px, 70vh, 720px);
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
}
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,26,51,0) 25%, rgba(10,26,51,.82) 100%);
}
.band .wrap { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 96px); }
.band blockquote { margin: 0; max-width: 26ch; font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.12; }
.band figcaption { margin-top: 22px; font-size: var(--t-small); color: rgba(255,255,255,.78); }

/* ---------- process steps (a real sequence) ---------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; align-content: start; grid-template-columns: 64px 1fr; gap: 6px 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--brass); }
.steps h3 { font-size: 1.15rem; font-weight: 500; font-family: var(--sans); letter-spacing: 0; }
.steps p { color: var(--slate); max-width: 60ch; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); border-top: 0; }
  .steps li { grid-template-columns: 1fr; padding: 28px 28px 0 0; border-bottom: 0; border-top: 1px solid var(--ink); }
  .steps li::before { grid-row: auto; margin-bottom: 18px; }
}

/* ---------- city list ---------- */
.cities { display: grid; gap: 0; border-top: 1px solid var(--line); }
.city { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.city__name { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.1; }
.city__state { font-size: var(--t-small); color: var(--slate); text-align: right; }
.city--live .city__state { color: var(--ok); font-weight: 500; }
.city--live:hover .city__name { color: var(--brass); }

/* ---------- enquiry block ---------- */
.enquire { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 960px) { .enquire { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-lines { list-style: none; display: grid; gap: 18px; margin-top: 34px; }
.contact-lines a, .contact-lines span { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: var(--ink-2); }
.contact-lines svg { width: 20px; height: 20px; color: var(--brass); flex: none; margin-top: 4px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form--card { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 44px); }
.form__title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.form__note { font-size: var(--t-micro); color: var(--slate); }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: var(--t-small); color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  font-size: 1rem; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230e2443' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field__error { font-size: var(--t-micro); color: var(--danger); display: none; }
.field.has-error .field__error { display: block; }
.phone-input { display: grid; grid-template-columns: auto 1fr; }
.phone-input span {
  display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line); border-right: 0;
  background: var(--mist); font-size: .95rem; color: var(--ink-2); border-radius: 2px 0 0 2px;
}
.phone-input input { border-radius: 0 2px 2px 0; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice-row legend { margin-bottom: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line);
  border-radius: 2px; font-size: .94rem; color: var(--ink-2); background: var(--paper); transition: all .2s;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--gilt); outline-offset: 2px; }
.consent { display: flex; gap: 10px; font-size: var(--t-micro); color: var(--slate); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--ink); flex: none; }
.form-status { font-size: var(--t-small); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(40px, 6vw, 96px); }
.page-hero__inner { display: grid; gap: 26px; padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .page-hero__inner { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 72px; } }
.crumbs { display: flex; gap: 10px; font-size: var(--t-small); color: var(--slate); margin-bottom: 26px; list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }

/* ---------- project cards (listing) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; margin-bottom: 40px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-group > span { font-size: var(--t-small); color: var(--slate); margin-right: 6px; }
.chip {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: var(--white); border-radius: 40px;
  font-size: .94rem; color: var(--ink-2); transition: all .2s;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.project-grid { display: grid; gap: clamp(40px, 5vw, 64px) 32px; }
@media (min-width: 760px) { .project-grid { grid-template-columns: 1fr 1fr; } }
.pcard { display: grid; gap: 20px; text-decoration: none; }
.pcard__media { position: relative; overflow: hidden; background: var(--mist); }
.pcard__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__status {
  position: absolute; top: 16px; left: 16px; background: var(--paper); color: var(--ink);
  font-size: var(--t-micro); font-weight: 500; padding: 6px 12px; border-radius: 30px;
}
.pcard__status--live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; }
.pcard__body { display: grid; gap: 6px; }
.pcard__loc { font-size: var(--t-small); color: var(--brass); font-weight: 500; }
.pcard__name { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--slate); font-size: var(--t-small); margin-top: 4px; }
.pcard--soon .pcard__media { display: grid; place-items: center; aspect-ratio: 5 / 4; background: var(--mist); border: 1px dashed var(--line); }
.pcard--soon .pcard__media img { opacity: .9; width: 46%; aspect-ratio: auto; }
.empty-state { padding: 48px 0; color: var(--slate); }
.pcard__cta { justify-self: start; margin-top: 14px; }
@media (min-width: 900px) {
  .project-grid > .pcard:only-child { grid-column: 1 / -1; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
  .project-grid > .pcard:only-child .pcard__name { font-size: var(--t-h2); }
}

/* ---------- about ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split img.landscape { aspect-ratio: 4 / 3; }
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--ink); }
.ledger > div { padding: 26px 26px 26px 0; }
.ledger dt { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; line-height: 1.2; }
.ledger dd { color: var(--slate); font-size: .98rem; }
.signature { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--slate); }
.signature strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ink); }

/* ---------- map ---------- */
.map { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.25) contrast(1.02); background: var(--mist); }

/* ---------- CTA strip (navy) ---------- */
.cta-strip { background: var(--ink); color: #fff; }
.cta-strip .wrap { display: grid; gap: 28px; padding-block: clamp(56px, 7vw, 96px); }
.cta-strip p { color: rgba(255,255,255,.75); }
@media (min-width: 900px) { .cta-strip .wrap { grid-template-columns: 1.3fr auto; align-items: center; } }

/* ---------- footer ---------- */
.site-footer { background: var(--midnight); color: rgba(255,255,255,.72); font-size: .96rem; position: relative; }
.site-footer .horizon-top { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); display: block; width: 100%; height: clamp(36px, 5vw, 70px); }
.site-footer > .wrap { padding-top: 24px; }
.site-footer .horizon-top .fill { fill: var(--midnight); }
.site-footer .horizon-top .arc { fill: none; stroke: var(--gilt); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.footer-grid { display: grid; gap: 40px; padding-block: 40px 56px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 56px; } }
.footer-brand img { width: 220px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; }
.site-footer h3 { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--gilt); margin-bottom: 16px; letter-spacing: .02em; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 26px 34px; display: grid; gap: 14px; font-size: var(--t-micro); color: rgba(255,255,255,.55); }
@media (min-width: 900px) { .footer-legal { grid-template-columns: 1fr auto; } }

/* ---------- floating actions (mobile) ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr;
  background: var(--white); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 20px rgba(0,0,0,.06);
}
.action-bar a, .action-bar button {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px;
  border: 0; background: none; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink);
}
.action-bar a + a, .action-bar a + button { border-left: 1px solid var(--line); }
.action-bar svg { width: 19px; height: 19px; }
.action-bar .ab-wa svg { color: #1f9d55; }
.action-bar .ab-primary { background: var(--ink); color: #fff; }
body.has-action-bar { padding-bottom: 60px; }
@media (min-width: 1080px) { .action-bar { display: none; } body.has-action-bar { padding-bottom: 0; } }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 84; width: 58px; height: 58px; border-radius: 50%;
  background: #1f9d55; color: #fff; display: none; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.16);
}
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 1080px) { .wa-float { display: grid; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(10,26,51,.55); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__dialog {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--white); display: grid; border-radius: 4px;
  transform: translateY(16px); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__media { display: none; position: relative; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__media figcaption { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
@media (min-width: 820px) { .modal__dialog { grid-template-columns: .9fr 1.1fr; } .modal__media { display: block; } }
.modal .form { padding: clamp(24px, 4vw, 44px); }
.modal .form__title { padding-right: 44px; }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); display: grid; place-items: center;
}
.modal__close svg { width: 18px; height: 18px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(6,15,30,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button svg { width: 20px; height: 20px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: var(--t-small); }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.center { text-align: center; }
.hide-sm { display: none; }
@media (min-width: 760px) { .hide-sm { display: initial; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__media img { transform: none; }
  .horizon .arc { stroke-dashoffset: 0; }
}
