/* CJ Sounds · Ascenix demo · "Signal Chain" direction
   Black studio canvas, one cyan signal, instrumentation labels. */

:root {
  --ink: #07080A;
  --panel: #0F1216;
  --raised: #14181D;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --cyan: #01B4FF;
  --cyan-hi: #4BCBFF;
  --cyan-dim: rgba(1, 180, 255, 0.14);
  --red: #FF2E20;
  --white: #F4F7FA;
  --muted: #8B949E;
  --dim: #5C656F;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bar: 68px;
  --pad: clamp(64px, 9vw, 132px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--ink); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--muted);
  background: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--cyan); color: #04121A; }

.wrap { width: min(1280px, 91vw); margin-inline: auto; }

.skip {
  position: fixed; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: #04121A; padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--white);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.022em;
  text-transform: uppercase;
}

h2 { font-size: clamp(2.15rem, 4.6vw, 3.75rem); }
h3 { font-size: 1.16rem; letter-spacing: -0.008em; }

.kicker {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.kick-no {
  border: 1px solid var(--line-2);
  color: var(--dim);
  padding: 3px 7px 2px;
  letter-spacing: 0.1em;
}

.lede { font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 60ch; color: var(--muted); }

.sechead { margin-bottom: clamp(38px, 5vw, 62px); position: relative; padding-top: 26px; }
.sechead::before {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--cyan); transition: width 1.1s var(--ease) 0.15s;
}
.sechead.in::before { width: 84px; }
.sechead h2 { margin-bottom: 18px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: 0.93rem;
  letter-spacing: 0.01em; text-decoration: none;
  padding: 13px 22px; border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn-cyan { background: var(--cyan); color: #04121A; }
.btn-cyan:hover { background: var(--cyan-hi); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.ic { width: 17px; height: 17px; fill: currentColor; flex: none; }

/* ---------- topbar ---------- */

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--bar);
  background: rgba(7, 8, 10, 0);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.topbar.stuck {
  background: rgba(7, 8, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.topbar-in {
  width: min(1280px, 91vw); margin-inline: auto; height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand {
  font-family: var(--f-display); font-weight: 900; font-size: 1.32rem;
  text-decoration: none; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: 5px;
}
.brand-cj { color: var(--cyan); font-style: italic; }
.brand-name { color: var(--white); letter-spacing: 0.02em; }

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.88rem; font-weight: 500; color: var(--muted); text-decoration: none;
  position: relative; padding: 4px 0; transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--cyan); transition: width .28s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

.topbar-act { display: flex; align-items: center; gap: 16px; }
.topbar-phone {
  font-family: var(--f-mono); font-size: 0.84rem; font-weight: 500;
  color: var(--white); text-decoration: none; transition: color .2s var(--ease);
}
.topbar-phone:hover { color: var(--cyan); }

.navtoggle {
  display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--line-2);
  border-radius: 2px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.navtoggle span { display: block; width: 17px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease), opacity .2s; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mnav {
  display: none; flex-direction: column;
  /* solid, not translucent: a blurred panel over a photographic hero was unreadable */
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 18px;
}
.mnav a {
  font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; text-transform: uppercase;
  color: var(--white); text-decoration: none; padding: 13px 4.5vw; border-bottom: 1px solid var(--line);
}
.mnav .mnav-call {
  font-family: var(--f-mono); font-size: 0.86rem; font-weight: 500; text-transform: none;
  color: var(--cyan); border-bottom: none; padding-top: 15px; padding-bottom: 4px;
}
.mnav.open { display: flex; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--bar) + 26px);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,10,.88) 0%, rgba(7,8,10,.5) 34%, rgba(7,8,10,.82) 72%, var(--ink) 100%),
    linear-gradient(100deg, rgba(7,8,10,.94) 6%, rgba(7,8,10,.42) 52%, rgba(1,40,60,.34) 100%);
}
.hero-in { width: min(1280px, 91vw); margin-inline: auto; padding-bottom: clamp(28px, 3.2vw, 42px); }

.tag {
  font-family: var(--f-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--white);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  border: 1px solid var(--line-2); padding: 6px 13px 5px; background: rgba(7,8,10,.4);
}
.tag-dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 4px rgba(1,180,255,.18); }

.hero-h1 {
  font-size: clamp(3.4rem, 11vw, 8.9rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .accent { color: var(--cyan); font-style: italic; }

.hero-sub { max-width: 54ch; font-size: clamp(1rem, 1.5vw, 1.14rem); color: #C3CBD3; margin-bottom: 26px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0; list-style: none;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.hero-facts li {
  font-family: var(--f-mono); font-size: 0.79rem; letter-spacing: 0.04em;
  color: var(--dim); padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line);
}
.hero-facts li:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-facts strong { color: var(--white); font-weight: 600; }

/* the equalizer, the signature moment */
.eq {
  --spike: 1;
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; gap: 2px;
  height: 74px; padding: 0 4.5vw;
  border-top: 1px solid var(--line);
}
.eq span {
  flex: 1 1 0; min-width: 0;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(1,180,255,.28) 100%);
  height: calc(var(--h, 20%) * var(--spike));
  transition: height .14s linear;
  will-change: height;
}
.eq span:nth-child(7n+3) { background: linear-gradient(180deg, rgba(255,46,32,.8) 0%, rgba(255,46,32,.14) 100%); }

.serviceline {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--red);
  padding: 15px 4.5vw;
  border-top: 1px solid var(--line);
  background: var(--ink);
  position: relative; z-index: 2;
}
.serviceline i { color: var(--dim); font-style: normal; }

/* ---------- brands marquee ---------- */

.brands { border-bottom: 1px solid var(--line); background: var(--ink); overflow: hidden; }
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; align-items: center; gap: 0; width: max-content;
  animation: slide 46s linear infinite;
}
.marquee-track span {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 1.7vw, 1.32rem);
  text-transform: uppercase; letter-spacing: 0.01em; color: #333B44;
  padding: 22px 0; white-space: nowrap;
  transition: color .3s var(--ease);
}
.marquee:hover .marquee-track span { color: #4A545F; }
.marquee-track i { display: block; width: 7px; height: 7px; background: var(--cyan); opacity: .5; margin: 0 34px; transform: rotate(45deg); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.sec { padding: var(--pad) 0; position: relative; }
.services { background: var(--ink); }

/* feature block: its own row, so nothing ever sits beside it half empty */
.feature {
  display: grid; grid-template-columns: 48% 1fr;
  border: 1px solid var(--line); background: var(--panel);
  margin-bottom: 1px; overflow: hidden; position: relative;
}
.feature::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--cyan); transition: width .5s var(--ease);
}
.feature:hover::after { width: 100%; }
.feature-img { overflow: hidden; background: #0B0E11; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; transition: transform .9s var(--ease); }
.feature:hover .feature-img img { transform: scale(1.04); }
.feature-body { padding: clamp(32px, 3.6vw, 54px); display: flex; flex-direction: column; gap: 13px; justify-content: center; }
.feature-body h3 { font-size: clamp(1.55rem, 2.7vw, 2.25rem); }
.feature-body p { max-width: 46ch; font-size: 0.96rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: none;
}

.card {
  background: var(--panel);
  display: flex; flex-direction: column;
  transition: background .35s var(--ease);
  position: relative;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--cyan); transition: width .4s var(--ease);
}
.card:hover { background: var(--raised); }
.card:hover::after { width: 100%; }

.card-img { overflow: hidden; background: #0B0E11; flex: none; aspect-ratio: 3 / 2; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.045); }

.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 11px; flex: 1; }

.card-no {
  font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em;
  color: var(--dim); transition: color .3s var(--ease);
}
.card:hover .card-no, .feature:hover .card-no, .flat:hover .card-no { color: var(--cyan); }
.card p { font-size: 0.94rem; }

/* text-only services, kept in their own strip so they never sit beside a photo card */
.strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-top: none;
}
.flat {
  background: var(--panel); padding: 26px 26px 30px;
  display: flex; flex-direction: column; gap: 11px;
  position: relative; transition: background .35s var(--ease);
}
.flat::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--red); transition: width .4s var(--ease);
}
.flat:hover { background: var(--raised); }
.flat:hover::after { width: 100%; }
.flat p { font-size: 0.94rem; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.chips li {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); padding: 5px 10px 4px;
}

/* ---------- install ---------- */

.install { background: var(--panel); border-block: 1px solid var(--line); }
.install-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(38px, 6vw, 92px); align-items: start; }
.install-media { position: sticky; top: calc(var(--bar) + 34px); }
.install-media img { width: 100%; border: 1px solid var(--line); }
.framecap {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--dim);
  margin-top: 12px; display: flex; gap: 10px;
}
.framecap span { color: var(--cyan); }

.steps { list-style: none; display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.steps li { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-no {
  font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; color: var(--cyan);
  line-height: 1; flex: none; width: 34px; font-style: italic;
}
.steps h3 { margin-bottom: 7px; }
.steps p { font-size: 0.95rem; }

.install-note { margin-top: 30px; border-left: 2px solid var(--red); padding: 4px 0 4px 20px; }
.install-note p { color: var(--white); font-size: 1.02rem; }

/* ---------- work rail ---------- */

.work { background: var(--ink); }
.rail {
  display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory;
  /* bleeds off the right edge, but the first shot lines up with the copy above it */
  padding: 0 0 4px calc((100% - min(1280px, 91vw)) / 2);
  scroll-padding-left: calc((100% - min(1280px, 91vw)) / 2);
  margin-bottom: 26px;
  background: var(--line); border-block: 1px solid var(--line);
  scrollbar-width: thin; scrollbar-color: #262C33 transparent;
}
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: #262C33; }
.shot { flex: 0 0 clamp(288px, 40vw, 560px); scroll-snap-align: start; background: var(--panel); }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot { overflow: hidden; }
.shot figcaption {
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.03em; color: var(--muted);
  padding: 15px 18px 18px; display: flex; gap: 12px;
}
.shot figcaption span { color: var(--cyan); }
.railnote { font-size: 0.92rem; }
.railnote a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid var(--cyan-dim); }
.railnote a:hover { border-bottom-color: var(--cyan); }

/* ---------- financing ---------- */

.financing { background: var(--panel); border-block: 1px solid var(--line); }
.fin-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(38px, 6vw, 88px); align-items: center; }
.fin-copy h2 { margin-bottom: 18px; }
/* same drawn rule the .sechead blocks get, so every section opens the same way */
.fin-copy, .quote-copy { position: relative; padding-top: 26px; }
.fin-copy::before, .quote-copy::before {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--cyan); transition: width 1.1s var(--ease) 0.15s;
}
.fin-copy.in::before, .quote-copy.in::before { width: 84px; }
.fin-copy .lede { margin-bottom: 30px; }
.fin-fine { font-size: 0.84rem; color: var(--dim); margin-top: 16px; }
.fin-points { list-style: none; display: flex; flex-direction: column; }
.fin-points li {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.55rem);
  text-transform: uppercase; color: var(--white); letter-spacing: -0.01em;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.fin-points li:last-child { border-bottom: 1px solid var(--line); }
.fin-points span { font-family: var(--f-mono); font-size: 0.74rem; font-weight: 500; color: var(--cyan); letter-spacing: 0.16em; }

/* ---------- shops ---------- */

.shops { background: var(--ink); }
.shopgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.shop { background: var(--panel); padding: clamp(30px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.shop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.shop h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: 4px; }
.shop h3 span { color: var(--cyan); font-style: italic; }
.shop-status {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  border: 1px solid var(--line-2); padding: 5px 10px 4px;
}
.shop-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.shop-status.open .dot { background: #2ED573; box-shadow: 0 0 0 3px rgba(46,213,115,.16); }
.shop-status.open .txt { color: #2ED573; }
.shop-status.shut .dot { background: var(--red); }

.shop address { font-style: normal; font-size: 1.02rem; color: var(--white); line-height: 1.5; }

.hours { display: flex; flex-direction: column; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.hours > div:last-child { border-bottom: 1px solid var(--line); }
.hours dt { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.hours dd { font-size: 0.92rem; color: var(--white); }

.shop-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.shop-mail { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); text-decoration: none; word-break: break-all; }
.shop-mail:hover { color: var(--cyan); }

/* ---------- quote ---------- */

.quote { background: var(--panel); border-block: 1px solid var(--line); }
.quote-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 6vw, 88px); align-items: start; }
.quote-copy h2 { margin-bottom: 18px; }
.quote-alt { margin-top: 24px; font-size: 0.95rem; }
.quote-alt a { color: var(--cyan); text-decoration: none; white-space: nowrap; }

.form { display: flex; flex-direction: column; gap: 16px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
}
.form input, .form select, .form textarea {
  font-family: var(--f-body); font-size: 0.98rem; color: var(--white);
  background: var(--ink); border: 1px solid var(--line-2); border-radius: 2px;
  padding: 13px 14px; width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); background: #0A0D10; }
.form ::placeholder { color: #46505A; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--muted) 50%), linear-gradient(-45deg, transparent 49%, var(--muted) 50%); background-size: 6px 6px; background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px; background-repeat: no-repeat; }
.formnote { font-size: 0.8rem; color: var(--dim); }
.form.sent { opacity: .55; pointer-events: none; }

/* ---------- closer ---------- */

.closer { background: var(--ink); padding-top: var(--pad); }
.closer-in { text-align: center; padding-bottom: clamp(48px, 6vw, 84px); }
.closer h2 { font-size: clamp(2.4rem, 7.6vw, 6rem); margin-bottom: 14px; letter-spacing: -0.04em; }
.closer-in > p { font-size: 1.05rem; margin-bottom: 44px; }
.closer-nums { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.closer-nums a {
  flex: 1 1 260px; background: var(--panel); text-decoration: none;
  padding: 26px 30px; display: flex; flex-direction: column; gap: 8px;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.9rem); color: var(--white);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.closer-nums a span { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); }
.closer-nums a:hover { background: var(--cyan); color: #04121A; }
.closer-nums a:hover span { color: #04121A; }
.serviceline-b { border-bottom: 1px solid var(--line); }

/* ---------- footer ---------- */

.footer { background: var(--ink); padding-top: clamp(52px, 6vw, 78px); }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: clamp(44px, 5vw, 66px); }
.foot-brand p { font-size: 0.92rem; margin: 16px 0 18px; max-width: 34ch; }
.foot-ig { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); text-decoration: none; }
.foot-ig:hover { color: var(--cyan); }
.foot-col h4 { font-size: 0.76rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.18em; color: var(--cyan); margin-bottom: 16px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot-col li, .foot-col p { font-size: 0.89rem; }
.foot-col p { margin-bottom: 12px; line-height: 1.55; }
.foot-col a { display: block; font-size: 0.89rem; text-decoration: none; color: var(--muted); margin-bottom: 5px; word-break: break-word; }
.foot-col a:hover { color: var(--cyan); }
.foot-legal { border-top: 1px solid var(--line); }
.foot-legal-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; }
.foot-legal p { font-family: var(--f-mono); font-size: 0.74rem; color: var(--dim); }
.foot-legal a { color: var(--muted); text-decoration: none; }
.foot-legal a:hover { color: var(--cyan); }

/* ---------- motion ---------- */

/* hidden only once the script is confirmed running, so a blocked or failed
   script never leaves the page blank */
.js [data-rise] { opacity: 0; transform: translateY(26px); }
.hero.lit [data-rise] { animation: rise .95s var(--ease) forwards; }
.hero.lit [data-rise="1"] { animation-delay: .05s; }
.hero.lit [data-rise="2"] { animation-delay: .14s; }
.hero.lit [data-rise="3"] { animation-delay: .22s; }
.hero.lit [data-rise="4"] { animation-delay: .30s; }
.hero.lit [data-rise="5"] { animation-delay: .42s; }
.hero.lit [data-rise="6"] { animation-delay: .52s; }
.hero.lit [data-rise="7"] { animation-delay: .62s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.grid .reveal:nth-child(2), .strip .reveal:nth-child(2), .shopgrid .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3), .strip .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3) { transition-delay: .2s; }
.rail .reveal:nth-child(2) { transition-delay: .08s; }
.rail .reveal:nth-child(3) { transition-delay: .16s; }
.rail .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .install-grid { grid-template-columns: 1fr; }
  .install-media { position: static; max-width: 520px; }
  .fin-in, .quote-in { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .strip { grid-template-columns: 1fr; }
  .nav, .topbar-phone { display: none; }
  .navtoggle { display: flex; }
  .topbar { background: rgba(7,8,10,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .hero-h1 { line-height: 0.86; }
  .shopgrid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature-img { aspect-ratio: 3 / 2; }
  .feature-img img { min-height: 0; }
  .hero { min-height: auto; padding-top: calc(var(--bar) + 76px); }
  .hero-in { padding-bottom: 44px; }
  .hero-facts li { padding-right: 18px; margin-right: 18px; font-size: 0.74rem; }
  .eq { height: 48px; gap: 1.5px; }
  .serviceline { letter-spacing: 0.13em; font-size: 0.6rem; gap: 6px; padding-inline: 3vw; }
  .f2 { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .closer-nums a { flex-basis: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .marquee-track span { font-size: 1rem; }
}

@media (max-width: 400px) {
  .hero-facts { flex-direction: column; gap: 6px; }
  .hero-facts li { border-right: none; padding-right: 0; margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-rise], .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .eq span { transition: none; }
}
