:root {
  color-scheme: light;
  --ink: #191512;
  --muted: #6f6256;
  --paper: #f3eadc;
  --paper-soft: #fff9ef;
  --charcoal: #151210;
  --line: rgba(25, 21, 18, 0.14);
  --line-dark: rgba(255, 249, 239, 0.18);
  --orange: #e95f37;
  --yellow: #e9bf4f;
  --green: #74875d;
  --shadow: 0 28px 80px rgba(39, 27, 17, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(233, 95, 55, 0.26), transparent 24rem),
    radial-gradient(circle at 88% 6%, rgba(233, 191, 79, 0.22), transparent 26rem),
    linear-gradient(180deg, #fbf1e0 0%, var(--paper) 44%, #e7d8c3 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: linear-gradient(rgba(25, 21, 18, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 21, 18, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image: radial-gradient(rgba(25, 21, 18, 0.22) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

::selection {
  color: var(--paper-soft);
  background: var(--orange);
}

.topbar,
main {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(25, 21, 18, 0.1);
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.74);
  box-shadow: 0 16px 46px rgba(39, 27, 17, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav a,
.button {
  color: inherit;
  font-weight: 760;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 8px 0 0 var(--yellow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 160ms ease, background 160ms ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(25, 21, 18, 0.07);
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(64px, 9vw, 116px) 0 clamp(42px, 8vw, 86px);
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: clamp(0.76rem, 1vw, 0.88rem);
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(4.8rem, 12vw, 10.4rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.lede {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  border-color: transparent;
  color: var(--paper-soft);
  background: var(--charcoal);
  box-shadow: 0 14px 28px rgba(25, 21, 18, 0.18);
}

.secondary {
  background: rgba(255, 249, 239, 0.62);
}

.signal-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(25, 21, 18, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 249, 239, 0.9), rgba(255, 249, 239, 0.58)),
    radial-gradient(circle at 80% 10%, rgba(233, 95, 55, 0.26), transparent 18rem);
  box-shadow: var(--shadow);
}

.signal-card::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(25, 21, 18, 0.12);
  border-radius: 50%;
  content: "";
}

.dial {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  margin-bottom: 54px;
  border: 1px solid rgba(25, 21, 18, 0.12);
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--green), var(--yellow), var(--orange), var(--green));
}

.dial span {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--paper-soft);
  box-shadow: inset 0 0 0 1px rgba(25, 21, 18, 0.1);
}

.signal-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-value {
  max-width: 300px;
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  font-weight: 820;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.meter {
  overflow: hidden;
  height: 8px;
  margin-bottom: 16px;
  border-radius: 99px;
  background: rgba(25, 21, 18, 0.1);
}

.meter span {
  display: block;
  width: 74%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
}

.signal-note {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section {
  margin: clamp(22px, 4vw, 42px) 0;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(28px, 5.6vw, 68px);
  border: 1px solid var(--line-dark);
  border-radius: 38px;
  color: var(--paper-soft);
  background:
    radial-gradient(circle at 16% 12%, rgba(233, 95, 55, 0.32), transparent 28rem),
    linear-gradient(135deg, #201a16, #0f0d0c);
  box-shadow: var(--shadow);
}

.manifesto .kicker,
.ritual .kicker {
  color: var(--yellow);
}

.section-head h2 {
  max-width: 740px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 6.4vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.manifesto-copy {
  align-self: end;
  color: rgba(255, 249, 239, 0.72);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.56;
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
}

.slim {
  max-width: 780px;
  margin: clamp(54px, 8vw, 96px) 0 24px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid rgba(25, 21, 18, 0.12);
  border-radius: 30px;
  background: rgba(255, 249, 239, 0.62);
  box-shadow: 0 18px 54px rgba(39, 27, 17, 0.08);
}

.principle-card.featured {
  color: var(--paper-soft);
  background: var(--orange);
  transform: translateY(-18px);
}

.number {
  margin-bottom: auto;
  color: var(--green);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.featured .number {
  color: rgba(255, 249, 239, 0.74);
}

.principle-card h3 {
  margin: 44px 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.principle-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.featured p {
  color: rgba(255, 249, 239, 0.76);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quiet-box {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(25, 21, 18, 0.12);
  border-radius: 30px;
  background: rgba(255, 249, 239, 0.55);
}

.quiet-box.inverted {
  color: var(--paper-soft);
  background: var(--charcoal);
}

.quiet-box ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiet-box li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.quiet-box.inverted li {
  color: rgba(255, 249, 239, 0.72);
}

.quiet-box li::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
  background: var(--orange);
}

.ritual {
  min-height: 520px;
  display: grid;
  align-content: end;
  padding: clamp(28px, 7vw, 76px);
  border-radius: 42px 42px 0 0;
  color: var(--paper-soft);
  background:
    radial-gradient(circle at 82% 20%, rgba(233, 191, 79, 0.24), transparent 28rem),
    linear-gradient(145deg, #16120f, #2b1b16 58%, #111);
}

.ritual h2 {
  max-width: 960px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 8vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.ritual p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 249, 239, 0.72);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.55;
}

@media (max-width: 920px) {
  .hero,
  .manifesto,
  .principle-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .signal-card {
    max-width: 520px;
  }

  .principle-card,
  .principle-card.featured {
    min-height: 280px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .topbar,
  main {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(4.1rem, 20vw, 6.6rem);
    letter-spacing: -0.065em;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .dial {
    width: 132px;
    height: 132px;
    margin-bottom: 38px;
  }

  .dial span {
    width: 94px;
    height: 94px;
  }

  .manifesto,
  .ritual {
    border-radius: 28px;
  }
}
