/* ═════════════════════════════════════════════════════════
   TU17 — coming-soon teaser + carousel
   Bordeaux paper · powder-blue ink · gold accent.
   ═════════════════════════════════════════════════════════ */

:root {
  --paper:      #5d1d28;
  --paper-2:    #4a151e;
  --paper-deep: #3a0f17;
  --ink:        #b8d6e2;
  --ink-strong: #d8e8ee;
  --muted:      rgba(184, 214, 226, 0.62);
  --quiet:      rgba(184, 214, 226, 0.42);
  --accent:     #d9b16e;
  --accent-soft:rgba(217, 177, 110, 0.18);
  --hairline:   rgba(184, 214, 226, 0.18);
  --hairline-strong: rgba(184, 214, 226, 0.32);

  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font:    "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: "Anton", "Inter", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(217, 177, 110, 0.06), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(0,0,0,0.18), transparent 60%),
    var(--paper);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

::selection { background: var(--accent); color: var(--paper); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Type primitives ─────────────────────────────── */

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}
.mono--quiet { color: var(--quiet); }
.quiet { color: var(--muted); }

/* ─── Layout ──────────────────────────────────────── */

.teaser {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vh, 56px);
  padding: clamp(20px, 3vh, 32px) var(--pad) clamp(16px, 2.5vh, 24px);
  min-height: 100vh;
  min-height: 100svh;
}

/* ─── Top header ──────────────────────────────────── */

.teaser__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.teaser__top-left,
.teaser__top-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.teaser__top-right { text-align: right; }
[data-clock] { color: var(--ink-strong); }

/* ─── Core hero ───────────────────────────────────── */

.teaser__core {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(16px, 2.5vh, 28px);
  padding: clamp(16px, 4vh, 56px) 0;
}

.teaser__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(217, 177, 110, 0.06);
}
.teaser__pill .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.teaser__pill .dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.7); opacity: 0.55; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Massive wordmark */
.wordmark-xxl {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(96px, 22vw, 280px);
  line-height: 0.78;
  letter-spacing: 0.005em;
  color: var(--ink-strong);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  user-select: none;
  text-shadow: 0 0 60px rgba(0,0,0,0.18);
}
.wordmark-xxl > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.18em);
  animation: drop .9s var(--ease) forwards;
}
.wordmark-xxl .wm__t { animation-delay: .05s; }
.wordmark-xxl .wm__u { animation-delay: .12s; }
.wordmark-xxl .wm__1 { animation-delay: .19s; margin-left: -0.02em; }
.wordmark-xxl .wm__7 { animation-delay: .26s; margin-left: -0.04em; }
.wordmark-xxl .wm__stop {
  width: 0.16em;
  height: 0.16em;
  background: var(--accent);
  margin-left: 0.02em;
  margin-bottom: 0.05em;
  align-self: end;
  animation-delay: .42s;
  box-shadow: 0 0 24px rgba(217, 177, 110, 0.45);
}
@keyframes drop { to { opacity: 1; transform: none; } }

.teaser__lede {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-weight: 400;
  max-width: 38ch;
}
.teaser__lede em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

/* ─── Two-column "row" pattern ────────────────────── */

.about,
.capture {
  border-top: 1px solid var(--hairline);
  padding-top: clamp(24px, 4vh, 40px);
}
.about__row,
.capture__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: baseline;
  width: 100%;
  max-width: 920px;
}
.about__tag,
.capture__tag,
.carousel__tag {
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.about__tag span,
.capture__tag span,
.carousel__tag span { color: var(--accent); }

.about__copy {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
}

.capture__lede {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 50ch;
}

@media (max-width: 720px) {
  .about__row, .capture__row { grid-template-columns: 1fr; gap: 10px; }
}

/* ─── Carousel ─────────────────────────────────────── */

.carousel {
  border-top: 1px solid var(--hairline);
  padding-top: clamp(24px, 4vh, 40px);
  /* let track bleed past the padded container */
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  padding-left: var(--pad);
}
.carousel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-right: var(--pad);
  margin-bottom: clamp(16px, 2.5vh, 24px);
}
.carousel__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel__btn {
  width: 38px; height: 38px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease);
}
.carousel__btn:hover {
  background: rgba(184, 214, 226, 0.06);
  border-color: var(--ink);
  color: var(--ink-strong);
}
.carousel__btn:disabled,
.carousel__btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
}
.carousel__count {
  color: var(--muted);
  min-width: 6ch;
  text-align: center;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min(74vw, 540px), 1fr);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.slide {
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: var(--paper-2);
}
.slide--photo { padding: 0; }
.slide--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  /* hide the AI watermark in the bottom-right corner */
  clip-path: inset(0 0 30px 0);
  margin-bottom: -30px;
  filter: saturate(0.85) contrast(1.05);
}
.slide__cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(58, 15, 23, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: 999px;
}

.slide--card {
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(180deg, var(--paper-2), var(--paper-deep));
}
.slide--card-b {
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
}

.slide__num {
  color: var(--accent);
}
.slide__body {
  margin-top: auto;
  margin-bottom: auto;
  padding: 24px 0;
}
.slide__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink-strong);
  text-shadow: 0 0 50px rgba(0,0,0,0.25);
}
.slide__sub {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 32ch;
}
.slide__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
}

.carousel__dots {
  display: flex;
  gap: 8px;
  padding-right: var(--pad);
  margin-top: 8px;
}
.carousel__dot {
  width: 22px;
  height: 2px;
  background: var(--hairline);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.carousel__dot.is-active { background: var(--accent); transform: scaleY(2); }

/* ─── Form ────────────────────────────────────────── */

.teaser__form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  position: relative;
  margin-top: 4px;
}
.teaser__field {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  background: rgba(184, 214, 226, 0.04);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 0 18px;
  height: 48px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.teaser__field:focus-within {
  border-color: var(--ink);
  background: rgba(184, 214, 226, 0.06);
}
.teaser__field input {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink-strong);
  height: 100%;
}
.teaser__field input::placeholder { color: var(--quiet); }

.teaser__honey {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.teaser__submit {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 22px;
  background: var(--accent);
  color: var(--paper-2);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: filter .25s var(--ease), transform .25s var(--ease);
}
.teaser__submit:hover  { filter: brightness(1.1); transform: translateY(-1px); }
.teaser__submit:active { transform: translateY(0); }
.teaser__submit[disabled] { opacity: 0.7; cursor: progress; }
.teaser__submit[data-loading="true"] [data-submit-label] { opacity: 0; }
.teaser__submit[data-loading="true"] .teaser__spin { opacity: 1; }
.teaser__spin {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: 0;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.teaser__status-msg {
  flex-basis: 100%;
  margin: 4px 4px 0;
  min-height: 1.2em;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: none;
}
.teaser__status-msg.is-success { color: var(--accent); }
.teaser__status-msg.is-error   { color: #f1a3ad; }

/* ─── Footer ──────────────────────────────────────── */

.teaser__foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  align-items: end;
}
.teaser__foot-cell {
  display: grid;
  gap: 2px;
  font-size: 11px;
  line-height: 1.4;
}
.teaser__foot-cell--center { text-align: center; }
.teaser__foot-cell--right  { text-align: right; }
.teaser__foot a:hover { color: var(--accent); }

/* ─── Reveal ──────────────────────────────────────── */

.teaser__top, .teaser__pill, .teaser__lede,
.about, .carousel, .capture, .teaser__foot {
  opacity: 0;
  animation: rise .9s var(--ease) forwards;
}
.teaser__top  { animation-delay: 0.00s; }
.teaser__pill { animation-delay: 0.55s; }
.teaser__lede { animation-delay: 0.65s; }
.about        { animation-delay: 0.80s; }
.carousel     { animation-delay: 0.95s; }
.capture      { animation-delay: 1.10s; }
.teaser__foot { animation-delay: 1.20s; }
@keyframes rise { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .teaser__top, .teaser__pill, .teaser__lede, .about, .carousel, .capture, .teaser__foot,
  .wordmark-xxl > span {
    opacity: 1; transform: none; animation: none;
  }
}

/* ─── Responsive ──────────────────────────────────── */

@media (max-width: 600px) {
  .teaser__foot {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }
  .teaser__foot-cell--center,
  .teaser__foot-cell--right { text-align: left; }
  .teaser__top { gap: 12px; }
  .carousel__track { grid-auto-columns: 86vw; }
}
