/* ============================================================
   RUSH Athletic v2 — "Gear Lookbook"
   White gallery chrome; the garments carry the color.
   Products are ALWAYS shown whole (contain on light cards),
   never cover-cropped. One signature: the sport marquee band.
   Type: Anton (display, jersey block) + Archivo (everything else).
   Fonts self-hosted (CSP font-src 'self').
   Generic component classes from the PW template (forms, faq,
   admin, login, prose) are preserved so shared pages keep working.
   ============================================================ */

@font-face {
  font-family: 'Anton';
  src: url('/fonts/anton-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

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

:root {
  /* RUSH v2 tokens */
  --ink: #0C0F12;
  --paper: #FFFFFF;
  --chalk: #F2F3F5;
  --steel: #59626C;
  --line: #E4E6EA;
  --red: #D6001C;
  --red-deep: #A80016;
  --red-hot: #FF2436;

  /* Template compatibility aliases (admin/portal/shared pages) */
  --accent-dark: var(--red-deep);
  --accent: var(--red);
  --accent-bright: var(--red-hot);
  --accent-light: #F6C9CE;
  --accent-pale: #FBEEF0;
  --warm: var(--ink);
  --cream: var(--paper);
  --gray-900: #14181D;
  --gray-700: #3A424B;
  --gray-500: var(--steel);
  --gray-300: #CFD3D9;
  --gray-200: var(--line);
  --gray-100: var(--chalk);
  --border: var(--line);

  --font-heading: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1200px;
  --section-y: 96px;
  --block-radius: 14px;
  --button-radius: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16.5px;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--ink); line-height: 1.04; font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 800; color: var(--ink); line-height: 1.3; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
h4 { font-size: 1rem; margin-bottom: 0.25rem; }

p { margin-bottom: 1rem; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-deep); text-decoration: underline; }
ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: 0.25rem; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--button-radius);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s, color 0.14s, transform 0.14s;
  text-align: center;
  line-height: 1.35;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #23282e; border-color: #23282e; color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-sun, .btn-warm { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sun:hover, .btn-warm:hover { background: var(--chalk); color: var(--ink); }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--ink); }
.btn-danger { background: #b42318; color: #fff; border-color: #b42318; }
.btn-lg { padding: 16px 30px; font-size: 0.95rem; }
.btn-sm { padding: 8px 14px; font-size: 0.8rem; }
.btn-submit { width: 100%; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Top utility bar --- */
.top-bar { background: var(--ink); color: #cfd3d9; font-size: 0.82rem; padding: 7px 0; letter-spacing: 0.02em; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.top-bar a { color: #fff; font-weight: 600; }
.top-bar a:hover { color: var(--red-hot); text-decoration: none; }

/* --- Header / nav --- */
header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
header .container { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.logo:hover { text-decoration: none; }
.logo img { height: 44px; width: auto; }
.logo .wordmark { display: none; }
nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
nav a { color: var(--ink); font-weight: 600; font-size: 0.92rem; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--red); text-decoration: none; border-bottom-color: var(--red); }
nav a.active { color: var(--red); border-bottom-color: var(--red); }
.nav-phone { color: var(--ink) !important; font-weight: 800 !important; }
.nav-phone:hover { color: var(--red) !important; }
.nav-cta {
  background: var(--red); color: #fff !important; font-weight: 700 !important;
  padding: 10px 18px !important; border-radius: var(--button-radius);
  border-bottom: none !important; text-transform: uppercase; font-size: 0.8rem !important; letter-spacing: 0.06em;
}
.nav-cta:hover { background: var(--red-deep); color: #fff !important; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; }
  .mobile-menu-btn { display: block; }
  nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  nav.open { display: flex; }
}

/* --- Generic section furniture --- */
section { padding: var(--section-y) 0; }
.section-label {
  display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.section-header-center { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title { margin-bottom: 14px; }
.section-subtitle { color: var(--steel); font-size: 1.05rem; }

/* ============ V2 HOME ============ */

/* --- Split hero --- */
.v2-hero { background: var(--chalk); padding: 72px 0 84px; overflow: hidden; }
.v2-hero .container { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 960px) { .v2-hero .container { grid-template-columns: 1.05fr 1fr; } }
.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 18px;
}
.hero-h1 { font-size: clamp(3.2rem, 6.5vw, 5.4rem); margin-bottom: 20px; }
.hero-h1 .dot { color: var(--red); }
.hero-lede { font-size: 1.18rem; color: var(--gray-700); max-width: 32em; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-chips { display: flex; gap: 10px 26px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.hero-chips li { font-size: 0.9rem; font-weight: 600; color: var(--gray-700); padding-left: 20px; position: relative; }
.hero-chips li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 10px; height: 10px; background: var(--red); }

/* Staggered uncropped product cards */
.hero-cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
.hero-card {
  background: #fff; border-radius: var(--block-radius); box-shadow: 0 14px 40px rgba(12,15,18,0.16);
  overflow: hidden; border: 1px solid var(--line);
}
.hero-card img { width: 100%; height: auto; display: block; }
.hero-card figcaption {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel); padding: 10px 12px; border-top: 1px solid var(--line);
}
.hero-card:nth-child(1) { transform: rotate(-2.5deg) translateY(14px); }
.hero-card:nth-child(2) { transform: rotate(1.5deg) translateY(-16px); z-index: 2; }
.hero-card:nth-child(3) { transform: rotate(-1deg) translateY(20px); }
@media (max-width: 959px) {
  .hero-cards { max-width: 560px; }
  .hero-card:nth-child(3) { display: none; }
  .hero-cards { grid-template-columns: repeat(2, 1fr); }
}

/* --- SIGNATURE: sport marquee band --- */
.marquee { background: var(--ink); padding: 0; overflow: hidden; border-top: 4px solid var(--red); border-bottom: 4px solid var(--red); }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 36s linear infinite; }
.marquee-seq { display: flex; align-items: center; padding: 14px 0; }
.marquee-seq span {
  font-family: var(--font-heading); color: #fff; font-size: 1.5rem; text-transform: uppercase;
  letter-spacing: 0.04em; white-space: nowrap; padding: 0 28px; line-height: 1;
}
.marquee-seq i { color: var(--red-hot); font-style: normal; font-size: 0.9rem; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --- Shop by sport grid --- */
.sport-grid-wrap { background: var(--paper); }
.sport-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (min-width: 860px) { .sport-grid { grid-template-columns: repeat(3, 1fr); } }
.sport-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--block-radius); overflow: hidden; text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.sport-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(12,15,18,0.12); border-color: var(--red); text-decoration: none; }
.sport-card-img { background: var(--chalk); padding: 18px; }
.sport-card-img img { width: 100%; height: 260px; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.25s ease; }
.sport-card:hover .sport-card-img img { transform: scale(1.04); }
.sport-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sport-card-body h3 { font-size: 1.45rem; margin: 0; color: var(--ink); }
.sport-card-body p { color: var(--steel); font-size: 0.92rem; margin: 0; flex: 1; }
.sport-card-link { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-top: 10px; }
.sport-card:hover .sport-card-link { text-decoration: underline; }

/* --- Process band (black): PRINT / PRESS / SEW --- */
.process-band { background: var(--ink); color: #fff; }
.process-band .section-label { color: var(--red-hot); }
.process-band .section-title { color: #fff; }
.process-band .section-subtitle { color: #9aa3ac; }
.process-steps { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 20px; }
@media (min-width: 780px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }
.process-step { border-top: 3px solid #262c33; padding-top: 22px; }
.process-step .num { font-family: var(--font-heading); font-size: 2.6rem; color: var(--red-hot); line-height: 1; display: block; margin-bottom: 10px; }
.process-step h3 { color: #fff; font-size: 1.5rem; }
.process-step p { color: #aeb6be; font-size: 0.97rem; margin: 0; }
.process-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 46px; }
.process-stats span {
  border: 1px solid #2a3037; color: #e7eaee; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px;
}
.process-stats b { color: var(--red-hot); font-weight: 800; }

/* --- Team + proof --- */
.team-band { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 900px) { .team-grid { grid-template-columns: 1fr 1.2fr; } }
.team-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.team-card { border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; padding: 18px 20px; background: #fff; }
.team-card h4 { font-size: 1.02rem; margin-bottom: 4px; }
.team-card p { color: var(--steel); font-size: 0.93rem; margin: 0; }
.proof-strip { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 40px; }
.proof-label { text-align: center; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin-bottom: 26px; }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 780px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-item { text-align: center; }
.proof-item .proof-img { background: var(--chalk); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.proof-item img { width: 100%; height: 150px; object-fit: contain; mix-blend-mode: multiply; }
.proof-item figcaption { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); }

/* --- Final CTA band --- */
.cta-final { background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 70%); color: #fff; text-align: center; }
.cta-final h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.cta-final p { color: rgba(255,255,255,0.88); max-width: 42em; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-final .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Legacy cta-band alias (contact/faq/category shared template) */
.cta-band { background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 70%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); margin-bottom: 24px; max-width: 40em; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* --- Mobile sticky call bar --- */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(12,15,18,0.96); backdrop-filter: blur(6px);
  }
  body { padding-bottom: 74px; }
}

/* ============ CATEGORY / GENERIC PAGES ============ */

.page-hero { background: var(--chalk); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--gray-700); max-width: 38em; margin: 0; font-size: 1.08rem; }
.breadcrumb { font-size: 0.85rem; color: var(--steel); margin-bottom: 18px; font-weight: 600; letter-spacing: 0.02em; }
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--red); }

/* Split category hero with uncropped product card */
.page-hero.has-photo .container { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 880px) { .page-hero.has-photo .container { grid-template-columns: 1.3fr 1fr; } }
.page-hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--block-radius);
  box-shadow: 0 14px 40px rgba(12,15,18,0.14); overflow: hidden; max-width: 380px;
  justify-self: center; transform: rotate(1.5deg);
}
.page-hero-card img { width: 100%; height: auto; }

/* Category gallery: uncropped cards, caption below (never covers garment) */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; clear: both; }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.gallery-card .gallery-photo { background: var(--chalk); padding: 12px; }
.gallery-card .gallery-photo img { width: 100%; height: 230px; object-fit: contain; mix-blend-mode: multiply; }
.gallery-cap { padding: 10px 14px; font-weight: 600; font-size: 0.86rem; color: var(--gray-700); border-top: 1px solid var(--line); }
/* legacy background-image gallery (service pages) */
.gallery-card .gallery-img { width: 100%; height: 230px; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--chalk); }

.cat-product-shot { float: right; width: 320px; max-width: 42%; margin: 0 0 24px 28px; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 640px) { .cat-product-shot { float: none; width: 100%; max-width: 100%; margin: 0 0 20px; } }

/* --- Prose / content --- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose p { font-size: 1.05rem; line-height: 1.75; color: var(--gray-700); }
.prose ul, .prose ol { margin: 1rem 0 1.25rem 1.25rem; }
.prose li { margin-bottom: 0.5rem; color: var(--gray-700); }
.content { padding: var(--section-y) 0; }
.scene-setter { max-width: 760px; margin: 0 auto; }
.scene-setter p { font-size: 1.0625rem; line-height: 1.7; color: var(--gray-700); margin-bottom: 1.25rem; }

/* --- FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; list-style: none; padding: 0; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; margin-bottom: 12px; }
.faq-item h3 { margin-bottom: 8px; font-size: 1.1rem; font-family: var(--font-body); font-weight: 800; text-transform: none; }

/* --- Steps (shared) --- */
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--block-radius); }
.step-number { font-family: var(--font-heading); font-size: 2rem; color: var(--red); margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; font-size: 1.2rem; }
.step p { color: var(--gray-700); margin-bottom: 0; }

/* --- Packages / services (shared) --- */
.packages-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 720px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
.package { background: #fff; border: 1px solid var(--line); border-radius: var(--block-radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.package.featured { border-color: var(--red); border-width: 2px; }
.package-tag { display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin-bottom: 8px; }
.package-price { font-family: var(--font-heading); font-size: 1.875rem; color: var(--ink); }
.package-price-note { color: var(--steel); font-size: 0.875rem; margin-bottom: 12px; }
.package ul { list-style: none; padding: 0; margin-bottom: 20px; }
.package li { padding: 6px 0; color: var(--gray-700); font-size: 0.95rem; border-bottom: 1px solid var(--chalk); }
.package li:last-child { border-bottom: none; }
.package .btn { margin-top: auto; }

/* --- Areas / service cards (shared) --- */
.areas-grid, .service-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 24px; list-style: none; padding: 0; }
.area-tag, .service-cards li { background: var(--chalk); border: 1px solid var(--line); border-radius: 10px; padding: 16px; color: var(--ink); font-weight: 600; }
.service-cards li { padding: 0; }
.service-cards a { display: block; padding: 20px; color: var(--ink); height: 100%; }
.service-cards a:hover { background: var(--accent-pale); text-decoration: none; }
.service-cards h3 { color: var(--red); margin-bottom: 6px; font-size: 1.15rem; }

/* --- Contact form --- */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.contact-form, .form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--block-radius); padding: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label, label.lbl { display: block; font-size: 0.85rem; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--gray-300); border-radius: var(--button-radius);
  font-family: inherit; font-size: 0.95rem; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--accent-pale); }
textarea { min-height: 110px; resize: vertical; }
.hint { color: var(--steel); font-size: 0.85rem; margin-top: 4px; }
.contact-info { padding: 24px; background: var(--chalk); border-radius: var(--block-radius); }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-detail-icon { color: var(--red); font-size: 1.25rem; }
.error-msg, .err { background: #fef2f2; color: #7a271a; border: 1px solid #fecaca; padding: 10px 14px; border-radius: var(--button-radius); font-size: 0.9rem; margin-bottom: 16px; }
.info-banner { background: var(--accent-pale); border-left: 3px solid var(--red); padding: 12px 16px; margin-bottom: 16px; font-size: 0.9rem; }

/* --- Footer --- */
footer { background: var(--ink); color: #aeb6be; padding: 64px 0 24px; border-top: 4px solid var(--red); margin-top: 0; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 44px; margin-bottom: 14px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer-brand p { color: #8b949d; font-size: 0.92rem; max-width: 26em; }
footer h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 14px; }
footer ul { list-style: none; padding: 0; }
footer li { margin-bottom: 9px; }
footer a { color: #aeb6be; font-size: 0.93rem; }
footer a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid #21262c; color: #6f7883; font-size: 0.84rem; text-align: center; }
.footer-bottom a { color: #8b949d; }
.pw-footer { background: #07090b; color: #6f7883; padding: 12px 0; font-size: 0.8rem; text-align: center; }
.pw-footer a { color: #aeb6be; }
.pw-footer a:hover { color: #fff; }

/* --- Utility --- */
.empty { color: var(--steel); text-align: center; padding: 48px 0; }
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* --- Admin / login (kept functional, neutral) --- */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
@media (max-width: 900px) { .admin-layout { grid-template-columns: 1fr; } }
.sidebar { background: var(--chalk); padding: 24px 20px; border-right: 1px solid var(--line); }
.sidebar h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); margin: 16px 0 8px; font-family: var(--font-body); font-weight: 800; }
.sidebar a { display: block; padding: 6px 8px; color: var(--gray-700); border-radius: 4px; font-size: 0.9rem; }
.sidebar a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.sidebar a.active { background: var(--red); color: #fff; }
.main-content { padding: 32px; overflow-x: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 32px; background: #fff; border-bottom: 1px solid var(--line); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--block-radius); padding: 24px; margin-bottom: 16px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--block-radius); padding: 20px; }
.stat-card .num { font-size: 1.75rem; font-weight: 800; color: var(--ink); font-family: var(--font-heading); }
.stat-card .label { color: var(--steel); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--chalk); padding: 24px; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: var(--block-radius); padding: 32px; width: 100%; max-width: 420px; }
.form-wrap { max-width: 460px; margin: 40px auto; padding: 0 20px; }
.form-footer { text-align: center; margin-top: 16px; font-size: 0.9rem; color: var(--steel); }
.page-footer { padding: 20px; text-align: center; font-size: 0.8rem; color: var(--steel); }
.services-grid { padding-top: 32px; }

/* --- Gallery zoom lightbox --- */
button.gallery-photo { display: block; width: 100%; border: 0; cursor: zoom-in; text-align: inherit; font: inherit; }
.lightbox {
  position: fixed; inset: 0; z-index: 500; cursor: zoom-out;
  background: rgba(12,15,18,0.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 16px; right: 20px; z-index: 501;
  background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; padding: 4px 10px;
}
.lightbox-close:hover { color: var(--red-hot); }

/* --- Focus visibility --- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--red-hot); outline-offset: 2px;
}
