/* ============================================================
   Axios CPA & Advisory Group — styles.css
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #FAFAF7;
  --bg-alt: #F3F2EC;
  --ink: #1A1A1A;
  --ink-2: #2B2B2B;
  --muted: #6B6B6B;
  --rule: #E5E5E2;
  --rule-strong: #D9D8D2;

  --teal: #50B4C8;
  --teal-deep: #2E7A8C;
  --teal-ink: #1F5866;
  --lime: #50B43C;
  --emerald: #28A050;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

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

  --shadow-sm: 0 1px 2px rgba(20,20,20,.04), 0 1px 1px rgba(20,20,20,.03);
  --shadow-md: 0 6px 24px -8px rgba(20,30,40,.10), 0 2px 6px rgba(20,30,40,.04);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -0.03em; font-weight: 600; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; }
h4 { font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; }
p { margin: 0 0 1em; max-width: 65ch; text-wrap: pretty; text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--lime);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--rule);
}
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #F4F4EF; border-top-color: transparent; }
.section--dark { padding-block: clamp(56px, 6vw, 88px); }
.section--dark:has(+ .footer) { padding-bottom: clamp(32px, 4vw, 56px); }
.section--dark h2, .section--dark h3 { color: #F4F4EF; }
.section--dark .eyebrow { color: var(--teal); }
.section--dark .eyebrow::before { background: var(--lime); }
.section--dark p { color: #C9C9C2; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex; align-items: center; justify-content: flex-start;
  height: 104px; gap: 32px;
}
.nav__logo { display: flex; align-items: center; gap: 14px; flex: 0 1 auto; min-width: 0; margin-right: auto; }
.nav__logo img { display: block; width: auto; max-width: 100%; height: 56px; }
.nav__logo-mark { height: 64px; }
.nav__logo-name { height: 34px; }
.nav__links { display: flex; align-items: center; gap: 20px; }
.nav__links a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-2);
  padding: 8px 0; position: relative;
  transition: color .15s ease;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--lime);
}
.nav__cta {
  font-size: 0.6rem; font-weight: 600; padding: 8px 16px; white-space: nowrap;
  background: #50B4C8;
  border: 1px solid #50B4C8; border-radius: 999px;
  color: #FFFFFF;
  transition: background .15s ease, color .15s ease;
}
.nav__cta:hover { background: #2E7A8C; border-color: #2E7A8C; color: #FFFFFF; }

.nav__lang {
  font-size: 0.68rem; font-weight: 600; padding: 7px 12px;
  border: 1px solid var(--rule); border-radius: 999px;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
  margin-left: 4px; display: inline-block;
  transition: border-color .15s ease, color .15s ease, background .15s ease, transform .15s ease;
}
.nav__lang:hover {
  border-color: var(--teal-deep); color: var(--teal-deep);
  background: rgba(80,180,200,0.04);
  transform: scale(1.05);
}
.nav__lang::after { display: none !important; }

.nav__toggle {
  display: none; background: none; border: 0; padding: 8px;
  color: var(--ink);
}
.nav__toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(56px, 7vw, 112px) clamp(32px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
}
.hero__h1 > span {
  line-height: 1.25;
}
.hero__h1 {
  max-width: 28ch;
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero__h1 em {
  font-style: normal;
  color: var(--teal-deep);
  position: relative; display: inline-block;
}
.hero__h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em;
  height: 4px; background: var(--lime); opacity: .55;
}
.hero__sub {
  max-width: none; font-size: 1.05rem; line-height: 1.5;
  text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto;
  color: var(--ink-2); margin-top: 22px;
}
.hero__sub p { max-width: none; }
.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  align-items: center; margin-top: 36px;
}
.hero__meta {
  align-self: end;
  text-align: right;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-left: 1px solid var(--rule);
  padding-left: 28px;
  display: grid; gap: 10px;
}
.hero__meta strong { color: var(--ink); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.hero__globe {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(560px, 50vw); opacity: 0.06; pointer-events: none;
}

/* Trust strip */
.trust {
  border-block: 1px solid var(--rule);
  padding-block: 22px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.trust__row {
  display: flex; flex-wrap: wrap;
  gap: 12px 40px;
  justify-content: center;
}
.trust__row span { display: inline-flex; align-items: center; gap: 12px; }
.trust__row span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
}
.trust__row span:first-child::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 0.98rem; font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--teal-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--teal { background: var(--teal-deep); color: #fff; }
.btn--teal:hover { background: var(--teal-ink); }
.btn svg { width: 14px; height: 14px; }

/* ---------- Section header ---------- */
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 80px); align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head__title h2 { max-width: 14ch; }
.section-head__intro p { font-size: 1.1rem; line-height: 1.55; }

/* ---------- Services grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.service {
  background: var(--bg);
  padding: 40px 36px 36px;
  display: flex; flex-direction: column;
  min-height: 280px;
  position: relative;
  transition: background .2s ease;
}
.service:hover { background: #fff; }
.service__num {
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  margin-bottom: 18px;
}
.service__title {
  font-size: 1.35rem; letter-spacing: -0.015em;
  line-height: 1.2; margin-bottom: 14px;
}
.service__desc {
  color: var(--muted); font-size: 0.98rem; line-height: 1.55;
  margin: 0 0 28px;
}
.service__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}
.service__link::after {
  content: "→"; transition: transform .2s ease; color: var(--teal-deep);
}
.service:hover .service__link::after { transform: translateX(4px); }

/* ---------- Specialty block ---------- */
.specialty {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.specialty__card {
  border-top: 1px solid var(--rule-strong);
  padding-top: 28px;
}
.specialty__card h3 { margin-bottom: 14px; max-width: 18ch; }
.specialty__card p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.specialty__tag {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-deep); font-weight: 500; margin-bottom: 12px; display: block;
}

/* ---------- Peer review badge ---------- */
.peer-badge {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 14px 20px 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--bg);
  margin-top: 8px;
  text-decoration: none;
}
.peer-badge__seal {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--teal-deep);
  display: grid; place-items: center;
  color: var(--teal-deep);
  flex-shrink: 0;
}
.peer-badge__seal svg { width: 22px; height: 22px; }
.peer-badge__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; }
.peer-badge__title { font-weight: 600; font-size: 0.95rem; color: var(--ink); letter-spacing: -0.005em; }
.peer-badge__sub { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- About preview ---------- */
.about-preview {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 110px); align-items: start;
}
.about-preview__quote {
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 500;
  text-wrap: balance;
  text-align: left;
  hyphens: manual;
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
}
.about-preview__quote::before {
  content: none;
}
.about-preview__body p { color: var(--ink-2); text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }
.about-bio p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }
.about-preview__signature {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem; color: var(--muted);
}
.about-preview__signature strong { color: var(--ink); display: block; font-size: 1rem; }

/* ---------- CTA section ---------- */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 14ch; }
.invest-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); max-width: 22ch; line-height: 1.15; }
.cta-band__details {
  display: grid; gap: 18px;
  font-size: 0.95rem;
}
.cta-band__details dt { color: var(--teal); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.cta-band__details dd { margin: 0; color: #F4F4EF; }
.cta-band__details a:hover { color: var(--teal); }

/* ---------- Services page ---------- */
.svc-hero {
  padding-block: clamp(80px, 10vw, 130px) clamp(40px, 5vw, 60px);
}
.svc-hero h1 { max-width: 18ch; }
.svc-hero .lead { margin-top: 28px; }

.svc-anchor-nav {
  position: sticky; top: 104px; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-block: 1px solid var(--rule);
  margin-bottom: 0;
}
.svc-anchor-nav__inner {
  display: flex; gap: 8px 28px; flex-wrap: wrap;
  padding-block: 16px;
  font-size: 0.88rem; font-weight: 500;
}
.svc-anchor-nav a { color: var(--muted); padding: 4px 0; }
.svc-anchor-nav a:hover { color: var(--ink); }

/* Collapsible toggle button — hidden on desktop, shown on mobile */
.svc-anchor-nav__toggle {
  display: none;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 14px 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.svc-anchor-nav__chevron {
  width: 18px; height: 18px;
  transition: transform .2s ease;
  color: var(--muted);
  flex-shrink: 0;
}
.svc-anchor-nav.is-open .svc-anchor-nav__chevron { transform: rotate(180deg); }

/* Mobile: collapsible accordion pattern */
@media (max-width: 640px) {
  .svc-anchor-nav { top: 76px; }
  .svc-anchor-nav__toggle { display: flex; }
  .svc-anchor-nav__inner {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 0 12px;
    font-size: 0.95rem;
  }
  .svc-anchor-nav.is-open .svc-anchor-nav__inner { display: flex; }
  .svc-anchor-nav__inner a {
    padding: 12px 0;
    border-top: 1px solid var(--rule);
    color: var(--ink);
  }
  .svc-anchor-nav__inner a:first-child { border-top: 1px solid var(--rule); }
}

/* Smooth scroll for anchor jumps + offset so sticky nav doesn't cover section titles */
html { scroll-behavior: smooth; }
.svc, #other { scroll-margin-top: 130px; }

.svc {
  padding-block: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--rule);
}
.svc__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.svc__num {
  font-family: var(--f-display);
  font-size: 0.85rem; letter-spacing: 0.16em; color: var(--teal-deep);
  font-variant-numeric: tabular-nums; font-weight: 500;
  margin-bottom: 20px;
}
.svc__title { font-size: clamp(1.85rem, 3.2vw, 2.55rem); margin-bottom: 22px; max-width: 16ch; }
.svc__intro { color: var(--ink-2); font-size: 1.08rem; text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }
.svc-hero .lead { text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }
.svc__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
}
.svc__list li {
  padding: 0;
  border: 0;
  display: block;
}
.svc__list dt {
  position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
  letter-spacing: -0.005em;
  padding-bottom: 14px; margin-bottom: 14px;
}
.svc__list dt::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 1.5px; background: var(--lime);
}
.svc__list dd { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; }

/* ---------- About page ---------- */
.about-hero h1 { max-width: 18ch; }
.about-hero h1.hero__h1 { max-width: 28ch; }
.about-bio {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 7vw, 110px);
}
.about-bio aside {
  border-top: 1px solid var(--rule-strong);
  padding-top: 24px;
}
.about-bio aside h4 { color: var(--teal-deep); margin-bottom: 16px; }
.about-bio aside dl { display: grid; gap: 18px; margin: 0; }
.about-bio aside dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.about-bio aside dd { margin: 4px 0 0; font-size: 0.98rem; color: var(--ink); }
.about-bio .bio-body p { color: var(--ink-2); font-size: 1.05rem; }
.about-bio .bio-body h3 { margin: 36px 0 14px; scroll-margin-top: 120px; }

/* Sidebar TOC jump-links (legal pages) */
.about-bio aside dd a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.about-bio aside dd a:hover,
.about-bio aside dd a:focus-visible {
  color: var(--teal-deep);
  border-bottom-color: var(--teal-deep);
}

.philosophy {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.philosophy article {
  border-top: 1px solid var(--rule-strong); padding-top: 24px;
}
.philosophy article h3 { margin-bottom: 12px; }
.philosophy article p { color: var(--muted); font-size: 0.98rem; text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }

/* ---------- Other services (services.html) ---------- */
.other-svcs-section .section-head { margin-bottom: 56px; }
.other-svcs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.other-svcs__card {
  background: var(--bg);
  padding: 44px 36px 40px;
  display: flex; flex-direction: column;
  position: relative;
}
.other-svcs__icon {
  width: 56px; height: 56px;
  color: var(--teal-deep);
  margin-bottom: 28px;
}
.other-svcs__icon svg { width: 100%; height: 100%; }
.other-svcs__num {
  position: absolute; top: 28px; right: 36px;
  font-family: var(--f-display);
  font-size: 0.78rem; letter-spacing: 0.16em;
  color: var(--teal-deep); font-weight: 500;
}
.other-svcs__card h3 { font-size: 1.45rem; margin: 0 0 12px; letter-spacing: -0.015em; }
.other-svcs__card > p { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 22px; }
.other-svcs__card ul {
  list-style: none; padding: 0; margin: auto 0 0;
  border-top: 1px solid var(--rule); padding-top: 18px;
  display: grid; gap: 8px;
  font-size: 0.93rem; color: var(--ink-2);
}
.other-svcs__card li { position: relative; padding-left: 16px; }
.other-svcs__card li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 1.5px; background: var(--lime);
}

/* ---------- About: talent + technology ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  gap: 0;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}
.pillars article {
  background: var(--bg);
  padding: 48px 44px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 0;
}
.pillars__tag {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-deep); font-weight: 500; margin-bottom: 16px; display: block;
}
.pillars article h3 {
  font-size: 1.55rem; letter-spacing: -0.015em;
  margin-bottom: 16px; max-width: 22ch;
}
.pillars article p { color: var(--ink-2); font-size: 1rem; text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }
.pillars__list {
  list-style: none; padding: 0; margin: 32px 0 0;
  border-top: 1px solid var(--rule); padding-top: 22px;
  display: grid; gap: 14px;
  align-self: stretch;
}
.pillars article > p:last-of-type { margin-bottom: 0; }
.pillars__list li {
  display: grid; grid-template-columns: minmax(120px, 28%) 1fr;
  gap: 16px;
  font-size: 0.93rem;
  align-items: baseline;
}
.pillars__list dt, .pillars__list strong {
  font-weight: 600; color: var(--ink);
  font-size: 0.86rem; letter-spacing: 0.04em;
}
.pillars__list span { color: var(--ink-2); line-height: 1.55; }

@media (max-width: 900px) {
  .other-svcs, .pillars { grid-template-columns: 1fr; }
  .pillars__list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Contact page ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.contact__intro h1 { max-width: 14ch; margin-bottom: 24px; }
.contact__intro .lead { margin-bottom: 36px; }
.contact__info {
  display: grid; gap: 24px; margin-top: 32px;
  padding-top: 36px; border-top: 1px solid var(--rule-strong);
}
.contact__info dt {
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-deep); font-weight: 500; margin-bottom: 6px;
}
.contact__info dd { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.45; }
.contact__info a:hover { color: var(--teal-deep); }

/* form */
.form {
  background: #fff;
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 48px);
  display: grid; gap: 20px;
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; gap: 8px; }
.form__row label {
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.form__row input,
.form__row select,
.form__row textarea {
  font: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--teal-deep);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(80,180,200,.15);
}
.form__row textarea { min-height: 140px; resize: vertical; }
.form__honey { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 8px; justify-self: start; }
.form__note { font-size: 0.84rem; color: var(--muted); margin: 0; }
.form__success {
  background: #EAF7EF; border: 1px solid var(--emerald);
  padding: 16px 20px; color: var(--ink); font-size: 0.95rem;
  display: none;
}
.form.is-submitted .form__success { display: block; }

/* map */
.map {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  background: var(--bg-alt);
  overflow: hidden;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.section--dark + .footer { padding-top: 0; }
.section--dark + .footer .footer__top { border-top: 1px solid rgba(255,255,255,.1); padding-top: clamp(40px, 5vw, 64px); }
.footer {
  background: var(--ink); color: #C9C9C2;
  padding-block: clamp(56px, 7vw, 88px) 40px;
  font-size: 0.92rem;
}
.footer a { color: #F4F4EF; }
.footer a:hover { color: var(--teal); }
.footer__top {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 48px 0 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__logo { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer__logo img { width: auto; display: block; max-width: 100%; }
.footer__mark { height: 88px; }
.footer__name { height: 56px; filter: brightness(0) invert(1); }
.footer__tag { color: #C9C9C2; max-width: 60ch; font-size: 0.95rem; line-height: 1.55; margin: 22px auto 0; }
.footer__col h5 {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); font-weight: 500; margin: 0 0 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__bottom {
  padding-top: 28px;
  display: flex; flex-wrap: wrap; gap: 16px 36px; justify-content: space-between;
  font-size: 0.82rem; color: #8E8E88;
}
.footer__bottom a { color: #C9C9C2; }
.footer__bottom .legal { display: flex; gap: 28px; flex-wrap: wrap; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -10000px; top: 8px;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: 4px;
  z-index: 100;
}
.skip-link:focus { left: 12px; }

/* ---------- Accessibility: focus styles & reduced motion ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.nav__cta:focus-visible { outline-color: var(--ink); }
.section--dark a:focus-visible,
.footer a:focus-visible { outline-color: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav__logo img.nav__logo-mark { height: 52px; }
  .nav__logo img.nav__logo-name { height: 30px; }
  .nav__links { gap: 16px; }
  .nav__cta { padding: 7px 14px; font-size: 0.58rem; }
  .nav__lang { padding: 6px 10px; font-size: 0.65rem; }
}

@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specialty, .philosophy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; padding-left: 24px; }
  .nav__logo { gap: 10px; }
  .nav__logo img.nav__logo-mark { height: 40px; }
  .nav__logo img.nav__logo-name { height: 24px; }
  .nav.is-open .nav__links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 12px var(--gutter) 24px;
  }
  .nav.is-open .nav__links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav.is-open .nav__links a:last-child { border-bottom: 0; }
  /* Keep pill buttons compact in mobile menu (not full-width) */
  .nav.is-open .nav__links .nav__cta,
  .nav.is-open .nav__links .nav__lang {
    width: auto;
    align-self: flex-start;
    border-bottom: 0;
    margin-top: 12px;
    padding: 8px 18px;
    font-size: 0.72rem;
  }
  .nav.is-open .nav__links .nav__lang {
    margin-top: 8px;
    padding: 7px 14px;
    font-size: 0.7rem;
  }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__meta { text-align: left; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
  .section-head { grid-template-columns: 1fr; }
  .about-preview, .cta-band, .svc__grid, .about-bio, .contact { grid-template-columns: 1fr; }
  .svc__list { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .services, .specialty, .philosophy { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer__brand { padding: 36px 0 8px; }
  .footer__mark { height: 64px; }
  .footer__name { height: 38px; }
  .trust__row { gap: 10px 24px; font-size: 0.78rem; }
  .trust__row span::before { width: 4px; height: 4px; }
}

@media (max-width: 420px) {
  .hero__cta-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .svc-anchor-nav, .form { display: none; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; border: 0; }
}
