/* Layout: dark stage with drifting violet light; glass panels float on it, works scroll horizontally like a timeline. */
:root {
  --bg: #000000;
  --bg-2: #07050b;
  --fg: #f1edf9;
  --muted: #8f8a99;
  --accent: #9b5cff;
  --accent-2: #c79bff;
  --accent-deep: #5b2bd6;
  --ae: #9999ff;
  --pr: #c49bff;
  --danger: #ff6b8a;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.065);
  --glass-edge: rgba(255, 255, 255, 0.13);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); letter-spacing: .04em; }
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* Background light */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, var(--bg-2), var(--bg)); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .4; will-change: transform; animation: 30s ease-in-out infinite; }
.b1 { width: 46vmax; height: 46vmax; left: -10vmax; top: -12vmax; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); animation-name: float1; }
.b2 { width: 38vmax; height: 38vmax; right: -12vmax; top: 30vh; background: radial-gradient(circle, var(--accent-deep) 0%, transparent 65%); animation-name: float2; animation-duration: 37.5s; }
.b3 { width: 30vmax; height: 30vmax; left: 30vw; bottom: -14vmax; background: radial-gradient(circle, #e070ff 0%, transparent 65%); opacity: .28; animation-name: float3; animation-duration: 45s; }
.b4 { width: 26vmax; height: 26vmax; left: 55vw; top: -8vmax; background: radial-gradient(circle, #6d3bff 0%, transparent 65%); opacity: .3; animation-name: float4; animation-duration: 34s; }
/* each blob wanders its own loop, drifting, swelling and dimming so the backdrop slowly reshapes */
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .4; }
  25% { transform: translate(18vw, 10vh) scale(1.2); opacity: .5; }
  50% { transform: translate(30vw, 32vh) scale(.9); opacity: .32; }
  75% { transform: translate(6vw, 24vh) scale(1.1); opacity: .45; }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-22vw, -18vh) scale(1.25); }
  60% { transform: translate(-36vw, 14vh) scale(.95); }
  80% { transform: translate(-10vw, 22vh) scale(1.1); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .28; }
  35% { transform: translate(-24vw, -30vh) scale(1.3); opacity: .4; }
  70% { transform: translate(20vw, -16vh) scale(.85); opacity: .22; }
}
@keyframes float4 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .3; }
  40% { transform: translate(-30vw, 40vh) scale(1.2); opacity: .2; }
  70% { transform: translate(10vw, 60vh) scale(.9); opacity: .35; }
}
.grain { position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Liquid glass */
.glass {
  position: relative;
  background: linear-gradient(145deg, var(--glass-strong), var(--glass) 45%, rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.05),
    inset 0 0 24px rgba(255,255,255,.04),
    0 20px 50px -20px rgba(10, 4, 30, .7);
  isolation: isolate;
}
.glass { overflow: hidden; }
.glass::before {
  /* light sweep: a soft slanted band moved only with transform (GPU), so it tracks the cursor at full frame rate */
  content: "";
  position: absolute; top: -10%; bottom: -10%; left: 0;
  width: 110%;
  pointer-events: none;
  /* bell-shaped falloff with no crest, so there is no visible line under the cursor */
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.004) 12%,
    rgba(255,255,255,.012) 22%,
    rgba(255,255,255,.024) 32%,
    rgba(255,255,255,.036) 41%,
    rgba(255,255,255,.042) 50%,
    rgba(255,255,255,.036) 59%,
    rgba(255,255,255,.024) 68%,
    rgba(255,255,255,.012) 78%,
    rgba(255,255,255,.004) 88%,
    rgba(255,255,255,0) 100%);
  transform: translate3d(var(--sx, -150%), 0, 0) skewX(-20deg);
  opacity: 0;
  transition: opacity .5s ease;
  will-change: transform, opacity;
  z-index: -1;
}
.glass.lit::before { opacity: 1; }
.glass::after {
  /* refracted rim */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.45), transparent 35%, transparent 65%, rgba(199,155,255,.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Nav */
.nav {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 50%; transform: translateX(-50%);
  width: min(760px, calc(100% - 24px));
  z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
}
.logo { font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.logo span { color: var(--accent); }
.nav nav { display: flex; gap: 4px; align-items: center; }
.nav nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav nav a:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.nav nav a.nav-cta { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  padding-block: 150px 70px;
}
.hero-text { min-width: 0; }
.eyebrow { font-size: 12px; text-transform: uppercase; color: var(--accent-2); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 10px #ff4d6d; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
h1 {
  font: 900 clamp(76px, 12vw, 172px)/.85 var(--display);
  width: max-content; max-width: 100%;
  letter-spacing: -.06em;
  /* background-clip: text paints only inside the box; pad it so the y descender and the e's overhang aren't cut */
  padding: 0 .12em .14em 0;
  margin: 0 0 calc(24px - .14em);
  background: linear-gradient(180deg, #fff 20%, var(--accent-2) 75%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(155, 92, 255, .35));
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 30em; margin: 0 0 32px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px;
  font: 700 15px/1 var(--body); color: var(--fg);
  border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 45%, var(--accent-deep));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -6px 14px rgba(40,0,90,.35), 0 12px 30px -10px var(--accent);
}
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* Timeline mock */
.timeline { border-radius: var(--r); padding: 18px; min-width: 0; --rz: -2deg; }
.tl-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.tl-tc { color: var(--accent-2); font-size: 22px; font-variant-numeric: tabular-nums; }
.tl-ruler { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); padding-left: 34px; margin-bottom: 6px; opacity: .7; }
.tl-tracks { position: relative; display: grid; gap: 6px; }
.track { position: relative; height: 34px; padding-left: 34px; }
.track b { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--muted); font-weight: 500; }
.clip {
  position: absolute; top: 0; bottom: 0;
  left: calc(34px + (100% - 34px) * var(--l) / 100%); width: calc((100% - 34px) * var(--w) / 100% - 3px);
  border-radius: 8px; padding: 0 8px;
  font: normal 500 11px/34px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.c-ae { background: linear-gradient(180deg, rgba(153,153,255,.55), rgba(90,90,220,.4)); }
.c-pr { background: linear-gradient(180deg, rgba(196,155,255,.5), rgba(120,60,220,.4)); }
.c-au { background: rgba(255,255,255,.06); padding: 4px 6px; }
.c-au svg { width: 100%; height: 100%; display: block; }
.c-au path { fill: none; stroke: var(--accent-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.playhead { position: absolute; top: -8px; bottom: -4px; left: 34px; width: 2px; background: #ff4d6d; box-shadow: 0 0 10px #ff4d6d; border-radius: 2px; }
.playhead::before { content: ""; position: absolute; top: -4px; left: -5px; border: 6px solid transparent; border-top-color: #ff4d6d; }
.tl-apps { display: flex; gap: 8px; margin-top: 16px; }
.app-chip {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 10px; font: 700 16px/1 var(--display);
  background: #0a0612; border: 1.5px solid currentColor; box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.app-chip.ae { color: var(--ae); }
.app-chip.pr { color: var(--pr); }
.app-chip.mix { color: var(--accent-2); font: 500 12px/1 var(--mono); }

/* About */
.about { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-block: 40px 90px; }
.card { border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; justify-items: start; min-width: 0; }
.card h3 { font: 700 20px/1.2 var(--display); margin: 8px 0 0; }
.card p { margin: 0; color: var(--muted); }

/* Works */
.work { padding-block: 20px 100px; }
.work-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
h2 { font: 700 clamp(36px, 6vw, 64px)/1 var(--display); letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.arrows { display: flex; align-items: center; gap: 10px; }
.pager { min-width: 54px; text-align: center; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.icon-btn:disabled { opacity: .35; cursor: default; transform: none; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; color: var(--fg); font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.icon-btn:hover { transform: scale(1.06); }
/* Works: 3x3 grid per page, pages switched by the arrows */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-block: 6px 10px; }
.vgrid.turn { animation: page-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes page-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.video-card { border-radius: var(--r); padding: 10px; min-width: 0; display: flex; flex-direction: column; }
.player { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; overflow: hidden; background: #000; }
.player iframe, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player button { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: pointer; }
.player button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  transition: transform .25s;
}
.play svg { width: 22px; margin-left: 3px; fill: #fff; }
.player button:hover .play { transform: translate(-50%, -50%) scale(1.1); }
/* title block takes the free height so the channel row always sits at the bottom of the card */
.video-meta { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px 8px 6px; }
.video-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.video-head h3 { margin: 0; font: 700 16px/1.35 var(--body); min-width: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.channel { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: auto; }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; object-fit: cover; display: grid; place-items: center; background: var(--accent-deep); color: #fff; font-weight: 700; box-shadow: 0 0 0 1px var(--glass-edge); }
.channel-text { display: grid; gap: 2px; min-width: 0; }
.channel-name { font-size: 14px; font-weight: 700; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.channel-name:hover { color: var(--accent-2); }
.stats { font-size: 12px; color: var(--muted); letter-spacing: 0; }
.hint { margin: 0; font-size: 13px; color: var(--muted); }
.tag { flex: none; font: 500 11px/1 var(--mono); padding: 7px 10px; border-radius: 999px; color: var(--accent-2); background: rgba(155,92,255,.14); border: 1px solid rgba(199,155,255,.3); }
.empty { grid-column: 1 / -1; justify-self: center; width: min(560px, 100%); aspect-ratio: 16/9; border-radius: var(--r); display: grid; place-content: center; text-align: center; color: var(--muted); }
.empty p { margin: 4px; }
.empty .mono { color: var(--accent-2); font-size: 20px; }

/* Contact */
.contact { padding-block: 0 80px; }
.contact-card { border-radius: 36px; padding: clamp(28px, 6vw, 64px); text-align: center; display: grid; justify-items: center; gap: 14px; overflow: hidden; }
.contact-card h2 { font-size: clamp(28px, 4.5vw, 48px); max-width: 16em; }
.contact-card p { color: var(--muted); margin: 0; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

/* Footer */
.footer { display: flex; justify-content: space-between; gap: 12px; padding-block: 0 40px; color: var(--muted); font-size: 13px; }
.footer { align-items: center; flex-wrap: wrap; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials svg { width: 16px; height: 16px; flex: none; fill: #fff; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--glass); color: var(--fg); transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent-2); }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 4px; }
.link-btn:hover { color: var(--accent-2); }

/* Video viewer: the player floats over a blurred, dimmed site */
.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 72px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%); animation: lb-fade .3s ease; }
.lightbox-body { position: relative; width: min(1100px, 100%, (100dvh - 170px) * 16 / 9); animation: lb-pop .4s cubic-bezier(.2,.8,.25,1.05); }
.lightbox-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 90px -20px rgba(0,0,0,.9), 0 0 0 1px var(--glass-edge), 0 0 60px -10px rgba(155,92,255,.35); }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-title { margin: 14px 4px 0; font-weight: 700; font-size: 16px; color: var(--fg); text-wrap: balance; }
.lightbox-close {
  position: fixed; z-index: 2;
  top: calc(16px + env(safe-area-inset-top, 0px)); left: calc(16px + env(safe-area-inset-left, 0px));
  width: 48px; height: 48px; border-radius: 50%; color: var(--fg); font-size: 18px; cursor: pointer; display: grid; place-items: center;
}
.lightbox-close:hover { transform: scale(1.06); }
html.lb-open { overflow: hidden; }
@keyframes lb-fade { from { opacity: 0; } }
@keyframes lb-pop { from { opacity: 0; transform: scale(.94) translateY(12px); } }

/* Admin modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-panel { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: var(--r); padding: 24px; background: linear-gradient(145deg, rgba(22,16,32,.85), rgba(6,4,10,.9)); }
.modal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-top h3 { margin: 0; font: 700 20px/1 var(--display); }
.modal-top .icon-btn { width: 38px; height: 38px; font-size: 14px; }
.stack { display: grid; gap: 8px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1 1 220px; }
label { font-size: 13px; color: var(--muted); }
input, textarea, select {
  width: 100%; font: 15px/1.4 var(--body); color: var(--fg);
  background: rgba(0,0,0,.25); border: 1px solid var(--glass-edge); border-radius: 14px;
  padding: 12px 14px;
}
textarea { font-family: var(--mono); font-size: 13px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(155,92,255,.25); }
#add-form .btn, #login-form .btn { margin-top: 6px; }
.msg { min-height: 1.4em; margin: 0; font-size: 14px; color: var(--accent-2); }
.msg.err { color: var(--danger); }
.admin-list-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 10px; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.admin-list li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background .15s, border-color .15s, box-shadow .15s; }
.admin-list li.dragging { background: rgba(155,92,255,.16); border-color: var(--accent); box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); position: relative; z-index: 1; }
.grip { flex: none; width: 22px; height: 40px; border: 0; padding: 0; background: none; color: var(--muted); font-size: 16px; letter-spacing: -3px; cursor: grab; touch-action: none; border-radius: 6px; }
.grip:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.admin-list li.dragging .grip { cursor: grabbing; color: var(--accent-2); }
.admin-list img { width: 72px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; flex: none; }
.admin-list .t { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.admin-list .acts { display: flex; gap: 4px; flex: none; }
.mini { width: 32px; height: 32px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: var(--fg); cursor: pointer; font-size: 13px; }
.mini:hover { border-color: var(--accent); }
.mini.del:hover, .mini.confirm { border-color: var(--danger); color: var(--danger); }
.mini.confirm { width: auto; padding: 0 10px; font-size: 12px; }
.admin-list .none { color: var(--muted); font-size: 14px; justify-content: center; }

/* Intro: hero items and cards fly up from below, overshoot slightly, then settle */
/* animates the separate `translate` property, so it never fights the tilt or hover transforms */
.intro { animation: rise .95s var(--d, 0ms) backwards; }
@keyframes rise {
  0%   { opacity: 0; translate: 0 80px; animation-timing-function: cubic-bezier(.2, .75, .35, 1); }
  55%  { opacity: 1; translate: 0 -12px; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  80%  { translate: 0 3px; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { opacity: 1; translate: 0 0; }
}

/* 3D tilt: script sets --rx/--ry; --rz keeps an element's own resting angle (the timeline's -2deg) */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rz, 0deg)); }

/* Lower sections fade in as they scroll into view */
.js .reveal { opacity: 0; transition: opacity 1s ease; }
.js .reveal.in { opacity: 1; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 120px 40px; gap: 36px; }
  .timeline { --rz: 0deg; }
  .about { grid-template-columns: 1fr; padding-block: 20px 60px; }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nav { padding-left: 16px; }
  .nav nav a:not(.nav-cta) { display: none; }
  .vgrid { grid-template-columns: minmax(0, 1fr); }
  .work-head { align-items: start; flex-direction: column; }
  .footer { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
