@font-face {
  font-family: "Sequel";
  src: url("fonts/sequel-100-black.ttf") format("truetype");
  font-display: swap;
}
:root {
  --display: "Sequel", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --bg: #000;
  --text: #fff;
  --muted: #8a8a8a;
  --line: #222;
  --field-border: #767676;
  --green: #2bff6b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}
.logo, nav a, .intro p, .intro h1, .project h2, .project .cat, .page h1, label, .btn, footer { font-family: var(--display); font-weight: 400; }
a { color: inherit; text-decoration: none; }
a.btn { display: inline-block; }

/* Header */
header { padding: 56px 24px 0; }
.logo { color: var(--green); display: inline-block; font-size: 1.3rem; letter-spacing: 0.2em; text-transform: uppercase; padding-left: 0.2em; }
nav { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 30px; }
nav a { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
nav a:hover, nav a.active { color: var(--text); }

/* Intro */
.intro { margin: 56px auto 70px; padding: 0 24px; }
.intro h1.role { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.intro .sub { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* Work: one big video per row */
.work { max-width: 1000px; margin: 0 auto; padding: 0 20px 40px; }
.project { margin-bottom: 90px; }
.project h2 { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 22px; }
.project .cat { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 6px 0 22px; }
.video { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #17171b, #060607); overflow: hidden; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 32px solid #fff; border-top: 20px solid transparent; border-bottom: 20px solid transparent; transform: translateX(5px); opacity: .9; transition: transform .2s, opacity .2s; }
.video-play:hover .play, .video-play:focus-visible .play { opacity: 1; transform: translateX(5px) scale(1.12); }

/* About + Contact */
.page { max-width: 560px; margin: 70px auto 120px; padding: 0 24px; }
.page h1 { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 18px; }
.page p { color: var(--muted); margin-bottom: 30px; }
.page .email { color: var(--text); border-bottom: 1px solid var(--muted); }
form { display: flex; flex-direction: column; gap: 18px; text-align: left; margin-top: 36px; }
label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
input, textarea, select { background: #0c0c0c; border: 1px solid var(--field-border); color: var(--text); padding: 13px 14px; font: 1rem/1.4 inherit; transition: border-color .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--text); }
::placeholder { color: #8a8a8a; opacity: 1; }
textarea { min-height: 150px; resize: vertical; }
.btn { align-self: center; margin-top: 8px; padding: 13px 34px; background: var(--text); color: var(--bg); border: 0; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: opacity .2s; }
.btn:hover { opacity: .8; }

/* Footer */
footer { padding: 50px 24px 60px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
footer a:hover { color: var(--text); }
footer .copy { display: block; margin-top: 10px; }

@media (max-width: 560px) {
  header { padding-top: 40px; }
  .logo { font-size: 1.15rem; }
  .project { margin-bottom: 60px; }
  .play { border-left-width: 24px; border-top-width: 15px; border-bottom-width: 15px; }
}

/* ---------- Accessibility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; font-size: 0.8rem; }
.skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, iframe:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px;
}
.video-play:focus-visible { outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Footer legal links ---------- */
footer .biz a { color: var(--text); }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 18px auto 0; max-width: 900px; }
.legal-nav a, .linkbtn { color: var(--muted); }
.legal-nav a:hover, .linkbtn:hover { color: var(--text); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }

/* ---------- Forms ---------- */
select { font: 1rem/1.4 inherit; appearance: auto; }
.note { font-size: 0.82rem; color: var(--muted); text-align: left; line-height: 1.6; }
.note a, .legal a, .page p a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { min-height: 1.4em; font-size: 0.85rem; color: var(--text); text-align: left; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn-row .btn { margin-top: 0; }

/* ---------- Click-to-load video notice ---------- */
.video-consent { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 20px; background: rgba(0,0,0,.92); font-size: 0.85rem; line-height: 1.5; overflow: auto; }
.video-consent p { max-width: 52ch; }
.video-consent a { text-decoration: underline; text-underline-offset: 3px; }
.video-consent .btn { padding: 10px 18px; }

/* ---------- Cookie preferences dialog ---------- */
.consent-dialog { margin: auto; padding: 0; width: calc(100% - 32px); max-width: 540px; background: #0c0c0c; color: var(--text); border: 1px solid #5a5a5a; text-align: left; }
.consent-dialog::backdrop { background: rgba(0,0,0,.8); }
.consent-inner { position: relative; padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 16px; font-size: 0.9rem; }
.consent-inner h2 { font-family: var(--display); font-weight: 400; font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; padding-right: 32px; }
.consent-inner p { color: #cfcfcf; }
.consent-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.consent-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.consent-row label { display: flex; flex-direction: column; gap: 6px; text-transform: none; letter-spacing: 0; font-family: inherit; font-size: inherit; color: var(--text); }
.consent-desc, .consent-row p { color: #b5b5b5; font-size: 0.82rem; line-height: 1.5; margin-top: 4px; }
.consent-row input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--green); flex: none; margin-top: 2px; }
.consent-links { font-size: 0.8rem; }
.consent-links a { text-decoration: underline; text-underline-offset: 3px; }
.consent-inner .btn { padding: 11px 18px; font-size: 0.66rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 68ch; margin: 64px auto 110px; padding: 0 24px; text-align: left; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 3.5vw, 1.5rem); letter-spacing: 0.12em; text-transform: uppercase; text-align: center; line-height: 1.4; }
.legal .updated { text-align: center; color: var(--muted); font-size: 0.82rem; margin: 10px 0 40px; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 42px 0 12px; line-height: 1.5; }
.legal h3 { font-size: 0.95rem; font-weight: 600; margin: 22px 0 6px; }
.legal p, .legal li { color: #d0d0d0; line-height: 1.75; font-size: 0.98rem; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal .lead { color: var(--text); font-size: 1.05rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 0.88rem; }
.legal caption { text-align: left; color: var(--muted); padding-bottom: 8px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid #3a3a3a; color: #d0d0d0; }
.legal th { color: var(--text); font-weight: 600; background: #0c0c0c; }
.legal .table-wrap { overflow-x: auto; }
mark.todo { background: var(--green); color: #000; padding: 1px 6px; font-weight: 600; font-size: 0.9em; }
.legal form { margin-top: 28px; }
.legal .btn { margin-top: 8px; }
@media (max-width: 560px) {
  .legal { margin-top: 40px; }
  .consent-inner { padding: 26px 18px 20px; }
}
