/* Video Feedback Log – "Edit bay": dark edit-suite grey, warm off-white type, marker orange,
   timeline markers in category colours, film-strip perforations. Outfit + Share Tech Mono. */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Share Tech Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/share-tech-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --bay: #121418;
  --card: #1b1e24;
  --raised: #252930;
  --sunk: #0c0e11;
  --line: #2e333c;
  --line-strong: #4a505c;
  --ink: #f2efe9;
  --soft: #b4b9c3;
  --faint: #8a909c;
  --accent: #ff7a3c;
  --accent-ink: #1e0f06;
  --mono: "Share Tech Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bay); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #ffa274; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, p, li, summary, td, th, figcaption { overflow-wrap: anywhere; hyphens: auto; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 10; font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.86rem; color: var(--accent); margin: 0 0 14px; }
.small { font-size: 0.92rem; color: var(--soft); }
.accent { color: var(--accent); }

/* ---------- Header ---------- */
.top { border-bottom: 1px solid var(--line); background: var(--sunk); position: sticky; top: 0; z-index: 5; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; min-width: 0; }
.brand-name { overflow-wrap: anywhere; }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--soft); text-decoration: none; font-weight: 500; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--raised); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 0; }
.hero-title { font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 1.02; max-width: 15ch; }
.hero-title span { display: block; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-top: 28px; }
.lead { font-size: 1.2rem; color: var(--soft); max-width: 60ch; margin: 0; }
.lead strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.facts li { font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line-strong); border-radius: 3px; padding: 4px 9px; color: var(--soft); }

.play { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 16px; background: var(--accent); color: var(--accent-ink); border-radius: 6px; text-decoration: none; }
.play:hover { background: #ff9157; color: var(--accent-ink); }
.play-soon { background: transparent; color: var(--ink); border: 1.5px dashed var(--line-strong); cursor: default; }
.play-head { width: 16px; height: 22px; background: currentColor; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.play-soon .play-head { background: var(--accent); }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.play-big { font-weight: 700; font-size: 1.2rem; }

/* Timeline with markers (navigation) */
.timeline { margin-top: 56px; position: relative; }
.track { height: 34px; background: var(--sunk); border: 1px solid var(--line); border-radius: 4px; position: relative;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 10%); background-size: 100% 9px; background-repeat: no-repeat; background-position: 0 100%; }
.playhead { position: absolute; left: 38%; top: -14px; bottom: -8px; width: 3px; background: var(--accent); }
.playhead::before { content: ""; position: absolute; left: -7px; top: 0; width: 17px; height: 14px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.markers { list-style: none; margin: 0; padding: 0; position: relative; height: 84px; }
.markers li { position: absolute; left: var(--at); top: -34px; transform: translateX(-6px); }
.markers a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); min-height: 44px; padding-top: 0; }
.m-pin { display: inline-block; width: 12px; height: 24px; border-radius: 2px; background: var(--c); margin: 5px 0 12px; }
.markers .m-tc { font-family: var(--mono); font-size: 0.8rem; color: var(--faint); }
.markers .m-label { font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.markers a:hover .m-label { color: var(--c); }

/* Film strip of three screens */
.strip-wrap { margin-top: 28px; background: var(--sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; position: relative; }
.strip-wrap::before, .strip-wrap::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 26px); }
.strip-wrap::before { top: 8px; }
.strip-wrap::after { bottom: 8px; }
.strip { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--card); }
.strip .shot:nth-child(2) { margin-top: 48px; }
.strip .shot:nth-child(3) { margin-top: 18px; }

/* ---------- Sections ---------- */
.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 28px; }
.round { padding: 88px 0 24px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.steps li { padding: 18px 20px 8px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.step-no { font-family: var(--mono); color: var(--accent); font-size: 1.6rem; display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.steps p { color: var(--soft); font-size: 1rem; }

.reel { padding: 72px 0 40px; }
.cue { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.cue-flip .cue-text { order: 2; }
.cue .shot { max-width: 330px; justify-self: center; width: 100%; }
.cue-tc { font-family: var(--mono); color: var(--soft); letter-spacing: 0.06em; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cue-tc .m-pin { margin: 0; height: 18px; }
.cue h3 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 16px; }
.cue p { color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 3px; background: var(--c, var(--accent)); }

.notin { padding: 72px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 18px; }
.notin-item { border: 1px solid var(--line-strong); border-radius: 6px; padding: 22px; position: relative; }
.notin-item h3 { font-size: 1.3rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.notin-item h3::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--accent); border-radius: 50%; background: linear-gradient(135deg, transparent 45%, var(--accent) 45% 58%, transparent 58%); flex: none; }
.notin-item p { color: var(--soft); margin: 0; }

.faq { padding: 80px 0; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 36px 16px 0; font-weight: 600; font-size: 1.1rem; list-style: none; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--mono); font-size: 1.5rem; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--soft); padding-bottom: 8px; }

.final { padding: 56px 0; background: var(--accent); color: var(--accent-ink); }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.final h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 10px; }
.final p { margin: 0 0 4px; }
.final a { color: var(--accent-ink); font-weight: 600; }
.final .play-soon { border-color: var(--accent-ink); color: var(--accent-ink); }
.final .play-soon .play-head { background: var(--accent-ink); }
.final .play { background: var(--accent-ink); color: var(--ink); }

/* ---------- Pages ---------- */
.page { padding: 56px 0 80px; }
.page-title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px; }
.page .lead { margin-bottom: 36px; }
.page .section-title { margin-top: 48px; margin-bottom: 18px; font-size: clamp(1.5rem, 3.4vw, 2rem); }
.guide { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.guide li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.guide h2 { font-size: 1.3rem; margin-bottom: 8px; }
.guide p { color: var(--soft); margin: 0; }
.tc-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tc-table caption { text-align: left; color: var(--faint); font-family: var(--mono); margin-bottom: 8px; }
.tc-table th, .tc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tc-table td { font-family: var(--mono); font-size: 1.05rem; }
.tc-table th { color: var(--soft); font-weight: 500; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.prose h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.text-link { font-weight: 600; }

/* ---------- Footer ---------- */
.foot { background: var(--sunk); padding: 30px 0 40px; }
.foot-edge { height: 10px; margin-bottom: 26px; background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 26px); }
.foot-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.foot-name { font-weight: 700; margin: 0; }
.foot-small { margin: 0; font-size: 0.9rem; color: var(--faint); }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; min-width: 0; }
.foot-links a { color: var(--soft); display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }
.foot-links a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2) { border-right: 0; margin-right: 0; }
  .cue, .cue-flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cue-flip .cue-text { order: 0; }
  .notin-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero { padding-top: 40px; }
  .timeline { margin-top: 40px; }
  .track { display: none; }
  .markers { height: auto; display: flex; flex-wrap: wrap; gap: 8px; }
  .markers li { position: static; transform: none; }
  .markers a { flex-direction: row; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 6px 12px 6px 8px; }
  .markers .m-pin { margin: 0; height: 18px; width: 8px; }
  .markers .m-tc { display: none; }
  .strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .strip .shot:nth-child(3) { display: none; }
  .strip .shot:nth-child(2) { margin-top: 28px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); }
  .cue .shot { max-width: 280px; }
  .guide li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lead { font-size: 1.1rem; }
}
@media (max-width: 400px) {
  .wrap, .strip { padding-left: 16px; padding-right: 16px; }
  .nav a { padding: 0 9px; }
  .brand-name { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
