/* ==========================================================================
   Bilalify — main stylesheet
   DIRECTION 01 · Dark Cinematic Studio. Mobile-first.
   Near-black canvas, ONE electric accent, condensed display type,
   film-cut rhythm. No WebGL, no libraries — CSS-driven motion only,
   so it stays fast on mobile data.
   Tokens: see docs/02-design-system.md.
   ========================================================================== */

:root {
  --bg: #0A0A0B;
  --bg-2: #0E0E10;
  --bg-soft: #131315;
  --panel: #101012;
  --ink: #F4F4F1;
  --ink-2: #A6A6A0;
  --ink-3: #6E6E68;
  --line: #232327;
  --line-soft: #1A1A1D;
  --accent: #D2FF00;
  --accent-ink: #0A0A0B;
  --accent-dim: rgba(210, 255, 0, 0.09);
  --accent-line: rgba(210, 255, 0, 0.45);
  --success: #4ADE80;
  --success-bg: rgba(74, 222, 128, 0.10);
  --amber: #FBBF24;
  --amber-bg: rgba(251, 191, 36, 0.10);
  --red: #F87171;
  --red-bg: rgba(248, 113, 113, 0.10);
  --info: #7DD3FC;
  --info-bg: rgba(125, 211, 252, 0.10);
  --wa: #25D366;
  --radius-card: 12px;
  --radius-pill: 999px;
  --radius-input: 8px;
  --radius-btn: 6px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-display: "Anton", "Arial Narrow", "Impact", sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  counter-reset: scene;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(40px, 11vw, 110px); }
h2 { font-size: clamp(30px, 8vw, 68px); }
h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h3 { font-size: 21px; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }

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

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 700;
  transition: top 0.18s ease-out;
}
.skip-link:focus { top: 12px; color: var(--accent-ink); text-decoration: none; }

/* ---------- Layout helpers ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.wrap.narrow { max-width: 760px; }

.section { padding: 72px 0; position: relative; }
.section-soft { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { max-width: 800px; margin: 0 0 44px; }
.section-head h2 { margin: 10px 0 14px; }
.section-sub { color: var(--ink-2); font-size: 17px; margin: 0; max-width: 640px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 14px;
}
/* Automatic scene numbering on section headers — the film-cut grammar. */
main .section-head > .eyebrow::before {
  counter-increment: scene;
  content: "SC." counter(scene, decimal-leading-zero) " — ";
  color: var(--ink-3);
}

.lede { font-size: 19px; line-height: 1.65; color: var(--ink-2); }

.center { text-align: center; }
.accent { color: var(--accent); }

/* ---------- Preloader (cinematic open, once per session) ---------- */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease, visibility 0.45s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: block;
  margin-bottom: 18px;
}
.preloader-logo i { font-style: normal; color: var(--accent); }
.preloader-bar {
  width: 180px;
  height: 2px;
  background: var(--line);
  margin: 0 auto;
  overflow: hidden;
}
.preloader-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--accent);
  animation: preload-slide 0.9s var(--ease-out) infinite;
}
@keyframes preload-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(450%); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.18s var(--ease-out), background-color 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out, box-shadow 0.18s ease-out;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #e2ff4d; color: var(--accent-ink); box-shadow: 0 8px 32px rgba(210, 255, 0, 0.25); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-danger { background: var(--red-bg); color: var(--red); border-color: rgba(248, 113, 113, 0.35); }
.btn-danger:hover { background: var(--red); border-color: var(--red); color: #0a0a0b; }

.btn-lg { min-height: 60px; padding: 18px 40px; font-size: 15px; }
.btn-sm { min-height: 42px; padding: 9px 20px; font-size: 12.5px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-block { display: flex; width: 100%; }

.text-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link svg { width: 16px; height: 16px; }

.card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.card-link svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.scrolled {
  background: rgba(10, 10, 11, 0.92);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { display: block; height: 34px; width: auto; }

.site-nav { display: none; }

.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100svh - 68px);
  overflow-y: auto;
  background: var(--bg);
  padding: 32px 28px 36px;
  gap: 2px;
  counter-reset: nav;
}
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a:not(.nav-cta) {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  counter-increment: nav;
  opacity: 0;
  transform: translateY(16px);
  animation: nav-link-in 0.5s var(--ease-out) forwards;
}
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a:not(.nav-cta)::before {
  content: "0" counter(nav);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-right: 16px;
}
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a:nth-child(1) { animation-delay: 0.04s; }
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a:nth-child(2) { animation-delay: 0.09s; }
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a:nth-child(3) { animation-delay: 0.14s; }
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a:nth-child(4) { animation-delay: 0.19s; }
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a:nth-child(5) { animation-delay: 0.24s; }
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a:nth-child(6) { animation-delay: 0.29s; }
@keyframes nav-link-in { to { opacity: 1; transform: none; } }
/* WhatsApp CTA injected by JS — mobile menu only */
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a.nav-cta {
  margin-top: 28px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(16px);
  animation: nav-link-in 0.5s var(--ease-out) 0.36s forwards;
}
@media (min-width: 640px) {
  .site-nav .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a { animation: none; opacity: 1; transform: none; }
}
.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav a:last-child { border-bottom: 0; }
.site-nav a.active { color: var(--accent); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .btn svg { width: 16px; height: 16px; }
.header-actions .btn span { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease-out), opacity 0.2s ease-out;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--accent); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--accent); }

/* Fixed header offset for main content */
main { padding-top: 68px; }
body.admin main { padding-top: 0; }

/* ---------- Hero (the opening scene) ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding: 88px 0 0;
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(60% 42% at 50% 0%, rgba(210, 255, 0, 0.10), transparent 70%),
    var(--bg);
}
.hero::before {
  /* faint studio grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px 72px;
  width: 100%;
}
.hero .eyebrow { font-size: 13px; }
.hero h1 { margin: 14px 0 20px; max-width: 12ch; }
.hero h1 .accent { color: var(--accent); }
.hero .lede { color: var(--ink-2); max-width: 620px; margin: 0 0 36px; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin-bottom: 56px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats div { margin: 0; }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--accent);
  letter-spacing: 0.02em;
}
.hero-stats dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}

/* Service ticker — the film-strip divider under the hero */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  padding: 16px 30px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 30px;
}
.ticker-track span::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  display: inline-block;
  transform: rotate(45deg);
  flex: none;
}
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* Inner page hero */
.page-hero { padding: 88px 0 56px; position: relative; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 60% at 85% 20%, rgba(210, 255, 0, 0.07), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin: 14px 0 18px; position: relative; }
.page-hero .lede { color: var(--ink-2); position: relative; max-width: 680px; }

/* ---------- Cards & grids ---------- */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  overflow: hidden;
  transition: transform 0.22s var(--ease-out), border-color 0.22s ease-out, box-shadow 0.22s ease-out;
}
a.card { color: inherit; }
a.card:hover {
  text-decoration: none;
  transform: translateY(-5px);
  border-color: var(--accent-line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.card h3 { margin: 0 0 10px; }
.card p { color: var(--ink-2); margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.card-head h2 { font-family: var(--font); font-size: 19px; font-weight: 700; text-transform: none; letter-spacing: 0; margin: 0; line-height: 1.3; }

.card-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: 10px;
}

/* Service cards */
.service-card .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 18px;
  border: 1px solid rgba(210, 255, 0, 0.22);
}
.service-icon svg { width: 26px; height: 26px; }
a.service-card:hover .service-icon { background: var(--accent); color: var(--accent-ink); }

/* Work & post cards — letterboxed frames */
.work-card, .post-card, .featured-post { padding: 0; }
.work-cover, .post-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
a.work-card:hover .work-cover, a.post-card:hover .post-cover { border-bottom-color: var(--accent-line); }
.work-card-body, .post-card-body { padding: 22px 24px 26px; }
.work-card-body h3, .post-card-body h3 { margin: 0 0 10px; }
.work-card-body .tag { margin-bottom: 12px; }

.featured-post { margin-bottom: 28px; border-color: var(--accent-line); }
.featured-body { padding: 28px; }
.featured-body h3 { font-size: 26px; margin: 0 0 10px; }

/* Quote cards */
.quote-card { display: flex; flex-direction: column; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.6;
  flex: 1;
  color: var(--ink);
}
.quote-card blockquote::before { content: "\201C"; color: var(--accent); font-size: 1.4em; line-height: 0; margin-right: 4px; }
.quote-card figcaption { font-size: 14px; color: var(--ink-2); }
.quote-card figcaption strong { display: block; color: var(--ink); font-size: 15px; }
.quote-card figcaption span { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}
.price-card { display: flex; flex-direction: column; padding: 34px 30px; }
.price-card .tag { align-self: flex-start; margin-bottom: 14px; }
.price-card h3 { font-size: 24px; margin: 0 0 6px; }
.price {
  font-family: var(--font-display);
  font-size: 52px;
  letter-spacing: 0.02em;
  margin: 10px 0 22px;
  color: var(--ink);
  line-height: 1;
}
.price-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 400;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.price-card .check-list { flex: 1; margin-bottom: 26px; }

.price-featured {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 1px var(--accent-line), 0 18px 60px rgba(210, 255, 0, 0.08);
}
.price-featured .price { color: var(--accent); }

.compare-note { max-width: 720px; margin: 0 auto; }
.compare-note h2 { font-size: 30px; margin-bottom: 18px; }

/* ---------- Check lists & steps ---------- */

.check-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 3px;
}
.check-list.big li { font-size: 18px; padding: 11px 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}
.steps > li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
}
.steps > li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease-out);
}
.steps > li:hover::after { transform: scaleY(1); }
.steps h3 { margin: 14px 0 10px; }
.steps p { color: var(--ink-2); margin: 0; }
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 20px;
}
.steps-vertical > li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: none;
  border: 0;
  padding: 0 0 28px;
}
.steps-vertical > li::after { display: none; }
.steps-vertical > li:last-child { padding-bottom: 0; }
.steps-vertical .step-n { flex: none; }
.steps-vertical h3 { margin: 6px 0 8px; }

.steps-list { margin: 0 0 26px; padding-left: 24px; }
.steps-list li { margin-bottom: 12px; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; }
.faq {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease-out;
}
.faq[open] { border-color: var(--accent-line); }
.faq summary {
  padding: 22px 26px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--ink-3);
  line-height: 1;
  transition: transform 0.2s var(--ease-out), color 0.2s ease-out;
}
.faq[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-body { padding: 0 26px 26px; color: var(--ink-2); }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band — the closing title card ---------- */

.cta-band {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 18px;
  padding: 56px 30px;
  text-align: center;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 11, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 11, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.cta-band h2 { color: var(--accent-ink); margin-bottom: 12px; position: relative; }
.cta-band p { color: rgba(10, 10, 11, 0.72); margin-bottom: 30px; font-weight: 500; position: relative; }
.cta-band .btn { margin: 0 6px; position: relative; }
.cta-band .btn-primary { background: var(--accent-ink); color: #fff; }
.cta-band .btn-primary:hover { background: #1c1c1f; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35); }
.cta-band .btn-secondary { border-color: rgba(10, 10, 11, 0.35); color: var(--accent-ink); }
.cta-band .btn-secondary:hover { border-color: var(--accent-ink); color: var(--accent-ink); }

/* ---------- Footer ---------- */

.site-footer {
  background: #070708;
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-brand img { margin-bottom: 14px; height: 32px; width: auto; }
.footer-brand p { margin: 0 0 10px; max-width: 320px; }
.footer-locale {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  color: var(--accent);
}
.footer-col a { display: block; color: var(--ink-2); padding: 6px 0; }
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-bottom p { margin: 0; font-size: 12.5px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.footer-bottom a { color: var(--ink-2); }

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #062d16;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s var(--ease-out);
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Two-col, filter, pagination ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-bottom: 26px;
}
.two-col:last-child { margin-bottom: 0; }
.two-col h2 { font-size: 30px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: all 0.18s ease-out;
}
.filter-pill:hover { text-decoration: none; border-color: var(--accent-line); color: var(--ink); }
.filter-pill.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 44px;
}
.page-info { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Service rows ---------- */

.service-list { display: grid; gap: 20px; margin-bottom: 44px; }
.service-row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  transition: border-color 0.2s ease-out, transform 0.2s var(--ease-out);
}
.service-row:hover { border-color: var(--accent-line); transform: translateX(6px); }
.service-row-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(210, 255, 0, 0.22);
  color: var(--accent);
}
.service-row-icon svg { width: 28px; height: 28px; }
.service-row-body h2 { font-family: var(--font); font-size: 24px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.25; margin: 0 0 10px; }
.service-row-body p { color: var(--ink-2); margin: 0 0 14px; }

/* ---------- Work detail ---------- */

.work-hero { margin: 0 0 44px; }
.work-hero img, .work-hero-img {
  display: block;
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}

/* ---------- Article / blog ---------- */

.article { padding: 64px 0 0; }
.article-body { margin-bottom: 8px; }
.article-head { margin-bottom: 36px; }
.article-head h1 { font-size: clamp(40px, 6vw, 76px); margin: 14px 0 18px; }
.article-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.article-cover { margin: 0 auto 44px; }
.article-cover img {
  display: block;
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}
.article-cta {
  background: var(--panel);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-card);
  padding: 44px 30px;
  text-align: center;
  margin: 52px 0;
}
.article-cta h2 { font-size: 32px; margin-bottom: 10px; }
.article-cta p { color: var(--ink-2); margin-bottom: 26px; }
.article-back { margin: 36px 0 0; }

/* ---------- Rich text (CMS HTML) ---------- */

.rich-text { font-size: 17px; color: var(--ink-2); }
.rich-text > *:first-child { margin-top: 0; }
.rich-text h2 { font-size: 34px; margin: 52px 0 18px; color: var(--ink); }
.rich-text h3 { font-size: 24px; margin: 38px 0 14px; color: var(--ink); }
.rich-text p { margin: 0 0 1.3em; }
.rich-text ul, .rich-text ol { margin: 0 0 1.3em; padding-left: 26px; }
.rich-text li { margin-bottom: 10px; }
.rich-text li::marker { color: var(--accent); }
.rich-text blockquote {
  margin: 36px 0;
  padding: 6px 0 6px 26px;
  border-left: 3px solid var(--accent);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
}
.rich-text a { color: var(--accent); }
.rich-text img { border-radius: var(--radius-card); border: 1px solid var(--line); }
.rich-text strong { color: var(--ink); }

/* ---------- Tags, notes, notices ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 15px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.tag-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
a.tag-link { background: var(--bg-soft); color: var(--accent); border: 1px solid var(--line); }
a.tag-link:hover { border-color: var(--accent-line); text-decoration: none; }

.note {
  font-size: 14px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 22px;
}
.form-note { font-size: 13px; color: var(--ink-3); margin: 8px 0 0; }
.empty-note { color: var(--ink-2); font-size: 15px; margin: 0; padding: 28px 0; }
.empty-state {
  text-align: center;
  padding: 60px 26px;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  margin-bottom: 26px;
}
.empty-state h2 { font-size: 28px; margin-bottom: 10px; }
.empty-state p { color: var(--ink-2); margin-bottom: 26px; }

.notice {
  padding: 16px 20px;
  border-radius: var(--radius-input);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 22px;
  border: 1px solid;
}
.notice-error { background: var(--red-bg); border-color: rgba(248, 113, 113, 0.35); color: var(--red); }
.notice-info { background: var(--info-bg); border-color: rgba(125, 211, 252, 0.3); color: var(--info); }
.notice-success { background: var(--success-bg); border-color: rgba(74, 222, 128, 0.3); color: var(--success); }

/* ---------- Forms ---------- */

.field { margin-bottom: 22px; }
.field label, .label-like {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  color: var(--ink-2);
}
.field-hint { font-weight: 400; color: var(--ink-3); text-transform: none; letter-spacing: 0; }

input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="search"], input[type="number"],
input[type="datetime-local"], input[type="url"], select, textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(210, 255, 0, 0.14);
  background: var(--panel);
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.field-error input, .field-error textarea, .field-error select { border-color: var(--red); }
.field-error input:focus, .field-error textarea:focus { box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15); }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A6A6A0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

input[type="checkbox"], input[type="radio"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  accent-color: var(--accent);
  flex: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.field-row .field { margin-bottom: 22px; }

.char-count { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: 8px; text-align: right; }

.hp-field { display: none; }

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  padding: 10px 0;
  cursor: pointer;
  min-height: 44px;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 12px;
}
.check-field label { margin: 0; font-weight: 500; }
.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 14px 18px;
  background: var(--bg-soft);
}

.contact-form .btn[type="submit"] { margin-top: 10px; }

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 30px 0;
}

/* ---------- Contact ---------- */

.contact-grid { align-items: start; }
.contact-side { min-width: 0; }
.contact-card h2 { font-size: 28px; margin-bottom: 22px; }
.contact-card .btn { margin-bottom: 26px; }
.contact-lines { margin: 0; }
.contact-lines div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.contact-lines dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; color: var(--ink-3); padding-top: 3px; }
.contact-lines dd { margin: 0; color: var(--ink-2); }
.contact-lines dd a { color: var(--accent); }

.thanks-card {
  background: var(--panel);
  border: 1px solid var(--accent-line);
  border-radius: 20px;
  padding: 52px 34px;
  text-align: center;
}
.thanks-card h1 { font-size: 44px; margin-bottom: 14px; }
.thanks-card .lede { color: var(--ink-2); font-size: 17px; }
.thanks-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  margin-bottom: 26px;
}
.thanks-check svg { width: 36px; height: 36px; }
.error-code {
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--line);
  margin: 0 0 10px;
  line-height: 1;
}

/* ---------- Reveal — the film-cut entrance ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out), filter 0.7s ease;
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; filter: none; }
/* Stagger siblings inside the hero for a choreographed open */
.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero .reveal:nth-child(5) { transition-delay: 0.32s; }

/* ---------- Admin (same classes, studio-dark treatment) ---------- */

body.admin { background: #08080A; }
body.admin main { padding-top: 0; }

.admin-shell { display: block; min-height: 100vh; }

.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 120;
  width: 268px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  transform: translateX(-105%);
  transition: transform 0.25s var(--ease-out);
}
.admin-shell:has(.admin-toggle[aria-expanded="true"]) .admin-sidebar {
  transform: none;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}
.admin-sidebar .brand { margin-bottom: 26px; padding: 0 8px; }

.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  min-height: 46px;
  border: 1px solid transparent;
}
.admin-nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.admin-nav a.active { background: var(--accent-dim); border-color: rgba(210, 255, 0, 0.25); font-weight: 600; color: var(--accent); }
.admin-nav a svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); }
.admin-nav a.active svg { color: var(--accent); }
.badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}

.admin-side-foot {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-user { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-logout { color: var(--red); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { text-decoration: underline; }

.admin-main-wrap { min-width: 0; }

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 10, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  min-height: 66px;
}
.admin-topbar h1 { font-family: var(--font); font-size: 20px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.3; margin: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-action { display: flex; gap: 10px; align-items: center; }

.admin-main { padding-top: 26px; padding-bottom: 52px; }
.admin-main .card { margin-bottom: 24px; }
.admin-main h2 { font-family: var(--font); font-size: 19px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.35; }
.admin-main .section-head h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.stat-card { margin: 0; padding: 22px; }
.stat-n { display: block; font-family: var(--font-display); font-size: 40px; color: var(--ink); letter-spacing: 0.02em; }
.stat-label { display: block; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); margin-top: 6px; }
a.stat-card { color: inherit; }
a.stat-card:hover .stat-n { color: var(--accent); }

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}
.mini-list a { color: inherit; min-width: 0; }
.mini-list a:hover { text-decoration: none; }
.mini-list strong { display: block; font-size: 15px; }
.mini-list a > span { display: block; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .status { flex: none; }

.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 15px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  border: 1px solid;
  white-space: nowrap;
}
.status-new { background: var(--amber-bg); border-color: rgba(251, 191, 36, 0.35); color: var(--amber); }
.status-contacted { background: var(--info-bg); border-color: rgba(125, 211, 252, 0.3); color: var(--info); }
.status-closed { background: var(--bg-soft); border-color: var(--line); color: var(--ink-2); }
.status-published { background: var(--success-bg); border-color: rgba(74, 222, 128, 0.3); color: var(--success); }
.status-draft { background: var(--bg-soft); border-color: var(--line); color: var(--ink-2); }

.health-list { list-style: none; margin: 0 0 18px; padding: 0; }
.health-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
}
.health-list li small { display: block; color: var(--ink-2); font-size: 13px; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.health-list .ok .dot { background: var(--success); box-shadow: 0 0 10px rgba(74, 222, 128, 0.7); }
.health-list .warn .dot { background: var(--amber); }
.health-list .bad .dot { background: var(--red); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.search-form { display: flex; gap: 8px; flex: 1; min-width: 200px; }
.search-form input { flex: 1; min-width: 0; }
.search-form .btn { flex: none; }

.table-card { padding: 0; overflow-x: auto; }
.table-card .empty-note { padding: 26px; }
.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.data-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.data-table td small { color: var(--ink-2); }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions .inline-form { justify-content: flex-end; }

.form-card { max-width: 660px; }
.form-wide { max-width: 1020px; margin-bottom: 26px; }
.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.inline-form .field { margin: 0; flex: 1; min-width: 160px; }

.editor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.editor-main, .editor-side { min-width: 0; }
.editor-side .card { margin-bottom: 24px; }
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  padding: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-input) var(--radius-input) 0 0;
}
.editor-toolbar button {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink-2);
}
.editor-toolbar button:hover { border-color: var(--accent); color: var(--accent); }
.editor-toolbar + textarea {
  border-radius: 0 0 var(--radius-input) var(--radius-input);
}
.editor-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 26px;
  margin-top: 14px;
  background: var(--panel);
}
.editor-preview[hidden] { display: none; }

.thumb {
  display: inline-block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.detail-list { margin: 0 0 26px; }
.detail-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.detail-list div:last-child { border-bottom: 0; }
.detail-list dt { font-weight: 600; color: var(--ink-3); }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }

.lead-message {
  margin: 14px 0 26px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.danger-zone { border-color: rgba(248, 113, 113, 0.4); }
.danger-zone h2 { color: var(--red); }

.reorder-list { display: grid; gap: 10px; margin-bottom: 22px; }
.reorder-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  background: var(--panel);
  cursor: move;
  font-size: 15px;
  min-height: 54px;
}
.reorder-row input[type="number"] { width: 74px; flex: none; }
.reorder-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.media-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  overflow: hidden;
  background: var(--panel);
}
.media-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-soft);
}
.media-item figcaption { padding: 14px; font-size: 12px; color: var(--ink-2); }
.media-item figcaption code {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}
.media-item figcaption > span { display: block; margin-bottom: 10px; }
.media-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.media-actions form { display: inline; }

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(50% 40% at 50% 20%, rgba(210, 255, 0, 0.06), transparent 70%),
    var(--bg);
  padding: 26px 20px;
}
.auth-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 42px 34px;
  width: 100%;
  max-width: 430px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.auth-card img { margin-bottom: 26px; }
.auth-card h1 { font-family: var(--font); font-size: 24px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.3; margin-bottom: 26px; }

.preview-bar {
  background: var(--amber-bg);
  border-bottom: 1px solid rgba(251, 191, 36, 0.3);
  padding: 13px 0;
  color: var(--amber);
}
.preview-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.secret-code {
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 18px;
  color: var(--accent);
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* Mobile: keep the hero orb clear of the ticker text. */


@media (min-width: 640px) {
  .hero-cta { flex-direction: row; justify-content: flex-start; align-items: center; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .header-actions .btn span { display: inline; }
}

@media (min-width: 1024px) {
  body { font-size: 17px; }

  .section { padding: 120px 0; }
  .hero { padding: 120px 0 0; }
  .page-hero { padding: 130px 0 72px; }

  /* Desktop nav */
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0 auto;
  }
  .site-nav a {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-2);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 8px;
    height: 1px;
    background: var(--accent);
    transition: right 0.25s var(--ease-out);
  }
  .site-nav a:hover { color: var(--ink); text-decoration: none; }
  .site-nav a:hover::after, .site-nav a.active::after { right: 0; }
  .site-nav a.active { color: var(--accent); }

  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .price-featured { transform: scale(1.03); }
  .price-featured:hover { transform: translateY(-5px) scale(1.03); }

  .two-col { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1.6fr 1fr; }

  .featured-post { display: grid; grid-template-columns: 1.2fr 1fr; align-items: stretch; }
  .featured-post .post-cover { height: 100%; min-height: 300px; aspect-ratio: auto; }
  .featured-body { display: flex; flex-direction: column; justify-content: center; padding: 44px; }
  .featured-body .tag { align-self: flex-start; }

  .editor-grid { grid-template-columns: 1fr 330px; align-items: start; }

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

  .cta-band { padding: 88px 56px; }
  .cta-band h2 { font-size: clamp(44px, 5vw, 72px); }

  /* Admin desktop shell */
  .admin-toggle { display: none; }
  .admin-sidebar { transform: none; }
  .admin-main-wrap { margin-left: 268px; }
  .admin-topbar { padding: 0 34px; }
  .admin-topbar h1 { font-size: 24px; }
}

/* ==========================================================================
   Reduced motion — all animation off. Non-negotiable.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  #preloader { display: none !important; }
}

/* ==========================================================================
   Print — hide chrome.
   ========================================================================== */

@media print {
  .site-header, .site-footer, .wa-float, #preloader, .ticker,
  .admin-sidebar, .admin-topbar, .admin-toggle,
  .skip-link, .hero-cta, .cta-band, .article-cta,
  .pagination, .filter-bar, .quick-actions, .preview-bar {
    display: none !important;
  }
  body { font-size: 12pt; background: #fff; color: #000; }
  main { padding-top: 0; }
  .section { padding: 24px 0; }
  .card { break-inside: avoid; box-shadow: none; }
  .admin-main-wrap { margin-left: 0; }
  a { color: inherit; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* film grain — subtle texture across the whole site (3.5% opacity) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
/* mobile type scale refinements */
@media (max-width: 639px) {
  .eyebrow { letter-spacing: 0.12em; }
  .hero .lede { font-size: 16px; }
}

/* testimonials */
.t-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}
.t-card blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}
.t-card blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 0.8;
  color: var(--accent);
  margin-bottom: 10px;
}
.t-stars { color: var(--accent); letter-spacing: 5px; font-size: 14px; }
.t-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.t-card figcaption strong { font-size: 15px; color: var(--ink); }
.t-card figcaption span { font-size: 13px; color: var(--ink-2); }
