/* JAYA DINAMIK COMMERCE — Electrical & electronic wholesale */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
  --ink: #0b1220;
  --ink-soft: #2a3548;
  --panel: #101827;
  --grid: #162033;
  --mist: #e8eef7;
  --paper: #f4f7fb;
  --line: rgba(11, 18, 32, 0.12);
  --line-light: rgba(232, 238, 247, 0.14);
  --signal: #00c2a8;
  --signal-deep: #009882;
  --amber: #f0a202;
  --muted: #6b7a90;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --header-h: 70px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background:
    linear-gradient(180deg, #edf2f8 0%, var(--paper) 28%, var(--paper) 100%);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

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

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #f4f7fb;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 194, 168, 0.35), 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.logo-link:hover .logo-img {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 0 1px rgba(0, 194, 168, 0.55), 0 8px 22px rgba(0, 194, 168, 0.2);
}

.logo-mark {
  display: none;
}

.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.logo-text span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.55);
}

.hero-brand-sub {
  display: block;
  font-size: 0.38em;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: rgba(244, 247, 251, 0.85);
  margin-top: 0.35rem;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 0 1px rgba(0, 194, 168, 0.35);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(244, 247, 251, 0.25);
  color: #f4f7fb;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  color: rgba(244, 247, 251, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active { color: #fff; }

.main-nav a.active {
  box-shadow: inset 0 -2px 0 var(--signal);
  padding-bottom: 0.15rem;
}

.nav-cta {
  background: var(--signal);
  color: var(--ink) !important;
  padding: 0.55rem 0.95rem;
}

.nav-cta:hover { background: #fff; color: var(--ink) !important; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn-primary {
  background: var(--signal);
  color: var(--ink);
  border-color: var(--signal);
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

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

.link-arrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--signal-deep);
  letter-spacing: 0.02em;
}

.link-arrow:hover { text-decoration: underline; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--ink);
  color: #f4f7fb;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 3rem) 8% 4.5rem;
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.97) 0%, rgba(16, 24, 39, 0.88) 100%);
}

.hero-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 168, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 168, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent);
  pointer-events: none;
}

.hero-brand {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 0.45rem;
  animation: rise 0.9s var(--ease) both;
  color: var(--signal);
}

.hero-brand-full {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.85);
  margin-bottom: 1.25rem;
  animation: rise 0.9s 0.06s var(--ease) both;
}

.hero-brand em {
  display: block;
  font-style: normal;
  color: var(--signal);
}

.hero-copy h1 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.3;
  max-width: 22rem;
  margin-bottom: 0.85rem;
  animation: rise 0.9s 0.1s var(--ease) both;
}

.hero-copy > p {
  position: relative;
  color: rgba(244, 247, 251, 0.7);
  max-width: 26rem;
  margin-bottom: 1.75rem;
  animation: rise 0.9s 0.18s var(--ease) both;
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.26s var(--ease) both;
}

.hero .btn-ghost {
  color: #f4f7fb;
  border-color: rgba(244, 247, 251, 0.35);
}

.hero .btn-ghost:hover {
  background: #f4f7fb;
  color: var(--ink);
  border-color: #f4f7fb;
}

.hero-media {
  position: relative;
  min-height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 16s var(--ease) infinite alternate;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.55), transparent 35%);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.08) translate(-1%, -1%); }
}

/* —— Sections —— */
.section { padding: 5rem 0; }
.section-dark {
  background: var(--panel);
  color: #f4f7fb;
}
.section-mist { background: var(--mist); }

.section-head { max-width: 34rem; margin-bottom: 2.5rem; }
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.section-head-row .section-head { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal-deep);
  margin-bottom: 0.55rem;
}

.section-dark .eyebrow { color: var(--signal); }

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.section-head p { color: var(--muted); }
.section-dark .section-head p { color: rgba(244, 247, 251, 0.65); }

/* —— Category bands —— */
.cat-bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cat-band {
  background: #fff;
  padding: 1.75rem 1.5rem;
  transition: background 0.25s;
}

.cat-band:hover { background: var(--mist); }

.cat-band span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-deep);
  margin-bottom: 0.45rem;
}

.cat-band h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.cat-band p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Products —— */
.product-rail,
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.product-tile {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), border-color 0.25s;
}

.product-tile.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-tile:hover { border-color: var(--signal); }

.product-tile-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--mist);
}

.product-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-tile:hover .product-tile-media img { transform: scale(1.05); }

.product-tile-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
}

.product-tile-body { padding: 1rem 1rem 1.15rem; }

.product-tile .brand-line {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.product-tile h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-tile .product-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-tile .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.product-tile .price s {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.35rem;
}

.section-dark .product-tile { background: var(--grid); border-color: var(--line-light); color: #f4f7fb; }
.section-dark .product-tile .price { color: #fff; }
.section-dark .product-tile .brand-line { color: rgba(244, 247, 251, 0.5); }
.section-dark .product-tile:hover { border-color: var(--signal); }

/* —— Split story —— */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.split-copy p {
  color: rgba(244, 247, 251, 0.68);
  margin-bottom: 0.9rem;
  max-width: 30rem;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.fact-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--signal);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.fact-row span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.5);
}

/* —— CTA —— */
.cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(120deg, var(--signal-deep), var(--signal));
  color: var(--ink);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.cta-band p {
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  opacity: 0.85;
}

.cta-band .hero-actions { justify-content: center; }

.cta-band .btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.cta-band .btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.cta-band .btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* —— Inner pages —— */
.page-main { padding-top: var(--header-h); }

.page-hero {
  padding: 3rem 0 2.25rem;
  background: var(--ink);
  color: #f4f7fb;
  border-bottom: 3px solid var(--signal);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.page-hero p { color: rgba(244, 247, 251, 0.65); max-width: 38rem; }

.page-body { padding: 3rem 0 4.5rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.sort-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.sort-wrap select {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.55rem;
  color: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.prose p { color: var(--muted); margin-bottom: 0.9rem; }
.prose strong { color: var(--ink); font-weight: 600; }

/* —— About page —— */
.about-hero {
  background:
    linear-gradient(135deg, rgba(0, 194, 168, 0.12) 0%, transparent 42%),
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(0, 194, 168, 0.08), transparent 55%),
    var(--ink);
  color: #f4f7fb;
  border-bottom: 3px solid var(--signal);
  padding: 3.5rem 0 3.25rem;
  overflow: hidden;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

.about-hero-mark {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--signal);
  animation: rise 0.85s var(--ease) both;
}

.about-hero-copy {
  padding-bottom: 0.35rem;
  animation: rise 0.85s 0.08s var(--ease) both;
}

.about-hero-copy .eyebrow {
  color: rgba(244, 247, 251, 0.45);
  margin-bottom: 0.55rem;
}

.about-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.about-hero-copy p:last-child {
  color: rgba(244, 247, 251, 0.68);
  max-width: 28rem;
  font-size: 1.02rem;
}

.about-lead { padding-top: 3.5rem; }

.about-lead-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.about-lead-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.about-lead-text p {
  color: var(--muted);
  margin-bottom: 0.95rem;
  font-size: 1.02rem;
}

.about-lead-text p:last-child { margin-bottom: 0; }
.about-lead-text strong { color: var(--ink); font-weight: 600; }

.about-registry {
  padding: 2.75rem 0 1rem;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(0, 194, 168, 0.035) 11px,
      rgba(0, 194, 168, 0.035) 12px
    );
}

.about-registry .eyebrow { margin-bottom: 1.25rem; }

.registry-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.registry-rail > div {
  padding: 1.35rem 1.25rem 1.35rem 0;
  border-right: 1px solid var(--line);
}

.registry-rail > div:last-child {
  border-right: none;
  padding-right: 0;
}

.registry-rail dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.registry-rail dd {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
}

.about-base {
  background: var(--ink);
  color: #f4f7fb;
  padding: 3.25rem 0;
  border-top: 3px solid var(--signal);
}

.about-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem;
}

.about-base .eyebrow {
  color: rgba(244, 247, 251, 0.45);
  margin-bottom: 0.55rem;
}

.about-base h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.about-base p:not(.eyebrow) {
  color: rgba(244, 247, 251, 0.65);
  max-width: 26rem;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 650;
  margin-bottom: 1.25rem;
}

.contact-item {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.contact-item h3 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-item a { color: var(--signal-deep); }

.contact-form .form-group { margin-bottom: 1rem; }
.contact-form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--signal);
}

.faq-list { max-width: 44rem; }
.faq-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.faq-question {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.faq-answer { color: var(--muted); }

.legal-content { max-width: 42rem; }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
  margin: 1.75rem 0 0.65rem;
}
.legal-content p { color: var(--muted); margin-bottom: 0.8rem; }
.legal-content a { color: var(--signal-deep); text-decoration: underline; }

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(244, 247, 251, 0.7);
  padding: 3.25rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.footer-brand strong,
.footer-brand .footer-logo {
  display: block;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.footer-brand p { font-size: 0.9rem; max-width: 24rem; }

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.78rem;
  color: rgba(244, 247, 251, 0.45);
}

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

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { min-height: 42vh; order: -1; }
  .hero-media::after {
    background: linear-gradient(180deg, transparent 40%, rgba(11, 18, 32, 0.85));
  }
  .hero-copy { padding: 2.5rem 1.5rem 3.5rem; }
  .cat-bands { grid-template-columns: 1fr; }
  .product-rail { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid,
  .contact-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
  }
  .about-hero-mark { line-height: 0.9; }
  .about-lead-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .registry-rail { grid-template-columns: 1fr 1fr; }
  .registry-rail > div:nth-child(2n) {
    border-right: none;
    padding-right: 0;
  }
  .registry-rail > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .registry-rail > div {
    padding: 1.15rem 1rem 1.15rem 0;
  }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line-light);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-light);
  }
  .nav-cta { margin-top: 0.75rem; text-align: center; }
  .sort-wrap { width: 100%; margin-left: 0; }
  .fact-row { grid-template-columns: 1fr; }
  .registry-rail { grid-template-columns: 1fr; }
  .registry-rail > div {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
  }
  .registry-rail > div:last-child { border-bottom: none; }
  .registry-rail > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-base-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .product-rail,
  .products-grid { grid-template-columns: 1fr; }
}
