:root {
  color-scheme: light;
  --ink: #17243a;
  --muted: #607083;
  --line: #dbe3e9;
  --paper: #f7f5ef;
  --white: #fffef9;
  --blue: #315f9b;
  --green: #477b69;
  --amber: #b0783d;
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
img { display: block; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 20; transform: translateY(-200%); padding: .6rem .9rem; border-radius: .5rem; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }

.site-header, main, footer { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 9px; }
nav { display: flex; gap: 2rem; }
nav a { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--ink); }

.hero { min-height: 590px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: 5rem 0 4rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 12ch; margin-bottom: 1.5rem; font-size: clamp(3.2rem, 7vw, 5.8rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2.25rem, 4vw, 3.5rem); }
h3 { font-size: 1.4rem; }
.lead { max-width: 42rem; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.button { display: inline-block; padding: .8rem 1.15rem; border-radius: 999px; background: var(--ink); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--blue); }
.text-link { font-weight: 700; text-decoration: none; }

.hero-art { position: relative; aspect-ratio: 1 / .88; overflow: hidden; border-radius: 2rem; background: #d8e6eb; box-shadow: 0 1.5rem 4rem #17355a18; isolation: isolate; }
.sun { position: absolute; top: 13%; right: 14%; width: 19%; aspect-ratio: 1; border-radius: 50%; background: #f5c775; }
.hill { position: absolute; left: -15%; width: 130%; height: 55%; border-radius: 50% 50% 0 0; }
.hill-back { bottom: 15%; background: #739481; transform: rotate(-6deg); }
.hill-front { bottom: -7%; left: 24%; background: #3e6d62; transform: rotate(7deg); }
.water { position: absolute; inset: auto 0 0; height: 24%; background: linear-gradient(#8fbcc5, #709da8); z-index: 3; }
.bridge { position: absolute; left: 8%; right: 8%; top: 52%; height: 12%; border-top: 8px solid #f4eee1; border-radius: 50%; z-index: 5; }
.bridge i { position: absolute; top: 0; width: 7px; height: 110%; background: #f4eee1; }
.bridge i:nth-child(1) { left: 18%; }.bridge i:nth-child(2) { left: 49%; }.bridge i:nth-child(3) { right: 18%; }

.intro-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 1.5rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.intro-strip p { margin: 0; color: var(--muted); font-size: .92rem; }
.intro-strip strong { display: block; color: var(--ink); }
.section { padding: 7rem 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading > p:last-child { color: var(--muted); }
.row-heading { max-width: none; display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 4rem; }
.row-heading > p { padding-bottom: .5rem; }

.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.collection-card { min-height: 330px; display: flex; flex-direction: column; padding: 2rem; border-radius: 1.25rem; color: white; }
.collection-card.blue { background: var(--blue); }.collection-card.green { background: var(--green); }.collection-card.amber { background: var(--amber); }
.card-number { margin-bottom: auto; font: 700 .78rem/1 ui-monospace, monospace; opacity: .75; }
.collection-card h3 { margin: 3rem 0 .75rem; font-size: 1.65rem; }
.collection-card p { margin: 0 0 1.5rem; opacity: .84; }
.collection-card a { font-weight: 750; text-decoration: none; }

.notes-section { padding-bottom: 4rem; }
.note { display: grid; grid-template-columns: .55fr 1fr 1.35fr; gap: 2.5rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.note-meta { display: flex; flex-direction: column; gap: .35rem; color: var(--muted); font-size: .82rem; }
.note-meta span { color: var(--blue); font-weight: 700; }
.note h3 { margin: 0; font-size: 1.55rem; }
.note > p { margin: 0; color: var(--muted); }

.rhythm-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 6rem; }
.rhythm { margin: 0; padding: 0; list-style: none; counter-reset: rhythm; }
.rhythm li { counter-increment: rhythm; display: grid; grid-template-columns: 2.5rem .65fr 1.35fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.rhythm li::before { content: "0" counter(rhythm); color: var(--blue); font: 700 .75rem/1.8 ui-monospace, monospace; }
.rhythm span { font-weight: 800; }
.rhythm p { margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; padding: 7rem 0; }
.about p { color: var(--muted); }
footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2rem; padding: 2.5rem 0 3.5rem; color: var(--muted); font-size: .88rem; }
.footer-brand { color: var(--ink); }

@media (max-width: 820px) {
  .site-header, main, footer { width: min(100% - 2rem, 680px); }
  nav { gap: 1rem; } nav a { font-size: .82rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-art { max-height: 480px; }
  .intro-strip, .collection-grid, .row-heading, .note, .rhythm-section, .about { grid-template-columns: 1fr; }
  .intro-strip { gap: 1.25rem; }
  .row-heading, .rhythm-section, .about { gap: 1rem; }
  .note { gap: 1rem; }
  footer { grid-template-columns: 1fr; gap: .3rem; }
}

@media (max-width: 520px) {
  .site-header { min-height: 70px; }
  nav a:nth-child(1) { display: none; }
  h1 { font-size: 3.1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section, .about { padding: 5rem 0; }
  .collection-card { min-height: 285px; }
  .rhythm li { grid-template-columns: 2rem 1fr; }
  .rhythm li p { grid-column: 2; }
}

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