/*
Theme Name: Teds Show
Theme URI: https://teds-show.se/
Author: Teds Show
Description: Ett vertikalt, redaktionellt och minimalistiskt WordPress-tema för podcasten Teds Show.
Version: 2.0.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: teds-show
*/

:root {
  --bg: #050505;
  --surface: #0b0b0b;
  --text: #f5f5f2;
  --muted: #a2a2a0;
  --line: rgba(255,255,255,.16);
  --accent: #08b6c4;
  --accent-2: #33d5df;
  --max: 1320px;
  --narrow: 880px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
::selection { background: var(--accent); color: #001114; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(5,5,5,.91);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--line);
}
.header-inner {
  width: min(calc(100% - 64px), var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header-logo { width: 90px; }
.header-logo img { width: 100%; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  position: relative;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--accent-2);
  transition: right .2s ease;
}
.main-nav a:hover::after { right: 0; }

.hero {
  min-height: 100svh;
  padding: 132px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(8,182,196,.08), transparent 30%),
    var(--bg);
  overflow: hidden;
}
.hero-inner {
  width: min(100%, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}
.hero-brand {
  width: min(590px, 78vw);
  filter: drop-shadow(0 14px 40px rgba(0,0,0,.45));
}
.hero-kicker {
  margin: 28px 0 44px;
  color: #b7b7b4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  line-height: 1.6;
}
.hero-portrait {
  width: min(620px, 100%);
  min-height: 0;
  margin: 0;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,5,5,.12) 0%, transparent 15%, transparent 72%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(.84) contrast(1.05);
}

.editorial-section {
  padding: clamp(110px, 13vw, 190px) 32px;
  border-top: 1px solid var(--line);
}
.narrow { width: min(100%, var(--narrow)); margin: 0 auto; }
.section-label {
  margin: 0 0 38px;
  color: var(--accent-2);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.display-title {
  margin: 0;
  font-size: clamp(52px, 8vw, 108px);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 800;
}
.podcast-copy { margin-top: clamp(54px, 7vw, 92px); }
.podcast-copy p {
  max-width: 840px;
  margin: 0 0 34px;
  color: #dededb;
  font-size: clamp(21px, 2.25vw, 31px);
  line-height: 1.48;
  letter-spacing: -.024em;
}
.podcast-copy .closing-line {
  margin-top: 54px;
  margin-bottom: 0;
  color: #9d9d9a;
  font-size: clamp(18px, 1.75vw, 23px);
  line-height: 1.58;
}

.platform-list a,
.email-link {
  transition: color .2s ease, padding .2s ease;
}

.studio-image {
  width: min(calc(100% - 64px), var(--max));
  height: min(83vw, 980px);
  min-height: 620px;
  margin: 0 auto clamp(35px, 4vw, 60px);
  overflow: hidden;
  background: #111;
}
.studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  filter: saturate(.82) contrast(1.03);
}

.platforms-section { background: var(--bg); color: var(--text); padding-top: clamp(90px, 10vw, 145px); padding-bottom: clamp(90px, 10vw, 145px); }
.platforms-section .section-label { color: var(--accent-2); }
.section-intro {
  max-width: 690px;
  margin: 42px 0 0;
  color: #a8a8a5;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.6;
}
.platform-list {
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.platform-list a {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.platform-card { color: var(--text); }
.platform-main {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.platform-icon {
  width: clamp(58px, 6vw, 72px);
  height: clamp(58px, 6vw, 72px);
  border-radius: 18px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.platform-icon svg {
  width: 52%;
  height: 52%;
  fill: currentColor;
}
.platform-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.platform-name {
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.05em;
}
.platform-meta {
  color: #9d9d9a;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.35;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
}
.platform-arrow {
  color: #8b8b88;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1;
  flex: 0 0 auto;
}
.platform-youtube .platform-icon {
  color: #ff2d2d;
  background: rgba(255, 45, 45, .12);
  border-color: rgba(255, 45, 45, .28);
}
.platform-spotify .platform-icon {
  color: #1ed760;
  background: rgba(30, 215, 96, .12);
  border-color: rgba(30, 215, 96, .28);
}
.platform-instagram .platform-icon {
  color: #fff;
  background: linear-gradient(135deg, rgba(131,58,180,.55) 0%, rgba(225,48,108,.45) 42%, rgba(245,96,64,.4) 72%, rgba(252,175,69,.45) 100%);
  border-color: rgba(255,255,255,.12);
}
.platform-list a:hover {
  padding-left: 10px;
  color: var(--text);
}
.platform-list a:hover .platform-name,
.platform-list a:hover .platform-arrow { color: var(--accent-2); }

.contact-section { background: var(--bg); }
.contact-section .section-intro { color: #a8a8a5; }
.email-link {
  margin-top: 66px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.025em;
  word-break: break-word;
}
.email-link:hover { color: var(--accent-2); padding-left: 8px; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner {
  width: min(calc(100% - 64px), var(--max));
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #777;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a5a5a2;
  transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.footer-social:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.05);
}
.footer-youtube:hover { color: #ff2d2d; }
.footer-spotify:hover { color: #1ed760; }
.footer-instagram:hover { color: #e75aa1; }

@media (max-width: 760px) {
  .header-inner { width: min(calc(100% - 36px), var(--max)); min-height: 68px; }
  .header-logo { width: 72px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 9px; letter-spacing: .12em; }
  .hero { min-height: 96svh; padding: 112px 18px 0; }
  .hero-kicker { margin: 22px 0 32px; font-size: 9px; letter-spacing: .18em; }
  .hero-portrait { width: min(500px, 100%); }
  .hero-portrait img { min-height: 500px; }
  .editorial-section { padding: 94px 22px; }
  .section-label { margin-bottom: 30px; }
  .podcast-copy { margin-top: 52px; }
  .podcast-copy p { margin-bottom: 28px; }
  .podcast-copy .closing-line { margin-top: 40px; }
  .platform-list { margin-top: 54px; }
  .platform-list a { gap: 16px; padding: 22px 0; }
  .platform-main { gap: 16px; align-items: flex-start; }
  .platform-icon { width: 54px; height: 54px; border-radius: 14px; }
  .platform-copy { gap: 6px; }
  .platform-meta { font-size: 12px; letter-spacing: .05em; }
  .platform-arrow { font-size: 24px; }
  .studio-image {
    width: calc(100% - 28px);
    height: 118vw;
    min-height: 0;
    margin-bottom: 16px;
  }
  .footer-inner {
    width: min(calc(100% - 40px), var(--max));
    padding: 34px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-socials { flex-wrap: nowrap; }
}

@media (max-width: 480px) {
  .main-nav a:first-child { display: none; }
  .hero-brand { width: min(340px, 84vw); }
  .display-title { font-size: clamp(47px, 15vw, 68px); }
  .platform-list a { font-size: 38px; }
}
