/* Fonts: self-hosted latin subsets (variable weights) taken from the original site */
@font-face { font-family: Quicksand; src: url(/fonts/quicksand.woff2) format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: Lora; src: url(/fonts/lora.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: Lora; src: url(/fonts/lora-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --cream: #FAF4EC; --tint: #F5EDE4; --line: #E6DCD0;
  --navy: #2A3352; --navy-2: #39415E; --ink: #4A5064; --muted: #5F6577;
  --olive: #6E7145; --olive-dk: #565939; --gold: #E0A94A;
  --head: Quicksand, system-ui, sans-serif; --body: Lora, Georgia, serif;
  --r: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.65 var(--body); }
img { display: block; max-width: 100%; height: auto; border-radius: var(--r); object-fit: cover; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--olive); }
.link, main p a { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: #D8DCE6; }
.section-navy h2, .section-navy h3 { color: #F7F1E8; }
.section-navy .eyebrow { color: var(--gold); }
.section-tint :is(.eyebrow, dt, a:not(.btn)), .card-soft .eyebrow { color: var(--olive-dk); }
.eyebrow { font: 600 13px/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 12px; }
.intro { max-width: 640px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 700 15px var(--head); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--olive); color: #fff; }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { background: var(--olive-dk); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); margin-top: auto; align-self: flex-start; }
.btn-gold:hover { background: #F0C46F; }


/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 244, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 46px; height: 24px; }
.brand-text { display: grid; gap: 3px; }
.brand-name { font: 700 18px/1 var(--head); letter-spacing: .03em; text-transform: uppercase; }
.brand-sub { font: 9px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 22px; margin-left: auto; font: 600 15px var(--head); }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--navy); }
.menu-toggle { display: none; }
.header-cta { white-space: nowrap; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 18.5px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font: 700 22px var(--head); color: var(--navy); }
.facts dd { margin: 0; font-size: 14px; color: var(--muted); }
.hero-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; width: 100%; }
.hero-media img:not(.hero-main) { aspect-ratio: 4 / 3; width: 100%; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-2, .grid-4 { display: grid; gap: 20px; margin-top: 36px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card-soft { background: var(--tint); border: 0; }
.card-navy { background: var(--navy-2); border: 0; display: flex; flex-direction: column; padding: 36px; }

.ticks, .dots, .principles, .trust, .timeline { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 6px; border: solid var(--olive); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.dots { margin: 8px 0 28px; }
.dots li { padding: 4px 0 4px 20px; position: relative; }
.dots li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.principles { display: grid; gap: 14px; }
.principles li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; font-size: 16px; }
.principles strong, .trust strong { display: block; font: 700 17px var(--head); color: var(--navy); margin-bottom: 4px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.trust li { background: #fff; border-radius: var(--r); padding: 24px; border-top: 4px solid var(--olive); font-size: 16px; }
.trust li:nth-child(2) { border-top-color: var(--gold); }
.trust li:nth-child(3) { border-top-color: var(--navy); }

.gallery { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 16px; margin-top: 40px; }
.gallery img { width: 100%; height: 340px; }

.timeline li { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.timeline time { font: 700 15px var(--head); color: var(--olive); }
.tall { width: 100%; max-height: 560px; }

.founder { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.founder img { width: 280px; height: 280px; border-radius: 50%; object-position: 50% 22%; }
.founder figure { margin: 0; }
.founder blockquote { margin: 0 0 20px; font: italic 400 clamp(20px, 2.4vw, 26px)/1.5 var(--body); color: var(--navy); }
.founder figcaption strong { display: block; font-family: var(--head); color: var(--navy); }


.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font: 700 17px var(--head); color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--olive); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; }
.faq-more { margin: 20px 0 0; }

.visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.form { display: grid; gap: 16px; margin-top: 28px; }
.form label { display: grid; gap: 6px; font: 600 14px var(--head); color: var(--navy); }
.form input, .form select { font: 16px var(--body); padding: 12px 14px; border: 1px solid #CFC6B8; border-radius: 12px; background: var(--cream); color: var(--ink); min-height: 48px; }
.form input::placeholder { color: var(--muted); opacity: 1; }
.form .btn { justify-self: start; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.contact dl { margin: 0 0 20px; display: grid; gap: 18px; }
.contact dt { font: 700 13px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.contact dd { margin: 4px 0 0; }
.map { width: 100%; height: 260px; border: 0; border-radius: var(--r); margin-bottom: 16px; background: var(--tint); }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.map-actions + .map { margin-top: 4px; }

/* Subpages: privacy policy and 404 */
.page { padding: clamp(48px, 7vw, 88px) 0; }
.page h1 { font-size: clamp(30px, 4vw, 44px); }
.page h2 { font-size: 22px; margin-top: 2em; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: .4em; }
.not-found { text-align: center; min-height: 60vh; display: grid; place-content: center; }
.not-found .actions { justify-content: center; }

.site-footer { background: var(--navy); color: #D8DCE6; padding: 40px 0 48px; font-size: 15px; }
.site-footer a { color: var(--gold); }
.site-footer .brand-name { color: #F7F1E8; }
.site-footer .fine { color: #D8DCE6; opacity: .85; }
.footer-row { display: grid; gap: 8px; }
.footer-row p { margin: 0; }
.cta-bar { display: none; }

/* Tablet */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16.5px; padding-bottom: 64px; }
  .menu-toggle { display: inline-flex; margin-left: auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 700 14px var(--head); color: var(--navy); align-items: center; cursor: pointer; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; }
  .hero-grid, .split, .visit, .founder, .grid-2, .grid-4, .trust { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 20px; }
  .hero-media { order: -1; }
  .hero-main { aspect-ratio: 16 / 10; }
  .hero-media img:not(.hero-main) { display: none; }
  .facts { gap: 12px 24px; }
  .actions .btn-ghost { display: none; }
  .form .btn { justify-self: stretch; }
  .facts dt { font-size: 18px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 220px; }
  .gallery img:nth-child(2) { display: none; }
  .founder { justify-items: center; text-align: center; }
  .founder img { width: 200px; height: 200px; }
  .cta-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--navy); padding: 8px; gap: 8px; box-shadow: 0 -4px 16px rgba(42, 51, 82, .18); }
  .cta-bar a { display: flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 999px; font: 700 15px var(--head); text-decoration: none; }
  .cta-bar a:first-child { background: #25D366; color: #0B3D1E; }
  .cta-bar a:last-child { background: var(--cream); color: var(--navy); }
  .cta-bar.hide { display: none; }
}

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