/* Next Century Communications — stylesheet
   Concept: the signal path. One fibre rail runs down the left margin of the page;
   a light pulse follows the visitor's scroll and lights a junction at every section. */

/* ---------- tokens ---------- */
:root {
  --navy-900: #0B1230;
  --navy-800: #0F1A3D;
  --navy-700: #141F4B;
  --navy-600: #1D2B63;
  --cyan-300: #7EE7EC;
  --cyan-500: #22B8CC;
  --cyan-700: #0E8A9C;
  --orange: #FF7A2F;
  --orange-400: #FF8F4F;
  --mist: #F5F7FA;
  --mist-2: #E4EBF3;
  --white: #FFFFFF;
  --ink: #0F1A3D;
  --ink-muted: #4B587A;
  --line-light: #CBD5E1;
  --line-dark: rgba(126, 231, 236, 0.16);
  --paper: #E6ECF5;
  --paper-muted: #B0BDD5;
  --copper: #D08A4C;
  --coax: #A99BE0;
  --led-off: #B4C0D2;
  --led-on: #35E39A;
  --error: #FF8C8C;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --container: 1200px;
  --pad-l: 44px;
  --pad-r: 24px;
  --nav-h: 72px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 16px;
  --rail-x: calc(max(0px, 50% - var(--container) / 2) + 16px);
}

.theme-dark {
  --bg: var(--navy-900);
  --bg-raised: rgba(20, 31, 75, 0.72);
  --fg: var(--paper);
  --fg-muted: var(--paper-muted);
  --line: var(--line-dark);
  --rail: rgba(126, 231, 236, 0.32);
  --junction: var(--cyan-300);
  --link: var(--cyan-300);
}
.theme-light {
  --bg: var(--mist);
  --bg-raised: var(--white);
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --line: var(--line-light);
  --rail: rgba(15, 26, 61, 0.22);
  --junction: var(--navy-700);
  --link: var(--cyan-700);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.55 var(--font-body);
  color: var(--paper);
  background: var(--navy-900);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--orange); color: var(--navy-900); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--cyan-300); outline-offset: 3px; }
.theme-light :focus-visible { outline-color: var(--cyan-700); }
.theme-light .theme-dark :focus-visible { outline-color: var(--cyan-300); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-r) 0 var(--pad-l); }
@media (min-width: 1240px) { .container { padding-right: 44px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn[data-magnet] { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.2s ease, background-color 0.2s ease; }
.btn-primary { background: var(--orange); color: var(--navy-900); }
.btn-primary:hover { background: var(--orange-400); box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.16), 0 10px 30px -10px rgba(255, 122, 47, 0.7); }
.btn-ghost { border-color: currentColor; color: var(--fg, var(--paper)); background: transparent; }
.btn-ghost:hover { background: rgba(127, 140, 170, 0.14); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(11, 18, 48, 0.35); border-top-color: var(--navy-900); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(11, 18, 48, 0.55);
  border-bottom: 1px solid rgba(126, 231, 236, 0.12);
  transition: background 0.3s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.nav.is-scrolled { background: rgba(11, 18, 48, 0.9); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); margin-right: auto; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(126, 231, 236, 0.35); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.1; letter-spacing: 0; max-width: 16ch; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--paper-muted); font-weight: 500; font-size: 16px; white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover { color: var(--paper); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--cyan-300); white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(126, 231, 236, 0.25); background: transparent; color: var(--paper); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav.is-open .nav-toggle .icon-menu { display: none; }
.nav.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1023px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
    background: var(--navy-900);
    flex-direction: column; gap: 0; padding: 24px var(--pad-r) 24px var(--pad-l);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-family: var(--font-display); font-size: 34px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: var(--paper); }
  .nav-toggle { display: inline-flex; }
  .nav-phone span { display: none; }
  .nav-actions .btn { display: none; }
}
@media (min-width: 1024px) and (max-width: 1120px) { .brand-name { display: none; } }
@media (max-width: 560px) { .brand-name { font-size: 16px; max-width: 15ch; } .nav-inner { gap: 12px; } .brand { gap: 9px; } .nav-actions { gap: 8px; } .nav-phone { min-width: 36px; min-height: 44px; justify-content: center; } }

/* ---------- sections and the rail ---------- */
main { position: relative; }
.section {
  position: relative;
  background: var(--bg); color: var(--fg);
  padding: clamp(56px, 6vw, 88px) 0;
  scroll-margin-top: var(--nav-h);
}
.section::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--rail-x); width: 2px;
  background: var(--rail); z-index: 2; pointer-events: none;
}
.sec-head { position: relative; max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.sec-head h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.08; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--fg-muted); margin-top: 18px; max-width: 62ch; }
.junction {
  position: absolute; left: -34px; top: calc(clamp(36px, 4vw, 52px) * 0.5 - 7px);
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--junction); background: var(--bg); z-index: 3;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.junction.is-lit { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.18), 0 0 18px rgba(255, 122, 47, 0.75); }

.rail-pulse {
  position: absolute; left: calc(var(--rail-x) - 6px); top: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px 3px rgba(255, 122, 47, 0.75), 0 0 40px 12px rgba(255, 122, 47, 0.28);
  z-index: 4; pointer-events: none; will-change: transform;
  animation: pulse-breathe 2.2s ease-in-out infinite;
}
.rail-pulse::before {
  content: ""; position: absolute; left: 6px; bottom: 100%; width: 2px; height: 140px;
  background: linear-gradient(to top, var(--orange), rgba(255, 122, 47, 0));
}
@keyframes pulse-breathe { 50% { box-shadow: 0 0 14px 5px rgba(255, 122, 47, 0.9), 0 0 56px 16px rgba(255, 122, 47, 0.35); } }

.bg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--led-off); flex: none; transition: background 0.2s, box-shadow 0.2s; }

/* ---------- hero ---------- */
.hero {
  min-height: 620px;
  display: flex; align-items: center; overflow: hidden;
  padding: clamp(48px, 6vw, 88px) 0;
}
.hero-photo { opacity: 0.85; object-position: 70% 50%; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 18, 48, 0.96) 0%, rgba(11, 18, 48, 0.82) 34%, rgba(11, 18, 48, 0.22) 66%, rgba(11, 18, 48, 0.38) 100%),
    linear-gradient(180deg, rgba(11, 18, 48, 0.25), rgba(11, 18, 48, 0) 30%, rgba(11, 18, 48, 0.92) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-display {
  position: relative; margin: 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(54px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.005em;
  max-width: 16ch; text-wrap: balance; color: var(--paper);
  background: linear-gradient(100deg, var(--paper) 0 40%, #fff 46%, var(--cyan-300) 50%, #fff 54%, var(--paper) 60% 100%);
  background-size: 260% 100%; background-position: 0% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: sweep 7s cubic-bezier(0.45, 0, 0.2, 1) 1.8s infinite;
}
.hero-display .junction { top: calc(clamp(54px, 6vw, 84px) * 0.5 - 7px); }
@keyframes sweep { 0% { background-position: 100% 0; } 38%, 100% { background-position: 0% 0; } }
.hero h1 { font-size: clamp(22px, 2.3vw, 32px); font-weight: 600; color: var(--cyan-300); line-height: 1.15; letter-spacing: 0.01em; margin-top: 28px; max-width: 34ch; }
.hero-lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--paper-muted); max-width: 49ch; margin-top: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.link-lights { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 15px; color: var(--paper-muted); font-weight: 500; }
.link-lights li { display: flex; align-items: center; gap: 10px; }
.link-lights .led { background: var(--led-on); box-shadow: 0 0 10px rgba(53, 227, 154, 0.8); }
@media (max-width: 760px) {
  .hero-photo { object-position: 62% 50%; opacity: 0.5; }
  .hero-veil { background: linear-gradient(180deg, rgba(11, 18, 48, 0.75), rgba(11, 18, 48, 0.55) 40%, rgba(11, 18, 48, 0.95) 100%); }
}

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc-block {
  position: relative; display: flex; flex-direction: column; --mx: 50%; --my: 50%;
  background: var(--bg-raised); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 4px 16px -8px rgba(15, 26, 61, 0.12); border: 1px solid var(--line-light);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.svc-block::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(560px circle at var(--mx) var(--my), rgba(126, 231, 236, 0.18), transparent 45%); }
.svc-block:hover { box-shadow: 0 1px 0 rgba(15, 26, 61, 0.06), 0 48px 90px -44px rgba(15, 26, 61, 0.6); }
.svc-block:hover::after { opacity: 1; }
.svc-nbn, .svc-fix, .svc-fibre, .svc-data { grid-column: span 1; }
.svc-photo { margin: 0; position: relative; height: 180px; overflow: hidden; background: var(--navy-700); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.svc-block:hover .svc-photo img { transform: scale(1.04); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 18, 48, 0) 55%, rgba(11, 18, 48, 0.5)); }
.svc-body { padding: 24px; }
.svc-body h3 { font-size: clamp(26px, 2.2vw, 30px); line-height: 1.1; }
.svc-body > p { color: var(--fg-muted); margin-top: 8px; }
.svc-list { margin-top: 20px; border-top: 1px solid var(--line); }
.svc-list li { display: grid; grid-template-columns: 10px 1fr; gap: 14px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.svc-list .led { margin-top: 8px; }
.svc-list li:hover .led { background: var(--led-on); box-shadow: 0 0 10px rgba(53, 227, 154, 0.8); }
.svc-list strong { display: block; font-weight: 600; font-size: 18px; color: var(--ink); }
.svc-list .svc-desc { color: var(--fg-muted); font-size: 16px; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; gap: 18px; } .svc-photo { height: 120px; } .svc-list li { padding: 9px 0; } }
@media (max-width: 560px) { .svc-body { padding: 22px 20px 24px; } }

/* ---------- NBN diagram: fold-out card at the foot of Services ---------- */
.nbn-explainer {
  margin-top: 24px; border-radius: var(--r-lg); overflow: hidden; color: var(--fg);
  background: var(--navy-900) radial-gradient(70% 140% at 88% 0%, rgba(34, 184, 204, 0.24), transparent 65%);
  border: 1px solid rgba(126, 231, 236, 0.22);
  box-shadow: 0 30px 60px -36px rgba(15, 26, 61, 0.7);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.nbn-explainer summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 24px;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 3vw, 36px);
}
.nbn-explainer summary::-webkit-details-marker { display: none; }
.nx-text { min-width: 0; flex: 1; }
.nx-text strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; }
.nx-text span { display: block; margin-top: 6px; color: var(--paper-muted); max-width: 60ch; }
.nx-chips { display: flex; gap: 8px; flex: none; }
.nx-chips i { font-style: normal; font: 600 17px/1 var(--font-display); padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--cyan-300); background: rgba(20, 31, 75, 0.6); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.nbn-explainer summary:hover .nx-chips i { border-color: rgba(126, 231, 236, 0.5); }
.nbn-explainer summary:hover .nx-chips i:first-child { background: var(--cyan-300); color: var(--navy-900); }
.nx-chev { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: transform 0.3s, box-shadow 0.2s; }
.nx-chev::after { content: ""; width: 11px; height: 11px; margin-top: -5px; border-right: 2.5px solid var(--navy-900); border-bottom: 2.5px solid var(--navy-900); transform: rotate(45deg); }
.nbn-explainer summary:hover .nx-chev { box-shadow: 0 0 0 5px rgba(255, 122, 47, 0.18); }
.nbn-explainer[open] .nx-chev { transform: rotate(180deg); }
.nbn-explainer[open] .nx-chips { display: none; }
.nx-body { padding: 4px clamp(20px, 3vw, 36px) clamp(24px, 3vw, 36px); }
.nbn-explainer[open] .nx-body { animation: nx-open 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes nx-open { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 900px) { .nx-chips { display: none; } }
@media (max-width: 560px) { .nbn-explainer summary { gap: 14px; } .nx-chev { width: 42px; height: 42px; } }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tabs [role="tab"] {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(20, 31, 75, 0.5); color: var(--paper); cursor: pointer;
  font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1; text-align: left;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tabs [role="tab"] small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--paper-muted); }
.tabs [role="tab"]:hover { border-color: rgba(126, 231, 236, 0.45); }
.tabs [role="tab"][aria-selected="true"] { background: var(--cyan-300); color: var(--navy-900); border-color: var(--cyan-300); }
.tabs [role="tab"][aria-selected="true"] small { color: var(--navy-700); }
.nbn-stage {
  background: rgba(20, 31, 75, 0.45); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 40px);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nbn-svg { width: 100%; height: auto; display: block; }
.nbn-svg .ground { stroke: rgba(154, 168, 199, 0.4); stroke-width: 1.5; }
.nbn-svg .struct { fill: rgba(20, 31, 75, 0.92); stroke: var(--paper-muted); stroke-width: 1.5; }
.nbn-svg .roof { fill: none; stroke: var(--paper-muted); stroke-width: 1.5; stroke-linejoin: round; }
.nbn-svg .win { fill: rgba(126, 231, 236, 0.55); }
.nbn-svg .lbl { fill: var(--paper); font: 500 15px var(--font-body); text-anchor: middle; }
.nbn-svg .lbl-small { fill: var(--paper-muted); font: 500 13px var(--font-body); text-anchor: middle; }
.nbn-svg .seg-lbl { fill: var(--paper-muted); font: 500 14px var(--font-body); text-anchor: middle; }
.nbn-svg .seg { fill: none; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; transition: stroke 0.4s; }
.nbn-svg .seg[data-mat="fibre"] { stroke: var(--cyan-300); }
.nbn-svg .seg[data-mat="copper"] { stroke: var(--copper); }
.nbn-svg .seg[data-mat="coax"] { stroke: var(--coax); }
.nbn-svg .flow { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 30; opacity: 0.9; animation: flow 1.1s linear infinite; }
.nbn-svg .flow[data-speed="slow"] { animation-duration: 2.4s; stroke-dasharray: 4 32; opacity: 0.7; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.nbn-svg .mid { display: none; }
.nbn-svg[data-mid="pit"] .mid-pit, .nbn-svg[data-mid="cabinet"] .mid-cabinet, .nbn-svg[data-mid="tap"] .mid-tap { display: block; }
.nbn-svg .device { fill: var(--navy-900); stroke: var(--cyan-300); stroke-width: 1.5; }
.nbn-svg .dev-led { fill: var(--led-on); }
.nbn-svg .dev-led-dim { fill: rgba(154, 168, 199, 0.5); }
@media (max-width: 760px) {
  .nbn-svg .lbl { font-size: 24px; }
  .nbn-svg .lbl-small { font-size: 21px; }
  .nbn-svg .seg-lbl { font-size: 22px; }
  .nbn-svg .seg, .nbn-svg .flow { stroke-width: 6; }
  .nbn-svg .struct, .nbn-svg .roof, .nbn-svg .device { stroke-width: 2.5; }
}
.nbn-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 12px; color: var(--paper-muted); font-size: 15px; }
.nbn-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 22px; height: 4px; border-radius: 2px; display: inline-block; }
.sw-fibre { background: var(--cyan-300); } .sw-copper { background: var(--copper); } .sw-coax { background: var(--coax); }
.nbn-copy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.nbn-copy h3 { font-size: 28px; }
.nbn-copy p { color: var(--paper-muted); margin-top: 10px; }
.nbn-copy .btn { margin-top: 18px; }
@media (max-width: 760px) { .nbn-copy { grid-template-columns: 1fr; gap: 28px; } .tabs [role="tab"] { flex: 1 1 calc(50% - 5px); } }

/* ---------- pinboard: real jobs and reviews ---------- */
.jobs { --bg: var(--mist-2); }
.hint-drag { color: var(--cyan-700); }
@media (pointer: coarse) { .hint-drag { display: none; } }
.board {
  position: relative; height: 840px; border-radius: var(--r-lg); --mx: 50%; --my: 40%;
  background: var(--navy-800) radial-gradient(rgba(126, 231, 236, 0.16) 1px, transparent 1.6px) 0 0 / 22px 22px;
  box-shadow: inset 0 2px 40px rgba(0, 0, 0, 0.5), 0 40px 80px -48px rgba(15, 26, 61, 0.7);
}
.board::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(460px circle at var(--mx) var(--my), rgba(126, 231, 236, 0.13), transparent 62%); transition: opacity 0.3s; }
.pins { position: absolute; inset: 0; }
.pin-item {
  position: absolute; left: var(--x); top: var(--y); width: clamp(200px, 20.5vw, 236px);
  rotate: var(--r); opacity: 0; translate: 0 -48px; z-index: 1;
  transition: rotate 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  touch-action: pan-y;
}
.pin-note { width: clamp(212px, 22.5vw, 258px); }
.board.is-in .pin-item { animation: settle 0.9s cubic-bezier(0.2, 0.8, 0.25, 1) both; animation-delay: calc(var(--i) * 110ms); }
@keyframes settle { 0% { opacity: 0; translate: 0 -48px; } 70% { opacity: 1; translate: 0 6px; } 100% { opacity: 1; translate: 0 0; } }
.pin-item:hover { rotate: 0deg; z-index: 10; }
.pin-item.is-dragging { cursor: grabbing; }
.pin-item.is-dragging .card, .pin-item.is-dragging .card * { user-select: none; }
.card { position: relative; margin: 0; transform-style: preserve-3d; will-change: transform; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 26px 44px -24px rgba(0, 0, 0, 0.75); }
.pin-item:hover .card { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 44px 70px -30px rgba(0, 0, 0, 0.8); }
.polaroid { background: #F8F7F3; padding: 12px 12px 10px; border-radius: 6px; cursor: grab; }
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; filter: contrast(1.06) saturate(1.08); display: block; }
.polaroid figcaption { font: 500 clamp(19px, 1.5vw, 23px) / 1.15 var(--font-hand); color: var(--navy-800); text-align: center; padding: 12px 4px 4px; }
.note { background: linear-gradient(180deg, #FFF7C4, #FFEC98); padding: 28px 20px 18px; border-radius: 4px; color: #26305A; cursor: grab; }
.note p { margin: 0; font: 500 clamp(19px, 1.45vw, 23px) / 1.25 var(--font-hand); }
.note footer { margin-top: 12px; display: flex; align-items: center; gap: 10px; font: 500 14px var(--font-body); color: #5B6382; }
.pin { position: absolute; top: -9px; left: 50%; translate: -50% 0; width: 18px; height: 18px; border-radius: 50%; z-index: 2; background: radial-gradient(circle at 35% 30%, #FFC9A0, var(--orange) 45%, #A9430F 100%); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4), inset 0 -2px 3px rgba(0, 0, 0, 0.25); }
.pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 9px; translate: -50% 0; background: linear-gradient(rgba(40, 40, 40, 0.55), transparent); }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 14px; }
@media (max-width: 1100px) { .board { height: 800px; } }
@media (max-width: 900px) {
  .board { height: auto; padding: 26px 16px 28px; }
  .pins { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 14px; grid-auto-flow: dense; }
  .pin-item { position: static; width: auto; rotate: calc(var(--r) * 0.5); }
  .pin-note { grid-column: span 2; }
  .pin-item:hover { rotate: calc(var(--r) * 0.5); }
}

/* ---------- why choose NCC ---------- */
.why { --bg: var(--white); }
.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.why-grid .sec-head { margin-bottom: 32px; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.promises dt { font-weight: 600; font-size: 18px; }
.promises dd { margin-top: 4px; color: var(--fg-muted); font-size: 16px; }
.why-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(15, 26, 61, 0.5); background: var(--navy-700); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why-photo { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; margin: 0 8px 6px 0; border-right: 2px solid var(--cyan-700); border-bottom: 2px solid var(--cyan-700); transform: rotate(45deg); transition: transform 0.25s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-bottom: -6px; }
.faq-list details p { color: var(--fg-muted); padding: 0 0 22px; max-width: 68ch; }

/* ---------- booking ---------- */
.book { overflow: hidden; }
.book::after { content: ""; position: absolute; left: 40%; right: -10%; bottom: -30%; height: 70%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 122, 47, 0.16), transparent); }
.book-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; position: relative; z-index: 1; }
.call-card {
  display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-radius: var(--r-lg);
  text-decoration: none; color: var(--paper);
  background: linear-gradient(135deg, rgba(255, 122, 47, 0.18), rgba(255, 122, 47, 0.04) 70%);
  border: 1px solid rgba(255, 122, 47, 0.5);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.call-card:hover { transform: translateY(-2px); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.14), 0 26px 50px -24px rgba(255, 122, 47, 0.65); }
.call-icon { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy-900); animation: ring 2.4s ease-out infinite; }
.call-icon svg { width: 28px; height: 28px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 47, 0.55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(255, 122, 47, 0); } }
.call-text { min-width: 0; }
.call-label { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-400); }
.call-number { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; color: var(--white); white-space: nowrap; }
.call-meta { display: block; margin-top: 6px; color: var(--paper-muted); font-size: 15px; }
.next-steps { margin-top: 32px; display: grid; gap: 18px; }
.next-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; color: var(--paper-muted); }
.next-steps .num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(126, 231, 236, 0.45); color: var(--cyan-300); font: 600 19px/1 var(--font-display); }
.next-steps strong { display: block; color: var(--paper); font-size: 18px; }
.book-email { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--paper-muted); }
.book-email a { color: var(--cyan-300); font-weight: 600; text-decoration: none; }
.book-email a:hover { color: var(--white); }
.panel-head { margin-bottom: 22px; }
.panel-head h3 { font-size: clamp(30px, 2.8vw, 38px); }
.panel-head p { margin-top: 8px; color: var(--paper-muted); }
@media (max-width: 560px) {
  .call-card { gap: 14px; padding: 16px; }
  .call-icon { width: 48px; height: 48px; }
  .call-icon svg { width: 22px; height: 22px; }
  .call-label { font-size: 12px; letter-spacing: 0.06em; }
  .call-number { font-size: 36px; }
}
.book-panel {
  background: rgba(20, 31, 75, 0.55); border: 1px solid rgba(126, 231, 236, 0.18); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 36px);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.span-2 { grid-column: span 2; }
.field > label, .field > .label { font-size: 15px; font-weight: 500; color: var(--paper-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid rgba(154, 168, 199, 0.35); background: rgba(11, 18, 48, 0.55); color: var(--paper);
  font-size: 17px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='M3 6l5 5 5-5' fill='none' stroke='%239AA8C7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option { color: var(--ink); background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-300); box-shadow: 0 0 0 3px rgba(126, 231, 236, 0.22); }
.field input::placeholder, .field textarea::placeholder { color: #9AA8C7; }
.field input[type="date"] { color-scheme: dark; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field-error { font-size: 14px; color: var(--error); }
.field-error:empty { display: none; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: var(--r-sm); border: 1px solid rgba(154, 168, 199, 0.35); background: rgba(11, 18, 48, 0.55); min-height: 50px; }
.segmented label { position: relative; display: flex; align-items: center; justify-content: center; border-radius: 6px; cursor: pointer; font-weight: 600; color: var(--paper-muted); font-size: 16px; transition: background 0.2s, color 0.2s; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: var(--cyan-300); color: var(--navy-900); }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--cyan-300); outline-offset: 2px; }
.form-foot { grid-column: span 2; display: grid; gap: 12px; margin-top: 6px; }
.form-foot .btn { width: 100%; }
.form-note { font-size: 14px; color: var(--paper-muted); text-align: center; }
.form-status { font-size: 15px; color: var(--error); text-align: center; }
.form-status:empty { display: none; }
@media (max-width: 1000px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .field.span-2, .form-foot { grid-column: span 1; } }

/* success state */
.success h3 { font-size: clamp(30px, 3vw, 40px); }
.success .ref { display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 8px; background: rgba(126, 231, 236, 0.12); color: var(--cyan-300); font-weight: 600; letter-spacing: 0.06em; font-size: 18px; }
.success .summary { margin-top: 22px; display: grid; gap: 8px; }
.success .summary div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.success .summary dt { color: var(--paper-muted); }
.success .summary dd { color: var(--paper); font-weight: 500; }
.success .next { margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: rgba(53, 227, 154, 0.08); border: 1px solid rgba(53, 227, 154, 0.25); color: var(--paper); }
.success .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.demo-note { margin-top: 28px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 122, 47, 0.1); border: 1px dashed rgba(255, 122, 47, 0.5); color: var(--paper); font-size: 15px; }
.email-preview { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(11, 18, 48, 0.6); }
.email-preview header { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--paper-muted); display: grid; gap: 2px; }
.email-preview header strong { color: var(--paper); font-size: 15px; }
.email-preview pre { margin: 0; padding: 16px; white-space: pre-wrap; word-wrap: break-word; font: 15px/1.5 var(--font-body); color: var(--paper); }
@media (max-width: 560px) { .success .summary div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- service area ---------- */
.area { overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; background: var(--navy-800); }
.area .bg-photo { opacity: 0.5; object-position: 50% 55%; }
.area::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 18, 48, 0.9), rgba(11, 18, 48, 0.45) 50%, rgba(11, 18, 48, 0.97)); }
.area-inner { position: relative; z-index: 1; }
.area .lede { color: var(--paper); }
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 28px; max-width: 980px; }
.regions li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.regions .led { background: var(--cyan-300); box-shadow: 0 0 8px rgba(126, 231, 236, 0.7); }
@media (max-width: 560px) { .regions { grid-template-columns: 1fr 1fr; gap: 12px 16px; } }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; align-items: start; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1; }
.footer-brand span { color: var(--paper-muted); font-size: 15px; display: block; margin-top: 4px; }
.footer-contact { display: grid; gap: 8px; align-content: start; }
.footer-contact a { color: var(--cyan-300); text-decoration: none; font-weight: 600; }
.footer-contact span { color: var(--paper-muted); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--paper-muted); text-decoration: none; }
.footer-links a:hover { color: var(--paper); }
.footer-fine { grid-column: 1 / -1; color: var(--paper-muted); font-size: 14px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- mobile call bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 76px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 18, 48, 0.92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(126, 231, 236, 0.15);
    transition: transform 0.3s;
  }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar .btn-ghost { color: var(--paper); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .svc-block:hover .svc-photo img, .job:hover img { transform: none; }
  .hero-display { animation: none; background-position: 0% 0; }
  .pin-item { opacity: 1; translate: 0 0; animation: none !important; }
}
.faq { --bg: var(--white); }
.book-panel { background: var(--navy-800); box-shadow: none; }
.field { min-width: 0; }
.nav-phone:hover, .footer-contact a:hover { color: var(--white); }
@media (max-width: 560px) {
  :root { --pad-l: 24px; --pad-r: 24px; --rail-x: 10px; }
  .junction { left: -20px; width: 12px; height: 12px; }
  .hero { min-height: auto; padding: 42px 0 36px; }
  .hero-display { font-size: clamp(44px, 12.4vw, 62px); }
  .hero h1 { font-size: 23px; margin-top: 22px; }
  .hero-display .junction { top: 18px; }
  .hero-lede { font-size: 18px; line-height: 1.55; }
  .hero-cta { gap: 10px; margin-top: 26px; }
  .hero-cta .btn { width: 100%; min-height: 50px; }
  .link-lights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; font-size: 13px; margin-top: 28px; padding-top: 20px; }
  .link-lights li { gap: 7px; align-items: flex-start; }
  .link-lights .led { width: 7px; height: 7px; margin-top: 7px; box-shadow: none; }
  .rail-pulse { width: 10px; height: 10px; left: calc(var(--rail-x) - 4px); }
  .rail-pulse::before { left: 4px; }
  .book-panel { padding: 20px 16px; }
  .mobile-bar .btn { min-width: 0; padding-inline: 12px; font-size: 16px; }
}
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.demo-note.demo-first { margin: 0 0 22px; }
