:root {
  --ink: #132238;
  --muted: #536172;
  --blue: #17365d;
  --blue-deep: #0d233d;
  --yellow: #f0cf29;
  --paper: #f7f4ec;
  --white: #fff;
  --line: rgba(19, 34, 56, .18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
::selection { color: var(--blue-deep); background: var(--yellow); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; padding: .7rem 1rem; color: var(--white); background: var(--blue-deep); }
.skip-link:focus { top: 1rem; }
.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; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; min-height: 76px; padding: 10px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.24); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { color: var(--ink); background: rgba(247, 244, 236, .96); box-shadow: 0 10px 30px rgba(13,35,61,.08); border-color: var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1.05; }
.brand img { width: 45px; height: 53px; object-fit: cover; border-radius: 0 0 18px 18px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.brand strong { display: block; font-family: var(--serif); font-size: 1.35rem; letter-spacing: .02em; }
.brand small { display: block; margin-top: .22rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; opacity: .8; }
.navigation { display: flex; align-items: center; gap: 1.6rem; }
.navigation a { text-decoration: none; font-size: .88rem; font-weight: 650; letter-spacing: .03em; }
.navigation a:not(.nav-contact):hover { text-decoration: underline; text-underline-offset: .35rem; }
.nav-contact { padding: .6rem 1rem; color: var(--blue-deep); background: var(--yellow); border-radius: 99px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: currentColor; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px auto; background: currentColor; }

.hero { position: relative; min-height: min(880px, 100svh); display: grid; align-items: end; color: var(--white); overflow: hidden; background: var(--blue-deep); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 52% 50%; }
.hero-shade { background: linear-gradient(90deg, rgba(7,23,41,.83) 0%, rgba(7,23,41,.48) 48%, rgba(7,23,41,.1) 75%), linear-gradient(0deg, rgba(7,23,41,.68), transparent 40%); }
.hero-content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 11rem 0 8rem; }
.eyebrow { margin: 0 0 1.25rem; color: var(--yellow); font-size: .76rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.dark { color: #7e6c09; }
.hero h1 { max-width: 820px; margin: 0; font: 400 clamp(4.5rem, 11vw, 9rem)/.78 var(--serif); letter-spacing: -.065em; }
.hero h1 em { color: var(--yellow); font-weight: 400; }
.hero-lead { max-width: 650px; margin: 2.4rem 0 0; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.25rem; border-radius: 99px; text-decoration: none; font-weight: 700; }
.button-primary { color: var(--blue-deep); background: var(--yellow); }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.button:hover { transform: translateY(-2px); }
.hero-caption { position: absolute; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 1.4rem; z-index: 2; font-size: .68rem; opacity: .72; }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0; }
.intro { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 7rem); }
.section-number { position: absolute; top: 3rem; right: 0; color: rgba(19,34,56,.09); font: 400 clamp(6rem, 14vw, 12rem)/1 var(--serif); }
h2 { margin: 0; font: 400 clamp(2.7rem, 5.7vw, 5rem)/.98 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.intro-copy { align-self: end; padding-top: 7rem; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.48rem); line-height: 1.5; }
.intro-copy p:not(.lead), .life-copy > p:not(.eyebrow, .lead), .visit-content > p { color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); color: var(--white); background: var(--blue); }
.fact { min-height: 250px; padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(255,255,255,.17); }
.fact:last-child { border: 0; }
.fact strong { color: var(--yellow); font: 400 clamp(2.8rem, 5vw, 5.2rem)/1 var(--serif); }
.fact span { max-width: 180px; font-size: .85rem; line-height: 1.35; opacity: .83; }

.life { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 8rem); }
.life-copy { position: sticky; top: 125px; align-self: start; }
.text-link { display: inline-flex; gap: .6rem; align-items: center; margin-top: 1rem; color: var(--blue); font-weight: 750; text-decoration: underline; text-underline-offset: .35rem; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.life-list { border-top: 1px solid var(--line); }
.life-list article { display: grid; grid-template-columns: 58px 1fr; gap: 1.2rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.life-list article > span { color: #7e6c09; font-size: .75rem; font-weight: 800; }
.life-list h3 { margin: -.3rem 0 .5rem; font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--serif); }
.life-list p { margin: 0; color: var(--muted); }

.history { color: var(--white); background: var(--blue-deep); }
.history-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0; }
.history h2 { color: var(--white); }
.history-grid { margin-top: 5rem; display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }
.history-year { margin: 0; color: var(--yellow); font: 400 clamp(5rem, 13vw, 11rem)/.8 var(--serif); letter-spacing: -.06em; }
.history-grid > div { max-width: 560px; }
.history-grid > div > p:not(.lead) { color: #bac6d2; }
.text-link.light { color: var(--white); }

.visit { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 8rem); }
.visit-content { padding-top: 4rem; }
.link-stack { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.link-stack a { min-height: 68px; padding: 1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.link-stack a:hover span { text-decoration: underline; text-underline-offset: .3rem; }
.link-stack b { color: #7e6c09; font-size: 1.2rem; }

.contact { padding: clamp(4.5rem, 9vw, 8rem) max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; color: var(--white); background: #244e7e; }
.contact-intro { position: sticky; top: 125px; }
.contact h2 { max-width: 720px; }
.contact-intro > p:last-child { max-width: 34rem; margin-top: 1.6rem; color: #dbe5ef; font-size: 1.06rem; }
.contact-panel { min-width: 0; padding: clamp(1.5rem, 3.2vw, 2.6rem); color: var(--ink); background: var(--white); border-radius: 12px; box-shadow: 0 24px 65px rgba(5, 25, 46, .28); }
.contact-panel-heading { padding-bottom: 1.7rem; margin-bottom: 1.7rem; border-bottom: 1px solid var(--line); }
.contact-panel-heading .contact-kicker { margin: 0 0 .45rem; color: #6e5e08; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-panel-heading h3 { margin: 0; color: var(--blue-deep); font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif); letter-spacing: -.035em; }
.contact-panel-heading > p:last-child { margin: .75rem 0 0; color: var(--muted); font-size: .9rem; }
.contact-form { display: grid; gap: 1.25rem; }
.contact-form label { display: grid; gap: .48rem; color: var(--ink); font-size: .84rem; font-weight: 750; letter-spacing: .015em; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 54px; padding: .88rem 1rem; color: var(--ink); background: #fbfaf6; border: 1px solid #bcc5ce; border-radius: 7px; font: 400 1rem/1.45 var(--sans); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.contact-form textarea { min-height: 190px; resize: vertical; }
.contact-form input:hover, .contact-form textarea:hover { border-color: #81909e; }
.contact-form input:focus, .contact-form textarea:focus { background: var(--white); border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px rgba(23, 54, 93, .16); }
.contact-form [aria-invalid="true"] { border-color: #b33d2e; box-shadow: 0 0 0 3px rgba(179, 61, 46, .12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.captcha-area { padding: 1rem; display: grid; grid-template-columns: minmax(190px, 1fr) minmax(260px, auto); gap: 1rem 1.25rem; align-items: center; background: #f4f1e8; border: 1px solid #d8d2c2; border-radius: 8px; }
.captcha-area.has-error { border-color: #b33d2e; }
.captcha-copy { display: grid; gap: .18rem; }
.captcha-copy strong { color: var(--blue-deep); font-size: .86rem; }
.captcha-copy span { color: var(--muted); font-size: .76rem; line-height: 1.45; }
.captcha-area altcha-widget { width: 100%; min-width: 260px; }
.captcha-area > .field-error { grid-column: 1 / -1; }
.form-actions { padding-top: .2rem; display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; align-items: center; }
.contact-form .button { min-width: 205px; min-height: 54px; gap: .75rem; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.button-light { color: var(--white); background: var(--blue-deep); }
.button-light:hover { background: var(--blue); }
.field-error { color: #9a2f21; font-size: .78rem; font-weight: 700; }
.form-notice { margin-bottom: 1.3rem; padding: 1rem 1.1rem; border-radius: 7px; }
.form-notice.success { color: #11361e; background: #d9f4df; border: 1px solid #aadbb5; }
.form-notice.success strong, .form-notice.success span { display: block; }
.form-notice.error { color: #52160d; background: #ffe1dc; border: 1px solid #e8b5ac; }
.contact .form-privacy { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { min-height: 190px; padding: 3rem max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; color: #d8e1ea; background: #091a2d; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 45px; height: 53px; object-fit: cover; border-radius: 0 0 18px 18px; }
.footer-brand strong { display: block; color: var(--white); font: 400 1.4rem var(--serif); }
.footer-brand span { display: block; font-size: .72rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 1rem; }
.site-footer button { padding: .4rem 0; color: inherit; border: 0; background: none; text-decoration: underline; text-underline-offset: .3rem; cursor: pointer; }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .72rem; }

.legal-dialog { width: min(720px, calc(100% - 32px)); max-height: min(760px, calc(100svh - 32px)); padding: 0; border: 0; border-radius: 8px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.legal-dialog::backdrop { background: rgba(4,15,27,.78); backdrop-filter: blur(3px); }
.dialog-head { position: sticky; top: 0; padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 2rem; }
.dialog-head button { width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--white); background: var(--blue); font-size: 1.7rem; cursor: pointer; }
.dialog-body { padding: 1.5rem 1.5rem 2.5rem; }
.dialog-body h3 { margin: 1.8rem 0 .4rem; font: 400 1.35rem var(--serif); }
.dialog-body h3:first-child { margin-top: 0; }
.dialog-body p, .dialog-body li { color: var(--muted); }
.dialog-body a { color: var(--blue); }

.error-page { min-height: 80vh; display: grid; align-content: center; }
.error-page h1 { margin: 0; font: 400 clamp(3rem, 8vw, 7rem)/.9 var(--serif); }
.error-page .lead { max-width: 600px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 1120px) {
  .captcha-area { grid-template-columns: 1fr; }
  .captcha-area altcha-widget { min-width: 0; }
}

@media (max-width: 900px) {
  .site-header { min-height: 70px; }
  .nav-toggle { display: block; z-index: 2; }
  .navigation { position: fixed; inset: 0; padding: 8rem 2rem 3rem; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; color: var(--white); background: var(--blue-deep); }
  .navigation.open { display: flex; }
  .navigation a { padding: 1.1rem 0; font: 400 2rem var(--serif); border-bottom: 1px solid rgba(255,255,255,.16); }
  .navigation .nav-contact { margin-top: 1.5rem; padding: .8rem 1rem; color: var(--blue-deep); text-align: center; border: 0; font: 700 1rem var(--sans); }
  .site-header.menu-open { color: var(--white); background: var(--blue-deep); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.17); }
  .intro, .life, .history-grid, .visit, .contact { grid-template-columns: 1fr; }
  .intro-copy, .visit-content { padding-top: 0; }
  .life-copy { position: static; }
  .history-grid { gap: 3rem; }
  .contact { gap: 2rem; }
  .contact-intro { position: static; }
  .contact-panel { width: min(760px, 100%); }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: start; }
}

@media (max-width: 580px) {
  html { scroll-padding-top: 70px; }
  .site-header { padding-inline: 16px; }
  .brand small { display: none; }
  .hero { min-height: 780px; }
  .hero-content { width: calc(100% - 32px); padding-bottom: 7rem; }
  .hero h1 { font-size: clamp(4rem, 21vw, 6rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-caption { left: 16px; right: auto; max-width: 85%; }
  .section, .history-inner { width: calc(100% - 32px); }
  .facts { grid-template-columns: 1fr; }
  .fact { min-height: 175px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .fact:nth-child(3) { border-bottom: 1px solid rgba(255,255,255,.17); }
  .section-number { top: 2rem; }
  .contact { padding-inline: 16px; }
  .form-grid, .form-actions { grid-template-columns: 1fr; }
  .captcha-area { padding: .9rem; }
  .contact-form .button { width: 100%; }
  .site-footer { padding-inline: 16px; }
}

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