/* =========================================================
   EASY-TO-EDIT SETTINGS
   Change these values first to quickly restyle the whole page.
   ========================================================= */

:root {
  --background: #f0eee8;
  --paper: #faf8f2;
  --ink: #151515;
  --muted: #706f6a;
  --accent: #b2352d;
  --line: rgba(21, 21, 21, 0.16);
  --hero-text: #fffaf0;

  --content-width: 1120px;
  --side-padding: clamp(22px, 5vw, 72px);
}


/* =========================================================
   BASIC RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-text);
  padding: 140px var(--side-padding) 72px;
}

.hero-image {
  position: absolute;
  inset: -8%;
  z-index: -3;

  /* Replace this file with the composite image we generate. */
  background-image: url("images/hero-composite.jpg");
  background-position: center;
  background-size: cover;

  transform: scale(1.08);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.48) 48%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.65) 0%,
      transparent 55%
    );
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 9vw, 8.5rem);
}

h2 {
  font-size: clamp(2.7rem, 6vw, 6rem);
}

.hero-copy {
  max-width: 650px;
  margin: 30px 0 34px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--hero-text);
  color: var(--ink);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  right: var(--side-padding);
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-line {
  display: inline-block;
  width: 72px;
  height: 1px;
  background: currentColor;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  padding: clamp(90px, 13vw, 180px) var(--side-padding);
}

.section-number {
  margin-bottom: 46px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(50px, 9vw, 130px);
}

.about-copy {
  font-size: 1.05rem;
}

.about-copy p {
  margin-top: 0;
  margin-bottom: 24px;
}

.about-copy .lead {
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.3;
}


/* =========================================================
   SCROLLING / MOTION STRIP
   ========================================================= */

.motion-strip {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.motion-strip-inner {
  width: max-content;
  display: flex;
  gap: 50px;
  padding: 24px 0;
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  animation: slideText 24s linear infinite;
}

.motion-strip-inner span::after {
  content: "✦";
  margin-left: 50px;
  color: var(--accent);
}

@keyframes slideText {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-35%);
  }
}


/* =========================================================
   VIDEO LINKS
   ========================================================= */

.videos-section {
  width: min(1280px, 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 70px;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.video-list {
  border-top: 1px solid var(--line);
}

.video-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 26px;
  align-items: center;
  min-height: 132px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition:
    padding 200ms ease,
    background-color 200ms ease;
}

.video-card:hover,
.video-card:focus-visible {
  padding-left: 24px;
  padding-right: 24px;
  background: var(--paper);
}

.video-number {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.video-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.video-text strong {
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.video-text small {
  color: var(--muted);
  font-size: 0.92rem;
}

.video-arrow {
  font-size: 1.8rem;
  transition: transform 200ms ease;
}

.video-card:hover .video-arrow,
.video-card:focus-visible .video-arrow {
  transform: translate(5px, -5px);
}


/* =========================================================
   CONTACT AND FOOTER
   ========================================================= */

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  padding: clamp(80px, 11vw, 150px) var(--side-padding);
  background: var(--accent);
  color: var(--hero-text);
}

.contact-section h2 {
  max-width: 850px;
}

.light-button:hover,
.light-button:focus-visible {
  background: var(--hero-text);
  color: var(--accent);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 28px var(--side-padding);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.83rem;
}

footer p {
  margin: 0;
}

footer a {
  text-decoration: none;
}


/* =========================================================
   SMALL SCREENS
   ========================================================= */

@media (max-width: 760px) {
  .hero {
    padding-bottom: 60px;
  }

  .scroll-cue {
    display: none;
  }

  .about-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .video-card {
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
  }
}


/* Respect visitors who prefer less animation. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .motion-strip-inner {
    animation: none;
  }

  .hero-image,
  .video-card,
  .video-arrow,
  .primary-button {
    transition: none;
    transform: none !important;
  }
}
