/* Sedimental: one-page site. Colours and type are the game's own (Creekside design tokens). */

@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Condensed"; src: url("fonts/IBMPlexSansCondensed-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --surface: #FBFAF6;
  --cream: #F3F0E8;
  --paper: #EDE6D4;
  --forest: #36523F;
  --stone: #7D827C;
  --creek: #4F7C8A;
  --ink: #1E221F;
  --ink-soft: #4A504B;
  --sepia: #7B5B3B;
  --line: rgba(30, 34, 31, 0.14);
  --radius: 12px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --cond: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.wrap.narrow { margin: 0 auto; }
.center { text-align: center; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 900px); display: grid; place-items: center; overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__card { position: relative; margin: 48px 16px; padding: 40px 48px 44px; max-width: 560px; text-align: center; background: rgba(243, 240, 232, 0.94); border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
.kicker { margin: 0 0 12px; font: 500 14px/1 var(--cond); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.wordmark { font-weight: 400; font-size: clamp(56px, 11vw, 96px); letter-spacing: -0.01em; }
.tagline { margin: 10px 0 28px; font: italic 400 clamp(20px, 3.4vw, 28px)/1.3 var(--serif); color: var(--sepia); }

.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--forest); color: var(--surface); font: 600 16px/1 var(--sans); text-decoration: none; }
.btn:hover, .btn:focus-visible { background: #2B4433; }
.btn:focus-visible { outline: 3px solid var(--creek); outline-offset: 3px; }

/* Sections */
.section { padding: 80px 0; }
.section--paper { background: var(--paper); }
.section--status { background: var(--forest); color: var(--surface); }
.section__title { font-size: clamp(32px, 5vw, 44px); margin-bottom: 24px; }
.lede { font: 400 clamp(21px, 2.6vw, 25px)/1.45 var(--serif); margin: 0 0 20px; }
.section--paper p:not(.lede) { color: var(--ink-soft); }
.note { margin: 12px 0 0; font: 500 13px/1 var(--cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }

.video { border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 12px 40px rgba(30, 34, 31, 0.2); }
.video video { width: 100%; aspect-ratio: 16 / 9; }

/* The loop */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; }
.step img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 18px; }
.step__num { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); font: 500 18px/1 var(--serif); }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); }

/* Places */
.places { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.places li { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font: 500 19px/1.25 var(--serif); }

/* Gallery */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.section--status .section__title { margin-bottom: 12px; }
.section--status p { margin: 0; color: rgba(251, 250, 246, 0.85); }

.footer { padding: 28px 0; font-size: 14px; color: var(--stone); }
.footer p { margin: 0; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .places { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .section { padding: 56px 0; }
  .hero__card { padding: 28px 20px 32px; }
  .gallery { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
