:root {
  --bg: #efede6;
  --text: #161513;
  --muted: #5e5952;
  --line: rgba(0, 0, 0, 0.12);
  --panel: rgba(255, 252, 246, 0.82);
  --panel-strong: rgba(255, 252, 246, 0.94);
  --accent: #b44d28;
  --accent-deep: #163f45;
  --shadow: 0 18px 40px rgba(38, 29, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(180, 77, 40, 0.16), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(22, 63, 69, 0.14), transparent 28%),
    linear-gradient(180deg, #f4f1ea 0%, var(--bg) 100%);
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: "Noto Serif SC", serif;
}

.shell {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    radial-gradient(rgba(0, 0, 0, 0.03) 0.5px, transparent 0.5px);
  background-size: 100% 100%, 10px 10px;
  opacity: 0.5;
}

.orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 42% 58% 59% 41% / 43% 37% 63% 57%;
  filter: blur(8px);
  z-index: -1;
}

.orb-left {
  top: 12%;
  left: -140px;
  background: rgba(180, 77, 40, 0.14);
}

.orb-right {
  top: 42%;
  right: -120px;
  background: rgba(22, 63, 69, 0.15);
}

.hero {
  padding: 2rem 0 1rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  box-shadow: var(--shadow);
}

.brand-title,
.brand-subtitle {
  margin: 0;
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.topbar-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.topbar-links a,
.footer-links a {
  color: inherit;
  text-decoration: none;
}

.topbar-links a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.hero-copy,
.hero-panel,
.panel,
.belief-card,
.contact-panel,
.footer {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.panel,
.contact-panel {
  border-radius: 26px;
  padding: 1.4rem;
}

.eyebrow,
.section-tag,
.panel-kicker {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  max-width: 12ch;
  margin: 0.55rem 0 1rem;
}

.hero-text,
.panel-note,
.section-head p,
.belief-card p,
.manifesto-list p,
.rhythm-track p,
.contact-panel p,
.footer-text {
  color: var(--muted);
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 600;
}

.button-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--accent), #8f3315);
}

.button-secondary,
.contact-link.ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: transparent;
}

.panel-list {
  padding-left: 1rem;
  margin: 0.8rem 0;
}

.panel-list li + li {
  margin-top: 0.45rem;
}

.panel-note {
  margin-bottom: 0;
}

.panel,
.contact-panel {
  margin-top: 1rem;
}

.intro-panel .two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.belief-card {
  border-radius: 22px;
  padding: 1.2rem;
  background: var(--panel-strong);
}

.belief-index {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.12em;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
}

.manifesto-quote {
  border-radius: 22px;
  padding: 1.2rem;
  background: linear-gradient(145deg, rgba(180, 77, 40, 0.12), rgba(22, 63, 69, 0.12));
  font-family: "Noto Serif SC", serif;
  font-size: 1.2rem;
  line-height: 1.7;
}

.manifesto-list {
  display: grid;
  gap: 0.8rem;
}

.manifesto-list div {
  padding: 1rem 1rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.rhythm-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.track-step {
  border-top: 3px solid var(--accent-deep);
  padding-top: 0.8rem;
}

.track-step span {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 1rem;
}

.contact-link {
  color: #fff;
  background: linear-gradient(130deg, var(--accent-deep), #0f2b2f);
}

.footer {
  margin: 1rem auto 2rem;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-title,
.footer-text {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid,
  .manifesto-grid,
  .contact-panel,
  .intro-panel .two-column {
    grid-template-columns: 1fr;
  }

  .belief-grid,
  .rhythm-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 1.3rem;
  }

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

  .belief-grid,
  .rhythm-track {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .panel,
  .contact-panel {
    padding: 1.05rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }
}
