:root {
  --paper: #f2ead9;
  --paper-strong: #f8f2e8;
  --mist: rgba(255, 255, 255, 0.42);
  --ink: #1a1815;
  --muted: #5b544b;
  --rust: #cb6c37;
  --moss: #4b6455;
  --sun: #e6b447;
  --line: rgba(26, 24, 21, 0.12);
  --line-strong: rgba(26, 24, 21, 0.18);
  --shadow: 0 24px 60px rgba(26, 24, 21, 0.1);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(230, 180, 71, 0.22), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(75, 100, 85, 0.12), transparent 22rem),
    radial-gradient(circle at 30% 72%, rgba(203, 108, 55, 0.06), transparent 24rem),
    linear-gradient(180deg, var(--paper-strong) 0%, var(--paper) 42%, #efe4cf 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 14px
    );
  opacity: 0.16;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.25rem;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-header {
  padding: 1rem 0 2.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(26, 24, 21, 0.18);
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: rgba(248, 242, 232, 0.72);
  box-shadow: 0 10px 24px rgba(26, 24, 21, 0.08);
}

.brand-text,
.site-meta,
.site-footer {
  font-size: 0.9rem;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-meta,
.site-footer {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
  padding: 0 0 4rem;
}

.hero-copy {
  max-width: 39rem;
  animation: rise 0.8s ease both;
}

.eyebrow,
.section-kicker,
.signal-label,
.note-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: var(--rust);
}

.hero h1,
.section-heading h2,
.origin h2 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 10ch;
  margin-top: 0.9rem;
  font-size: clamp(3.3rem, 6.8vw, 5.9rem);
  line-height: 0.93;
  text-wrap: pretty;
}

.lede {
  margin-top: 1.35rem;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.68;
  color: var(--muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.55rem;
}

.hero-tags span {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(26, 24, 21, 0.12);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--muted);
  background: rgba(248, 242, 232, 0.72);
  box-shadow: 0 8px 18px rgba(26, 24, 21, 0.05);
}

.signal-stack {
  position: relative;
  display: grid;
  gap: 0.95rem;
  align-self: stretch;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(230, 180, 71, 0.22), transparent 18rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.52), rgba(248, 242, 232, 0.22));
  border: 1px solid rgba(26, 24, 21, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-stack::before {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -7rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 100, 85, 0.14), transparent 70%);
}

.stack-kicker {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.signal-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 24, 21, 0.1);
  background: rgba(248, 242, 232, 0.92);
  box-shadow: 0 18px 32px rgba(26, 24, 21, 0.08);
  animation: rise 0.8s ease both;
}

.signal-card:nth-of-type(1) {
  animation-delay: 0.08s;
}

.signal-card:nth-of-type(2) {
  animation-delay: 0.18s;
}

.signal-card:nth-of-type(3) {
  animation-delay: 0.28s;
}

.signal-card h2 {
  font-size: 1.2rem;
}

.signal-card p:last-child {
  max-width: 28ch;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--muted);
}

.signal-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.signal-label {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  flex: none;
  font-size: 0.72rem;
  color: var(--moss);
  background: rgba(75, 100, 85, 0.11);
  border: 1px solid rgba(75, 100, 85, 0.14);
}

.accent-card {
  background: linear-gradient(140deg, rgba(203, 108, 55, 0.1), rgba(230, 180, 71, 0.1));
}

.signal-card:nth-of-type(2) .signal-label {
  color: var(--rust);
  background: rgba(203, 108, 55, 0.11);
  border-color: rgba(203, 108, 55, 0.18);
}

.signal-card:nth-of-type(3) .signal-label {
  color: #82610d;
  background: rgba(230, 180, 71, 0.14);
  border-color: rgba(230, 180, 71, 0.18);
}

.principles,
.origin {
  padding: clamp(1.85rem, 3vw, 2.7rem);
  border-radius: var(--radius-xl);
}

.principles {
  margin-top: 0.25rem;
  background: var(--mist);
  border: 1px solid rgba(26, 24, 21, 0.08);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 38rem;
}

.section-heading h2,
.origin h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.95rem, 3.8vw, 3rem);
  line-height: 1.02;
  text-wrap: pretty;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.85rem;
  align-items: stretch;
}

.principle {
  height: 100%;
  padding: 1.45rem;
  border-radius: 1.2rem;
  background: rgba(248, 242, 232, 0.76);
  border: 1px solid rgba(26, 24, 21, 0.08);
  border-top: 4px solid var(--sun);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.principle:nth-child(2) {
  border-top-color: var(--rust);
}

.principle:nth-child(3) {
  border-top-color: var(--moss);
}

.principle h3 {
  font-size: 1.12rem;
}

.principle p {
  margin-top: 0.75rem;
  line-height: 1.65;
  color: var(--muted);
}

.origin {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
  gap: 1.35rem;
  margin-top: 1.5rem;
  color: var(--paper-strong);
  background:
    radial-gradient(circle at top right, rgba(230, 180, 71, 0.14), transparent 20rem),
    linear-gradient(140deg, #1f1c18 0%, #2e2923 50%, #39453d 100%);
  box-shadow: var(--shadow);
}

.origin-copy p:last-child {
  margin-top: 1rem;
  max-width: 36rem;
  line-height: 1.7;
  color: rgba(248, 242, 232, 0.78);
}

.origin-note {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border: 1px solid rgba(248, 242, 232, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(248, 242, 232, 0.07);
}

.note-label {
  color: var(--sun);
}

.note-copy {
  margin-top: 0.65rem;
  max-width: 22rem;
  line-height: 1.65;
  color: rgba(248, 242, 232, 0.78);
}

.site-footer {
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .page-shell {
    width: min(100% - 1.5rem, 1180px);
  }

  .hero,
  .principle-grid,
  .origin {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    gap: 1.75rem;
    padding-bottom: 3rem;
  }

  .signal-stack {
    max-width: 42rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1.25rem, 1180px);
    padding-top: 1rem;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-text {
    line-height: 1.35;
  }

  .site-meta {
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

  .hero-tags {
    gap: 0.5rem;
  }

  .hero-tags span {
    font-size: 0.8rem;
  }

  .principles,
  .origin {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
