:root {
  --black: #0b0b0b;
  --ink: #161616;
  --g800: #383838;
  --g600: #474747;
  --g400: #b8b8b8;
  --g300: #e0e0e0;
  --g200: #e4e4e2;
  --g100: #f4f4f2;
  --white: #fff;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font: 400 17px/1.7 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--g400); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--g200); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100px; }
.brand img { height: 78px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) { text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--g600); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--black); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; background: transparent; border: 1px solid currentColor; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { padding: 12px 20px; font-size: 12px; }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: transparent; color: var(--black); }

/* Hero */
.hero { background: var(--black); color: var(--white); padding: clamp(56px, 8vw, 112px) 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.portrait { position: relative; }
.portrait::before { content: ""; position: absolute; inset: -18px 18px auto -18px; aspect-ratio: 4 / 5; border: 1px solid rgba(255, 255, 255, .4); }
.portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.portrait figcaption { position: relative; margin-top: 20px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--g400); }
.eyebrow { display: flex; align-items: center; gap: 14px; font: 400 12px/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--g400); }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero h1 { font: 500 clamp(44px, 6vw, 84px)/1.02 var(--serif); letter-spacing: -.01em; margin: 28px 0; }
.hero h1 em { display: block; font-weight: 400; color: var(--g300); }
.lead { max-width: 34em; font-size: 18px; color: var(--g300); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--g800); }
.facts strong { display: block; font: 500 36px/1 var(--serif); margin-bottom: 8px; }
.facts span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--g400); }

@media (prefers-reduced-motion: no-preference) {
  .portrait, .hero .copy { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .copy { animation-delay: .15s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.alt { background: var(--g100); }
.section .eyebrow { color: var(--g600); }
h2 { font: 500 clamp(34px, 4.4vw, 56px)/1.08 var(--serif); margin-top: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.split p { color: var(--g600); }
.split p + p { margin-top: 1.1em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 8vw, 96px); }
.cards article { border-top: 1px solid var(--black); padding-top: 28px; }
.cards h3 { font: 500 28px/1.2 var(--serif); margin-bottom: 10px; }
.cards p { font-size: 16px; color: var(--g600); }
.num { display: block; font: italic 400 56px/1 var(--serif); color: var(--g600); margin-bottom: 20px; }

/* CTA */
.cta { background: var(--black); color: var(--white); text-align: center; }
.cta .eyebrow { justify-content: center; color: var(--g400); }
.cta .eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.cta h2 { max-width: 14em; margin-inline: auto; }
.cta p { max-width: 36em; margin: 20px auto 0; color: var(--g400); }
.cta .actions { justify-content: center; }
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--g800); text-align: left; }
.contact dl { display: grid; gap: 28px; align-content: start; }
.contact dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--g400); margin-bottom: 6px; }
.contact dd { font-size: 18px; overflow-wrap: anywhere; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.map { position: relative; min-height: 360px; border: 1px solid var(--g800); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map iframe:not([src]) { display: none; }
.map-off { display: grid; place-content: center; justify-items: center; gap: 18px; height: 100%; padding: 32px; text-align: center; font-size: 15px; color: var(--g400); }
.map-off p { max-width: 26em; margin: 0; }
.map-off a { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

/* Cookie notice */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 40; max-width: 460px; display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: var(--white); color: var(--ink); border: 1px solid var(--g200); box-shadow: 0 20px 50px rgba(0, 0, 0, .2); font-size: 14px; line-height: 1.5; }
.cookie[hidden] { display: none; }
.cookie-actions { display: flex; gap: 10px; flex: none; }

/* Footer */
.foot { background: #000; color: var(--g400); border-top: 1px solid var(--g800); padding: 72px 0 32px; font-size: 15px; }
.foot .grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.foot .logo { height: 76px; width: auto; filter: invert(1); mix-blend-mode: screen; margin-bottom: 20px; }
.foot h2 { margin: 0 0 20px; font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--white); }
.foot ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--white); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--g800); font-size: 13px; }

/* Floating buttons */
.float { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: grid; gap: 12px; }
.float a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s, filter .2s; }
.float .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.float .wa { background: #25d366; }
.float a:hover { transform: translateY(-3px); filter: brightness(1.08); }
.float svg { width: 26px; height: 26px; }

/* Policy page */
.doc { padding: clamp(56px, 8vw, 110px) 0; }
.doc .wrap { max-width: 780px; }
.doc .eyebrow { color: var(--g600); }
.doc h1 { font: 500 clamp(38px, 5vw, 60px)/1.05 var(--serif); margin: 20px 0 12px; }
.doc .updated { font-size: 14px; color: var(--g600); }
.doc h2 { font-size: clamp(26px, 3vw, 32px); margin: 56px 0 16px; padding-top: 28px; border-top: 1px solid var(--g200); }
.doc p, .doc li { color: #262626; }
.doc p + p { margin-top: 1em; }
.doc ul { display: grid; gap: 8px; margin: 14px 0; padding-left: 1.2em; }
.doc strong { font-weight: 500; color: var(--ink); }
.toc { margin-top: 40px; padding: 28px 32px; background: var(--g100); }
.toc ol { columns: 2; column-gap: 32px; padding-left: 1.2em; font-size: 15px; }
.toc a { text-decoration: none; color: var(--g600); }
.toc a:hover { color: var(--black); }
.notice { margin: 24px 0; padding: 20px 24px; background: var(--g100); border-left: 2px solid var(--black); }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .top .wrap { height: 80px; }
  .brand img { height: 58px; }
  .nav a:not(.btn) { display: none; }
  .hero .wrap, .split, .cards, .contact, .foot .grid { grid-template-columns: 1fr; }
  .map { min-height: 300px; }
  .cookie { left: 16px; right: 84px; bottom: 16px; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .cookie-actions .btn { flex: 1; }
  .portrait { max-width: 460px; margin-left: 12px; }
  .portrait::before { inset: -12px 12px auto -12px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .facts strong { font-size: 30px; }
  .actions .btn { flex: 1 1 220px; }
  .toc ol { columns: 1; }
  .foot { padding-bottom: 104px; }
  .float { right: 16px; bottom: 16px; }
  .float a { width: 52px; height: 52px; }
}
