/* Design system: restrained palette, strong type, generous spacing. All colours meet WCAG AA on their backgrounds. */
:root {
  --ink: #14201f;
  --muted: #4d5b59;
  --bg: #ffffff;
  --tint: #f3f6f5;
  --line: #d9e1df;
  --brand: #0f4c4c;
  --brand-ink: #ffffff;
  --brand-hover: #0a3535;
  --accent: #b4572a;
  --ok-bg: #e6f4ec; --ok-ink: #12512d;
  --err-bg: #fdecea; --err-ink: #8a1c13;
  --warn-bg: #fff4de; --warn-ink: #6b4500;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 32, 31, .06), 0 8px 24px rgba(20, 32, 31, .06);
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #eef3f2; --muted: #a9b8b5; --bg: #0e1615; --tint: #141f1e; --line: #263634; --brand: #5ec2b7; --brand-ink: #062321; --brand-hover: #8adbd1; --accent: #f0a37a; --ok-bg: #123324; --ok-ink: #bfeed3; --err-bg: #3a1613; --err-ink: #ffc9c3; --warn-bg: #3a2c0c; --warn-ink: #ffe0a6; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35); }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.pre { white-space: pre-wrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain.inline { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:hover { background: var(--tint); }
.site-nav a[aria-current="page"] { background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.site-nav a.nav-cta { background: var(--brand); color: var(--brand-ink); }
.site-nav a.nav-cta:hover { background: var(--brand-hover); }
.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; color: var(--ink); cursor: pointer; }
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.nav-toggle__icon::before { position: absolute; top: -6px; } .nav-toggle__icon::after { position: absolute; top: 6px; }
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px 8px; border-radius: 10px; }
}
.no-js .site-nav { display: block; position: static; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); border: 2px solid var(--brand); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--brand-ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--tint); color: var(--brand-hover); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--tint); border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; opacity: .22; } .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__grid { position: relative; display: grid; gap: 40px; align-items: center; padding-block: clamp(48px, 9vw, 110px); }
@media (min-width: 800px) { .hero__grid { grid-template-columns: 1.3fr .7fr; } }
.hero__name { font-size: clamp(2.4rem, 7vw, 4.6rem); margin-bottom: .2em; }
.hero__headline { font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--accent); font-weight: 600; margin-bottom: .8em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.portrait { width: min(100%, 380px); aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); margin-inline: auto; }
.portrait--placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #1f7a73); color: var(--brand-ink); font-family: var(--font-serif); font-size: 5rem; }
.quick { border-bottom: 1px solid var(--line); } .quick ul { display: flex; gap: 4px 18px; overflow-x: auto; padding-block: 12px; white-space: nowrap; }
.quick a { text-decoration: none; font-weight: 500; color: var(--muted); } .quick a:hover { color: var(--brand); }

/* sections */
.section { padding-block: clamp(40px, 6vw, 80px); }
.section--tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.more { font-weight: 600; text-decoration: none; } .more:hover { text-decoration: underline; }
.page-head { padding-block: clamp(36px, 6vw, 72px) 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .6em; }
.narrow-section .container { max-width: 760px; }

/* cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover, .card:focus-within { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { display: block; aspect-ratio: 16/10; background: var(--tint); } .card__media img { width: 100%; height: 100%; object-fit: cover; } .card__media img.contain { object-fit: contain; padding: 18px; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { margin: 0; font-size: 1.2rem; } .card__title a { color: var(--ink); text-decoration: none; } .card__title a::after { content: ""; position: absolute; inset: 0; } .card { position: relative; }
.card__meta { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; }
.card p { color: var(--muted); margin: 0; }
.card--store .card__body { gap: 12px; } .card--store a { position: relative; z-index: 1; } .store-logo { height: 70px; } .store-logo img { height: 100%; width: auto; object-fit: contain; }
.badge { align-self: flex-start; display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--ink); margin-bottom: .6em; }
.card .badge { margin: 0; } .badge--active, .badge--live { background: var(--ok-bg); color: var(--ok-ink); border-color: transparent; } .badge--upcoming, .badge--beta, .badge--coming_soon { background: var(--warn-bg); color: var(--warn-ink); border-color: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; } .tag { padding: 3px 12px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: .9rem; }
.empty { border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--muted); }
.photo-strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .photo-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 12px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.cta-band .lead { margin-bottom: .4em; } .social a { font-weight: 600; }

/* content */
.prose { max-width: 70ch; } .prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.6em; } .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 12px; margin-block: 1.2em; } .prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); color: var(--muted); font-family: var(--font-serif); font-size: 1.15rem; }
.prose pre { background: var(--tint); padding: 16px; border-radius: 10px; overflow-x: auto; } .prose code { background: var(--tint); padding: .1em .35em; border-radius: 5px; font-size: .92em; } .prose pre code { padding: 0; background: none; }
.prose--sm { font-size: .95rem; } .narrow-prose { margin-top: 40px; }
.cover { width: 100%; border-radius: var(--radius); margin-bottom: 28px; max-height: 520px; object-fit: cover; } .cover.contain { object-fit: contain; background: var(--tint); padding: 16px; }
.detail-head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; } .detail-logo { width: 120px; height: 120px; flex: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: var(--bg); } .detail-logo img { width: 100%; height: 100%; object-fit: contain; }
.check-list { padding-left: 0; list-style: none; } .check-list li { padding-left: 1.8em; position: relative; margin-bottom: .5em; } .check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.steps { padding-left: 1.4em; } .steps li { margin-bottom: .6em; padding-left: .3em; }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; } .faq summary { cursor: pointer; font-weight: 600; } .faq p { margin: .6em 0 0; color: var(--muted); }
details summary { cursor: pointer; font-weight: 600; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--brand); }
.link-list li { padding: 4px 0; }
.mini-gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-block: 1.5em; } .mini-gallery img { border-radius: 10px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.embed { aspect-ratio: 16/10; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; } .embed iframe { width: 100%; height: 100%; border: 0; }
.notice { background: var(--warn-bg); color: var(--warn-ink); padding: 14px 18px; border-radius: 10px; margin-block: 16px; } .notice p { margin: 0; }
.related { padding: 12px 16px; border-left: 4px solid var(--brand); background: var(--tint); border-radius: 0 10px 10px 0; }
.crumbs { max-width: var(--max); margin: 0 auto; padding: 14px 20px 0; font-size: .9rem; } .crumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 6px; } .crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); } .crumbs a { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 3px solid var(--line); } .timeline li { position: relative; padding-bottom: 36px; } .timeline li::before { content: ""; position: absolute; left: -37px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--brand); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--brand); }
.timeline__date { font-weight: 700; color: var(--accent); margin: 0 0 .2em; letter-spacing: .04em; } .timeline h2, .timeline h3 { margin-bottom: .3em; } .timeline__img { border-radius: 12px; margin-block: 12px; max-height: 340px; width: auto; }
.share { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); } .share__h { font-size: 1rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .1em; }
.filters { margin-bottom: 28px; } .filters a { display: inline-block; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; } .filters a[aria-current] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.pager { display: flex; gap: 20px; justify-content: center; align-items: center; margin-top: 36px; }
.split { display: grid; gap: 48px; } @media (min-width: 860px) { .split { grid-template-columns: 1.4fr 1fr; } }
.details li { margin-bottom: .6em; } .details strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.social-note { margin-top: 48px; }

/* gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--tint); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; } .tile:hover img { transform: scale(1.04); }
.tile__video { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; background: #1c2b2a; color: #fff; }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; color: #fff; }
.lightbox::backdrop { background: rgba(5, 12, 12, .94); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { display: grid; place-items: center; padding: 56px 64px 8px; min-height: 0; } .lightbox__stage img, .lightbox__stage video { max-height: calc(100vh - 140px); max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__cap { text-align: center; padding: 8px 64px 24px; margin: 0; min-height: 2.4em; }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; } .lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__prev { left: 8px; top: 50%; } .lightbox__next { right: 8px; top: 50%; } .lightbox__close { right: 12px; top: 12px; }

/* forms */
.form { display: grid; gap: 20px; max-width: 640px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=url], .field input[type=password], .field input[type=number], .field input[type=date], .field input[type=datetime-local], .field select, .field textarea { width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.field input[type=file] { width: 100%; padding: 10px; border: 2px dashed var(--line); border-radius: 10px; background: var(--tint); }
.hint { color: var(--muted); font-size: .9rem; margin: -2px 0 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; } .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.has-error input, .has-error textarea, .has-error select { border-color: var(--err-ink); }
.field-error { color: var(--err-ink); font-weight: 600; margin: 6px 0 0; font-size: .95rem; } .field-error::before { content: "⚠ "; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; } .alert p { margin: 0; } .alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.alert--ok { background: var(--ok-bg); color: var(--ok-ink); } .alert--error { background: var(--err-bg); color: var(--err-ink); } .alert a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--tint); padding-block: 48px 24px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; margin-bottom: .4em; }
.footer-h { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-grid li { margin-bottom: .4em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; color: var(--muted); font-size: .92rem; } .footer-bottom p { margin: 0; }
@media print { .site-header, .site-footer, .nav-toggle, .share, .skip-link { display: none !important; } body { font-size: 11pt; } }
