
:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-soft: #f4eee6;
  --text: #181818;
  --muted: #625d56;
  --line: rgba(24, 24, 24, 0.1);
  --line-strong: rgba(24, 24, 24, 0.18);
  --accent: #b38749;
  --accent-soft: #efe4d4;
  --accent-deep: #26211d;
  --shadow: 0 22px 60px rgba(18, 18, 18, 0.07);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shell: min(1040px, calc(100vw - 48px));
  --narrow-shell: min(820px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at top right, rgba(179, 135, 73, 0.08), transparent 24rem), linear-gradient(180deg, #fbfaf8 0%, var(--bg) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.shell { width: var(--shell); margin: 0 auto; }
.narrow-shell { width: var(--narrow-shell); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 9999; padding: 12px 16px; border-radius: 999px;
  color: #fff; background: var(--accent-deep); text-decoration: none; transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(251, 250, 248, 0.86);
  border-bottom: 1px solid rgba(24, 24, 24, 0.06);
}
.nav-wrap {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: min(170px, 38vw); height: auto; }
.main-nav { display: inline-flex; align-items: center; gap: 8px; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 550;
  transition: background-color .2s ease, color .2s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); background: rgba(24,24,24,.05); outline: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.78); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 999px; }

.hero { padding: 54px 0 36px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 34px; align-items: center;
}
.eyebrow {
  margin: 0 0 14px; color: var(--accent); font-size: .76rem; font-weight: 760; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase;
}
h1,h2,h3,p,blockquote,dl { margin-top: 0; }
h1 {
  max-width: 760px; margin-bottom: 18px; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.05em; font-weight: 720;
}
h2 {
  margin-bottom: 16px; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 690;
}
h3 {
  margin-bottom: 10px; font-size: 1.18rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 650;
}
.hero-lead, .section-intro, .rich-copy p, .contact-card, .legal-card p, .legal-card li, .tab-panel p, .leadership-copy p {
  color: var(--muted); font-size: 1rem;
}
.hero-lead { max-width: 700px; margin-bottom: 24px; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px;
  border-radius: 999px; text-decoration: none; font-size: .98rem; font-weight: 630;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); outline: none; }
.button-primary { color: #fff; background: var(--accent-deep); box-shadow: 0 14px 36px rgba(38, 33, 29, .14); }
.button-primary:hover, .button-primary:focus-visible { box-shadow: 0 18px 42px rgba(38, 33, 29, .18); }
.button-ghost { border: 1px solid var(--line-strong); background: rgba(255,255,255,.82); }
.hero-aside { display: grid; gap: 14px; }
.card-soft {
  border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(244,238,230,.96)); box-shadow: var(--shadow);
}
.hero-logo-card {
  min-height: 320px; display: grid; place-items: center; padding: 30px;
}
.hero-logo { width: min(100%, 440px); filter: drop-shadow(0 18px 26px rgba(0,0,0,.05)); }
.hero-badges, .leadership-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero-badges span, .leadership-tags span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(179,135,73,.22); background: rgba(255,255,255,.8); color: var(--accent-deep); font-size: .9rem; font-weight: 600;
}

.section { padding: 56px 0; }
.company-grid {
  display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start;
}
.rich-copy p:last-child, .legal-card p:last-child { margin-bottom: 0; }
.stat-grid {
  margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.stat-card {
  padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,255,255,.82); box-shadow: 0 12px 30px rgba(18,18,18,.04);
}
.stat-card strong { display: block; margin-bottom: 6px; color: var(--accent-deep); font-size: 1.18rem; font-weight: 700; }
.stat-card span { color: var(--muted); font-size: .95rem; }

.section-head { max-width: 720px; margin-bottom: 28px; }
.narrow-head { max-width: 650px; }
.section-intro { max-width: 640px; margin-bottom: 0; }
.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.service-card {
  min-height: 232px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.84); box-shadow: 0 14px 34px rgba(18,18,18,.04); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(18,18,18,.06); border-color: rgba(179,135,73,.24); }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .98rem; }
.card-number {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; margin-bottom: 18px; border-radius: 999px; background: var(--surface-soft); color: var(--accent-deep); font-weight: 720; font-size: .88rem;
}
.focus-switcher {
  margin-top: 26px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.84); box-shadow: var(--shadow);
}
.tab-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.tab-button {
  appearance: none; border: 1px solid var(--line); background: rgba(247,245,241,.95); color: var(--muted);
  min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: all .2s ease;
}
.tab-button:hover, .tab-button.is-active { color: var(--accent-deep); border-color: rgba(179,135,73,.28); background: var(--accent-soft); }
.tab-panel h3 { margin-bottom: 8px; }
.tab-panel p { margin-bottom: 0; }

.leadership-grid {
  display: grid; grid-template-columns: minmax(280px, 320px) minmax(0, 1fr); gap: 34px; align-items: center;
}
.portrait-card {
  overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); background: #ece9e4; box-shadow: var(--shadow);
}
.portrait-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.leadership-role {
  margin: -4px 0 14px; color: var(--accent); font-size: .96rem; font-weight: 650;
}

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 32px; align-items: start;
}
.contact-card {
  padding: 26px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: rgba(255,255,255,.88); box-shadow: var(--shadow);
}
.contact-card dl { margin-bottom: 0; }
.contact-card dl > div {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.contact-card dl > div:first-child { padding-top: 0; }
.contact-card dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-card dt { color: var(--text); font-weight: 700; }
.contact-card dd { margin: 0; }
.contact-card a, .legal-card a, .footer-links a, .footer-note a, .privacy-popover a {
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}

.site-footer {
  padding: 42px 0 26px; border-top: 1px solid var(--line); background: rgba(255,255,255,.42);
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 24px;
}
.footer-brand { margin-bottom: 14px; }
.site-footer p { max-width: 430px; margin-bottom: 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); }
.footer-note {
  display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem;
}

.legal-page { min-height: 100vh; }
.legal-nav { display: inline-flex; }
.legal-main { padding-bottom: 56px; }
.legal-hero { padding: 56px 0 22px; }
.legal-hero h1 { margin-bottom: 8px; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.legal-updated { color: var(--muted); margin-bottom: 0; }
.legal-content { padding-top: 10px; }
.legal-card {
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.9); box-shadow: var(--shadow);
}
.legal-card h2 { margin-top: 28px; margin-bottom: 12px; font-size: 1.34rem; line-height: 1.2; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card ul { margin-top: 0; padding-left: 22px; }
.legal-card li + li { margin-top: 6px; }
.legal-footer { padding-top: 20px; }
.footer-note-single { align-items: center; }

.privacy-orb {
  position: fixed; right: 18px; bottom: 18px; z-index: 120; display: grid; justify-items: end; gap: 10px;
}
.privacy-fab {
  appearance: none; border: 1px solid rgba(179,135,73,.22); background: rgba(255,255,255,.94); color: var(--accent-deep); border-radius: 999px; min-height: 46px; padding: 0 16px 0 12px; display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 650; box-shadow: 0 12px 28px rgba(18,18,18,.08); cursor: pointer;
}
.privacy-pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent); position: relative; display: inline-block;
}
.privacy-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(179,135,73,.55); animation: pulse 1.9s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 80% { transform: scale(2.7); opacity: 0; } 100% { opacity: 0; } }
.privacy-popover {
  width: min(260px, calc(100vw - 30px)); padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: var(--shadow);
}
.privacy-popover p { margin: 0 0 8px; color: var(--muted); font-size: .92rem; }
.privacy-popover a { color: var(--accent-deep); font-weight: 650; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .08s; }

@media (max-width: 980px) {
  .hero-grid, .company-grid, .leadership-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-grid, .stat-grid { grid-template-columns: 1fr; }
  .hero-logo-card { min-height: 260px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100vw - 32px, 1040px); --narrow-shell: min(100vw - 32px, 820px); }
  .nav-wrap { min-height: 66px; position: relative; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: none; padding: 12px; flex-direction: column; align-items: stretch;
    border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { justify-content: center; }
  .legal-nav { position: static; display: inline-flex; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; flex-direction: row; gap: 6px; }
  .legal-nav a { padding: 0 10px; }
  .hero { padding-top: 42px; }
  .section { padding: 46px 0; }
  .contact-card dl > div { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid, .footer-note { flex-direction: column; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.15rem, 10vw, 2.9rem); }
  h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero-actions, .button { width: 100%; }
  .brand-logo { width: min(150px, 44vw); }
  .hero-logo-card { min-height: 210px; }
  .legal-card, .contact-card, .focus-switcher { padding: 20px; }
}
