@font-face { font-family: "Fredoka"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/Fredoka-Regular.ttf") format("truetype"); }
@font-face { font-family: "Fredoka"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/Fredoka-Medium.ttf") format("truetype"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Fredoka-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/Fredoka-Bold.ttf") format("truetype"); }

:root {
  --canvas: #F7F8F1;
  --card: #FFFEFA;
  --ink: #17241C;
  --body: #52665A;
  --green: #3E6B4A;
  --line: #D0DFCA;
  --amber: #F1AE3A;
  --coral: #D86236;
  --leaf: #5D9B6A;
  --sand: #F9E5D0;
  --shadow: rgba(23, 36, 28, 0.22);
  --font: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #18241C;
    --card: #1F2E24;
    --ink: #F4F6EC;
    --body: #B7C8BC;
    --green: #8FCB9C;
    --line: #34473A;
    --shadow: rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--canvas);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); color: var(--ink); padding: 8px 12px; z-index: 2; border-radius: 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; padding-bottom: 28px;
}

.mark {
  font: 700 1.75rem/1 var(--font); letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.mark img { width: 36px; height: 36px; border-radius: 9px; display: block; }

nav.site { display: flex; gap: 24px; }
nav.site a { color: var(--body); text-decoration: none; font-size: 1rem; font-weight: 500; white-space: nowrap; padding: 8px 0; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--ink); }
nav.site a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }

h1, h2, h3 { font-family: var(--font); letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; padding: 40px 0 88px; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.25rem); line-height: 1; }
.hero p.lede { margin-top: 24px; max-width: 38ch; font-size: 1.3125rem; line-height: 1.5; color: var(--body); }
.hero .soon {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; background: var(--sand); color: #17241C;
  font: 600 0.9375rem/1 var(--font);
}
.hero .soon i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.hero .art { justify-self: center; width: min(100%, 440px); position: relative; padding-bottom: 20px; }
.hero .art::before {
  content: ""; position: absolute; inset: 6% 4% 0; border-radius: 50%;
  background: var(--amber); opacity: 0.28; z-index: 0;
}
.hero .art img { position: relative; display: block; width: 100%; height: auto; z-index: 1; }

.stages { border-top: 1px solid var(--line); padding: 56px 0; }
.stages h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); line-height: 1.15; }
.stages p { margin-top: 12px; max-width: 60ch; color: var(--body); }
.stages ol { list-style: none; padding: 0; margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stages li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 12px 14px; text-align: center; font-weight: 500; }
.stages li img { display: block; width: min(100%, 128px); height: auto; margin: 0 auto 8px; }

.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.row h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.row p { color: var(--body); max-width: 58ch; }
.row p + p { margin-top: 12px; }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 80px 0 96px; align-items: start; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -22px var(--shadow); background: var(--card); }

footer.site {
  background: linear-gradient(var(--line), var(--line)) 24px 0 / calc(100% - 48px) 1px no-repeat;
  padding-top: 32px; padding-bottom: 48px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  color: var(--body); font-size: 0.9375rem;
}
footer.site nav { display: flex; gap: 24px; }
footer.site a { color: var(--body); white-space: nowrap; }

article.doc { max-width: 68ch; padding: 32px 0 96px; }
article.doc h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1.05; }
article.doc .date { margin-top: 16px; font: 500 0.9375rem/1.4 var(--font); color: var(--body); }
article.doc .summary { margin-top: 32px; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--amber); border-radius: 16px; }
article.doc .summary ul { margin-top: 0; }
article.doc .summary p { margin-top: 0; }
article.doc h2 { font-size: 1.625rem; line-height: 1.2; margin-top: 48px; }
article.doc h3 { font-size: 1.1875rem; line-height: 1.4; margin-top: 28px; }
article.doc p, article.doc ul, article.doc ol { margin-top: 12px; color: var(--body); }
article.doc ul, article.doc ol { padding-left: 1.25em; }
article.doc li + li { margin-top: 6px; }
article.doc strong { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 8px 0 56px; gap: 32px; }
  .hero .art { order: -1; width: min(72%, 320px); }
  .stages ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 28px 0; }
  .shots { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 56px 0 64px; max-width: 360px; margin: 0 auto; }
  nav.site { gap: 16px; }
  header.site { padding-top: 20px; padding-bottom: 16px; }
}
article.doc .summary + p { margin-top: 24px; }
