:root {
  --ink: #091326;
  --ink-soft: #1c2940;
  --mint: #5ce0c4;
  --mint-dark: #17a88e;
  --rose: #f05d82;
  --paper: #f4f7f6;
  --white: #ffffff;
  --muted: #5e6879;
  --line: #d7dfe0;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 8px 12px; color: var(--ink); background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 3; padding: 18px 0; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.home-header { color: var(--white); background: transparent; border-color: rgba(255,255,255,.2); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 42px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 19px; font-weight: 750; text-decoration: none; letter-spacing: .2px; }
.brand img { width: 35px; height: 35px; border-radius: 6px; object-fit: cover; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; font-size: 14px; font-weight: 650; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--mint); }

.hero { position: relative; min-height: 84svh; overflow: hidden; isolation: isolate; color: var(--white); background: var(--ink); }
.hero-media { position: absolute; z-index: -2; inset: 0; background: url('assets/hero_desk.webp') center center / cover no-repeat; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: rgba(5, 13, 29, .56); pointer-events: none; }
.hero-content { display: flex; min-height: calc(84svh - 79px); max-width: 760px; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 52px; padding-bottom: 62px; }
.eyebrow { margin: 0 0 16px; color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.eyebrow.dark { color: var(--mint-dark); }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.05; letter-spacing: 0; }
h1 { font-size: clamp(64px, 9vw, 112px); }
h2 { font-size: clamp(38px, 5vw, 64px); }
h3 { font-size: 27px; }
.hero-statement { margin: 10px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 3.2vw, 42px); line-height: 1.14; }
.lede { max-width: 620px; margin: 24px 0 30px; color: #e3e9ed; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--mint); border-radius: 4px; font-weight: 750; text-decoration: none; transition: .18s ease; }
.button.primary { color: var(--ink); background: var(--mint); }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,.75); }
.button:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.button.primary:hover { background: #8aedd8; border-color: #8aedd8; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 42px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.35); list-style: none; color: #e3e9ed; font-size: 13px; font-weight: 650; }
.hero-facts li::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; background: var(--rose); }

.section { padding: 94px 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(290px, .7fr); align-items: end; gap: 72px; margin-bottom: 58px; }
.intro-grid > p { margin: 0 0 5px; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { min-height: 250px; padding: 26px 26px 30px; background: var(--white); border-top: 2px solid var(--ink); }
.feature:nth-child(2) { border-color: var(--mint-dark); }
.feature:nth-child(3) { border-color: var(--rose); }
.feature-number { display: block; margin-bottom: 48px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.feature p { margin: 14px 0 0; color: var(--muted); }

.dark-band { color: var(--white); background: var(--ink); }
.record-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(340px, 1fr); align-items: start; gap: 84px; }
.record-grid h2 { max-width: 520px; }
.record-list { border-top: 1px solid rgba(255,255,255,.42); }
.record-list div { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.record-list span { color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.record-list strong { font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; line-height: 1.25; }

.gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .9fr .9fr; gap: 16px; }
.gallery-card { position: relative; min-height: 300px; overflow: hidden; background: var(--ink); }
.gallery-card:first-child { min-height: 430px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 42px 20px 18px; color: var(--white); background: rgba(5,13,29,.72); font-weight: 700; }
.gallery-card figcaption span { display: block; margin-top: 3px; color: #cbd5da; font-size: 13px; font-weight: 500; }

.support-band { background: var(--paper); }
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); align-items: end; gap: 80px; }
.support-grid p { margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; color: var(--ink); border-bottom: 2px solid var(--mint-dark); font-weight: 750; text-decoration: none; }
.text-link:hover { color: var(--mint-dark); }

.site-footer { padding: 34px 0 40px; color: #cbd4dd; background: #050d1d; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 36px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-size: 16px; font-weight: 750; }
.footer-brand img { width: 30px; height: 30px; border-radius: 5px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--mint); }
.copyright { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }

.doc { max-width: 830px; padding: 74px 0 96px; }
.doc .eyebrow { color: var(--mint-dark); }
.doc h1 { color: var(--ink); font-size: clamp(48px, 7vw, 72px); }
.doc h2 { margin-top: 48px; color: var(--ink); font-size: clamp(30px, 4vw, 39px); }
.doc h3 { margin-top: 28px; color: var(--ink-soft); font-family: inherit; font-size: 18px; font-weight: 750; line-height: 1.35; }
.doc .lede { color: var(--muted); }
.doc p, .doc li { color: var(--muted); }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 14px 0 0; padding-left: 23px; }
.doc li + li { margin-top: 7px; }
.doc a { color: var(--mint-dark); text-underline-offset: 3px; }
.doc strong { color: var(--ink-soft); }
.notice { margin: 28px 0; padding: 18px 20px; color: var(--ink-soft); background: #e3faf4; border-left: 4px solid var(--mint-dark); }
.notice a { overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }

@media (max-width: 900px) {
  .intro-grid, .record-grid, .support-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature-number { margin-bottom: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card:first-child { grid-column: 1 / -1; min-height: 360px; }
}

@media (max-width: 620px) {
  .wrap { width: min(var(--max), calc(100% - 30px)); }
  .site-header { padding: 14px 0; }
  .nav { align-items: flex-start; gap: 14px; }
  .brand span { display: none; }
  .nav-links { max-width: 265px; gap: 5px 15px; font-size: 13px; line-height: 1.4; }
  .hero-content { min-height: calc(84svh - 70px); padding-top: 36px; padding-bottom: 46px; }
  .hero::after { background: rgba(5,13,29,.65); }
  .lede { margin: 18px 0 24px; font-size: 16px; }
  .actions { width: 100%; }
  .button { width: 100%; }
  .hero-facts { gap: 8px 18px; margin-top: 28px; padding-top: 14px; }
  .section { padding: 64px 0; }
  .intro-grid { margin-bottom: 38px; }
  .record-list div { grid-template-columns: 90px 1fr; gap: 15px; }
  .record-list strong { font-size: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card, .gallery-card:first-child { grid-column: auto; min-height: 290px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .copyright { grid-column: auto; }
  .doc { padding: 56px 0 76px; }
}

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