/* Frame Cut — cinematic dark theme. Sticky header, letterboxed frames, editorial asymmetry, mono "camera HUD" details. */
:root {
  --bg: #070a0c;
  --surface: #0d1317;
  --surface-2: #121b20;
  --line: #1d2a30;
  --fg: #e7eef0;
  --muted: #84979e;
  --accent: #2ad8ea;
  --accent-ink: #031417;
  --accent-soft: rgba(42, 216, 234, .12);
  --rec: #ff4b4b;
  --clients: #3d4b51;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1240px;
  --header-h: 72px;
  --admin-h: 0px;
  color-scheme: dark;
}
.admin-bar { --admin-h: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-h: 46px; } }
@media (max-width: 600px) { .admin-bar { --admin-h: 0px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--admin-h)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
/* Full-width sections with 6% side padding */
.wrap {
  max-width: none;
  margin-inline: auto;
  padding-left: max(6%, 16px, env(safe-area-inset-left, 0px));
  padding-right: max(6%, 16px, env(safe-area-inset-right, 0px));
}
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(44px, 6.4vw, 88px); }
h3 { font-size: 30px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.cy { color: var(--accent); }
.stroke { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .02em; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--fg); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 16px; height: 16px; }

/* Header */
.site-header {
  position: sticky; top: var(--admin-h); z-index: 40;
  background: rgba(7, 10, 12, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); position: relative; }
.logo { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.logo img { max-height: 44px; width: auto; }
.logo-mark { width: 26px; height: 26px; border: 2px solid var(--accent); border-radius: 50%; display: grid; place-items: center; flex: none; }
.logo-mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 600; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); transition: color .2s; position: relative; padding-block: 6px; display: block; }
.nav-links a:hover, .nav-links .current-menu-item > a, .nav-links .current_page_item > a { color: var(--fg); }
.nav-links .current-menu-item > a::after, .nav-links .current_page_item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); }
.nav-links .sub-menu { display: none; }
.nav-cta { padding: 10px 18px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .nav { position: static; }
  .nav-links.open { display: flex; }
  .nav-links a { padding-block: 16px; border-top: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
}

/* Frames: real images, or gradient "footage" placeholders when no image is set */
.frame { position: relative; overflow: hidden; background: var(--surface-2); border-radius: 6px; isolation: isolate; max-width: 100%; }
.frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.5) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.frame.has-img::after { background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.4) 100%); }
.frame .scene, .frame .scene-img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.frame .scene-img { object-fit: cover; max-width: none; }
.frame iframe, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; background: #000; }
.g1 { background: radial-gradient(circle at 72% 38%, rgba(255,186,105,.85) 0 5%, rgba(255,140,70,.35) 14%, transparent 34%), linear-gradient(180deg, #1c3b49 0%, #46677a 48%, #c47a4b 58%, #2a1e1a 60%, #0d0b0a 100%); }
.g2 { background: radial-gradient(ellipse at 30% 70%, rgba(42,216,234,.35), transparent 45%), radial-gradient(circle at 78% 22%, rgba(255,255,255,.18) 0 2%, transparent 3%), linear-gradient(160deg, #04121a 0%, #0b2633 50%, #050a0d 100%); }
.g3 { background: linear-gradient(90deg, transparent 0 46%, rgba(255,255,255,.07) 46% 54%, transparent 54%), radial-gradient(circle at 50% 30%, #d9d4cc 0 9%, transparent 10%), linear-gradient(180deg, #3b3a38 0%, #1e1d1c 60%, #0d0d0c 100%); filter: grayscale(1); }
.g4 { background: radial-gradient(circle at 20% 20%, rgba(255,90,140,.55), transparent 40%), radial-gradient(circle at 85% 75%, rgba(60,120,255,.55), transparent 45%), linear-gradient(135deg, #160a1f, #071424); }
.g5 { background: radial-gradient(ellipse at 50% 110%, rgba(255,214,150,.6), transparent 55%), linear-gradient(180deg, #e8c79a 0%, #c99567 40%, #7a4f33 70%, #2b1b12 100%); }
.g6 { background: repeating-linear-gradient(100deg, rgba(42,216,234,0) 0 22px, rgba(42,216,234,.09) 22px 24px), linear-gradient(200deg, #0f1f24, #071013 60%, #020405); }
.g7 { background: radial-gradient(circle at 60% 45%, rgba(255,255,255,.3) 0 3%, transparent 18%), linear-gradient(180deg, #2b3e2c 0%, #4f6a45 45%, #1a2418 46%, #0b100a 100%); }
.g8 { background: radial-gradient(circle at 35% 40%, rgba(255,120,60,.7) 0 4%, rgba(255,80,40,.25) 15%, transparent 35%), linear-gradient(180deg, #120c10 0%, #2c1820 50%, #08060a 100%); }
.g9 { background: radial-gradient(ellipse at 50% 35%, rgba(200,230,240,.35), transparent 40%), linear-gradient(180deg, #8fb3c1 0%, #d7e3e6 40%, #f2efe7 41%, #b9b2a3 100%); }

.hud { position: absolute; z-index: 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.88); text-transform: uppercase; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hud.tl { top: 14px; left: 16px; } .hud.tr { top: 14px; right: 16px; } .hud.bl { bottom: 14px; left: 16px; } .hud.br { bottom: 14px; right: 16px; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.corners { position: absolute; inset: 12px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--accent),var(--accent)) top left/18px 1.5px no-repeat, linear-gradient(var(--accent),var(--accent)) top left/1.5px 18px no-repeat,
    linear-gradient(var(--accent),var(--accent)) top right/18px 1.5px no-repeat, linear-gradient(var(--accent),var(--accent)) top right/1.5px 18px no-repeat,
    linear-gradient(var(--accent),var(--accent)) bottom left/18px 1.5px no-repeat, linear-gradient(var(--accent),var(--accent)) bottom left/1.5px 18px no-repeat,
    linear-gradient(var(--accent),var(--accent)) bottom right/18px 1.5px no-repeat, linear-gradient(var(--accent),var(--accent)) bottom right/1.5px 18px no-repeat;
  opacity: .9; }
.play { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); border: 0; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(42,216,234,.18), 0 0 0 22px rgba(42,216,234,.07); transition: transform .25s; }
.play:hover { transform: translate(-50%,-50%) scale(1.07); }
.play svg { width: 26px; height: 26px; margin-left: 4px; }

/* Sections */
section { padding-block: 110px; }
@media (max-width: 700px) { section { padding-block: 72px; } }
.section-tight-top { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: 52px; }
.section-head > div { display: grid; gap: 18px; min-width: 0; }
.section-head p { max-width: 42ch; color: var(--muted); }

/* Hero */
.hero { padding-block: 64px 90px; }
.hero-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.hero h1 { font-size: clamp(60px, 10.5vw, 158px); }
.hero-side { display: grid; gap: 26px; padding-bottom: 12px; min-width: 0; }
.hero-side p { font-size: 18px; color: var(--muted); max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reel { aspect-ratio: 2.39 / 1; }
.reel-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; margin-top: 16px; color: var(--muted); }
.reel-bar b { color: var(--fg); font-weight: 500; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } .reel { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .reel .hud.tr, .reel .hud.br { display: none; } .play { width: 64px; height: 64px; } }

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; font-family: var(--f-display); font-weight: 700; font-size: 34px; text-transform: uppercase; white-space: nowrap; }
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; color: var(--muted); }
.ticker-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service { padding: 40px 32px 44px 0; display: grid; gap: 18px; align-content: start; border-right: 1px solid var(--line); min-width: 0; }
.service + .service { padding-left: 32px; }
.service:last-child { border-right: 0; }
.service-icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); transition: background .25s, color .25s; }
.service:hover .service-icon { background: var(--accent); color: var(--accent-ink); }
.service-icon svg { width: 22px; height: 22px; }
.service p { color: var(--muted); }
.spec { display: flex; flex-wrap: wrap; gap: 8px; }
.spec span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); }
.service ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15px; }
.service li { display: flex; gap: 10px; align-items: baseline; }
.service li::before { content: "+"; color: var(--accent); font-family: var(--f-mono); }
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 36px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Selected work (home) */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.work-card { display: grid; gap: 14px; align-content: start; cursor: pointer; min-width: 0; grid-column: span 4; background: none; border: 0; padding: 0; text-align: left; }
.work-card .frame { aspect-ratio: 16 / 10; }
.work-card:hover .scene, .work-card:hover .scene-img, .p-card:hover .scene, .p-card:hover .scene-img { transform: scale(1.05); }
.work-card:nth-child(1) { grid-column: span 7; }
.work-card:nth-child(2) { grid-column: span 5; }
/* The two large first-row cards always share one height (image cropped to fit) */
.work-card:nth-child(1) .frame, .work-card:nth-child(2) .frame { aspect-ratio: auto; height: clamp(380px, 38vw, 680px); }
.work-card .frame .scene-img { object-position: 50% 30%; }
/* Second row onwards: portrait (9:16) cards, four per row, like the Portfolio page */
.work-card:nth-child(n+3) { grid-column: span 3; }
.work-card:nth-child(n+3) .frame { aspect-ratio: 9 / 16; }
.work-card:nth-child(n+3) .frame .scene-img { object-position: 50% 50%; }
.work-card:nth-child(n+3) .card-meta h3 { font-size: 22px; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.card-meta h3 { font-size: 26px; }
.card-meta .mono { color: var(--muted); white-space: nowrap; }
.tag { position: absolute; z-index: 2; top: 14px; left: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(7,10,12,.7); backdrop-filter: blur(6px); color: var(--fg); }
.tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.dur { position: absolute; z-index: 2; bottom: 14px; right: 14px; font-family: var(--f-mono); font-size: 11px; padding: 4px 8px; border-radius: 4px; background: rgba(0,0,0,.6); color: #fff; }
.mini-play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.mini-play svg { width: 18px; height: 18px; margin-left: 3px; }
.work-card:hover .mini-play, .p-card:hover .mini-play, .work-card:focus-visible .mini-play, .p-card:focus-visible .mini-play { opacity: 1; }
@media (max-width: 900px) {
  .work-card:nth-child(n) { grid-column: span 6; }
  .work-card:nth-child(1) { grid-column: span 12; }
  .work-card:nth-child(1) .frame { aspect-ratio: 16/11; height: auto; }
  .work-card:nth-child(2) .frame { aspect-ratio: 16/10; height: auto; }
}
@media (max-width: 900px) { .work-card:nth-child(n+3) { grid-column: span 6; } .work-card:nth-child(2) { grid-column: span 12; } }
@media (max-width: 560px) {
  .work-card:nth-child(-n+2) { grid-column: span 12; }
  .work-card:nth-child(n+3) .card-meta h3 { font-size: 18px; }
  .work-card:nth-child(n+3) .card-meta .mono { font-size: 10px; white-space: normal; }
}
.empty-note { color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: 32px; text-align: center; grid-column: 1 / -1; }

/* Process */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { display: grid; gap: 14px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); position: relative; min-width: 0; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step .mono { color: var(--accent); }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; }
.about-copy { display: grid; gap: 26px; min-width: 0; }
.about-copy .lead { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35; font-weight: 500; text-wrap: pretty; }
.about-copy .lead em { font-style: normal; color: var(--accent); }
.about-text { color: var(--muted); display: grid; gap: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 26px; }
.stat b { display: block; font-family: var(--f-display); font-size: 56px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b sup { color: var(--accent); font-size: .5em; vertical-align: top; }
.stat span { color: var(--muted); font-size: 14px; }
.gear { display: grid; gap: 10px; }
.gear .spec span { color: var(--muted); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } .portrait { aspect-ratio: 4/3; } }
@media (max-width: 420px) { .stat b { font-size: 42px; } }

/* Clients + testimonial */
.clients { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; padding-block: 34px; border-block: 1px solid var(--line); margin-bottom: 90px; }
.clients span { font-family: var(--f-display); font-weight: 700; font-size: 28px; text-transform: uppercase; color: var(--clients); letter-spacing: .04em; transition: color .2s; }
.clients span:hover { color: var(--fg); }
.quote { display: grid; grid-template-columns: auto 1fr; gap: 36px; max-width: 1000px; }
.quote-mark { font-family: var(--f-display); font-size: 160px; line-height: .7; color: var(--accent); }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; font-weight: 500; text-wrap: pretty; }
.quote cite { display: block; margin-top: 26px; font-style: normal; color: var(--muted); }
.quote cite b { color: var(--fg); font-weight: 600; }
@media (max-width: 600px) { .quote { grid-template-columns: 1fr; gap: 0; } .quote-mark { font-size: 110px; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info { display: grid; gap: 30px; align-content: start; min-width: 0; }
.contact-info p { color: var(--muted); max-width: 40ch; }
.info-list { display: grid; border-top: 1px solid var(--line); }
.info-row { display: flex; justify-content: space-between; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.info-row .mono { color: var(--muted); }
.info-row a:hover { color: var(--accent); }
.contact-form { display: grid; gap: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 32px; min-width: 0; }
.field { display: grid; gap: 8px; }
.field > label, .field-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; color: var(--fg); font: inherit; font-size: 15px; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; position: relative; }
.field .chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.chips label { font-size: 14px; color: var(--fg); padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: all .2s; }
.chips input:checked + label { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chips input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: 14px; min-height: 1.4em; }
.form-note.ok { color: var(--accent); }
.form-note.err { color: var(--rec); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .contact-form { padding: 22px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot .logo { font-size: 22px; color: var(--fg); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 17px; height: 17px; }

/* Portfolio page */
.p-hero { padding-block: 70px 40px; }
.p-hero h1 { font-size: clamp(72px, 13vw, 190px); margin-top: 20px; }
.p-hero-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.p-hero-row p { color: var(--muted); max-width: 46ch; font-size: 17px; }
.filters-bar { position: sticky; top: calc(var(--header-h) + var(--admin-h)); z-index: 30; background: rgba(7,10,12,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.filter-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btns button { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--muted); transition: all .2s; display: inline-flex; gap: 8px; align-items: center; }
.filter-btns button .n { font-family: var(--f-mono); font-size: 11px; opacity: .7; }
.filter-btns button:hover { color: var(--fg); border-color: var(--muted); }
.filter-btns button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.count { color: var(--muted); font-variant-numeric: tabular-nums; }
.p-grid { columns: var(--cols, 3); column-gap: 20px; padding-block: 40px 100px; }
.p-card { break-inside: avoid; margin-bottom: 28px; display: grid; gap: 12px; align-content: start; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; width: 100%; }
.p-card .frame { width: 100%; }
.p-card[hidden] { display: none !important; }
.p-meta { display: grid; gap: 4px; }
.p-meta h3 { font-size: 24px; }
.p-meta .mono { color: var(--muted); font-size: 11px; }
@media (max-width: 1000px) { .p-grid { columns: 2; } }
@media (max-width: 600px) { .p-grid { columns: 1; } }
.p-cta { text-align: center; }
.p-cta .wrap { display: grid; gap: 26px; justify-items: center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(3,5,6,.95); display: grid; place-items: center; overflow-y: auto; padding: max(70px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(30px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox[hidden] { display: none; }
.lb-inner { width: min(1100px, 100%); display: grid; gap: 20px; }
.lb-inner .frame { aspect-ratio: 16 / 9; max-height: 72vh; justify-self: center; width: 100%; }
.lb-inner .frame .scene-img { object-fit: contain; background: #000; }
.lb-info { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.lb-info h3 { font-size: clamp(30px, 4vw, 48px); margin-top: 12px; }
.lb-info p { color: var(--muted); max-width: 52ch; margin-top: 8px; }
.lb-info .btn { margin-top: 16px; }
.lb-specs { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 22px; font-family: var(--f-mono); font-size: 12px; margin: 0; }
.lb-specs dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.lb-specs dd { margin: 0; }
.lb-close { position: fixed; top: calc(18px + env(safe-area-inset-top, 0px)); right: calc(18px + env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; z-index: 2; }
.lb-close:hover { border-color: var(--accent); color: var(--accent); }
body.lb-open { overflow: hidden; }

/* Generic pages, single project, blog */
.page-hero { padding-block: 70px 30px; }
.page-hero h1 { font-size: clamp(54px, 9vw, 120px); margin-top: 18px; }
.prose { max-width: 72ch; color: var(--muted); font-size: 17px; padding-bottom: 100px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--fg); margin-top: 1.6em; }
.prose h2 { font-size: 44px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img, .prose figure { border-radius: 6px; }
.prose blockquote { border-left: 2px solid var(--accent); margin-left: 0; padding-left: 20px; color: var(--fg); }
.single-media { margin-bottom: 40px; }
.single-media .frame { aspect-ratio: 16 / 9; }
.single-meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 22px; color: var(--muted); }
.single-meta b { color: var(--fg); font-weight: 500; }
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); padding-bottom: 100px; }
.post-list article { padding-block: 28px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.post-list h2 { font-size: 40px; }
.post-list h2 a:hover { color: var(--accent); }
.pagination { display: flex; gap: 10px; padding-bottom: 80px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.pagination .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Elementor: section widgets span the full width with no extra spacing */
.e-con > .elementor-widget[class*="elementor-widget-fc-"],
.elementor-section .elementor-widget[class*="elementor-widget-fc-"] { width: 100%; max-width: 100%; margin: 0; }
.elementor-widget[class*="elementor-widget-fc-"] > .elementor-widget-container { padding: 0; margin: 0; }
.elementor-editor-active .js-lightbox { cursor: default; }
/* Showreel photo strip: stills slide across the reel frame like film running through a gate */
.reel-strip { position: absolute; inset: 0; overflow: hidden; background: #000; }
.reel-strip::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 22%, transparent 78%, rgba(0,0,0,.5) 100%); }
.reel-track { display: flex; height: 100%; width: max-content; animation: reel-slide var(--dur, 45s) linear infinite; will-change: transform; }
.frame .reel-track img { height: 100%; width: auto; aspect-ratio: 14 / 9; object-fit: cover; flex: none; max-width: none; margin-right: 10px; display: block; filter: saturate(.9) contrast(1.05); }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes reel-slide { to { transform: translateX(-50%); } }
.frame.portrait .scene-img { object-position: 50% 22%; }
