/* =========================================================
   TOTAL 3D — styles
   Palette pulled from the logo: black, electric red,
   electric blue, chrome silver.
   ========================================================= */

:root {
  --bg:        #06070c;
  --bg-2:      #0b0d16;
  --panel:     #11131f;
  --panel-2:   #161927;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);
  --text:      #eef1f8;
  --muted:     #9aa3bd;
  --muted-2:   #6b7186;
  --red:       #ff3b30;
  --red-deep:  #c01510;
  --blue:      #2b8eff;
  --blue-deep: #0a4fb0;
  --chrome:    #d7dbe8;
  --grad:      linear-gradient(110deg, #ff3b30 0%, #ff5e54 18%, #d7dbe8 50%, #2b8eff 82%, #1066e0 100%);
  --grad-rb:   linear-gradient(120deg, #ff3b30, #2b8eff);
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1200px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--red); color: #fff; }

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: -2; border-radius: 50%;
  filter: blur(120px); opacity: 0.5; pointer-events: none;
}
.bg-glow--red  { width: 520px; height: 520px; background: #ff3b3055; top: -120px; left: -80px; }
.bg-glow--blue { width: 620px; height: 620px; background: #2b8eff44; top: 30%; right: -160px; }

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 380px; height: 380px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(43,142,255,0.10), transparent 65%);
  transform: translate(-50%, -50%); transition: opacity 0.4s; opacity: 0;
  mix-blend-mode: screen;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg); display: grid; place-content: center;
  gap: 28px; justify-items: center; transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader__nozzle {
  width: 56px; height: 70px; position: relative;
  background: linear-gradient(180deg, #d7dbe8, #6b7186);
  clip-path: polygon(20% 0, 80% 0, 80% 55%, 50% 100%, 20% 55%);
}
.loader__drop {
  position: absolute; left: 50%; bottom: -6px; width: 9px; height: 9px;
  border-radius: 50%; transform: translateX(-50%);
  background: var(--blue); animation: drip 1.1s infinite ease-in;
}
.loader__drop:nth-child(2) { animation-delay: 0.36s; background: var(--chrome); }
.loader__drop:nth-child(3) { animation-delay: 0.72s; background: var(--red); }
@keyframes drip {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 130px); opacity: 0; }
}
.loader__text {
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem;
  letter-spacing: 0.35em; color: var(--muted);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 7, 12, 0.72); backdrop-filter: blur(14px);
  border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
  width: 40px; height: 40px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-2), 0 6px 20px -8px var(--blue);
}
.nav__name { font-family: "Sora", sans-serif; font-weight: 800; letter-spacing: 0.06em; font-size: 1.15rem; }
.nav__name b { background: var(--grad-rb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 0.94rem;
  color: var(--muted); transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__cta {
  background: var(--grad-rb); color: #fff !important; font-weight: 600;
  box-shadow: 0 8px 24px -10px var(--blue);
}
.nav__cta:hover { background: var(--grad-rb) !important; filter: brightness(1.08); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--text); transition: 0.3s; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; border: 1px solid transparent; transition: transform 0.3s var(--ease), box-shadow 0.3s, filter 0.3s;
  font-family: inherit;
}
.btn span { transition: transform 0.3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--primary {
  background: var(--grad-rb); color: #fff;
  box-shadow: 0 14px 36px -12px var(--blue), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover { transform: translateY(-3px); filter: brightness(1.07); }
.btn--ghost { background: rgba(255,255,255,0.04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--blue); }
.btn--full { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px clamp(18px, 4vw, 48px) 60px;
  max-width: var(--maxw); margin: 0 auto;
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  max-width: 100vw; left: 50%; transform: translateX(-50%);
}
.hero__content { max-width: 660px; position: relative; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.8rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
  font-family: "JetBrains Mono", monospace; margin-bottom: 22px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero__title {
  font-family: "Sora", sans-serif; font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 5.1rem); line-height: 1.02;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust li { font-size: 0.9rem; color: var(--text); }
.hero__trust li::first-letter { color: var(--blue); }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: "JetBrains Mono", monospace;
}
.hero__scroll span {
  width: 24px; height: 38px; border: 1px solid var(--line-2); border-radius: 14px; position: relative;
}
.hero__scroll span::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: var(--blue);
  animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%,14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,0.015); padding: 16px 0; }
.marquee__track { display: flex; gap: 38px; width: max-content; animation: scrollx 32s linear infinite; }
.marquee__track span {
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.06em; color: transparent; -webkit-text-stroke: 1px var(--line-2);
  white-space: nowrap;
}
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 11vw, 140px) clamp(18px, 4vw, 48px); }
.section__head { max-width: 720px; margin-bottom: 60px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.kicker span { padding: 3px 9px; border: 1px solid var(--blue); border-radius: 6px; color: var(--blue); }
.section__title {
  font-family: "Sora", sans-serif; font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.05; margin-bottom: 16px;
}
.section__sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
  transform-style: preserve-3d;
}
.card:hover { border-color: var(--line-2); }
.card__glow {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,142,255,0.22), transparent 65%);
  top: -100px; right: -80px; opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.card:hover .card__glow { opacity: 1; }
.card__icon {
  width: 56px; height: 56px; display: grid; place-content: center; font-size: 1.7rem;
  border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  margin-bottom: 20px;
}
.card h3 { font-family: "Sora", sans-serif; font-size: 1.32rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.card__list { list-style: none; display: grid; gap: 8px; }
.card__list li { font-size: 0.88rem; color: var(--text); padding-left: 22px; position: relative; }
.card__list li::before { content: "▸"; position: absolute; left: 0; color: var(--red); }

.services__note { text-align: center; margin-top: 36px; color: var(--muted); font-size: 1rem; }
.services__note a { color: var(--blue); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.services__note a:hover { border-color: var(--blue); }

/* ---------- Process / Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline__line {
  position: absolute; top: 26px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  opacity: 0.4;
}
.step { position: relative; padding-top: 64px; }
.step__num {
  position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-content: center; font-family: "Sora", sans-serif; font-weight: 800;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--blue);
  box-shadow: 0 0 0 6px var(--bg);
}
.step h3 { font-family: "Sora", sans-serif; font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Materials ---------- */
.materials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.mat {
  position: relative; padding: 26px 24px 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  display: flex; flex-direction: column; min-height: 200px;
}
.mat::before {
  content: ""; position: absolute; inset: 0; opacity: 0.16;
  background: linear-gradient(135deg, var(--c1), var(--c2)); transition: opacity 0.4s;
}
.mat::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--c1), var(--c2));
}
.mat:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px var(--c1); }
.mat:hover::before { opacity: 0.32; }
.mat h3 { position: relative; font-family: "Sora", sans-serif; font-size: 1.3rem; margin-bottom: 8px; }
.mat p { position: relative; color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.mat__tag {
  position: relative; margin-top: auto; align-self: flex-start;
  font-size: 0.72rem; font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em; line-height: 1.5; padding: 6px 12px; border-radius: 12px;
  background: rgba(0,0,0,0.35); border: 1px solid var(--line-2);
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 235px; gap: 18px;
}
.shot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); cursor: pointer;
}
.shot--tall { grid-row: span 2; }
.shot--wide { grid-column: span 2; }
.shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.shot:hover .shot__img { transform: scale(1.07); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  display: flex; flex-direction: column; transform: translateY(8px); opacity: 0; transition: 0.4s;
}
.shot:hover figcaption { transform: translateY(0); opacity: 1; }
.shot figcaption b { font-family: "Sora", sans-serif; font-size: 1.05rem; }
.shot figcaption span { font-size: 0.8rem; color: var(--blue); font-family: "JetBrains Mono", monospace; }

/* ---------- Quote ---------- */
.quote__inner {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  font-family: inherit; font-size: 0.9rem; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2);
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--blue); }
.chip.active {
  background: var(--grad-rb); color: #fff; border-color: transparent;
  box-shadow: 0 8px 22px -10px var(--blue);
}

.estimate {
  margin: 24px 0 30px; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-2);
}
.estimate__row { display: flex; align-items: baseline; justify-content: space-between; }
.estimate__row span { color: var(--muted); font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; }
.estimate__row b { font-family: "Sora", sans-serif; font-size: 2.4rem; background: var(--grad-rb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.estimate__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; margin: 14px 0 10px; }
.estimate__bar i { display: block; height: 100%; width: 12%; border-radius: 999px; background: var(--grad-rb); transition: width 0.5s var(--ease); }
.estimate__note { font-size: 0.78rem; color: var(--muted); }
.quote__perks { list-style: none; display: grid; gap: 10px; }
.quote__perks li { color: var(--text); font-size: 0.94rem; }

.qform {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.03em; }
.field > span b { color: var(--blue); font-family: "JetBrains Mono", monospace; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.35); border: 1px solid var(--line-2); color: var(--text);
  font-family: inherit; font-size: 0.96rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,142,255,0.18);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%239aa3bd' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px;
}
.field--range input[type="range"] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--blue)); cursor: pointer; padding: 0; }
.field--range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 14px -2px var(--blue); cursor: grab;
}
.field--range input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); cursor: grab; }
.ticks { display: flex; justify-content: space-between; }
.ticks i { font-style: normal; font-size: 0.68rem; color: var(--muted); }

.dropzone {
  position: relative; border: 1.5px dashed var(--line-2); border-radius: var(--radius);
  padding: 26px; text-align: center; cursor: pointer; transition: border-color 0.3s, background 0.3s;
  background: rgba(0,0,0,0.2);
}
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: rgba(43,142,255,0.06); }
.dropzone__icon { font-size: 1.6rem; display: block; margin-bottom: 8px; color: var(--blue); }
.dropzone__inner p { font-size: 0.96rem; }
.dropzone__inner small { color: var(--muted); font-size: 0.78rem; }
.dropzone__file { margin-top: 12px; font-family: "JetBrains Mono", monospace; font-size: 0.84rem; color: var(--blue); }
.qform__status { font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.qform__status.ok { color: #34d399; }
.qform__status.err { color: var(--red); }

/* ---------- CTA strip ---------- */
.ctastrip { padding: 0 clamp(18px, 4vw, 48px) 100px; max-width: var(--maxw); margin: 0 auto; }
.ctastrip__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 8vw, 90px) 24px; border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,59,48,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(43,142,255,0.20), transparent 50%),
    var(--panel);
  border: 1px solid var(--line-2);
}
.ctastrip__inner h2 { font-family: "Sora", sans-serif; font-size: clamp(1.7rem, 4vw, 3rem); margin-bottom: 12px; }
.ctastrip__inner p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__top {
  max-width: var(--maxw); margin: 0 auto; padding: 64px clamp(18px, 4vw, 48px) 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer__brand img { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px; box-shadow: 0 0 0 1px var(--line-2); }
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 320px; }
.footer__col h4 { font-family: "Sora", sans-serif; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer__col a { display: block; color: var(--muted); font-size: 0.9rem; padding: 5px 0; transition: color 0.25s; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 22px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: var(--muted);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 140%);
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text);
  padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow); z-index: 9000;
  transition: transform 0.5s var(--ease); font-size: 0.92rem; max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); }
.toast b { color: var(--blue); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline__line { display: none; }
  .quote__inner { grid-template-columns: 1fr; gap: 32px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .shot--tall { grid-row: auto; }
  .shot--wide { grid-column: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* A scrolled nav uses backdrop-filter, which would otherwise become the
     containing block for the fixed menu and collapse it. Use a solid bg on
     mobile so the full-height menu measures against the viewport. */
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6, 7, 12, 0.94); }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: stretch; justify-content: center; gap: 14px;
    background: rgba(8,9,16,0.96); backdrop-filter: blur(18px);
    padding: 40px; transform: translateX(100%); transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav__links.open { transform: none; }
  .nav__links a { font-size: 1.1rem; text-align: center; }
  .nav__toggle { display: flex; z-index: 110; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 130px; }
  .hero__canvas { display: none; } /* keep hero text readable on small screens */
  .qform__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .shot--wide, .shot--tall { grid-column: auto; grid-row: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
