/* LED Station - "sign workshop after dark", in the logo's colours.
   Red / yellow / blue come from the striped LED mark on the business card,
   pushed brighter so they read as lit tubes on a blue-black ground.
   Flat colour, 1px rules, no gradients or drop shadows. The only glow is on
   the hero headline and the big numerals, because the client's product is light. */

:root {
  --bg: #0e0f18;
  --bg-2: #151727;
  --ink: #f1efe9;
  --muted: #a4a6ba;
  --rule: #2a2d47;
  --red: #ff3d45;
  --yellow: #ffd83a;
  --blue: #7482ff;
  --paper: #ede5d6;
  --paper-ink: #1d1a15;
  --paper-muted: #5e564b;
  --display: "Tilt Neon", "Public Sans", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --wrap: 1180px;
  --glow-red: 0 0 1px #fff9, 0 0 8px rgba(255, 61, 69, .8), 0 0 24px rgba(255, 61, 69, .45);
  --glow-yellow: 0 0 1px #fff9, 0 0 8px rgba(255, 216, 58, .7), 0 0 22px rgba(255, 216, 58, .35);
  --glow-blue: 0 0 1px #fff9, 0 0 8px rgba(116, 130, 255, .85), 0 0 22px rgba(116, 130, 255, .45);
  color-scheme: dark;
}
html:lang(zh-Hans) { --body: "Noto Sans SC", "Public Sans", sans-serif; --display: "Tilt Neon", "Noto Sans SC", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }
figcaption { font-size: .86rem; color: var(--muted); padding-top: .55em; line-height: 1.45; }
address { font-style: normal; }
mark.todo { background: #ffe58a; color: #3a2a00; padding: 0 4px; font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.label {
  font: 600 .82rem/1.2 var(--cond); letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); margin: 0 0 .9em;
}
html:lang(zh-Hans) .label { letter-spacing: .08em; }
.lede { font-size: 1.12rem; color: #d6cfc3; max-width: 40em; }
.num { font: 400 1rem/1 var(--display); color: var(--yellow); }

/* buttons & links */
.btn {
  display: inline-block; font: 600 1rem/1 var(--cond); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--red); border: 1px solid var(--red);
  padding: 15px 24px; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: transparent; color: var(--red); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 2px; font-weight: 600; }
.link:hover { color: var(--yellow); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.top::after, .foot::before {
  content: ""; display: block; height: 6px;
  background: var(--yellow); border-top: 2px solid var(--red); border-bottom: 2px solid var(--blue);
}
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.mark { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; }
.mark { align-items: center; }
.mark-img { height: 34px; width: auto; }
.mark-name { font: 600 1.05rem/1 var(--cond); letter-spacing: .22em; text-transform: uppercase; }
.mark-name small { display: block; margin-top: 4px; font-size: .64rem; letter-spacing: .16em; color: var(--muted); }
.foot-base .reg { white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: .96rem; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav ul a:hover { color: var(--yellow); }
.nav ul a[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow); }
.lang { display: flex; border: 1px solid var(--rule); }
.lang a { font: 600 .8rem/1 var(--cond); letter-spacing: .08em; padding: 7px 9px; text-decoration: none; color: var(--muted); }
.lang a + a { border-left: 1px solid var(--rule); }
.lang a.on { color: var(--ink); background: var(--bg-2); }
.lang a:hover { color: var(--ink); }
.menu-btn { display: none; }

/* sections */
.band { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--rule); }
.band-alt { background: var(--bg-2); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-note { color: var(--muted); margin: 0; font-size: .92rem; }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }

/* hero */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-h { font-size: clamp(2.6rem, 6.6vw, 5rem); }
.glow { color: #ffe9e9; text-shadow: var(--glow-red); }
.actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.hero-media { max-width: 340px; justify-self: end; width: 100%; }
.hero-media video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid var(--rule); background: #000; }

/* numbered index (home) */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.index a {
  display: grid; grid-template-columns: 56px 1fr 1.2fr 24px; align-items: baseline; gap: 16px;
  padding: 20px 4px; border-bottom: 1px solid var(--rule); text-decoration: none;
  transition: color .15s;
}
.index a::after { content: "→"; color: var(--muted); transition: color .15s, transform .15s; }
.index a:hover .index-name { color: var(--yellow); }
.index a:hover::after { color: var(--yellow); transform: translateX(4px); }
.index-name { font: 400 1.45rem/1.2 var(--display); transition: color .15s; }
.index-use { color: var(--muted); }

/* split + photo strip */
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* steps with a connecting rule */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; border-top: 1px solid var(--rule); }
.steps li { position: relative; }
.step-n {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  font: 400 1.6rem/1 var(--display); color: var(--red); text-shadow: var(--glow-red);
  background: var(--bg); border: 1px solid var(--red); border-radius: 50%;
}
/* numerals cycle through the logo's three colours */
.steps li:nth-child(3n+2) .step-n { color: var(--yellow); border-color: var(--yellow); text-shadow: var(--glow-yellow); }
.steps li:nth-child(3n) .step-n { color: var(--blue); border-color: var(--blue); text-shadow: var(--glow-blue); }
.steps p { color: var(--muted); }

/* call-to-action box */
.callout { border: 1px solid var(--red); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 8px 40px; align-items: center; }
.callout h2 { margin: 0; }
.callout p { margin: 0; color: var(--muted); grid-column: 1; }
.callout .btn { grid-column: 2; grid-row: 1 / span 2; }

/* about: paper note */
.paper { background: var(--paper); color: var(--paper-ink); padding: clamp(48px, 7vw, 88px) 0; }
.paper .label { color: #c4161d; }
.note-body { border-left-color: #c4161d !important; }
.note { max-width: 780px; }
.note-body { font-size: 1.22rem; line-height: 1.65; border-left: 1px solid var(--paper-ink); padding-left: clamp(18px, 3vw, 32px); }
.note-body p:last-child { margin: 0; }

/* about: machine list */
.machines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.machines li { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.machines img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.machines .num { display: block; margin-bottom: 8px; }
.machines p { color: var(--muted); margin: 0; max-width: 38em; }

.facts { margin: 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 600 .9rem/1.6 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }

/* services */
.jump { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: block; padding: 8px 12px; border: 1px solid var(--rule); text-decoration: none; font-size: .92rem; }
.jump a:hover { border-color: var(--yellow); color: var(--yellow); }
.svc { padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--rule); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.svc-flip figure { order: 2; }
.svc figure img { width: 100%; max-height: 560px; object-fit: cover; }
.svc .num { display: block; font-size: 3rem; margin-bottom: 10px; color: var(--red); text-shadow: var(--glow-red); }
.svc:nth-of-type(3n) .num { color: var(--yellow); text-shadow: var(--glow-yellow); }
.svc:nth-of-type(3n+1) .num { color: var(--blue); text-shadow: var(--glow-blue); }
.svc h2 { margin-bottom: .4em; }
.used { color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 22px; }
.used .label { display: inline; margin-right: 8px; }
.install { max-width: 760px; }
.install .num { display: block; font-size: 3rem; margin-bottom: 10px; color: var(--yellow); text-shadow: var(--glow-yellow); }

/* projects */
.onoff { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.onoff img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.onoff .label { display: inline; color: var(--muted); margin-right: 6px; }
.onoff .label-on { color: var(--yellow); text-shadow: var(--glow-yellow); }
.wall { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 20px; }
.wall li { break-inside: avoid; margin-bottom: 26px; }
.wall img { width: 100%; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote { border: 1px solid var(--rule); padding: clamp(22px, 4vw, 40px); background: var(--bg-2); scroll-margin-top: 90px; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 .86rem/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; color: #d6cfc3; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--rule); border-radius: 0; padding: 12px 13px;
}
.field select { appearance: none; background-image: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--red); }
.form-files { margin: 4px 0 18px; padding: 12px 14px; border: 1px solid var(--yellow); color: var(--ink); font-size: .92rem; line-height: 1.5; }
.form-err { color: var(--red); font-weight: 600; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.details .label { margin-top: 26px; }
.details .label:first-child { margin-top: 0; }
.details .big { font: 400 1.6rem/1.4 var(--display); text-decoration: none; color: var(--ink); }
.details .big:hover { color: var(--yellow); }
.map { margin: 28px 0 12px; border: 1px solid var(--rule); }
.map iframe { width: 100%; height: 300px; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg); }

/* footer */
.foot { padding: 0 0 24px; margin-bottom: 0; }
.foot-grid { margin-top: 56px; display: grid; grid-template-columns: 1.3fr 1.2fr 1fr .8fr; gap: 32px; }
.foot h2.label { font-family: var(--cond); font-size: .82rem; color: var(--muted); }
.foot-line, .foot address, .foot p { color: #cfc8bc; font-size: .95rem; }
.foot-line { margin-top: 14px; max-width: 22em; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; line-height: 1.9; }
.foot-links a:hover, .foot a[href^="tel"]:hover { color: var(--yellow); }
.foot-base { border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 20px; }
.foot-base p { font-size: .85rem; color: var(--muted); margin: 0; }
.credit { color: var(--yellow); font-weight: 600; text-decoration: none; }
.credit:hover { text-decoration: underline; }

/* floating button - goes to the quote form like every other CTA */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); color: #5fe08e; border: 1px solid #5fe08e;
  padding: 11px 16px; text-decoration: none; font: 600 .95rem/1 var(--cond); letter-spacing: .06em; text-transform: uppercase;
}
.float-wa:hover { background: #5fe08e; color: var(--bg); }

/* responsive */
@media (max-width: 1020px) {
  .nav ul { gap: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .menu-btn {
    display: block; margin-left: auto; font: 600 .9rem/1 var(--cond); letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink); background: none; border: 1px solid var(--rule); padding: 10px 14px; cursor: pointer;
  }
  .menu-btn[aria-expanded="true"] { border-color: var(--yellow); color: var(--yellow); }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 18px; padding: 8px 20px 24px;
  }
  .top.open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--rule); }
  .lang { align-self: flex-start; }
  .lang a { padding: 10px 14px; font-size: .9rem; }
  .nav .btn { text-align: center; }

  .hero-grid, .split, .svc-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: stretch; max-width: none; }
  .hero-media video { aspect-ratio: 4 / 5; object-position: 50% 45%; }
  .svc-flip figure { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .callout { grid-template-columns: 1fr; }
  .callout .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 16px; }
  .index a { grid-template-columns: 40px 1fr 20px; }
  .index-use { grid-column: 2; grid-row: 2; font-size: .92rem; }
  .index a::after { grid-column: 3; grid-row: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .strip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .machines li { grid-template-columns: 1fr; gap: 14px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .onoff { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .float-wa span { display: none; }
  .float-wa { padding: 12px; }
  .foot { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
