@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --navy-950: #0d1726;
  --navy-900: #111e31;
  --navy-800: #182a43;
  --navy-700: #253b59;
  --gold-600: #a98d58;
  --gold-500: #bca36f;
  --gold-300: #d8c79f;
  --ivory-100: #f7f5f0;
  --stone-200: #e8e4dc;
  --stone-300: #d8d4cc;
  --slate-600: #606a77;
  --ink: #17202c;
  --white: #ffffff;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow-sm: 0 12px 34px rgba(13, 23, 38, 0.08);
  --shadow-lg: 0 28px 70px rgba(13, 23, 38, 0.18);
  --radius: 4px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory-100);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.16; }
h1 { font-size: clamp(2.65rem, 5.2vw, 5.4rem); }
h2 { font-size: clamp(2.05rem, 3.7vw, 3.65rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { color: var(--slate-600); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 999;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy-900);
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 108px 0; }
.section-sm { padding: 76px 0; }
.section-dark { color: var(--white); background: var(--navy-900); }
.section-dark p { color: rgba(255,255,255,.72); }
.section-white { background: var(--white); }
.section-stone { background: var(--stone-200); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold-600);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 1px; content: ""; background: currentColor; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 18px; color: var(--navy-900); }
.section-heading p { max-width: 680px; font-size: 1.08rem; }
.section-dark .section-heading h2 { color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--gold-500);
  border-radius: 1px;
  color: var(--navy-950);
  background: var(--gold-500);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { background: var(--gold-300); border-color: var(--gold-300); transform: translateY(-2px); }
.button-outline { color: var(--white); background: transparent; border-color: rgba(255,255,255,.45); }
.button-outline:hover { color: var(--navy-950); background: var(--white); border-color: var(--white); }
.button-dark { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }
.button-dark:hover { color: var(--white); background: var(--navy-700); border-color: var(--navy-700); }
.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
}
.text-link::after { content: "→"; color: var(--gold-600); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }

.site-topbar { color: rgba(255,255,255,.74); background: #09121e; font-size: .77rem; letter-spacing: .035em; }
.topbar-inner { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-group { display: flex; align-items: center; gap: 22px; }
.topbar-group a { text-decoration: none; }
.topbar-group a:hover { color: var(--white); }
.topbar-separator { width: 1px; height: 13px; background: rgba(255,255,255,.2); }
.language-switcher { display: inline-flex; align-items: center; gap: 4px; }
.language-switcher button {
  border: 0;
  color: rgba(255,255,255,.54);
  background: transparent;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.language-switcher button:hover, .language-switcher button.is-active { color: var(--gold-300); }
.language-switcher .divider { color: rgba(255,255,255,.25); }

.site-header { position: sticky; top: 0; z-index: 90; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(17,30,49,.98); }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; flex-direction: column; color: var(--white); text-decoration: none; white-space: nowrap; }
.wordmark-name { font-family: var(--serif); font-size: clamp(.87rem, 1.4vw, 1.1rem); letter-spacing: .065em; line-height: 1.25; text-transform: uppercase; }
.wordmark-descriptor { margin-top: 5px; color: var(--gold-300); font-size: .56rem; font-weight: 700; letter-spacing: .22em; line-height: 1.3; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.desktop-nav a { position: relative; color: rgba(255,255,255,.78); font-size: .78rem; font-weight: 600; text-decoration: none; }
.desktop-nav a:not(.button)::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 1px; content: ""; background: var(--gold-500); transform: scaleX(0); transition: transform .2s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--white); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.desktop-nav .button { min-height: 43px; padding: 11px 16px; color: var(--navy-950); font-size: .66rem; }
.desktop-nav .mobile-contact-link { display: none; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  background: transparent;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 21px; height: 1px; margin: 5px auto; content: ""; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-language { display: none; }

.hero { min-height: min(790px, calc(100vh - 126px)); color: var(--white); background: var(--navy-950); }
.hero-grid { display: grid; min-height: inherit; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.hero-copy { position: relative; z-index: 2; display: flex; align-items: center; padding: 82px max(44px, calc((100vw - var(--container))/2)); padding-right: 54px; background: linear-gradient(145deg, #101e31, #0b1523); }
.hero-copy::after { position: absolute; right: -58px; top: 0; bottom: 0; width: 120px; content: ""; background: linear-gradient(90deg, #0b1523, transparent); pointer-events: none; }
.hero-content { max-width: 650px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 4vw, 4.2rem); }
.hero p { max-width: 620px; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.45vw, 1.18rem); }
.hero .button-row { margin-top: 34px; }
.hero-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem !important; letter-spacing: .03em; }
.hero-media { position: relative; min-height: 540px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(13,23,38,.32), transparent 35%), linear-gradient(0deg, rgba(13,23,38,.18), transparent 45%); }

.page-hero { position: relative; padding: 125px 0 112px; overflow: hidden; color: var(--white); background: var(--navy-900); }
.page-hero::before { position: absolute; inset: 0; content: ""; opacity: .34; background: radial-gradient(circle at 82% 20%, rgba(188,163,111,.34), transparent 28%), linear-gradient(125deg, transparent 52%, rgba(255,255,255,.035) 52% 53%, transparent 53%); }
.page-hero .container { position: relative; }
.page-hero-content { max-width: 820px; }
.page-hero h1 { margin-bottom: 22px; font-size: clamp(2.65rem, 5vw, 4.9rem); }
.page-hero p { max-width: 720px; color: rgba(255,255,255,.72); font-size: 1.12rem; }

.split { display: grid; align-items: center; gap: clamp(54px, 8vw, 110px); grid-template-columns: 1fr 1fr; }
.split-copy h2 { margin-bottom: 24px; color: var(--navy-900); }
.split-copy p { font-size: 1.04rem; }
.institution-panel { position: relative; padding: clamp(34px, 5vw, 62px); border: 1px solid var(--stone-300); background: var(--white); box-shadow: var(--shadow-sm); }
.institution-panel::before { position: absolute; top: 0; left: 0; width: 5px; height: 76px; content: ""; background: var(--gold-500); }
.institution-panel h3 { color: var(--navy-900); }
.check-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--navy-800); font-weight: 600; }
.check-list li::before { position: absolute; left: 0; top: .68em; width: 12px; height: 1px; content: ""; background: var(--gold-600); }
.number-list { display: grid; gap: 0; margin: 30px 0 0; padding: 0; counter-reset: steps; list-style: none; }
.number-list li { position: relative; min-height: 74px; padding: 16px 0 16px 58px; border-top: 1px solid var(--stone-300); color: var(--navy-800); font-weight: 600; counter-increment: steps; }
.number-list li::before { position: absolute; left: 0; top: 14px; color: var(--gold-600); font-family: var(--serif); font-size: 1.15rem; content: "0" counter(steps); }

.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.practice-card, .value-card {
  position: relative;
  min-height: 290px;
  padding: 36px 30px;
  border: 1px solid var(--stone-300);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.practice-card:hover, .value-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.card-number { display: block; margin-bottom: 45px; color: var(--gold-600); font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.practice-card h3, .value-card h3 { color: var(--navy-900); }
.practice-card p, .value-card p { margin-bottom: 0; font-size: .94rem; }
.value-card { min-height: 250px; background: transparent; }
.value-card .card-number { margin-bottom: 30px; }

.feature-dark { position: relative; overflow: hidden; }
.feature-dark::after { position: absolute; right: -130px; bottom: -230px; width: 520px; height: 520px; border: 1px solid rgba(188,163,111,.2); border-radius: 50%; content: ""; }
.feature-dark .split { position: relative; z-index: 1; }
.feature-dark h2 { color: var(--white); }
.feature-dark .institution-panel { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.045); box-shadow: none; }
.feature-dark .institution-panel h3 { color: var(--white); }
.feature-dark .institution-panel p, .feature-dark .check-list li { color: rgba(255,255,255,.7); }
.feature-dark .check-list li::before { background: var(--gold-500); }

.testimonial-feature { display: grid; align-items: center; gap: 48px; grid-template-columns: .75fr 1.25fr; }
.testimonial-mark { display: grid; width: 190px; height: 190px; place-items: center; border: 1px solid var(--gold-500); color: var(--gold-600); font-family: var(--serif); font-size: 6rem; line-height: 1; }
.testimonial-copy h2 { color: var(--navy-900); }
.testimonial-copy p { max-width: 730px; font-size: 1.08rem; }
.empty-testimonial { padding: clamp(34px, 6vw, 72px); border: 1px solid var(--stone-300); background: var(--white); text-align: center; box-shadow: var(--shadow-sm); }
.empty-testimonial .quote { color: var(--gold-600); font-family: var(--serif); font-size: 4rem; line-height: 1; }
.empty-testimonial h2 { color: var(--navy-900); }
.empty-testimonial p { max-width: 720px; margin-right: auto; margin-left: auto; }

.faq-list { max-width: 940px; margin: 0 auto; border-top: 1px solid var(--stone-300); }
.faq-list details { border-bottom: 1px solid var(--stone-300); background: transparent; }
.faq-list summary { position: relative; padding: 25px 55px 25px 0; color: var(--navy-900); font-family: var(--serif); font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 2px; top: 24px; color: var(--gold-600); font-family: var(--sans); font-size: 1.35rem; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 780px; padding: 0 50px 24px 0; }

.final-cta { position: relative; padding: 88px 0; overflow: hidden; color: var(--white); background: var(--navy-800); }
.final-cta::before { position: absolute; inset: 0; content: ""; background: linear-gradient(115deg, transparent 65%, rgba(188,163,111,.14)); }
.final-cta-inner { position: relative; display: grid; align-items: center; gap: 50px; grid-template-columns: 1.35fr .65fr; }
.final-cta h2 { margin-bottom: 16px; color: var(--white); }
.final-cta p { margin-bottom: 0; color: rgba(255,255,255,.7); }
.final-cta .button-row { justify-content: flex-end; }

.contact-grid { display: grid; gap: 56px; grid-template-columns: .68fr 1.32fr; }
.contact-details { display: grid; align-content: start; gap: 18px; }
.contact-card { padding: 28px; border: 1px solid var(--stone-300); background: var(--white); }
.contact-card h3 { margin-bottom: 12px; color: var(--navy-900); font-size: 1.12rem; }
.contact-card p { margin-bottom: 0; }
.contact-card a { color: var(--navy-800); font-weight: 600; overflow-wrap: anywhere; }
.case-form { padding: clamp(28px, 5vw, 54px); border: 1px solid var(--stone-300); background: var(--white); box-shadow: var(--shadow-sm); }
.case-form h2 { color: var(--navy-900); }
.form-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: .82rem; font-weight: 700; }
.field label span { color: var(--slate-600); font-size: .72rem; font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #c8c5bf;
  border-radius: 0;
  color: var(--ink);
  background: #fbfaf7;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(169,141,88,.15); }
.field input::placeholder, .field textarea::placeholder { color: #8a9098; }
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.form-status { min-height: 30px; margin: 22px 0 0; padding: 13px 16px; border-left: 3px solid var(--gold-600); color: var(--navy-800); background: var(--ivory-100); }
.form-status:empty { display: none; }
.form-status a { font-weight: 700; }
.form-status.is-error { border-color: #9d4b44; color: #7a312c; background: #fbefed; }
.form-status.is-success { border-color: #3c7560; color: #285c49; background: #edf7f2; }
.notice-box { margin-top: 34px; padding: 26px; border: 1px solid var(--gold-300); background: #f3eee3; }
.notice-box h3 { color: var(--navy-900); }
.notice-box p { margin-bottom: 0; }

.prose { max-width: 850px; }
.prose h2 { margin-top: 54px; color: var(--navy-900); font-size: clamp(1.65rem, 3vw, 2.35rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.04rem; }
.policy-layout { display: grid; gap: 70px; grid-template-columns: 260px minmax(0, 800px); }
.policy-nav { position: sticky; top: 130px; align-self: start; padding: 24px; border-left: 2px solid var(--gold-500); background: var(--white); }
.policy-nav strong { display: block; margin-bottom: 9px; color: var(--navy-900); }
.policy-nav p { margin-bottom: 0; font-size: .88rem; }

.site-footer { color: rgba(255,255,255,.68); background: #09121e; }
.footer-main { display: grid; gap: 55px; padding: 76px 0 58px; grid-template-columns: 1.4fr .7fr .8fr 1fr; }
.footer-brand .wordmark { margin-bottom: 22px; }
.footer-brand p { max-width: 360px; color: rgba(255,255,255,.62); }
.footer-column h2 { margin-bottom: 22px; color: var(--gold-300); font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,.67); font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-address { font-style: normal; font-size: .89rem; line-height: 1.8; }
.footer-address a { text-decoration: none; overflow-wrap: anywhere; }
.footer-address a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 22px; font-size: .77rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--white); }
.footer-language .language-switcher button { color: rgba(255,255,255,.58); }

:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }

@media (max-width: 1180px) {
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: .72rem; }
  .desktop-nav a:nth-child(4), .desktop-nav a:nth-child(5) { display: none; }
  .hero-copy { padding-left: 44px; }
}

@media (max-width: 1079px) {
  .site-topbar .topbar-group:first-child span:not(:first-child), .site-topbar .topbar-separator { display: none; }
  .desktop-nav { position: fixed; inset: 126px 0 0; z-index: 80; display: flex; padding: 34px 24px 60px; align-items: stretch; flex-direction: column; gap: 0; overflow-y: auto; background: var(--navy-950); transform: translateX(100%); transition: transform .25s ease; }
  .desktop-nav.is-open { transform: translateX(0); }
  .desktop-nav a, .desktop-nav a:nth-child(4), .desktop-nav a:nth-child(5) { display: block; padding: 17px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--serif); font-size: 1.12rem; }
  .desktop-nav .mobile-contact-link { display: block; color: var(--gold-300); font-family: var(--sans); font-size: .9rem; overflow-wrap: anywhere; }
  .desktop-nav a::after { display: none; }
  .desktop-nav .button { margin-top: 24px; padding: 15px; font-family: var(--sans); font-size: .72rem; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 530px; padding: 86px 44px; order: 2; }
  .hero-copy::after { display: none; }
  .hero-media { min-height: 440px; order: 1; }
  .hero-media img { object-position: 62% center; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .section-sm { padding: 62px 0; }
  .split, .testimonial-feature, .contact-grid, .policy-layout, .final-cta-inner { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-cta .button-row { justify-content: flex-start; }
  .policy-nav { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .testimonial-mark { width: 120px; height: 120px; font-size: 4rem; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .site-topbar { display: none; }
  .site-header { top: 0; }
  .header-inner { min-height: 82px; }
  .wordmark { white-space: normal; }
  .wordmark-name { max-width: 245px; font-size: .78rem; }
  .wordmark-descriptor { font-size: .47rem; letter-spacing: .16em; }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .mobile-language { display: inline-flex; }
  .mobile-language button { padding: 5px 3px; }
  .desktop-nav { inset: 82px 0 0; }
  .hero { min-height: auto; }
  .hero-media { min-height: 330px; }
  .hero-media img { object-position: 63% center; }
  .hero-copy { min-height: 0; padding: 62px 22px 68px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .hero .button-row, .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .page-hero { padding: 92px 0 82px; }
  .page-hero h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .card-grid, .card-grid.four, .form-grid, .footer-main { grid-template-columns: 1fr; }
  .practice-card, .value-card { min-height: 0; padding: 30px 24px; }
  .card-number { margin-bottom: 28px; }
  .institution-panel, .case-form { padding: 28px 22px; }
  .field.full { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { padding: 22px 0; align-items: flex-start; flex-direction: column; }
  .footer-legal { flex-wrap: wrap; }
  .testimonial-feature { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
