/* Lawn demo — daylight cut. Continuous layered world.
   Grass, paper, ink. Type on the striped poster (hard crop, no dissolve).
   One peak: the finished yard, then the number. */

:root {
  --grass: #1F6B3A;
  --paper: #F3F1E7;
  --ink: #1A2418;
  --moss: #5C6B54;
  --line: rgba(243, 241, 231, 0.32);
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Inter Tight", "Segoe UI", Helvetica, Arial, sans-serif;
  --tap: 2.75rem;
  --pad: 1.15rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.011em;
  padding-bottom: calc(5.85rem + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

.peak-call:focus-visible,
.dock-call:focus-visible,
.skip:focus-visible {
  outline-color: var(--paper);
}

.close a:focus-visible,
footer a:focus-visible {
  outline-color: var(--grass);
}

::selection {
  background: var(--grass);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 80;
  background: var(--grass);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.studio-demo-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin: 0;
  padding: 0.45rem 1.1rem;
  padding-top: max(0.45rem, env(safe-area-inset-top, 0px));
  background: #1C2428;
  color: #F3EFE8;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.studio-demo-bar a {
  color: #F3EFE8;
  text-underline-offset: 0.15em;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

/* 1. Arrive — full-bleed striped-lawn poster. Type ON the poster over the hedge line. */

.arrive {
  margin: 0;
  background: var(--ink);
}

.still {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.still picture,
.still img {
  width: 100%;
  height: 100%;
  display: block;
}

.still img {
  object-fit: cover;
  object-position: 68% 58%;
}

.still-hero {
  min-height: 24rem;
  height: calc(100svh - 2.75rem);
  max-height: 54rem;
}

.plate {
  position: absolute;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 1.05rem 1.1rem 1.2rem;
}

.plate-hedge {
  left: 0;
  right: 0;
  bottom: 0;
}

.kicker,
.peak-kicker,
.season-name,
.towns-lead,
h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker {
  color: var(--paper);
}

h1 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.7rem, 7.4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.lede {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.08rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  max-width: 22rem;
  color: var(--paper);
}

/* 2. Work — type only. Next layer of the same yard. */

.work {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
}

.work-type {
  max-width: min(22rem, 100%);
  padding: 1.6rem 1.15rem 1.85rem;
}

.work-type .lede {
  font-size: 1.05rem;
}

/* 3. Peak — finished-yard green. One strip of seasons + giant number. */

.peak {
  background: var(--grass);
  color: var(--paper);
  padding: 2.1rem var(--pad) 2.4rem;
}

.peak-kicker {
  color: var(--paper);
}

.peak h2 {
  margin: 0.45rem 0 0.4rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.85rem, 8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.08;
  color: var(--paper);
}

.hint {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--paper);
  max-width: 28rem;
}

.strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin: 0 0 1.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.season {
  margin: 0;
  padding: 1rem 0.7rem 1.15rem;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.season:first-child {
  padding-left: 0;
}

.season:last-child {
  padding-right: 0;
  border-right: 0;
}

.season-name {
  color: var(--paper);
}

.season h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.05rem, 3.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.season p:last-child {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--paper);
}

.peak-prompt {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.peak-call {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.2rem auto 0;
  min-height: 4.25rem;
  padding: 0.35rem 0.2rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(2.05rem, 11vw, 3.55rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* 4. Close — towns. */

.close,
footer {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.close {
  background: var(--paper);
  color: var(--ink);
  padding-top: 2rem;
  padding-bottom: 2.15rem;
  max-width: 30rem;
  margin: 0 auto;
}

.close h2 {
  color: var(--moss);
  margin-bottom: 0.45rem;
}

.towns-lead {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.55rem, 6.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.15;
}

.towns {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
}

.where {
  margin: 0.85rem 0 0;
  color: var(--moss);
  font-size: 0.98rem;
}

footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: 1.6rem;
  padding-bottom: 1.5rem;
  font-size: 1.02rem;
}

footer p {
  margin: 0 0 0.4rem;
  max-width: 30rem;
}

footer a {
  color: var(--paper);
  font-weight: 700;
  text-underline-offset: 0.18em;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

.demo-mark {
  margin-top: 1.05rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C5CDB8;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  border-top: 2px solid var(--grass);
  z-index: 10;
}

.dock-call {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 0.75rem;
  min-height: var(--tap);
  background: var(--grass);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  max-width: 30rem;
  margin: 0 auto;
}

@media (min-width: 40rem) {
  .still-hero {
    height: calc(100svh - 2.6rem);
  }

  .still-hero img {
    object-position: 62% 52%;
  }

  .plate-hedge {
    left: auto;
    right: 0;
    bottom: 12%;
    width: min(23rem, 46%);
    padding: 1.25rem 1.4rem 1.4rem;
  }

  .work-type {
    padding: 2rem 1.5rem 2.15rem;
  }

  .peak,
  .close,
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .peak {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .season {
    padding: 1.2rem 1rem 1.35rem;
  }

  .season h3 {
    font-size: 1.5rem;
  }

  .season p:last-child {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
