/* ============================================================
   COLORS — your brand, on a darker cinematic background
   ============================================================ */
:root {
  --bg: #0B1020;          /* page background (very dark navy) */
  --bg-2: #10172B;        /* alternate sections, footer */
  --navy: #1F2A44;        /* your navy: cards, lines, inputs */
  --navy-soft: #18213A;   /* placeholders */
  --cream: #EDDFC6;       /* text */
  --gold: #CEA649;        /* accent */
  --cream-70: rgba(237, 223, 198, .72);
  --cream-45: rgba(237, 223, 198, .62);
  --line: rgba(237, 223, 198, .12);

  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --header: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.7;
  color: var(--cream); background: var(--bg); -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(5rem, 11vw, 9rem) 0; }
.alt { background: var(--bg-2); }

/* ===== Type ===== */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .9; letter-spacing: .01em; margin: 0; color: var(--cream); }
.section-title { font-size: clamp(3rem, 7vw, 5.5rem); margin-bottom: 0; }
.section-title.big { font-size: clamp(4rem, 10vw, 8rem); margin-bottom: 2rem; }
.label {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.1rem;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; color: var(--gold);
}
.label::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.eyebrow { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.2rem; font-weight: 500; }
.hero .eyebrow, .hero .accent { text-shadow: 0 1px 14px rgba(5, 8, 16, .75), 0 0 2px rgba(5, 8, 16, .5); }
.accent { font-family: var(--serif); font-weight: 400; font-size: clamp(1.02rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--cream); margin: 1.4rem 0 0; max-width: 36ch; }
.serif { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.55; color: var(--cream) !important; }
.meta { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 .45rem; font-weight: 500; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .75rem; cursor: pointer;
  font: 600 .76rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); background: transparent; border: 1px solid var(--gold); padding: 1.1rem 1.7rem;
  text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover { background: var(--gold); color: var(--bg); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-solid { background: var(--gold); color: var(--bg); }
.btn-solid:hover { background: var(--cream); border-color: var(--cream); }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.link-quiet { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--cream-70); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.link-quiet:hover { color: var(--gold); border-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header);
  display: flex; align-items: center; padding: 0 var(--gutter);
  transition: background .4s, border-color .4s; border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 16, 32, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.logo { font-family: var(--display); font-size: 1.7rem; letter-spacing: .14em; color: var(--cream); text-decoration: none; padding-top: 3px; }
.logo:hover { color: var(--gold); }
.nav { display: flex; gap: 2.6rem; margin-left: auto; margin-right: 2.6rem; }
.nav a { position: relative; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-70); text-decoration: none; transition: color .2s; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 1.25rem; }
.lang-toggle { display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; cursor: pointer; padding: .5rem .25rem; font: 500 .72rem/1 var(--body); letter-spacing: .2em; color: var(--cream-45); }
.lang-toggle .sep { color: var(--line); }
.lang-toggle [data-lang] { transition: color .2s; }
.lang-toggle [data-lang].active { color: var(--gold); }
.lang-toggle:hover [data-lang]:not(.active) { color: var(--cream); }
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--cream); transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu-overlay { position: fixed; inset: 0; z-index: 30; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.menu-overlay[hidden] { display: none; }
.menu-overlay nav { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.menu-overlay a { font-family: var(--display); font-size: 3.2rem; color: var(--cream); text-decoration: none; letter-spacing: .03em; }
.menu-overlay a:hover { color: var(--gold); }

/* ===== Hero (full-screen showreel) ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 0; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: var(--bg); }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .reel-ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 35%, rgba(206, 166, 73, .10), transparent 70%),
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(31, 42, 68, .9), transparent 70%),
    linear-gradient(160deg, #141c33 0%, #0B1020 70%);
}
.hero-media .reel-ph span { position: absolute; right: var(--gutter); top: calc(var(--header) + 1.5rem); font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--cream-45); border: 1px dashed var(--line); padding: .6rem .9rem; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 16, 32, .95) 0%, rgba(11, 16, 32, .45) 45%, rgba(11, 16, 32, .25) 100%); }
.hero-content { position: relative; padding-bottom: clamp(5rem, 12vh, 8rem); padding-top: calc(var(--header) + 3rem); }
.hero h1 { font-size: clamp(4rem, 11vw, 11rem); line-height: .82; letter-spacing: -.005em; }
.hero .accent { margin-top: 1.6rem; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 2.2rem; display: flex; align-items: center; gap: .8rem; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-45); text-decoration: none; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== Work grid ===== */
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filters { display: flex; gap: .5rem; }
.filter {
  background: none; border: 1px solid var(--line); cursor: pointer; padding: .65rem 1.2rem; border-radius: 999px;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-70); transition: all .25s;
}
.filter:hover { border-color: var(--cream-45); color: var(--cream); }
.filter.active { background: var(--cream); border-color: var(--cream); color: var(--bg); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-soft);
  text-decoration: none; cursor: pointer; border: 0; padding: 0; text-align: left; width: 100%;
}
.tile.is-hidden { display: none; }
.tile .media, .tile .media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .media img, .tile .media .ph { transition: transform 1s var(--ease); }
.tile .media video { opacity: 0; transition: opacity .5s; }
.tile:hover .media img, .tile:hover .media .ph { transform: scale(1.06); }
.tile.playing .media video { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 16, 32, .92) 0%, rgba(11, 16, 32, .15) 55%, rgba(11, 16, 32, 0) 100%); }
.tile .info { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 1.4rem 1.5rem 1.3rem; transform: translateY(10px); transition: transform .5s var(--ease); }
.tile:hover .info { transform: none; }
.tile .roles { display: block; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-45); margin-bottom: .35rem; }
.tile h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1; }
.tile .view { display: inline-flex; gap: .5rem; margin-top: .7rem; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity .4s .05s; }
.tile:hover .view, .tile:focus-visible .view { opacity: 1; }
.tile .badge {
  position: absolute; z-index: 2; top: 1rem; right: 1rem; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream);
  background: rgba(11, 16, 32, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: .45rem .7rem; border-radius: 999px;
}
.tile .badge .play { border-left-width: 7px; border-top-width: 4.5px; border-bottom-width: 4.5px; color: var(--gold); }
.tile.cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; text-align: center; background: transparent; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.tile.cta::after { display: none; }
.tile[data-type="video"] .badge { display: none; }
.tile.cta:hover { border-color: var(--gold); background: rgba(206, 166, 73, .04); }
.tile.cta small { font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.tile.cta strong { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: 1; color: var(--cream); }
.tile.cta .arrow { color: var(--gold); font-size: 1.3rem; transition: transform .3s var(--ease); }
.tile.cta:hover .arrow { transform: translateX(6px); }

/* Placeholder boxes (until you add photos) */
.ph {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 120px;
  background: repeating-linear-gradient(135deg, var(--navy-soft) 0 14px, #1b2540 14px 28px);
  color: var(--cream-45); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
}

/* ===== Project popup (video + photos) ===== */
.project-modal { position: fixed; inset: 0; z-index: 55; background: var(--bg); display: flex; flex-direction: column; animation: fadeIn .35s var(--ease); }
.project-modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.pm-bar { display: flex; align-items: center; gap: .5rem; height: 64px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.pm-close { background: none; border: 1px solid var(--line); width: 42px; height: 42px; border-radius: 999px; cursor: pointer; color: var(--cream); font-size: 1rem; transition: border-color .2s, color .2s; }
.pm-close:hover { border-color: var(--gold); color: var(--gold); }
.pm-close { margin-left: auto; }
.pm-scroll { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.pm-inner { max-width: 1180px; margin: 0 auto; padding: 2rem var(--gutter) 5rem; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.pm-video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.pm-video iframe, .pm-video img, .pm-video .ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.pm-video .ph { flex-direction: column; gap: 1rem; }
.pm-video .ph .play { border-left-width: 22px; border-top-width: 14px; border-bottom-width: 14px; color: var(--gold); }
.pm-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: end; padding: 2.8rem 0 2.4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.pm-head h2 { font-size: clamp(3rem, 7vw, 5.5rem); }
.pm-roles { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; }
.pm-desc { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; line-height: 1.6; color: var(--cream-70); margin: 0; }
.pm-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pm-gallery > * { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pm-gallery > :first-child:nth-last-child(n+4) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
/* vertical social videos (e.g. Instagram reels) */
.pm-gallery.pm-reels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pm-gallery.pm-reels > .reel-card { grid-column: auto; grid-row: auto; height: auto; aspect-ratio: auto; }
.reel-card { position: relative; margin: 0; cursor: pointer; overflow: hidden; background: var(--navy-soft); outline-offset: 4px; }
.reel-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.reel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,16,32,.85) 0%, rgba(11,16,32,0) 35%); pointer-events: none; }
.reel-card figcaption { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: .9rem; display: flex; align-items: center; gap: .7rem; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.reel-play { flex: none; width: 30px; height: 30px; border: 1px solid rgba(237,223,198,.6); border-radius: 50%; position: relative; transition: background .3s, border-color .3s; }
.reel-play::before { content: ""; position: absolute; left: 11px; top: 9px; border-left: 9px solid var(--cream); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.reel-card:hover video, .reel-card:focus-visible video { transform: scale(1.03); }
.reel-card:hover .reel-play, .reel-card:focus-visible .reel-play { background: var(--gold); border-color: var(--gold); }
.pm-more { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid rgba(237,223,198,.12); }
.pm-link { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; color: var(--cream); text-decoration: none; background: var(--navy-soft); }
.pm-link > img, .pm-link > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(.35); transition: opacity .5s var(--ease), filter .5s var(--ease); }
.pm-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,16,32,.85), rgba(11,16,32,.1)); }
.pm-link-text { position: absolute; z-index: 1; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; }
.pm-link.next .pm-link-text { text-align: right; }
.pm-link strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: .02em; line-height: 1; }
.pm-link:hover > img, .pm-link:focus-visible > img { opacity: .8; filter: none; }
.pm-link:hover strong, .pm-link:focus-visible strong { color: var(--gold); }
.zoomable { cursor: zoom-in; transition: opacity .3s; }
.zoomable:hover { opacity: .88; }

/* ===== Lightbox (full-screen photo / showreel) ===== */
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(5, 8, 16, .97); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; padding: 64px 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-stage video { height: 100%; width: auto; max-width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #000; }
.lb-stage iframe { width: min(100%, calc((100svh - 128px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; }
.lb-close, .lb-nav { background: none; border: 0; color: var(--cream); cursor: pointer; font: 300 2.6rem/1 var(--body); transition: color .2s; }
.lb-close:hover, .lb-nav:hover { color: var(--gold); }
.lb-close { position: absolute; top: 14px; right: 18px; font-size: 1.6rem; width: 44px; height: 44px; z-index: 2; }
.lb-nav { height: 100%; width: 100%; font-size: 3.4rem; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; margin: 0; text-align: center; font-size: .7rem; letter-spacing: .24em; color: var(--cream-45); }
.lightbox.single .lb-nav, .lightbox.single .lb-count { visibility: hidden; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about-photo > * { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.about-text .section-title { margin-bottom: 2rem; }
.about-text p { color: var(--cream-70); margin: 0 0 1.2rem; max-width: 56ch; }
.services { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.services li { font-family: var(--display); font-size: 1.4rem; letter-spacing: .04em; padding: .85rem 0; border-top: 1px solid var(--line); }
.services li::before { content: "— "; color: var(--gold); }

/* ===== Clients ===== */
.clients { padding: clamp(3.5rem, 7vw, 5rem) 0; border-top: 1px solid var(--line); }
.client-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 2.5rem 3rem; margin-top: 1.5rem; }
.client-row img { height: 56px; width: auto; opacity: .55; filter: grayscale(1) brightness(1.6); transition: opacity .3s; }
.client-row img:hover { opacity: 1; }
.client-link { display: inline-flex; border-radius: 4px; outline-offset: 6px; }
.client-link:hover img, .client-link:focus-visible img { opacity: 1; filter: none; transform: translateY(-2px); }
.client-row img { transition: opacity .3s, filter .3s, transform .3s; }

/* ===== Contact ===== */
.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: end; }
.contact-side { display: grid; gap: 2.2rem; justify-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; align-items: center; gap: 1.1rem; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--cream-70); }
.contact-list li[hidden] { display: none; }
.contact-list svg { width: 40px; height: 40px; padding: 10px; flex: none; border: 1px solid var(--line); border-radius: 999px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { text-decoration: none; color: var(--cream); word-break: break-all; }
.contact-list a:hover { color: var(--gold); }

/* ===== Footer ===== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 1.9rem 0; font-size: .74rem; letter-spacing: .1em; color: var(--cream-45); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-name { font-family: var(--display); font-size: 1.15rem; letter-spacing: .2em; color: var(--cream); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { text-decoration: none; color: var(--cream-45); }
.footer-links a:hover { color: var(--gold); }

/* ===== Legal pages (Impressum, Datenschutz) & 404 ===== */
.back { display: inline-block; margin-bottom: 2.5rem; text-decoration: none; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-70); }
.back:hover { color: var(--gold); }
.legal { padding: calc(var(--header) + 4rem) 0 clamp(5rem, 10vw, 7rem); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(3.5rem, 10vw, 6rem); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.9rem; margin: 2.8rem 0 .8rem; color: var(--gold); }
.legal p, .legal li { color: var(--cream-70); }
.legal p { margin: 0 0 1rem; }
.legal a { color: var(--cream); }
.legal a:hover { color: var(--gold); }
.legal .fill { background: rgba(206, 166, 73, .22); color: var(--cream); padding: 0 .3em; border-bottom: 1px dashed var(--gold); }
.legal .note { border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; font-size: .9rem; margin-bottom: 2.5rem; }
.notfound { min-height: 80vh; display: flex; align-items: center; padding-top: var(--header); }
.notfound h1 { font-size: clamp(5rem, 16vw, 12rem); color: var(--gold); }
.notfound h2 { font-size: clamp(2rem, 5vw, 3rem); margin: .5rem 0 1rem; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Tablet ===== */
@media (max-width: 1000px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Phone ===== */
@media (max-width: 760px) {
  :root { --header: 64px; }
  .nav { display: none; }
  .header-right { margin-left: auto; gap: .5rem; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5.4rem); }
  .scroll-cue { display: none; }
  .work-head { align-items: flex-start; flex-direction: column; margin-bottom: 2rem; }
  .work-grid { grid-template-columns: 1fr; gap: 12px; }
  .tile .info { transform: none; }
  .tile .view { opacity: 1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
  .services { grid-template-columns: 1fr; }
  .pm-head { grid-template-columns: 1fr; gap: 1.2rem; padding: 2rem 0 1.6rem; }
  .pm-inner { padding-top: 0; padding-left: 0; padding-right: 0; }
  .pm-head, .pm-gallery, .pm-more { margin-left: var(--gutter); margin-right: var(--gutter); }
  .pm-more { grid-template-columns: 1fr; gap: 8px; margin-top: 3rem; }
  .pm-link { aspect-ratio: 16 / 6; }
  .pm-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pm-gallery.pm-reels { grid-template-columns: 1fr 1fr; gap: 8px; }
  .reel-card figcaption { left: .7rem; right: .7rem; bottom: .6rem; font-size: .66rem; gap: .5rem; }
  .reel-play { width: 24px; height: 24px; }
  .reel-play::before { left: 9px; top: 7px; border-left-width: 7px; border-top-width: 5px; border-bottom-width: 5px; }
  .footer-grid { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-stage { grid-column: 1; padding: 64px 12px; }
  .lb-nav { display: none; }
}

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

[hidden] { display: none !important; }

/* ---- review fixes ---- */
/* skip link for keyboard users */
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--bg); padding: .7rem 1rem; font-size: .8rem; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* pause / play the background reel */
.hero-toggle { position: absolute; right: calc(var(--gutter) + 34px); bottom: 2.1rem; z-index: 2; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(237, 223, 198, .35); background: rgba(11, 16, 32, .35); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.hero-toggle[hidden] { display: none; }
.hero-toggle:hover { border-color: var(--gold); }
.hero-toggle span { width: 10px; height: 12px; border-left: 3px solid var(--cream); border-right: 3px solid var(--cream); }
.hero-toggle.is-paused span { width: 0; height: 0; border-right: 0; border-left: 11px solid var(--cream); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* bigger tap area for footer links */
.footer-links a { display: inline-block; padding: .7rem 0; }

/* last row of the work grid: the "Let's talk" card fills the empty space */
@media (min-width: 1001px) {
  .work-grid > .tile.cta:nth-child(3n+2) { grid-column: span 2; aspect-ratio: auto; }
  .work-grid > .tile.cta:nth-child(3n+1) { grid-column: span 3; aspect-ratio: auto; min-height: 220px; }
}
