/* =========================================================
   Forma Artist Management — site styles
   Built on design tokens v1.1 (see forma-tokens.css).
   Page sections carry their layout inline (from the approved designs);
   shared components, states and motion live here.
   ========================================================= */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/outfit-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/outfit-500.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/outfit-700.woff2") format("woff2"); }
:root {
  --ember: #E2552C; --ember-deep: #D3461D; --ember-deep-hover: #C23E17;
  --ink: #15171C; --bone: #F6F4EF; --stone: #ECEAE5; --slate: #5A5C63; --fog: #A9ABB2; --white: #FFFFFF;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 3vw, 48px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { max-width: 100%; }
a { color: var(--ember-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ember-deep); outline-offset: 3px; }
.on-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--ink); }
.on-ink :focus-visible { outline-color: var(--ember); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; color: var(--bone); }
[hidden] { display: none !important; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(246 244 239 / .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgb(21 23 28 / .08); }
.site-nav { max-width: 1320px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-logo { display: block; line-height: 0; flex: none; }
.site-logo img { width: 224px; height: auto; display: block; }
.site-menu { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); font-weight: 500; font-size: 16px; }
.navlink { color: var(--ink); text-decoration: none; position: relative; padding: 12px 2px; }
.navlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out); }
.navlink:hover { color: var(--ink); }
.navlink:hover::after, .navlink.active::after { transform: scaleX(1); }
.nav-cta { min-height: 48px; padding: 0 24px; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px; border: 0; background: none; color: var(--ink); font: 500 16px var(--font); cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 320ms var(--ease-out), opacity 200ms; }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; } .menu-toggle__bars::after { top: 7px; }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .site-logo img { width: 184px; }
  .site-menu {
    position: fixed; inset: var(--header-h, 80px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bone); padding: 8px var(--gutter) 24px; border-bottom: 1px solid rgb(21 23 28 / .1);
    box-shadow: 0 24px 40px rgb(21 23 28 / .08);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 240ms, transform 320ms var(--ease-out), visibility 0s 320ms;
  }
  .menu-open .site-menu { visibility: visible; opacity: 1; transform: none; transition: opacity 240ms, transform 320ms var(--ease-out); }
  .site-menu .navlink { font-size: 28px; font-weight: 700; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid rgb(21 23 28 / .1); }
  .site-menu .navlink::after { display: none; }
  .site-menu .navlink.active { color: var(--ember-deep); }
  .nav-cta { margin-top: 20px; min-height: 56px; justify-content: center; }
}

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; text-decoration: none; font-family: var(--font); font-weight: 500; cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 320ms var(--ease-out), background-color 320ms, color 320ms; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(21 23 28 / .16); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-primary { background: var(--ember-deep); color: var(--white); }
.btn-primary:hover { color: var(--white); background: var(--ember-deep-hover); }
.btn-outline-ink:hover { background: var(--ink) !important; color: var(--bone) !important; }
.btn-outline-bone:hover { background: var(--bone) !important; color: var(--ink) !important; }
.arrow { transition: transform 320ms var(--ease-out); }
.btn:hover .arrow, .textlink:hover .arrow { transform: translateX(4px); }
.textlink { color: var(--ember-deep); text-decoration: none; }
.textlink:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.on-ink .textlink { color: var(--bone); }
.on-ink .textlink:hover { color: var(--ember); }
.crumb { color: var(--slate); text-decoration: none; }
.crumb:hover { color: var(--ink); }
.zoom { display: block; overflow: hidden; }
.zoom img { transition: transform 1200ms var(--ease-out); }
.zoom:hover img { transform: scale(1.04); }

/* ---------- Credits marquee ---------- */
.track { display: flex; width: max-content; }
.credit { display: inline-flex; align-items: center; gap: 28px; padding-left: 28px; white-space: nowrap; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.credit__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); display: inline-block; }
.marquee:hover .track { animation-play-state: paused; }
@media (max-width: 640px) {
  .credit { font-size: 18px; gap: 20px; padding-left: 20px; }
  section[aria-label="Credits and collaborations"] > p { display: none; }
}

/* ---------- Tour ---------- */
.tour-list { margin: 0; padding: 0; list-style: none; }
.tour-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding: 22px 12px; border-bottom: 1px solid rgb(21 23 28 / .12); transition: background-color 240ms; }
.tour-row:hover { background: var(--stone); }
.tour-date { flex: 0 0 140px; font-weight: 700; }
.tour-city { flex: 1 1 200px; font-weight: 500; }
.tour-venue { flex: 1 1 220px; color: var(--slate); }
.tour-cta { min-width: 140px; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--ink); color: var(--ink); font-size: 15px; }
.tour-cta--plain { display: inline-flex; align-items: center; justify-content: center; border: 0; color: var(--slate); font-weight: 500; }
.tour-empty { color: var(--slate); padding: 22px 12px; margin: 0; }
@media (max-width: 640px) {
  .tour-row { padding: 18px 0; gap: 2px 16px; }
  .tour-date { flex-basis: 100%; }
  .tour-cta { margin-top: 10px; }
  .tour-cta--plain { min-width: 0; min-height: 0; padding: 0; justify-content: flex-start; }
}

/* ---------- Video tiles ---------- */
.vid { position: relative; aspect-ratio: 16 / 9; background: var(--ink); color: var(--bone); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; overflow: hidden; isolation: isolate; }
.vid__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1200ms var(--ease-out); }
.vid::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(21 23 28 / .1) 30%, rgb(21 23 28 / .78) 100%); }
.vid:hover { color: var(--white); }
.vid:hover .vid__thumb { transform: scale(1.04); }
.vid__play { width: 52px; height: 52px; border-radius: 50%; background: rgb(21 23 28 / .5); border: 1.5px solid rgb(246 244 239 / .6); display: flex; align-items: center; justify-content: center; transition: background-color 320ms, border-color 320ms; }
.vid:hover .vid__play { background: var(--ember-deep); border-color: var(--ember-deep); }
.vid__title { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.vid__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: var(--ink); }
.spotify { flex: 1 1 440px; width: 100%; min-height: 352px; border: 0; border-radius: 12px; }

/* ---------- Contact form ---------- */
.field { font-family: inherit; font-size: 17px; color: var(--ink); width: 100%; min-height: 56px; padding: 0 16px; border: 1.5px solid rgb(21 23 28 / .2); border-radius: 4px; background: var(--white); transition: border-color 200ms; }
.field:hover { border-color: rgb(21 23 28 / .45); }
.field:focus { outline: 3px solid rgb(211 70 29 / .35); outline-offset: 1px; border-color: var(--ink); }
textarea.field { min-height: 180px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.field { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.pill { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 500; border: 1.5px solid rgb(21 23 28 / .22); background: var(--bone); color: var(--ink); transition: background-color 200ms, color 200ms, border-color 200ms; }
.pill:hover { border-color: var(--ink); }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill:has(input:checked) { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.pill:has(input:focus-visible) { outline: 3px solid rgb(211 70 29 / .45); outline-offset: 2px; }
.form-error { margin: 0; color: #9E2F12; font-weight: 500; }
.form-done:focus { outline: none; }

/* ---------- Simple pages (thanks, 404) ---------- */
.simple-page { max-width: 1320px; margin: 0 auto; min-height: 60vh; padding: clamp(80px, 10vw, 160px) var(--gutter); }
.simple-page__title { margin: 0 0 24px; font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -.04em; font-weight: 700; max-width: 12em; overflow: hidden; padding-bottom: .04em; }
.simple-page__lead { margin: 0 0 40px; font-size: clamp(18px, 1.5vw, 22px); color: var(--slate); max-width: 30em; }
.simple-page .btn { min-height: 56px; padding: 0 30px; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ember); color: var(--ink); }
.foot { max-width: 1320px; margin: 0 auto; padding: 72px var(--gutter) 48px; }
.foot__top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; align-items: flex-start; }
.foot__logo { width: 240px; height: auto; display: block; margin: -12px 0 0 -8px; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 32px 72px; font-size: 15px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__label { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.foot__legal { margin: 64px 0 0; font-size: 14px; }

/* ---------- Motion (reserved: hero headline, featured photo, credits, hovers) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes photoin { from { clip-path: inset(8% 0 8% 0); transform: scale(1.06); } to { clip-path: inset(0 0 0 0); transform: none; } }
.anim .rise { display: inline-block; animation: rise 1000ms var(--ease-out) both; }
.anim .d1 { animation-delay: 80ms; } .anim .d2 { animation-delay: 200ms; } .anim .d3 { animation-delay: 320ms; }
.anim .fadeup { animation: fadeup 900ms var(--ease-out) 360ms both; }
.anim .fadein { animation: fadein 500ms var(--ease-out) both; }
.anim .photoin { animation: photoin 1400ms var(--ease-out) 150ms both; }
.anim .track { animation: marquee 48s linear infinite; }
@supports (animation-timeline: view()) {
  .anim .photo-scroll { animation: photoin linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
}
.io-photo { clip-path: inset(8% 0 8% 0); transition: clip-path 1400ms var(--ease-out); }
.io-photo img { transform: scale(1.06); transition: transform 1400ms var(--ease-out); }
.io-photo.is-in { clip-path: inset(0 0 0 0); }
.io-photo.is-in img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim .rise, .anim .fadeup, .anim .fadein, .anim .photoin, .anim .photo-scroll, .anim .track { animation: none !important; }
  .io-photo, .io-photo img { clip-path: none; transform: none; }
}
