/* ==========================================================================
   Pitch Pop - site styles
   Colours, type and spacing tokens are defined once in :root.
   ========================================================================== */

@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --violet: #6C3BFF;
  --violet-dark: #5528e6;
  --coral: #FF5C67;
  --coral-dark: #f2434f;
  --lime: #D7F75B;
  --ink: #181621;
  --warm: #FAF7F2;
  --aqua: #27D3CB;
  --lavender: #E7DEFF;
  --peach: #FFE2D6;

  --ink-70: rgba(24, 22, 33, .72);
  --ink-55: rgba(24, 22, 33, .58);
  --line: rgba(24, 22, 33, .12);
  --field-border: #b9a8f2;
  --field-bg: #fdfcff;
  --danger: #c4213a;
  --success: #117a55;

  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 76px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(24, 22, 33, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 860px) { :root { --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
p { margin: 0; }
section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + 12px); }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .services :focus-visible, .site-footer :focus-visible, .cast-hero :focus-visible { outline-color: var(--lime); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--warm); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--violet);
  margin-bottom: 18px;
}
.eyebrow--rule::before { content: ""; width: 56px; height: 3px; background: var(--violet); border-radius: 2px; }
.eyebrow--light { color: rgba(250, 247, 242, .9); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--warm); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px;
  border: 2px solid var(--bd); border-radius: 10px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(24, 22, 33, .45); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--coral { --bg: var(--coral); --fg: var(--ink); }
.btn--coral:hover { --bg: #ff4a57; }
.btn--violet { --bg: var(--violet); --fg: #fff; }
.btn--violet:hover { --bg: var(--violet-dark); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: var(--warm); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 16px; }
.btn svg { flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--warm);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.brand img { height: 42px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.primary-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); list-style: none; margin: 0; padding: 0; }
.primary-nav a.nav-link {
  position: relative; display: inline-block; padding: 8px 0;
  font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--ink);
  white-space: nowrap;
}
.primary-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.primary-nav a.nav-link:hover::after, .primary-nav a.nav-link[aria-current]::after { transform: scaleX(1); }
.header-cta { flex: none; }
.menu-toggle {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; border-radius: 8px;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .primary-nav ul { gap: 18px; }
  .primary-nav a.nav-link { font-size: 14.5px; }
}
@media (max-width: 960px) {
  .brand img { height: 34px; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { gap: 12px; }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .primary-nav { gap: 12px; }
  .primary-nav ul {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--warm); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 24px 30px -24px rgba(24, 22, 33, .35);
  }
  .js .primary-nav ul { display: none; }
  .js .primary-nav.is-open ul { display: flex; }
  .primary-nav a.nav-link { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .primary-nav li:last-child a.nav-link { border-bottom: 0; }
  .primary-nav a.nav-link::after { display: none; }
  .primary-nav a.nav-link[aria-current] { color: var(--violet); }
  .header-cta.btn { min-height: 40px; padding: 7px 14px; font-size: 14.5px; border-radius: 9px; }
}
@media (max-width: 380px) {
  .brand img { height: 28px; }
  .header-cta.btn { padding: 6px 11px; font-size: 13.5px; }
}
/* Without JavaScript the mobile menu is shown as a simple list under the header */
@media (max-width: 960px) {
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .primary-nav ul { position: static; box-shadow: none; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; padding: 0; border: 0; background: none; }
}

/* ---------- Reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero__title { font-size: clamp(2.5rem, 5.85vw, 5.25rem); letter-spacing: -.055em; line-height: .95; }
.hero__title .l { display: block; white-space: nowrap; }
.hero__title .pop { color: var(--violet); }
.hero__text { position: relative; z-index: 2; }
.hero__lede { margin-top: clamp(22px, 3vw, 34px); max-width: 36ch; font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--ink); }
.hero__actions { margin-top: clamp(28px, 3.4vw, 40px); display: flex; flex-wrap: wrap; gap: 18px; }
.hero__actions .btn { min-width: 200px; }

.hero__art { position: relative; width: 100%; aspect-ratio: 1 / 1.02; }
.hero__spark {
  position: absolute; z-index: 0; pointer-events: none;
  width: 150%; left: -22%; top: -32%;
  animation: spark-drift 38s ease-in-out infinite alternate;
}
@keyframes spark-drift { from { transform: rotate(-4deg) scale(1); } to { transform: rotate(5deg) scale(1.04); } }

.art-card {
  position: absolute; z-index: 1; margin: 0;
  border-radius: 16px; overflow: hidden; background: var(--lavender);
  box-shadow: 0 28px 50px -22px rgba(24, 22, 33, .55), 0 2px 6px rgba(24, 22, 33, .08);
  transition: transform .5s var(--ease);
}
.art-card img { width: 100%; height: 100%; object-fit: cover; }
.art-card--portrait { width: 38%; aspect-ratio: 3 / 4; left: 4%; top: 16%; transform: rotate(-8deg); z-index: 2; }
.art-card--noise    { width: 41%; aspect-ratio: 3 / 4; left: 31%; top: 4%; transform: rotate(5deg); z-index: 3; }
.art-card--bottle   { width: 36%; aspect-ratio: 3 / 4; left: 62%; top: 22%; transform: rotate(8deg); z-index: 2; }
.art-card--lime     { width: 27%; aspect-ratio: 4 / 5; left: 44%; top: 58%; transform: rotate(-6deg); z-index: 4; }
@media (hover: hover) {
  .hero__art:hover .art-card--portrait { transform: rotate(-10deg) translateY(-6px); }
  .hero__art:hover .art-card--noise { transform: rotate(3deg) translateY(-8px); }
  .hero__art:hover .art-card--bottle { transform: rotate(10deg) translateY(-6px); }
  .hero__art:hover .art-card--lime { transform: rotate(-3deg) translateY(-10px); }
}

@media (max-width: 600px) {
  .hero__actions { flex-direction: column; gap: 14px; }
  .hero__actions .btn { width: 100%; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.3rem, calc((100vw - 44px) / 7), 4.8rem); }
  .hero__lede { max-width: 40ch; }
  .hero__art { max-width: 560px; margin: 20px auto 0; aspect-ratio: 1 / .74; }
  .hero__spark { width: 90%; left: 5%; top: -8%; }
  .art-card--portrait { width: 34%; left: 30%; top: 12%; transform: rotate(-3deg); z-index: 3; }
  .art-card--noise { width: 34%; left: 1%; top: 6%; transform: rotate(-7deg); z-index: 2; }
  .art-card--bottle { width: 33%; left: 64%; top: 2%; transform: rotate(6deg); z-index: 2; }
  .art-card--lime { width: 25%; left: 60%; top: 50%; transform: rotate(7deg); z-index: 4; }
}

/* ---------- About ---------- */
.about { padding: var(--section-y) 0 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.about__title { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.about__copy { padding-top: clamp(0px, 1.8vw, 26px); display: grid; gap: 26px; font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.62; color: var(--ink); }
.about__divider { margin-top: clamp(60px, 8vw, 110px); border: 0; height: 1px; background: #cfc2f7; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.services { background: var(--violet); color: var(--warm); padding: var(--section-y) 0; margin-top: var(--section-y); }
.services__title { font-size: clamp(2.4rem, 5vw, 4.6rem); color: var(--warm); margin-bottom: clamp(36px, 4.5vw, 56px); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); list-style: none; margin: 0; padding: 0; }
.service-card {
  background: var(--warm); color: var(--ink);
  border-radius: var(--radius); padding: clamp(26px, 2.6vw, 38px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -24px rgba(12, 6, 40, .7); }
.service-card__icon { width: 64px; height: 64px; margin-bottom: 18px; color: var(--ink); transition: color .25s; }
.service-card__icon .accent { color: var(--coral); }
.service-card:hover .service-card__icon { color: var(--violet); }
.service-card h3 { font-weight: 700; font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 12px; }
.service-card p { font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
@media (max-width: 1000px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services__grid { grid-template-columns: 1fr; } }

/* ---------- Creative showcase ---------- */
.showcase { padding: var(--section-y) 0; }
.showcase__title { font-size: clamp(2.6rem, 5.4vw, 5rem); margin-bottom: clamp(36px, 4.5vw, 60px); }
.showcase__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4.5vw, 64px) clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.work__open {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; border-radius: var(--radius);
}
.work__panel {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 3%;
  aspect-ratio: 16 / 10.4; padding: 5% 4.5%; border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work__open:hover .work__panel { transform: translateY(-5px); box-shadow: var(--shadow); }
.work__panel--cream { background: #f1ebe2; }
.work__panel--coral { background: var(--coral); }
.work__panel--peach { background: var(--peach); }
.work__panel--lavender { background: var(--lavender); }
.work__shot { margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 14px 28px -16px rgba(24, 22, 33, .55); background: #eee; flex: none; }
.work__shot img { width: 100%; height: 100%; object-fit: cover; }
.work__panel--feed .work__shot { width: 31%; aspect-ratio: 4 / 5; }
.work__panel--ads .work__shot--square { width: 56%; aspect-ratio: 1 / 1; }
.work__panel--ads .work__shot--story { width: 29%; aspect-ratio: 9 / 16; }
.work__panel--reels .work__shot { width: 25%; aspect-ratio: 9 / 16; }
.work__panel--landing .work__shot--landing { width: 62%; aspect-ratio: 4 / 3; }
.work__panel--landing .work__shot--email { width: 31%; aspect-ratio: 2 / 3; }
.work__zoom {
  position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--warm); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(24, 22, 33, .5); opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s var(--ease);
}
.work__open:hover .work__zoom, .work__open:focus-visible .work__zoom { opacity: 1; transform: none; }
@media (hover: none) { .work__zoom { opacity: 1; transform: none; } }
.work__title { margin-top: 22px; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.035em; }
.work__cat { margin-top: 6px; font-weight: 600; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--violet); }
@media (max-width: 800px) { .showcase__grid { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(16, 14, 24, .94); color: var(--warm);
}
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 3vw, 28px); }
.lightbox__caption { font-size: 15px; line-height: 1.35; }
.lightbox__caption strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.lightbox__count { color: rgba(250, 247, 242, .7); font-size: 14px; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(8px, 6vw, 90px); touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.lightbox__btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(250, 247, 242, .35);
  background: rgba(24, 22, 33, .6); color: var(--warm); display: grid; place-items: center; cursor: pointer; flex: none;
  transition: background-color .2s, border-color .2s;
}
.lightbox__btn:hover { background: var(--violet); border-color: var(--violet); }
.lightbox__btn[hidden] { display: none; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox__prev { left: clamp(8px, 2vw, 24px); }
.lightbox__next { right: clamp(8px, 2vw, 24px); }
.lightbox__dots { display: flex; justify-content: center; gap: 8px; padding: 14px 0 20px; }
.lightbox__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(250, 247, 242, .35); }
.lightbox__dots span.is-active { background: var(--lime); }
body.no-scroll { overflow: hidden; }

/* ---------- Approach ---------- */
.approach { background: var(--ink); color: var(--warm); padding: var(--section-y) 0; }
.approach .eyebrow { color: rgba(250, 247, 242, .92); letter-spacing: .22em; }
.approach__title { font-size: clamp(2.5rem, 5.2vw, 4.8rem); margin-bottom: clamp(44px, 6vw, 80px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.step__head { display: flex; align-items: center; gap: 22px; margin-bottom: 14px; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 5.4vw, 5rem); letter-spacing: -.04em; line-height: 1; color: var(--coral); }
.step__line { flex: 1; height: 1.5px; background: #7a64d9; opacity: .9; }
.step:last-child .step__line { display: none; }
.step h3 { font-weight: 700; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -.02em; margin-bottom: 8px; }
.step p { color: rgba(250, 247, 242, .86); font-size: 1.05rem; line-height: 1.5; max-width: 26ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { position: relative; padding-bottom: 34px; }
  .step__head { margin-bottom: 8px; }
  .step__line { display: none; }
  .step::after { content: ""; display: block; width: 2px; height: 46px; margin: 24px 0 0 4px; background: #7a64d9; }
  .step:last-child::after { display: none; }
  .step:last-child { padding-bottom: 0; }
}

/* ---------- Contact ---------- */
.contact { padding: var(--section-y) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.contact__title { font-size: clamp(2.8rem, 6vw, 5.4rem); letter-spacing: -.05em; line-height: .96; }
.contact__lede { margin-top: 24px; font-size: clamp(1.08rem, 1.45vw, 1.28rem); max-width: 34ch; }
.contact__email { display: flex; align-items: center; gap: 22px; margin-top: 36px; }
.contact__email svg { flex: none; color: var(--violet); }
.contact__email strong { display: block; font-weight: 600; font-size: 17px; }
.contact__email a { font-size: 1.12rem; text-decoration: none; }
.contact__email a:hover { text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 4px; }
.contact__wa { margin-top: 32px; min-width: 300px; min-height: 60px; font-size: 1.2rem; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__wa { width: 100%; min-width: 0; }
}

/* ---------- Forms (shared) ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: 16px; margin-bottom: 8px; line-height: 1.3; }
.field .opt { font-weight: 400; color: var(--ink-70); }
.input, .select, .textarea {
  width: 100%; min-height: 56px; padding: 13px 16px;
  font-family: var(--font-body); font-size: 17px; line-height: 1.4;
  background: var(--field-bg); color: var(--ink);
  border: 1.5px solid var(--field-border); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #8a8599; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--violet); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(108, 59, 255, .18); }
.textarea { min-height: 130px; resize: vertical; }
.select {
  padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 1.5 8 8l6.5-6.5' fill='none' stroke='%236C3BFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 16px 10px;
}
.select:invalid, .select option[value=""] { color: #6f6a7e; }
.select option { color: var(--ink); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { margin-top: 6px; font-size: 14.5px; color: var(--danger); font-weight: 600; }
.field-error:empty { display: none; }
.field-hint { margin-top: 6px; font-size: 14.5px; color: var(--ink-70); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 16px; line-height: 1.45; }
.form-status:empty { display: none; }
.form-status.is-success { background: #e4f6ee; color: var(--success); border: 1px solid #b6e3cf; }
.form-status.is-error { background: #fdecef; color: var(--danger); border: 1px solid #f3c1ca; }
.form-status.is-info { background: var(--lavender); color: var(--ink); }

.submit-btn { width: 100%; min-height: 62px; margin-top: 26px; font-size: 1.2rem; }
.submit-btn .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(24, 22, 33, .3); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.submit-btn.is-busy .spinner { display: inline-block; }
.submit-btn.is-busy .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 700px) {
  .form-grid, .form-grid--3 { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--warm); padding: clamp(52px, 6vw, 72px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1.35fr .9fr; gap: 36px; align-items: start; }
.footer__logo img { height: 40px; width: auto; }
.footer__tagline { margin-top: 18px; font-size: 1.05rem; line-height: 1.5; color: rgba(250, 247, 242, .88); }
.footer__heading { font-family: var(--font-body); font-weight: 600; font-size: 1.12rem; letter-spacing: 0; margin-bottom: 16px; color: var(--warm); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); grid-auto-flow: column; grid-template-rows: repeat(3, auto); gap: 8px 72px; }
.footer__links a, .footer__contact a { color: rgba(250, 247, 242, .88); text-decoration: none; font-size: 1rem; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact a.footer__casting { color: var(--coral); display: inline-flex; align-items: center; gap: 6px; font-size: 1.05rem; }
.footer__contact a.footer__casting:hover { color: #ff8a92; }
.footer__bottom { margin-top: clamp(40px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(250, 247, 242, .22); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .95rem; color: rgba(250, 247, 242, .82); }
.footer__top { color: rgba(250, 247, 242, .88); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.footer__top:hover { color: #fff; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__logo img { height: 34px; }
  .footer__links { gap: 8px 40px; }
  .footer__bottom { font-size: .85rem; }
}
@media (max-width: 360px) { .footer__links { gap: 8px 22px; } }

/* ---------- Casting page ---------- */
.cast-hero { background: var(--violet); color: var(--warm); padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 90px); }
.cast-hero h1 { font-size: clamp(2.9rem, 6.6vw, 6rem); letter-spacing: -.05em; line-height: .95; }
.cast-hero p { margin-top: 22px; max-width: 38ch; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.45; }
.cast-hero .btn { margin-top: 32px; min-width: 190px; }
.cast-form-wrap { padding: clamp(48px, 6vw, 80px) 0 var(--section-y); }
.cast-form h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); letter-spacing: -.035em; margin-bottom: 30px; }
.cast-form h2.upload-title { margin-top: clamp(48px, 6vw, 72px); margin-bottom: 6px; }
.upload-note { color: var(--ink-70); margin-bottom: 24px; }
.height-row { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 10px; }
.height-row .ftin { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.height-row [hidden] { display: none !important; }
.unit-wrap { position: relative; }
.unit-suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-55); pointer-events: none; font-size: 15px; }
.input.has-suffix { padding-right: 44px; }

.uploads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.upload {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px;
  min-height: 210px; padding: 24px 18px; border: 1.5px dashed #a896ef; border-radius: var(--radius); background: #fcfbff;
  transition: border-color .2s, background-color .2s;
}
.upload--wide { grid-column: 1 / -1; }
.upload.is-drag { border-color: var(--violet); background: var(--lavender); }
.upload.has-error { border-color: var(--danger); }
.upload__icon { color: var(--violet); }
.upload__title { font-weight: 600; font-size: 16.5px; }
.upload__sub { font-size: 15px; color: var(--ink-70); margin-top: -8px; }
.upload__pick {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 26px; border-radius: 9px;
  border: 1.5px solid var(--violet); color: var(--violet); background: #fff; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s;
}
.upload__pick:hover { background: var(--violet); color: #fff; }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload input[type="file"]:focus-visible + .upload__pick { outline: 3px solid var(--violet); outline-offset: 3px; }
.upload__list { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 12px; }
.upload--wide .upload__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.file-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.file-item__thumb { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--lavender); }
.file-item__name { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item__meta { font-size: 13.5px; color: var(--ink-70); }
.file-item__meta.is-error { color: var(--danger); font-weight: 600; }
.file-item__meta.is-done { color: var(--success); font-weight: 600; }
.progress { height: 6px; border-radius: 3px; background: #ece7fb; overflow: hidden; margin: 6px 0; }
.progress span { display: block; height: 100%; width: 0; background: var(--violet); transition: width .2s linear; }
.file-item__actions { display: flex; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.linkbtn { background: none; border: 0; padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--violet); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn--danger { color: var(--danger); }
.upload .field-error { margin-top: 0; }

.checks { margin-top: 36px; display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 16.5px; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); cursor: pointer; }
.check.has-error { color: var(--danger); }
.cast-submit { max-width: 360px; }
.noscript-note { margin-top: 18px; padding: 14px 18px; border-radius: 10px; background: var(--peach); font-weight: 600; }

@media (max-width: 900px) {
  .uploads { grid-template-columns: 1fr; }
  .upload--wide .upload__list { grid-template-columns: 1fr; }
  .cast-submit { max-width: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__spark { animation: none; }
}
