/* ============================================================
   GEEK Website — Site layout & page-level styles
   Built on top of geek-ui's tokens.css + components.css.
   Canvas: data-theme="light" (paper/white). Red = CTA signal.
   Per-category bright accents live in tokens-bright.css.
   ============================================================ */

html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: var(--geek-red); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--geek-red); color: #fff; padding: 10px 16px;
  font-family: var(--geek-font-mono); font-size: var(--geek-text-micro); letter-spacing: .1em;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--surface { background: var(--geek-surface); }
.section--grid-bg { background-color: var(--geek-paper); background-image: linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px); background-size: 26px 26px; }
/* Red sub-headline (eyebrow) breathing room above the headline it introduces */
.section-head .geek-eyebrow,
.hero__inner .geek-eyebrow,
.cat-block__eyebrow,
.grid .geek-eyebrow { margin-bottom: 16px; }
.section-head__lede { } /* (kept) */

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lede { font-size: var(--geek-text-body-lg); color: var(--geek-text-muted); margin: 16px 0 0; line-height: 1.6; }
.lede { font-size: var(--geek-text-body-lg); color: var(--geek-text-muted); line-height: 1.65; max-width: 62ch; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ---------- Icon ---------- */
.icon { width: 26px; height: 26px; flex: none; display: inline-block; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 40px; height: 40px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background var(--geek-dur) var(--geek-ease), border-color var(--geek-dur) var(--geek-ease), backdrop-filter var(--geek-dur) var(--geek-ease);
}
/* Solidify once the user scrolls into content, so the nav stays legible
   over any section beneath it. */
.site-header.is-scrolled {
  background: rgba(254,254,254,.94); backdrop-filter: saturate(160%) blur(8px);
  border-bottom-color: var(--geek-line-ink);
}
/* Opt-in: for pages whose hero sits on a dark image/background, add
   class="site-header over-dark" so the transparent nav reads in white. */
.site-header.over-dark:not(.is-scrolled) .nav-link,
.site-header.over-dark:not(.is-scrolled) .header-actions .geek-btn--outline,
.site-header.over-dark:not(.is-scrolled) .nav-toggle { color: var(--geek-white); border-color: rgba(255,255,255,.4); }
.site-header.over-dark:not(.is-scrolled) .nav-toggle .icon { color: var(--geek-white); }
/* Logo swaps to the white lockup only while transparent over a dark hero */
.brand-logo__light { display: none; }
.site-header.over-dark:not(.is-scrolled) .brand-logo__dark { display: none; }
.site-header.over-dark:not(.is-scrolled) .brand-logo__light { display: inline-block; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 24px; }
.brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-logo img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--geek-font-header); font-weight: 700; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--geek-ink); text-decoration: none; padding: 10px 14px; border-radius: var(--geek-radius);
  transition: color var(--geek-dur) var(--geek-ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--geek-red); }
.nav-item__caret { width: 11px; height: 11px; transition: transform var(--geek-dur) var(--geek-ease); }
.nav-item:hover .nav-item__caret, .nav-item:focus-within .nav-item__caret { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 248px;
  background: var(--geek-white); border: 1px solid var(--geek-line-ink); box-shadow: var(--geek-shadow);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--geek-dur) var(--geek-ease), transform var(--geek-dur) var(--geek-ease), visibility var(--geek-dur);
}
.nav-item:hover .nav-panel, .nav-item:focus-within .nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-panel a {
  display: block; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--geek-ink); text-decoration: none;
  border-radius: var(--geek-radius);
}
.nav-panel a:hover { background: var(--geek-paper); color: var(--geek-red); }
.nav-panel a small { display: block; font-weight: 400; font-size: 12px; color: var(--geek-text-muted); margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .geek-btn { font-family: var(--geek-font-header); }
.header-actions .geek-btn--sm { padding: 11px 18px; }
.nav-panel a { font-family: var(--geek-font-header); }
.nav-toggle { display: none; flex: none; background: none; border: 1px solid var(--geek-line-ink); padding: 8px; border-radius: var(--geek-radius); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions .geek-btn--outline.hide-mobile { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .main-nav {
    display: flex; position: fixed; flex: none; inset: var(--header-h) 0 0 0; background: var(--geek-white);
    flex-direction: column; align-items: stretch; padding: 12px; overflow-y: auto; gap: 0; z-index: 90;
    height: calc(100vh - var(--header-h));
  }
  /* Open mobile menu → make the bar itself solid so logo + close button read. */
  body.nav-open .site-header { background: var(--geek-white); border-bottom-color: var(--geek-line-ink); }
  body.nav-open .nav-item { width: 100%; }
  body.nav-open .nav-link { width: 100%; padding: 16px 10px; justify-content: space-between; border-bottom: 1px solid var(--geek-line-ink); }
  body.nav-open .nav-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 10px; }
  body.nav-open .nav-item.is-open .nav-panel { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 140px) 0 clamp(50px, 8vw, 90px); }

/* Image hero — full-bleed AI photo behind, dark scrim, light text. Pairs with
   a transparent `over-dark` header. */
.hero--image { background: var(--geek-ink); color: var(--geek-white); }
.hero--image .hero__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero--image::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8,8,8,.9) 0%, rgba(8,8,8,.62) 40%, rgba(8,8,8,.14) 72%, rgba(8,8,8,.4) 100%); }
.hero--image .hero__inner { position: relative; z-index: 2; }
.hero--image .hero__title { color: #fff; }
.hero--image .hero__subtitle { color: rgba(255,255,255,.86); }
.hero--image .hero__badge { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.hero--image .stat { border-color: rgba(255,255,255,.18); }
.hero--image .stat__label { color: rgba(255,255,255,.72); }
.hero--image .geek-btn--outline { color: #fff; border-color: rgba(255,255,255,.5); }
.hero--image .geek-btn--outline:hover { background: #fff; color: var(--geek-ink); }
.hero--image .breadcrumb, .hero--image .breadcrumb a { color: rgba(255,255,255,.72); }

/* Section with an explanatory photo beside copy */
.media-figure { position: relative; overflow: hidden; border: 1px solid var(--geek-line-ink); }
.media-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-figure--tall { aspect-ratio: 4/3; }

/* Pages that don't lead with a hero still need to clear the fixed header. */
main > section:first-child:not(.hero) { padding-top: calc(clamp(56px, 9vw, 110px) + var(--header-h)); }
.hero__band {
  position: absolute; left: -10%; right: -10%; top: 8%; height: 46%;
  background: var(--geek-red); transform: rotate(-6deg); z-index: 0; opacity: .08;
}
.hero__inner { position: relative; z-index: 1; max-width: 1100px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.hero__title { margin: 0 0 22px; font-size: clamp(40px, 8.5vw, 130px); }
.hero__title .dot { color: var(--geek-red); }
.hero__subtitle { font-size: clamp(17px, 1.6vw, 21px); color: var(--geek-text-muted); max-width: 58ch; line-height: 1.6; margin: 0 0 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero--page { padding: clamp(92px, 9vw, 116px) 0 50px; }
.hero--page .hero__title { font-size: var(--geek-text-h1); }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { border-left: 2px solid var(--geek-line-ink); padding-left: 16px; }
.stat__num { font-family: var(--geek-font-display); font-size: clamp(28px, 4vw, 44px); color: var(--geek-red); line-height: 1; display: block; }
.stat__label { font-family: var(--geek-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--geek-text-muted); margin-top: 8px; display: block; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--geek-font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--geek-text-muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--geek-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--geek-red); }

/* ---------- Category tiles (home teaser grid) ---------- */
.cat-tile-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 980px) { .cat-tile-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .cat-tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .cat-tile-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-tile {
  --accent: var(--geek-ink);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background: var(--geek-white); border: 1px solid var(--geek-line-ink); border-top: 3px solid var(--accent);
  padding: 18px 16px; text-decoration: none; color: var(--geek-ink);
  transition: transform var(--geek-dur) var(--geek-ease), box-shadow var(--geek-dur) var(--geek-ease);
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--geek-shadow); }
.cat-tile .icon { color: var(--accent); }
.cat-tile__label { font-weight: 700; font-size: 13.5px; line-height: 1.25; }

/* ---------- Category blocks (services page, full detail) ---------- */
.cat-block { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--geek-line-ink); }
.cat-block:last-child { border-bottom: none; }
.cat-block__head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.cat-block__icon {
  width: 58px; height: 58px; flex: none; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent);
}
.cat-block__icon .icon { width: 28px; height: 28px; }
.cat-block__eyebrow { margin: 0 0 6px; }
.cat-block__title { margin: 0; font-size: var(--geek-text-h2); }
.cat-block__lede { margin: 14px 0 26px; color: var(--geek-text-muted); font-size: var(--geek-text-body-lg); max-width: 70ch; line-height: 1.6; }
.cat-items { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-item-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  background: color-mix(in srgb, var(--accent) 8%, white); border: 1px solid color-mix(in srgb, var(--accent) 30%, white);
  font-size: 13px; font-weight: 600; color: var(--geek-ink);
}
.cat-item-chip .icon { color: var(--accent); width: 18px; height: 18px; }

/* ---------- Feature / why cards ---------- */
.feature-card {
  --accent: var(--geek-red);
  background: var(--geek-white); border: 1px solid var(--geek-line-ink); border-top: 3px solid var(--accent);
  padding: 28px 26px; height: 100%;
}
.feature-card__icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); margin-bottom: 18px; }
.feature-card__icon .icon { width: 24px; height: 24px; }
.feature-card__title { font-weight: 800; font-size: 16px; text-transform: uppercase; margin: 0 0 10px; }
.feature-card__body { margin: 0; color: var(--geek-text-muted); font-size: 14.5px; line-height: 1.6; }
.feature-card__num { font-family: var(--geek-font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); display: block; margin-bottom: 10px; }

/* ---------- Process steps ---------- */
.step-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
@media (max-width: 980px) { .step-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .step-row { grid-template-columns: 1fr; } }
.step-card { position: relative; padding: 26px 18px 0; border-top: 3px solid var(--geek-red); background: var(--geek-white); border-left: 1px solid var(--geek-line-ink); border-right: 1px solid var(--geek-line-ink); border-bottom: 1px solid var(--geek-line-ink); padding-bottom: 22px; }
.step-card__num { font-family: var(--geek-font-display); font-size: 34px; color: var(--geek-red); line-height: 1; margin: 0 0 14px; }
.step-card__title { font-weight: 800; font-size: 14.5px; text-transform: uppercase; margin: 0 0 8px; }
.step-card__body { margin: 0; color: var(--geek-text-muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- Brand wall ---------- */
.brand-wall { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip {
  font-family: var(--geek-font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--geek-line-ink); background: var(--geek-white); color: var(--geek-ink);
}
.brand-wall--center { justify-content: center; }

/* ---------- Hardware / shop ---------- */
.shop-card { background: var(--geek-white); border: 1px solid var(--geek-line-ink); display: flex; flex-direction: column; height: 100%; }
.shop-card__media { aspect-ratio: 4/3; background: color-mix(in srgb, var(--accent) 10%, white); display: flex; align-items: center; justify-content: center; color: var(--accent); border-bottom: 1px solid var(--geek-line-ink); }
.shop-card__media .icon { width: 54px; height: 54px; }
.shop-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-card__title { font-weight: 800; font-size: 15px; text-transform: uppercase; margin: 0; }
.shop-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.shop-card__specs span { font-family: var(--geek-font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--geek-text-muted); border: 1px solid var(--geek-line-ink); padding: 3px 8px; }
.shop-card__foot { margin-top: auto; }

/* ---------- GRMS stat callouts ---------- */
.grms-stat { background: var(--geek-ink); color: #fff; padding: 32px 28px; text-align: center; }
.grms-stat__num { font-family: var(--geek-font-display); font-size: clamp(40px, 6vw, 64px); color: #fff; line-height: 1; }
.grms-stat__num .red { color: var(--geek-red-tint); }
.grms-stat__label { font-family: var(--geek-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--geek-gray-light); margin-top: 10px; }
.grms-stat__source { font-size: 11px; color: var(--geek-gray-light); margin-top: 14px; }

/* ---------- FAQ (native details/summary — works without JS) ---------- */
.faq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--geek-line-ink); }
.faq-item { border-bottom: 1px solid var(--geek-line-ink); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; font-weight: 700; font-size: 16px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; transition: transform var(--geek-dur) var(--geek-ease); color: var(--geek-red); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { margin: 0 4px 22px; color: var(--geek-text-muted); line-height: 1.6; max-width: 70ch; }
.faq-item ul { margin: -8px 4px 22px 22px; padding: 0; color: var(--geek-text-muted); line-height: 1.6; max-width: 70ch; }
.faq-item li { margin-bottom: 8px; }
.faq-item strong { color: var(--geek-ink); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--geek-ink); color: #fff; padding: clamp(40px, 6vw, 70px) 0; text-align: center; }
.cta-band__title { color: #fff; margin: 0 0 16px; }
.cta-band__lede { color: var(--geek-gray-light); max-width: 56ch; margin: 0 auto 30px; font-size: 17px; line-height: 1.6; }
.cta-band--soft { background: var(--geek-paper); color: var(--geek-ink); border-top: 1px solid var(--geek-line-ink); border-bottom: 1px solid var(--geek-line-ink); }
.cta-band--soft .cta-band__lede { color: var(--geek-text-muted); }

/* ---------- Beyond-the-home teaser (deliberately quiet) ---------- */
.beyond-band { padding: clamp(40px, 6vw, 60px) 0; }
.beyond-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
@media (max-width: 700px) { .beyond-grid { grid-template-columns: 1fr; } }
.beyond-card { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1px dashed var(--geek-line-ink); text-decoration: none; color: var(--geek-ink); }
.beyond-card:hover { border-color: var(--geek-red); }
.beyond-card .icon { color: var(--geek-text-muted); flex: none; margin-top: 2px; }
.beyond-card__title { font-weight: 700; font-size: 14.5px; margin: 0 0 4px; }
.beyond-card__body { margin: 0; font-size: 13px; color: var(--geek-text-muted); line-height: 1.5; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-note { font-size: 12.5px; color: var(--geek-text-muted); margin-top: 10px; }
.form-status { margin-top: 16px; font-weight: 700; font-size: 14px; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { color: var(--geek-success); }
.form-status--err { color: var(--geek-red); }
select.geek-input { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%236c6c6c' d='M6 9l6 6 6-6z'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* File upload (floor plan) */
.geek-file { display: block; width: 100%; font-size: 14px; color: var(--geek-text-muted); }
.geek-file::file-selector-button {
  font-family: var(--geek-font-header); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  margin-right: 14px; padding: 11px 16px; cursor: pointer;
  background: var(--geek-ink); color: var(--geek-white); border: 0; border-radius: var(--geek-radius);
  transition: background var(--geek-dur) var(--geek-ease);
}
.geek-file::file-selector-button:hover { background: var(--geek-red); }
.field-hint { font-size: 12px; color: var(--geek-text-muted); margin-top: 6px; }

/* ---------- Contact details ---------- */
.contact-method { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--geek-line-ink); }
.contact-method .icon { color: var(--geek-red); flex: none; margin-top: 2px; }
.contact-method__label { font-family: var(--geek-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--geek-text-muted); margin: 0 0 4px; }
.contact-method a, .contact-method span.value { font-weight: 700; font-size: 16px; color: var(--geek-ink); text-decoration: none; }
.contact-method a:hover { color: var(--geek-red); }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--geek-line-ink); color: var(--geek-ink); }
.social-row a:hover { color: #fff; background: var(--geek-red); border-color: var(--geek-red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--geek-ink); color: var(--geek-gray-light); border-top: 4px solid var(--geek-red); }
.footer-top { padding: 56px 0 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-col__title { font-family: var(--geek-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-col p { color: var(--geek-gray-light); font-size: 13.5px; line-height: 1.6; margin: 0 0 16px; max-width: 32ch; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--geek-gray-light); text-decoration: none; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
/* Homepage footer with a small map on the right */
.footer-top.has-map { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.25fr; }
@media (max-width: 1000px) { .footer-top.has-map { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top.has-map { grid-template-columns: 1fr; } }
.footer-map { position: relative; }
.footer-map iframe {
  display: block; width: 100%; height: 168px; border: 2px solid var(--geek-red);
  filter: grayscale(0.45) contrast(1.05) saturate(0.9);
}
.footer-map__link { display: inline-block; margin-top: 10px; font-family: var(--geek-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.footer-bottom { border-top: 1px solid var(--geek-line); padding: 22px 0 32px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--geek-font-mono); font-size: 11px; letter-spacing: .1em; color: var(--geek-gray); }
.footer-bottom a { color: var(--geek-gray); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--geek-ease), transform .7s var(--geek-ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Logo wall (brands / clients) ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--geek-line-ink); border-bottom: 0; border-right: 0; }
@media (max-width: 980px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.logo-cell {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16/10; padding: 18px;
  background: var(--geek-white);
  border-right: 1px solid var(--geek-line-ink);
  border-bottom: 1px solid var(--geek-line-ink);
}
.logo-cell img {
  /* Uniform optical box: every logo capped to the same height AND a moderate
     width so wide wordmarks don't dominate compact marks — keeps the wall even. */
  height: 30px; max-height: 30px; max-width: 62%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter var(--geek-dur) var(--geek-ease), opacity var(--geek-dur) var(--geek-ease);
}
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }
/* Client logos: fewer, wider cells + height-only sizing so every logo lands at
   the SAME height regardless of how wide its wordmark is (no width letterboxing). */
.logo-wall--clients { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .logo-wall--clients { grid-template-columns: repeat(2, 1fr); } }
.logo-wall--clients .logo-cell { aspect-ratio: 16/7; padding: 22px 26px; }
.logo-wall--clients .logo-cell img { height: 28px; max-height: 28px; max-width: 100%; width: auto; }

/* Logo marquee (scrolling strip, white background) */
.logo-marquee { overflow: hidden; padding: 26px 0; background: var(--geek-white); border-top: 1px solid var(--geek-line-ink); border-bottom: 1px solid var(--geek-line-ink); }
.logo-marquee__track { display: flex; width: max-content; align-items: center; gap: 56px; animation: geek-logo-marquee 42s linear infinite; }
.logo-marquee__track img { height: 34px; width: auto; filter: grayscale(1); opacity: .6; flex: none; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
@keyframes geek-logo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ---------- Ecosystem / one-app showcase ---------- */
.ecosystem__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .ecosystem__grid { grid-template-columns: 1fr; } }
.ecosystem__media { position: relative; display: flex; justify-content: center; }
.ecosystem__media::before {
  content: ""; position: absolute; inset: 6% 4%; z-index: 0;
  background: radial-gradient(120% 120% at 70% 30%, rgba(230,0,0,.14), transparent 60%);
  transform: rotate(-6deg);
}
.ecosystem__media img { position: relative; z-index: 1; width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.22)); }
.ecosystem__devices { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 4px; }
.ecosystem__chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1px solid var(--geek-line-ink); background: var(--geek-white);
  font-family: var(--geek-font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--geek-ink);
}
.ecosystem__chip .icon { width: 16px; height: 16px; color: var(--geek-red); }

/* ---------- Map ---------- */
.map-frame { position: relative; border: 1px solid var(--geek-line-ink); overflow: hidden; }
.map-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 4px var(--geek-red); opacity: .9; }
.map-frame iframe {
  display: block; width: 100%; height: 420px; border: 0;
  filter: grayscale(0.55) contrast(1.05) saturate(0.9);
}
.map-pin-label {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--geek-red); color: #fff; padding: 10px 14px;
  font-family: var(--geek-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.map-pin-label .icon { width: 16px; height: 16px; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; }

/* ---------- Misc utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--geek-text-muted); }
.center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
