:root {
  --ink: #17231d;
  --paper: #f4f1ea;
  --accent: #e95935;
  --line: rgba(23, 35, 29, 0.2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header, main, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; font-weight: 600; letter-spacing: .08em; }
.brand-mark { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.status { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #3c9a63; box-shadow: 0 0 0 5px rgba(60,154,99,.12); }

.hero { min-height: 650px; padding: 92px 0 72px; position: relative; }
.hero::after { content: "✳"; position: absolute; right: 4%; top: 40%; color: var(--accent); font-size: clamp(70px, 10vw, 140px); animation: turn 24s linear infinite; }
.eyebrow { margin: 0 0 25px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 600; }
h1 { margin: 0; max-width: 780px; font: 400 clamp(90px, 15vw, 190px)/.72 "Instrument Serif", serif; letter-spacing: -.055em; }
h1 em { color: var(--accent); font-weight: 400; }
.intro { max-width: 500px; margin: 55px 0 34px; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.actions { display: flex; align-items: center; gap: 12px; }
.button { min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; display: inline-flex; align-items: center; gap: 28px; color: inherit; background: transparent; font: 600 14px "DM Sans", sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s, color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--ink); }
.button-primary:hover { background: var(--accent); border-color: var(--accent); }
.button-quiet { border-color: transparent; }

.details { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.details article { padding: 38px 32px 60px 0; border-right: 1px solid var(--line); }
.details article + article { padding-left: 32px; }
.details article:last-child { border-right: 0; }
.number { color: var(--accent); font-size: 12px; font-weight: 600; }
h2 { margin: 42px 0 12px; font: 400 36px "Instrument Serif", serif; }
.details p { max-width: 280px; margin: 0; color: rgba(23,35,29,.7); line-height: 1.6; font-size: 14px; }

footer { display: flex; justify-content: space-between; padding: 28px 0 35px; border-top: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 20; transform: translate(-50%, 120px); padding: 14px 18px; color: var(--paper); background: var(--ink); border-radius: 999px; box-shadow: 0 12px 35px rgba(0,0,0,.2); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.toast.show { transform: translate(-50%, 0); }

@keyframes turn { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 30px, 1180px); }
  .site-header { height: 76px; }
  .hero { min-height: 610px; padding-top: 75px; }
  .hero::after { top: 51%; right: 0; font-size: 58px; }
  h1 { font-size: clamp(82px, 28vw, 125px); }
  .intro { margin-top: 48px; max-width: 85%; }
  .actions { align-items: flex-start; flex-direction: column; }
  .details { grid-template-columns: 1fr; }
  .details article, .details article + article { padding: 30px 0 36px; border-right: 0; border-bottom: 1px solid var(--line); }
  .details article:last-child { border-bottom: 0; }
  h2 { margin-top: 22px; }
}

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