/* Laser Planets — one-page site
   Brand: black + Laser Planets green (#97F049)
   --void   #040504  page background
   --orbit  #0e110d  raised surfaces
   --line   #242b21  rules and borders
   --star   #f2f5ee  text
   --dust   #9aa394  secondary text
   --lime   #97f049  brand green: the laser, actions
   --glow   #d8ffad  hot core of the beam
*/
@font-face { font-family: "Mont"; src: url("../fonts/mont-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mont"; src: url("../fonts/mont-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --void: #040504;
  --orbit: #0e110d;
  --orbit-2: #151a13;
  --line: #242b21;
  --line-2: #344030;
  --star: #f2f5ee;
  --dust: #9aa394;
  --lime: #97f049;
  --lime-ink: #0b1405;
  --glow: #d8ffad;
  --bad: #ff8f7a;

  --font: "Mont", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.7rem);
  --step-4: clamp(2.4rem, 1.5rem + 3.9vw, 4.5rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--star);
  font: 400 var(--step-0)/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(242,245,238,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 9%, rgba(242,245,238,.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 62%, rgba(151,240,73,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 44%, rgba(242,245,238,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 84%, rgba(242,245,238,.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 30%, rgba(242,245,238,.3) 50%, transparent 51%);
  background-size: 440px 440px;
  background-attachment: fixed;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--lime); color: var(--lime-ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 42px; height: auto; transition: transform .6s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-14deg); }
.brand-word { display: grid; line-height: 1; text-transform: uppercase; }
.brand-word b { font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; }
.brand-word span { font-size: .62rem; letter-spacing: .52em; color: var(--dust); margin-top: .28rem; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--lime);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .85rem 1.6rem .75rem;
  border-radius: 999px; border: 1.5px solid var(--b);
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .3s var(--ease-out), transform .2s var(--ease-out);
}
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { box-shadow: 0 0 0 4px rgba(151,240,73,.16), 0 0 30px rgba(151,240,73,.45); }
.btn-ghost { background: transparent; color: var(--star); --b: var(--line-2); }
.btn-ghost:hover { --b: var(--lime); color: var(--glow); }
.btn:active { transform: translateY(1px) scale(.99); }

.text-link {
  color: var(--lime); font-weight: 700; text-decoration: none;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ease-out);
}
.text-link:hover { background-size: 100% 1.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(4,5,4,.84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.nav { display: flex; align-items: center; gap: 1.85rem; }
.nav a { text-decoration: none; color: var(--dust); position: relative; transition: color .2s; padding-top: 2px; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--lime); box-shadow: 0 0 8px var(--lime);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--star); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav .nav-cta { color: var(--star); font-weight: 700; border: 1.5px solid var(--lime); padding: .6rem 1.15rem .5rem; border-radius: 999px; transition: background-color .25s, color .25s; }
.nav .nav-cta:hover { background: var(--lime); color: var(--lime-ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle .bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--star); transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.nav-toggle .bar:nth-of-type(2) { top: 17px; }
.nav-toggle .bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.hero h1 { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.035em; max-width: 13ch; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--dust); margin-top: 1.5rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease-out) forwards; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 540px; justify-self: end; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-stage::before { /* soft green glow that comes up once the logo is cut */
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(151,240,73,.18), transparent 65%);
  opacity: 0; transition: opacity 1.4s var(--ease-out);
}
/* Without JavaScript (or once the animation ends) the finished logo shows.
   The .anim class is only present while the machine sequence is playing. */
.hero-stage:has(.mark:not(.anim))::before { opacity: 1; }
.hero-stage .mark, .hero-stage .sparks { position: absolute; inset: 0; width: 100%; height: 100%; }
.mark { overflow: visible; }

/* machine */
.mark .machine { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
.mark.anim.build .machine { opacity: 1; }
.mark.anim.dissolve .machine { opacity: 0; transform: scale(1.06); }
.m-frame { fill: #0a0d09; stroke: #3a4535; stroke-width: .35; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.mark.anim.build .m-frame { animation: mdraw .8s var(--ease-out) forwards; }
.m-bed { opacity: 0; }
.mark.anim.build .m-bed { animation: mfade .7s .25s ease-out forwards; }
.m-rail { stroke: #3a4535; stroke-width: .55; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.mark.anim.build .m-rail { animation: mdraw .6s .35s var(--ease-out) forwards; }
.m-led { fill: #263022; transition: fill .2s; }
.mark.powered .m-led { fill: var(--lime); filter: url(#glow); }
.mark.lasing .m-led { animation: blink .5s steps(2) infinite; }
@keyframes mdraw { to { stroke-dashoffset: 0; } }
@keyframes mfade { to { opacity: 1; } }

/* gantry + head (hidden unless the sequence is playing) */
.mark .gantry, .mark .carriage { opacity: 0; transition: opacity .5s; }
.mark.anim.dissolve .gantry { opacity: 0 !important; }
.g-bar { fill: #141a12; stroke: #3d4a37; stroke-width: .2; }
.g-end { fill: #232b20; stroke: #3d4a37; stroke-width: .2; }
.c-body { fill: #1c2319; stroke: #59684f; stroke-width: .25; transform-box: fill-box; transform-origin: center; }
.c-lens { fill: #050605; stroke: var(--star); stroke-width: .28; }
.c-spot { fill: #fff; opacity: 0; transition: opacity .12s; }
.mark.lasing .c-spot { opacity: 1; }

/* the part */
.mark .swoosh-cut { fill: none; stroke: var(--lime); stroke-width: .32; stroke-linejoin: round; stroke-linecap: round; opacity: 0; filter: url(#glow); transition: opacity .6s; }
.mark.anim.cutting:not(.filled) .swoosh-cut { opacity: 1; }
.mark .swoosh-fill { fill: var(--lime); opacity: 1; transition: opacity .9s var(--ease-out); }
.mark.anim:not(.filled) .swoosh-fill { opacity: 0; }
.mark:not(.anim) .swoosh-fill { filter: drop-shadow(0 0 2px rgba(151,240,73,.5)); }

/* the logo's own beam and spark */
.mark .beam-wrap { transform-box: fill-box; transform-origin: 100% 0; transition: transform .38s cubic-bezier(.3, 0, .2, 1); }
.mark.anim:not(.fire) .beam-wrap { transform: scale(0); }
.mark .beam-static { fill: var(--lime); filter: url(#glow); }
.mark:not(.anim) .beam-static { animation: flicker 3.2s ease-in-out .8s infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 46% { opacity: .82; } 50% { opacity: 1; } 53% { opacity: .7; } 56% { opacity: 1; } }
.mark .spark-burst { fill: var(--lime); transform-box: fill-box; transform-origin: 40% 55%; filter: url(#softglow); transition: opacity .3s, transform .7s cubic-bezier(.2, 1.5, .4, 1); }
.mark.anim .spark-burst { opacity: 0; transform: scale(.3); filter: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 720px; }
.section-head p { color: var(--dust); }

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(240px, .78fr) minmax(0, 1.62fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem .25rem .9rem; font: 400 1.075rem/1.3 var(--font); color: var(--dust);
  transition: color .2s, padding-left .3s var(--ease-out);
}
.svc-list button::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line-2); transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.svc-list button:hover { color: var(--star); padding-left: .6rem; }
.svc-list button[aria-selected="true"] { color: var(--star); font-weight: 700; padding-left: .6rem; }
.svc-list button[aria-selected="true"]::after { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 10px var(--lime); }
.svc-list button:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; border-radius: 6px; }

.svc-stage { background: var(--orbit); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.svc-stage { position: relative; }
.svc-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--lime); opacity: 0; pointer-events: none; }
.svc-stage.ping::after { animation: ping 1s ease-out; }
@keyframes ping { 0% { opacity: 1; } 100% { opacity: 0; } }
.svc-photo {
  all: unset; box-sizing: border-box; display: block; position: relative; width: 100%;
  aspect-ratio: 16 / 10; overflow: hidden; cursor: zoom-in; background: #000;
}
.svc-photo img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.svc-photo .backdrop { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(30px) brightness(.42) saturate(1.15); transition: background-image .4s; }
.svc-photo:hover img { transform: scale(1.03); }
.svc-photo:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; }
.svc-photo .zoom-hint {
  position: absolute; right: .9rem; bottom: .9rem; padding: .45rem .8rem .35rem; border-radius: 999px;
  background: rgba(4,5,4,.72); backdrop-filter: blur(6px); font-size: .85rem; color: var(--star);
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease-out);
}
.svc-photo:hover .zoom-hint, .svc-photo:focus-visible .zoom-hint { opacity: 1; transform: none; }

/* reveal: a dark cover with a glowing scan line slides off the photo (transform only, so it stays smooth) */
.svc-photo .scan {
  position: absolute; inset: -2px 0 0; z-index: 1; pointer-events: none;
  background: var(--orbit); transform: translate3d(0, 102%, 0); will-change: transform;
}
.svc-photo .scan::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--glow) 20%, #fff 50%, var(--glow) 80%, transparent);
  box-shadow: 0 0 14px 3px rgba(151,240,73,.7);
}
.svc-photo.is-revealing .scan { animation: scan .7s cubic-bezier(.45, 0, .25, 1) both; }
@keyframes scan { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 102%, 0); } }

.svc-thumbs { list-style: none; margin: 0; padding: .75rem; display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--line); }
.svc-thumbs:empty { display: none; }
.svc-thumbs button {
  all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 92px; aspect-ratio: 4 / 3;
  border-radius: 10px; overflow: hidden; border: 1.5px solid transparent; opacity: .55;
  transition: opacity .2s, border-color .2s, transform .2s var(--ease-out);
}
.svc-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.svc-thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.svc-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--lime); }
.svc-thumbs button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.svc-info { padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .9rem; }
.svc-info h3 { font-size: var(--step-2); }
.svc-info p { color: var(--dust); }
.svc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .25rem 0 .4rem; }
.svc-meta dt { font-size: var(--step--1); color: var(--dust); }
.svc-meta dd { margin: .2rem 0 0; font-weight: 700; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.svc-next {
  font: 400 .95rem/1 var(--font); color: var(--dust); background: none; border: 1px solid var(--line-2); border-radius: 999px;
  padding: .6rem 2.2rem .5rem 1rem; cursor: pointer; position: relative; transition: color .2s, border-color .2s;
}
.svc-next span { color: var(--star); font-weight: 700; }
.svc-next::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 7px; height: 7px; border: solid var(--lime); border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); transition: right .25s var(--ease-out); }
.svc-next:hover { color: var(--star); border-color: var(--lime); }
.svc-next:hover::after { right: .8rem; }
.svc-info.swap { animation: swap .45s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(2,3,2,.94); color: var(--star);
}
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease-out; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; gap: .9rem; justify-items: center; padding: 4.5rem 4.5rem 2rem; max-width: 100%; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100dvh - 9rem); object-fit: contain; border-radius: 12px; }
.lightbox img.swap { animation: lbswap .35s var(--ease-out); }
@keyframes lbswap { from { opacity: 0; transform: scale(.985); } }
.lightbox figcaption { display: flex; gap: 1.25rem; color: var(--dust); font-size: .95rem; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(14,17,13,.8); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background-color .2s; }
.lb-btn:hover { border-color: var(--lime); background: var(--orbit-2); }
.lb-btn span { width: 12px; height: 12px; border: solid var(--star); border-width: 0 2px 2px 0; }
.lb-close { top: 1rem; right: 1rem; }
.lb-close span { width: 16px; height: 16px; border: 0; background: linear-gradient(45deg, transparent 45%, var(--star) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--star) 45% 55%, transparent 55%); }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-prev span { transform: rotate(135deg); margin-left: 4px; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lb-next span { transform: rotate(-45deg); margin-right: 4px; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, transparent, rgba(14,17,13,.75) 25%, rgba(14,17,13,.75) 75%, transparent); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem); align-items: center; }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p { color: var(--dust); }
.about-copy .text-link { white-space: nowrap; }
.founder { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.founder img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--lime); object-fit: cover; }
.founder p { margin: 0; display: grid; color: var(--star); line-height: 1.35; }
.founder span { color: var(--dust); font-size: .95rem; }

.bed { margin: 0; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #000; aspect-ratio: 16 / 9; }
.bed video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); filter: saturate(.85) contrast(1.05); }
.bed::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(151,240,73,.08), inset 0 -80px 60px -40px rgba(0,0,0,.7); }
.bed figcaption { position: absolute; left: 1rem; bottom: .85rem; z-index: 1; font-size: .9rem; color: var(--star); display: flex; align-items: center; gap: .5rem; }
.bed figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.bed-toggle { position: absolute; right: .75rem; bottom: .65rem; z-index: 1; font: 400 .85rem/1 var(--font); color: var(--star); background: rgba(4,5,4,.7); border: 1px solid var(--line-2); border-radius: 999px; padding: .5rem .8rem .4rem; cursor: pointer; }
.bed-toggle:hover { border-color: var(--lime); }

.ruler { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-top: 2.25rem; }
.ruler-ticks {
  position: absolute; left: 0; right: 0; top: 0; height: 18px; border-top: 1.5px solid var(--lime);
  background:
    repeating-linear-gradient(90deg, var(--dust) 0 1px, transparent 1px 12px) top / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, var(--star) 0 1.5px, transparent 1.5px 60px) top / 100% 15px no-repeat;
  opacity: .55;
}
.mark { display: grid; grid-template-columns: auto 1fr; column-gap: .15rem; align-items: baseline; }
.mark .num { font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.6vw, 3.9rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mark .plus { font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--lime); }
.mark .cap { grid-column: 1 / -1; color: var(--dust); margin-top: .45rem; }

.values { grid-column: 1 / -1; list-style: none; margin: 0; padding: 2rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.values h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.values p { color: var(--dust); font-size: .98rem; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; border-top: 1.5px dashed var(--line-2); }
.steps li { position: relative; }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--void); border: 1.5px solid var(--lime); color: var(--lime); font-weight: 700; padding-top: 3px; margin-bottom: 1.25rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.steps p { color: var(--dust); font-size: .98rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review { margin: 0; padding: 1.6rem 1.6rem 1.4rem; border-radius: 18px; background: var(--orbit); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.1rem; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; flex: 1; }
.review blockquote p::before { content: "\201C"; } .review blockquote p::after { content: "\201D"; }
.review { transition: border-color .3s, transform .3s var(--ease-out); }
.review:hover { border-color: var(--line-2); transform: translateY(-3px); }
.stars { display: flex; gap: 3px; }
.star { width: 18px; height: 18px; stroke: var(--lime); stroke-width: 1.2; }
.star.full { fill: var(--lime); }
.star.half { fill: url(#half); }
.star.empty { fill: transparent; stroke: var(--line-2); }
.review figcaption { display: grid; gap: .15rem; }
.review figcaption span { color: var(--dust); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem .25rem 1.1rem; font-weight: 700; font-size: 1.08rem; transition: color .2s; }
.faq-list summary:hover { color: var(--glow); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: linear-gradient(var(--lime), var(--lime)) center / 100% 1.5px no-repeat, linear-gradient(var(--lime), var(--lime)) center / 1.5px 100% no-repeat;
  transition: transform .35s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-a { padding: 0 .25rem 1.3rem; color: var(--dust); }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); }

.form { display: grid; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.field { display: grid; gap: .45rem; position: relative; }
.field label { font-weight: 700; font-size: .98rem; }
.field .opt { font-weight: 400; color: var(--dust); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--star);
  background: var(--orbit); border: 1px solid var(--line-2); border-radius: 12px;
  padding: .85rem 1rem .75rem; min-height: 52px;
  transition: border-color .2s, box-shadow .25s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #6c7567; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #4a5944; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--lime); background: var(--orbit-2);
  box-shadow: 0 0 0 3px rgba(151,240,73,.16), 0 8px 24px -12px rgba(151,240,73,.55);
}
.field.has-error input, .field.has-error textarea { border-color: var(--bad); }
.err { margin: 0; font-size: .9rem; color: var(--bad); }
.err:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; border: solid var(--lime); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select option { background: var(--orbit); }
.trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn-send { justify-self: start; min-width: 200px; overflow: hidden; }
.btn-send .beam-line { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, transparent, #fff); box-shadow: 0 0 10px #fff; }
.btn-send.is-sending { pointer-events: none; }
.btn-send.is-sending .beam-line { animation: sending 1.1s ease-in-out infinite; }
@keyframes sending { 0% { width: 0; left: 0; } 50% { width: 100%; left: 0; } 100% { width: 0; left: 100%; } }

.form-banner { border-radius: 14px; padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; border: 1px solid; }
.form-banner.ok { border-color: rgba(151,240,73,.5); background: rgba(151,240,73,.07); }
.form-banner.bad { border-color: rgba(255,143,122,.5); background: rgba(255,143,122,.07); }
.form-banner strong { display: block; margin-bottom: .3rem; }
.form-banner:not([hidden]) { animation: swap .45s var(--ease-out); }

/* ---------- Contact: one lit panel, quick actions left, form right ---------- */
.contact { border-top: 1px solid var(--line); }
.contact-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3.25rem); border-radius: 28px;
  background: var(--orbit); border: 1px solid var(--line-2);
}
.contact-panel::before { /* laser-bed grid, fading out from the top-left */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(151,240,73,.07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(151,240,73,.07) 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, transparent 65%);
}
.contact-panel::after {
  content: ""; position: absolute; z-index: -1; left: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(151,240,73,.16), transparent 70%); pointer-events: none;
}
.contact-lead { display: flex; flex-direction: column; }
.contact-intro { color: var(--dust); margin: 1rem 0 1.75rem; }

.quick { display: grid; gap: .75rem; }
.quick-btn {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  padding: 1rem 1.15rem; border-radius: 16px; background: rgba(4,5,4,.55); border: 1px solid var(--line-2);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-out), box-shadow .3s;
}
.quick-btn:hover { border-color: var(--lime); background: rgba(151,240,73,.06); transform: translateX(4px); box-shadow: -4px 0 0 0 var(--lime); }
.quick-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orbit-2); border: 1px solid var(--line-2); transition: background-color .25s, border-color .25s; }
.quick-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.quick-ico svg .fill { fill: var(--lime); stroke: none; }
.quick-ico .wa-logo { fill: var(--lime); stroke: none; }
.quick-btn:hover .quick-ico .wa-logo { fill: var(--lime-ink); }
.quick-btn:hover .quick-ico { background: var(--lime); border-color: var(--lime); }
.quick-btn:hover .quick-ico svg { stroke: var(--lime-ink); }
.quick-btn:hover .quick-ico svg .fill { fill: var(--lime-ink); }
.quick-txt { display: grid; line-height: 1.3; min-width: 0; }
.quick-txt b { font-size: 1.1rem; }
.quick-txt span { color: var(--dust); font-size: .95rem; overflow-wrap: anywhere; }
.quick-btn.is-wa { border-color: rgba(151,240,73,.45); }
.alt-line { margin-top: 1.1rem; color: var(--dust); font-size: .95rem; }
.alt-line a { color: var(--star); font-weight: 700; text-decoration: none; white-space: nowrap; }
.alt-line a:hover { color: var(--lime); }

.form-card { background: var(--void); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); border-top: 2px solid var(--lime); }
.form-title { font-size: 1.25rem; margin-bottom: 1.25rem; }
.form-card .field input, .form-card .field textarea, .form-card .field select { background: var(--orbit); }

/* ---------- Locations ---------- */
.locations { padding-top: 0; }
.loc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.loc {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  padding: 1.5rem 1.4rem 1.35rem; border-radius: 18px; background: var(--orbit); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease-out);
}
.loc:hover { border-color: var(--line-2); transform: translateY(-3px); }
.loc h3 { font-size: 1.08rem; line-height: 1.3; }
.loc address { font-style: normal; color: var(--dust); font-size: .95rem; line-height: 1.6; flex: 1; }
.loc .text-link { align-self: flex-start; }
.loc-pin { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: border-color .3s, box-shadow .3s; }
.loc-pin svg { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 1.7; }
.loc:hover .loc-pin { border-color: var(--lime); box-shadow: 0 0 14px rgba(151,240,73,.35); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 60;
  display: flex; align-items: center; height: 58px; padding: 0 5px; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.6), 0 0 0 1px rgba(0,0,0,.2);
  transition: box-shadow .3s, transform .25s var(--ease-out);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(37,211,102,.8), 0 0 0 4px rgba(37,211,102,.22); }
.wa-ico { width: 48px; height: 48px; display: grid; place-items: center; flex: none; }
.wa-ico .wa-logo { width: 28px; height: 28px; fill: #fff; }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s var(--ease-out), opacity .25s, padding .4s var(--ease-out); padding-top: 2px; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label, .wa-float.is-peek .wa-label, .wa-float.is-expanded .wa-label { max-width: 180px; opacity: 1; padding-right: 1.1rem; }
.wa-float::before { /* one-time attention ring */
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; opacity: 0; pointer-events: none;
}
.wa-float.is-peek::before { animation: ring 1.6s ease-out 2; }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.wa-float { opacity: 0; translate: 0 16px; animation: wa-in .5s var(--ease-out) 1.2s forwards; }
@keyframes wa-in { to { opacity: 1; translate: 0 0; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 6.5rem; }
.site-footer .brand-mark { width: 36px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { color: var(--dust); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--star); }
.copy { color: var(--dust); margin: 0; font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { justify-self: center; max-width: 400px; order: -1; margin-bottom: -1rem; }
  .svc { grid-template-columns: 1fr; }
  .svc-list { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
  .svc-list li { border: 0; flex: none; }
  .svc-list { gap: .4rem; }
  .svc-list button { padding: .5rem .8rem .42rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .86rem; white-space: nowrap; }
  .svc-list button::after { display: none; }
  .svc-list button:hover, .svc-list button[aria-selected="true"] { padding-left: 1rem; }
  .svc-list button[aria-selected="true"] { border-color: var(--lime); background: rgba(151,240,73,.1); }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
  .contact-panel { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 360px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; scrollbar-width: thin; }
  .review { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--void); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s var(--ease-out), visibility 0s .4s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .4s var(--ease-out); }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--star); }
  .nav a::after { display: none; }
  .nav .nav-cta { margin-top: 1rem; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
  .ruler { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
  .values { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .svc-meta { grid-template-columns: 1fr; }
  .svc-photo { aspect-ratio: 4 / 3; }
  .svc-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; gap: .45rem; padding: .6rem; }
  .svc-thumbs button { width: 100%; border-radius: 8px; }
  .btn-send { justify-self: stretch; }
  .hero-actions .btn { flex: 1 1 100%; }
  .loc-grid { grid-template-columns: 1fr; }
  .contact-panel { border-radius: 22px; padding: 1.5rem 1rem 1rem; }
  .quick-btn { padding: .85rem .9rem; gap: .85rem; }
  .quick-ico { width: 44px; height: 44px; }
  .quick-txt span { font-size: .88rem; }
  .form-card { padding: 1.25rem 1rem; }
  .wa-float { height: 54px; }
  .hero-stage { max-width: min(76vw, 320px); margin-bottom: -.5rem; }
  .lightbox figure { padding: 4.5rem 1rem 5.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-copy > * { opacity: 1; transform: none; }
}

/* ---------- Legal pages ---------- */
.legal-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.legal-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(151,240,73,.06) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(151,240,73,.06) 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: radial-gradient(ellipse at 85% 0%, #000, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 85% 0%, #000, transparent 60%);
}
.legal-hero h1 { font-size: var(--step-4); letter-spacing: -0.035em; margin: .75rem 0 1rem; }
.legal-intro { color: var(--dust); font-size: var(--step-1); line-height: 1.5; max-width: 52ch; }
.legal-date { color: var(--lime); font-size: .95rem; margin-top: 1.25rem; }
.crumbs { display: flex; gap: .6rem; color: var(--dust); font-size: .95rem; }
.crumbs a { color: var(--dust); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }

.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.toc-title { font-weight: 700; margin-bottom: .75rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: .38rem 0 .3rem 1rem; margin-left: -1px; border-left: 1.5px solid transparent; color: var(--dust); text-decoration: none; font-size: .95rem; line-height: 1.35; transition: color .2s, border-color .2s; }
.legal-toc a:hover { color: var(--star); }
.legal-toc a[aria-current="true"] { color: var(--star); border-left-color: var(--lime); }

.legal-body { max-width: 70ch; }
.legal-body section { padding-bottom: 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal-body h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.legal-body p, .legal-body li { color: #c5ccbf; }
.legal-body ul { margin: 0 0 1em; padding-left: 1.2rem; display: grid; gap: .55rem; }
.legal-body li::marker { color: var(--lime); }
.legal-body strong { color: var(--star); }
.legal-body a { color: var(--lime); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-end p { color: var(--dust); }
.legal-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.legal-links .btn { color: var(--star); }

@media (max-width: 980px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--orbit); }
}
