/* ==========================================================================
   HK TYTD Co., Limited — Corporate Website
   Design language: "Energy Grid" — deep navy + electric blue / cyan / ember /
   lime. Condensed sporty display type, diagonal motion, scoreboard stats.
   Mobile-first: base styles target 375px; desktop expands at min-width:768px.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0f2c;
  --ink-2: #0e1538;
  --ink-3: #141c48;
  --electric: #2e5bff;
  --volt: #00e5ff;
  --ember: #ff6b1a;
  --lime: #c9f73a;
  --mist: #a8b0d4;
  --white: #ffffff;
  --line: rgba(168, 176, 212, 0.24);
  --grad-main: linear-gradient(100deg, var(--electric) 0%, var(--volt) 55%, var(--lime) 120%);
  --grad-ember: linear-gradient(100deg, var(--ember) 0%, #ff9a3d 60%, var(--lime) 130%);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(2, 6, 30, 0.55);
  --font-display: "Barlow Condensed", "Arial Narrow", "Impact", sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--volt);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
}

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

::selection {
  background: var(--ember);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(56px, 9vw, 110px);
  position: relative;
}

.section--dark {
  background: var(--ink-2);
}

.section--tint {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(46, 91, 255, 0.28), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(255, 107, 26, 0.16), transparent 60%),
    var(--ink);
}

.section--slant {
  clip-path: polygon(0 3.5%, 100% 0, 100% 96.5%, 0 100%);
  margin-block: -4px;
}

/* ---------- Type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--volt);
  text-transform: none;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--grad-main);
  flex: none;
}

.eyebrow--ember {
  color: #ffb37e;
}

.eyebrow--ember::before {
  background: var(--grad-ember);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 8.5vw, 4.6rem);
}

.h-display--xl {
  font-size: clamp(3rem, 10vw, 6.6rem);
}

.text-grad {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-grad--ember {
  background: var(--grad-ember);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(168, 176, 212, 0.55);
}

.lead {
  color: var(--mist);
  font-size: 17px;
  line-height: 1.7;
  max-width: 62ch;
}

.sec-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 5vw, 48px);
  max-width: 760px;
}

.sec-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.sec-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--volt);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.sec-link:hover {
  border-bottom-color: var(--volt);
}

.sec-link svg {
  transition: transform 0.25s;
}

.sec-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn svg {
  flex: none;
}

.btn-primary {
  background: var(--grad-ember);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(255, 107, 26, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 107, 26, 0.42);
}

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--volt);
  color: var(--volt);
  transform: translateY(-2px);
}

.btn-big {
  min-height: 56px;
  padding: 15px 34px;
  font-size: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 15, 44, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.site-header.is-scrolled {
  background: rgba(8, 12, 34, 0.96);
  border-bottom-color: var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mist);
  text-transform: uppercase;
}

.nav {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding: 10px 20px 22px;
  flex-direction: column;
  gap: 4px;
}

.nav.open {
  display: flex;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid rgba(168, 176, 212, 0.12);
  position: relative;
}

.nav-link[aria-current="page"] {
  color: var(--volt);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -1px;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-main);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn-nav {
  display: none;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding-top: 128px;
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -12%, rgba(46, 91, 255, 0.4), transparent 60%),
    radial-gradient(760px 460px at -12% 108%, rgba(255, 107, 26, 0.22), transparent 60%),
    var(--ink);
}

.hero-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mist);
  background: rgba(20, 28, 72, 0.6);
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.hero-title {
  margin-top: 22px;
}

.hero-sub {
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mist);
}

.chip svg {
  color: var(--volt);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  transform: rotate(-2.5deg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 76%;
  height: 76%;
  border-radius: var(--radius);
  background: var(--grad-main);
  opacity: 0.35;
  filter: blur(46px);
  z-index: -1;
}

.badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.badge-float svg {
  color: var(--lime);
}

.badge-float--tl {
  top: -16px;
  left: -8px;
  transform: rotate(-3deg);
}

.badge-float--br {
  bottom: -16px;
  right: 6px;
  transform: rotate(2deg);
  color: var(--volt);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--grad-main);
  padding: 13px 0;
  position: relative;
}

.marquee--dark {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee--dark .marquee-track {
  animation-duration: 34s;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}

.marquee--dark .marquee-item {
  color: var(--white);
}

.marquee-item svg {
  flex: none;
  color: rgba(10, 15, 44, 0.75);
}

.marquee--dark .marquee-item svg {
  color: var(--volt);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: var(--ink-2);
  padding: 26px 22px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 1;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mist);
}

/* ---------- Category bento ---------- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.bento-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 300px;
  isolation: isolate;
  transition: transform 0.3s;
}

.bento-card:hover {
  transform: translateY(-6px);
}

.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s;
}

.bento-card:hover img {
  transform: scale(1.06);
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(10, 15, 44, 0.1) 30%, rgba(10, 15, 44, 0.82) 100%);
  z-index: -1;
}

.bento-body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 6px;
}

.bento-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1;
}

.bento-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--volt);
}

.bento-meta svg {
  transition: transform 0.25s;
}

.bento-card:hover .bento-meta svg {
  transform: translateX(4px);
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--ink-2);
  color: var(--mist);
  font-weight: 800;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  border-color: var(--volt);
  color: var(--white);
}

.filter-btn.is-active {
  background: var(--grad-ember);
  border-color: transparent;
  color: var(--ink);
}

/* ---------- Product cards ---------- */
.p-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.p-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s, border-color 0.28s;
  position: relative;
}

.p-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.55);
}

.p-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink-3);
}

.p-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.p-card:hover .p-card-media img {
  transform: scale(1.05);
}

.p-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--grad-main);
  color: var(--ink);
}

.p-card-body {
  display: grid;
  gap: 8px;
  padding: 16px 18px 20px;
}

.p-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.p-card-spec {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.5;
}

.p-card-link {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--volt);
}

.p-card-link svg {
  transition: transform 0.25s;
}

.p-card:hover .p-card-link svg {
  transform: translateX(4px);
}

.p-card--cta {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px 24px;
  gap: 14px;
  border-style: dashed;
  background: rgba(46, 91, 255, 0.06);
}

.p-card--cta .p-card-name {
  font-size: 1.7rem;
}

/* ---------- Feature list ---------- */
.f-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.f-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: grid;
  gap: 12px;
}

.f-card svg.f-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--grad-main);
  color: var(--ink);
}

.f-card--ember svg.f-icon {
  background: var(--grad-ember);
}

.f-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.05;
}

.f-text {
  font-size: 14.5px;
  color: var(--mist);
  line-height: 1.6;
}

/* ---------- Steps (numbered process) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}

.step-item {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 26px 30px;
  counter-increment: step;
}

.step-item::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step-item:nth-of-type(n + 10)::before {
  content: counter(step);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.1;
}

.step-text {
  font-size: 14.5px;
  color: var(--mist);
  margin-top: 6px;
  line-height: 1.6;
}

/* ---------- Accordion ---------- */
.acc {
  display: grid;
  gap: 12px;
}

.acc-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-2);
  overflow: hidden;
}

.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 15.5px;
  color: var(--white);
  min-height: 56px;
}

.acc-btn .acc-ico {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--volt);
  display: grid;
  place-items: center;
  color: var(--volt);
  transition: transform 0.25s;
}

.acc-item[data-open="true"] .acc-ico {
  transform: rotate(45deg);
  background: var(--volt);
  color: var(--ink);
}

.acc-panel {
  display: none;
  padding: 0 20px 20px;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.65;
}

.acc-item[data-open="true"] .acc-panel {
  display: block;
}

/* ---------- Standards table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table.standards {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14px;
}

table.standards th,
table.standards td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

table.standards thead th {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--ink-3);
  color: var(--white);
}

table.standards tbody tr:last-child td {
  border-bottom: 0;
}

table.standards tbody td {
  color: var(--mist);
}

table.standards tbody td strong {
  color: var(--white);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(36px, 6vw, 64px);
}

.cta-band img.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 15, 44, 0.94) 30%, rgba(10, 15, 44, 0.55) 100%);
  z-index: -1;
}

.cta-band .h-display {
  max-width: 18ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: 128px;
  padding-bottom: clamp(44px, 6vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero--ember {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(255, 107, 26, 0.26), transparent 60%),
    radial-gradient(700px 400px at -8% 115%, rgba(46, 91, 255, 0.3), transparent 60%),
    var(--ink);
}

.page-hero--volt {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(0, 229, 255, 0.22), transparent 60%),
    radial-gradient(700px 400px at -8% 115%, rgba(46, 91, 255, 0.3), transparent 60%),
    var(--ink);
}

.page-hero--lime {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(201, 247, 58, 0.16), transparent 60%),
    radial-gradient(700px 400px at -8% 115%, rgba(255, 107, 26, 0.18), transparent 60%),
    var(--ink);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mist);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--volt);
}

.breadcrumb svg {
  color: var(--mist);
}

.page-hero .lead {
  margin-top: 18px;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Contact / info blocks ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.info-card {
  display: grid;
  gap: 12px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.info-card svg.f-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--grad-main);
  color: var(--ink);
}

.info-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.info-card p,
.info-card a {
  font-size: 14.5px;
  color: var(--mist);
  line-height: 1.6;
}

.info-card a {
  color: var(--volt);
  word-break: break-word;
}

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--mist);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  font-size: 16px;
  color: var(--white);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--volt);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300e5ff' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field .err {
  display: none;
  font-size: 12.5px;
  color: #ff8a5c;
  font-weight: 600;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #ff6b1a;
}

.field.invalid .err {
  display: block;
}

.form-note {
  font-size: 13px;
  color: var(--mist);
}

.form-success {
  display: none;
  border: 1px solid rgba(201, 247, 58, 0.5);
  background: rgba(201, 247, 58, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--lime);
}

/* ---------- Map ---------- */
.map-frame {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-3);
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* ---------- Legal prose ---------- */
.legal-prose {
  max-width: 820px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
  display: grid;
  gap: 18px;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 14px;
}

.legal-prose p,
.legal-prose li {
  color: var(--mist);
}

.legal-prose ul {
  list-style: disc;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal-prose a {
  color: var(--volt);
}

.legal-prose .legal-date {
  font-weight: 700;
  color: var(--volt);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(44px, 6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--mist);
  margin-top: 14px;
  max-width: 34ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: var(--white);
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--mist);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--volt);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--mist);
  align-items: flex-start;
}

.footer-contact svg {
  flex: none;
  color: var(--volt);
  margin-top: 3px;
}

.footer-contact a {
  color: var(--mist);
  word-break: break-word;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--mist);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  color: var(--mist);
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--volt);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-ember);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(255, 107, 26, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- Cookie notice ---------- */
.cookie-note {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: none;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  font-size: 13.5px;
  color: var(--mist);
  max-width: 560px;
  margin-inline: auto;
}

.cookie-note.show {
  display: flex;
  flex-wrap: wrap;
}

.cookie-note a {
  color: var(--volt);
  white-space: nowrap;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Ghost word ---------- */
.ghost-wrap {
  position: relative;
}

.ghost-word {
  position: absolute;
  top: -0.08em;
  left: -0.03em;
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 9rem);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 176, 212, 0.14);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ---------- Section split helpers ---------- */
.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.split-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split-media--tilt img {
  transform: rotate(2deg);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ==========================================================================
   Desktop expansion
   ========================================================================== */
@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .f-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field--full {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .p-grid--two {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    background: none;
    border: 0;
    padding: 0;
  }

  .nav-link {
    padding: 10px 14px;
    font-size: 15px;
    border-bottom: 0;
    color: var(--mist);
  }

  .nav-link:hover {
    color: var(--white);
  }

  .nav-link[aria-current="page"] {
    color: var(--volt);
  }

  .nav-link[aria-current="page"]::after {
    left: 14px;
    bottom: 2px;
    width: 22px;
  }

  .nav-toggle {
    display: none;
  }

  .btn-nav {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split-2 {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1024px) {
  .p-grid--two {
    grid-template-columns: repeat(4, 1fr);
  }

  .f-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps--five {
    grid-template-columns: repeat(5, 1fr);
  }

  .bento {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento-card--lg {
    grid-column: span 6;
  }

  .bento-card--sm {
    grid-column: span 6;
  }
}

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

  .marquee-track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
