:root {
  --ink: #101820;
  --navy: #12385c;
  --blue: #285f93;
  --blue-soft: #dce8f2;
  --red: #be272d;
  --paper: #f3f0ea;
  --white: #fffdf8;
  --line: rgba(18, 56, 92, 0.18);
  --shadow: 0 24px 70px rgba(12, 31, 48, 0.16);
  --shell: min(1280px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(18, 56, 92, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 56, 92, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.modal-open { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: 84px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand-cluster { display: flex; flex: 1; align-items: center; gap: 16px; min-width: 0; }
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.7rem, 2.45vw, 2.35rem);
  letter-spacing: 0.2em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark-the { color: #3d454d; }
.wordmark-theist { color: var(--blue); }
.wordmark-theist > span { color: var(--red); }
.wordmark-experience { color: var(--ink); }
.header-socials { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.social-button {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  transition: transform 180ms ease, filter 180ms ease;
}
.social-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social-button svg { width: 18px; height: 18px; fill: currentColor; }
.social-x { background: #050505; }
.social-youtube { background: #d71920; }

.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav a {
  padding: 10px 14px;
  color: #23384d;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--red); }
.site-nav .nav-store {
  min-width: 82px;
  text-align: center;
  border: 1px solid var(--navy);
  border-radius: 99px;
}
.site-nav .nav-store:hover { color: white; background: var(--navy); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 0;
  background:
    linear-gradient(90deg, rgba(243, 240, 234, 0.94) 0%, rgba(243, 240, 234, 0.8) 42%, rgba(243, 240, 234, 0.32) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(243, 240, 234, 0.56)),
    url("https://thetheistexperience.com/wp-content/uploads/2024/05/sky-4.gif") center 44% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(243, 240, 234, 0.5));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(46px, 6vw, 88px);
  min-height: 560px;
  padding-bottom: 72px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow > span { width: 34px; height: 2px; background: var(--red); }
.eyebrow-light { color: #b7cce0; }
.hero h1,
.section-heading h2,
.manifesto h2,
.ask-copy h2,
.store-strip h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.95;
  text-transform: uppercase;
}
.hero h1 { max-width: 650px; font-size: clamp(2.6rem, 4.3vw, 4.2rem); }
.hero-intro { max-width: 560px; margin: 24px 0 30px; color: #3e4b55; font-size: clamp(1rem, 1.35vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: #9f1f25; }
.button-blue { background: var(--blue); color: white; }
.button-blue:hover { background: var(--navy); }
.button-ghost { border-color: rgba(16, 24, 32, 0.35); background: rgba(255,255,255,0.34); }
.button-ghost:hover { background: var(--white); }
.button-light { margin-top: 22px; border-color: rgba(255,255,255,0.5); color: white; }
.button-light:hover { background: white; color: var(--navy); }
.button-white { background: white; color: var(--navy); }
.button-dark { background: var(--ink); color: white; }
.play-mark { font-size: 0.72rem; }
.hero-stats { display: flex; gap: 36px; margin: 34px 0 0; }
.hero-stats div { position: relative; padding-left: 15px; border-left: 2px solid var(--red); }
.hero-stats dt { color: var(--navy); font-family: "Bebas Neue", sans-serif; font-size: 1.7rem; line-height: 1; }
.hero-stats dd { margin: 6px 0 0; color: #69747e; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }

.hero-feature { background: var(--white); box-shadow: var(--shadow); }
.feature-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--ink);
  cursor: pointer;
}
.feature-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.feature-poster:hover img { transform: scale(1.025); }
.feature-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,14,22,0.72)); }
.feature-play,
.card-play {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}
.feature-play { inset: 50% auto auto 50%; width: 74px; height: 74px; transform: translate(-50%, -50%); font-size: 1.2rem; }
.feature-label { position: absolute; left: 22px; bottom: 18px; color: white; font-size: 0.72rem; letter-spacing: 0.17em; text-transform: uppercase; }
.feature-meta { display: flex; justify-content: space-between; gap: 20px; padding: 24px 27px 27px; }
.feature-meta p { margin: 0 0 5px; color: var(--red); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; }
.feature-meta h2 { margin: 0; font-family: "Bebas Neue", sans-serif; font-size: 2rem; font-weight: 400; letter-spacing: 0.03em; text-transform: uppercase; }
.feature-arrow { color: var(--blue); font-size: 1.7rem; }
.hero-ribbon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.6vw, 54px);
  min-height: 64px;
  padding-inline: 24px;
  overflow: hidden;
  color: white;
  background: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.17em;
  white-space: nowrap;
}
.hero-ribbon i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 56px; margin-bottom: 52px; }
.section-heading h2 { color: var(--navy); font-size: clamp(3rem, 5vw, 5.1rem); }
.section-sidecopy { max-width: 330px; padding-bottom: 7px; }
.section-sidecopy p { color: #53616c; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; text-underline-offset: 5px; }
.text-link span { color: var(--red); }
.video-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 22px; }
.video-card { min-width: 0; border: 1px solid var(--line); background: rgba(255,253,248,0.86); }
.video-card-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr); }
.video-thumb { position: relative; width: 100%; aspect-ratio: 16/9; padding: 0; overflow: hidden; border: 0; background: #0b1722; cursor: pointer; }
.video-card-wide .video-thumb { height: 100%; aspect-ratio: auto; min-height: 340px; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,14,22,0.48)); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease, filter 420ms ease; }
.video-thumb:hover img { transform: scale(1.035); filter: saturate(0.85); }
.duration { position: absolute; z-index: 2; right: 12px; bottom: 10px; padding: 4px 7px; color: white; background: rgba(9,18,28,0.88); font-size: 0.75rem; }
.card-play { z-index: 2; left: 16px; bottom: 14px; width: 43px; height: 43px; font-size: 0.72rem; }
.video-copy { padding: 25px; }
.video-type { margin: 0 0 10px; color: var(--red); font-size: 0.69rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.video-copy h3 { margin: 0; color: var(--navy); font-family: "Bebas Neue", sans-serif; font-size: clamp(1.65rem, 2.6vw, 2.45rem); font-weight: 400; line-height: 1.03; letter-spacing: 0.02em; text-transform: uppercase; }
.video-copy > p:last-child { margin-bottom: 0; color: #5d6871; }
.video-card-accent { position: relative; overflow: hidden; display: flex; align-items: end; min-height: 350px; color: white; background: var(--red); border-color: var(--red); }
.video-card-accent .video-copy { position: relative; z-index: 2; }
.video-card-accent .video-type, .video-card-accent .video-copy h3 { color: white; }
.accent-number { position: absolute; top: -0.26em; right: -0.02em; color: rgba(255,255,255,0.14); font-family: "Bebas Neue", sans-serif; font-size: 15rem; line-height: 1; }

.manifesto { color: white; background: var(--ink); }
.manifesto-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 10vw; }
.manifesto h2 { max-width: 650px; font-size: clamp(3.4rem, 5.3vw, 5.3rem); }
.manifesto-intro { margin: 36px 0 44px; color: #c7d0d7; font-size: clamp(1.1rem, 1.6vw, 1.36rem); }
.principles { border-top: 1px solid rgba(255,255,255,0.18); }
.principles article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.principles article > span { color: var(--red); font-family: "Bebas Neue", sans-serif; font-size: 1.35rem; }
.principles h3 { margin: 0 0 7px; font-family: "Bebas Neue", sans-serif; font-size: 1.8rem; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; }
.principles p { margin: 0; color: #9eabb6; }

.ask-section { padding-bottom: 20px; }
.ask-section + .watch-section { padding-top: 34px; }
.ask-panel { position: relative; min-height: 410px; display: grid; grid-template-columns: 1fr 0.7fr; align-items: center; overflow: hidden; padding: clamp(36px, 5vw, 70px); color: white; background: var(--navy); box-shadow: var(--shadow); }
.ask-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(72,125,177,0.24)); }
.ask-copy { position: relative; z-index: 2; }
.ask-copy h2 { font-size: clamp(3.4rem, 5.3vw, 5.3rem); }
.ask-copy > p:not(.eyebrow) { max-width: 550px; margin: 25px 0 32px; color: #cbd9e6; font-size: 1.08rem; }
.ask-art { position: relative; height: 100%; min-height: 320px; }
.ask-ring { position: absolute; border: 1px solid rgba(255,255,255,0.21); border-radius: 50%; }
.ask-ring-one { width: 420px; height: 420px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ask-ring-two { width: 270px; height: 270px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ask-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -48%); color: var(--red); font-family: "Bebas Neue", sans-serif; font-size: 17rem; line-height: 1; }

.store-strip { display: grid; grid-template-columns: 1.15fr 1fr auto; align-items: center; gap: 48px; padding-block: 58px 76px; }
.store-strip h2 { color: var(--navy); font-size: clamp(2.8rem, 4vw, 4.1rem); }
.store-strip p { color: #596771; }
.site-footer { padding: 52px 0; color: #b3bec8; background: #0a1118; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.wordmark-footer { color: white; }
.wordmark-footer .wordmark-the, .wordmark-footer .wordmark-experience { color: white; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-inner > p { grid-column: 1/-1; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }

.video-modal { width: min(1000px, calc(100% - 32px)); padding: 0; border: 0; color: white; background: #07111a; box-shadow: 0 40px 100px rgba(0,0,0,0.48); }
.video-modal::backdrop { background: rgba(5,11,17,0.84); backdrop-filter: blur(7px); }
.modal-bar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 18px 10px 24px; }
.modal-bar h2 { margin: 0; font-family: "Bebas Neue", sans-serif; font-size: 1.55rem; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; }
.modal-close { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.28); border-radius: 50%; color: white; background: transparent; cursor: pointer; font-size: 1.7rem; line-height: 1; }
.modal-close:hover { background: var(--red); border-color: var(--red); }
.modal-video { aspect-ratio: 16/9; background: black; }
.modal-video iframe { width: 100%; height: 100%; border: 0; }

.reveal { animation: reveal-up 700ms cubic-bezier(.2,.7,.2,1) both; }
.reveal-delay { animation-delay: 160ms; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  :root { --shell: min(100% - 34px, 760px); }
  .menu-toggle { position: relative; z-index: 3; width: 46px; height: 42px; display: grid; place-content: center; gap: 7px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle > span:not(.sr-only) { width: 20px; height: 2px; background: var(--navy); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .site-nav { position: absolute; inset: 88px 0 auto; display: none; align-items: stretch; padding: 18px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 13px 16px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 720px; }
  .hero h1 { font-size: clamp(2.6rem, 7.6vw, 4rem); }
  .hero-feature { max-width: 720px; }
  .section { padding-block: 72px; }
  .section-heading { display: grid; }
  .section-sidecopy { max-width: 580px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-card-wide { grid-column: 1/-1; }
  .video-card-accent { min-height: 320px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-intro { margin-top: 0; }
  .ask-panel { grid-template-columns: 1fr 0.5fr; }
  .store-strip { grid-template-columns: 1fr auto; }
  .store-strip > p { grid-column: 1/-1; grid-row: 2; max-width: 650px; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 24px, 560px); }
  .header-inner { min-height: 74px; }
  .header-inner { gap: 10px; }
  .brand-cluster { gap: 10px; }
  .wordmark { gap: 0.2em; font-size: 1.08rem; letter-spacing: 0.07em; }
  .header-socials { gap: 5px; }
  .social-button { width: 29px; height: 29px; }
  .social-button svg { width: 15px; height: 15px; }
  .site-nav { top: 74px; }
  .hero { padding-top: 42px; }
  .hero-grid { gap: 48px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 3.3rem); }
  .hero-actions { display: grid; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats div { padding-left: 10px; }
  .hero-stats dd { letter-spacing: 0.07em; }
  .feature-play { width: 58px; height: 58px; }
  .hero-ribbon { justify-content: flex-start; min-height: 52px; }
  .section { padding-block: 68px; }
  .section-heading { gap: 24px; margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .video-grid { grid-template-columns: 1fr; }
  .video-card-wide { display: block; grid-column: auto; }
  .video-card-wide .video-thumb { min-height: 0; aspect-ratio: 16/9; }
  .manifesto h2, .ask-copy h2 { font-size: clamp(3.1rem, 14vw, 4.6rem); }
  .ask-section { width: 100%; padding: 0; }
  .ask-panel { grid-template-columns: 1fr; min-height: 650px; padding: 46px 24px 30px; }
  .ask-art { min-height: 250px; }
  .ask-ring-one { width: 310px; height: 310px; }
  .ask-ring-two { width: 190px; height: 190px; }
  .ask-mark { font-size: 12rem; }
  .store-strip { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .store-strip > p { grid-column: auto; grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
}

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