/* Watch pages: keep the deck from blowing out the viewport. */
html,
body {
  overflow-x: clip;
}

/* Watch series — sendable office decks. Tokens come from eden.css. */

.watch-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.watch-hero__media {
  position: relative;
  width: 100%;
  height: min(72vh, 720px);
  min-height: 280px;
  background: #111;
}

.watch-hero__media img,
.watch-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.watch-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(27, 29, 25, 0.62) 0%,
      rgba(27, 29, 25, 0.18) 28%,
      rgba(27, 29, 25, 0.08) 46%,
      rgba(27, 29, 25, 0.72) 100%
    );
  pointer-events: none;
}

.watch-hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 0 32px;
}

.watch-hero .kicker {
  color: rgba(244, 241, 234, 0.78);
}

.watch-hero h1 {
  color: var(--cream);
  max-width: 18ch;
  margin-top: 8px;
}

.watch-hero .lede {
  color: rgba(244, 241, 234, 0.92);
  margin-top: 12px;
  max-width: 46ch;
}

.watch-deck {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  border-top: 1px solid var(--line);
  background: var(--linen);
}

.section:has(> .watch-deck) {
  overflow: hidden;
}

.watch-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 0;
  height: auto;
  padding: 32px 0 28px;
}

.watch-slide__kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--sage);
}

.watch-slide h2 {
  margin-top: 10px;
  max-width: 16ch;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.12;
}

.watch-slide p {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 18px;
  color: var(--ink-soft);
}

.watch-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 0;
}

.watch-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
}

.watch-dots button.is-on {
  background: var(--forest);
}

.watch-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.watch-share {
  display: grid;
  gap: 12px;
}

.watch-share textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--linen);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  resize: vertical;
}

.watch-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.watch-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.watch-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.watch-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 720px) {
  .watch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.watch-card {
  display: grid;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--linen);
}

.watch-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.watch-card__body {
  padding: 0 16px 18px;
}

.watch-card h2 {
  margin-top: 4px;
  font-size: 22px;
}

.watch-card p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15px;
}

.watch-price {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
}

.watch-script {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--linen);
}

.watch-script + .watch-script {
  margin-top: 14px;
}

.watch-script h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.watch-status {
  min-height: 1.4em;
  font-size: 14px;
  color: var(--sage);
}

.watch-share .field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--stone);
}

.crumbs a {
  text-decoration: none;
  color: var(--sage);
}

.watch-hero .crumbs {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 2px;
  border-top: 1px solid var(--brass);
  color: rgba(244, 241, 234, 0.92);
  background: rgba(20, 22, 18, 0.7);
  backdrop-filter: blur(6px);
}

.watch-hero .crumbs a {
  color: #f4f1ea;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scope-line {
  max-width: 60ch;
  margin-top: 26px;
  padding-left: 20px;
  border-left: 2px solid var(--sage);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
