/* jtvisuals.com: tokens. Firecrawl palette (ground, ink, orange) + TSC type pair. */
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/space-grotesk-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("assets/fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("assets/fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ground: #F9F9F9;
  --paper: #FFFFFF;
  --ink: #262626;
  --gray: #5E5E5E;
  --mute: #6E6E6E;
  --rule: #E6E6E6;
  --rule-strong: #D4D4D4;
  --ember: #FA5D19;
  --ember-press: #FF7A40;
  --error: #B3261E;
  --logo: #1B1B1E; /* JT logo files */
  --night-fill: #1C1C1C; /* empty media frame on the dark band */
  --brand-hover: #3A3A3A; /* TSC tile hover */
  --brand-sub: #BDBDBD; /* secondary text on the ink TSC tile */
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Switzer", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --section: clamp(96px, 10vw, 160px);
  --r: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #C9C9C9 var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.125rem/1.55 var(--body); letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ember); color: var(--ink); }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
input, textarea, button { font: inherit; color: inherit; caret-color: var(--ember); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, .display { font-family: var(--display); font-weight: 700; letter-spacing: -0.032em; line-height: 1.06; margin: 0; text-wrap: balance; font-feature-settings: "ss02" 1, "ss03" 1; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.1875rem, 1rem + .45vw, 1.4375rem); line-height: 1.4; letter-spacing: -0.01em; color: var(--gray); max-width: 34em; }
.small { font-size: .9375rem; color: var(--gray); }
.ember { color: var(--ember); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font: 500 1.25rem/1 var(--display); letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.wordmark i { width: 10px; height: 10px; background: var(--ember); display: inline-block; border-radius: 4px; }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 1rem; }
.nav ul a { text-decoration: none; color: var(--gray); }
.nav ul a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: var(--r); border: 1px solid transparent; font: 500 1.0625rem/1 var(--display); letter-spacing: -0.015em; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn-primary { background: var(--ember); color: var(--ink); }
.btn-primary:hover { background: var(--ember-press); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-pill { height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .9375rem; }
.btn-pill:hover { background: var(--gray); }
.btn svg { width: 16px; height: 16px; }

/* film frames */
.frame { position: relative; background: #ECECEC; border-radius: var(--r); overflow: hidden; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: .9375rem; }
.cap b { font-weight: 500; color: var(--ink); }
.cap span { color: var(--mute); }

/* intake form (shared) */
.intake { display: grid; gap: 0; }
.field { display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid var(--rule); }
fieldset.field { margin: 0; padding-inline: 0; border: 0; border-top: 1px solid var(--rule); min-inline-size: 0; }
fieldset.field > legend { padding: 0; float: left; width: 100%; margin-bottom: 10px; }
fieldset.field > legend + * { clear: both; }
.field:last-of-type { border-bottom: 1px solid var(--rule); }
.field > label, .field > .legend { font: 500 1rem/1.3 var(--display); letter-spacing: -0.01em; }
.field .hint { color: var(--mute); font-size: .9375rem; }
.input { width: 100%; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r); height: 48px; padding: 0 14px; transition: border-color .2s var(--ease); }
textarea.input { height: 112px; padding: 12px 14px; resize: vertical; }
.input::placeholder { color: var(--mute); }
.input:hover { border-color: var(--mute); }
.input:focus { outline: none; border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--paper); font-size: .9375rem; transition: all .18s var(--ease); }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; }

/* footer */
.foot { border-top: 1px solid var(--rule); padding: 40px 0 56px; margin-top: var(--section); }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: .9375rem; color: var(--gray); }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .nav ul { display: none; }
  .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }

fieldset.field:last-of-type { border-bottom: 0; }
