:root {
  --ink: #2f211b;
  --ink-soft: #705a4f;
  --paper: #fbf6ed;
  --paper-deep: #f2e5d2;
  --ember: #c95722;
  --ember-dark: #9d3715;
  --apricot: #efa45b;
  --line: rgba(80, 53, 38, 0.18);
  --dark: #3a1c11;
  --cream: #fff9ef;
  --max-width: 1440px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.15;
  content: "";
  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='.25'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img, svg { display: block; }
a { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, padding 240ms ease;
}
.site-header.is-scrolled {
  padding-block: 0.75rem;
  background: rgba(251, 246, 237, 0.9);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}
.brand-mark { width: 1.45rem; color: var(--ember); }
.brand-mark svg { width: 100%; fill: currentColor; }
.desktop-nav { display: flex; gap: clamp(1.5rem, 3vw, 3.5rem); }
.desktop-nav a {
  position: relative;
  font-size: 0.77rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-cta {
  justify-self: end;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}
.header-cta:hover, .header-cta:focus-visible { color: var(--paper); background: var(--ink); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(35rem, 1.45fr);
  align-items: center;
  min-height: min(58rem, 100svh);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8.5rem var(--gutter) 4rem;
  overflow: hidden;
}
.hero::before {
  position: absolute;
  top: 16%;
  left: -6rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(201, 87, 34, 0.18);
  border-radius: 50%;
  content: "";
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 1.5rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--ember-dark);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow span { width: 2.25rem; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 0.96; }
h1 { max-width: 7ch; font-size: clamp(4.1rem, 7.5vw, 7.8rem); letter-spacing: -0.065em; }
h1 em, h2 em { color: var(--ember); font-weight: 400; }
.hero-lead { max-width: 33rem; margin: 2rem 0 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 1.75rem; margin-top: 2.25rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.8rem 1.35rem;
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.button svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 180ms ease; }
.button:hover svg, .button:focus-visible svg { transform: translateX(0.25rem); }
.button-primary { color: var(--cream); background: var(--ember); }
.button-primary:hover, .button-primary:focus-visible { background: var(--ember-dark); }
.text-link { font-size: 0.8rem; font-weight: 700; text-underline-offset: 0.35rem; }
.hero-art { position: relative; z-index: 1; margin-left: -8%; }
.hero-art::after {
  position: absolute;
  inset: 8% 3% 6% 6%;
  z-index: -1;
  border-radius: 48% 52% 44% 56%;
  content: "";
  background: #e8b16d;
  filter: blur(35px);
  opacity: 0.26;
}
.hero-art img {
  width: 120%;
  max-width: none;
  transform: translateX(-2%);
  filter: saturate(0.9) contrast(1.02);
  -webkit-mask-image: radial-gradient(ellipse 68% 54% at 52% 52%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 54% at 52% 52%, #000 55%, transparent 100%);
}
.sun-orbit { position: absolute; z-index: -1; border: 1px solid rgba(201, 87, 34, 0.25); border-radius: 50%; }
.orbit-one { inset: 7% 12% 5% 12%; }
.orbit-two { inset: 15% 19% 13% 19%; }
.art-note {
  position: absolute;
  right: 4%;
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: rgba(251, 246, 237, 0.86);
  border-left: 2px solid var(--ember);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.art-note span { color: var(--ember); font-family: Inter, sans-serif; font-size: 0.65rem; font-weight: 800; }
.hero-side-note {
  position: absolute;
  right: -5.1rem;
  top: 50%;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(90deg);
}

.section-shell {
  display: grid;
  grid-template-columns: minmax(10rem, 0.28fr) 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
  border-top: 1px solid var(--line);
}
.section-index { display: flex; align-items: flex-start; gap: 0.9rem; color: var(--ember); }
.section-index span { font-size: 0.68rem; font-weight: 800; }
.section-index p { margin: -0.35rem 0 0; color: var(--ink); font-family: Georgia, serif; font-size: 1.05rem; }
.manifesto-content { max-width: 64rem; }
.manifesto h2, .journey h2 { font-size: clamp(3.25rem, 6vw, 6.2rem); letter-spacing: -0.055em; }
.manifesto-lead { max-width: 47rem; margin: 2.5rem 0 4rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.principles { border-top: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.principle-number { color: var(--ember); font-family: Georgia, serif; font-style: italic; }
.principle h3, .step h3 { margin: 0 0 0.35rem; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.principle p, .step p { max-width: 42rem; margin: 0; color: var(--ink-soft); }

.quote-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 38rem;
  padding: 6rem var(--gutter);
  overflow: hidden;
  color: var(--cream);
  background: var(--dark);
}
.quote-section::before, .quote-section::after {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  content: "";
}
.quote-section::before { top: -18rem; left: -8rem; }
.quote-section::after { right: -10rem; bottom: -20rem; }
.quote-ember {
  position: absolute;
  width: 23rem;
  height: 23rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,87,34,0.65) 0, rgba(201,87,34,0.12) 40%, transparent 70%);
  filter: blur(4px);
}
blockquote { position: relative; z-index: 1; max-width: 55rem; margin: 0; text-align: center; }
blockquote svg { width: 2.6rem; margin: 0 auto 2.5rem; fill: var(--apricot); }
blockquote p { margin: 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 4.4vw, 4.2rem); line-height: 1.12; letter-spacing: -0.035em; }

.journey { background: var(--paper-deep); }
.journey-content { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 8rem 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.step-visual { display: flex; align-items: center; gap: 1rem; }
.step-icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; color: var(--ember); border: 1px solid rgba(201,87,34,0.34); border-radius: 50%; }
.step-icon svg { width: 2.25rem; fill: none; stroke: currentColor; stroke-width: 1.25; }
.step:nth-child(2) .step-icon svg { fill: currentColor; stroke: none; }
.step-number { color: var(--ember); font-size: 0.62rem; font-weight: 800; }

.safety {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(6rem, 10vw, 10rem) max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  color: var(--cream);
  background: var(--ember-dark);
}
.eyebrow-light { color: var(--apricot); }
.safety h2 { font-size: clamp(3.6rem, 6.5vw, 7rem); letter-spacing: -0.055em; }
.safety-copy > p:not(.eyebrow) { max-width: 36rem; margin: 2rem 0; color: rgba(255,249,239,0.74); font-size: 1.05rem; }
.button-light { color: var(--dark); background: var(--cream); }
.button-light:hover, .button-light:focus-visible { background: var(--apricot); }
.safety-list { align-self: end; padding-top: 4rem; }
.safety-list h3 { margin: 0 0 1.2rem; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.safety-list ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.2); }
.safety-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); color: rgba(255,249,239,0.78); }
.safety-list li span { color: var(--apricot); font-size: 0.66rem; font-weight: 800; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  font-size: 0.78rem;
}
.site-footer p { margin: 0; color: var(--ink-soft); }
.brand-footer { font-size: 0.95rem; }
.copyright { justify-self: end; }

.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.principle:nth-child(2), .step:nth-child(2) { transition-delay: 100ms; }
.principle:nth-child(3), .step:nth-child(3) { transition-delay: 200ms; }

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

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 0.82fr 1.18fr; }
  .hero-art { margin-left: -18%; }
  .hero-art img { width: 135%; }
  .journey-content { grid-template-columns: 1fr; }
  .journey-heading { max-width: 38rem; }
}

@media (max-width: 720px) {
  :root { --gutter: 1.25rem; }
  .site-header { position: absolute; padding-block: 1rem; }
  .site-header.is-scrolled { padding-block: 1rem; background: transparent; border-color: transparent; backdrop-filter: none; }
  .brand { font-size: 0.95rem; }
  .header-cta { display: none; }
  .hero {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 0;
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
  }
  .hero::before { top: 6rem; left: -10rem; }
  h1 { font-size: clamp(3.8rem, 19vw, 5.7rem); }
  .hero-lead { margin-top: 1.5rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-art {
    order: -1;
    height: 19rem;
    margin: -0.5rem -2.5rem 1rem;
    overflow: hidden;
  }
  .hero-art img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 145%;
    transform: translate(-50%, -48%);
  }
  .art-note, .hero-side-note, .sun-orbit { display: none; }
  .section-shell { grid-template-columns: 1fr; gap: 3rem; padding-block: 5rem; }
  .section-index { align-items: baseline; }
  .manifesto h2, .journey h2 { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  .manifesto-lead { margin-bottom: 3rem; }
  .quote-section { min-height: 31rem; padding-block: 5rem; }
  .step { grid-template-columns: 6.5rem 1fr; }
  .step-icon { width: 3.8rem; height: 3.8rem; }
  .safety { grid-template-columns: 1fr; padding-block: 5rem; }
  .safety h2 { font-size: clamp(3.5rem, 16vw, 5.2rem); }
  .safety-list { padding-top: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
  .site-footer > p:first-of-type { display: none; }
  .copyright { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
