/* ==========================================================================
   DATUM — site stylesheet
   A drawing-office system: hairlines instead of cards, square corners, a
   numbered left rail, one grotesk for structure and one for reading. Cyan is
   a graphic element only; it never carries text on a light ground.
   ========================================================================== */

:root {
  /* --- brand ------------------------------------------------------- */
  --navy:        #1B2C56;   /* 13.4:1 on white — all interactive text      */
  --navy-deep:   #12203F;   /* body ink                                    */
  --navy-soft:   #2B3657;
  --cyan:        #00AED2;   /* 2.6:1 on white — RULES AND FILLS ONLY       */
  --cyan-deep:   #00738D;   /* 5.5:1 on white, 5.0:1 on --paper-cool */
  --ink:         #12203F;
  --ink-muted:   #5A6883;   /* 5.4:1 on white                              */
  --paper:       #FFFFFF;
  --paper-cool:  #F4F6F9;
  --paper-line:  #EDF1F6;
  --rule:        #D9E0EA;
  --rule-strong: #B7C2D2;
  --state-error: #A21B1B;
  --state-success: #14612F;

  /* aliases the injected related-projects block reads */
  --brand-primary: var(--navy);
  --brand-secondary: var(--cyan);
  --dark-primary: var(--navy);
  --light-primary: var(--paper-cool);
  --light-secondary: var(--paper);
  --radius: 0px;

  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-headline: var(--font-display);

  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 68px;
  --rail: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0125rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover, a:focus-visible { color: var(--navy-deep); text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cyan-deep); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding-left: 1.15rem; }
li { margin-bottom: .4rem; }
strong, b { font-weight: 600; color: var(--navy-deep); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.017em;
  color: var(--navy-deep);
}
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.05rem); margin-bottom: .9rem; }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.35rem); margin: 2rem 0 .7rem; }
h4 { font-size: 1.06rem; margin: 1.5rem 0 .5rem; }
p { margin-bottom: 1.05rem; max-width: 74ch; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- shell ---------- */
.container { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.container.prose { max-width: 940px; }

/* ==========================================================================
   NAVIGATION — a single hairline, no shadow, no blur
   ========================================================================== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.nav-container {
  max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--nav-h); display: flex; align-items: center; gap: 1.25rem;
}
.nav-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-logo-img { width: 34px; height: 34px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-developer {
  font-family: var(--font-display); font-size: .66rem; font-weight: 500;
  letter-spacing: .19em; text-transform: uppercase; color: var(--ink-muted);
}
.brand-project { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy-deep); }
.nav-menu { display: flex; align-items: center; gap: 1.15rem; list-style: none; padding: 0; margin: 0; }
.nav-menu li { margin: 0; }
.nav-menu a {
  font-family: var(--font-display); font-size: .8rem; font-weight: 500;
  letter-spacing: .01em; color: var(--navy-soft); text-decoration: none;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav-menu a:hover, .nav-menu a:focus-visible { color: var(--navy-deep); border-bottom-color: var(--cyan); }
.nav-menu a.is-active, .nav-menu a[aria-current="page"] { color: var(--navy-deep); border-bottom-color: var(--cyan); }
.btn-nav-cta {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  background: var(--navy); color: #fff !important; padding: .6rem 1.15rem;
  text-decoration: none; border: 1px solid var(--navy); border-bottom-color: var(--navy) !important;
}
.btn-nav-cta:hover, .btn-nav-cta:focus-visible { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff !important; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--rule); background: var(--paper); cursor: pointer; }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
  display: block; width: 18px; height: 1.5px; background: var(--navy-deep); margin: 0 auto; position: relative;
}
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ''; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

/* ==========================================================================
   HERO — split: type on the left, the art holding the right edge
   ========================================================================== */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; width: 45%; height: 100%; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(27,44,86,0.55) 22%, rgba(27,44,86,0.12) 60%, rgba(27,44,86,0) 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-content { max-width: 54%; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero h1 { color: #fff; margin-bottom: .9rem; }
.hero h1 .accent { color: var(--cyan); }
.hero-badge {
  display: inline-block; font-family: var(--font-display); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
  border-left: 3px solid var(--cyan); padding: .1rem 0 .1rem .7rem; margin-bottom: 1.4rem;
}
.hero .page-updated { color: rgba(255,255,255,0.72); font-size: .82rem; margin-bottom: 1.1rem; }
.hero .page-updated time { font-weight: 500; }
.hero-lede { color: rgba(255,255,255,0.93); font-size: 1.08rem; max-width: 56ch; }
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: 2.25rem 0 0; border-top: 1px solid rgba(255,255,255,0.22);
}
.hero-stat { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.16); min-width: 0; }
.stat-value {
  display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: #fff; line-height: 1.15; overflow-wrap: anywhere;
}
.stat-label {
  display: block; font-family: var(--font-display); font-size: .66rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,0.66); margin-top: .3rem;
}
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ==========================================================================
   BUTTONS — square, one hairline
   ========================================================================== */
.btn {
  display: inline-block; font-family: var(--font-display); font-size: .88rem; font-weight: 600;
  padding: .8rem 1.5rem; border: 1px solid transparent; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--cyan); color: var(--navy-deep); border-color: var(--cyan); }
.btn-primary:hover, .btn-primary:focus-visible { background: #23C4E6; border-color: #23C4E6; color: var(--navy-deep); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover, .btn-outline:focus-visible { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn-secondary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--navy-deep); color: #fff; }
/* light contexts: the outline button must be ink, never white-on-white */
.section .btn-outline, .prose .btn-outline, .page-hero .btn-outline {
  color: var(--navy); border-color: var(--rule-strong); background: transparent;
}
.section .btn-outline:hover, .section .btn-outline:focus-visible,
.prose .btn-outline:hover, .prose .btn-outline:focus-visible,
.page-hero .btn-outline:hover, .page-hero .btn-outline:focus-visible {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.btn-nav-cta.is-plain { }
.cta-row .btn-nav-cta {
  background: transparent; color: var(--navy) !important; border: 1px solid var(--rule-strong);
  padding: .6rem 1.1rem;
}
.cta-row .btn-nav-cta:hover, .cta-row .btn-nav-cta:focus-visible {
  background: var(--navy); border-color: var(--navy); color: #fff !important;
}

/* ==========================================================================
   SECTIONS — a numbered rail, a rule, no centring
   ========================================================================== */
.section { padding: clamp(3.25rem, 6vw, 5rem) 0; border-top: 1px solid var(--rule); }
.section:first-of-type { border-top: 0; }
.section-alt { background: var(--paper-cool); }
.section-intro { padding-bottom: 0; border-top: 0; }
.section-header { margin-bottom: 2rem; position: relative; padding-left: var(--rail); }
.section-index {
  position: absolute; left: 0; top: .15rem;
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  color: var(--cyan-deep); letter-spacing: .04em;
}
.section-index::after { content: ''; display: block; width: 34px; height: 3px; background: var(--cyan); margin-top: .55rem; }
.section-label {
  display: block; font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .55rem;
}
.section-header h2 { max-width: 26ch; }
.section-desc { color: var(--ink-muted); max-width: 70ch; margin-top: .9rem; }
.section .container > h3:first-child, .section .container > h2:first-child { margin-top: 0; }
.lede-block p { font-size: 1.09rem; }

/* ==========================================================================
   LEDGER — the stat block, as ruled rows rather than cards
   ========================================================================== */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 2rem; border-top: 1px solid var(--rule-strong); }
.stat-card { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.stat-number {
  display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  color: var(--navy-deep); line-height: 1.1; overflow-wrap: anywhere;
}
.stat-text {
  display: block; font-family: var(--font-display); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-top: .35rem;
}

/* ---------- two column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.two-col-image img { width: 100%; }

/* ---------- media ---------- */
.section-media, .media-figure { margin: 0 0 1.9rem; }
.section-media img, .media-figure img { width: 100%; border: 1px solid var(--rule); }
.section-media figcaption, .media-figure figcaption, .gallery-item figcaption {
  margin-top: .65rem; font-family: var(--font-display); font-size: .78rem;
  letter-spacing: .02em; color: var(--ink-muted);
}

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.pricing-card { background: var(--paper); padding: 1.6rem 1.4rem; min-width: 0; }
.pricing-card-header { border-bottom: 2px solid var(--cyan); padding-bottom: .85rem; margin-bottom: 1rem; }
.pricing-card-header h3 { margin: 0 0 .35rem; font-size: 1.12rem; }
.price-range { font-family: var(--font-display); font-size: .92rem; font-weight: 600; color: var(--cyan-deep); }
.pricing-detail { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--paper-line); }
.pricing-detail:last-child { border-bottom: 0; }
.detail-label { font-size: .84rem; color: var(--ink-muted); }
.detail-value { font-family: var(--font-display); font-size: .86rem; font-weight: 600; color: var(--navy-deep); text-align: right; }

/* ---------- plans / gallery / amenities / location ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.plan-card { border: 1px solid var(--rule); background: var(--paper); }
.plan-card-image img { width: 100%; border-bottom: 1px solid var(--rule); }
.plan-card-info { padding: 1.1rem 1.2rem; }
.plan-card-info h3 { margin: 0 0 .45rem; font-size: 1.02rem; }
.plan-card-info p { font-size: .9rem; color: var(--ink-muted); margin: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.gallery-item img { width: 100%; border: 1px solid var(--rule); }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 2rem; border-top: 1px solid var(--rule-strong); }
.amenity-item { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 0; border-bottom: 1px solid var(--rule); font-size: .93rem; }
.amenity-icon { color: var(--cyan); font-size: .6rem; line-height: 1.9; }

.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 1.75rem; }
.location-card { background: var(--paper); padding: 1.4rem 1.3rem; }
.location-card h3 { margin: 0 0 .7rem; font-size: 1rem; }
.location-card ul { list-style: none; padding: 0; margin: 0; }
.location-card li { font-size: .9rem; color: var(--ink-muted); padding: .4rem 0 .4rem .9rem; position: relative; }
.location-card li::before { content: ''; position: absolute; left: 0; top: .95rem; width: 5px; height: 5px; background: var(--cyan); }

/* ---------- info box / verify ---------- */
.info-box { border-left: 3px solid var(--cyan); background: var(--paper-cool); padding: 1.25rem 1.4rem; margin: 1.75rem 0; }
.section-alt .info-box { background: var(--paper); }
.verify-box { border: 1px solid var(--rule-strong); border-top: 3px solid var(--cyan); padding: 1.9rem 1.6rem; max-width: 940px; }
.verify-box h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.verify-list { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.verify-list li { padding: .6rem 0; border-top: 1px solid var(--rule); font-size: .92rem; }
.verify-list li:first-child { border-top: 0; }
.section-verify { padding-top: 0; border-top: 0; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th {
  background: var(--navy); color: #fff; text-align: left; padding: .8rem .9rem;
  font-family: var(--font-display); font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.data-table td { padding: .75rem .9rem; border-top: 1px solid var(--rule); vertical-align: top; }
.data-table tbody tr:nth-child(even) { background: var(--paper-cool); }
.section-alt .data-table tbody tr:nth-child(even) { background: var(--paper-line); }
.section-alt .table-wrap { background: var(--paper); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-question {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy-deep);
}
.faq-question::after {
  content: '+'; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  font-size: 1.35rem; font-weight: 400; color: var(--cyan-deep); line-height: 1;
}
.faq-item.is-active .faq-question::after, details.faq-item[open] > summary::after { content: '\2013'; }
.faq-question:hover, .faq-question:focus-visible { color: var(--navy); }
.faq-answer { padding: 0 0 1.3rem; max-width: 82ch; }
details.faq-item > summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy-deep);
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: '+'; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  font-size: 1.35rem; font-weight: 400; color: var(--cyan-deep); line-height: 1;
}
details.faq-item .faq-answer { padding: 0 0 1.3rem; }
.faq-prose { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--rule-strong); }

/* ==========================================================================
   SUBPAGE HERO — light, type-led, no art
   ========================================================================== */
.page-hero {
  background: var(--paper); border-bottom: 1px solid var(--rule);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-hero-media { display: none; }
.page-hero > .container { position: relative; }
.page-hero .eyebrow {
  font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .9rem;
}
.page-hero .eyebrow::before { content: ''; display: block; width: 46px; height: 3px; background: var(--cyan); margin-bottom: .85rem; }
.page-hero h1 { max-width: 22ch; margin-bottom: .7rem; }
.page-hero .page-updated { color: var(--ink-muted); font-size: .82rem; margin-bottom: 1.2rem; }
.page-hero-lede { max-width: 74ch; }
.page-hero-lede p { color: var(--navy-soft); font-size: 1.05rem; }
.breadcrumbs { margin-top: 1.5rem; font-family: var(--font-display); font-size: .76rem; letter-spacing: .04em; color: var(--ink-muted); }
.breadcrumbs a { color: var(--navy); }
.breadcrumbs span { padding: 0 .4rem; }

.section-prose h2 { margin-top: 0; }
.article-body { max-width: 74ch; }
.section-404 { padding-top: clamp(3rem, 6vw, 5rem); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { background: var(--navy); color: #fff; border-top: 0; text-align: left; }
.cta-band h2 { color: #fff; max-width: 24ch; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 66ch; margin-bottom: 1.75rem; }
.cta-band .btn-primary { background: var(--cyan); color: var(--navy-deep); border-color: var(--cyan); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-form-panel { border: 1px solid var(--rule-strong); border-top: 3px solid var(--cyan); padding: 2rem 1.75rem; }
.contact-aside { background: var(--paper-cool); border: 1px solid var(--rule); padding: 2rem 1.75rem; }
.contact-aside h2 { font-size: 1.2rem; }
.contact-form-panel h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.aside-cta { margin-top: 1.3rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.05rem; }
.form-group label {
  display: block; font-family: var(--font-display); font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .4rem;
}
.form-group input, .form-group textarea {
  width: 100%; padding: .75rem .85rem; border: 1px solid var(--rule-strong); background: var(--paper);
  color: var(--ink); font-size: 1rem;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #6E7A90; }
.form-group input:focus-visible, .form-group textarea:focus-visible { border-color: var(--cyan-deep); }
.req { color: var(--state-error); }
.field-error { display: block; min-height: .95rem; font-size: .8rem; color: var(--state-error); margin-top: .25rem; }
.form-submit {
  border: 1px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; padding: .85rem 1.6rem;
}
.form-submit:hover, .form-submit:focus-visible { background: var(--navy-deep); border-color: var(--navy-deep); }
.form-status { margin-top: 1rem; font-size: .92rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.82); padding: clamp(3rem, 5vw, 4rem) 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
/* The brand mark is a fully opaque square, so brightness(0)+invert(1) erases
   it to a white block. Give it a plate instead and let it keep its colours. */
.footer-brand img {
  width: 44px; height: 44px; object-fit: contain;
  box-sizing: content-box; padding: 5px;
  background: #fff; border-radius: 0;
  margin-bottom: 1rem;
}
.footer-brand p { color: rgba(255,255,255,0.72); font-size: .87rem; max-width: 46ch; }
.footer-heading {
  font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: .9rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,0.84); text-decoration: none; font-size: .89rem; }
.footer-col a:hover, .footer-col a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.18); }
.footer-disclaimer { color: rgba(255,255,255,0.62); font-size: .78rem; line-height: 1.6; max-width: none; }
.footer-copyright { margin-top: 1rem; color: rgba(255,255,255,0.62); font-size: .78rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: .5rem var(--gutter) 1.25rem;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: .8rem 0; border-bottom: 1px solid var(--paper-line); }
  .nav-menu a:hover { border-bottom-color: var(--paper-line); }
  .btn-nav-cta { text-align: center; margin-top: .75rem; }
  .hero-media { width: 38%; }
  .hero-content { max-width: 60%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header { padding-left: 0; }
  .section-index { position: static; margin-bottom: .6rem; }
  .section-index::after { margin-top: .4rem; }
}
@media (max-width: 780px) {
  .hero-media { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .hero-media::after { background: linear-gradient(180deg, rgba(27,44,86,0) 45%, rgba(27,44,86,0.85) 100%); }
  .hero-content { max-width: none; padding-top: clamp(2rem, 5vw, 3rem); }
  .two-col { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
}
@media (max-width: 420px) {
  .hero-stats, .stat-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
/* Contact modal (injected by js/script.js) */
.cm-modal {
    /* Re-assert the UA's dialog centering: universal `* { margin: 0 }` resets
       (sattva/purva families and others) strip it, pinning the dialog top-left. */
    margin: auto;
    width: min(100%, 28rem);
    padding: 1rem;
    border: 0;
    background: transparent;
    overscroll-behavior: contain;
    --cm-accent: var(--color-accent-accessible, #8a6b2f);
    --cm-ink: #ffffff;
}

/* Browsers without <dialog> ignore [open] and would render the form inline. */
.cm-modal:not([open]) {
    display: none;
}

/* Literal scrim: ::backdrop cannot reliably see page custom properties. */
.cm-modal::backdrop {
    background: rgba(15, 23, 42, 0.6);
}

.cm-modal__panel {
    position: relative;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: #ffffff;
    color: #1f2937;
    font-family: inherit;
    box-shadow: 0 20px 25px rgba(15, 23, 42, 0.15);
}

.cm-modal__title {
    margin: 0 0 1.25rem;
    padding-right: 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
}

.cm-modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    color: #475569;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.cm-modal__close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.cm-modal__close:focus-visible {
    outline: 2px solid var(--cm-accent);
    outline-offset: 2px;
}

.cm-form {
    display: grid;
    gap: 1rem;
}

.cm-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
}

.cm-form__field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
}

/* Form controls don't inherit fonts — font: inherit closes the gap. */
.cm-form input,
.cm-form textarea {
    width: 100%;
    min-width: 0;
    font: inherit;
    color: #1f2937;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
}

.cm-form input:focus-visible,
.cm-form textarea:focus-visible {
    outline: 2px solid var(--cm-accent);
    outline-offset: 1px;
}

.cm-form textarea {
    min-height: 5.5rem;
    resize: vertical;
}

.cm-form__submit {
    border: 0;
    border-radius: 6px;
    background: var(--cm-accent);
    color: var(--cm-ink);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.cm-form__submit:hover {
    opacity: 0.92;
}

.cm-form__submit:focus-visible {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}

.cm-form__hint {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #64748b;
}

.cm-form__hint a {
    color: inherit;
    text-decoration: underline;
}

/* Class-based, so it cannot fight any inline body.style.overflow use. */
body.has-modal-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .cm-modal[open] {
        animation: cm-modal-in 160ms ease-out;
    }

    .cm-modal[open]::backdrop {
        animation: cm-modal-backdrop-in 160ms ease-out;
    }
}

@keyframes cm-modal-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
}

@keyframes cm-modal-backdrop-in {
    from {
        opacity: 0;
    }
}


/* Long unbreakable runs (registration numbers, hyphen-free village names, a
   brand written with a pipe) push a horizontal scrollbar at 375px otherwise. */
body { overflow-wrap: break-word; }
code, .data-table td, .data-table th { overflow-wrap: anywhere; }
