/* ============================================================
   10.17 Videos — Landing page
   Palette: Parchment, Ink, Stone, Bronze
   Fonts: Gentium Book Plus (display), Inter (body)
   ============================================================ */

:root {
  /* Palette (matches banner + founding document + avatar) */
  --parchment: #ede4d1;
  --parchment-light: #f5efdf;
  --parchment-dark: #d9cfba;
  --ink: #1c1815;
  --ink-soft: #2a251e;
  --stone: #6b6558;
  --stone-light: #8a8377;
  --bronze: #b8862f;
  --bronze-dark: #966b1e;
  --aegean: #2f5d62;

  /* Type */
  --font-display: "Gentium Book Plus", Georgia, "Times New Roman", serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --text-2xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --hero-numeral: clamp(5rem, 3rem + 12vw, 12rem);
  --hero-word: clamp(1.75rem, 1.2rem + 2.75vw, 3rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --measure: 62ch;
  --container: 1100px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--bronze-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-out);
}
a:hover {
  color: var(--ink);
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--parchment);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark scrim: darkens the hero image so the type is legible.
   Uses a radial + linear combo so the center is darkest (where
   the wordmark and tagline sit) and edges keep more of the scroll texture.
   Center opacity is intentionally aggressive — the Hebrew text is busy
   and low-contrast tagline copy needs cover. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 75% 60% at center 60%,
      rgba(15, 12, 8, 0.86) 0%,
      rgba(15, 12, 8, 0.68) 55%,
      rgba(15, 12, 8, 0.45) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(15, 12, 8, 0.35) 0%,
      rgba(15, 12, 8, 0.5) 100%
    );
}

.site-header {
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.site-header__brand {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  color: var(--parchment);
  text-decoration: none;
  font-family: var(--font-display);
  transition: opacity 0.2s var(--ease-out);
}
.site-header__brand:hover {
  color: var(--parchment);
  opacity: 0.75;
}
.site-header__mark {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.site-header__mark-suffix {
  font-size: 1rem;
  color: var(--bronze);
  font-weight: 400;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6) var(--space-16);
  text-align: center;
  gap: var(--space-6);
}

.hero__rule {
  width: 88px;
  height: 2px;
  background: var(--bronze);
  opacity: 0.85;
}

.hero__wordmark {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__wordmark-numeral {
  font-size: var(--hero-numeral);
  color: var(--parchment);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}
.hero__wordmark-word {
  font-size: var(--hero-word);
  color: var(--bronze);
  letter-spacing: 0.02em;
}

.hero__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--parchment);
  opacity: 0.88;
  line-height: 1.5;
  max-width: 30ch;
}

.hero__cta-wrap {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.95rem 1.75rem;
  background: var(--parchment);
  color: var(--ink);
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.cta:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.cta:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 4px;
}
.cta__icon {
  transition: transform 0.25s var(--ease-out);
}
.cta:hover .cta__icon {
  transform: translateX(3px);
}

.hero__cta-note {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--parchment);
  opacity: 0.72;
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about {
  background: var(--parchment);
  padding: var(--space-24) var(--space-6);
  position: relative;
}
.about__container {
  max-width: var(--container);
  margin: 0 auto;
}

.about__eyebrow,
.channels__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.about__eyebrow::before,
.channels__eyebrow::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--bronze);
}

.about__lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 var(--space-12);
  letter-spacing: -0.015em;
  max-width: 28ch;
}

.about__body {
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: var(--text-base);
  line-height: 1.75;
}
.about__body p {
  margin: 0 0 var(--space-6);
}
.about__body p:last-child {
  margin-bottom: 0;
}
.about__body em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--ink);
}

/* ============================================================
   CHANNELS SECTION
============================================================ */
.channels {
  background: var(--parchment-light);
  padding: var(--space-24) var(--space-6);
  border-top: 1px solid rgba(28, 24, 21, 0.08);
}
.channels__container {
  max-width: var(--container);
  margin: 0 auto;
}

.channels__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 720px) {
  .channels__list {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .channels__item--primary {
    grid-column: 1 / -1;
  }
}

.channels__item {
  border-top: 1px solid rgba(28, 24, 21, 0.12);
}
.channels__item:last-child {
  border-bottom: 1px solid rgba(28, 24, 21, 0.12);
}
@media (min-width: 720px) {
  .channels__item {
    border-top: none;
    border-bottom: 1px solid rgba(28, 24, 21, 0.12);
  }
  .channels__item--primary {
    border-top: 1px solid rgba(28, 24, 21, 0.12);
  }
  /* Add vertical divider between the two-column rows */
  .channels__item:nth-child(even) {
    border-left: 1px solid rgba(28, 24, 21, 0.12);
  }
}

.channels__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-6) var(--space-4);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.25s var(--ease-out);
  min-height: 100%;
}
.channels__link:hover {
  background: rgba(184, 134, 47, 0.06);
  color: var(--ink);
}
.channels__link:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: -2px;
}

.channels__platform {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--ink);
  font-weight: 400;
}
.channels__handle {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--bronze-dark);
  font-weight: 500;
}
.channels__note {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--stone);
  margin-top: var(--space-1);
}

.channels__item--primary .channels__platform {
  font-size: var(--text-xl);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--parchment);
  padding: var(--space-16) var(--space-6);
}
.site-footer__container {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
}
.site-footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  margin: 0;
  color: var(--parchment);
  opacity: 0.92;
}
.site-footer__meta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--stone-light);
  margin: 0;
  letter-spacing: 0.06em;
}

/* ============================================================
   RESPONSIVE TWEAKS
============================================================ */
@media (max-width: 540px) {
  .site-header {
    padding: var(--space-4) var(--space-6);
  }
  .hero__content {
    padding: var(--space-6) var(--space-4) var(--space-12);
  }
  .about,
  .channels {
    padding: var(--space-16) var(--space-6);
  }
  .about__lede {
    font-size: 1.75rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
