* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f3f3;
  --panel: rgba(255, 255, 255, 0.72);
  --text: #b30410;
  --text-soft: #af6f6f;
  --accent: #dd0009;
  --line: rgba(215, 152, 152, 0.45);
  --shadow: 0 28px 60px rgba(112, 74, 74, 0.08);
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.frame {
  position: fixed;
  width: 110px;
  height: 110px;
  border: 4px solid rgba(224, 187, 187, 0.72);
  pointer-events: none;
  z-index: 0;
}

.frame--tl {
  top: 44px;
  left: 44px;
  border-right: none;
  border-bottom: none;
  border-radius: 30px 0 0 0;
}

.frame--br {
  right: 44px;
  bottom: 44px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 30px 0;
}

.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}

.network {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.network-line {
  position: absolute;
  height: 1px;
  background: var(--line);
}

.network-line--left {
  width: 250px;
  left: calc(50% - 420px);
  top: calc(50% - 140px);
}

.network-line--right {
  width: 220px;
  right: calc(50% - 470px);
  top: calc(50% - 30px);
  transform: rotate(-12deg);
  transform-origin: left center;
}

.node {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
  border: 1.5px solid rgba(230, 194, 194, 0.95);
  box-shadow: 0 4px 12px rgba(120, 83, 83, 0.1);
  color: #6c5b5b;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.05;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.node--a { left: calc(50% - 500px); top: calc(50% - 150px); }
.node--b { left: calc(50% - 445px); top: calc(50% + 145px); }
.node--c { right: calc(50% - 500px); top: calc(50% + 5px); }
.node--d { right: calc(50% - 450px); top: calc(50% + 160px); font-size: 18px; }

.hero-card,
.video-card {
  width: min(860px, calc(100vw - 120px));
  min-height: 610px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(239, 232, 232, 0.85);
  border-radius: 48px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  text-align: center;
  padding: 78px 70px 70px;
  position: relative;
}

.hero-card::before,
.hero-card::after,
.video-card::before,
.video-card::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(239, 232, 232, 0.85);
  border-radius: 50%;
  z-index: -1;
}

.hero-card::before,
.video-card::before {
  left: -18px;
  bottom: 92px;
}

.hero-card::after,
.video-card::after {
  right: -18px;
  top: 92px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.34em;
}

h1,
.video-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(62px, 7vw, 102px);
  line-height: 0.95;
}

.video-card h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.subtitle,
.video-note {
  margin: 34px auto 0;
  max-width: 660px;
  color: var(--text-soft);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.55;
  font-weight: 600;
}

.cta,
.back-link {
  text-decoration: none;
}

.cta {
  margin: 54px auto 0;
  width: fit-content;
  min-width: 396px;
  padding: 28px 38px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(221, 0, 9, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover,
.video-overlay:hover {
  transform: translateY(-2px);
}

.arrow {
  font-size: 34px;
  line-height: 1;
}

.video-page {
  min-height: 100vh;
}

.video-layout {
  min-height: 100vh;
  padding: 40px 24px 60px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.back-link {
  position: absolute;
  top: 48px;
  left: max(48px, calc(50% - 480px));
  color: var(--accent);
  font-weight: 700;
}

.video-card {
  min-height: auto;
}

.video-wrap {
  position: relative;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 32px;
  background: #ede7e7;
  border: 1px solid rgba(230, 216, 216, 0.9);
}

.video-wrap video {
  display: block;
  width: 100%;
  max-height: 70vh;
  background: #ece7e7;
}

.video-overlay {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(1px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.25s ease;
}

.video-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.play-icon {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-size: 34px;
  box-shadow: 0 14px 30px rgba(221, 0, 9, 0.18);
}

.video-note {
  font-size: 18px;
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .node--a { left: 80px; top: 170px; }
  .node--b { left: 120px; top: auto; bottom: 140px; }
  .node--c { right: 80px; top: 330px; }
  .node--d { right: 120px; top: auto; bottom: 150px; }
  .network-line--left { left: 160px; top: 235px; width: 180px; }
  .network-line--right { right: 170px; top: 390px; width: 150px; }
}

@media (max-width: 820px) {
  .frame {
    width: 72px;
    height: 72px;
    border-width: 3px;
  }

  .frame--tl { top: 22px; left: 22px; }
  .frame--br { right: 22px; bottom: 22px; }

  .hero-card,
  .video-card {
    width: calc(100vw - 34px);
    border-radius: 30px;
    padding: 42px 22px 34px;
    min-height: auto;
  }

  .hero-card::before,
  .hero-card::after,
  .video-card::before,
  .video-card::after,
  .network,
  .node {
    display: none;
  }

  .eyebrow {
    letter-spacing: 0.18em;
    font-size: 12px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 48px;
    line-height: 0.98;
  }

  .video-card h2 {
    font-size: 38px;
  }

  .subtitle {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.6;
  }

  .cta {
    min-width: 0;
    width: 100%;
    margin-top: 34px;
    padding: 20px 22px;
    font-size: 22px;
  }

  .back-link {
    position: static;
    margin-bottom: 14px;
    justify-self: start;
    margin-left: 8px;
  }

  .video-note {
    font-size: 15px;
  }
}
