/* A & R Trading · Harbour Light preview styles
   Tokens map 1:1 to Blocksy global colours in Step 06. */
:root {
  --navy: #0B1F3A;
  --navy-2: #13294B;
  --navy-3: #071629;
  --ivory: #F6F3EC;
  --white: #FFFFFF;
  --gold: #C9A24A;
  --gold-soft: #D8B566;
  --ink: #0B1F3A;
  --ink-muted: #4A5670;
  --on-dark-muted: #C3CBDA;
  --line-light: #DDD8CC;
  --line-dark: rgba(255, 255, 255, .14);
  --radius: 3px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px;
  font: 600 15px/1 var(--font-body); letter-spacing: .02em;
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-gold:focus-visible { outline-color: var(--white); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 15px/1 var(--font-body); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid var(--gold);
  background: none; border-top: 0; border-left: 0; border-right: 0; color: inherit; cursor: pointer;
}
.text-link .arrow { transition: transform .25s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font: 600 12px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-light .kicker { color: #8A6A22; } /* darker gold for text on light surfaces (5.0:1 on ivory) */

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -.005em; }
.facts strong, .card .num, .hero-foot a span, .division-list .num { font-variant-numeric: lining-nums; }
h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }

/* ---------- Glass header ---------- */
.site-header {
  position: fixed; z-index: 50;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 1240px;
}
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 68px; padding: 0 12px 0 24px;
  background: rgba(11, 31, 58, .55);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  color: var(--white);
  transition: background-color .35s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bar { background: rgba(11, 31, 58, .94); }
}
.site-header.is-scrolled .bar { background: rgba(11, 31, 58, .88); }

.brand {
  font: 600 22px/1 var(--font-display); letter-spacing: .08em;
  text-decoration: none; white-space: nowrap; color: var(--white);
}
.brand .amp { color: var(--gold); }
.brand img { display: block; height: 40px; width: auto; }
.site-footer .brand img { height: 48px; }
@media (max-width: 960px) { .bar .brand img { height: 34px; } }

.nav { display: flex; align-items: center; gap: 8px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px;
  font: 600 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.nav-link:hover { color: var(--gold-soft); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav .btn { min-height: 46px; padding: 0 20px; margin-left: 8px; font-size: 14px; }

/* Submenu: opaque surface so contrast never depends on the photo.
   Rest: white on #0B1F3A (16.1:1) · hover/focus: white on #13294B (13.4:1) · current: gold on #0B1F3A (7.4:1) */
.submenu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 280px; padding: 8px;
  background: var(--navy); border: 1px solid var(--line-dark); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(3, 10, 22, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.has-sub.is-open .submenu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.submenu ul { display: block; }
.submenu a {
  display: block; padding: 12px 14px 12px 16px;
  font: 500 15px/1.3 var(--font-body); color: var(--white); text-decoration: none;
  border-left: 2px solid transparent; border-radius: 2px;
}
.submenu a small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--on-dark-muted); }
.submenu a:hover, .submenu a:focus-visible { background: var(--navy-2); border-left-color: var(--gold); }
.submenu a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.submenu a[aria-current="true"] { color: var(--gold); }

.menu-toggle {
  display: none;
  align-items: center; gap: 10px; min-height: 46px; padding: 0 14px;
  background: none; border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--white); font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5px; }
.menu-toggle .bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header { top: 10px; width: calc(100% - 20px); }
  .bar { flex-wrap: wrap; padding: 0 10px 0 18px; gap: 0; }
  .brand { font-size: 20px; padding: 22px 0; }
  .menu-toggle { display: inline-flex; }
  .nav {
    flex-basis: 100%;
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
  }
  .nav.is-open { grid-template-rows: 1fr; }
  .nav-inner { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s linear .4s; }
  .nav.is-open .nav-inner { visibility: visible; transition: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 8px; border-top: 1px solid var(--line-dark); }
  .nav-link { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 6px; font-size: 14px; }
  .submenu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 6px 6px; display: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .has-sub.is-open .submenu { display: block; }
  .nav .btn { width: 100%; margin: 6px 0 14px; }
  .bar:has(.nav.is-open) { background: rgba(11, 31, 58, .97); }
}
@media (min-width: 961px) { .nav-inner { display: flex; align-items: center; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--navy); color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: hero-settle 2.6s var(--ease) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 22, 41, .82) 0%, rgba(7, 22, 41, .55) 32%, rgba(7, 22, 41, 0) 62%),
    linear-gradient(0deg, rgba(7, 22, 41, .7) 0%, rgba(7, 22, 41, 0) 38%);
}
.hero-content { padding-top: 140px; padding-bottom: clamp(96px, 15vh, 150px); width: 100%; }
.hero-copy { max-width: 590px; }
.hero h1 {
  font-size: clamp(42px, 4.8vw, 76px); line-height: 1.03;
  margin: 0 0 22px;
}
.hero h1 em { font-style: italic; color: #F1E6C9; }
.hero .lede { margin: 0 0 34px; max-width: 470px; font-size: clamp(16px, 1.3vw, 18.5px); color: #DCE2EC; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero-actions .text-link { color: var(--white); }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line-dark);
  background: rgba(7, 22, 41, .35);
}
.hero-foot ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-foot li + li { border-left: 1px solid var(--line-dark); }
.hero-foot a {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 20px;
  font: 600 13px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--white);
  transition: background-color .25s var(--ease);
}
.hero-foot li:first-child a { padding-left: 0; }
.hero-foot a span { font: 500 20px/1 var(--font-display); color: var(--gold); letter-spacing: 0; }
.hero-foot a:hover { background: rgba(255, 255, 255, .06); }

/* entrance */
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .25s; }
.hero-copy > *:nth-child(2) { animation-delay: .4s; }
.hero-copy > *:nth-child(3) { animation-delay: .55s; }
.hero-copy > *:nth-child(4) { animation-delay: .7s; }
@keyframes rise { from { opacity: .15; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: scale(1); } }

@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero-media img { object-position: 70% 50%; }
  .hero::before {
    background: linear-gradient(0deg, rgba(7, 22, 41, .94) 0%, rgba(7, 22, 41, .7) 45%, rgba(7, 22, 41, .1) 75%);
  }
  .hero-content { padding-bottom: 40px; }
  .hero-foot { position: static; background: var(--navy-3); }
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero-foot ul { grid-template-columns: 1fr; padding: 0; }
  .hero-foot li + li { border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-foot a, .hero-foot li:first-child a { padding: 0 var(--gutter); min-height: 56px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Dialog panels ---------- */
dialog.panel {
  width: min(560px, 100%); max-width: 100%; height: 100%; max-height: 100%;
  margin: 0 0 0 auto; padding: 0; border: 0;
  background: var(--white); color: var(--ink);
}
dialog.panel::backdrop { background: rgba(7, 22, 41, .6); }
dialog.panel[open] { animation: slide-in .45s var(--ease) both; }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.panel-inner { padding: 32px clamp(20px, 5vw, 44px) 40px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.panel h2 { font-size: clamp(30px, 3vw, 40px); }
.panel-close {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line-light); border-radius: var(--radius); cursor: pointer; color: var(--ink); font-size: 22px; line-height: 1;
}
.panel-close:hover { border-color: var(--navy); }
.panel-close:focus-visible { outline-color: var(--navy); }
.panel p.intro { color: var(--ink-muted); margin: 8px 0 26px; }
.preview-note {
  font-size: 13.5px; color: var(--ink-muted); background: var(--ivory);
  border-left: 2px solid var(--gold); padding: 10px 14px; margin: 0 0 22px;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font: 600 13px/1.3 var(--font-body); letter-spacing: .03em; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 16px/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid #C9CFDA; border-radius: var(--radius);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions .btn-gold:focus-visible { outline-color: var(--navy); }
.form-success { display: none; padding: 22px; border: 1px solid var(--gold); background: var(--ivory); border-radius: var(--radius); }
.form-success h3 { margin-bottom: 6px; }
form.is-sent .form-body { display: none; }
form.is-sent .form-success { display: block; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.division-list { list-style: none; margin: 0; padding: 0; }
.division-list li { padding: 20px 0; border-top: 1px solid var(--line-light); }
.division-list li:last-child { border-bottom: 1px solid var(--line-light); }
.division-list .num { font: 500 22px/1 var(--font-display); color: #8A6A22; margin-right: 10px; }
.division-list h3 { display: inline; font-size: 26px; }
.division-list p { margin: 8px 0 12px; color: var(--ink-muted); font-size: 15.5px; }

/* ---------- Homepage sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.bg-ivory { background: var(--ivory); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-white { background: var(--white); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head p:not(.kicker) { margin: 0; color: var(--ink-muted); max-width: 52ch; }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 7fr 5fr; align-items: end; gap: 48px; }
}

/* Photo slots (placeholder shown until the image file exists) */
.media { position: relative; margin: 0; overflow: hidden; background: var(--navy-2); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.media.is-missing img { display: none; }
.media.is-missing::after {
  content: "Photo · " attr(data-placeholder);
  position: absolute; inset: 12px; display: grid; place-items: center; padding: 16px; text-align: center;
  border: 1px solid rgba(201, 162, 74, .45);
  font: 600 11.5px/1.5 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted);
}

/* About intro */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; } }
.about-media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
@media (max-width: 899px) { .about-media { aspect-ratio: 4 / 3; } }
.about-grid .body h2 { margin-bottom: 28px; }
.about-grid .body p { margin: 0 0 18px; color: var(--ink-muted); }
.about-grid .body p.lead { font-size: 19px; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--line-light); }
.facts div { padding: 22px 16px 0 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line-light); }
.facts strong { display: block; font: 500 clamp(30px, 3vw, 40px)/1 var(--font-display); color: var(--navy); margin-bottom: 8px; }
.facts span { font-size: 13.5px; color: var(--ink-muted); line-height: 1.4; display: block; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); padding-bottom: 18px; } .facts div { padding-bottom: 18px; } }

/* Divisions */
.cards { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 32px 32px;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before { content: ""; position: absolute; top: -1px; left: 32px; width: 48px; height: 2px; background: var(--gold); transition: width .45s var(--ease); }
.card:hover { transform: translateY(-4px); border-color: #CDBF9C; box-shadow: 0 22px 44px rgba(11, 31, 58, .08); }
.card:hover::before { width: calc(100% - 64px); }
.card .media { aspect-ratio: 4 / 3; margin: -36px -32px 28px; border-radius: var(--radius) var(--radius) 0 0; }
.card:hover .media img { transform: scale(1.04); }
#import .media img { object-position: 78% 50%; } /* keep the car at the loading bay in frame */
.about-media img { object-position: 50% 60%; }
.card::before { z-index: 1; }
.card .num { font: 500 40px/1 var(--font-display); color: #8A6A22; margin-bottom: 14px; }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0 0 20px; color: var(--ink-muted); font-size: 16px; }
.card ul { list-style: none; margin: 0 0 30px; padding: 0; }
.card li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid #EEEAE0; font-size: 15.5px; }
.card li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--gold); }
.card .text-link { margin-top: auto; align-self: flex-start; color: var(--navy); }
.card .brand-note { font-size: 13.5px; color: var(--ink-muted); margin: -8px 0 22px; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 34px 28px 10px 0; border-top: 1px solid var(--line-light); }
.steps li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--gold);
}
.steps .step-no { font: 600 12px/1 var(--font-body); letter-spacing: .2em; color: #8A6A22; text-transform: uppercase; display: block; margin-bottom: 14px; }
.steps h3 { font-size: 26px; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--ink-muted); font-size: 15.5px; }
@media (max-width: 899px) { .steps li { padding: 28px 0 28px 28px; border-top: 0; border-left: 1px solid var(--line-light); } .steps li::before { left: -5px; top: 34px; } }
/* Process on navy */
.bg-navy .steps li { border-color: var(--line-dark); }
.bg-navy .steps li::before { background: var(--navy); border-color: var(--gold); }
.bg-navy .steps .step-no { color: var(--gold); }
.bg-navy .steps h3, .bg-navy h2 { color: var(--white); }
.bg-navy .steps p { color: var(--on-dark-muted); }

/* Audiences */
.audience-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .audience-grid { grid-template-columns: 5fr 7fr; gap: 80px; } .audience-grid .sticky { position: sticky; top: 130px; align-self: start; } }
.audience-grid .sticky p:not(.kicker) { color: var(--ink-muted); margin: 18px 0 0; max-width: 40ch; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line-light); }
.rows li:last-child { border-bottom: 1px solid var(--line-light); }
.rows h3 { font-size: 26px; }
.rows p { grid-column: 1 / 2; margin: 0; color: var(--ink-muted); font-size: 15.5px; }
.rows .text-link { grid-row: 1 / span 2; grid-column: 2; color: var(--navy); white-space: nowrap; }
@media (max-width: 600px) { .rows li { grid-template-columns: 1fr; } .rows .text-link { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 8px; } }

/* Partnership */
.partner { position: relative; overflow: hidden; }
.partner .meridians { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.partner-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 900px) { .partner-grid { grid-template-columns: 6fr 6fr; gap: 72px; } }
.partner h2 { color: var(--white); }
.partner p:not(.kicker) { color: var(--on-dark-muted); max-width: 52ch; margin: 22px 0 0; }
.partner .btn { margin-top: 34px; }
.partner-diagram { width: 100%; height: auto; }
.partner-diagram .node-label { font: 500 21px var(--font-display); fill: var(--white); }
.partner-diagram .node-sub { font: 600 10.5px var(--font-body); letter-spacing: .18em; fill: var(--gold); text-transform: uppercase; }
.partner-diagram .route { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 4 6; }

/* Closing / contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 80px; } }
.route-map { width: 100%; height: auto; margin: 30px 0 34px; }
.route-map .arc { fill: none; stroke: #B79546; stroke-width: 1.2; }
.route-map .arc.main { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600; }
.route-map.is-drawn .arc.main { animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route-map text { font: 600 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; fill: var(--navy); }
.channels { list-style: none; margin: 0; padding: 0; }
.channels li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-light); font-size: 15.5px; }
.channels li:last-child { border-bottom: 1px solid var(--line-light); }
.channels b { font-weight: 600; }
.channels .tbc { color: var(--ink-muted); font-style: italic; }
.channels a { color: var(--navy); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.channels a:hover { color: #8A6A22; }
.channels .addr { text-align: right; line-height: 1.55; }
.contact-card { background: var(--white); border: 1px solid var(--line-light); border-top: 2px solid var(--gold); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.contact-card h3 { margin-bottom: 6px; }
.contact-card > p { margin: 0 0 24px; color: var(--ink-muted); font-size: 15.5px; }

/* Footer */
.site-footer { background: var(--navy-3); color: var(--on-dark-muted); padding: 80px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 5fr 2fr 2fr 3fr; gap: 48px; } }
.site-footer .brand { display: inline-block; font-size: 26px; margin-bottom: 16px; }
.site-footer h4 { margin: 0 0 16px; font: 600 12px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }
.site-footer a { text-decoration: none; color: var(--white); }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }

/* ================= Inner pages ================= */
.submenu .group-label {
  display: block; padding: 12px 16px 4px;
  font: 600 11px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.submenu .group-label { border-top: 1px solid var(--line-dark); margin-top: 6px; padding-top: 14px; }
.submenu a[aria-current="page"] { color: var(--gold); }
.nav-link[aria-current="page"] { color: var(--gold-soft); }
.submenu a.all { font-weight: 600; }
@media (min-width: 961px) { .submenu.wide { min-width: 340px; } }

/* Short page hero (photo or flat navy) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 62vh; min-height: 62svh;
  display: flex; align-items: flex-end;
  background: var(--navy); color: var(--white);
}
.page-hero.flat { min-height: 0; padding-top: 120px; }
.page-hero .hero-media img { object-position: 50% 62%; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 22, 41, .7) 0%, rgba(7, 22, 41, .35) 50%, rgba(7, 22, 41, 0) 75%),
    linear-gradient(0deg, rgba(7, 22, 41, .9) 0%, rgba(7, 22, 41, .55) 55%, rgba(7, 22, 41, .4) 100%);
}
.page-hero:not(.flat) .kicker { color: var(--gold-soft); }
.page-hero.flat::before { background: none; }
.page-hero .meridians { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; pointer-events: none; }
.page-hero .wrap { padding-top: 130px; padding-bottom: clamp(56px, 9vh, 96px); }
.page-hero.flat .wrap { padding-top: 40px; }
.page-hero.flat h1 { max-width: 22ch; }
.page-hero h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.03; margin: 0 0 18px; max-width: 16ch; }
.page-hero .lede { margin: 0 0 30px; max-width: 560px; color: #DCE2EC; font-size: clamp(16px, 1.3vw, 18.5px); }
.page-hero .hero-actions .text-link { color: var(--white); }
.breadcrumb { margin: 0 0 22px; font: 600 12.5px/1.4 var(--font-body); letter-spacing: .08em; color: var(--on-dark-muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-soft); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.jump a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-dark); border-radius: 99px; text-decoration: none; color: var(--white);
  font: 600 13px/1 var(--font-body); letter-spacing: .06em;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.jump a span { color: var(--gold); font-family: var(--font-display); font-size: 17px; font-variant-numeric: lining-nums; }
.jump a:hover { border-color: var(--gold); background: rgba(255, 255, 255, .05); }

/* Division bands (services archive) */
.division-band { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.division-band + .division-band { margin-top: clamp(80px, 10vw, 130px); }
@media (min-width: 900px) {
  .division-band { grid-template-columns: 6fr 6fr; gap: 72px; }
  .division-band.flip .media { order: 2; }
}
.division-band .media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.division-band .num { font: 500 22px/1 var(--font-display); color: #8A6A22; display: block; margin-bottom: 10px; font-variant-numeric: lining-nums; }
.division-band h2 { margin-bottom: 14px; }
.division-band > div > p { color: var(--ink-muted); margin: 0 0 22px; max-width: 50ch; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { border-top: 1px solid var(--line-light); }
.service-list li:last-child { border-bottom: 1px solid var(--line-light); }
.service-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center;
  padding: 20px 4px; text-decoration: none; color: var(--ink);
  transition: background-color .25s var(--ease), padding .25s var(--ease);
}
.service-list a:hover { background: var(--ivory); padding-left: 14px; }
.service-list a:focus-visible { outline-offset: -2px; }
.service-list strong { font: 500 25px/1.15 var(--font-display); }
.service-list small { grid-column: 1; font-size: 15px; color: var(--ink-muted); }
.service-list .go { grid-column: 2; grid-row: 1 / span 2; font: 600 14px/1 var(--font-body); color: #8A6A22; white-space: nowrap; }
.service-list .go .arrow { display: inline-block; transition: transform .25s var(--ease); }
.service-list a:hover .go .arrow { transform: translateX(4px); }
@media (max-width: 520px) { .service-list a { grid-template-columns: 1fr; } .service-list .go { grid-column: 1; grid-row: auto; margin-top: 8px; } }

/* Why grid */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-light); }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid li { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line-light); }
.why-grid h3 { font-size: 25px; margin-bottom: 8px; }
.why-grid p { margin: 0; color: var(--ink-muted); font-size: 15.5px; }

/* Closing CTA band */
.cta-band { position: relative; overflow: hidden; text-align: left; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 7fr 5fr; gap: 60px; } }
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band p:not(.kicker) { color: var(--on-dark-muted); margin: 16px 0 0; max-width: 48ch; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-band .cta-actions a.plain { color: var(--white); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.cta-band .cta-actions a.plain:hover { color: var(--gold-soft); }
.cta-band .meridians { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; pointer-events: none; }

/* Service page: intro, offer, checklist */
.intro-split { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .intro-split { grid-template-columns: 6fr 5fr; gap: 80px; align-items: start; } }
.intro-split .body p { margin: 0 0 18px; color: var(--ink-muted); }
.intro-split .body p.lead { color: var(--ink); font-size: 19px; }

.offer { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 960px) { .offer { grid-template-columns: 5fr 6fr; gap: 72px; } .offer .media { position: sticky; top: 120px; } }
.offer .media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
@media (max-width: 959px) { .offer .media { aspect-ratio: 3 / 2; } }
.offer-head p:not(.kicker) { color: var(--ink-muted); margin: 18px 0 0; max-width: 38ch; }
@media (min-width: 960px) { .offer-head { position: sticky; top: 130px; } }
.offer-list { list-style: none; margin: 0; padding: 0; counter-reset: offer; }
.offer-list li { padding: 30px 0; border-top: 1px solid var(--line-light); }
.offer-list li:last-child { border-bottom: 1px solid var(--line-light); }
.offer-list h3 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.offer-list h3::before { counter-increment: offer; content: counter(offer, decimal-leading-zero); font: 500 18px/1 var(--font-display); color: #8A6A22; font-variant-numeric: lining-nums; }
.offer-list p { margin: 0; color: var(--ink-muted); }
.offer-list .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.offer-list .tags li { padding: 6px 12px; border: 1px solid var(--line-light); border-radius: 99px; font-size: 13.5px; color: var(--ink); background: var(--white); }
.offer-list .tags li:last-child { border-bottom: 1px solid var(--line-light); }

.checklist-wrap { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 900px) { .checklist-wrap { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.checklist-wrap > div > p:not(.kicker) { color: var(--ink-muted); margin: 18px 0 0; max-width: 42ch; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0 32px; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { position: relative; padding: 18px 0 18px 34px; border-top: 1px solid var(--line-light); font-size: 16px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 23px; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.checklist li b { display: block; font-weight: 600; }
.checklist li span { color: var(--ink-muted); font-size: 14.5px; }

.related .card .media { aspect-ratio: 16 / 10; }
.related .card:hover .media img, .offer .media img { transition: none; }

/* About: vision & mission */
.vm-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .vm-grid { grid-template-columns: 1fr 1fr; } .vm-grid article + article { border-left: 1px solid var(--line-dark); padding-left: 56px; } .vm-grid article { padding-right: 56px; } }
.vm-grid article { padding-top: 40px; padding-bottom: 8px; }
.vm-grid h3 { color: var(--gold); font: 600 12px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 20px; }
.vm-grid p { margin: 0; color: var(--white); font: 500 clamp(22px, 2.1vw, 28px)/1.4 var(--font-display); }
@media (max-width: 899px) { .vm-grid article + article { border-top: 1px solid var(--line-dark); margin-top: 40px; } }

/* Contact: quick chips, location card, radios, FAQ */
.jump a svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.location-card {
  margin-top: 34px; padding: 28px; border-radius: var(--radius);
  background: var(--navy); color: var(--white); position: relative; overflow: hidden;
}
.location-card .meridians { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.location-card .pin { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.location-card .pin svg { width: 30px; height: 30px; color: var(--gold); flex: none; margin-top: 2px; }
.location-card h3 { color: var(--white); font-size: 24px; margin-bottom: 6px; }
.location-card p { margin: 0 0 20px; color: var(--on-dark-muted); font-size: 15.5px; }
.location-card .btn { position: relative; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid #C9CFDA; border-radius: 99px; cursor: pointer; font: 500 15px/1 var(--font-body); color: var(--ink); margin: 0;
}
.choice-row input { accent-color: var(--navy); width: 16px; height: 16px; margin: 0; }
.choice-row label:has(input:checked) { border-color: var(--navy); background: var(--ivory); }
.choice-row label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { font: 600 13px/1.3 var(--font-body); letter-spacing: .03em; margin-bottom: 9px; padding: 0; color: var(--ink); }
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font: 500 clamp(21px, 1.9vw, 25px)/1.25 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; font: 400 20px/1 var(--font-body); color: #8A6A22; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq details p { margin: -6px 0 24px; color: var(--ink-muted); max-width: 64ch; }

/* Floating WhatsApp button: navy + gold to stay on-brand; white label 16:1 on navy */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 18px 0 14px;
  background: var(--navy); color: var(--white); text-decoration: none;
  border: 1px solid var(--gold); border-radius: 99px;
  font: 600 14px/1 var(--font-body); letter-spacing: .02em;
  box-shadow: 0 10px 28px rgba(3, 10, 22, .28);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.wa-float svg { width: 24px; height: 24px; color: var(--gold); }
.wa-float:hover { transform: translateY(-2px); background: var(--navy-2); }
.wa-float:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 600px) { .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
body:has(dialog[open]) .wa-float { display: none; }

/* Scroll reveal (only when JS is running; content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .route-map .arc.main { stroke-dashoffset: 0; }
}
