/* ═══════════════════════════════════════════════════════════════
   KTTA — Kim Thursfield Talent Agency
   Brand foundation: Version A (agreed 2026-08-14)
   Fraunces (display, italic accents) + Inter (body)
   Ink #0F0A11 · KTTA Pink #DB2777 · Gold #C9A36B · Ivory #F6EFE4
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --ink:        #0F0A11;
  --ink-soft:   #171019;
  --ink-card:   #1C1220;
  --pink:       #DB2777;
  --pink-lt:    #F472B6;
  --pink-deep:  #9D1B57;
  --gold:       #C9A36B;
  --gold-lt:    #E2C08D;
  --ivory:      #F6EFE4;
  --tx-mute:    rgba(246,239,228,0.62);
  --tx-soft:    rgba(246,239,228,0.45);
  --rule:       rgba(201,163,107,0.24);
  --rule-soft:  rgba(246,239,228,0.09);
  --nav-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: 'Inter', sans-serif;
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-lt); }
::selection { background: var(--pink); color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 3px;
}

/* ── type helpers ── */
.display { font-family: 'Fraunces', serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; color: var(--ivory); }
.display em { font-style: italic; color: var(--pink); }
.display .gold { font-style: italic; color: var(--gold-lt); }

.eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.eyebrow::before { content: ''; height: 1px; background: var(--gold); flex: 0 0 48px; }
.eyebrow span { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-lt); font-weight: 600; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; height: 1px; background: var(--gold); flex: 0 0 48px; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 2rem; border-radius: 999px; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: filter 0.2s, background 0.2s, color 0.2s, transform 0.15s; font-family: 'Inter', sans-serif; }
.btn.solid { background: var(--pink); color: #fff; }
.btn.solid:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn.ghost { border-color: var(--gold); color: var(--gold-lt); background: transparent; }
.btn.ghost:hover { background: var(--gold); color: var(--ink); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1rem 3rem; transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease; border-bottom: 1px solid transparent; min-height: var(--nav-h); }
.nav.scrolled, .nav.solid { background: rgba(15,10,17,0.93); border-bottom-color: var(--rule); }
.nav-logo { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
/* The redrawn Theatre mark is a self-framed round emblem — no box needed
   (the old bordered square belonged to the "K" lettermark). */
.nav-mark { width: 42px; height: 42px; border: none; border-radius: 50%; object-fit: contain; flex-shrink: 0; }
.nav-word { line-height: 1.12; }
.nav-word .top { font-family: 'Fraunces', serif; font-size: 1.08rem; font-weight: 600; color: var(--ivory); }
.nav-word .top em { font-style: italic; color: var(--pink-lt); }
.nav-word .bot { font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--tx-soft); margin-top: 0.2rem; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a { color: var(--tx-mute); text-decoration: none; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; transition: color 0.2s; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--pink-lt); }
.nav-links .btn { padding: 0.62rem 1.4rem; font-size: 0.66rem; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ivory); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── star canvas ── */
.star-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* ── section scaffolding ── */
.section { position: relative; padding: 6rem 3rem; }
.section-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.section-head p { color: var(--tx-mute); font-size: 1.02rem; }
.glow { position: relative; }
.glow::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 55% at 82% 12%, rgba(219,39,119,0.14) 0%, transparent 62%),
              radial-gradient(ellipse 40% 45% at 8% 90%, rgba(201,163,107,0.1) 0%, transparent 62%); }

/* ── stats row ── */
.stats { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.stat { padding: 1.4rem 1.8rem 0 0; margin-right: 1.8rem; border-right: 1px solid var(--rule-soft); }
.stat:last-child { border-right: none; margin-right: 0; }
.stat .num { font-family: 'Fraunces', serif; font-style: italic; font-size: 2.4rem; color: var(--gold-lt); font-weight: 500; line-height: 1; display: block; margin-bottom: 0.35rem; }
.stat .lab { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tx-mute); font-weight: 600; }

/* ── credits marquee ── */
.marquee { background: var(--gold); padding: 0.95rem 0; overflow: hidden; border-top: 1px solid rgba(0,0,0,0.18); border-bottom: 1px solid rgba(0,0,0,0.18); position: relative; z-index: 2; }
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.marquee-seq { display: flex; align-items: center; }
.marquee-seq span { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.12rem; letter-spacing: 0.04em; color: #14090F; padding: 0 1.1rem; }
.marquee-seq i { font-style: normal; color: rgba(20,9,15,0.55); font-size: 0.68rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── glass credit cards ── */
.glass-card { background: rgba(246,239,228,0.05); border: 1px solid rgba(246,239,228,0.14); border-radius: 18px; padding: 1.9rem 1.8rem; }
.glass-card .gc-title { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-lt); font-weight: 700; margin-bottom: 1rem; }
.credit-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule-soft); }
.credit-row:last-child { border-bottom: none; }
.credit-row .cname { font-family: 'Fraunces', serif; font-size: 1.04rem; color: var(--ivory); font-weight: 500; }
.type-tag { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.tag-stage { background: rgba(219,39,119,0.16); color: var(--pink-lt); border: 1px solid rgba(219,39,119,0.4); }
.tag-tv { background: rgba(201,163,107,0.14); color: var(--gold-lt); border: 1px solid rgba(201,163,107,0.4); }
.tag-film { background: rgba(246,239,228,0.1); color: var(--ivory); border: 1px solid rgba(246,239,228,0.28); }

/* ── credential badges (vibearts-inspired, Kim's request) ── */
.badges { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.badge { display: inline-flex; align-items: center; gap: 0.55rem; border: 1px solid var(--rule); border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.72rem; font-weight: 600; color: var(--ivory); letter-spacing: 0.04em; background: rgba(246,239,228,0.04); transition: border-color 0.2s, background 0.2s; }
.badge:hover { border-color: var(--gold); background: rgba(201,163,107,0.09); }
.badge svg { flex-shrink: 0; }

/* ── pillar cards ── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pillar { display: block; text-decoration: none; background: var(--ink-card); border: 1px solid var(--rule); border-radius: 16px; padding: 1.9rem 1.6rem; transition: transform 0.2s, border-color 0.2s; cursor: pointer; }
.pillar:hover { transform: translateY(-4px); border-color: var(--pink); }
.pillar .p-num { font-family: 'Fraunces', serif; font-style: italic; color: var(--gold-lt); font-size: 1.2rem; display: block; margin-bottom: 0.7rem; }
.pillar h3 { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600; color: var(--ivory); margin-bottom: 0.45rem; }
.pillar h3 em { font-style: italic; color: var(--pink-lt); }
.pillar p { font-size: 0.86rem; color: var(--tx-mute); line-height: 1.6; }
.pillar .p-link { display: inline-block; margin-top: 1rem; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt); font-weight: 700; }

/* ── image frame + placeholders ── */
.stage-frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); }
.stage-frame img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; text-align: center; background: repeating-linear-gradient(-45deg, var(--ink-card) 0, var(--ink-card) 14px, #211527 14px, #211527 28px); border: 1px dashed rgba(201,163,107,0.45); border-radius: 16px; padding: 2.4rem 1.6rem; color: var(--tx-mute); min-height: 220px; }
.placeholder .ph-label { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-lt); font-weight: 700; }
.placeholder p { font-size: 0.8rem; max-width: 300px; }

/* ── video embeds ── */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.video-embed { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--rule); background: #000; aspect-ratio: 16 / 9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── accordion (FAQ) ── */
.accordion { border-top: 1px solid var(--rule); }
.accordion details { border-bottom: 1px solid var(--rule-soft); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0.2rem; font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 500; color: var(--ivory); transition: color 0.2s; min-height: 44px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--pink-lt); }
.accordion summary::after { content: '+'; font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--gold-lt); flex-shrink: 0; transition: transform 0.25s; line-height: 1; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .a-body { padding: 0 0.2rem 1.5rem; color: var(--tx-mute); font-size: 0.95rem; max-width: 760px; }
.accordion .a-body p { margin-bottom: 0.8rem; }
.accordion .a-body ul { padding-left: 1.3rem; margin-bottom: 0.8rem; }
.accordion .a-body li { margin-bottom: 0.35rem; }
.accordion .a-body strong { color: var(--ivory); }

/* ── forms ── */
.form-card { background: var(--ink-card); border: 1px solid var(--rule); border-radius: 18px; padding: 2.2rem 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-lt); font-weight: 700; }
.field input, .field select, .field textarea { background: var(--ink); border: 1px solid var(--rule); border-radius: 10px; padding: 0.85rem 1rem; color: var(--ivory); font-family: 'Inter', sans-serif; font-size: 16px; min-height: 44px; transition: border-color 0.2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); outline: none; }
.field .hint { font-size: 0.74rem; color: var(--tx-soft); }
.form-note { font-size: 0.82rem; color: var(--tx-mute); background: rgba(201,163,107,0.07); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 0.9rem 1.1rem; margin: 1.3rem 0; }

/* ── books status banner ── */
.books-banner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0.8rem; background: linear-gradient(90deg, var(--pink-deep), var(--pink)); color: #fff; padding: 0.7rem 1.2rem; text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; flex-wrap: wrap; }
.books-banner .dot { width: 9px; height: 9px; border-radius: 50%; background: #6EE7B7; box-shadow: 0 0 10px #6EE7B7; flex-shrink: 0; }
.books-banner a { color: #fff; font-weight: 700; }

/* ── footer ── */
footer { background: #0A060C; border-top: 1px solid var(--rule); padding: 4rem 3rem 2.2rem; position: relative; z-index: 2; }
.foot-grid { max-width: 1200px; margin: 0 auto 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; }
.foot-brand p { color: var(--tx-mute); font-size: 0.88rem; line-height: 1.7; max-width: 320px; margin-top: 1rem; }
.foot-col h4 { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-lt); font-weight: 700; margin-bottom: 1.1rem; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 0.55rem; }
.foot-col a { color: var(--tx-mute); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.foot-col a:hover { color: var(--pink-lt); }
.foot-col .contact-line { color: var(--tx-mute); font-size: 0.88rem; }
.foot-bot { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--rule-soft); display: flex; justify-content: space-between; align-items: center; font-size: 0.74rem; color: var(--tx-soft); flex-wrap: wrap; gap: 0.8rem; }
.foot-partners { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 1.3rem; }
.foot-partners img { height: 30px; width: auto; border-radius: 6px; opacity: 0.85; }

/* ── page hero (inner pages) ── */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 5rem) 3rem 3.6rem; background: linear-gradient(170deg, #0C070E 0%, #1A0E1B 70%, var(--ink) 100%); border-bottom: 1px solid var(--rule); }
.page-hero .section-inner { max-width: 1200px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 1rem; max-width: 880px; }
.page-hero .lede { color: var(--tx-mute); font-size: 1.08rem; max-width: 640px; }

/* ── flowing ribbon backdrop (texture for text-heavy sections) ── */
.flow {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20900'%20preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient%20id='p'%20x1='0'%20y1='0'%20x2='1'%20y2='0'%3E%3Cstop%20offset='0'%20stop-color='%23DB2777'%20stop-opacity='0'/%3E%3Cstop%20offset='.5'%20stop-color='%23DB2777'%20stop-opacity='.6'/%3E%3Cstop%20offset='1'%20stop-color='%23DB2777'%20stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient%20id='g'%20x1='0'%20y1='0'%20x2='1'%20y2='0'%3E%3Cstop%20offset='0'%20stop-color='%23C9A36B'%20stop-opacity='0'/%3E%3Cstop%20offset='.5'%20stop-color='%23C9A36B'%20stop-opacity='.55'/%3E%3Cstop%20offset='1'%20stop-color='%23C9A36B'%20stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d='M-80,190%20C380,40%20780,340%201520,150'%20fill='none'%20stroke='url(%23p)'%20stroke-width='120'%20stroke-linecap='round'%20opacity='.07'/%3E%3Cpath%20d='M-80,700%20C500,860%20940,560%201520,760'%20fill='none'%20stroke='url(%23g)'%20stroke-width='100'%20stroke-linecap='round'%20opacity='.06'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* ── star divider ornament ── */
.star-divider { display: flex; align-items: center; gap: 1.1rem; margin: 2.8rem 0; }
.star-divider::before { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--rule)); }
.star-divider::after { content: ''; height: 1px; flex: 1; background: linear-gradient(270deg, transparent, var(--rule)); }
.star-divider svg { flex-shrink: 0; }

/* ── subtle cross-brand link (profile card footer) ── */
.side-link { border-top: 1px solid var(--rule); margin-top: 0.85rem; padding-top: 0.8rem; font-size: 0.78rem; color: var(--tx-mute); line-height: 1.6; }
.side-link a { color: var(--gold-lt); text-decoration: none; border-bottom: 1px solid var(--rule); }
.side-link a:hover { color: var(--pink-lt); }
.alt-path { font-size: 0.84rem; color: var(--tx-mute); margin-top: 1.6rem; }
.alt-path a { color: var(--gold-lt); }
.alt-path a:hover { color: var(--pink-lt); }

/* ── reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── prose (policy pages) ── */
.prose { max-width: 760px; }
.prose h2 { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 600; color: var(--ivory); margin: 2.4rem 0 0.9rem; }
.prose h2 em { font-style: italic; color: var(--pink-lt); }
.prose p { color: var(--tx-mute); margin-bottom: 1rem; font-size: 0.96rem; }
.prose ul { color: var(--tx-mute); padding-left: 1.4rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; font-size: 0.96rem; }
.prose strong { color: var(--ivory); }
.prose .callout { background: rgba(219,39,119,0.08); border-left: 3px solid var(--pink); border-radius: 0 10px 10px 0; padding: 1rem 1.2rem; margin: 1.4rem 0; color: var(--ivory); font-size: 0.94rem; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1020px) {
  .nav { padding: 0.9rem 1.3rem; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(15,10,17,0.98); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: flex-start; gap: 0; padding: 0.6rem 1.4rem 1.4rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 0; font-size: 0.85rem; }
  .nav-links .btn { margin-top: 0.7rem; justify-content: center; width: 100%; }
  .nav-toggle { display: flex; }
  .section { padding: 4rem 1.3rem; }
  .page-hero { padding-left: 1.3rem; padding-right: 1.3rem; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  footer { padding: 3rem 1.3rem 2rem; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .stats { gap: 0; }
  .stat { padding-right: 1.1rem; margin-right: 1.1rem; }
  .stat .num { font-size: 2rem; }
}

/* ═══ reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .star-canvas { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── 2026-08-29 amendments (Kim's review) ─────────────────────────────── */
/* The redrawn Theatre mark replaces the lettermark "K"; it carries its own
   framing, so the bordered box is dropped for the image version. */
img.nav-mark { border: none; object-fit: contain; background: transparent; border-radius: 50%; }
/* Brand lockup stacks cleanly: name on top, "Kim Thursfield · Bromley" always
   on its own line beneath (read oddly on phones before). */
.nav-word { display: flex; flex-direction: column; min-width: 0; }
@media (max-width: 480px) {
  .nav-word .top { font-size: 0.98rem; white-space: nowrap; }
  .nav-word .bot { letter-spacing: 0.22em; }
}
