/* ============================================================
   Charles Cove — Neighborhood Authority Design System
   Florida-warm · premium · mobile-first
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --paper:      #FAF7F1;   /* warm cream base */
  --paper-2:    #F3EDE2;   /* sand panel */
  --surface:    #FFFFFF;
  --ink:        #16242B;   /* deep text */
  --ink-soft:   #4C5C62;   /* muted text */
  --ink-faint:  #7C8A8F;
  --brand:      #0F4F4A;   /* deep coastal teal-green */
  --brand-700:  #0B3D39;
  --brand-900:  #082B28;
  --brand-tint: #E6EFEC;   /* pale teal wash */
  --gold:       #C2873B;   /* warm sun gold (muted, not garish) */
  --gold-600:   #A86F2A;
  --gold-tint:  #F6ECD8;
  --line:       #E6DDCD;   /* warm hairline */
  --line-2:     #D8CCB6;
  --good:       #1E7A5A;   /* positive market green */
  --shadow-sm:  0 1px 2px rgba(16,36,43,.06), 0 1px 3px rgba(16,36,43,.05);
  --shadow-md:  0 6px 18px rgba(16,36,43,.08), 0 2px 6px rgba(16,36,43,.05);
  --shadow-lg:  0 24px 60px rgba(16,36,43,.14), 0 8px 20px rgba(16,36,43,.08);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Metrics */
  --container: 1180px;
  --container-narrow: 760px;
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --gutter:    clamp(20px, 5vw, 44px);
  --header-h:  72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p  { margin: 0 0 1rem; color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }
.section { padding-block: clamp(54px, 8vw, 100px); }
.section--tint { background: var(--paper-2); }
.section--brand { background: var(--brand); color: #EAF3F0; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand p { color: #C9DDD7; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 700; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.section--brand .eyebrow { color: var(--gold-tint); }
.section--brand .eyebrow::before { background: var(--gold-tint); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.section--brand .lede { color: #C9DDD7; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 650; font-size: .98rem; line-height: 1;
  padding: .95em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 6px 16px rgba(168,111,42,.32); }
.btn--gold:hover { background: var(--gold-600); color: #fff; box-shadow: 0 10px 24px rgba(168,111,42,.36); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface); border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: var(--paper); color: var(--brand-900); }
.btn--lg { font-size: 1.05rem; padding: 1.1em 1.8em; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,247,241,.82); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(250,247,241,.96); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; color: var(--brand); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); letter-spacing: -.01em; }
.brand__sub { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: .25rem; }
.nav__links a {
  font-size: .92rem; font-weight: 550; color: var(--ink-soft); padding: .5rem .7rem; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--brand-700); background: var(--brand-tint); }
.nav__cta { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }
.nav__phone { font-weight: 650; color: var(--brand-700); font-size: .92rem; white-space: nowrap; }
.nav__phone:hover { color: var(--gold-600); }

/* Dropdown */
.has-drop { position: relative; }
.has-drop > button {
  background: none; border: 0; font: inherit; font-size: .92rem; font-weight: 550; color: var(--ink-soft);
  padding: .5rem .7rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .35em;
}
.has-drop > button:hover, .has-drop.open > button { color: var(--brand-700); background: var(--brand-tint); }
.has-drop > button svg { width: 12px; height: 12px; transition: transform .2s; }
.has-drop.open > button svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: .4rem; display: none;
}
.has-drop.open .drop { display: block; }
.drop a { display: block; padding: .6rem .7rem; border-radius: 8px; font-size: .9rem; color: var(--ink-soft); font-weight: 550; }
.drop a:hover { background: var(--brand-tint); color: var(--brand-700); }

/* Mobile nav */
.nav__toggle { display: none; background: none; border: 1.5px solid var(--line-2); border-radius: 10px; width: 44px; height: 40px; align-items: center; justify-content: center; color: var(--ink); }
.nav__toggle svg { width: 22px; height: 22px; }
@media (max-width: 1040px) {
  .nav__links, .nav__cta .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
}
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55; background: var(--paper);
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  overflow-y: auto; padding: 1.4rem var(--gutter) 3rem; border-top: 1px solid var(--line);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { display: block; padding: .95rem .4rem; font-size: 1.15rem; font-family: var(--serif); color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu a:hover { color: var(--brand); }
.mobile-menu .btn { margin-top: 1.4rem; }
.mobile-menu__group { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin: 1.4rem 0 .3rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand-900); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(194,135,59,.20), transparent 55%),
    linear-gradient(180deg, rgba(8,43,40,.78) 0%, rgba(8,43,40,.92) 100%);
}
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 9vw, 104px); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #CDE0DA; max-width: 52ch; margin-bottom: 1.8rem; }
.hero__eyebrow { color: var(--gold-tint); }
.hero__eyebrow::before { background: var(--gold); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero__trust div { line-height: 1.2; }
.hero__trust b { font-family: var(--serif); font-size: 1.5rem; color: #fff; display: block; }
.hero__trust span { font-size: .82rem; color: #A9C5BD; }

/* Hero quick form card */
.quote-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.quote-card h3 { font-size: 1.4rem; margin-bottom: .2em; }
.quote-card p.tiny { font-size: .85rem; color: var(--ink-faint); margin-bottom: 1.2rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .82rem; font-weight: 650; color: var(--ink); margin-bottom: .4rem; }
.field .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .82em .9em; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,79,74,.14); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field select { 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 fill='%234C5C62' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9em center; padding-right: 2.2em; }
.choice-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; padding: .55em 1em; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: .9rem; font-weight: 550; color: var(--ink-soft); background: var(--paper); transition: .15s; }
.choice input:checked + span { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-700); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .78rem; color: var(--ink-faint); margin-top: .8rem; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 550; display: none; }
.form-status.ok { display: block; background: #E7F3EC; color: #145C40; border: 1px solid #B6DCC6; }
.form-status.err { display: block; background: #FBEAE7; color: #93341F; border: 1px solid #ECC3B9; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card__ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: .35em; }
.card p { font-size: .96rem; margin-bottom: 0; }

/* Stat cards */
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px,2.2vw,26px); text-align: left; }
.stat b { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--brand); display: block; line-height: 1; letter-spacing: -.02em; }
.stat span { font-size: .85rem; color: var(--ink-soft); display: block; margin-top: .5rem; }
.stat small { font-size: .72rem; color: var(--ink-faint); }

/* Path / audience cards */
.path { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2.4vw,24px); }
.path__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,2.6vw,30px); position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.path__card::before { content:""; position:absolute; inset:0 0 auto; height: 4px; background: var(--gold); }
.path__card h3 { margin-top: .4rem; }
.path__card .btn { margin-top: 1rem; }

/* Listing cards */
.listing { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.listing:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.listing__media { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--brand-tint), var(--paper-2)); position: relative; display: flex; align-items: center; justify-content: center; color: var(--brand); }
.listing__media svg { width: 54px; height: 54px; opacity: .5; }
.listing__tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--brand-700); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .35em .7em; border-radius: 999px; }
.listing__body { padding: 18px 20px 20px; }
.listing__price { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.listing__addr { font-size: .95rem; color: var(--ink-soft); margin: .15rem 0 .7rem; }
.listing__meta { display: flex; gap: 1rem; font-size: .85rem; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: .7rem; }
.listing__meta b { color: var(--ink); font-weight: 650; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: .9rem 1.1rem; font-size: .92rem; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--paper-2); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td b { color: var(--ink); }

/* ---------- List with checks ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F4F4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-900) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; right:-60px; top:-60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(194,135,59,.28), transparent 70%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #C9DDD7; position: relative; max-width: 56ch; }
.cta-band .btn-row { position: relative; margin-top: 1.4rem; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.3rem; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--gold-600); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 1.3rem 1.3rem; }
.faq .faq__a p { margin: 0; font-size: .98rem; }

/* ---------- Map embed ---------- */
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; min-height: 340px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: linear-gradient(135deg, var(--brand-tint), var(--paper-2)); aspect-ratio: 5/4; display: flex; align-items: center; justify-content: center; color: var(--brand); }
.split__media svg { width: 84px; height: 84px; opacity: .45; }
.split__media > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pillars / steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.steps li { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.steps li::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--serif); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 1.15rem; margin-bottom: .2em; }
.steps p { margin: 0; font-size: .96rem; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16,36,43,.1); padding: .7rem var(--gutter); display: none; gap: .6rem; align-items: center; }
.sticky-cta .btn { flex: 1; }
.sticky-cta .btn--ghost { flex: none; width: 48px; padding: 0; height: 44px; }
@media (max-width: 760px) { .sticky-cta { display: flex; } body { padding-bottom: 70px; } }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .82rem; color: var(--ink-faint); padding-top: 1.4rem; }
.crumb a { color: var(--ink-soft); }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 .4em; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--brand); color: #fff; padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; right:-80px; bottom:-100px; width: 320px; height: 320px; border-radius:50%; background: radial-gradient(circle, rgba(194,135,59,.22), transparent 70%); }
.page-hero h1 { color: #fff; max-width: 18ch; position: relative; }
.page-hero p { color: #C9DDD7; max-width: 60ch; font-size: clamp(1.02rem,1.5vw,1.18rem); position: relative; }
.page-hero .eyebrow { color: var(--gold-tint); }
.page-hero .eyebrow::before { background: var(--gold); }

/* Page hero with aerial photo background */
.page-hero--photo { background: var(--brand-900); }
.page-hero--photo::after { content: none; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,43,40,.94) 0%, rgba(8,43,40,.78) 50%, rgba(8,43,40,.5) 100%); }
.page-hero--photo .container { position: relative; z-index: 1; }
.page-hero--photo p { color: #D9E7E2; }

/* ---------- Prose (blog/guide) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { font-size: 1.05rem; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.6em 0; padding: 1rem 1.4rem; border-left: 4px solid var(--gold); background: var(--gold-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p { margin: 0; color: var(--ink); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: #BFD4CE; padding-block: clamp(44px, 6vw, 72px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px,4vw,48px); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer a { color: #BFD4CE; font-size: .94rem; display: block; padding: .3rem 0; }
.site-footer a:hover { color: var(--gold-tint); }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: #9FBAB3; font-size: .92rem; max-width: 34ch; margin-top: 1rem; }
.footer-contact { font-size: .94rem; }
.footer-contact a { display: inline; }
.disclaimer { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #8AA59E; line-height: 1.7; max-width: 90ch; }
.footer-legal { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; justify-content: space-between; font-size: .8rem; color: #8AA59E; }
.footer-legal a { display: inline; font-size: .8rem; color: #8AA59E; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-gold { color: var(--gold-600); }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(36px,6vw,64px); }
.tag-note { font-size: .78rem; color: var(--ink-faint); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; display: inline-flex; align-items: center; gap: .4em; }
.tag-note::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__trust b { font-size: 1.3rem; }
  /* Header CTA is redundant with the sticky bottom CTA on phones — free up
     room so the menu toggle never crowds the right edge. */
  .nav__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ===== Community hub components ===== */
/* Pillar tiles */
.pillar { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px,2.4vw,26px); box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; height: 100%; }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.pillar__ico svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: .25em; }
.pillar p { font-size: .94rem; margin: 0; }
.pillar__more { display: inline-block; margin-top: .8rem; font-weight: 650; font-size: .9rem; color: var(--brand); }
.pillar:hover .pillar__more { color: var(--gold-600); }

/* Events */
.evt { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.evt:last-child { border-bottom: 0; }
.evt__date { flex: none; width: 66px; text-align: center; background: var(--brand); color: #fff; border-radius: 12px; padding: .55rem .3rem; box-shadow: var(--shadow-sm); }
.evt__date b { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.evt__date span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--gold-tint); }
.evt__body h3 { font-size: 1.15rem; margin-bottom: .2em; }
.evt__body p { margin: 0; font-size: .94rem; }
.evt__meta { font-size: .82rem; color: var(--ink-faint); margin-top: .35rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.evt__meta span { display: inline-flex; align-items: center; gap: .3em; }

/* News */
.news-item { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item time { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); font-weight: 700; }
.news-item h3 { font-size: 1.25rem; margin: .25em 0; }
.news-item p { margin: 0; font-size: .98rem; }
.news-tag { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--brand); background: var(--brand-tint); padding: .25em .7em; border-radius: 999px; margin-left: .5rem; vertical-align: middle; }

/* Directory */
.dir-cat { margin-bottom: 2.2rem; }
.dir-cat > h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.25rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--line); }
.dir-cat > h3 svg { width: 22px; height: 22px; color: var(--brand); }
.dir-item h4 { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 .2em; }
.dir-item p { margin: 0; font-size: .9rem; }
.dir-item .dir-contact { font-size: .85rem; color: var(--brand); font-weight: 600; margin-top: .5rem; display: inline-block; }

/* Subscribe inline form */
.subscribe { display: flex; gap: .6rem; flex-wrap: wrap; align-items: flex-start; }
.subscribe .field { margin: 0; flex: 1; min-width: 220px; }
.subscribe .btn { white-space: nowrap; }
.subscribe-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,3vw,38px); box-shadow: var(--shadow-md); }

/* Video highlight cards (aerial b-roll) */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); margin-top: 2.6rem; }
.hl { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.hl:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hl__media { aspect-ratio: 16/9; position: relative; background: var(--brand-tint); }
.hl__media video { width: 100%; height: 100%; object-fit: cover; }
.hl__tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--brand-700); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .35em .75em; border-radius: 999px; }
.hl__body { padding: 18px 20px 20px; }
.hl__body h3 { font-size: 1.15rem; margin-bottom: .3em; }
.hl__body p { font-size: .92rem; margin: 0; }
@media (max-width: 920px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hl-grid { grid-template-columns: 1fr; } }

/* Soft real-estate note */
.softnote { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px,2.2vw,26px); font-size: .96rem; color: var(--ink-soft); }
.softnote a { font-weight: 650; }

/* a11y helper */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Brand logo (crane mark + badge) */
img.brand__mark { object-fit: contain; }
.brand__mark--badge { width: 56px; height: 56px; }

/* Illustrative lifestyle banner */
.life-banner { margin: 0 0 1.9rem; }
.life-banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); display: block; }
.life-banner figcaption { margin-top: .6rem; text-align: center; }

/* Skip-to-content link (keyboard / screen-reader accessibility) */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--brand); color: #fff; padding: .7em 1.2em; border-radius: 0 0 8px 0; font-weight: 650; text-decoration: none; }
.skip-link:focus { left: 0; outline: 3px solid var(--gold); outline-offset: -3px; }
[id="main"]:focus { outline: none; }

/* Language switcher row (translatable pages) */
.lang-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .85rem; }
.lang-row__label { color: #C9DDD7; font-weight: 600; letter-spacing: .02em; margin-right: .2rem; }
.lang-row a { display: inline-flex; align-items: center; padding: .28em .8em; border-radius: 999px; border: 1px solid rgba(246,236,216,.4); color: #F6ECD8; font-weight: 600; line-height: 1; }
.lang-row a:hover { background: rgba(246,236,216,.14); color: #fff; }
.lang-row a[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Site-wide notice bar — injected by main.js from /status.json */
.notice-bar { background: var(--gold-tint); border-bottom: 1px solid var(--line-2); font-size: .88rem; color: var(--ink); }
.notice-bar .container { display: flex; align-items: center; justify-content: center; gap: .7rem; padding-block: .55rem; text-align: center; flex-wrap: wrap; }
.notice-bar b { color: var(--gold-600); text-transform: uppercase; font-size: .7rem; letter-spacing: .1em; flex: none; }
.notice-bar a { font-weight: 650; white-space: nowrap; }
