/* Joltrick.ai shared styles. Colors and fonts come from theme.css (generated from config). */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  /* Soft ambient light across the whole page */
  content: "";
  position: fixed;
  inset: -20% -10% auto;
  height: 80vh;
  background:
    radial-gradient(40% 50% at 15% 10%, rgba(47, 107, 255, 0.16), transparent 70%),
    radial-gradient(35% 45% at 85% 0%, rgba(63, 216, 255, 0.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.03em; font-weight: 650; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 2 * clamp(20px, 4vw, 40px)); margin-inline: auto; }
.section { padding-block: clamp(72px, 11vw, 136px); position: relative; }
.section-tight { padding-block: clamp(56px, 8vw, 96px); }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .lead { margin-inline: auto; }
.gradient-text { background: linear-gradient(100deg, #ffffff 10%, var(--accent) 60%, #9BB8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.8em 1.4em; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 0.97rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0.55em 1.1em; font-size: 0.9rem; }
.btn-primary {
  color: var(--on-accent);
  background: linear-gradient(120deg, var(--accent) 0%, #7FE6FF 45%, #8FB3FF 100%);
  box-shadow: 0 10px 30px -10px rgba(63, 216, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(63, 216, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6); color: var(--on-accent); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--line); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(63, 216, 255, 0.5); background: rgba(255, 255, 255, 0.08); color: var(--text); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.text-link { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; text-decoration: none; color: var(--accent); }
.text-link:hover { color: #fff; }
.text-link .arrow { transition: transform .25s ease; }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.03em; }
.wordmark .tld { color: var(--accent); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 6px; list-style: none; }
.site-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); cursor: pointer; position: relative;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle .bars { top: 50%; margin-top: -1px; }
.nav-toggle .bars::before { top: -6px; margin: 0; left: 0; }
.nav-toggle .bars::after { top: 6px; margin: 0; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 20px clamp(20px, 4vw, 40px) 28px; background: rgba(7, 11, 22, 0.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a:not(.btn) { font-size: 1.1rem; padding: 12px 6px; border-radius: 10px; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; isolation: isolate; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.85; mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 40%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 40%, transparent 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2.6rem; color: var(--muted); font-size: 0.92rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.hero-visual { position: relative; }
.glass-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 60%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero-main { padding: 28px 28px 0; min-height: 430px; display: flex; flex-direction: column; }
.hero-main .card-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero-main h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 8px 0 0; max-width: 16ch; }
.hero-main img { margin: auto -10px -40px auto; width: min(100%, 520px); animation: float 9s ease-in-out infinite; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { font-size: 0.85rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); }
.hero-float {
  position: absolute; left: -36px; bottom: 36px; width: 230px; padding: 18px 20px; border-radius: 18px;
  background: rgba(12, 20, 40, 0.82); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); animation: float 7s ease-in-out infinite reverse;
}
.hero-float strong { display: block; font-family: var(--font-display); font-size: 0.98rem; margin-bottom: 4px; }
.hero-float p { margin: 0; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.hero-float .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5EF0A8; box-shadow: 0 0 10px #5EF0A8; margin-right: 8px; vertical-align: middle; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Cards / bento ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01) 70%);
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(63, 216, 255, 0.14), transparent 60%);
}
.card:hover { border-color: rgba(63, 216, 255, 0.28); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--muted); margin: 0; }
.icon-badge {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(63, 216, 255, 0.18), rgba(47, 107, 255, 0.10)); border: 1px solid rgba(63, 216, 255, 0.25);
  color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
}
.problem-card .num { font-family: var(--font-display); font-size: 0.85rem; color: var(--accent); letter-spacing: .08em; margin-bottom: 18px; display: block; }

.service-card { min-height: 360px; display: flex; flex-direction: column; }
.service-card .art { position: absolute; right: -70px; bottom: -50px; width: 52%; max-width: 330px; opacity: 0.9; transition: transform .6s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.service-card:hover .art { transform: translate(-6px, -8px) scale(1.03); }
.service-card .body { max-width: 74%; margin-top: auto; }
.service-card.wide .body { max-width: 62%; }
.service-card .body p { margin-bottom: 1.2rem; }
.service-card .art.hue { filter: hue-rotate(-25deg) saturate(1.05); }
.service-card .art.hue-2 { filter: hue-rotate(60deg) saturate(1.1); }
.service-card .art.flip { transform: scaleX(-1); right: -20px; width: 58%; }
.service-card .art.flip:hover { transform: scaleX(-1) translate(6px,-8px); }
.service-card .text-link { margin-top: auto; }


.service-tile { display: flex; flex-direction: column; gap: 18px; }
.service-tile .art { width: 100%; max-width: 360px; margin: 0 auto; }

.bento { grid-template-columns: repeat(12, 1fr); }
.bento .span-7 { grid-column: span 7; }
.bento .span-5 { grid-column: span 5; }
@media (max-width: 920px) { .bento .span-7, .bento .span-5 { grid-column: 1 / -1; } }

/* ---------- Steps ---------- */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 33px; left: 8%; right: 8%; height: 2px; background: var(--line); border-radius: 2px;
}
.steps::after {
  content: ""; position: absolute; top: 33px; left: 8%; height: 2px; width: calc(84% * var(--progress, 0));
  background: linear-gradient(90deg, var(--accent-strong), var(--accent)); box-shadow: 0 0 14px rgba(63, 216, 255, 0.6); border-radius: 2px;
}
.step { position: relative; z-index: 1; }
.step-dot {
  width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 26px;
  background: var(--bg-elevated); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; color: var(--muted);
  transition: border-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.step.is-active .step-dot { border-color: rgba(63, 216, 255, 0.55); color: var(--accent); box-shadow: 0 0 30px -6px rgba(63, 216, 255, 0.5); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); margin: 0; }
.step ul { list-style: none; margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.step li { padding: 6px 0 6px 20px; position: relative; }
.step li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--accent); }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.pillars { display: grid; gap: 14px; margin-top: 28px; }
.pillar { display: flex; gap: 16px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.pillar strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 2px; }
.pillar span { color: var(--muted); font-size: 0.97rem; }
.pillar .icon-badge { margin: 0; flex: none; width: 40px; height: 40px; border-radius: 12px; font-size: .8rem; }

.statement { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.2; letter-spacing: -0.03em; font-weight: 600; }
.statement .muted { color: #55627E; }

/* ---------- Showcase (honest placeholder) ---------- */
.showcase {
  position: relative; padding: clamp(32px, 5vw, 64px); border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px dashed rgba(63, 216, 255, 0.3);
  background: radial-gradient(60% 80% at 100% 0%, rgba(47, 107, 255, 0.18), transparent 60%), var(--surface);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.showcase .slot { aspect-ratio: 16 / 10; border-radius: 18px; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px), var(--bg-elevated); display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 20px; }
.showcase .slot img { width: 60%; opacity: .9; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 80px);
  text-align: center; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 50% 0%, rgba(63, 216, 255, 0.22), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(139, 108, 255, 0.22), transparent 60%), linear-gradient(180deg, #0C1830, #070B16);
}
.cta-band::after {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(closest-side, rgba(63, 216, 255, 0.25), transparent); pointer-events: none;
}
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band .lead { margin: 0 auto 2rem; }
.cta-band .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }

/* ---------- FAQ (native details) ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 0 24px; transition: border-color .3s ease, background .3s ease; }
.faq details[open] { border-color: rgba(63, 216, 255, 0.3); background: var(--surface-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .3s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 170px 0 clamp(56px, 8vw, 90px); overflow: hidden; isolation: isolate; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 0.4rem; }
.page-hero::after { content: ""; position: absolute; left: 50%; top: 0; width: 1000px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(47, 107, 255, 0.22), transparent); z-index: -1; pointer-events: none; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 600; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .req { color: var(--accent); }
.field input, .field textarea {
  font: inherit; color: var(--text); background: rgba(5, 9, 20, 0.6); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; min-height: 50px; width: 100%; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #69779A; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.18); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(63, 216, 255, 0.15); background: rgba(5, 9, 20, 0.85); }
.field [aria-invalid="true"] { border-color: #FF7A8A; box-shadow: 0 0 0 4px rgba(255, 122, 138, 0.12); }
.field .error { color: #FF9AA6; font-size: .88rem; min-height: 0; }
.field .error:empty { display: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-foot small { color: var(--muted); max-width: 40ch; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: .97rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: rgba(94, 240, 168, 0.08); border: 1px solid rgba(94, 240, 168, 0.35); color: #C9FBE3; }
.form-status.error { background: rgba(255, 122, 138, 0.08); border: 1px solid rgba(255, 122, 138, 0.35); color: #FFD3D9; }
.form-status.info { background: rgba(63, 216, 255, 0.07); border: 1px solid rgba(63, 216, 255, 0.3); color: #D5F6FF; }
.contact-points { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.contact-points li { display: flex; gap: 16px; align-items: flex-start; }
.contact-points strong { display: block; font-family: var(--font-display); }
.contact-points span { color: var(--muted); font-size: .97rem; }

/* ---------- Legal prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.draft-note { border: 1px solid rgba(255, 207, 92, 0.4); background: rgba(255, 207, 92, 0.07); color: #FFE7A8; border-radius: 14px; padding: 14px 18px; font-size: .95rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 88px); margin-top: clamp(40px, 6vw, 80px); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { max-width: 36ch; margin-top: 18px; font-size: .95rem; }
.tagline { font-family: var(--font-display); color: var(--text) !important; font-weight: 600; }
.footer-title { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--text); opacity: .85; }
.footer-links a:hover { color: var(--accent); opacity: 1; }
.social { display: flex; gap: 14px; list-style: none; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 28px 36px; margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.js .no-js-only { display: none; }
body:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 920px) {
  .hero { padding-top: 120px; min-height: auto; }
  .hero-grid, .split, .contact-layout, .showcase { grid-template-columns: 1fr; }
  .hero-float { left: 16px; bottom: 16px; width: 210px; }
  .hero-main { min-height: 0; }
  .hero-main img { width: min(100%, 380px); margin: 10px auto -30px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .service-card .body, .service-card.wide .body, .service-card.stacked .body { max-width: 70%; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card .art { position: relative; right: auto; bottom: auto; width: 80%; margin: 14px auto -8px; }
  .service-card .body, .service-card.wide .body, .service-card.stacked .body { max-width: none; }
  .hero-actions .btn, .form-foot .btn { width: 100%; }
  .showcase { padding: 28px; }
  .hero-float { display: none; }
  .page-hero { padding-top: 140px; }
  .site-header { }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
  .card { transform: none !important; }
  .hero-main img, .hero-float { animation: none; }
}
