:root {
  color-scheme: light dark;
  --fg: #1a1a1a;
  --bg: #faf9f6;
  --muted: #6b6259;
  --accent: #8a5a35;
  --rule: #cdc4b6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f0ebe3;
    --bg: #14120f;
    --muted: #b9ac9d;
    --accent: #d9a97f;
    --rule: #35302a;
  }
}

html {
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body { margin: 0; }

.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1.1rem, 4vw, 2rem) 4rem;
}

/* Masthead: text and imagery intentionally overlap — art-directed layering. */
.masthead {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.masthead-text { position: relative; z-index: 2; max-width: 32rem; }

.kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 0.7rem;
  font-weight: 650;
}

.lede { margin: 0; color: var(--muted); max-width: 34ch; }

.plates { position: relative; height: 330px; }

.plates img {
  position: absolute;
  display: block;
  height: auto;
  max-width: 100%;
}

.img-01 { top: 0; left: 0; width: 100%; z-index: 1; }
.img-03 { top: 46%; right: 0; width: 58%; z-index: 3; }

/* Sections */
.group {
  border-top: 1px solid var(--rule);
  padding: 1.15rem 0 0.2rem;
  margin-top: 1.75rem;
}

h2 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
  font-weight: 650;
}

.urls {
  list-style: none;
  margin: 0;
  padding: 0;
}

.urls li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.urls a { color: var(--fg); text-decoration-color: var(--accent); }
.urls a:hover { color: var(--accent); }

.ph { font-weight: 600; color: var(--muted); }

.img-02 {
  display: block;
  width: 100%;
  height: auto;
  margin: 1rem 0 0;
}

.foot {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.86rem;
}
.foot p { margin: 0.2rem 0; }

a:focus-visible, .ph:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  html { font-size: 19px; }
  .masthead { grid-template-columns: 1.05fr 1fr; align-items: start; column-gap: 2.5rem; }
  .plates { height: 392px; }
  .img-01 { width: 88%; }
  .img-03 { width: 52%; }
  .lede { font-size: 1.05rem; }
  .group-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 2.5rem;
  }
  .group-split .img-02 { margin: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .plates img { will-change: transform; }
  .img-01 { transform: translate3d(0, 0, 0); }
  .img-03 { transform: translate3d(0, 0, 0); }
}
