/* ==========================================================================
   ORIGIN CULTURE — Design Tokens
   Palette sampled directly from the brand mark.
   ========================================================================== */

:root {
  /* core palette — sampled from the logo */
  --cream:        #F2E8CE;
  --cream-soft:   #FAF4E6;
  --ink:          #1E1006;
  --espresso:     #3A2412;
  --rust:         #C8651D;
  --rust-bright:  #E07A2C;
  --ember:        #8B3A0F;

  --cream-rgb: 242, 232, 206;
  --ink-rgb: 30, 16, 6;

  /* type */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1180px;

  --ease: cubic-bezier(.16,.8,.24,1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body, h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

::selection { background: var(--rust); color: var(--cream-soft); }

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   Type
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--rust-bright); }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h2--light { color: var(--cream-soft); }

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--espresso);
  max-width: 46ch;
}
.lead--muted { opacity: 0.78; }
.lead--light { color: rgba(var(--cream-rgb), 0.82); max-width: 52ch; }

.text-rust { color: var(--rust-bright); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform .35s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--rust);
  color: var(--cream-soft);
}
.btn--primary:hover { background: var(--rust-bright); }

.btn--ghost {
  background: transparent;
  color: var(--cream-soft);
  border: 1px solid rgba(var(--cream-rgb), 0.35);
}
.btn--ghost:hover { border-color: var(--rust-bright); color: var(--rust-bright); }

.btn--large { padding: 18px 36px; font-size: 16px; }
.btn--small { padding: 11px 22px; font-size: 13.5px; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(var(--cream-rgb), 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.08);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.nav__mark { width: 36px; height: 36px; }
.nav__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav__links a { opacity: 0.8; transition: opacity .2s ease; }
.nav__links a:hover { opacity: 1; color: var(--rust); }

.nav__toggle {
  display: none;
  width: 34px; height: 34px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 32px 24px;
  gap: 4px;
  border-top: 1px solid rgba(var(--ink-rgb), 0.08);
}
.nav__mobile a {
  padding: 12px 0;
  font-size: 15.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.06);
}
.nav__mobile .btn { margin-top: 14px; justify-content: center; }
.nav__mobile.is-open { display: flex; }

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(var(--ink-rgb),0.15) 0%, rgba(var(--ink-rgb),0.78) 72%, rgba(var(--ink-rgb),0.96) 100%);
}
.hero__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: min(820px, 110vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(var(--cream-rgb), 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 130px 32px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 6.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--cream-soft);
  margin-bottom: 26px;
}

.hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: rgba(var(--cream-rgb), 0.78);
  max-width: 56ch;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 22px;
  height: 36px;
  border: 1px solid rgba(var(--cream-rgb), 0.4);
  border-radius: 999px;
}
.hero__scroll span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--rust-bright);
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 110px 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); }

.section__head { max-width: 680px; margin-bottom: 64px; }

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   The Shift
   ========================================================================== */

.shift {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 48px;
}
.shift__body p + p { margin-top: 18px; }
.shift__body .h2 { margin-bottom: 26px; }

@media (max-width: 760px) {
  .shift { grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================================================
   Framework timeline
   ========================================================================== */

.timeline {
  position: relative;
  max-width: 760px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(var(--cream-rgb),0.28), rgba(var(--cream-rgb),0.06));
}

.timeline__item {
  position: relative;
  display: flex;
  gap: 26px;
  padding: 22px 0;
}

.timeline__num {
  position: relative;
  z-index: 1;
  flex: none;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--rust-bright), 0.5);
  background: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--rust-bright);
}

.timeline__text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--cream-soft);
  margin-bottom: 6px;
}
.timeline__text p {
  font-size: 14.5px;
  color: rgba(var(--cream-rgb), 0.62);
  max-width: 46ch;
}

/* ==========================================================================
   Pillars
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(var(--ink-rgb), 0.1);
  border: 1px solid rgba(var(--ink-rgb), 0.1);
}

.pillar {
  background: var(--cream);
  padding: 34px 30px;
  transition: background .3s ease;
}
.pillar:hover { background: var(--cream-soft); }

.pillar__mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--ink);
}
.pillar p {
  font-size: 14.5px;
  color: var(--espresso);
  opacity: 0.82;
  max-width: 38ch;
}

@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Claims (why us)
   ========================================================================== */

.claims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.claim { border-top: 1px solid rgba(var(--cream-rgb), 0.18); padding-top: 26px; }
.claim__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--rust-bright);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.claim h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--cream-soft);
  margin-bottom: 12px;
  line-height: 1.25;
}
.claim p {
  font-size: 14.5px;
  color: rgba(var(--cream-rgb), 0.62);
}

@media (max-width: 880px) {
  .claims { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
}
.cta__headline { margin-bottom: 22px; }
.cta .lead { margin-bottom: 36px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--ink); padding: 48px 0 36px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(var(--cream-rgb), 0.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--cream-soft);
}
.footer__mark { width: 28px; height: 28px; }

.footer__links {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
}
.footer__links a { color: rgba(var(--cream-rgb), 0.6); transition: color .2s ease; }
.footer__links a:hover { color: var(--rust-bright); }

.footer__copy {
  font-size: 13px;
  color: rgba(var(--cream-rgb), 0.4);
}

@media (max-width: 640px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Responsive — section rhythm
   ========================================================================== */

@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .hero__content { padding: 120px 24px 56px; }
}

/* ==========================================================================
   INTRO SPLASH
   ========================================================================== */

.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.intro.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.intro__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__skip,
.intro__sound {
  position: absolute;
  bottom: 32px;
  padding: 10px 22px;
  background: rgba(242, 232, 206, 0.12);
  border: 1px solid rgba(242, 232, 206, 0.4);
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.intro__skip:hover,
.intro__sound:hover {
  background: rgba(242, 232, 206, 0.22);
  border-color: rgba(242, 232, 206, 0.7);
}

.intro__skip { right: 32px; }
.intro__sound { left: 32px; }

@media (max-width: 760px) {
  .intro__skip { bottom: 20px; right: 20px; }
  .intro__sound { bottom: 20px; left: 20px; }
}
