:root {
  --navy: #10263B;
  --navy-light: #1B3A55;
  --teal: #2F6F62;
  --teal-light: #3F8B7A;
  --cream: #F6F4EF;
  --white: #FFFFFF;
  --slate: #5B6B76;
  --ink: #1B2530;
  --gold: #B8935A;
  --line: #DEDAD0;
  --shadow: 0 12px 32px rgba(16, 38, 59, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { color: var(--slate); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.ledger-rule {
  position: relative;
  height: 1px;
  background: var(--line);
  margin: 64px 0;
  overflow: visible;
}

.ledger-rule::before,
.ledger-rule::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: var(--gold);
}

.ledger-rule::before { left: 0; }
.ledger-rule::after { right: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  object-fit: contain;
  background: var(--navy);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover,
.main-nav a.active { color: var(--teal); }

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.header-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 22px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--line);
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .header-cta .btn-secondary { display: none; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 32px 130px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero .eyebrow { color: var(--gold); }
.hero p.lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}

.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.hero-stats {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: -1px;
  z-index: 2;
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow);
  transform: translateY(50%);
}

.hero-stats div {
  flex: 1;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.hero-stats div:last-child { border-right: none; }

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
}
.hero-stats span {
  font-size: 0.78rem;
  color: var(--slate);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 60px; }
  .hero-stats { position: static; transform: none; margin-top: 40px; flex-direction: column; }
  .hero-stats div { border-right: none; border-bottom: 1px solid var(--line); }
}

/* Sections */
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--white); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

/* Feature grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 3px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.5rem;
  margin-bottom: 22px;
}

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }

/* Service list rows */
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-index {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
}
.service-row h3 { margin-bottom: 8px; }
.service-row p { font-size: 0.94rem; max-width: 60ch; }
.service-icon {
  font-size: 1.8rem;
  color: var(--teal);
}

@media (max-width: 700px) {
  .service-row { grid-template-columns: 1fr; gap: 10px; }
}

/* Split section with image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink);
  font-size: 0.96rem;
}
.check-list li i { color: var(--teal); font-size: 1.2rem; flex-shrink: 0; }

/* CTA band */
.cta-band {
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.82); }

/* Team / values */
.value-item { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-item i { font-size: 1.6rem; color: var(--gold); flex-shrink: 0; margin-top: 4px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-detail i { font-size: 1.4rem; color: var(--teal); }
.contact-detail h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-detail p { font-size: 0.92rem; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--teal);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--slate); margin-top: 6px; }
.form-success {
  display: none;
  background: #EAF3F0;
  border: 1px solid var(--teal);
  color: var(--navy);
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-top: 18px;
}
.form-success.visible { display: flex; align-items: center; gap: 10px; }

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

/* Legal pages */
.legal-hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 60px;
}
.legal-hero h1 { color: var(--white); }
.legal-hero p { color: rgba(255,255,255,0.75); margin-top: 12px; }

.legal-body { max-width: 780px; margin: 0 auto; padding: 72px 32px; }
.legal-body h2 { margin: 42px 0 16px; font-size: 1.4rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--slate); font-size: 0.98rem; margin-bottom: 14px; }
.legal-body ul { padding-left: 20px; }
.legal-body li { list-style: disc; }
.legal-body strong { color: var(--ink); }
.legal-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 20px;
}
.legal-toc h2 { font-size: 1rem; margin: 0 0 14px; }
.legal-toc ol { padding-left: 20px; }
.legal-toc li { color: var(--teal); font-size: 0.92rem; padding: 4px 0; list-style: decimal; }
.legal-toc a { color: var(--teal); }
.legal-toc a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-logo { background: var(--teal); }
.footer-brand span {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
}
.footer-col h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.footer-bottom .socials a:hover { border-color: var(--gold); color: var(--gold); }

.disclaimer-strip {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.disclaimer-strip p {
  font-size: 0.82rem;
  text-align: center;
  color: var(--slate);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(16,38,59,0.22);
  padding: 26px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transform: translateY(140%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner i.ph-cookie { font-size: 1.8rem; color: var(--gold); flex-shrink: 0; }
.cookie-banner h3 { font-size: 1rem; margin-bottom: 6px; }
.cookie-banner p { font-size: 0.86rem; margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.84rem; }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; left: 14px; right: 14px; bottom: 14px; padding: 22px; }
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 60ch; margin-top: 16px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--gold); }

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
