:root {
  --navy: #1B2A4A;
  --navy-soft: #26385d;
  --gold: #A8894B;
  --gold-light: #c7ad78;
  --ivory: #F7F5F1;
  --paper: #FFFFFF;
  --ink: #17233c;
  --muted: #5f6878;
  --line: rgba(27,42,74,.16);
  --radius: 6px;
  --max-width: 1160px;
  --shadow: 0 18px 45px rgba(27,42,74,.10);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: var(--sans); font-weight: 650; letter-spacing: -.025em; line-height: 1.13; }
h1 { font-size: clamp(2.1rem,4.2vw,3.55rem); }
h2 { max-width: 850px; font-size: clamp(2rem,3.7vw,3.2rem); }
h3 { line-height: 1.3; }
p { color: var(--muted); }
a { color: inherit; }
button { font: inherit; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--gold); color: var(--navy); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.section-inner { width: min(100% - 48px,var(--max-width)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-warm { background: var(--ivory); }
.eyebrow,.hero-kicker { margin-bottom: 14px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.section-intro { max-width: 720px; margin-bottom: 44px; font-size: 1.08rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.90); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: .25s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(27,42,74,.05); }
.header-inner { width: min(100% - 48px,var(--max-width)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-family: var(--sans); font-size: 1.16rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.logo-mark { height: 32px; width: auto; }
.nav-desktop ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-desktop a,.footer-nav a { color: var(--ink); font-size: .92rem; font-weight: 550; text-decoration: none; }
.nav-desktop a:hover,.footer-nav a:hover { color: var(--gold); }
.header-actions,.lang-switch { display: flex; align-items: center; }
.header-actions { gap: 18px; }
.lang-switch { gap: 5px; color: var(--muted); font-size: .82rem; }
.lang-btn { padding: 3px; color: var(--muted); background: none; border: 0; cursor: pointer; }
.lang-btn[aria-pressed="true"] { color: var(--navy); font-weight: 800; }
.menu-toggle { display: none; width: 34px; height: 34px; padding: 6px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: .2s; }
.nav-mobile { display: none; max-height: 0; overflow: hidden; background: var(--paper); border-top: 1px solid var(--line); transition: max-height .3s ease; }
.nav-mobile.open { max-height: 420px; }
.nav-mobile ul { margin: 0; padding: 12px 24px 22px; list-style: none; }
.nav-mobile a { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 3px; font-size: .92rem; font-weight: 700; text-decoration: none; transition: transform .2s,background .2s,border .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--navy); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-small { min-height: 38px; padding: 8px 16px; font-size: .82rem; }
.btn-gold { color: white; background: var(--navy); }
.btn-gold:hover { background: var(--navy-soft); }
.btn-outline-light { color: var(--navy); border-color: var(--line); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

.hero { position: relative; overflow: hidden; padding: 116px 0 124px; color: var(--navy); background: var(--paper); }
.hero::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 78% 38%,rgba(168,137,75,.10),transparent 34%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); align-items: center; gap: 56px; }
.hero h1 { max-width: 900px; margin-bottom: 26px; color: var(--navy); }
.hero-subtitle { max-width: 720px; color: var(--muted); font-size: clamp(1.04rem,1.7vw,1.25rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-visual { display: flex; justify-content: center; opacity: .95; }
.hero-illustration { width: min(100%,560px); height: auto; }

.expertise-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }
.expertise-card { grid-column: span 2; min-height: 240px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.expertise-card:nth-child(4) { grid-column: 2 / span 2; }
.expertise-card h3 { margin: 22px 0 10px; color: var(--navy); font-size: 1.08rem; }
.expertise-card p { margin: 0; font-size: .94rem; }
.card-index,.method-index { color: var(--gold); font-family: var(--sans); font-size: 1.3rem; }

.approach-list { margin: 46px 0 64px; border-top: 1px solid var(--line); }
.approach-item { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.approach-number { color: var(--gold); font-family: var(--sans); font-size: 1.35rem; }
.approach-item h3 { margin-bottom: 7px; color: var(--navy); }
.approach-item p { max-width: 820px; margin: 0; }
.modalities { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.modality { padding: 24px; background: var(--navy); border-radius: var(--radius); }
.modality h3 { color: var(--gold-light); font-size: 1rem; }
.modality p { margin: 0; color: rgba(255,255,255,.76); font-size: .9rem; }
.modalities-summary { max-width: 840px; margin: 24px 0 0; padding-left: 18px; border-left: 3px solid var(--gold); font-weight: 600; color: var(--navy); }

.method-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: step; }
.method-step { min-height: 260px; padding: 24px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.method-step h3 { margin: 18px 0 9px; color: var(--navy); font-size: 1rem; }
.method-step p { margin: 0; font-size: .88rem; }

.about-inner { display: grid; grid-template-columns: 1.35fr .65fr; gap: 76px; align-items: start; }
.about-paragraphs { max-width: 760px; }
.about-paragraphs p { font-size: 1.02rem; }
.about-card { overflow: hidden; padding-top: 32px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo { display: block; width: 156px; height: 156px; margin: 0 auto; object-fit: cover; object-position: center 18%; border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 6px 20px rgba(27,42,74,.14); }
.about-name,.about-role,.credentials { margin-left: 28px; margin-right: 28px; }
.about-name { margin-top: 24px; margin-bottom: 2px; color: var(--navy); font-family: var(--sans); font-size: 1.3rem; font-weight: 700; }
.about-role { margin-bottom: 18px; }
.credentials { margin-bottom: 28px; padding: 18px 0 0 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.credentials li { margin-bottom: 6px; }

.cta-section { padding: 88px 0; text-align: center; color: white; background: var(--navy); }
.cta-inner { max-width: 820px; }
.cta-inner h2 { margin-inline: auto; color: white; }
.cta-inner p { margin: 0 auto 28px; color: rgba(255,255,255,.76); font-size: 1.08rem; }

.contact-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.contact-details { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.contact-details li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-label { display: block; margin-bottom: 3px; color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.typeform-shell { min-height: 580px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
#typeformMount { min-height: 540px; }
.form-note { margin: 0; padding: 14px 20px; color: var(--muted); background: rgba(168,137,75,.10); border-top: 1px solid var(--line); font-size: .8rem; }

.site-footer { padding: 54px 0; color: rgba(255,255,255,.72); background: #121d34; text-align: center; }
.footer-brand { display: flex; justify-content: center; align-items: center; gap: 9px; color: white; font-family: var(--sans); font-size: 1.1rem; }
.footer-brand img { display: block; width: auto; height: 64px; }
.footer-tagline { margin: 10px 0 22px; color: var(--gold-light); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-bottom: 22px; }
.footer-nav a { color: rgba(255,255,255,.78); }
.footer-meta,.footer-legal { margin: 6px 0; color: rgba(255,255,255,.55); font-size: .82rem; }
.footer-legal { display: flex; justify-content: center; gap: 8px; }
.footer-legal button { padding: 0; color: rgba(255,255,255,.68); background: none; border: 0; text-decoration: underline; cursor: pointer; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,18,34,.78); backdrop-filter: blur(5px); }
.modal-panel { position: relative; width: min(100%,780px); max-height: min(86vh,900px); overflow: auto; padding: 48px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal-close { position: sticky; top: 0; float: right; z-index: 2; width: 40px; height: 40px; margin: -30px -30px 0 20px; color: var(--navy); background: var(--ivory); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 1.5rem; }
.modal-panel h2 { padding-right: 42px; }
.modal-panel h3 { margin: 30px 0 8px; color: var(--navy); font-size: 1rem; }
.modal-panel p,.modal-panel li { font-size: .92rem; }
.modal-date { color: var(--gold); }

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

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .menu-toggle,.nav-mobile { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { position: absolute; right: -70px; bottom: -80px; width: 330px; opacity: .12; }
  .expertise-card { grid-column: span 3; }
  .expertise-card:nth-child(4) { grid-column: span 3; }
  .expertise-card:last-child { grid-column: 2 / span 4; }
  .modalities { grid-template-columns: repeat(2,1fr); }
  .method-steps { grid-template-columns: repeat(2,1fr); }
  .method-step:last-child { grid-column: span 2; min-height: auto; }
  .about-inner,.contact-inner { grid-template-columns: 1fr; }
  .about-card { max-width: 440px; }
}

@media (max-width: 640px) {
  .section-inner,.header-inner { width: min(100% - 34px,var(--max-width)); }
  .section { padding: 72px 0; }
  .hero { padding: 82px 0 88px; }
  .header-inner { min-height: 68px; }
  .header-actions { gap: 10px; }
  .header-actions .btn { display: none; }
  .expertise-grid,.modalities,.method-steps { grid-template-columns: 1fr; }
  .expertise-card,.expertise-card:nth-child(4),.expertise-card:last-child,.method-step:last-child { grid-column: auto; }
  .expertise-card,.method-step { min-height: 0; }
  .approach-item { grid-template-columns: 38px 1fr; gap: 14px; }
  .hero-ctas { align-items: stretch; flex-direction: column; }
  .modal-panel { padding: 34px 24px; }
  .modal-close { margin: -22px -12px 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
