/* Snipe Studios — studio site. Brand: heart-padlock blue + orange on deep navy. */
@font-face {
  font-family: 'Sora';
  src: url('/fonts/Sora.ttf') format('truetype');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #060b16;
  --bg: #0b1220;
  --panel: #111a2c;
  --panel-2: #16223a;
  --line: rgba(159, 176, 200, 0.14);
  --text: #eef3fb;
  --mut: #9fb0c8;
  --faint: #7488a3;
  --orange: #f59e0b;
  --orange-soft: #fdba74;
  --blue: #3b82f6;
  --blue-deep: #1e3a8a;
  --sans: 'Sora', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Ambient page background: soft brand glows + a blueprint grid that fades
   toward the edges. Fixed pseudo-layers, zero JS, nothing moves. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(46% 38% at 15% 0%, rgba(59, 130, 246, 0.14), transparent 62%),
    radial-gradient(40% 34% at 90% 100%, rgba(245, 158, 11, 0.09), transparent 66%),
    var(--ink);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(159, 176, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 176, 200, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 95% 72% at 50% 28%, #000 22%, transparent 74%);
  mask-image: radial-gradient(ellipse 95% 72% at 50% 28%, #000 22%, transparent 74%);
}
img { max-width: 100%; display: block; }
a { color: var(--orange-soft); }
::selection { background: rgba(245, 158, 11, 0.3); }

/* ——— Nav ——— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(20px, 5vw, 48px);
  background: rgba(6, 11, 22, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-mark { width: 34px; height: 34px; }
.nav-name { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.nav-name em { font-style: normal; font-weight: 400; color: var(--orange); margin-left: 6px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--mut); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: #1a0f02 !important; background: var(--orange);
  padding: 9px 20px; border-radius: 99px; font-weight: 600;
}
.nav-cta:hover { background: var(--orange-soft); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ——— Hero ——— */
.hero {
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 130px 24px 90px;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(59, 130, 246, 0.16), transparent 65%),
    radial-gradient(40% 35% at 75% 85%, rgba(245, 158, 11, 0.07), transparent 70%);
}
.hero-inner { max-width: 780px; }
.hero-mark {
  width: 104px; height: 104px; margin: 0 auto 26px;
  filter: drop-shadow(0 12px 34px rgba(59, 130, 246, 0.35));
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.32em; font-size: 12px;
  color: var(--orange); font-weight: 600; margin-bottom: 18px;
}
h1 {
  font-size: clamp(42px, 7.4vw, 76px); line-height: 1.04;
  letter-spacing: -0.03em; font-weight: 800; margin-bottom: 22px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--orange-soft), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(15.5px, 2vw, 18px); color: var(--mut); max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ——— Buttons ——— */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 99px;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-orange { background: linear-gradient(120deg, var(--orange), #ea580c); color: #1a0f02; }
.btn-orange:hover { background: linear-gradient(120deg, var(--orange-soft), var(--orange)); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(159, 176, 200, 0.05); }
.btn-ghost:hover { border-color: var(--mut); transform: translateY(-2px); }

/* ——— Sections ——— */
.section { padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 64px); max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.02em; font-weight: 800; }
.section-sub { color: var(--mut); margin-top: 12px; }

/* ——— Product ——— */
.product-card {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center;
  background: linear-gradient(150deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.product-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.product-brand img { width: 62px; height: 62px; }
.product-name { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--orange); }
.product-name .s { color: var(--text); }
.product-name sup { font-size: 14px; color: var(--faint); font-weight: 400; }
.product-tag { color: var(--mut); font-size: 14px; margin-top: 6px; }
.product-blurb { color: var(--mut); margin-bottom: 24px; font-size: 15.5px; }
.product-feats { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.product-feats span {
  border: 1px solid rgba(59, 130, 246, 0.4); background: rgba(59, 130, 246, 0.1);
  color: #bcd4f7; font-size: 12.5px; padding: 6px 13px; border-radius: 99px;
}
.product-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.product-shot img {
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

/* ——— Service cards ——— */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, 0.45); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(245, 158, 11, 0.12); color: var(--orange); margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--mut); font-size: 14.5px; }
.inline-link { color: var(--orange-soft); }

/* ——— Work ——— */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 1100px; margin: 0 auto; }
.work-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; text-decoration: none; color: inherit;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  transition: transform .25s, border-color .25s;
}
.work-card:nth-child(even) .work-shot { order: 2; }
.work-card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.5); }
.work-shot { position: relative; aspect-ratio: 16 / 9.6; overflow: visible; background: var(--panel-2); display: flex; flex-direction: column; }
.work-shot > img:not(.work-phone) { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.work-chrome {
  display: flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 13px; flex-shrink: 0;
  background: #0d1526; border-bottom: 1px solid var(--line);
}
.work-chrome i { width: 9px; height: 9px; border-radius: 50%; }
.work-chrome i:nth-child(1) { background: #e0645f; }
.work-chrome i:nth-child(2) { background: #e0b34f; }
.work-chrome i:nth-child(3) { background: #5fc07a; }
.work-chrome span {
  margin-left: 9px; font-size: 11.5px; color: var(--faint); letter-spacing: 0.03em;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px;
}
.work-phone {
  position: absolute; right: 14px; bottom: 14px; width: 86px;
  border-radius: 12px; border: 3px solid #0d1526;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.work-shot-empty { display: grid; place-items: center; }
.work-shot-empty span {
  font-size: 46px; color: var(--faint);
  width: 76px; height: 76px; border: 1.5px dashed rgba(159, 176, 200, 0.4);
  border-radius: 50%; display: grid; place-items: center;
}
.work-body { padding: 30px 30px 34px; display: flex; flex-direction: column; justify-content: center; }
.work-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.work-body h3 { font-size: 20px; letter-spacing: -0.01em; }
.work-badge {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  color: var(--orange); border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 4px 11px; border-radius: 99px; background: rgba(245, 158, 11, 0.08);
}
.work-badge-blue { color: #93c5fd; border-color: rgba(59, 130, 246, 0.5); background: rgba(59, 130, 246, 0.1); }
.work-feats { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.work-feats span {
  border: 1px solid var(--line); color: var(--mut);
  font-size: 11.5px; padding: 4px 11px; border-radius: 99px;
}
.work-tag { color: var(--faint); font-size: 13px; margin: 6px 0 12px; }
.work-blurb { color: var(--mut); font-size: 14.5px; margin-bottom: 18px; }
.work-visit { color: var(--orange-soft); font-weight: 600; font-size: 14px; text-decoration: none; }
a.work-visit:hover { text-decoration: underline; }
.work-open { border-style: dashed; }

/* ——— Process ——— */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.step {
  border-top: 2px solid rgba(245, 158, 11, 0.5); padding-top: 22px;
}
.step-num {
  display: block; font-size: 13px; letter-spacing: 0.2em; color: var(--orange);
  font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--mut); font-size: 14.5px; }

/* ——— Ownership pledge ——— */
.pledge { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pledge-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 24px;
}
.pledge-item svg { width: 26px; height: 26px; color: var(--orange); margin-bottom: 16px; }
.pledge-item h3 { font-size: 17px; margin-bottom: 8px; }
.pledge-item p { color: var(--mut); font-size: 14.5px; }
.pledge-kicker {
  text-align: center; margin: 36px auto 0; max-width: 560px;
  font-size: 17px; font-weight: 600; color: var(--text);
}
.section-head h2 em, .pledge-kicker em { color: var(--orange); font-style: normal; }

/* ——— Contact ——— */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.contact-form {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
}
.contact-form input:not(.hp-field), .contact-form textarea, .contact-form select {
  background: #0a1220; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 16px; color: var(--text); font: inherit; font-size: 14.5px;
  min-width: 0; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--orange); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-done { color: #7ee2a8; font-size: 14px; margin-top: 6px; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
}
.contact-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--faint); font-weight: 600; }
.contact-mail {
  font-size: 17px; font-weight: 700; color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px; margin: 6px 0;
}
.contact-mail svg { width: 18px; height: 18px; flex: none; color: var(--orange); }
.contact-mail:hover { color: var(--orange-soft); }
.contact-card p { color: var(--mut); font-size: 13.5px; margin-top: 10px; }

/* ——— Footer ——— */
.footer { border-top: 1px solid var(--line); padding: 40px clamp(20px, 6vw, 64px); }
.footer-inner {
  max-width: 1180px; margin: 0 auto; display: flex; align-items: center;
  gap: 30px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-name { font-weight: 700; font-size: 16px; }
.footer-tag { color: var(--faint); font-size: 12.5px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { color: var(--mut); text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { width: 100%; color: var(--faint); font-size: 12.5px; margin-top: 8px; }

/* ——— Reveal ——— */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .work-card { transition: none; }
}

/* ——— Mobile ——— */
@media (max-width: 860px) {
  .product-card { grid-template-columns: 1fr; }
  .product-shot { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-burger { display: block; margin-left: auto; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6, 11, 22, 0.97); backdrop-filter: blur(14px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 18px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid rgba(159, 176, 200, 0.08); }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: none; }
}

/* Turnstile slot */
.cf-slot { margin: 10px 0 2px; min-height: 0; }
.cf-slot:empty { display: none; }
.cf-slot iframe { border-radius: 8px; }

/* ——— Expanded project intake ——— */
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form .field-wrap { display: flex; flex-direction: column; gap: 6px; }
.contact-form .field-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); font-weight: 600; margin: 4px 0 2px; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mut) 50%), linear-gradient(135deg, var(--mut) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.contact-form select:invalid, .contact-form select option[value=""] { color: var(--mut); }
@media (max-width: 560px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* ——— Theme toggle ——— */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  border: 1px solid var(--line); background: transparent; color: var(--mut);
  cursor: pointer; display: grid; place-items: center; margin-left: 16px;
  transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--mut); }
.theme-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .tt-moon { display: none; }
html[data-theme="light"] .tt-sun { display: none; }
html[data-theme="light"] .tt-moon { display: block; }
@media (max-width: 640px) { .theme-toggle { margin-left: 0; } }

/* ——— Light theme ———
   The dark navy palette is the default; light flips the tokens and patches the
   few spots that hardcode dark-surface colors. Orange accents deepen for
   contrast on white; filled buttons keep the bright brand orange. */
html[data-theme="light"] {
  color-scheme: light;
  --ink: #f4f7fc;
  --bg: #e9eff8;
  --panel: #ffffff;
  --panel-2: #f0f4fb;
  --line: rgba(16, 32, 60, 0.13);
  --text: #0e1626;
  --mut: #45536b;
  --faint: #68788f;
  --orange: #b45309;
  --orange-soft: #d97706;
  --blue: #2563eb;
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(46% 38% at 15% 0%, rgba(59, 130, 246, 0.10), transparent 62%),
    radial-gradient(40% 34% at 90% 100%, rgba(217, 119, 6, 0.08), transparent 66%),
    var(--ink);
}
html[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(30, 58, 138, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.055) 1px, transparent 1px);
}
html[data-theme="light"] .nav { background: rgba(244, 247, 252, 0.85); }
html[data-theme="light"] .nav-links a:hover { color: var(--orange); }
html[data-theme="light"] .nav-cta { background: #f59e0b; }
html[data-theme="light"] .nav-cta:hover { background: #fbbf24; }
html[data-theme="light"] .btn-orange { background: linear-gradient(120deg, #f59e0b, #ea7c0c); }
html[data-theme="light"] .btn-orange:hover { background: linear-gradient(120deg, #fbbf24, #f59e0b); }
html[data-theme="light"] .btn-ghost { background: rgba(16, 32, 60, 0.04); }
html[data-theme="light"] .product-card { box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12); }
html[data-theme="light"] .product-shot img { box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16); }
html[data-theme="light"] .product-feats span { color: #1e40af; background: rgba(37, 99, 235, 0.08); border-color: rgba(37, 99, 235, 0.3); }
html[data-theme="light"] .work-chrome { background: #e6ecf5; }
html[data-theme="light"] .work-phone { border-color: #ffffff; box-shadow: 0 12px 28px rgba(16, 24, 40, 0.25); }
html[data-theme="light"] .work-badge-blue { color: #1d4ed8; }
html[data-theme="light"] .contact-form input:not(.hp-field),
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .contact-form select { background: #f8fafd; }
html[data-theme="light"] .form-done { color: #15803d; }
html[data-theme="light"] a { color: var(--orange); }
html[data-theme="light"] .inline-link,
html[data-theme="light"] .work-visit,
html[data-theme="light"] .contact-mail:hover { color: var(--orange); }
@media (max-width: 640px) {
  html[data-theme="light"] .nav-links { background: rgba(244, 247, 252, 0.97); }
  html[data-theme="light"] .nav-links a { border-bottom-color: rgba(16, 32, 60, 0.08); }
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 22px; font-weight: 400; line-height: 1; flex-shrink: 0; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.faq details p { color: var(--mut); font-size: 14.5px; margin-top: 12px; line-height: 1.65; }
html[data-theme="light"] .faq summary { color: var(--text); }

/* Free site check */
.sitecheck-card { max-width: 1020px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.sitecheck-copy h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; font-weight: 800; margin: 10px 0 14px; }
.sitecheck-copy p { color: var(--mut); font-size: 15px; line-height: 1.65; }
.sitecheck-form { position: relative; display: flex; flex-direction: column; gap: 12px; }
.price-anchor { margin-top: 8px; font-size: 14px !important; }
.price-anchor strong { color: var(--orange); font-weight: 700; }
.footer-areas { margin-top: 4px; }
html[data-theme="light"] .sitecheck-card { box-shadow: 0 24px 60px rgba(16, 24, 40, 0.10); }
@media (max-width: 780px) {
  .sitecheck-card { grid-template-columns: 1fr; padding: 28px 22px; }
}

@media (max-width: 860px) {
  .work-card { grid-template-columns: 1fr; }
  .work-card:nth-child(even) .work-shot { order: 0; }
  .work-phone { bottom: -20px; }
}

/* Keep anchored elements clear of the fixed nav */
[id] { scroll-margin-top: 84px; }

/* ——— Nav social icon ——— */
.nav-icon {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  border: 1px solid var(--line); background: transparent; color: var(--mut);
  display: grid; place-items: center; margin-left: 16px;
  transition: color .2s, border-color .2s;
}
.nav-icon:hover { color: #1877f2; border-color: #1877f2; }
.nav-icon:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.nav-icon svg { width: 18px; height: 18px; }

/* ——— Accessibility options (same widget as the client sites) ——— */
.a11y-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--panel); border: 1.5px solid var(--orange);
  color: var(--orange); font-family: var(--sans); font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 22px rgba(4, 8, 16, 0.45);
  transition: transform .2s ease, border-color .2s ease;
}
.a11y-btn:hover { transform: translateY(-2px); border-color: var(--orange-soft); }
.a11y-btn:focus-visible { outline: 2px solid var(--orange-soft); outline-offset: 3px; }
.a11y-panel {
  position: fixed; right: 18px; bottom: 76px; z-index: 91;
  width: 268px; padding: 18px 20px;
  background: var(--panel); border: 1px solid var(--line);
  border-top: 3px solid var(--orange); border-radius: 12px;
  box-shadow: 0 20px 50px rgba(4, 8, 16, 0.55);
}
.a11y-panel h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange); padding-bottom: 10px;
}
.a11y-panel .a11y-hint { font-size: 11.5px; color: var(--faint); line-height: 1.5; padding-bottom: 6px; }
.a11y-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); font-size: 13.5px;
}
.a11y-row > span { color: var(--text); }
.a11y-seg { display: flex; gap: 4px; }
.a11y-seg button {
  font: inherit; font-size: 12px; font-weight: 600; padding: 6px 10px;
  border: 1px solid var(--line); border-radius: 6px;
  background: transparent; color: var(--mut); cursor: pointer;
}
.a11y-seg button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #1a0f02; }
.a11y-toggle {
  position: relative; width: 46px; height: 26px; flex: none;
  border-radius: 13px; border: 1px solid var(--line);
  background: var(--panel-2); cursor: pointer;
}
.a11y-toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--mut); transition: left .18s ease, background .18s ease;
}
.a11y-toggle[aria-checked="true"] { background: var(--orange); border-color: var(--orange); }
.a11y-toggle[aria-checked="true"]::after { left: 23px; background: #1a0f02; }
.a11y-toggle:focus-visible, .a11y-seg button:focus-visible { outline: 2px solid var(--orange-soft); outline-offset: 2px; }

.deaf-note {
  display: none; position: fixed; left: 18px; bottom: 18px; z-index: 92;
  max-width: 250px; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--line); border-left: 3px solid var(--orange);
  background: var(--panel); color: var(--mut);
  font: inherit; font-size: 12.5px; line-height: 1.5; text-align: left;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 26px rgba(4, 8, 16, 0.45);
}
.deaf-note strong { color: var(--orange); letter-spacing: 0.04em; }
.deaf-note:hover { border-color: var(--orange); color: var(--text); }
.deaf-note:focus-visible { outline: 2px solid var(--orange-soft); outline-offset: 3px; }
html[data-deaf="true"] .deaf-note { display: block; }
.a11y-panel[hidden], .deaf-note[hidden] { display: none; }

/* ——— Accessibility effects ——— */
html[data-textsize="large"] { zoom: 1.13; }
html[data-textsize="xl"] { zoom: 1.26; }

html[data-contrast="high"] { --mut: #d7e1f0; --faint: #c3cfdf; --line: rgba(159, 176, 200, 0.42); }
html[data-contrast="high"] body { background: #05090f; }
html[data-contrast="high"] body::before, html[data-contrast="high"] body::after { display: none; }
html[data-contrast="high"] :is(input, select, textarea) { border-color: rgba(238, 243, 251, 0.5) !important; }
html[data-contrast="high"] ::placeholder { color: rgba(238, 243, 251, 0.7) !important; }
html[data-contrast="high"] .nav-links a { color: var(--text); }
html[data-theme="light"][data-contrast="high"] {
  --mut: #1c2a44; --faint: #2c3a52; --line: rgba(16, 32, 60, 0.5);
}
html[data-theme="light"][data-contrast="high"] body { background: #ffffff; }
html[data-theme="light"][data-contrast="high"] :is(input, select, textarea) { border-color: rgba(14, 22, 38, 0.6) !important; }
html[data-theme="light"][data-contrast="high"] ::placeholder { color: rgba(14, 22, 38, 0.6) !important; }

html[data-motion="reduced"] { scroll-behavior: auto; }
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after {
  animation: none !important; transition: none !important;
}
html[data-motion="reduced"] .reveal { opacity: 1 !important; transform: none !important; }

html[data-simple="true"] body::before, html[data-simple="true"] body::after { display: none; }
html[data-simple="true"] .hero { background: none; min-height: 0; }
html[data-simple="true"] .work-shot, html[data-simple="true"] .product-shot { display: none; }
html[data-simple="true"] .work-card { grid-template-columns: 1fr; }
html[data-simple="true"] .card, html[data-simple="true"] .work-card, html[data-simple="true"] .sitecheck-card { box-shadow: none; }
html[data-simple="true"] .reveal { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .a11y-btn { right: 14px; bottom: 14px; }
  .a11y-panel { left: 12px; right: 12px; width: auto; bottom: 72px; }
  .deaf-note { left: 12px; bottom: 14px; max-width: 210px; }
}
