:root {
  --bg: #07070a;
  --bg-soft: #0d0d12;
  --paper: #f4f0e8;
  --text: #f2efe9;
  --muted: #9c9aa3;
  --line: rgba(242,239,233,.14);
  --line-strong: rgba(242,239,233,.24);
  --acid: #d8ff55;
  --violet: #9d8cff;
  --orange: #ff805e;
  --page: min(92vw, 1540px);
  --ease: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% -10%, rgba(157,140,255,.13), transparent 28rem),
    radial-gradient(circle at 0% 46%, rgba(216,255,85,.05), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { width: 100%; display: block; }
::selection { background: var(--acid); color: #090909; }

.starfield { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .68; }
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: .042;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.ambient { position: fixed; width: 28rem; height: 28rem; border-radius: 50%; filter: blur(110px); opacity: .11; pointer-events: none; z-index: 0; }
.ambient--one { background: var(--violet); right: -10rem; top: 18%; animation: ambientFloat 11s ease-in-out infinite alternate; }
.ambient--two { background: var(--acid); left: -15rem; top: 65%; animation: ambientFloat 14s ease-in-out infinite alternate-reverse; }
.cursor-glow { position: fixed; width: 28rem; height: 28rem; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(216,255,85,.055), transparent 68%); transform: translate(-50%,-50%); opacity: 0; transition: opacity .35s ease; }
.scroll-progress { position: fixed; left: 0; top: 0; height: 2px; width: 0; background: linear-gradient(90deg,var(--acid),var(--violet)); z-index: 200; }
@keyframes ambientFloat { from { transform: translate3d(0,-30px,0) scale(.9); } to { transform: translate3d(-5vw,60px,0) scale(1.1); } }

.site-header {
  width: var(--page);
  height: 94px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 50;
}
.brand { display: inline-flex; align-items: center; gap: .5rem; width: max-content; font-weight: 800; letter-spacing: -.045em; }
.brand-mark { width: 2.15rem; height: 2.15rem; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--acid); font-family: Georgia,serif; font-style: italic; font-size: 1.15rem; }
.brand-name { font-size: 1rem; }
.nav { display: flex; align-items: center; gap: clamp(1.4rem,3vw,3.5rem); }
.nav a { position: relative; color: #b1afb8; text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; font-weight: 700; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -.55rem; width: 100%; height: 1px; background: var(--acid); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.availability { justify-self: end; display: inline-flex; align-items: center; gap: .55rem; border: 1px solid var(--line); border-radius: 999px; padding: .72rem .95rem; color: #c8c6ce; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; backdrop-filter: blur(15px); background: rgba(10,10,14,.38); }
.availability-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px rgba(216,255,85,.08), 0 0 18px rgba(216,255,85,.55); animation: pulse 2.3s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(216,255,85,0), 0 0 24px rgba(216,255,85,.8); } }

main, .footer { position: relative; z-index: 2; }
.hero {
  width: var(--page);
  min-height: calc(100svh - 94px);
  margin: 0 auto;
  padding: clamp(4rem,8vh,7rem) 0 clamp(5rem,10vh,8rem);
  display: grid;
  grid-template-columns: minmax(0,1.04fr) minmax(410px,.96fr);
  align-items: center;
  gap: clamp(2rem,6vw,8rem);
  position: relative;
}
.hero::before { content: ""; position: absolute; left: -7vw; right: -7vw; top: 1rem; bottom: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom,rgba(0,0,0,.8),transparent 82%); pointer-events: none; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.065); border-radius: 50%; pointer-events: none; }
.hero-orbit--one { width: 48vw; height: 48vw; right: -16vw; top: 2vh; animation: spin 45s linear infinite; }
.hero-orbit--one::after { content: "✦"; color: var(--acid); position: absolute; top: 49%; left: -7px; font-size: .9rem; }
.hero-orbit--two { width: 29vw; height: 29vw; right: -5vw; top: 13vh; animation: spin 27s linear infinite reverse; }
.hero-orbit--two::after { content: "✦"; color: var(--violet); position: absolute; top: -7px; left: 50%; font-size: .8rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-copy { position: relative; z-index: 3; }
.kicker { display: flex; align-items: center; gap: 1rem; margin: 0 0 clamp(2rem,5vh,4rem); color: #85838b; text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; font-weight: 700; }
.kicker span + span::before { content: "✦"; color: var(--acid); margin-right: 1rem; }
.hero-title { margin: 0; font-size: clamp(5rem,10.5vw,11.3rem); line-height: .71; letter-spacing: -.075em; font-weight: 760; text-transform: uppercase; }
.title-line { display: block; }
.title-line--accent { color: var(--acid); font-family: Georgia,"Times New Roman",serif; font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.08em; margin-left: .08em; }
.title-line--last { white-space: nowrap; }
.title-line em { color: var(--paper); font-family: Georgia,"Times New Roman",serif; font-weight: 400; text-transform: none; }
.hero-bottom { margin-top: clamp(2.7rem,6vh,5.5rem); display: grid; grid-template-columns: minmax(220px,31rem) 1fr; gap: 2rem; align-items: end; }
.hero-bottom > p { margin: 0; color: #aaa8b1; font-size: clamp(.96rem,1.15vw,1.18rem); line-height: 1.7; max-width: 33rem; }
.hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: .9rem; }
.pill { min-height: 3.2rem; display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; padding: 0 1.25rem; border-radius: 999px; font-size: .7rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; transition: background .25s ease,color .25s ease,border-color .25s ease; }
.pill span { font-size: 1rem; }
.pill--light { color: #0b0b0c; background: var(--paper); }
.pill--light:hover { background: var(--acid); }
.pill--outline { border: 1px solid var(--line-strong); color: var(--text); }
.pill--outline:hover { border-color: var(--acid); color: var(--acid); }
.round-play { width: 5rem; height: 5rem; padding: 0; border: 1px solid var(--line-strong); background: rgba(9,9,13,.55); border-radius: 50%; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(12px); transition: border-color .3s ease, background .3s ease; }
.round-play span { font-size: .82rem; padding-left: .15rem; }
.round-play small { display: none; }
.round-play:hover { border-color: var(--acid); background: rgba(216,255,85,.1); }
.hero-gallery { height: min(67vh,720px); min-height: 520px; position: relative; z-index: 4; perspective: 1400px; }
.floating-frame { --frame-zoom: 1; position: absolute; border: 0; padding: 0; overflow: hidden; background: #15151a; box-shadow: 0 35px 100px rgba(0,0,0,.45); cursor: pointer; transform-style: preserve-3d; }
.floating-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(var(--frame-zoom)); transition: transform 1s var(--ease),filter .5s ease; }
.floating-frame:hover img { transform: scale(var(--frame-zoom)) scale(1.055); filter: saturate(1.08) brightness(.84); }
.floating-frame--a { --frame-zoom: 1.28; width: 45%; height: 78%; right: 25%; top: 6%; z-index: 3; transform: rotate(2.5deg); }
.floating-frame--b { --frame-zoom: 1.1; width: 48%; height: 43%; right: -3%; top: 48%; z-index: 4; transform: rotate(-3deg); }
.floating-frame--c { --frame-zoom: 1.24; width: 31%; height: 45%; left: 0; bottom: 1%; z-index: 2; transform: rotate(-7deg); }
.frame-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom,transparent 55%,rgba(3,3,5,.82)); }
.frame-index { position: absolute; top: .85rem; right: .85rem; width: 2rem; height: 2rem; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.16); backdrop-filter: blur(8px); font-size: .62rem; }
.frame-copy { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: grid; gap: .23rem; text-align: left; }
.frame-copy b { font-size: .88rem; }
.frame-copy small { color: rgba(255,255,255,.68); font-size: .66rem; }
.hero-scroll { position: absolute; left: 0; bottom: 1rem; color: #77757d; text-transform: uppercase; letter-spacing: .13em; font-size: .63rem; display: flex; gap: .8rem; align-items: center; }
.hero-scroll span { width: 2.2rem; height: 1px; background: var(--acid); animation: scrollLine 1.8s ease-in-out infinite; transform-origin: left; }
@keyframes scrollLine { 0%,100% { transform: scaleX(.45); opacity: .45; } 50% { transform: scaleX(1); opacity: 1; } }

.marquee { position: relative; z-index: 3; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; background: rgba(9,9,13,.45); backdrop-filter: blur(12px); transform: rotate(-1deg) scale(1.02); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 2.2rem; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: clamp(.78rem,1vw,.95rem); letter-spacing: .16em; font-weight: 760; }
.marquee-track i { color: var(--acid); font-style: normal; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { width: var(--page); margin: 0 auto; padding: clamp(7rem,12vw,13rem) 0; }
.eyebrow { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; color: #a8a6ae; font-size: .66rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; }
.eyebrow span { color: #65636b; }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--acid); }
.section-top { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr); align-items: end; gap: 4rem; margin-bottom: clamp(5rem,9vw,9rem); }
.section h2 { margin: 0; font-size: clamp(4rem,8.1vw,9rem); line-height: .82; letter-spacing: -.07em; }
.section h2 em { color: var(--acid); font-family: Georgia,"Times New Roman",serif; font-weight: 400; }
.section-description { justify-self: end; max-width: 31rem; color: #9b99a1; line-height: 1.7; font-size: clamp(.96rem,1.1vw,1.12rem); margin: 0 0 .6rem; }

.feature-list { display: grid; gap: clamp(7rem,13vw,14rem); }
.feature-project { display: grid; grid-template-columns: minmax(0,1.46fr) minmax(280px,.54fr); gap: clamp(2rem,6vw,7rem); align-items: end; }
.feature-project--reverse { grid-template-columns: minmax(280px,.54fr) minmax(0,1.46fr); }
.feature-project--reverse .feature-media { grid-column: 2; }
.feature-project--reverse .feature-copy { grid-column: 1; grid-row: 1; }
.feature-media { position: relative; border: 0; padding: 0; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #15151a; cursor: pointer; transform-style: preserve-3d; }
.feature-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.feature-media img { height: 100%; object-fit: cover; transition: transform 1s var(--ease),filter .55s ease; }
.feature-media:hover img { transform: scale(1.04); filter: brightness(.72) saturate(1.07); }
.feature-wash { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(157,140,255,.08),transparent 40%,rgba(216,255,85,.06)); opacity: 0; transition: opacity .45s ease; }
.feature-media:hover .feature-wash { opacity: 1; }
.watch-chip { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-40%); opacity: 0; padding: .9rem 1.15rem; border-radius: 999px; background: var(--paper); color: #090909; font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; transition: opacity .35s ease,transform .4s var(--ease); }
.feature-media:hover .watch-chip { opacity: 1; transform: translate(-50%,-50%); }
.feature-copy { padding-bottom: .4rem; }
.project-no { display: inline-block; color: var(--acid); font-family: Georgia,serif; font-style: italic; font-size: .95rem; margin-bottom: 2.4rem; }
.feature-copy h3 { max-width: 11ch; margin: 0 0 1.7rem; font-size: clamp(2.5rem,4.5vw,5.3rem); line-height: .92; letter-spacing: -.055em; }
.project-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.5rem; }
.project-tags span { border: 1px solid var(--line); border-radius: 999px; padding: .52rem .75rem; color: #8d8b93; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.arrow-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; color: #b9b7bf; text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; }
.arrow-link span { color: var(--acid); font-size: 1.2rem; transition: transform .4s var(--ease); }
.arrow-link:hover span { transform: translate(5px,-5px); }

.shorts-preview { position: relative; display: grid; grid-template-columns: minmax(280px,.62fr) minmax(0,1.38fr); gap: clamp(3rem,7vw,8rem); align-items: center; min-height: 100vh; }
.shorts-preview::before { content: ""; position: absolute; left: 52%; top: 15%; width: 42vw; height: 42vw; background: radial-gradient(circle,rgba(157,140,255,.15),transparent 67%); filter: blur(25px); pointer-events: none; }
.shorts-heading { position: sticky; top: 22vh; align-self: start; }
.shorts-heading h2 { font-size: clamp(4rem,7vw,8rem); margin-bottom: 2.2rem; }
.short-stack { display: grid; grid-template-columns: repeat(6,1fr); grid-auto-rows: 5.8vw; min-height: 64vw; position: relative; perspective: 1200px; }
.short-card { position: relative; z-index: 2; }
.short-card--1 { grid-column: 1 / span 3; grid-row: 1 / span 8; transform: rotate(-3deg); }
.short-card--2 { grid-column: 4 / span 3; grid-row: 4 / span 8; transform: rotate(4deg); z-index: 3; }
.short-card--3 { grid-column: 2 / span 3; grid-row: 9 / span 8; transform: rotate(-1deg); z-index: 4; }
.short-media { width: 100%; height: calc(100% - 3.3rem); border: 0; padding: 0; overflow: hidden; background: #16161b; cursor: pointer; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.short-media img { height: 100%; object-fit: cover; transition: transform .9s var(--ease),filter .45s ease; }
.short-media:hover img { transform: scale(1.055); filter: brightness(.68) saturate(1.08); }
.short-overlay { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .35s ease; }
.short-overlay b { width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--acid); color: #080808; padding-left: .2rem; }
.short-media:hover .short-overlay { opacity: 1; }
.short-meta { height: 3.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.short-meta strong { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.short-meta span { color: #77757d; font-size: .62rem; white-space: nowrap; }

.section-rule { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 1.3rem; margin-bottom: 2rem; }
.section-rule .eyebrow { margin: 0; }
.section-rule > span { color: #69676f; font-size: .65rem; letter-spacing: .12em; }
.compact-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: .9rem; }
.compact-project { min-width: 0; }
.compact-media { width: 100%; aspect-ratio: 4/5; border: 0; padding: 0; overflow: hidden; background: #15151a; position: relative; cursor: pointer; }
.compact-media img { height: 100%; object-fit: cover; transition: transform .8s var(--ease),filter .4s ease; }
.compact-media span { position: absolute; width: 3rem; height: 3rem; border-radius: 50%; background: var(--paper); color: #080808; display: grid; place-items: center; left: 50%; top: 50%; transform: translate(-50%,-35%) scale(.8); opacity: 0; transition: opacity .3s ease,transform .4s var(--ease); padding-left: .15rem; }
.compact-media:hover img { transform: scale(1.06); filter: brightness(.68); }
.compact-media:hover span { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.compact-project > div { padding: .95rem .1rem; display: grid; gap: .25rem; }
.compact-project strong { font-size: .83rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-project small { color: #77757d; font-size: .65rem; }

.about { border-top: 1px solid var(--line); display: grid; grid-template-columns: .34fr 1.2fr .46fr; gap: clamp(2rem,6vw,7rem); }
.about-label { display: flex; flex-direction: column; justify-content: space-between; min-height: 25rem; color: #8c8a92; text-transform: uppercase; letter-spacing: .13em; font-size: .66rem; }
.about-star { color: var(--acid); font-size: clamp(3rem,5vw,5.6rem); animation: spin 14s linear infinite; transform-origin: center; width: max-content; }
.about-copy h2 { font-size: clamp(4rem,6.5vw,7.5rem); }
.about-text { margin-top: 3.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.3rem; color: #a4a2aa; line-height: 1.75; font-size: .98rem; }
.about-text p { margin: 0; }
.about-counters { border-top: 1px solid var(--line); }
.about-counters div { display: grid; grid-template-columns: 2.3rem 1fr; gap: .6rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.about-counters span { color: #625f69; font-size: .6rem; }
.about-counters b { font-weight: 500; color: #b2b0b7; font-size: .82rem; }

.contact { position: relative; min-height: 90vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: min(70vw,900px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.065); border-radius: 50%; left: 48%; top: 48%; transform: translate(-50%,-50%); box-shadow: 0 0 0 8vw rgba(255,255,255,.012),0 0 0 16vw rgba(255,255,255,.008); pointer-events: none; }
.contact-star { position: absolute; right: 8%; top: 16%; color: var(--acid); font-size: clamp(3rem,6vw,7rem); animation: spin 18s linear infinite; }
.contact h2 { position: relative; z-index: 2; font-size: clamp(5.7rem,12.2vw,14rem); line-height: .7; }
.contact h2 em { color: var(--violet); }
.contact-bottom { position: relative; z-index: 3; margin-top: clamp(3rem,7vh,6rem); display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.contact-bottom p { max-width: 34rem; color: #9a98a0; line-height: 1.65; margin: 0; }
.contact-button { min-width: 15rem; min-height: 5rem; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; border-radius: 999px; color: #080808; background: var(--acid); text-transform: uppercase; letter-spacing: .11em; font-size: .7rem; font-weight: 850; }
.contact-button span { font-size: 1.25rem; }

.footer { width: var(--page); margin: 0 auto; padding: 2.1rem 0 3rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; align-items: center; gap: 1rem; color: #77757d; font-size: .68rem; }
.footer p { margin: 0; text-align: center; }
.footer p:nth-of-type(2) { text-align: right; }
.footer > a:last-child { justify-self: end; text-transform: uppercase; letter-spacing: .1em; }
.footer .brand { color: var(--text); }

.video-modal { width: min(94vw,1400px); border: 0; padding: 0; background: #000; overflow: visible; box-shadow: 0 30px 100px rgba(0,0,0,.7); }
.video-modal::backdrop { background: rgba(3,3,5,.9); backdrop-filter: blur(14px); }
.video-frame { width: 100%; aspect-ratio: 16/9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-close { position: absolute; right: 0; top: -3.3rem; border: 0; background: transparent; color: white; font-size: 2.4rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease),transform .95s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-title .reveal:nth-child(2) { transition-delay: .08s; }
.hero-title .reveal:nth-child(3) { transition-delay: .14s; }
.magnetic { transition: transform .25s var(--ease); }

/* SHORTS PAGE */
.subpage-header { border-bottom: 1px solid rgba(255,255,255,.07); }
.shorts-page-hero { width: var(--page); margin: 0 auto; min-height: 80vh; padding: clamp(5rem,10vh,9rem) 0 clamp(5rem,9vw,8rem); display: grid; grid-template-columns: 1.05fr .95fr; gap: 5vw; align-items: center; }
.shorts-page-hero h1 { margin: 0; font-size: clamp(5rem,11.5vw,13rem); line-height: .7; letter-spacing: -.08em; text-transform: uppercase; }
.shorts-page-hero h1 em { color: var(--acid); font-family: Georgia,serif; font-weight: 400; text-transform: none; }
.shorts-page-intro { margin-top: 2.5rem; max-width: 32rem; color: #9d9aa3; line-height: 1.7; }
.shorts-hero-reel { position: relative; height: min(68vh,720px); min-height: 520px; }
.shorts-hero-reel .short-card { position: absolute; width: 35%; height: 67%; }
.shorts-hero-reel .short-card:nth-child(1) { left: 4%; top: 15%; transform: rotate(-8deg); z-index: 1; }
.shorts-hero-reel .short-card:nth-child(2) { left: 34%; top: 3%; transform: rotate(2deg); z-index: 3; }
.shorts-hero-reel .short-card:nth-child(3) { right: 0; top: 22%; transform: rotate(8deg); z-index: 2; }
.shorts-hero-reel .short-media { height: 100%; }
.shorts-catalog { width: var(--page); margin: 0 auto; padding: clamp(6rem,10vw,11rem) 0; }
.shorts-catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.shorts-catalog-head h2 { margin: 0; font-size: clamp(3rem,6vw,7rem); letter-spacing: -.06em; line-height: .9; }
.shorts-catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(2rem,4vw,5rem) clamp(1rem,2vw,2.2rem); }
.catalog-short { min-width: 0; }
.catalog-short:nth-child(2), .catalog-short:nth-child(5) { margin-top: clamp(4rem,8vw,8rem); }
.catalog-short .short-media { height: auto; aspect-ratio: 9/16; }
.catalog-short .short-meta { min-height: 4rem; height: auto; padding: .8rem 0; }
.catalog-short .short-meta strong { white-space: normal; line-height: 1.25; }

/* CANDELA DETAIL */
.project-page { min-height: 100vh; }
.project-hero { width: var(--page); margin: 0 auto; padding: clamp(4rem,8vw,8rem) 0 clamp(6rem,11vw,12rem); }
.project-breadcrumb { display: flex; align-items: center; gap: .7rem; color: #84818b; text-transform: uppercase; letter-spacing: .12em; font-size: .63rem; margin-bottom: clamp(3rem,7vw,7rem); }
.project-breadcrumb span { color: var(--acid); }
.project-heading { display: grid; grid-template-columns: 1.18fr .82fr; gap: 5vw; align-items: end; margin-bottom: clamp(4rem,7vw,7rem); }
.project-heading h1 { margin: 0; font-size: clamp(4.2rem,8vw,9rem); line-height: .78; letter-spacing: -.07em; }
.project-heading h1 em { display: block; color: var(--acid); font-family: Georgia,serif; font-weight: 400; }
.project-meta-list { border-top: 1px solid var(--line); }
.project-meta-list div { display: flex; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); padding: .95rem 0; color: #9a98a0; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.project-meta-list b { color: var(--text); font-weight: 600; }
.project-showcase { display: grid; grid-template-columns: minmax(260px,.58fr) minmax(0,1.42fr); gap: clamp(2rem,6vw,7rem); align-items: center; position: relative; }
.project-poster { width: 100%; aspect-ratio: 9/16; position: relative; border: 0; padding: 0; overflow: hidden; cursor: pointer; background: #141419; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.project-poster img { height: 100%; object-fit: cover; }
.project-poster .short-overlay { opacity: 1; background: linear-gradient(to bottom,transparent 65%,rgba(0,0,0,.28)); }
.project-poster .short-overlay b { width: 4.5rem; height: 4.5rem; }
.project-statement { position: relative; }
.project-statement::before { content: "✦"; color: var(--violet); font-size: 3rem; position: absolute; right: 8%; top: -3rem; animation: spin 11s linear infinite; }
.project-statement p { max-width: 11ch; font-size: clamp(3rem,5.7vw,6.6rem); line-height: .96; letter-spacing: -.055em; margin: 0 0 2.8rem; }
.project-statement p em { color: var(--violet); font-family: Georgia,serif; font-weight: 400; }
.project-next { border-top: 1px solid var(--line); margin-top: clamp(7rem,12vw,12rem); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.project-next strong { font-size: clamp(1.7rem,3vw,3rem); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr .8fr; gap: 2rem; }
  .hero-title { font-size: clamp(4.6rem,10vw,8rem); }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .feature-project,.feature-project--reverse { grid-template-columns: 1.4fr .6fr; }
  .feature-project--reverse .feature-media { grid-column: 1; }
  .feature-project--reverse .feature-copy { grid-column: 2; }
  .shorts-preview { grid-template-columns: .75fr 1.25fr; }
  .compact-grid { grid-template-columns: repeat(3,1fr); }
  .compact-project:nth-child(n+4) { display: none; }
  .about { grid-template-columns: .25fr 1.3fr .45fr; }
  .shorts-page-hero { grid-template-columns: .85fr 1.15fr; }
}

@media (max-width: 760px) {
  :root { --page: min(91vw,1540px); }
  .cursor-glow { display: none; }
  .site-header { height: 74px; }
  .brand-name { display: none; }
  .availability { font-size: .6rem; padding: .65rem .75rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 4rem; gap: 2rem; }
  .hero::before { background-size: 45px 45px; }
  .kicker { flex-wrap: wrap; margin-bottom: 2rem; }
  .kicker span:nth-child(3) { display: none; }
  .hero-title { font-size: clamp(4.6rem,21.6vw,8rem); line-height: .72; }
  .title-line--last { white-space: normal; }
  .hero-bottom { margin-top: 2.4rem; }
  .hero-actions { flex-wrap: wrap; }
  .hero-gallery { height: 96vw; min-height: 330px; margin-top: 1rem; }
  .floating-frame--a { width: 48%; height: 78%; right: 28%; }
  .floating-frame--b { width: 52%; height: 43%; right: -4%; top: 50%; }
  .floating-frame--c { width: 34%; height: 45%; }
  .hero-scroll { display: none; }
  .marquee { margin-top: 2rem; }
  .section { padding: 7rem 0; }
  .section-top { grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 4rem; }
  .section h2 { font-size: clamp(3.8rem,17vw,6.5rem); }
  .section-description { justify-self: start; }
  .feature-list { gap: 6.5rem; }
  .feature-project,.feature-project--reverse { grid-template-columns: 1fr; gap: 1.8rem; }
  .feature-project--reverse .feature-media,.feature-project--reverse .feature-copy { grid-column: 1; grid-row: auto; }
  .feature-media { aspect-ratio: 16/9; }
  .feature-copy h3 { font-size: clamp(2.8rem,12vw,4.5rem); }
  .project-no { margin-bottom: 1.5rem; }
  .shorts-preview { grid-template-columns: 1fr; min-height: auto; overflow: hidden; }
  .shorts-heading { position: static; }
  .short-stack { min-height: 176vw; grid-auto-rows: 14vw; width: 110%; transform: translateX(-5%); margin-top: 1rem; }
  .short-card--1 { grid-column: 1/span 4; grid-row: 1/span 8; }
  .short-card--2 { grid-column: 4/span 3; grid-row: 5/span 8; }
  .short-card--3 { grid-column: 2/span 4; grid-row: 11/span 8; }
  .compact-grid { grid-template-columns: 1fr 1fr; }
  .compact-project:nth-child(3) { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-label { min-height: 0; flex-direction: row; align-items: center; }
  .about-star { font-size: 2.6rem; }
  .about-text { grid-template-columns: 1fr; }
  .contact { min-height: 78vh; }
  .contact h2 { font-size: clamp(5rem,22vw,8rem); }
  .contact-bottom { align-items: stretch; flex-direction: column; }
  .contact-button { min-width: 0; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer p { display: none; }
  .footer > a:last-child { justify-self: end; }
  .shorts-page-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 4rem; }
  .shorts-page-hero h1 { font-size: clamp(4.8rem,21vw,8rem); }
  .shorts-hero-reel { height: 112vw; min-height: 400px; }
  .shorts-hero-reel .short-card { width: 45%; height: 72%; }
  .shorts-hero-reel .short-card:nth-child(1) { left: 0; top: 18%; }
  .shorts-hero-reel .short-card:nth-child(2) { left: 28%; top: 2%; }
  .shorts-hero-reel .short-card:nth-child(3) { right: -4%; top: 23%; }
  .shorts-catalog-grid { grid-template-columns: 1fr 1fr; }
  .catalog-short:nth-child(2),.catalog-short:nth-child(5) { margin-top: 3rem; }
  .project-heading { grid-template-columns: 1fr; }
  .project-showcase { grid-template-columns: 1fr; }
  .project-poster { width: min(78vw,400px); margin: 0 auto; }
  .project-statement p { max-width: 12ch; }
  .project-next { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .availability { max-width: 10.5rem; line-height: 1.2; }
  .round-play { width: 4.4rem; height: 4.4rem; }
  .shorts-catalog-grid { grid-template-columns: 1fr; }
  .catalog-short:nth-child(2),.catalog-short:nth-child(5) { margin-top: 0; }
  .catalog-short .short-media { aspect-ratio: 4/5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .starfield,.cursor-glow { display: none; }
}

/* ALL PROJECT DETAIL PAGES — 2026 REDESIGN */
.project-page { --project-accent: var(--acid); --project-accent-2: var(--violet); }
.project-page .site-header { position: relative; }
.project-shell { width: var(--page); margin: 0 auto; padding: clamp(3.5rem,7vw,7rem) 0 clamp(7rem,12vw,13rem); }
.project-topline { display:flex; align-items:center; justify-content:space-between; gap:2rem; margin-bottom:clamp(3rem,7vw,7rem); }
.project-index { color:#77747f; font-size:.63rem; letter-spacing:.14em; text-transform:uppercase; }
.project-index b { color:var(--project-accent); font-weight:700; }
.project-title-wrap { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr); gap:5vw; align-items:end; margin-bottom:clamp(3rem,6vw,6rem); }
.project-kicker { margin:0 0 1.4rem; color:var(--project-accent); text-transform:uppercase; letter-spacing:.15em; font-size:.66rem; font-weight:800; }
.project-title { margin:0; max-width:10ch; font-size:clamp(4.5rem,9.2vw,10rem); line-height:.76; letter-spacing:-.075em; text-wrap:balance; }
.project-title em { color:var(--project-accent); font-family:Georgia,"Times New Roman",serif; font-weight:400; }
.project-intro { max-width:30rem; justify-self:end; }
.project-intro p { margin:0 0 1.8rem; color:#aaa7b0; font-size:clamp(1rem,1.25vw,1.2rem); line-height:1.75; }
.project-metadata { border-top:1px solid var(--line); }
.project-metadata div { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:.86rem 0; border-bottom:1px solid var(--line); text-transform:uppercase; letter-spacing:.11em; font-size:.62rem; color:#77747f; }
.project-metadata strong { color:var(--text); font-size:.67rem; }
.project-stage { position:relative; min-height:40rem; display:grid; place-items:center; margin-bottom:clamp(7rem,11vw,12rem); }
.project-stage::before { content:""; position:absolute; width:min(76vw,1100px); aspect-ratio:1; border:1px solid rgba(255,255,255,.055); border-radius:50%; animation:spin 55s linear infinite; }
.project-stage::after { content:"✦"; position:absolute; right:7%; top:8%; color:var(--project-accent); font-size:clamp(1.6rem,3vw,3.2rem); animation:spin 13s linear infinite reverse; text-shadow:0 0 24px color-mix(in srgb,var(--project-accent) 58%,transparent); }
.project-film { position:relative; z-index:2; width:min(100%,1320px); margin:0 auto; border:0; padding:0; cursor:pointer; background:#111116; overflow:hidden; box-shadow:0 45px 130px rgba(0,0,0,.55); }
.project-film::before { content:""; position:absolute; inset:0; z-index:2; background:linear-gradient(to bottom,transparent 55%,rgba(4,4,7,.72)); pointer-events:none; }
.project-film img { height:100%; object-fit:cover; transition:transform 1.1s var(--ease),filter .5s ease; }
.project-film:hover img { transform:scale(1.025); filter:brightness(.83) saturate(1.08); }
.project-page--landscape .project-film { aspect-ratio:16/9; }
.project-page--portrait .project-film { width:min(76vw,540px); aspect-ratio:9/16; }
.project-play { position:absolute; z-index:3; left:50%; top:50%; transform:translate(-50%,-50%); width:clamp(4.7rem,7vw,7.2rem); height:clamp(4.7rem,7vw,7.2rem); display:grid; place-items:center; border-radius:50%; border:1px solid rgba(255,255,255,.44); background:rgba(5,5,8,.28); backdrop-filter:blur(12px); font-size:1rem; transition:background .3s ease,border-color .3s ease,transform .5s var(--ease); }
.project-film:hover .project-play { background:color-mix(in srgb,var(--project-accent) 18%,rgba(5,5,8,.55)); border-color:var(--project-accent); transform:translate(-50%,-50%) scale(1.08); }
.project-film-label { position:absolute; z-index:3; left:1.2rem; bottom:1rem; display:flex; align-items:center; gap:.7rem; color:rgba(255,255,255,.76); text-transform:uppercase; letter-spacing:.13em; font-size:.61rem; }
.project-film-label span { width:1.5rem; height:1px; background:var(--project-accent); }
.project-story { display:grid; grid-template-columns:.7fr 1.3fr; gap:6vw; align-items:start; margin-bottom:clamp(7rem,11vw,12rem); }
.project-story-label { position:sticky; top:3rem; }
.project-story-label .eyebrow { color:#77747f; }
.project-story-copy { position:relative; }
.project-story-copy::before { content:"“"; position:absolute; left:-.42em; top:-.25em; color:color-mix(in srgb,var(--project-accent) 22%,transparent); font:400 clamp(8rem,14vw,15rem)/1 Georgia,serif; pointer-events:none; }
.project-story-copy h2 { position:relative; margin:0; max-width:12ch; font-size:clamp(3rem,6vw,7rem); line-height:.94; letter-spacing:-.06em; font-weight:650; }
.project-story-copy h2 em { color:var(--project-accent); font-family:Georgia,serif; font-weight:400; }
.project-story-copy p { position:relative; max-width:39rem; margin:2rem 0 0; color:#96939d; font-size:1rem; line-height:1.8; }
.project-nav { border-top:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; }
.project-nav a { min-height:12rem; padding:2rem 0; display:flex; flex-direction:column; justify-content:space-between; transition:padding .5s var(--ease),color .3s ease; }
.project-nav a + a { padding-left:3rem; border-left:1px solid var(--line); }
.project-nav a:hover { color:var(--project-accent); }
.project-nav a:hover:first-child { padding-left:.8rem; }
.project-nav a:hover:last-child { padding-left:3.8rem; }
.project-nav small { color:#74717b; text-transform:uppercase; letter-spacing:.13em; font-size:.61rem; }
.project-nav strong { max-width:12ch; font-size:clamp(1.7rem,3vw,3.2rem); line-height:1; letter-spacing:-.04em; }
.project-nav .next-link { text-align:right; align-items:flex-end; }
.project-page .footer { border-top:1px solid rgba(255,255,255,.07); }

@media (max-width:760px) {
  .project-shell { padding-top:3rem; }
  .project-topline { margin-bottom:3rem; }
  .project-title-wrap { grid-template-columns:1fr; gap:2.3rem; }
  .project-title { font-size:clamp(4rem,19vw,7rem); }
  .project-intro { justify-self:start; }
  .project-stage { min-height:0; margin-top:1rem; }
  .project-page--portrait .project-film { width:min(82vw,420px); }
  .project-story { grid-template-columns:1fr; gap:2.5rem; }
  .project-story-label { position:static; }
  .project-story-copy h2 { font-size:clamp(3rem,14vw,5.5rem); }
  .project-nav { grid-template-columns:1fr; }
  .project-nav a { min-height:9rem; }
  .project-nav a + a { padding-left:0; border-left:0; border-top:1px solid var(--line); }
  .project-nav .next-link { text-align:left; align-items:flex-start; }
  .project-nav a:hover:last-child { padding-left:.8rem; }
}

/* CONTACT PAGE */
.contact-page-main { min-height: calc(100svh - 94px); }
.contact-hero { width: var(--page); margin: 0 auto; min-height: calc(100svh - 94px); padding: clamp(4.5rem,8vw,8rem) 0 clamp(7rem,10vw,11rem); display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.75fr); gap: clamp(3rem,8vw,10rem); align-items: center; position: relative; }
.contact-hero::before { content:""; position:absolute; width:min(52vw,760px); aspect-ratio:1; left:-22vw; top:0; border:1px solid rgba(255,255,255,.055); border-radius:50%; box-shadow:0 0 0 8vw rgba(255,255,255,.012),0 0 0 16vw rgba(255,255,255,.007); pointer-events:none; }
.contact-hero-copy { position:relative; z-index:2; }
.contact-hero .eyebrow { margin-bottom:clamp(2.2rem,5vw,4.5rem); }
.contact-hero h1 { margin:0; max-width:9ch; font-size:clamp(5.2rem,9.3vw,10.8rem); line-height:.76; letter-spacing:-.075em; text-transform:uppercase; }
.contact-hero h1 em { display:block; color:var(--acid); font-family:Georgia,"Times New Roman",serif; font-weight:400; text-transform:none; }
.contact-lede { max-width:34rem; margin:clamp(2.4rem,5vw,4rem) 0 0; color:#aaa7b0; font-size:clamp(1rem,1.2vw,1.18rem); line-height:1.78; }
.contact-signal { width:9.5rem; height:9.5rem; margin-top:clamp(3rem,6vw,5.5rem); position:relative; display:grid; place-items:center; }
.contact-signal-orbit { position:absolute; inset:0; border:1px solid rgba(216,255,85,.28); border-radius:50%; animation:spin 18s linear infinite; }
.contact-signal-orbit::after { content:""; position:absolute; width:.55rem; height:.55rem; border-radius:50%; background:var(--acid); left:50%; top:-.3rem; box-shadow:0 0 24px rgba(216,255,85,.75); }
.contact-signal-star { color:var(--violet); font-size:2.1rem; animation:spin 10s linear infinite reverse; }
.contact-signal small { position:absolute; left:calc(100% + 1rem); top:50%; transform:translateY(-50%); width:7rem; color:#787681; text-transform:uppercase; letter-spacing:.12em; line-height:1.45; font-size:.59rem; }
.contact-form-wrap { position:relative; z-index:3; padding:clamp(1.3rem,2.5vw,2rem); border:1px solid rgba(255,255,255,.12); background:linear-gradient(145deg,rgba(21,21,28,.88),rgba(9,9,13,.72)); box-shadow:0 45px 120px rgba(0,0,0,.42); backdrop-filter:blur(22px); }
.contact-form-wrap::before { content:"✦"; position:absolute; right:-1.2rem; top:-2.2rem; color:var(--acid); font-size:2.6rem; animation:spin 13s linear infinite; text-shadow:0 0 28px rgba(216,255,85,.35); }
.contact-form-top { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding-bottom:1.15rem; border-bottom:1px solid var(--line); color:#77747f; text-transform:uppercase; letter-spacing:.13em; font-size:.61rem; }
.contact-form-top span:first-child { color:var(--text); font-weight:800; }
.project-form { margin-top:.35rem; }
.form-field { padding:1.35rem 0 1.05rem; border-bottom:1px solid var(--line); }
.form-field label { display:block; margin-bottom:.7rem; color:#77747f; text-transform:uppercase; letter-spacing:.13em; font-size:.6rem; font-weight:700; }
.form-field input,.form-field textarea { width:100%; border:0; outline:0; padding:0; resize:vertical; background:transparent; color:var(--text); font:inherit; font-size:clamp(1.25rem,2vw,1.75rem); line-height:1.35; letter-spacing:-.025em; }
.form-field textarea { min-height:9rem; }
.form-field input::placeholder,.form-field textarea::placeholder { color:#47454e; opacity:1; }
.form-field:focus-within { border-color:rgba(216,255,85,.5); }
.form-field:focus-within label { color:var(--acid); }
.form-trap { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.form-status { min-height:1.4rem; margin:.9rem 0 .15rem; color:#a09da7; font-size:.76rem; line-height:1.5; }
.form-status.is-success { color:var(--acid); }
.form-status.is-error { color:#ff9e87; }
.form-submit { width:100%; min-height:5.4rem; margin-top:.55rem; border:0; border-radius:999px; padding:0 1.55rem 0 1.8rem; display:flex; align-items:center; justify-content:space-between; cursor:pointer; background:var(--acid); color:#08090a; text-transform:uppercase; letter-spacing:.12em; font-size:.72rem; font-weight:900; transition:filter .25s ease,transform .25s var(--ease); }
.form-submit:hover { filter:brightness(1.06); }
.form-submit b { width:2.65rem; height:2.65rem; border-radius:50%; display:grid; place-items:center; background:#0a0b0b; color:var(--acid); font-size:1rem; }
.form-note { margin:1rem .25rem .1rem; color:#696771; font-size:.66rem; line-height:1.55; }

@media (max-width: 900px) {
  .contact-hero { grid-template-columns:1fr; align-items:start; }
  .contact-hero h1 { max-width:10ch; }
  .contact-hero-copy { padding-bottom:2rem; }
  .contact-form-wrap { width:min(100%,680px); }
}
@media (max-width: 760px) {
  .contact-page-main { min-height:0; }
  .contact-hero { min-height:auto; padding-top:4rem; }
  .contact-hero h1 { font-size:clamp(4.3rem,19vw,7.2rem); }
  .contact-signal { width:7.5rem; height:7.5rem; }
  .contact-signal small { left:calc(100% + .8rem); }
  .contact-form-wrap { padding:1.15rem; }
  .form-field input,.form-field textarea { font-size:1.22rem; }
  .form-submit { min-height:4.8rem; }
}

/* Contact form submit states */
.form-submit:disabled { cursor: wait; opacity: .72; }
.form-submit[aria-busy="true"] { pointer-events: none; }

/* PORTRAIT SHORTS — preserve the native 9:16 format everywhere */
.video-modal.video-modal--portrait {
  width: min(92vw, 560px, calc(88vh * 9 / 16));
  width: min(92vw, 560px, calc(88dvh * 9 / 16));
  max-width: none;
}
.video-modal--portrait .video-frame { aspect-ratio: 9 / 16; }
.video-modal--landscape .video-frame { aspect-ratio: 16 / 9; }

/* Homepage Shorts should look like actual phone-format films, not landscape crops. */
.short-stack .short-media {
  height: auto;
  aspect-ratio: 9 / 16;
}
.short-stack .short-card { align-self: start; }
.compact-project .compact-media { aspect-ratio: 9 / 16; }

/* The floating Shorts hero frames also keep a true 9:16 silhouette. */
.shorts-hero-reel .short-card {
  height: auto;
  aspect-ratio: 9 / 16;
}
.shorts-hero-reel .short-media {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
}

/* Never widen Shorts to 4:5 on phones. */
@media (max-width: 760px) {
  .catalog-short .short-media { aspect-ratio: 9 / 16; }
}

@media (max-height: 700px) and (min-width: 600px) {
  .video-modal.video-modal--portrait {
    width: min(88vw, calc(82vh * 9 / 16));
    width: min(88vw, calc(82dvh * 9 / 16));
  }
}

/* =========================================================
   THEME SYSTEM — Dark / Light / Colorful
   ========================================================= */
:root {
  --star-color: #f5f3ff;
  --shoot-rgb: 216,255,85;
  --theme-surface: rgba(10,10,14,.74);
  --theme-surface-strong: rgba(14,14,20,.94);
  --theme-shadow: rgba(0,0,0,.32);
}

html { color-scheme: dark; }
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f3ec;
  --bg-soft: #ece6dd;
  --paper: #17141d;
  --text: #18161d;
  --muted: #6d6874;
  --line: rgba(24,22,29,.12);
  --line-strong: rgba(24,22,29,.24);
  --acid: #5d46f4;
  --violet: #d63f9d;
  --orange: #e9613d;
  --star-color: #312b47;
  --shoot-rgb: 93,70,244;
  --theme-surface: rgba(255,255,255,.72);
  --theme-surface-strong: rgba(255,252,247,.95);
  --theme-shadow: rgba(44,35,58,.14);
}
html[data-theme="colorful"] {
  color-scheme: dark;
  --bg: #090716;
  --bg-soft: #120d27;
  --paper: #fff8e9;
  --text: #fffaf6;
  --muted: #beb7d0;
  --line: rgba(255,255,255,.14);
  --line-strong: rgba(255,255,255,.26);
  --acid: #ffe45e;
  --violet: #ff62c7;
  --orange: #59e5ff;
  --star-color: #fff7ff;
  --shoot-rgb: 255,228,94;
  --theme-surface: rgba(20,13,43,.72);
  --theme-surface-strong: rgba(23,15,48,.94);
  --theme-shadow: rgba(0,0,0,.34);
}

body,
.availability,
.round-play,
.marquee,
.contact-form-wrap,
.theme-toggle,
.theme-menu,
.theme-option {
  transition: background-color .55s var(--ease), background .65s var(--ease), color .45s ease, border-color .45s ease, box-shadow .55s ease;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 74% -8%, rgba(94,70,244,.14), transparent 31rem),
    radial-gradient(circle at -5% 47%, rgba(214,63,157,.09), transparent 28rem),
    radial-gradient(circle at 86% 83%, rgba(233,97,61,.08), transparent 34rem),
    var(--bg);
}
html[data-theme="colorful"] body {
  background:
    radial-gradient(circle at 11% 8%, rgba(255,68,157,.25), transparent 30rem),
    radial-gradient(circle at 84% 2%, rgba(101,81,255,.28), transparent 34rem),
    radial-gradient(circle at 78% 73%, rgba(61,225,203,.16), transparent 31rem),
    radial-gradient(circle at 14% 82%, rgba(255,151,70,.11), transparent 28rem),
    var(--bg);
}

html[data-theme="light"] .starfield { opacity: .23; }
html[data-theme="colorful"] .starfield { opacity: .82; }
html[data-theme="light"] .noise { opacity: .025; mix-blend-mode: multiply; }
html[data-theme="colorful"] .noise { opacity: .05; }
html[data-theme="light"] .ambient { opacity: .11; }
html[data-theme="colorful"] .ambient { opacity: .2; filter: blur(120px); }
html[data-theme="colorful"] .ambient--one { background: linear-gradient(135deg,#ff3e9b,#775cff); }
html[data-theme="colorful"] .ambient--two { background: linear-gradient(135deg,#35e5c1,#ffe45e); }
html[data-theme="light"] .cursor-glow { background: radial-gradient(circle,rgba(93,70,244,.08),transparent 68%); }
html[data-theme="colorful"] .cursor-glow { background: radial-gradient(circle,rgba(255,98,199,.09),rgba(89,229,255,.035) 36%,transparent 68%); }

/* Light-theme contrast fixes for text that is intentionally subdued in dark mode. */
html[data-theme="light"] :is(
  .nav a,.availability,.kicker,.hero-bottom > p,.hero-scroll,.eyebrow,.eyebrow span,
  .section-description,.project-tags span,.short-meta span,.section-rule > span,.compact-project small,
  .about-label,.about-text,.about-counters span,.about-counters b,.contact-bottom p,.footer,
  .shorts-page-intro,.project-breadcrumb,.project-meta-list div,.project-index,.project-intro p,
  .project-metadata div,.project-story-label .eyebrow,.project-story-copy p,.project-nav small,
  .contact-lede,.contact-signal small,.contact-form-top,.form-field label,.form-status,.form-note
) { color: #6e6975; }
html[data-theme="light"] .about-counters b { color: #49444f; }
html[data-theme="light"] .eyebrow span { color: #8a8490; }
html[data-theme="light"] .arrow-link { color: #55505d; }
html[data-theme="light"] .form-field input::placeholder,
html[data-theme="light"] .form-field textarea::placeholder { color: #9c96a2; }

html[data-theme="colorful"] :is(
  .nav a,.availability,.kicker,.hero-bottom > p,.hero-scroll,.eyebrow,
  .section-description,.project-tags span,.short-meta span,.compact-project small,.about-label,
  .about-text,.about-counters b,.contact-bottom p,.footer,.shorts-page-intro,.project-breadcrumb,
  .project-meta-list div,.project-index,.project-intro p,.project-metadata div,.project-story-copy p,
  .project-nav small,.contact-lede,.contact-signal small,.contact-form-top,.form-field label,.form-status,.form-note
) { color: #bdb5cf; }
html[data-theme="colorful"] .eyebrow span,
html[data-theme="colorful"] .about-counters span,
html[data-theme="colorful"] .section-rule > span { color: #827a99; }
html[data-theme="colorful"] .arrow-link { color: #d2ccdf; }

/* Surfaces and linework that need to reverse in the light theme. */
html[data-theme="light"] .availability { background: rgba(255,255,255,.62); }
html[data-theme="light"] .round-play { background: rgba(255,255,255,.62); }
html[data-theme="light"] .round-play:hover { background: color-mix(in srgb,var(--acid) 9%,white); }
html[data-theme="light"] .marquee { background: rgba(255,255,255,.48); }
html[data-theme="light"] .subpage-header,
html[data-theme="light"] .project-page .footer { border-color: var(--line); }
html[data-theme="light"] .hero::before {
  background-image: linear-gradient(rgba(24,22,29,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(24,22,29,.045) 1px,transparent 1px);
}
html[data-theme="light"] :is(.hero-orbit,.contact::before,.project-stage::before,.contact-hero::before) { border-color: rgba(24,22,29,.09); }
html[data-theme="light"] .contact::before { box-shadow: 0 0 0 8vw rgba(24,22,29,.018),0 0 0 16vw rgba(24,22,29,.009); }
html[data-theme="light"] .contact-hero::before { box-shadow: 0 0 0 8vw rgba(24,22,29,.018),0 0 0 16vw rgba(24,22,29,.009); }
html[data-theme="light"] .contact-form-wrap {
  border-color: rgba(24,22,29,.12);
  background: linear-gradient(145deg,rgba(255,255,255,.86),rgba(245,239,231,.78));
  box-shadow: 0 45px 120px rgba(52,43,65,.13);
}
html[data-theme="light"] .contact-signal-orbit { border-color: color-mix(in srgb,var(--acid) 34%,transparent); }
html[data-theme="light"] .contact-signal-orbit::after { box-shadow: 0 0 24px color-mix(in srgb,var(--acid) 65%,transparent); }
html[data-theme="light"] .contact-form-wrap::before { text-shadow: 0 0 28px color-mix(in srgb,var(--acid) 32%,transparent); }
html[data-theme="light"] .form-field:focus-within { border-color: color-mix(in srgb,var(--acid) 55%,transparent); }

/* Keep image-overlay controls readable regardless of page theme. */
html[data-theme="light"] :is(.pill--light,.watch-chip,.compact-media span) { background: #18161d; color: #fff; }
html[data-theme="light"] :is(.short-overlay b,.contact-button,.form-submit) { color: #fff; }
html[data-theme="light"] .form-submit b { background: #fff; color: var(--acid); }
html[data-theme="light"] ::selection { background: var(--acid); color: #fff; }

/* Colorful mode gets a richer glass treatment and multicolor editorial accents. */
html[data-theme="colorful"] .availability { background: rgba(20,13,43,.45); }
html[data-theme="colorful"] .marquee { background: rgba(17,11,37,.54); }
html[data-theme="colorful"] .contact-form-wrap {
  border-color: rgba(255,255,255,.14);
  background: linear-gradient(145deg,rgba(34,18,62,.9),rgba(11,9,27,.82));
  box-shadow: 0 45px 130px rgba(0,0,0,.38), 0 0 70px rgba(117,78,255,.08);
}
html[data-theme="colorful"] :is(
  .title-line--accent,.section h2 em,.shorts-page-hero h1 em,.contact h2 em,.contact-hero h1 em
) {
  background: linear-gradient(92deg,var(--acid) 5%,#ff72ce 48%,#62e6ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="colorful"] .brand-mark {
  box-shadow: 0 0 30px rgba(255,228,94,.12), inset 0 0 24px rgba(255,98,199,.035);
}
html[data-theme="colorful"] .feature-wash {
  background: linear-gradient(135deg,rgba(255,98,199,.16),transparent 42%,rgba(89,229,255,.1));
}

/* Project accents can be very pale; darken them for text when the page is light. */
html[data-theme="light"] .project-page {
  --project-accent-safe: color-mix(in srgb,var(--project-accent) 58%,#17141d);
}
html:not([data-theme="light"]) .project-page { --project-accent-safe: var(--project-accent); }
html[data-theme="light"] .project-page .project-index b,
html[data-theme="light"] .project-page .project-kicker,
html[data-theme="light"] .project-page .project-title em,
html[data-theme="light"] .project-page .project-stage::after,
html[data-theme="light"] .project-page .project-story-copy h2 em { color: var(--project-accent-safe); }
html[data-theme="light"] .project-page .project-film-label span { background: var(--project-accent-safe); }
html[data-theme="light"] .project-page .project-nav a:hover { color: var(--project-accent-safe); }
html[data-theme="light"] .project-page .project-film:hover .project-play { border-color: var(--project-accent-safe); }

/* Theme picker */
.theme-control {
  position: fixed;
  right: clamp(.85rem,2vw,1.55rem);
  bottom: clamp(.85rem,2vw,1.55rem);
  z-index: 180;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
  font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.theme-toggle {
  min-height: 3.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .42rem .55rem .42rem .5rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  color: var(--text);
  background: var(--theme-surface);
  box-shadow: 0 14px 42px var(--theme-shadow);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}
.theme-toggle:hover { border-color: color-mix(in srgb,var(--acid) 62%,var(--line-strong)); }
.theme-toggle-orb {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb,var(--text) 15%,transparent);
  box-shadow: inset 0 0 0 5px color-mix(in srgb,var(--bg) 24%,transparent), 0 0 22px color-mix(in srgb,var(--acid) 16%,transparent);
  transition: transform .55s var(--ease), background .55s var(--ease), box-shadow .55s ease;
}
html[data-theme="dark"] .theme-toggle-orb { background: radial-gradient(circle at 34% 30%,#d8ff55 0 9%,#755cff 10% 27%,#111019 29% 100%); }
html[data-theme="light"] .theme-toggle-orb { background: radial-gradient(circle at 34% 30%,#fff 0 18%,#ffe7a8 19% 45%,#5d46f4 47% 100%); }
html[data-theme="colorful"] .theme-toggle-orb { background: conic-gradient(from 25deg,#ff55bd,#765cff,#55e9ff,#ffe45e,#ff7a4d,#ff55bd); }
.theme-toggle-copy { display: grid; line-height: 1.05; text-align: left; }
.theme-toggle-copy small { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: .52rem; font-weight: 800; }
.theme-current { min-width: 3.6rem; margin-top: .19rem; color: var(--text); font-size: .73rem; font-weight: 750; }
.theme-chevron { width: 1.65rem; height: 1.65rem; display: grid; place-items: center; border-radius: 50%; color: var(--muted); font-size: .72rem; transition: transform .42s var(--ease),background .3s ease; }
.theme-control.is-open .theme-chevron { transform: rotate(180deg); background: color-mix(in srgb,var(--text) 7%,transparent); }

.theme-menu {
  width: min(18.5rem,calc(100vw - 1.7rem));
  padding: .55rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  background: var(--theme-surface-strong);
  box-shadow: 0 24px 70px var(--theme-shadow);
  backdrop-filter: blur(25px) saturate(1.25);
  -webkit-backdrop-filter: blur(25px) saturate(1.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.965);
  transform-origin: 85% 100%;
  transition: opacity .28s ease,transform .38s var(--ease),visibility .28s ease,background .55s var(--ease),border-color .45s ease;
}
.theme-control.is-open .theme-menu { opacity: 1; visibility: visible; transform: none; }
.theme-menu-head { display:flex; align-items:center; justify-content:space-between; padding:.55rem .65rem .7rem; color:var(--muted); text-transform:uppercase; letter-spacing:.13em; font-size:.54rem; font-weight:800; }
.theme-menu-head span:last-child { color: var(--acid); }
.theme-options { display:grid; gap:.35rem; }
.theme-option {
  width:100%;
  min-height:4.1rem;
  border:1px solid transparent;
  border-radius:.9rem;
  padding:.55rem .65rem;
  display:grid;
  grid-template-columns:2.6rem 1fr 1.25rem;
  gap:.75rem;
  align-items:center;
  cursor:pointer;
  color:var(--text);
  background:transparent;
  text-align:left;
}
.theme-option:hover { background: color-mix(in srgb,var(--text) 5%,transparent); }
.theme-option[aria-checked="true"] { border-color: color-mix(in srgb,var(--acid) 42%,transparent); background: color-mix(in srgb,var(--acid) 7%,transparent); }
.theme-swatch { width:2.55rem; height:2.55rem; border-radius:.72rem; border:1px solid color-mix(in srgb,var(--text) 13%,transparent); box-shadow:inset 0 0 0 1px rgba(255,255,255,.04); }
.theme-swatch--dark { background: radial-gradient(circle at 75% 15%,#765cff 0,transparent 42%),linear-gradient(145deg,#08080c,#171722); }
.theme-swatch--light { background: radial-gradient(circle at 75% 15%,#c9bcff 0,transparent 43%),linear-gradient(145deg,#fffdf9,#e8e0d6); }
.theme-swatch--colorful { background: conic-gradient(from 210deg,#ff5ab9,#715bff,#53e5ff,#ffe45e,#ff7850,#ff5ab9); }
.theme-option-copy { display:grid; gap:.18rem; }
.theme-option-copy b { font-size:.77rem; font-weight:800; }
.theme-option-copy small { color:var(--muted); font-size:.58rem; line-height:1.2; }
.theme-check { color:var(--acid); font-size:.86rem; opacity:0; transform:scale(.7); transition:opacity .25s ease,transform .35s var(--ease); }
.theme-option[aria-checked="true"] .theme-check { opacity:1; transform:scale(1); }
.theme-control.theme-pop .theme-toggle-orb { animation: themeOrbPop .55s var(--ease); }
@keyframes themeOrbPop { 40% { transform:scale(1.2) rotate(22deg); } }

@media (max-width:760px) {
  .theme-control { right:.7rem; bottom:.7rem; }
  .theme-toggle { min-height:2.95rem; padding:.35rem .45rem .35rem .4rem; gap:.5rem; }
  .theme-toggle-orb { width:2rem; height:2rem; }
  .theme-toggle-copy small { display:none; }
  .theme-current { min-width:3.25rem; font-size:.68rem; }
  .theme-menu { width:min(18rem,calc(100vw - 1.4rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .theme-menu { transition:none; }
  .theme-control.theme-pop .theme-toggle-orb { animation:none; }
}


/* INSTAGRAM REEL — native portrait presentation without faking a landscape thumbnail */
.instagram-poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,225,94,.9), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255,79,168,.88), transparent 32%),
    radial-gradient(circle at 22% 82%, rgba(104,70,255,.9), transparent 38%),
    linear-gradient(145deg,#ff7a59 0%,#d72da8 42%,#6946ff 72%,#17111f 100%);
  color: #fff;
}
.instagram-poster::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(115deg,rgba(255,255,255,.045) 0 1px,transparent 1px 18px);
  mix-blend-mode: soft-light;
}
.instagram-poster::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,transparent 35%,rgba(5,3,10,.72) 100%);
}
.instagram-poster-glow {
  position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%;
  right: -18%; top: 18%; background: rgba(255,255,255,.22); filter: blur(42px);
  animation: instagram-float 5.5s ease-in-out infinite alternate;
}
.instagram-poster-mark {
  position: absolute; left: 8%; top: 5%; font-size: clamp(2.3rem,5vw,4.6rem);
  line-height: 1; font-weight: 300; letter-spacing: -.08em; text-shadow: 0 10px 32px rgba(0,0,0,.18);
}
.instagram-poster-mark--large { font-size: clamp(4rem,10vw,9rem); }
.instagram-poster-copy { position: absolute; left: 8%; right: 8%; bottom: 8%; text-align: left; z-index: 2; }
.instagram-poster-copy b { display: block; font-size: clamp(.8rem,1.4vw,1.15rem); letter-spacing: .16em; }
.instagram-poster-copy small { display: block; margin-top: .32rem; opacity: .74; font-size: .74rem; letter-spacing: .04em; }
.instagram-poster-copy--project { bottom: 7%; left: 6%; }
.instagram-poster-play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%);
  width: 3rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #111; box-shadow: 0 16px 45px rgba(0,0,0,.22);
}
.instagram-poster:hover .instagram-poster-glow { transform: translate(-8%,-8%) scale(1.12); }
.instagram-poster--compact .instagram-poster-mark { font-size: 2rem; }
.instagram-poster--compact .instagram-poster-copy { bottom: 7%; }
.instagram-poster--compact .instagram-poster-copy b { font-size: .72rem; }
.instagram-poster--compact .instagram-poster-copy small { font-size: .62rem; }
.project-film--portrait { aspect-ratio: 9 / 16; width: min(100%, 560px); margin-inline: auto; min-height: 0; }
.project-film--instagram { aspect-ratio: 9 / 16; width: min(100%, 560px); margin-inline: auto; min-height: 0; }
.video-modal--instagram { background: #fff; border-radius: 18px; overflow: hidden; }
.video-modal--instagram .video-frame { background: #fff; }
.video-modal--instagram .instagram-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.video-modal--instagram .modal-close { background: rgba(10,10,14,.82); color: #fff; border-color: rgba(255,255,255,.22); z-index: 5; }
@keyframes instagram-float { to { transform: translate(-10%,7%) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .instagram-poster-glow { animation: none; } }

/* Angelutakais.lt: prevent its long title from overflowing narrow phones. */
@media (max-width: 760px) {
  .project-page--angelutaikais .project-title {
    max-width: 100%;
    font-size: clamp(2.8rem, 11.5vw, 3.6rem);
    line-height: .88;
    letter-spacing: -.07em;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
}

/* Angelutakais.lt: stable narrow-layout revision. */
.project-page--angelutaikais .project-title {
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
  .project-page--angelutaikais .project-title-wrap {
    grid-template-columns: 1fr;
    gap: 2.3rem;
  }
  .project-page--angelutaikais .project-intro {
    justify-self: start;
  }
  .project-page--angelutaikais .project-title {
    font-size: clamp(2.9rem, 12.5vw, 4rem);
    line-height: .9;
    letter-spacing: -.065em;
  }
}

/* Namora: enlarged title layout. */
.project-page--namora .project-title { max-width: 100%; }
@media (max-width: 1000px) {
  .project-page--namora .project-title-wrap {
    grid-template-columns: 1fr;
    gap: 2.3rem;
  }
  .project-page--namora .project-intro { justify-self: start; }
  .project-page--namora .project-title {
    font-size: clamp(4.8rem, 20vw, 8rem);
    line-height: .82;
    letter-spacing: -.08em;
    white-space: nowrap;
  }
}

/* Wide video thumbnails: preserve full frames on phones. */
@media (max-width: 760px) {
  .feature-media--wide { aspect-ratio: 16 / 9; }
}

/* All landscape feature cards retain a full cinematic frame on every screen. */
@media (max-width: 760px) {
  .feature-media { aspect-ratio: 16 / 9; }
}

/* Playlist archive: full-frame landscape additions. */
.playlist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.playlist-project { min-width: 0; }
.playlist-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 0; padding: 0; background: #15151a; cursor: pointer; }
.playlist-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s ease; }
.playlist-media span { position: absolute; inset: 50% auto auto 50%; width: 3.1rem; height: 3.1rem; display: grid; place-items: center; border-radius: 50%; transform: translate(-50%, -35%) scale(.86); opacity: 0; background: var(--paper); color: #080808; transition: opacity .3s ease, transform .4s var(--ease); padding-left: .15rem; }
.playlist-media:hover img { transform: scale(1.045); filter: brightness(.7) saturate(1.06); }
.playlist-media:hover span { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.playlist-project > div { display: grid; gap: .28rem; padding: .9rem .1rem 0; }
.playlist-project strong { font-size: .92rem; }
.playlist-project small { color: #77757d; font-size: .65rem; }
@media (max-width: 760px) { .playlist-grid { grid-template-columns: 1fr; gap: 2.3rem; } }

/* Prevent decorative elements from creating horizontal mobile scroll. */
html, body {
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
main { overflow-x: clip; }

/* Keep footer actions clear of the fixed theme control. */
.footer { padding-bottom: 6.5rem; }
@media (max-width: 760px) {
  .footer { padding-bottom: 5.6rem; }
}

/* Floating back-to-top control stays above decorative layers. */
.footer { padding-bottom: 3rem; }
.footer > a:last-child {
  position: fixed;
  left: 1rem;
  right: auto;
  bottom: 1rem;
  z-index: 250;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--theme-surface);
  box-shadow: 0 14px 42px var(--theme-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
  touch-action: manipulation;
}
@media (max-width: 760px) {
  .footer { padding-bottom: 3rem; }
  .footer > a:last-child { left: .7rem; bottom: .7rem; min-height: 2.95rem; padding: 0 .85rem; font-size: .62rem; }
}

/* Back-to-top visibility state keeps the footer logo clear. */
.footer > a:last-child {
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity .25s ease, transform .32s var(--ease), visibility .25s ease;
}
.footer > a:last-child.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
