:root {
  color-scheme: light;
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  min-height: 76px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { width: auto; height: 24px; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: calc(100svh - 76px);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(64px, 8vw, 126px) 7vw 72px 4vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
}
.eyebrow {
  margin: 0 0 28px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, .serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
}
h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(60px, 8.2vw, 134px);
  line-height: .87;
}
.hero-lede {
  margin: 38px 0 0;
  max-width: 540px;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.48;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  min-height: 50px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: var(--yipy-corner-radius);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .04em;
}
.button.primary { background: var(--red); border-color: var(--red); color: white; }
.button.secondary:hover, .button.secondary:focus-visible { background: var(--ink); color: white; }
.button-note { color: var(--muted); font-size: 12px; }
.hero-media { position: relative; min-height: 620px; overflow: hidden; background: #d8d0c5; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.photo-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 10px 12px;
  background: rgba(17,17,17,.88);
  color: white;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.manifesto {
  padding: clamp(84px, 11vw, 172px) 4vw;
  border-bottom: 1px solid var(--line);
}
.manifesto blockquote {
  margin: 0;
  max-width: 1320px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.6vw, 106px);
  line-height: .98;
  letter-spacing: -.045em;
}
.manifesto blockquote span { color: var(--red); }

.section { padding: clamp(76px, 9vw, 140px) 4vw; border-bottom: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: 48px;
  margin-bottom: 72px;
}
.section-heading h2 { margin: 0; font-size: clamp(44px, 6vw, 88px); line-height: .95; }
.section-heading p { margin: 10px 0 0; max-width: 620px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.step { min-height: 265px; padding: 22px 24px 28px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 24px; }
.step:last-child { border-right: 0; }
.step-number { color: var(--red); font-size: 12px; letter-spacing: .12em; }
.step h3 { margin: 64px 0 14px; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.memory-grid { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 14px; }
.memory-card { position: relative; min-height: 520px; overflow: hidden; background: #ddd; }
.memory-card:nth-child(2) { min-height: 440px; align-self: end; }
.memory-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.memory-card:hover img { transform: scale(1.025); }
.memory-meta { position: absolute; inset: auto 0 0; padding: 22px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.memory-meta strong { display: block; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.memory-meta span { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { min-height: 360px; padding: 38px; background: var(--white); display: flex; flex-direction: column; justify-content: space-between; }
.principle .mark { color: var(--red); font-family: var(--serif); font-size: 46px; }
.principle h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.principle p { margin: 0; color: var(--muted); line-height: 1.6; }

.closing { padding: clamp(90px, 13vw, 200px) 4vw; text-align: center; background: var(--ink); color: white; }
.closing h2 { margin: 0 auto 32px; max-width: 980px; font-size: clamp(54px, 8vw, 124px); line-height: .9; }
.closing p { margin: 0 auto 34px; max-width: 600px; color: #bdbdb7; font-size: 18px; line-height: 1.6; }

.site-footer { padding: 34px 4vw; background: var(--ink); color: #c9c9c3; border-top: 1px solid #343434; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.footer-brand img { width: auto; height: 20px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { text-decoration: none; font-size: 12px; }
.footer-links a:hover, .footer-links a:focus-visible { color: white; }
.footer-legal { margin: 42px 0 0; font-size: 11px; color: #74746f; }

.legal-shell { max-width: 1180px; margin: 0 auto; padding: clamp(72px, 9vw, 128px) 4vw 140px; display: grid; grid-template-columns: .42fr 1fr; gap: 8vw; }
.legal-aside { position: sticky; top: 110px; align-self: start; }
.legal-aside h1 { font-size: clamp(52px, 6vw, 88px); line-height: .92; }
.legal-aside .updated { margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.legal-content { max-width: 720px; }
.legal-content .intro { font-family: var(--serif); font-size: 28px; line-height: 1.35; }
.legal-content h2 { margin: 64px 0 18px; font-size: 34px; line-height: 1.1; }
.legal-content h3 { margin: 32px 0 12px; font-size: 17px; }
.legal-content p, .legal-content li { color: #3f3f3b; line-height: 1.72; font-size: 15px; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--red); text-underline-offset: 3px; }
.callout { margin: 42px 0; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.callout strong { display: block; margin-bottom: 8px; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 48px; }
.support-card { min-height: 190px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.support-card h2 { margin: 0 0 14px; font-size: 26px; }
.support-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.support-card a { display: inline-block; margin-top: 24px; color: var(--red); font-weight: 650; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

@media (max-width: 900px) {
  .site-header { min-height: 66px; }
  .site-nav a:not(.nav-essential) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; padding: 74px 5vw 54px; }
  .hero-media { min-height: 62svh; }
  .section-heading, .legal-shell { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .memory-grid { grid-template-columns: 1fr 1fr; }
  .memory-card:first-child { grid-column: 1 / -1; }
  .principles { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
}

@media (max-width: 600px) {
  .site-header { padding: 0 20px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 11px; }
  .hero-copy, .section, .manifesto, .closing { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: clamp(58px, 19vw, 84px); }
  .hero-lede { font-size: 17px; }
  .steps, .memory-grid, .support-grid { grid-template-columns: 1fr; }
  .step, .step + .step { min-height: 220px; padding: 22px 0 28px; border-right: 0; border-top: 1px solid var(--line); }
  .step h3 { margin-top: 46px; }
  .memory-card, .memory-card:nth-child(2) { min-height: 430px; }
  .memory-card:first-child { grid-column: auto; }
  .footer-row { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .legal-shell { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
