:root {
  color-scheme: light;
  --paper: #f6f5ed;
  --ink: #233f35;
  --muted: #626b60;
  --line: #cdd1c3;
  --accent: #79668f;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }
::selection { background: #ded5e8; color: #233f35; }

.page {
  max-width: 1440px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 clamp(24px, 6.25vw, 90px);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

h1 {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin: 0;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1.1px;
}
.brand-mark { width: auto; height: 1cap; flex-shrink: 0; }

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 0 10px 12px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: var(--ink); }
.motion-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.motion-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.play-icon { display: none; }
.motion-paused .pause-icon { display: none; }
.motion-paused .play-icon { display: block; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 43vw, 580px);
}

.statement {
  position: relative;
  margin: 52px 0 60px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(66px, 7.7vw, 108px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.statement em { font-weight: 400; color: var(--accent); }

.field {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -3%;
  width: 60%;
  transform: translateY(-50%);
  pointer-events: none;
}
.decomposition { display: block; width: 100%; height: auto; }
.block {
  transform: translate(var(--dx), var(--dy));
  stroke: #9da897;
  stroke-width: 0.85;
  stroke-linejoin: round;
}
.block-top { fill: #eef0e6; }
.block-left { fill: #e1e6d7; }
.block-right { fill: #d1dbc8; }
.block-accent { stroke: #aa9bc5; }
.block-accent .block-top { fill: #e4dcf4; }
.block-accent .block-left { fill: #cfc0ec; }
.block-accent .block-right { fill: #b6a1dc; }
.motion-ready .block { animation: decompose 18s ease-in-out infinite; }
.motion-paused .block { animation-play-state: paused; }

.story {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 7vw, 110px);
  border-top: 1px solid var(--line);
  padding: 38px 0 48px;
}
.story p { margin: 0; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; text-wrap: pretty; }
.context { color: var(--muted); }
.vision { color: var(--ink); }
.vision strong { font-weight: 600; }
.end-rule { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); padding-bottom: 30px; }
.end-rule span { display: block; background: var(--accent); width: 36px; height: 3px; margin-top: -2px; }

@keyframes decompose {
  0%, 12%, 88%, 100% { transform: translate(0, 0); }
  44%, 56% { transform: translate(var(--dx), var(--dy)); }
}

@media (max-width: 700px) {
  .masthead { min-height: 88px; }
  h1 { font-size: 24px; gap: 10px; }
  .hero { min-height: 490px; align-items: flex-start; }
  .statement { width: 100%; text-align: center; font-size: clamp(58px, 10.7vw, 76px); margin: 48px 0 0; }
  .field { width: min(360px, 100%); top: auto; bottom: 0; left: 50%; right: auto; transform: translateX(-50%); opacity: 0.85; }
  .story { grid-template-columns: 1fr; gap: 25px; padding: 30px 0 36px; }
  .story p { font-size: 17px; }
}

@media (max-width: 360px) {
  .page { padding: 0 20px; }
  .motion-toggle { font-size: 11px; gap: 5px; }
  .hero { min-height: 450px; }
  .statement { font-size: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .block { animation: none; }
  .motion-toggle { display: none; }
}

@media print {
  .page { padding: 0; }
  .motion-toggle, .field { display: none; }
  .hero { min-height: auto; }
  .statement { margin: 36px 0; font-size: 56px; }
  .story { display: block; }
  .story p + p { margin-top: 20px; }
}
