:root {
  --orange: #f49100;
  --black: #050505;
  --graphite: #111214;
  --dark-gray: #1b1d21;
  --mid-gray: #8d929b;
  --light: #f5f2ed;
  --line: rgba(255,255,255,.12);
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0,0,0,.42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(244,145,0,.18), transparent 32rem), var(--black);
  color: var(--light);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; display: block; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); background: rgba(5,5,5,.72); border-bottom: 1px solid var(--line); }
.nav { width: min(1160px, calc(100% - 32px)); margin: 0 auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.logo { display:inline-flex; align-items:center; gap:12px; font-weight:800; letter-spacing:-.03em; white-space:nowrap; }
.logo-mark { width:18px; height:18px; border-radius:50%; background:var(--orange); box-shadow:0 0 34px var(--orange); }
.nav-menu { display:flex; align-items:center; gap:24px; margin:0; padding:0; list-style:none; color:rgba(245,242,237,.82); font-size:.95rem; }
.nav-menu a:hover, .language-switch:hover { color:var(--orange); }
.language-switch { border:1px solid var(--line); border-radius:999px; padding:8px 12px; color:rgba(245,242,237,.86); font-weight:800; }
.nav-toggle { display:none; }
.section-pad { width:min(1160px, calc(100% - 32px)); margin:0 auto; padding:92px 0; }
.hero { min-height:calc(100vh - 76px); display:grid; grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr); align-items:center; gap:48px; }
.eyebrow { color:var(--orange); text-transform:uppercase; letter-spacing:.16em; font-size:.78rem; font-weight:800; margin:0 0 14px; }
h1,h2,h3 { line-height:1.04; letter-spacing:-.06em; margin:0; }
h1 { font-size:clamp(3.1rem,7vw,6.8rem); max-width:950px; }
h2 { font-size:clamp(2.15rem,4vw,4.4rem); }
h3 { font-size:1.55rem; }
.hero-copy { max-width:680px; color:rgba(245,242,237,.72); font-size:clamp(1.05rem,2vw,1.28rem); margin:28px 0 0; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:34px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 22px; border-radius:999px; font-weight:800; border:1px solid var(--line); }
.button.primary { background:var(--orange); color:#090909; border-color:var(--orange); }
.button.ghost:hover { border-color:var(--orange); color:var(--orange); }
.hero-visual { position:relative; min-height:520px; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:linear-gradient(145deg,#101114,#050505); box-shadow:var(--shadow); }
.orb { position:absolute; border-radius:50%; filter:blur(2px); }
.orb-one { width:280px; height:280px; background:var(--orange); top:12%; left:8%; opacity:.75; }
.orb-two { width:180px; height:180px; border:2px solid rgba(244,145,0,.8); right:14%; bottom:18%; }
.grid-plane { position:absolute; inset:0; background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to top,black 20%,transparent 90%); transform:perspective(700px) rotateX(58deg) translateY(95px) scale(1.5); }
.intro { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; padding-top:0; }
.intro-card,.work-card,.timeline,.contact,.statement-card { background:rgba(17,18,20,.78); border:1px solid var(--line); border-radius:var(--radius); }
.intro-card { padding:28px; }
.stat { display:block; color:var(--orange); font-size:2.6rem; font-weight:800; letter-spacing:-.07em; }
.intro-card p { color:rgba(245,242,237,.72); margin-bottom:0; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:32px; }
.work-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.work-card { overflow:hidden; }
.work-card.featured { grid-column:span 2; }
.work-image { min-height:280px; }
.gradient-a { background:radial-gradient(circle at 30% 30%,var(--orange),transparent 33%),linear-gradient(135deg,#202226,#050505); }
.gradient-b { background:linear-gradient(160deg,#f49100,#2a1d0b 45%,#080808); }
.gradient-c { background:radial-gradient(circle at 70% 35%,rgba(244,145,0,.75),transparent 28%),repeating-linear-gradient(90deg,#15171a,#15171a 8px,#090909 8px,#090909 16px); }
.gradient-d { background:conic-gradient(from 140deg,#050505,#f49100,#303030,#050505); }
.work-body { padding:24px; }
.work-meta { color:var(--orange); margin:0 0 8px; font-size:.86rem; font-weight:700; }
.work-body p:last-child { color:rgba(245,242,237,.72); margin-bottom:0; }
.split { display:grid; grid-template-columns:.75fr 1.25fr; gap:56px; align-items:start; }
.text-block { color:rgba(245,242,237,.78); font-size:1.12rem; }
.statement-card { padding:34px; }
.statement-card p:first-child { margin-top:0; }
.timeline { padding:8px 28px; }
.timeline-item { display:grid; grid-template-columns:120px 1fr; gap:20px; padding:24px 0; border-bottom:1px solid var(--line); }
.timeline-item:last-child { border-bottom:0; }
.timeline-item span { color:var(--orange); font-weight:800; }
.timeline-item p { margin:0; color:rgba(245,242,237,.76); }
.contact { display:flex; justify-content:space-between; align-items:center; gap:32px; padding:42px; margin-bottom:92px; }
.contact-link { color:var(--orange); font-weight:800; font-size:clamp(1.2rem,3vw,2rem); }
.footer { width:min(1160px, calc(100% - 32px)); margin:0 auto; padding:28px 0 48px; display:flex; justify-content:space-between; align-items:center; gap:24px; color:rgba(245,242,237,.52); border-top:1px solid var(--line); }
.footer-copy { margin:0; line-height:1.4; white-space:nowrap; }
@media (max-width: 860px) {
  .nav-toggle { display:inline-grid; gap:5px; background:transparent; border:0; padding:10px; }
  .nav-toggle span:not(.sr-only) { width:25px; height:2px; background:var(--light); display:block; }
  .nav-menu { position:fixed; top:76px; left:16px; right:16px; display:none; flex-direction:column; align-items:stretch; padding:18px; border:1px solid var(--line); border-radius:18px; background:rgba(17,18,20,.96); }
  .nav-menu.is-open { display:flex; }
  .hero,.intro,.split { grid-template-columns:1fr; }
  .hero { min-height:auto; padding-top:58px; }
  .hero-visual { min-height:360px; }
  .work-grid { grid-template-columns:1fr 1fr; }
  .work-card.featured { grid-column:span 2; }
  .contact { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 560px) {
  .section-pad { width:min(100% - 24px,1160px); padding:62px 0; }
  .hero { padding-top:44px; }
  .hero-visual { min-height:300px; }
  .intro { padding-top:0; }
  .work-grid { grid-template-columns:1fr; }
  .work-card.featured { grid-column:auto; }
  .work-image { min-height:220px; }
  .timeline { padding:4px 20px; }
  .timeline-item { grid-template-columns:1fr; gap:4px; }
  .footer { flex-direction:column; gap:12px; }
}

/* Fix: prevent long hero claim from being clipped on desktop layouts */
.hero-content { min-width: 0; }
.hero h1 {
  max-width: 100%;
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (min-width: 861px) {
  .hero h1 {
    font-size: clamp(2.9rem, 5.45vw, 5.75rem);
  }
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.work-image {
  background-size: cover;
  background-position: center;
}
.work-details {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.work-body-top { border-bottom: 1px solid var(--line); }
.video-consent {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(244,145,0,.55), transparent 34%), linear-gradient(135deg,#191b1f,#050505);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.video-consent.has-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.48);
}
.video-consent-panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5,5,5,.78);
  text-align: center;
  backdrop-filter: blur(10px);
}
.video-consent-panel p { margin-top: 0; color: rgba(245,242,237,.78); }
.video-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.work-info { margin-top: 12px; color: rgba(245,242,237,.78); }
.work-info summary { cursor: pointer; color: var(--orange); font-weight: 800; }
.work-info p { margin-bottom: 0; }
@media (max-width: 560px) { .video-consent { min-height: 240px; } }

.inline-download { margin-top: 1.1rem; display: inline-flex; }


.footer-links { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; line-height:1.4; }
.footer-links a:hover { color: var(--orange); }
.footer-links span { color:rgba(245,242,237,.32); }
.legal-page { max-width: 920px; }
.legal-card { background:rgba(17,18,20,.78); border:1px solid var(--line); border-radius:var(--radius); padding:34px; color:rgba(245,242,237,.78); }
.legal-card h2 { font-size:clamp(1.55rem,3vw,2.4rem); margin-top:2.2rem; letter-spacing:-.04em; }
.legal-card h2:first-child { margin-top:0; }
.legal-card h3 { font-size:1.2rem; margin-top:1.6rem; letter-spacing:-.03em; }
.legal-card a { color:var(--orange); text-decoration:underline; text-underline-offset:3px; }
.legal-card address { font-style:normal; color:var(--light); }
@media (max-width: 560px) { .footer { align-items:flex-start; } .footer-copy { white-space:normal; } .footer-links { justify-content:flex-start; gap:8px; } .legal-card { padding:24px; } }


/* YouTube consent popup */
.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}
.consent-dialog {
  width: min(620px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17,18,20,.96);
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}
.consent-dialog h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  letter-spacing: -.04em;
}
.consent-dialog p {
  color: rgba(245,242,237,.78);
  line-height: 1.65;
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.reset-youtube-consent { margin-top: 1rem; }
@media (max-width: 560px) {
  .consent-dialog { padding: 24px; }
  .consent-actions { flex-direction: column; align-items: stretch; }
}
