/* Ambitious Creations — Flash sheet theme. Dark-dominant parlor editorial. */

:root {
  --ink: #141013;
  --ink-deep: #0d0b0d;
  --ink-wash: #1b1518;
  --bone: #eadfc8;
  --bone-dim: rgba(234, 223, 200, 0.62);
  --bone-faint: rgba(234, 223, 200, 0.38);
  --line: rgba(234, 223, 200, 0.14);
  --red: #c23a30;
  --red-deep: #96291f;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Pirata One", "Georgia", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.44rem, 1.28rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);
  --step-5: clamp(2.6rem, 1.9rem + 3.5vw, 4rem);
  --step-6: clamp(3rem, 1.8rem + 6vw, 6rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--bone);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Eyebrows ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1.1rem;
}
.eyebrow-on-red { color: var(--ink-deep); }

/* ---------- Headings ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: var(--step-5); }
h2 em, h1 .accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
  letter-spacing: 0;
}
h3 {
  font-size: var(--step-2);
  letter-spacing: 0.01em;
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede {
  max-width: 60ch;
  color: var(--bone-dim);
  margin: 1rem 0 0;
  text-wrap: pretty;
}

.section { padding: clamp(5rem, 10vw, 8rem) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
  min-height: 52px;
}
.btn .icon { width: 1.1em; height: 1.1em; }

.btn-primary {
  background: var(--red);
  color: var(--bone);
  box-shadow: 0 10px 30px rgba(194, 58, 48, 0.28);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(234, 223, 200, 0.25) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 500ms var(--ease);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(194, 58, 48, 0.38);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

.btn-bone {
  background: var(--bone);
  color: var(--ink-deep);
}
.btn-bone:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13, 11, 13, 0.4); }

.btn-ghost-red {
  background: transparent;
  color: var(--ink-deep);
  border-color: rgba(13, 11, 13, 0.45);
}
.btn-ghost-red:hover {
  border-color: var(--ink-deep);
  transform: translateY(-3px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 11, 13, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45); }
.header-inner {
  width: min(1280px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  text-decoration: none;
  color: var(--bone);
  line-height: 1;
  white-space: nowrap;
}
.wordmark span { color: var(--red); }
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  text-decoration: none;
  color: var(--bone-dim);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  transition: color 160ms ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}
.site-nav a:hover { color: var(--bone); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
  padding: 0.6rem 1.1rem;
  border: 2px solid var(--red);
  border-radius: 5px;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
  white-space: nowrap;
}
.header-call .icon { width: 1.05em; height: 1.05em; color: var(--red); }
.header-call:hover { background: var(--red); transform: translateY(-2px); }
.header-call:hover .icon { color: var(--bone); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4.5rem, 7vw, 6rem);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 78% 30%, rgba(194, 58, 48, 0.16), transparent 70%),
    radial-gradient(50% 40% at 12% 82%, rgba(194, 58, 48, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}
.hero-inner {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.hero .eyebrow { margin-bottom: 1.4rem; }
.hero-title {
  font-size: clamp(4.2rem, 12vw, 10.5rem);
  margin: 0 0 1.6rem;
}
.hero-title .mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .mask > span { display: inline-block; }
.hero-sub {
  font-size: var(--step-1);
  color: var(--bone-dim);
  max-width: 44ch;
  margin: 0 0 2.2rem;
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--bone-faint);
}
.trust-row li { display: flex; align-items: center; gap: 1.4rem; }
.trust-row li + li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex: none;
  margin-left: -0.2rem;
}

.hero-flash {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  top: 50%;
  transform: translateY(-50%) rotate(5deg);
  width: clamp(150px, 17vw, 230px);
  margin: 0;
  z-index: 1;
}
.scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--bone-faint);
  z-index: 2;
  transition: color 160ms ease, transform 200ms var(--ease);
}
.scroll-cue svg { width: 26px; height: 26px; }
.scroll-cue:hover { color: var(--red); transform: translateX(-50%) translateY(4px); }

/* ---------- Flash frames (the motif) ---------- */
.flash-frame {
  position: relative;
  background: var(--ink-wash);
  border: 2px solid var(--line);
  border-radius: 4px;
  padding: 1.4rem 1.2rem 1rem;
  margin: 0;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.flash-frame:hover {
  transform: translateY(-6px) rotate(0deg) !important;
  border-color: var(--red);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}
.flash-frame .pin {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e0685e, var(--red-deep) 75%);
  box-shadow: 0 3px 6px rgba(0,0,0,0.6), inset 0 -2px 3px rgba(0,0,0,0.35);
}
.flash-frame figcaption {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-faint);
  text-align: center;
}
.flash-art { width: 100%; height: auto; }
.tilt-l { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2deg); }

/* ---------- Needle-line dividers ---------- */
.divider.needle { padding: 0; }
.divider.needle svg { width: 100%; height: 60px; }
.divider.flip svg { transform: scaleX(-1); }
.needle-path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
}
.js .needle-path { transition: stroke-dashoffset 1.6s var(--ease); }
.divider.inview .needle-path { stroke-dashoffset: 0; }
.js .needle-dot { opacity: 0; transition: opacity 400ms ease 1.4s; }
.divider.inview .needle-dot { opacity: 1; }

/* ---------- Pin-wipe transition ---------- */
.pin-wipe {
  position: relative;
  height: 74px;
  overflow: hidden;
  background: var(--ink-deep);
}
.pin-wipe-band {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}
.js .pin-wipe.inview .pin-wipe-band { animation: pinwipe 1s var(--ease) forwards; }
.pin-wipe-pin {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px; height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e0685e, var(--red-deep) 75%);
  box-shadow: 0 3px 8px rgba(0,0,0,0.6);
  opacity: 0;
}
.js .pin-wipe.inview .pin-wipe-pin { animation: pinride 1s var(--ease) forwards; }
@keyframes pinwipe {
  0% { transform: scaleX(0); transform-origin: left; }
  45% { transform: scaleX(1); transform-origin: left; }
  55% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes pinride {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  50% { left: calc(100% - 16px); opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 16px); opacity: 0; }
}

/* ---------- Services ---------- */
.services { background: var(--ink); }
.service-rows { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2.5rem;
  align-items: start;
  padding: clamp(1.8rem, 3.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(234,223,200,0.025), transparent);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.service-row:hover { border-color: rgba(194, 58, 48, 0.55); transform: translateY(-4px); }
.service-num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  opacity: 0.85;
}
.service-body h3 { margin-bottom: 0.8rem; font-size: var(--step-3); }
.service-body p { color: var(--bone-dim); max-width: 56ch; margin: 0 0 1.3rem; text-wrap: pretty; }
.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
.service-tags li {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  color: var(--bone-dim);
  transition: border-color 160ms ease, color 160ms ease;
}
.service-row:hover .service-tags li { border-color: rgba(194,58,48,0.5); color: var(--bone); }
.service-row .flash-frame { max-width: 230px; width: 100%; }

.honest-note {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--red);
  background: var(--ink-deep);
  border-radius: 0 6px 6px 0;
  color: var(--bone-dim);
  max-width: 70ch;
}
.honest-note a { color: var(--red); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); }
.honest-note a:hover { color: var(--bone); border-color: var(--bone); }

/* ---------- Flash wall band (Ken Burns) ---------- */
.flash-wall {
  background: var(--ink-deep);
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}
.flash-wall-inner { overflow: hidden; }
.flash-track {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  width: max-content;
  padding: 1.2rem 4vw 2rem;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: translateX(0) scale(1); }
  to { transform: translateX(-6%) scale(1.06); }
}
.wall-frame {
  position: relative;
  flex: 0 0 clamp(180px, 20vw, 260px);
  background: var(--ink-wash);
  border: 2px solid var(--line);
  border-radius: 4px;
  padding: 1.1rem 1rem 0.8rem;
  margin: 0;
}
.wall-frame .pin {
  position: absolute;
  top: -9px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e0685e, var(--red-deep) 75%);
  box-shadow: 0 3px 6px rgba(0,0,0,0.6);
}
.wall-frame:nth-child(odd) { transform: rotate(-2deg); }
.wall-frame:nth-child(even) { transform: rotate(2.5deg); }
.wall-caption {
  text-align: center;
  color: var(--bone-faint);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin: 0.5rem 0 0;
  padding: 0 1.5rem;
}

/* ---------- Proof ---------- */
.proof { background: var(--ink); }
.proof-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 900px;
}
.proof-card { padding: 2.2rem 2rem 1.8rem; }
.proof-card.tilt-l { transform: rotate(-1.5deg); }
.proof-card.tilt-r, .proof-frames .proof-card:last-child { transform: rotate(1.5deg); }
.proof-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1rem;
}
.proof-date {
  font-family: var(--font-display);
  font-size: var(--step-3);
  margin: 0 0 0.4rem;
  color: var(--bone);
}
.proof-source { color: var(--bone-dim); font-size: 0.95rem; margin: 0 0 1rem; }
.proof-note { color: var(--bone-faint); font-size: 0.92rem; margin: 0; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ---------- Process ---------- */
.process { background: var(--ink-deep); }
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.process-steps li {
  background: var(--ink-deep);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: background 200ms var(--ease);
}
.process-steps li:hover { background: var(--ink-wash); }
.process-steps li:hover .step-num { color: var(--red); -webkit-text-stroke: 0; }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--bone-faint);
  margin-bottom: 1.1rem;
  transition: color 200ms ease;
}
.process-steps h3 { margin-bottom: 0.7rem; }
.process-steps p { color: var(--bone-dim); font-size: 0.95rem; margin: 0; text-wrap: pretty; }

/* ---------- Service area ---------- */
.area {
  background: var(--ink);
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--line);
}
.area-inner { max-width: 820px; }
.area h2 { margin-bottom: 1rem; }
.area-address {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--red);
  margin: 0 0 1.2rem;
  letter-spacing: 0.02em;
}
.area-copy { color: var(--bone-dim); max-width: 62ch; margin: 0 0 2.2rem; text-wrap: pretty; }
.area-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--ink-deep); }
.faq-narrow { max-width: 820px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 700;
  text-align: left;
  padding: 1.5rem 0.25rem;
  cursor: pointer;
  transition: color 160ms ease, padding-left 200ms var(--ease);
}
.faq-q:hover { color: var(--red); padding-left: 0.75rem; }
.faq-q svg {
  width: 22px; height: 22px;
  flex: none;
  color: var(--red);
  transition: transform 250ms var(--ease);
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p {
  margin: 0;
  padding: 0 0.25rem 1.7rem;
  color: var(--bone-dim);
  max-width: 64ch;
  text-wrap: pretty;
}
.js .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 350ms var(--ease);
}
.js .faq-a > p { overflow: hidden; }
.js .faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--red);
  color: var(--bone);
  padding: clamp(5rem, 11vw, 9rem) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 60% at 50% 40%, rgba(13, 11, 13, 0.28), transparent 70%);
  pointer-events: none;
}
.final-inner { position: relative; text-align: center; max-width: 900px; }
.final-cta h2 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--bone);
  margin-bottom: 1rem;
}
.final-cta h2 em { color: var(--ink-deep); }
.final-copy { color: rgba(234, 223, 200, 0.85); font-size: var(--step-1); margin: 0 0 1.6rem; }
.final-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 1;
  color: var(--bone);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  margin-bottom: 2.2rem;
  transition: transform 200ms var(--ease), letter-spacing 300ms var(--ease);
}
.final-phone:hover { transform: scale(1.03); letter-spacing: 0.02em; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.final-address { color: rgba(13, 11, 13, 0.75); font-weight: 600; font-size: 0.95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 5.5rem;
}
.footer-inner { text-align: center; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bone);
  margin: 0 0 0.6rem;
}
.footer-facts { color: var(--bone-faint); font-size: 0.9rem; margin: 0; }
.footer-facts a { color: var(--bone-dim); text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-facts a:hover { color: var(--red); border-color: var(--red); }

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 120;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--red);
  color: var(--bone);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
  font-variant-numeric: tabular-nums;
}
.mobile-callbar .icon { width: 1.2em; height: 1.2em; }

/* ---------- Scroll reveals ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 550ms var(--ease), transform 550ms var(--ease);
}
.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Hero entrance ---------- */
.js .hero-eyebrow { opacity: 0; animation: fadein 600ms var(--ease) 100ms forwards; }
.js .hero-title .mask > span { transform: translateY(110%); animation: rise 700ms var(--ease) forwards; }
.js .hero-title .mask:nth-child(1) > span { animation-delay: 200ms; }
.js .hero-title .mask:nth-child(2) > span { animation-delay: 290ms; }
.js .hero-sub { opacity: 0; animation: fadein 600ms var(--ease) 480ms forwards; }
.js .hero-ctas { opacity: 0; animation: fadeinrise 600ms var(--ease) 600ms forwards; }
.js .trust-row { opacity: 0; animation: fadein 600ms var(--ease) 740ms forwards; }
.js .hero-flash { opacity: 0; animation: fadein 800ms var(--ease) 700ms forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadein { to { opacity: 1; } }
@keyframes fadeinrise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .service-row { grid-template-columns: auto 1fr; }
  .service-row .flash-frame { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .hero-flash { display: none; }
  .hero-inner { max-width: none; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .header-call span { display: none; }
  .header-call { padding: 0.65rem 0.8rem; }
  .header-call .icon { width: 1.25em; height: 1.25em; }
  .mobile-callbar { display: inline-flex; }
  .site-footer { padding-bottom: 7.5rem; }
  .hero { min-height: calc(100svh - 58px); align-items: flex-start; padding-top: clamp(2.5rem, 8vw, 4rem); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .proof-frames { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .area-ctas .btn, .final-ctas .btn { flex: 1 1 100%; }
  .flash-track { animation-duration: 18s; }
}

@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;
  }
  .js [data-reveal],
  .js .hero-eyebrow, .js .hero-sub, .js .hero-ctas, .js .trust-row, .js .hero-flash { opacity: 1 !important; }
  .js .hero-title .mask > span { transform: none !important; }
  .js .needle-path { stroke-dashoffset: 0 !important; }
  .js .needle-dot { opacity: 1 !important; }
  .flash-track { animation: none !important; }
  .pin-wipe-band, .pin-wipe-pin { display: none; }
}
