:root {
  --ground: #0F3D2E;
  --ink: #F2F1EA;
  --accent: #FF8A5C;
  --muted: #B9C7BE;
  --soft: #D5DDD7;
  --rule: #3F6656;
  --print-ink: #33423A;
  --photo: #C9CFC9;

  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { background: var(--ground); color-scheme: dark; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

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

.label, .topbar, .elsewhere, .num, .site, .why, figcaption { font-family: var(--mono); }

/* Top bar */
.topbar {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px;
  padding: 24px 0; font-size: 13px; color: var(--muted);
}

/* Hero */
.hero { position: relative; padding: 40px 0 72px; border-bottom: 2px solid var(--ink); }

.wordmark {
  margin: 0;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(96px, 21vw, 300px); line-height: 0.82; letter-spacing: -0.02em;
}
.accent { color: var(--accent); }

.sticker {
  position: absolute; right: 0; top: 48px; display: block;
  width: clamp(104px, 14vw, 180px); aspect-ratio: 1;
}
.sticker svg { width: 100%; height: 100%; display: block; transition: transform .4s ease; }
.sticker:hover svg { transform: rotate(20deg); }
.sticker-bg { fill: var(--accent); }
.sticker-text { font-family: var(--mono); font-size: 17px; font-weight: 500; letter-spacing: 3px; fill: var(--ground); }
.sticker-arrow { fill: none; stroke: var(--ground); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

.intro {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 32px 64px; margin-top: 48px;
}
.lede {
  flex: 999 1 520px; min-width: 0; max-width: 760px; margin: 0;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; font-weight: 500;
}
.elsewhere { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.elsewhere a {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 44px; border-bottom: 1px solid var(--rule);
}

/* Section labels */
.label { margin: 0 0 24px; font-size: 13px; font-weight: 500; color: var(--muted); }

/* App index */
.apps { padding: 64px 0 88px; }
.index { list-style: none; margin: 0; padding: 0; }
.index .row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 200px;
  align-items: baseline; column-gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
}
a.row:hover { color: var(--ink); }
a.row:hover .name { color: var(--accent); }
.num { font-size: 13px; color: var(--muted); }
.text { display: flex; flex-direction: column; gap: 10px; }
.name {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 5.2vw, 72px); line-height: 0.95;
  transition: color .15s ease;
}
.desc { max-width: 560px; font-size: 16px; line-height: 1.45; color: var(--soft); }
.site { justify-self: end; font-size: 13px; color: var(--muted); }

/* Film prints */
.film { padding: 0 0 96px; }
.film .label { margin-bottom: 32px; }
.prints {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: 32px; padding: 16px 0;
}
.print {
  margin: 0; flex: 0 1 300px;
  background: var(--ink); padding: 12px 12px 40px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.tilt-a { transform: rotate(-3deg); }
.tilt-b { transform: rotate(2deg); margin-top: 24px; }
.tilt-c { transform: rotate(-1deg); }
.print img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover; background: var(--photo);
}
figcaption { padding-top: 12px; font-size: 12px; color: var(--print-ink); }

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; padding: 48px 0 40px; border-top: 2px solid var(--ink);
}
.hello {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 8vw, 120px); line-height: 0.9;
}
.why { font-size: 13px; color: var(--muted); }

/* Phones: keep the sticker clear of the wordmark */
@media (max-width: 600px) {
  .index .row { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; }
  .site { grid-column: 2; justify-self: start; margin-top: 10px; }
  .sticker { top: auto; bottom: -52px; right: 0; width: 104px; }
  .tilt-b { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sticker svg, .name { transition: none; }
  .sticker:hover svg { transform: none; }
}
