/* Cursed Tea Productions – site styles */

:root {
  --parchment: #E8E1CF;
  --parchment-pale: #F2ECDD;
  --night: #1E1F18;
  --moss: #3F4D33;
  --rust: #8C4A2B;
  --gold: #D9B98C;
  --ink: #1E1C16;
  --ink-soft: #3A362D;
  --ink-muted: #4A463C;
  --rule: #C9C0A8;
  --on-dark: #E8E1CF;
  --on-dark-soft: #D6CFBD;
  --on-moss-soft: #DCD5C2;
  --display: 'IM Fell English', Georgia, serif;
  --display-sc: 'IM Fell English SC', Georgia, serif;
  --body: 'Spectral', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: #7A3F22; }
a:hover { color: #4F2814; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink); padding: 12px 18px; z-index: 10;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header { background: var(--night); color: var(--on-dark); }
.site-header .container {
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--on-dark); text-decoration: none; }
.brand:hover { color: var(--gold); }
.brand span { font-family: var(--display-sc); font-size: 24px; letter-spacing: 0.04em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.site-nav a { color: var(--on-dark); text-decoration: none; font-size: 17px; display: inline-block; padding: 10px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* Shared section styles */
.section { padding: 100px 0; }
.section--tight-top { padding-top: 40px; }
.section--dark { background: var(--night); color: var(--on-dark); }
.section--moss { background: var(--moss); color: #EDE7D6; }
.section--pale { background: var(--parchment-pale); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.eyebrow {
  font-family: var(--display-sc); font-size: 16px; letter-spacing: 0.18em;
  color: var(--rust); margin: 0 0 16px;
}
.section--dark .eyebrow, .section--moss .eyebrow, .hero .eyebrow { color: var(--gold); }

.lead { font-size: 21px; color: var(--on-dark-soft); max-width: 42rem; }
.soft { color: var(--ink-soft); }
.section--moss .soft { color: var(--on-moss-soft); }

.h-xl { font-size: clamp(44px, 7vw, 92px); line-height: 1.03; margin-bottom: 32px; }
.h-l { font-size: clamp(36px, 4.5vw, 52px); line-height: 1.1; margin-bottom: 24px; }
.h-m { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }
.h-s { font-size: 30px; line-height: 1.2; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px 64px; align-items: start; }
.two-col--center { align-items: center; }

/* Hero */
.hero { background: var(--night); color: var(--on-dark); position: relative; overflow: hidden; }
.hero .container { position: relative; padding-top: 110px; padding-bottom: 130px; }
.hero .eyebrow { font-size: 18px; letter-spacing: 0.2em; margin-bottom: 24px; }
.hero-tree { position: absolute; right: -40px; bottom: -20px; width: 560px; max-width: 60%; opacity: 0.22; pointer-events: none; }
.hero--page .container { padding-top: 96px; padding-bottom: 110px; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.btn {
  display: inline-block; font-family: var(--body); font-size: 18px; font-weight: 500;
  padding: 15px 28px; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.3;
}
.btn--rust { background: var(--rust); color: #F5EFE0; }
.btn--rust:hover { background: #6F3A20; color: #F5EFE0; }
.btn--light { background: var(--parchment); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost { border-color: #8F8A78; color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Divider */
.divider { display: block; width: 100%; height: 24px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 36px 32px; background: var(--parchment-pale); border: 1px solid var(--rule);
  color: var(--ink); text-decoration: none;
}
a.card:hover { border-color: var(--rust); color: var(--ink); }
.card p { font-size: 18px; color: var(--ink-soft); margin: 0; }
.card .more { color: var(--rust); font-weight: 500; font-size: 17px; margin-top: auto; }

/* Themes grid */
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.theme { background: var(--parchment-pale); padding: 36px 30px; display: flex; flex-direction: column; gap: 12px; }
.theme .label { font-family: var(--display-sc); font-size: 15px; letter-spacing: 0.18em; color: var(--rust); }
.theme h3 { font-size: 27px; line-height: 1.2; }
.theme p { font-size: 17px; color: var(--ink-soft); margin: 0; }

/* Feature illustration panel */
.panel-art { aspect-ratio: 4 / 3; border: 1px solid #7E8A6E; background: #34402A; display: flex; align-items: center; justify-content: center; }
.panel-art svg { width: 70%; height: auto; }

/* Callout box */
.callout { border: 1px solid var(--rule); background: var(--parchment-pale); padding: 48px 40px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.callout > div { flex: 1 1 420px; }

/* Productions */
.feature-production { background: var(--night); color: var(--on-dark); display: flex; flex-wrap: wrap; margin-bottom: 32px; }
.feature-production .numeral { flex: 1 1 340px; min-height: 340px; background: #2B2C22; display: flex; align-items: center; justify-content: center; }
.feature-production .numeral span { font-family: var(--display); font-size: 180px; line-height: 1; color: #3A3B2F; }
.feature-production .text { flex: 999 1 420px; padding: 44px 40px; display: flex; flex-direction: column; gap: 14px; }
.feature-production .label { font-family: var(--display-sc); font-size: 15px; letter-spacing: 0.16em; color: var(--gold); }
.feature-production h3 { font-size: 48px; line-height: 1; }
.feature-production .hook { font-family: var(--display); font-size: 28px; line-height: 1.35; color: #F1EBDD; margin: 0; }
.feature-production .story { color: var(--on-dark-soft); margin: 0; }
.feature-production .note { font-size: 16px; color: #A39C89; margin: 0; }
.feature-production .tagline { font-family: var(--display); font-style: italic; font-size: 26px; color: var(--gold); margin: 6px 0 0; }

.dev-card { max-width: 560px; background: var(--parchment-pale); border: 1px dashed #8F8A78; }
.dev-card .art { aspect-ratio: 16 / 9; background: var(--moss); display: flex; align-items: center; justify-content: center; }
.dev-card .art svg { width: 26%; }
.dev-card .body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.dev-card .label { font-family: var(--display-sc); font-size: 15px; letter-spacing: 0.16em; color: var(--rust); }
.dev-card h3 { font-size: 30px; }
.dev-card p { font-size: 17px; color: var(--ink-soft); margin: 0; }

/* Podcasts */
.podcast { padding-bottom: 96px; margin-bottom: 96px; border-bottom: 1px solid #6B775C; }
.podcast:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.podcast-title { font-size: clamp(56px, 7vw, 76px); line-height: 1; margin-bottom: 16px; }
.podcast-sub { font-family: var(--display); font-style: italic; font-size: 28px; line-height: 1.25; color: #F1EBDD; margin: 0; }
.episodes { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid #6B775C; }
.episodes li { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid #6B775C; align-items: baseline; }
.episodes .num { font-family: var(--display); font-size: 34px; color: var(--gold); width: 56px; }
.episodes .ep { flex: 1 1 360px; }
.episodes h3 { font-size: 28px; margin-bottom: 4px; }
.episodes p { font-size: 17px; color: #CFC8B4; margin: 0; }
.episodes .status { font-size: 16px; color: #A9B39A; }
.episodes .status--pilot { color: var(--gold); }
.small-note { font-size: 15px; color: #BDB6A3; margin-top: 32px; }

/* About */
.portrait { aspect-ratio: 4 / 5; max-width: 460px; background: var(--night); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; }
.portrait svg { width: 34%; opacity: 0.7; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.timeline li { border-top: 2px solid var(--moss); padding-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.timeline .label { font-family: var(--display-sc); font-size: 15px; letter-spacing: 0.16em; color: var(--rust); }
.timeline .what { font-family: var(--display); font-size: 24px; line-height: 1.25; }
.timeline .where { font-size: 16px; color: var(--ink-muted); }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.offers h2 { font-size: 32px; margin-bottom: 14px; }
.offers p { font-size: 18px; color: var(--ink-soft); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.form--inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form--inline .field { flex: 1 1 260px; }
.field label { font-size: 16px; font-weight: 500; }
.field input, .field textarea {
  font-family: inherit; font-size: 18px; padding: 14px 16px;
  border: 1px solid #8F8A78; background: var(--parchment-pale); color: var(--ink); width: 100%;
}
.section--moss .field input, .section--moss .field textarea { border-color: #A9B39A; background: #EDE7D6; }
.field textarea { resize: vertical; min-height: 140px; }
.form .btn { align-self: flex-start; border: none; }
.hidden-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--night); color: #BDB6A3; font-size: 16px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.site-footer .name { font-family: var(--display-sc); font-size: 20px; color: var(--on-dark); }
.site-footer a { color: #BDB6A3; }
.site-footer a:hover { color: var(--gold); }

/* Small screens */
@media (max-width: 640px) {
  body { font-size: 18px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero .container { padding-top: 72px; padding-bottom: 90px; }
  .callout { padding: 32px 24px; }
  .feature-production .text { padding: 32px 24px; }
  .feature-production .numeral { min-height: 220px; }
  .feature-production .numeral span { font-size: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
