/* touchnetwork.tv welcome page, cinematic edition (2026-12-05).
   Loaded by index.html only. Brand lock (Constitution v1): Georgia headings, Arial text,
   golds #E8C685 / #E5AD2E, blacks #050607 / #141711, ivory #F8F0DC, gold TN logo. */
:root {
  --hx-ink: #050607;
  --hx-ink-2: #0b0d09;
  --hx-moss: #141711;
  --hx-ivory: #f8f0dc;
  --hx-dim: #cfc8b6;
  --hx-faint: #9d9787;
  --hx-gold: #e5ad2e;
  --hx-gold-soft: #e8c685;
  --hx-hair: rgba(232, 198, 133, 0.22);
  --hx-gutter: clamp(20px, 5vw, 80px);
}

body.hx { background: var(--hx-ink); }

/* ---------- header ---------- */
.hx .nav { background: linear-gradient(180deg, rgba(5,6,7,.92) 0%, rgba(5,6,7,.55) 70%, rgba(5,6,7,0) 100%); border-bottom: 0; box-shadow: none; }
.hx .nav.hx-scrolled { background: rgba(5,6,7,.94); border-bottom: 1px solid var(--hx-hair); backdrop-filter: blur(10px); }
.hx-navlinks { display: flex; align-items: center; gap: 26px; }
.hx-navlink { color: var(--hx-ivory); font: 400 16px/1 Arial, Helvetica, sans-serif; text-decoration: none; padding: 10px 2px; }
.hx-navlink:hover { color: var(--hx-gold-soft); text-decoration: none; }
.hx-navlink:focus-visible { outline: 2px solid var(--hx-gold-soft); outline-offset: 4px; border-radius: 4px; }
.hx-navsep { width: 1px; height: 22px; background: var(--hx-hair); }

/* ---------- hero ---------- */
.hx-hero { position: relative; min-height: clamp(600px, 88vh, 900px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--hx-ink); }
.hx-media { position: absolute; inset: calc(var(--nav-h) - 6px) 0 0 30%; z-index: -2; overflow: hidden; }
.hx-media img, .hx-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  /* warm cinematic grade over the daylight footage */
  filter: saturate(.9) contrast(1.15) brightness(.8) sepia(.14);
}
.hx-media img { animation: hx-push 2.6s var(--ease) both; }
.hx-media video { opacity: 0; transition: opacity 1.4s ease; }
.hx-media video.hx-on { opacity: 1; }
/* scrims: left fade into ink for the words, bottom fade into the page, top shade for the header */
.hx-media::before, .hx-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hx-media::before {
  background:
    linear-gradient(90deg, var(--hx-ink) 0%, rgba(5,6,7,.86) 16%, rgba(5,6,7,.35) 42%, rgba(5,6,7,0) 64%),
    linear-gradient(0deg, var(--hx-ink) 0%, rgba(5,6,7,.55) 18%, rgba(5,6,7,0) 42%),
    linear-gradient(180deg, rgba(5,6,7,.75) 0%, rgba(5,6,7,0) 16%),
    radial-gradient(120% 95% at 58% 38%, rgba(5,6,7,0) 45%, rgba(5,6,7,.7) 100%);
}
/* gold light leak and soft film grain */
.hx-media::after {
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(229,173,46,.16), rgba(229,173,46,0) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: .32;
}
.hx-copy { position: relative; width: 100%; max-width: 640px; padding: calc(var(--nav-h) + 40px) var(--hx-gutter) 72px; }
.hx-eyebrow { display: block; font: 700 13px/1 Arial, Helvetica, sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--hx-gold-soft); margin: 0 0 16px; }
.hx-show { display: block; width: min(300px, 70%); height: auto; margin: 0 0 8px; filter: drop-shadow(0 6px 22px rgba(0,0,0,.55)); }
.hx-episode { margin: 0; font: 400 17px/1.4 Arial, Helvetica, sans-serif; color: var(--hx-ivory); }
.hx-rule { display: block; width: 56px; height: 2px; margin: 26px 0 24px; background: linear-gradient(90deg, var(--hx-gold), rgba(229,173,46,0)); border: 0; }
.hx-hero h1 { margin: 0; font: 400 clamp(46px, 6.4vw, 92px)/1.0 Georgia, "Times New Roman", serif; letter-spacing: -0.015em; color: var(--hx-ivory); text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hx-sub { margin: 18px 0 0; font: 400 clamp(18px, 1.6vw, 22px)/1.45 Georgia, "Times New Roman", serif; color: var(--hx-dim); }
.hx-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin: 34px 0 0; }
.hx-actions .btn-lg { padding: 17px 34px; }
.hx-textlink { color: var(--hx-ivory); font: 400 17px/1 Arial, Helvetica, sans-serif; text-decoration: underline; text-decoration-color: var(--hx-gold); text-underline-offset: 7px; text-decoration-thickness: 1px; padding: 8px 0; }
.hx-textlink:hover { color: var(--hx-gold-soft); }
.hx-textlink:focus-visible { outline: 2px solid var(--hx-gold-soft); outline-offset: 4px; border-radius: 4px; }
.hx-fine { margin: 18px 0 0; font: 400 14px/1.4 Arial, Helvetica, sans-serif; color: var(--hx-faint); }
.hx-watch { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--hx-dim); font: 400 14px/1 Arial, Helvetica, sans-serif; letter-spacing: .04em; }
.hx-watch::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hx-gold); box-shadow: 0 0 12px var(--hx-gold); }

/* staggered entrance; everything is readable at rest */
.hx-copy > * { animation: hx-rise .9s var(--ease) both; }
.hx-copy > :nth-child(2) { animation-delay: .08s; }
.hx-copy > :nth-child(3) { animation-delay: .14s; }
.hx-copy > :nth-child(4) { animation-delay: .2s; }
.hx-copy > :nth-child(5) { animation-delay: .26s; }
.hx-copy > :nth-child(6) { animation-delay: .32s; }
.hx-copy > :nth-child(n+7) { animation-delay: .4s; }
@keyframes hx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hx-push { from { transform: scale(1.07); } to { transform: scale(1); } }

/* ---------- gold hairline ---------- */
.hx-hair { height: 1px; border: 0; margin: 0 var(--hx-gutter); background: linear-gradient(90deg, rgba(229,173,46,0), rgba(229,173,46,.55) 30%, rgba(232,198,133,.55) 70%, rgba(229,173,46,0)); }

/* ---------- show row ---------- */
.hx-shows { padding: 56px 0 64px; background: linear-gradient(180deg, var(--hx-ink) 0%, var(--hx-ink-2) 100%); }
.hx-h2 { margin: 0 var(--hx-gutter) 26px; font: 400 clamp(26px, 2.6vw, 36px)/1.15 Georgia, "Times New Roman", serif; color: var(--hx-ivory); }
.hx-h2 span { color: var(--hx-gold); }
.hx-grid { list-style: none; margin: 0; padding: 0 var(--hx-gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.hx-card { display: block; color: inherit; text-decoration: none; border-radius: 14px; outline: none; }
.hx-card:hover { text-decoration: none; }
.hx-art { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--hx-moss); box-shadow: 0 18px 40px rgba(0,0,0,.45); border: 1px solid rgba(232,198,133,.12); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.hx-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease), filter .5s var(--ease); filter: saturate(.95) brightness(.94); }
.hx-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,7,.55) 0%, rgba(5,6,7,0) 45%); pointer-events: none; }
.hx-badge { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(5,6,7,.72); border: 1px solid var(--hx-hair); color: var(--hx-gold-soft); font: 700 10.5px/1 Arial, Helvetica, sans-serif; letter-spacing: .18em; text-transform: uppercase; backdrop-filter: blur(6px); }
.hx-titleart { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; text-align: center; font: 400 clamp(26px, 2.4vw, 38px)/1 Georgia, "Times New Roman", serif; letter-spacing: .28em; text-transform: uppercase; color: var(--hx-ivory); text-shadow: 0 4px 24px rgba(0,0,0,.8); }
.hx-play { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #fff3cb 0%, #e6bb75 48%, #c18c46 100%); color: #171006; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .35s var(--ease), transform .35s var(--ease); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.hx-play svg { margin-left: 3px; }
.hx-kicker { margin: 16px 2px 0; font: 700 10.5px/1 Arial, Helvetica, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--hx-gold-soft); }
.hx-name { margin: 8px 2px 4px; font: 400 21px/1.2 Georgia, "Times New Roman", serif; color: var(--hx-ivory); }
.hx-meta { margin: 0 2px; font: 400 14.5px/1.4 Arial, Helvetica, sans-serif; color: var(--hx-dim); }
.hx-card:hover .hx-art, .hx-card:focus-visible .hx-art { transform: translateY(-6px); border-color: rgba(232,198,133,.6); box-shadow: 0 26px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(232,198,133,.25), 0 0 40px rgba(229,173,46,.12); }
.hx-card:hover .hx-art img, .hx-card:focus-visible .hx-art img { transform: scale(1.05); filter: saturate(1.05) brightness(1); }
.hx-card:hover .hx-play, .hx-card:focus-visible .hx-play { opacity: 1; transform: none; }
.hx-card:focus-visible .hx-art { outline: 2px solid var(--hx-gold-soft); outline-offset: 4px; }

/* ---------- closing line ---------- */
.hx-close { padding: 8px var(--hx-gutter) 80px; text-align: center; background: linear-gradient(180deg, var(--hx-ink-2) 0%, var(--hx-moss) 45%, var(--hx-ink) 100%); }
.hx-close h2 { margin: 0; font: 400 clamp(30px, 3.6vw, 50px)/1.1 Georgia, "Times New Roman", serif; color: var(--hx-ivory); text-wrap: balance; }
.hx-close p { margin: 14px auto 0; max-width: 46ch; font: 400 17px/1.55 Arial, Helvetica, sans-serif; color: var(--hx-dim); }
.hx-close .hx-actions { justify-content: center; }

.hx-faq { padding-top: 64px; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .hx-media { left: 18%; }
  .hx-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--hx-gutter); gap: 18px; padding-bottom: 8px; scrollbar-width: none; }
  .hx-grid::-webkit-scrollbar { display: none; }
  .hx-grid > li { flex: 0 0 min(44vw, 420px); scroll-snap-align: start; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  .hx-navlinks { gap: 14px; }
  .hx-navlinks .hx-browse, .hx-navsep, .hx-navlinks .btn-gold { display: none; }
  .hx-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hx-media { position: relative; inset: auto; height: 56svh; min-height: 340px; }
  .hx-media img { object-position: 40% 18%; }
  .hx-media::before { background: linear-gradient(0deg, var(--hx-ink) 0%, rgba(5,6,7,.6) 22%, rgba(5,6,7,0) 50%), linear-gradient(180deg, rgba(5,6,7,.7) 0%, rgba(5,6,7,0) 26%); }
  .hx-copy { margin-top: -110px; padding: 0 20px 44px; max-width: none; }
  .hx-eyebrow { font-size: 11px; letter-spacing: .28em; margin-bottom: 12px; }
  .hx-show { width: min(230px, 64%); }
  .hx-episode { font-size: 15px; }
  .hx-rule { margin: 18px 0 16px; }
  .hx-hero h1 { font-size: clamp(36px, 10vw, 46px); line-height: 1.04; }
  .hx-sub { font-size: 17px; margin-top: 12px; }
  .hx-actions { margin-top: 24px; gap: 12px; }
  .hx-actions .btn-lg { width: 100%; text-align: center; justify-content: center; padding: 16px 20px; font-size: 17px; }
  .hx-hero .hx-textlink { display: none; }
  .hx-fine { text-align: center; font-size: 13px; width: 100%; }
  .hx-watch { display: none; }
  .hx-shows { padding: 40px 0 44px; }
  .hx-h2 { margin: 0 20px 18px; font-size: 24px; }
  .hx-grid { padding: 0 20px 6px; gap: 14px; scroll-padding-left: 20px; }
  .hx-grid > li { flex-basis: 74vw; }
  .hx-name { font-size: 18px; }
  .hx-kicker { margin-top: 12px; font-size: 9.5px; }
  .hx-meta { font-size: 13.5px; }
  .hx-play { opacity: 1; transform: none; width: 40px; height: 40px; }
  .hx-close { padding: 52px 20px 56px; }
  .hx-close p { font-size: 15.5px; }
  .hx-hair { margin: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-copy > *, .hx-media img { animation: none; }
  .hx-art, .hx-art img, .hx-play, .hx-media video { transition: none; }
}
