/* ==========================================================================
   AM Administraties — Design System
   MindMarket-style layout (pill nav, sticker cards, big type, scroll reveal)
   Palette: Navy #0f2742 / Gold #c9a356 / Off-white #faf9f6 / Ink #1a1a1a
   ========================================================================== */

:root {
  --navy: #0f2742;
  --navy-deep: #0a1c30;
  --navy-soft: #1c3a5c;
  --gold: #c9a356;
  --gold-soft: #d9bb78;
  --paper: #faf9f6;
  --paper-warm: #f3f0e9;
  --ink: #1a1a1a;
  --ink-soft: #4a5560;
  --line: #e4e0d6;
  --line-navy: rgba(255, 255, 255, 0.14);
  --white: #ffffff;

  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  /* Radii — sticker-soft */
  --radius-nav: 50px;
  --radius-card: clamp(28px, 4vw, 50px);
  --radius-panel: clamp(32px, 5vw, 63.75px);
  --radius-small: 10px;
  --radius-button: 50px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

::selection { background: var(--gold); color: var(--navy); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }

.display {
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); line-height: 1.5; color: var(--ink-soft); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }

.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-button);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Primary action — gold pill */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* Navy pill with a small gold dot as the action affordance */
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.btn-navy:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-navy:hover::after { transform: scale(1.35); background: var(--navy); }

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

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

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav — floating white pill ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding-block: 0.9rem;
  transition: padding 0.3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.9rem;
  background: var(--paper);
}
.site-header .nav {
  background: var(--white);
  border-radius: var(--radius-nav);
  border: 1px solid var(--line);
  padding-inline: clamp(0.9rem, 2vw, 1.4rem);
  transition: border-color 0.3s ease;
}
.site-header.scrolled .nav {
  border-color: var(--gold-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
}
.brand-mark span {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 7px; left: 10px; right: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--navy); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.nav-toggle:hover { transform: scale(1.06); }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--navy);
  margin-inline: auto;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  padding-top: 110px;
  background: var(--navy);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  padding-inline: var(--gutter);
  padding-bottom: 2.5rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--sans);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-navy);
  transition: color 0.2s, padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--gold); padding-left: 0.5rem; }
.mobile-menu .btn { margin-top: 2rem; justify-content: center; font-size: 1.05rem; }

/* ---------- Hero — giant headline on off-white canvas ---------- */
.hero {
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4.5rem, 10vw, 8rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  justify-items: center;
}
.hero-copy { text-align: center; max-width: 1050px; }
.hero h1 {
  color: var(--navy);
  margin-block: 1.5rem 1.5rem;
  font-size: clamp(2.9rem, 8.5vw, 7rem);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.05em;
}
.hero h1 .accent {
  font-style: normal;
  color: var(--navy);
  background: var(--gold);
  border-radius: 0.22em;
  padding: 0 0.12em;
  display: inline-block;
}
.hero-lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 46ch;
  margin-inline: auto;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.hero-trust {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  align-items: center;
}
.hero-trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); }
.hero-trust-item svg { flex-shrink: 0; color: var(--gold); }

/* Hero card — white sticker card */
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  width: min(100%, 620px);
}
.hero-card-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-card-label::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.hero-card-row {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.hero-card-row:last-of-type { border-bottom: none; padding-bottom: 0.2rem; }
.hero-card-num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--paper-warm);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-card-row strong { display: block; font-weight: 500; font-size: 1rem; color: var(--navy); margin-bottom: 0.15rem; }
.hero-card-row span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Section headers ---------- */
.section-head { max-width: 64ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  margin-block: 1.2rem 1.2rem;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.8rem, 3vw, 2.3rem);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.service-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.service-card.featured .service-name { color: rgba(255,255,255,0.92); }
.service-card.featured .service-desc { color: rgba(255,255,255,0.68); }
.service-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-small);
  margin-bottom: 1.3rem;
}
.service-icon {
  width: 46px; height: 46px;
  margin-bottom: 1.4rem;
  color: var(--gold);
}
.service-name { font-family: var(--sans); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 0.7rem; }
.service-desc { font-size: 0.97rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Approach / value strip — navy rounded panel ---------- */
.value-strip {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-panel);
  max-width: calc(var(--maxw) + 2 * clamp(0rem, 2vw, 2rem));
  margin-inline: auto;
  width: calc(100% - 2 * clamp(0.8rem, 3vw, 2.5rem));
}
.value-strip .eyebrow { color: var(--gold); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.value-item { position: relative; padding-top: 2rem; }
.value-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 5px;
  border-radius: 5px;
  background: var(--gold);
}
.value-num {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.value-item h3 { font-size: 1.45rem; letter-spacing: -0.02em; color: var(--white); margin-bottom: 0.8rem; }
.value-item p { color: rgba(255,255,255,0.72); font-size: 0.97rem; line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonials { background: transparent; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.4rem;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.testi-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.testi-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.15em; margin-bottom: 1.3rem; }
.testi-quote {
  font-family: var(--sans);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 400;
  flex-grow: 1;
  position: relative;
}
.testi-author {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-author-name { font-weight: 500; font-size: 0.98rem; color: var(--navy); }
.testi-author-role { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- CTA band — navy rounded panel ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-panel);
  max-width: calc(var(--maxw) + 2 * clamp(0rem, 2vw, 2rem));
  margin-inline: auto;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  width: calc(100% - 2 * clamp(0.8rem, 3vw, 2.5rem));
}
.cta-band h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.cta-band h2 .accent {
  font-style: normal;
  color: var(--navy);
  background: var(--gold);
  border-radius: 0.25em;
  padding: 0 0.15em;
  display: inline-block;
}
.cta-band p { color: rgba(255,255,255,0.75); font-size: 1.12rem; max-width: 50ch; margin: 0 auto 2.5rem; }

/* ---------- Footer — deep navy band ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-navy);
}
.footer-brand .brand-mark { background: var(--white); }
.footer-brand .brand-mark span { color: var(--navy); }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: rgba(255,255,255,0.5); }
.footer-tagline { margin-top: 1.3rem; max-width: 32ch; font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.3rem; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a, .footer-col li { font-size: 0.95rem; color: rgba(255,255,255,0.7); transition: color 0.25s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact-item svg { flex-shrink: 0; color: var(--gold); opacity: 0.8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .kvk-group { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom .kvk { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-bottom .kvk .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.footer-socials { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.4rem; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.footer-socials svg { width: 17px; height: 17px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 2; max-width: 900px; }
.page-hero h1 {
  color: var(--navy);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-block: 1.3rem 1.3rem;
}
.page-hero p { color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 52ch; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--navy); }

/* ---------- Detailed service list (services page) ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.svc-detail:last-child { border-bottom: none; }
.svc-detail-num {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--line);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.svc-detail-body { max-width: 60ch; }
.svc-detail-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; color: var(--navy); margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.svc-detail-body .svc-mini-tag { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 0.25rem 0.6rem; border-radius: var(--radius-small); }
.svc-detail-body p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }
.svc-detail-body .svc-points { list-style: none; margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; }
.svc-detail-body .svc-points li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.98rem; color: var(--ink); }
.svc-detail-body .svc-points svg { flex-shrink: 0; color: var(--gold); margin-top: 3px; }

/* ---------- About page ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-portrait {
  background: var(--navy);
  border-radius: var(--radius-panel);
  aspect-ratio: 4/5;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.about-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(201,163,86,0.15), transparent 60%);
}
.about-portrait-mark {
  font-family: var(--sans);
  font-size: clamp(4rem, 10vw, 7rem);
  color: rgba(255,255,255,0.08);
  font-weight: 600;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 2;
}
.about-portrait-label {
  position: absolute;
  bottom: 2rem; left: 2rem; right: 2rem;
  z-index: 3;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-navy);
}
.about-portrait-label strong { display: block; color: var(--white); font-family: var(--sans); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.2rem; }
.about-portrait-label span { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.05em; }
.about-body p { margin-bottom: 1.3rem; font-size: 1.1rem; line-height: 1.7; color: var(--ink); }
.about-body p:first-child { font-family: var(--sans); font-size: clamp(1.4rem, 2.5vw, 1.7rem); letter-spacing: -0.02em; color: var(--navy); line-height: 1.35; }
.about-body strong { color: var(--navy); font-weight: 600; }

.credentials { background: transparent; }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.cred-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: clamp(1.6rem, 3vw, 2rem); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.cred-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.cred-card .cred-icon { color: var(--gold); margin-bottom: 1.2rem; }
.cred-card h3 { font-size: 1.2rem; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 0.5rem; }
.cred-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- PGB page specifics ---------- */
.pgb-explainer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.pgb-steps { counter-reset: step; display: flex; flex-direction: column; gap: 1.3rem; }
.pgb-step {
  display: flex;
  gap: 1.3rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.8rem;
  transition: all 0.35s var(--ease);
}
.pgb-step:hover { border-color: var(--gold); transform: translateX(4px); }
.pgb-step-num {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 600;
}
.pgb-step h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; color: var(--navy); margin-bottom: 0.3rem; }
.pgb-step p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }

.pgb-reassure {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-panel);
  padding: clamp(2rem, 4vw, 3rem);
}
.pgb-reassure h3 { color: var(--white); font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.pgb-reassure ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.pgb-reassure li { display: flex; align-items: flex-start; gap: 0.8rem; color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.5; }
.pgb-reassure svg { flex-shrink: 0; color: var(--gold); margin-top: 3px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 2rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  transition: all 0.35s var(--ease);
}
.contact-method:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-method-icon {
  width: 48px; height: 48px;
  background: var(--paper-warm);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  flex-shrink: 0;
}
.contact-method-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.2rem; }
.contact-method-value { font-weight: 500; color: var(--navy); font-size: 1.05rem; }

.booking-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-panel);
  padding: clamp(2rem, 4vw, 2.8rem);
}
.booking-panel .eyebrow { color: var(--gold); }
.booking-panel h3 { color: var(--white); font-size: 1.8rem; letter-spacing: -0.02em; margin-block: 1rem 1rem; }
.booking-panel p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1rem; line-height: 1.6; }
.booking-features { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2rem; }
.booking-features li { display: flex; align-items: center; gap: 0.7rem; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.booking-features svg { flex-shrink: 0; color: var(--gold); }
.booking-panel .btn { width: 100%; justify-content: center; }

/* ==========================================================================
   Scroll animations
   ========================================================================== */

/* Base reveal: soft rise + fade */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* Variants */
.reveal-scale {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-scale.in { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Auto-stagger inside grids: JS assigns --stagger-i per child */
.reveal[style*="--stagger-i"] { transition-delay: calc(var(--stagger-i) * 0.09s); }

/* Hero entrance — plays on load without extra markup */
.hero-copy > * {
  animation: hero-rise 0.9s var(--ease) both;
}
.hero-copy > .eyebrow      { animation-delay: 0.05s; }
.hero-copy > h1            { animation-delay: 0.15s; }
.hero-copy > .hero-lead    { animation-delay: 0.3s; }
.hero-copy > .hero-actions { animation-delay: 0.42s; }
.hero-copy > .hero-trust   { animation-delay: 0.54s; }
.hero-card {
  animation: hero-rise 0.9s var(--ease) 0.6s both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: none; }
}

/* Gentle pop on the hero accent highlight */
.hero h1 .accent { animation: accent-pop 0.7s var(--ease) 0.55s both; }
@keyframes accent-pop {
  0%   { transform: scale(0.8) rotate(-2deg); opacity: 0; }
  60%  { transform: scale(1.05) rotate(1deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* ---------- Book reveal — hero-to-services transition ----------
   Base rules below are the resting/mobile state: a static navy panel with
   the book already in its 3/4 pose, revealed via the existing .reveal /
   .reveal-scale fade-in. main.js opts wide, motion-safe viewports into
   .is-scrubbed, which pins the panel and drives the book's rotation from
   scroll progress instead. */
.book-reveal { padding-block: clamp(3rem, 6vw, 4.5rem); }

.book-reveal-panel {
  background: var(--navy);
  border-radius: var(--radius-panel);
  max-width: calc(var(--maxw) + 2 * clamp(0rem, 2vw, 2rem));
  margin-inline: auto;
  width: calc(100% - 2 * clamp(0.8rem, 3vw, 2.5rem));
  padding: clamp(2.75rem, 7vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
}

.book-reveal-object {
  width: clamp(140px, 18vw, 200px);
  height: clamp(180px, 24vw, 260px);
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(18deg) rotateY(28deg) scale(1);
  will-change: transform;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45));
}
.book-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, var(--navy-soft), var(--navy-deep));
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(201,163,86,0.35) inset;
}
.book-mark {
  position: absolute;
  left: 22px;
  top: 20px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.book-rule {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 50%;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}
.book-spine {
  position: absolute;
  left: -14px;
  top: 0;
  width: 14px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  transform: rotateY(-90deg);
  transform-origin: right center;
  border-radius: 4px 0 0 4px;
}
.book-pages {
  position: absolute;
  right: -9px;
  top: 4px;
  width: 9px;
  height: calc(100% - 8px);
  background: repeating-linear-gradient(180deg, var(--paper-warm) 0px, var(--paper-warm) 2px, var(--line) 2px, var(--line) 3px);
  transform: rotateY(90deg);
  transform-origin: left center;
  border-radius: 0 3px 3px 0;
}

.book-reveal-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
}
.book-reveal-step { display: flex; align-items: baseline; gap: 0.5rem; }
.book-reveal-num {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.book-reveal-dot { color: var(--gold); }
.book-reveal-label { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; color: var(--white); }

/* ---------- Book reveal — scroll-scrubbed (wide, motion-safe) ---------- */
.book-reveal.is-scrubbed { height: 300vh; padding-block: 0; }
.book-reveal.is-scrubbed .book-reveal-track { height: 100%; }
.book-reveal.is-scrubbed .book-reveal-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-reveal.is-scrubbed .book-reveal-panel {
  height: min(620px, 82vh);
  justify-content: center;
}
.book-reveal.is-scrubbed .book-reveal-object { transform: none; }
.book-reveal.is-scrubbed .book-reveal-steps {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: block;
}
.book-reveal.is-scrubbed .book-reveal-step {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 260px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.book-reveal.is-scrubbed .book-reveal-step.is-active { opacity: 1; }
.book-reveal.is-scrubbed .book-reveal-step[data-step="1"] { left: clamp(1.5rem, 4vw, 3rem); text-align: left; }
.book-reveal.is-scrubbed .book-reveal-step[data-step="2"] { right: clamp(1.5rem, 4vw, 3rem); text-align: right; justify-content: flex-end; }
.book-reveal.is-scrubbed .book-reveal-step[data-step="3"] { left: clamp(1.5rem, 4vw, 3rem); text-align: left; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
  .hero-copy > *, .hero-card, .hero h1 .accent { animation: none !important; opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 540px; }
  .about-intro, .pgb-explainer, .contact-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 420px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav { height: 60px; }
  .svc-detail { grid-template-columns: 1fr; gap: 0.5rem; }
  .svc-detail-num { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .value-strip, .cta-band { width: calc(100% - 1.2rem); border-radius: 32px; }
}

@media (max-width: 480px) {
  .brand-sub { display: none; }
  .hero-actions .btn, .cta-band .btn { width: 100%; justify-content: center; }
}
