/* Montserrat, self-hosted (variable weight 400-700) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #141517;
  --bg-2: #1c1d20;
  --bg-3: #25272b;
  --text: #f3f4f5;
  --muted: #a3a8ae;
  --line: #2f3236;
  --accent: #4dd0a4;
  --accent-ink: #07241a;
  --radius: 14px;
  --max: 1120px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
section { padding: clamp(56px, 9vw, 112px) 0; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20, 21, 23, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .92rem; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); font: inherit; font-size: .78rem; font-weight: 600; padding: 6px 12px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; font-size: 1.2rem; }

@media (max-width: 820px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: absolute; inset: 68px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 8px 16px 20px; gap: 0; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid var(--accent); transition: transform .2s, background .2s, color .2s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .25em; }
.role { font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--accent); font-weight: 500; margin-bottom: 1.2rem; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); overflow: hidden; border: 1px solid var(--line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 6px 16px; font-size: .82rem; font-weight: 500; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .portrait { max-width: 340px; order: -1; } }

/* Trust strip */
.trust { padding: 28px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: center; justify-content: center; }
.trust p { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust strong { font-weight: 600; color: var(--text); letter-spacing: .04em; font-size: .95rem; text-transform: none; }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #20262b, #15171a); border: 1px solid var(--line); }
.video iframe, .video > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video button.play { position: absolute; inset: 0; width: 100%; background: none; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; }
.video .play-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.5rem; padding-left: 5px; transition: transform .2s; }
.video button.play:hover .play-icon { transform: scale(1.08); }
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; align-items: start; }
.vitem { margin: 0; }
.vitem figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.vitem.sq .video { aspect-ratio: 1 / 1; }
.vitem.vert .video { aspect-ratio: 9 / 16; max-width: 300px; }
.video > img { transition: transform .4s; }
.video:hover > img { transform: scale(1.03); }
.video button.play { background: linear-gradient(transparent 40%, rgba(0,0,0,.35)); }
@media (max-width: 700px) { .vgrid { grid-template-columns: 1fr; } .vitem.vert .video { max-width: 240px; } }
.group { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 48px 0 0; font-weight: 600; }
.group + .grid { margin-top: 16px; }
.video .soon { position: absolute; left: 14px; bottom: 12px; font-size: .75rem; color: var(--muted); background: rgba(0,0,0,.5); padding: 4px 10px; border-radius: 999px; }
.video[data-id=""] button.play { cursor: default; }
.video[data-id=""] .play-icon { opacity: .35; }

/* Cards */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card .thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1f3a33, #16181b); position: relative; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 20px 22px 24px; }
.card .tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.card h3 { margin: .35em 0 .4em; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.services div { border-top: 2px solid var(--accent); padding-top: 16px; }
.services h3 { font-size: 1.05rem; }
.services p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* About / timeline */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 0 0 22px 22px; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline h3 { font-size: 1.05rem; margin-bottom: 2px; }
.timeline .when { font-size: .82rem; color: var(--muted); }
.timeline p { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }
.facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.facts li { color: var(--muted); }
.facts strong { color: var(--text); font-weight: 600; }

/* Contact */
.contact { background: var(--accent); color: var(--accent-ink); }
.contact h2 { color: var(--accent-ink); }
.contact .lead { color: #0d4a35; }
.contact .btn-primary { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.contact .btn-ghost { color: var(--accent-ink); border-color: var(--accent-ink); }
.contact .btn-ghost:hover { background: var(--accent-ink); color: var(--accent); }

footer { padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer a { text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--accent); }

/* Sub pages */
.page-head { padding: clamp(48px, 8vw, 96px) 0 24px; }
.block { padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.block-head { max-width: 70ch; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #20262b, #15171a); border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.meta { font-size: .85rem; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 12px; margin-top: 18px; }
.meta strong { color: var(--text); font-weight: 600; margin-right: 6px; }
.back { display: inline-block; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.back:hover { color: var(--accent); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
.gallery.flow { display: block; columns: 2; column-gap: 14px; }
.gallery.flow figure { aspect-ratio: auto; margin: 0 0 14px; break-inside: avoid; }
.gallery.flow img { height: auto; display: block; }
.sub { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.sub h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; }

/* Hover polish: subtle, only for devices that hover, off under reduced motion */
.card.reveal.in { transition: opacity .7s ease, transform .28s ease, border-color .25s, box-shadow .3s; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* nav: underline grows from the left */
  .nav a { position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .brand span { transition: letter-spacing .3s ease; }
  .brand:hover span { letter-spacing: .06em; }
  /* buttons: lift + soft glow; ghost fills from the left */
  .btn { transition: transform .22s ease, box-shadow .25s ease, color .25s ease, background-size .3s ease; }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(.98); }
  .btn-primary:hover { box-shadow: 0 10px 26px -10px rgba(64, 196, 168, .65); }
  .btn-ghost { background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-position: left center; background-size: 0% 100%; }
  .btn-ghost:hover { background-color: transparent; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 100%; color: var(--accent-ink); }
  .contact .btn-ghost { background-image: linear-gradient(var(--accent-ink), var(--accent-ink)); }
  .contact .btn-ghost:hover { background-color: transparent; background-image: linear-gradient(var(--accent-ink), var(--accent-ink)); background-size: 100% 100%; color: var(--accent); }
  .contact .btn-primary:hover { box-shadow: 0 10px 26px -10px rgba(13, 74, 53, .6); }
  /* cards: image zoom, title accent, soft shadow */
  .card .thumb img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  .card:hover .thumb img { transform: scale(1.06); }
  .card h3 { transition: color .25s; }
  .card:hover h3 { color: var(--accent); }
  .card.reveal.in:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -22px rgba(0, 0, 0, .8); }
  /* videos and footer links */
  .video:hover > img { transform: scale(1.04); }
  footer a { transition: color .2s, transform .2s; display: inline-block; }
  footer a:hover { transform: translateY(-1px); }
  .lang button { transition: background .2s, color .2s; }
  .lang button:not([aria-pressed="true"]):hover { color: var(--text); background: rgba(255, 255, 255, .06); }
}

/* First screen: name + headline, showreel right below */
.hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero .lead { max-width: 60ch; }
.hero-reel { margin-top: clamp(24px, 3.5vw, 40px); }
.about-portrait { max-width: 260px; margin-bottom: 28px; }
.also { padding-top: clamp(40px, 6vw, 72px); }
.also h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.grid.compact { margin-top: 24px; gap: 16px; }
.grid.compact .card h3 { font-size: 1rem; }
.grid.compact .card p { font-size: .88rem; }
.grid.compact .card .thumb { aspect-ratio: 16 / 9; }
