:root {
  --ink: #1d2024;
  --muted: #4a5057;
  --line: #d5d8dc;
  --bg: #ffffff;
  --silver: #f3f4f5;
  --hero: #b3b6bb; /* sampled from the hero image's upper wall */
  --red: #b91c1c;
  --red-dark: #991b1b;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2 { line-height: 1.15; margin: 0 0 16px; letter-spacing: 0; }
h2 { font-size: 32px; }
p { margin: 0 0 16px; }

a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--ink); color: #fff; padding: 12px 16px;
}
.skip:focus { top: 16px; }

mark.missing { background: #fde68a; color: #111; padding: 0 4px; font-family: ui-monospace, Menlo, monospace; font-size: 0.85em; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.logo { display: block; border-radius: 4px; }
.logo img { width: 120px; height: 120px; object-fit: contain; }
.site-header nav { display: flex; gap: 8px; }
.site-header nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.site-header nav a:hover { color: var(--red); }

/* Hero: stacked by default (copy above, full image below) */
.hero { position: relative; background: var(--hero); }
.hero-copy { padding-block: 32px 24px; }
.hero h1 { font-size: 44px; margin-bottom: 8px; }
.lede { font-size: 24px; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.desc { max-width: 560px; color: var(--ink); }
.soon { font-weight: 600; font-size: 15px; }
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 600; border-radius: 6px;
}
.button:hover { background: var(--red-dark); color: #fff; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  /* soften the seam between the flat wall colour and the photo's top edge */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%);
  mask-image: linear-gradient(to bottom, transparent, #000 12%);
}
.tag {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 4px;
}

/* Wide screens: copy sits over the image's clear upper-left wall */
@media (min-width: 1200px) {
  .hero-copy { position: absolute; inset: 0 0 auto; z-index: 1; padding-top: 40px; }
  .hero { padding-top: 140px; }
  .hero h1 { font-size: 52px; }
  .desc { max-width: 480px; font-size: 16px; }
}

/* Sections */
.section { padding-block: 72px; }
.section + .section { border-top: 1px solid var(--line); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--silver); }
.gallery figcaption { padding-top: 12px; font-weight: 600; font-size: 19px; }
.note { margin-top: 24px; color: var(--muted); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { border-top: 2px solid var(--red); padding-top: 16px; color: var(--muted); }
.steps strong { display: block; color: var(--ink); font-size: 20px; margin-bottom: 4px; }
.caution { max-width: 760px; padding-left: 16px; border-left: 3px solid var(--line); color: var(--muted); }

#contact p { font-size: 19px; }
#contact a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--silver); border-top: 1px solid var(--line); padding-block: 40px; font-size: 15px; color: var(--muted); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .logo img { width: 88px; height: 88px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.statements { margin-top: 24px; max-width: 820px; }
.copyright { margin: 0; }

/* Legal pages */
.legal { max-width: 760px; padding-block: 56px 72px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal .meta { color: var(--muted); font-size: 15px; }
.legal .draft { background: var(--silver); border-left: 3px solid var(--red); padding: 12px 16px; font-size: 15px; }

@media (max-width: 767px) {
  body { font-size: 16px; }
  .logo img { width: 88px; height: 88px; }
  .site-header nav a { padding: 0 8px; }
  .hero-copy { padding-block: 24px 16px; }
  .hero h1 { font-size: 36px; }
  .lede { font-size: 21px; }
  h2 { font-size: 28px; }
  .section { padding-block: 48px; }
  .gallery, .steps { grid-template-columns: 1fr; gap: 24px; }
  .legal h1 { font-size: 32px; }
}
