/* Ultimate Solutions — darker low-voltage restyle */

:root {
  --bg: #07131c;
  --bg-raise: #0d1b28;
  --surface: rgba(12, 26, 38, 0.78);
  --ink: #e8eef6;
  --muted: #c5d2e0;
  --line: rgba(150, 198, 220, 0.22);
  --line-strong: rgba(126, 224, 245, 0.45);
  --cyan: #7ee0f5;
  --cyan-deep: #0b2430;
  --amber: #f0b429;
  --focus: #9ae8f8;
  --font: ui-sans-serif, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --max: 1120px;
  --header: 4.75rem;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(158, 196, 214, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  color-scheme: dark;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #c6eef8;
}

a:hover {
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--amber);
  color: #07131c;
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #f4f8fc;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.lede {
  font-size: 1.05rem;
  max-width: 38rem;
  color: var(--muted);
}

.lede-follow {
  margin-top: 1.5rem;
}

.eyebrow,
.ticket-kicker,
.kicker-num,
.service-index,
.facts strong {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow,
.ticket-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.55rem;
  border: 1.5px solid var(--cyan);
  border-radius: 2px;
  vertical-align: -1px;
  box-shadow: 0 0 0 3px rgba(126, 224, 245, 0.12);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 19, 28, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(126, 224, 245, 0.35);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: #fff;
}

.brand-logo {
  height: 54px;
  width: auto;
  display: block;
  flex: 0 0 auto;
  background: #f4f7fb;
  padding: 4px 6px;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 0 4px rgba(126, 224, 245, 0.16);
}

.wordmark {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

.wordmark-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f4f8fc;
}

.wordmark-place {
  margin-top: 0.22rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb6c8;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 20, 30, 0.7);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav {
  display: none;
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1.25rem 1.1rem;
  background: rgba(8, 18, 28, 0.98);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.nav.is-open {
  display: flex;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid rgba(150, 198, 220, 0.12);
}

.nav a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 3px 0 0 var(--cyan);
  padding-left: 0.7rem;
}

.nav-call {
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-phone {
  display: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.1;
}

.btn-amber {
  background: var(--amber);
  color: #07131c;
  border-color: var(--amber);
}

.btn-amber:hover {
  background: #ffc44a;
  color: #07131c;
  border-color: #ffc44a;
}

.btn-line {
  background: transparent;
  color: #f4f8fc;
  border-color: rgba(232, 238, 246, 0.45);
}

.btn-line:hover {
  background: #f4f8fc;
  color: #07131c;
  border-color: #f4f8fc;
}

.btn-navy {
  background: #f4f8fc;
  color: #07131c;
  border-color: #f4f8fc;
}

.btn-navy:hover {
  background: var(--cyan);
  color: #07131c;
  border-color: var(--cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: #fff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

/* Hero and page intro */

.hero,
.page-intro {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(126, 224, 245, 0.16), transparent 46%),
    radial-gradient(ellipse at 100% 100%, rgba(240, 180, 41, 0.08), transparent 42%),
    linear-gradient(180deg, #0a1a28 0%, #07131c 100%);
  color: var(--ink);
  overflow: hidden;
}

.hero::before,
.page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 224, 245, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 245, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 25% 30%, #000 15%, transparent 72%);
}

.hero {
  padding: 3.4rem 0 3.6rem;
}

.page-intro {
  padding: 2.8rem 0 2.6rem;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.hero h1,
.page-intro h1 {
  max-width: 11em;
}

.page-intro h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  max-width: 14em;
}

.hero .lede,
.page-intro .lede,
.hero-note {
  color: #d5e0ea;
}

.hero-note {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b7c9d8;
}

.ticket {
  background: rgba(8, 20, 32, 0.62);
  color: var(--ink);
  padding: 1.15rem 1.2rem 1rem;
  border: 1px solid rgba(126, 224, 245, 0.32);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.ticket ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticket li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.35rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(150, 198, 220, 0.16);
}

.ticket li span {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.78rem;
}

.ticket a {
  color: #f4f8fc;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.ticket-foot {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */

.section {
  padding: 4rem 0;
}

.band-white {
  background: linear-gradient(180deg, rgba(16, 36, 52, 0.55), rgba(7, 19, 28, 0.2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.path-grid,
.split,
.contact-grid,
.about-grid,
.area-layout {
  display: grid;
  gap: 1rem;
}

.path-card,
.panel,
.place-card,
.values li,
.device-grid li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.path-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1.45rem 1.35rem 1.3rem;
  color: inherit;
  text-decoration: none;
}

.path-card:hover {
  border-color: var(--line-strong);
}

.path-card h2,
.path-card h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin: 0;
}

.path-card p {
  margin: 0;
  color: var(--muted);
}

.path-card .more {
  margin-top: auto;
  padding-top: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.kicker-num {
  font-size: 0.72rem;
}

.statement {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 18em;
  margin-bottom: 0;
  color: #f4f8fc;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.values li {
  padding: 1rem 0.9rem 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rating {
  margin: 0;
  padding: 1.35rem 1.3rem 1.2rem;
  background: rgba(8, 20, 32, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rating-score {
  display: block;
  font-size: 3.1rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: var(--amber);
}

.rating p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.rating a {
  color: #f4f8fc;
}

.place-card,
.panel {
  padding: 1.35rem 1.3rem;
}

.place-card address,
.panel address {
  font-style: normal;
  margin-bottom: 0.8rem;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0 0.35rem;
}

.hours th,
.hours td {
  text-align: left;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: #f4f8fc;
}

.hours td {
  text-align: right;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.fine,
.form-note,
.legal {
  color: #b7c6d6;
}

.fine {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
}

.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(126, 224, 245, 0.12), transparent 50%),
    #050e16;
  color: var(--ink);
  padding: 3.25rem 0;
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  max-width: 14em;
}

.cta-band p {
  color: var(--muted);
  max-width: 36rem;
}

.service-list {
  display: grid;
}

.service {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service-index {
  font-size: 0.78rem;
  margin: 0.35rem 0 0;
}

.service p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 42rem;
}

.device-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.device-grid li {
  padding: 1.05rem 0.95rem 0.95rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.device-grid span {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.about-logo {
  width: min(220px, 70%);
  height: auto;
  display: block;
  background: #f4f7fb;
  border-radius: 16px;
  padding: 0.85rem;
  border: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 0 0 6px rgba(126, 224, 245, 0.12);
  margin-bottom: 1rem;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.facts li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.facts strong {
  display: block;
  font-size: 0.7rem;
  margin-bottom: 0.15rem;
}

.contact-grid {
  align-items: start;
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #f4f8fc;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #091621;
  border: 1px solid rgba(150, 198, 220, 0.35);
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  min-height: 48px;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--cyan);
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.label-line .fine {
  margin: 0 0 0 0.4rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* Footer */

.site-footer {
  background: #050e16;
  color: var(--muted);
  padding: 2.6rem 0 1.4rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer a {
  color: #f4f8fc;
}

.site-footer p {
  color: var(--muted);
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  margin-bottom: 0.8rem;
}

.footer-brand .brand-logo {
  height: 60px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 380px) {
  .wordmark-place {
    display: none;
  }

  .brand-logo {
    height: 48px;
    padding: 3px 4px;
  }

  .wordmark-name {
    font-size: 0.92rem;
  }

  .container {
    width: min(var(--max), calc(100% - 1.5rem));
  }
}

@media (min-width: 720px) {
  .device-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service {
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem;
    padding: 1.6rem 0;
  }

  .area-layout,
  .split,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
}

@media (min-width: 960px) {
  .header-inner {
    gap: 1.25rem;
  }

  .brand {
    margin-right: 0;
  }

  .brand-logo {
    height: 66px;
  }

  .wordmark-name {
    font-size: 1.12rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav a {
    padding: 0.4rem 0.7rem;
    border-bottom: 0;
    border-radius: 6px;
  }

  .nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--cyan);
    padding-left: 0.7rem;
  }

  .nav-call {
    display: none;
  }

  .header-phone {
    display: inline;
    color: #f4f8fc;
    font-weight: 700;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .header-phone:hover {
    color: var(--cyan);
  }

  .hero {
    padding: 4.6rem 0 4.4rem;
  }

  .hero-grid,
  .path-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2.5rem;
    align-items: center;
  }

  .path-grid {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .path-card,
  .btn,
  .nav a {
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .header-actions,
  .cta-band,
  .actions {
    display: none;
  }

  body,
  .hero,
  .page-intro,
  .site-footer,
  .band-white,
  .cta-band {
    background: #fff;
    color: #000;
  }

  .path-card,
  .panel,
  .place-card,
  .ticket,
  .values li,
  .device-grid li,
  .rating {
    background: #fff;
    color: #000;
    box-shadow: none;
  }

  h1,
  h2,
  h3,
  .wordmark-name,
  a {
    color: #000;
  }
}

/* Inner pages */

.sys-grid,
.bench,
.reach,
.about-split {
  display: grid;
  gap: 0.85rem;
}

.sys-card,
.bench li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sys-card {
  border-left: 2px solid rgba(126, 224, 245, 0.55);
  padding: 1.15rem 1.15rem 1.2rem;
  scroll-margin-top: 5.5rem;
}

.sys-icon {
  display: block;
  width: 32px;
  height: 32px;
  color: var(--cyan);
}

.sys-card .service-index {
  margin: 0.75rem 0 0.3rem;
}

.sys-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.22rem;
}

.sys-card p:last-child,
.ticket-copy {
  margin: 0;
  color: var(--muted);
}

.ticket-copy {
  margin-bottom: 0.35rem;
}

.bench {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
}

.bench li {
  padding: 1.05rem 1rem 1rem;
}

.bench-index {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.bench-name {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f4f8fc;
}

.reach {
  margin-bottom: 1rem;
}

.about-plate {
  align-self: start;
}

.about-split .statement {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin: 0.2rem 0 0.8rem;
}

.about-split .values {
  margin-top: 1rem;
}

#write {
  scroll-margin-top: 5.5rem;
}

@media (min-width: 720px) {
  .sys-grid,
  .bench {
    grid-template-columns: 1fr 1fr;
  }

  .bench {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .reach,
  .about-split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .reach {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .sys-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
