/* Launchpoint: palette = navy #0F1B33, coral #C2452D (white text 5.0:1), cream #FBF6EF */

:root {
  --motion-fast: 160ms;   /* hovers, presses */
  --motion-base: 240ms;   /* small UI changes (picker result, call bar) */
  --motion-slow: 520ms;   /* scroll fade-ins */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Safety net: if a visitor asks for less motion, everything stops or becomes instant. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --navy: #0F1B33;
  --navy-2: #1B2C4E;
  --coral: #C2452D;
  --coral-dark: #A53823;
  --coral-light: #FFB4A2;
  --cream: #FBF6EF;
  --sand: #F1E7D8;
  --white: #fff;
  --ink: #0F1B33;
  --muted: #4A5568;
  --line: #E3D9C9;
  --radius: 16px;
  --hero-shade-rgb: 15, 27, 51;
  --hero-eyebrow: #FFB4A2;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .photo-hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--coral); transition: background var(--motion-fast) var(--ease-out); }
.btn:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-sm { white-space: nowrap; min-height: 44px; padding: 8px 12px; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.header-row { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.brand { color: #fff; font-weight: 800; font-size: 1.2rem; text-decoration: none; margin-right: auto; letter-spacing: -.02em; }
.menu-btn { min-height: 44px; min-width: 44px; padding: 8px 12px; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 8px 20px 20px; border-top: 1px solid rgba(255,255,255,.15); }
.site-nav.is-open { display: block; }
.site-nav a { display: flex; align-items: center; min-height: 48px; color: #fff; text-decoration: none; font-weight: 600; }
.site-nav a:hover { text-decoration: underline; }

/* Photo hero (motion-design snippet) */

.photo-hero {
  --shade: var(--hero-shade-rgb, 12, 26, 40);           /* overlay tint as R, G, B */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(82vh, 660px);
  padding: 72px 20px 64px;
  background: rgb(var(--shade));                         /* solid until the photo arrives */
  color: #fff;
}

/* Photo layer: taller than the hero so parallax never shows a gap. */
.photo-hero-media {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}
.photo-hero-media picture,
.photo-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.photo-hero-media img {
  object-fit: cover;
  object-position: var(--hero-focus, 50% 50%);
  animation:
    photo-reveal 900ms var(--ease-out, ease-out) both,
    photo-zoom 18s var(--ease-out, ease-out) both;
  transform-origin: var(--hero-focus, 50% 50%);
}
@keyframes photo-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes photo-zoom   { from { transform: scale(1); } to { transform: scale(1.07); } }

/* Overlay: always present, so text contrast never depends on the photo. Phones get an even tint. */
.photo-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), .78) 100%);
}

.photo-hero-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.photo-hero-content > * { max-width: 560px; }
.photo-hero-eyebrow {
  margin: 0 0 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hero-eyebrow, #ffd27a);
}
.photo-hero h1,
.photo-hero .photo-hero-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.photo-hero-sub {
  margin: 0 0 24px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .92);
}
.photo-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-hero .btn-on-photo {   /* scoped so a site's generic .btn styles can't override it */
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(2px);
}

@media (min-width: 768px) {
  .photo-hero { padding: 96px 32px; }
  /* Tablets and desktops: darker on the text side, lighter over the subject. */
  .photo-hero-overlay {
    background: linear-gradient(90deg, rgba(var(--shade), .84) 0%, rgba(var(--shade), .62) 45%, rgba(var(--shade), .18) 100%);
  }
  .photo-hero--text-right .photo-hero-overlay {
    background: linear-gradient(270deg, rgba(var(--shade), .84) 0%, rgba(var(--shade), .62) 45%, rgba(var(--shade), .18) 100%);
  }
  .photo-hero--text-right .photo-hero-content { display: flex; flex-direction: column; align-items: flex-end; }
  .photo-hero--text-right .photo-hero-content > * { width: 100%; }
}

/* No photo yet: clean brand gradient, no image and no motion.
   Flag "Needs photo" in the approval file whenever this is used. */

@media (prefers-reduced-motion: reduce) {
  .photo-hero-media { transform: none; }
  .photo-hero-media img { animation: none; opacity: 1; transform: none; }
}
.js .fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--motion-slow, 520ms) var(--ease-out, ease-out),
              transform var(--motion-slow, 520ms) var(--ease-out, ease-out);
}
.js .fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .fade-in { opacity: 1; transform: none; transition: none; }
}

.lift {
  transition: transform var(--motion-fast, 160ms) var(--ease-out, ease-out),
              box-shadow var(--motion-fast, 160ms) var(--ease-out, ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 30, 45, .14);
  }
}

.lift:focus-visible,
.lift:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 30, 45, .14);
}

.lift:active { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .lift, .lift:hover, .lift:focus-visible, .lift:focus-within, .lift:active { transform: none; }
}

.photo-hero { min-height: 0; padding: 56px 0 64px; }
.photo-hero-content { padding: 0 20px; }
.photo-hero-eyebrow { font-size: .8rem; letter-spacing: 0; text-transform: none; font-weight: 700; }
.photo-hero h1 { font-weight: 800; }
.photo-hero .btn-on-photo { min-height: 48px; padding: 12px 24px; border-radius: 999px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; }
.photo-hero .btn-on-photo:hover { background: rgba(255,255,255,.25); }
.photo-hero-overlay { background: rgba(var(--shade), .78); }

/* Sections */
.section { padding: 64px 0; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 40rem; }
.dark { background: var(--navy); color: #fff; }
.dark .section-lead { color: rgba(255,255,255,.85); }
.dark a:not(.btn) { color: var(--coral-light); }
.sand { background: var(--sand); }
.narrow { max-width: 760px; }
.cta-row { margin-top: 28px; }

.micro { margin-top: 20px; color: rgba(255,255,255,.85); }

/* Pricing */
.price-group { margin-top: 40px; }
.price-group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.price-card h4 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; }
.price { font-size: 2.5rem; font-weight: 800; line-height: 1.1; color: var(--navy); margin: 0 0 4px; letter-spacing: -.02em; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tag { display: inline-block; align-self: flex-start; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--navy); margin: 8px 0 12px; }
.price-card p:last-child { margin: 0; color: var(--muted); }
.terms { margin-top: 28px; color: var(--muted); max-width: 44rem; }

/* Samples */
.sample-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.sample-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.sample-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.label { display: inline-block; align-self: flex-start; font-size: .8rem; font-weight: 700; color: var(--navy); background: var(--sand); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.sample-body p { color: var(--muted); }
.sample-body .btn { margin-top: auto; align-self: flex-start; }

/* Contact */
.email-line { font-size: 1.25rem; font-weight: 700; word-break: break-word; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.88); padding: 48px 0 32px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; }
.f-brand { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
.legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: .875rem; }
.legal p { margin: 0 0 6px; }

@media (min-width: 768px) {
  html { scroll-padding-top: 80px; }
  .section { padding: 88px 0; }
  .wrap { padding: 0 32px; }
  .photo-hero { padding: 96px 0 104px; }
  .photo-hero-content { padding: 0 32px; }
  .photo-hero-overlay { background: linear-gradient(90deg, rgba(var(--shade), .9) 0%, rgba(var(--shade), .72) 55%, rgba(var(--shade), .35) 100%); }
  .photo-hero-eyebrow { font-size: .9rem; }
  .menu-btn { display: none; }
  .site-nav { order: 2; display: flex; position: static; background: none; padding: 0; border: 0; align-items: center; gap: 20px; }
  .site-nav a { min-height: 44px; }
  .header-row .btn-sm { order: 3; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .photo-hero-sub { max-width: 34rem; }
}
@media (max-width: 767px) {
  .photo-hero-actions .btn, .photo-hero-actions .btn-on-photo { flex: 1 1 100%; }
}
/* Hero note */
.photo-hero-note { margin: 16px 0 0; font-size: .95rem; color: rgba(255,255,255,.85); }

/* Problem: before/after */
.problem-grid { display: grid; gap: 36px; margin-top: 32px; align-items: start; }
.ba { margin: 0; background: var(--sand); border-radius: 24px; padding: 24px 14px 18px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; margin: 0 auto; }
.ba-col { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.ba-tag { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.ba-tag--before { background: #E2DCD2; color: #5A5148; }
.ba-tag--after { background: var(--coral); color: #fff; }
.phone { width: 100%; max-width: 230px; aspect-ratio: 9 / 17; background: #11182A; border-radius: 22px; padding: 7px; box-shadow: 0 14px 30px rgba(15,27,51,.22); container-type: inline-size; }
.scr { height: 100%; border-radius: 16px; overflow: hidden; }
.ba figcaption { margin: 18px auto 0; max-width: 30rem; text-align: center; font-size: .95rem; color: var(--muted); }

/* the outdated site */
.old { background: #F3F0E6; font-family: "Times New Roman", Times, serif; color: #333; padding: 5cqi 4cqi; font-size: 4.6cqi; line-height: 1.25; }
.old u { color: #1A0DAB; }
.old-banner { background: linear-gradient(#5B7FB8, #2F4E85); color: #FF0; text-align: center; font-weight: 700; font-size: 6cqi; padding: 2cqi; border: 2px ridge #9AB; }
.old-name { font-family: "Comic Sans MS", "Comic Sans", cursive; color: #8B0000; text-align: center; font-size: 6.4cqi; margin: 3cqi 0 2cqi; }
.old-links { font-size: 3.6cqi; text-align: center; word-spacing: -1px; margin-bottom: 3cqi; }
.old-alert { background: #FF0; color: #C00; font-weight: 700; text-align: center; font-size: 4cqi; padding: 1.5cqi; margin-bottom: 3cqi; }
.old-img { height: 22cqi; border: 1px dashed #999; display: flex; align-items: center; justify-content: center; color: #888; font-size: 3.6cqi; margin-bottom: 3cqi; }
.old-text { font-size: 3.6cqi; margin: 0 0 2cqi; }
.old-foot { font-size: 3cqi; color: #777; border-top: 1px solid #CCC; padding-top: 2cqi; margin-top: 2cqi; }

/* the modern site */
.new { background: #fff; font-family: inherit; color: var(--navy); display: flex; flex-direction: column; font-size: 5cqi; }
.new-bar { display: flex; align-items: center; justify-content: space-between; padding: 5cqi 6cqi; background: var(--navy); color: #fff; font-size: 5.6cqi; }
.new-burger { width: 8cqi; height: 6cqi; border-top: 2px solid #fff; border-bottom: 2px solid #fff; position: relative; }
.new-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid #fff; transform: translateY(-50%); }
.new-hero { padding: 8cqi 6cqi 6cqi; background: var(--cream); }
.new-h { font-weight: 800; font-size: 9cqi; line-height: 1.1; margin-bottom: 3cqi; letter-spacing: -.02em; }
.new-sub { font-size: 4.6cqi; color: var(--muted); margin-bottom: 6cqi; }
.new-btn { display: flex; align-items: center; justify-content: center; height: 14cqi; border-radius: 999px; font-weight: 800; font-size: 5.4cqi; margin-bottom: 3cqi; }
.new-btn--call { background: var(--coral); color: #fff; }
.new-btn--quote { border: 2px solid var(--navy); color: var(--navy); }
.new-list { padding: 6cqi; display: grid; gap: 4cqi; }
.new-list span { height: 11cqi; border-radius: 3cqi; background: var(--sand); }

.problems { margin: 0; padding: 0; list-style: none; counter-reset: pr; display: grid; gap: 12px; }
.problems li { counter-increment: pr; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 58px; color: var(--muted); }
.problems li::before { content: counter(pr); position: absolute; left: 16px; top: 15px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.problems strong { color: var(--ink); display: block; font-size: 1.05rem; margin-bottom: 2px; }
.problem-close { margin: 24px 0 0; font-size: 1.15rem; font-weight: 700; }

/* Offer */
.offer h2 { max-width: 20ch; }
.offer-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.offer-steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding-top: 24px; border-top: 2px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); font-size: 1.05rem; }
.offer-num { font-size: 4.5rem; font-weight: 800; line-height: .85; color: var(--coral-light); letter-spacing: -.04em; min-width: 1ch; }
.offer-steps strong { display: block; color: #fff; font-size: 1.25rem; line-height: 1.25; margin-bottom: 6px; }
.offer-pay { margin: 36px 0 0; font-size: 1.1rem; font-weight: 700; color: #fff; }
.offer-first { margin: 20px 0 0; padding: 16px 20px; border-radius: 14px; background: rgba(255,180,162,.12); border: 2px dashed var(--coral-light); color: #fff; max-width: 40rem; }
.offer-first strong { color: var(--coral-light); }
.offer-cta { margin: 32px 0 0; }
.offer-cta .btn { min-height: 56px; padding: 14px 32px; font-size: 1.1rem; }

/* Samples line, why list */
.after-cards { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-weight: 700; }
.why { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.why li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 54px; color: var(--muted); }
.why li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 18px; height: 10px; border-left: 3px solid var(--coral); border-bottom: 3px solid var(--coral); transform: rotate(-45deg); }
.why strong { display: block; color: var(--ink); font-size: 1.05rem; }
.local-line { margin-top: 24px; font-weight: 600; }

/* Price card details */
.pc-name { margin: 0 0 6px; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--coral-dark); }
.pc-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); }
.pc-list li { position: relative; padding-left: 22px; }
.pc-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(-45deg); }
.price-card .pc-fit { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.price-card .price { margin-top: 6px; }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-weight: 700; }
#prices .section-lead { color: var(--ink); }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); color: var(--navy); font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: transform var(--motion-fast) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--coral); color: #fff; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.faq-more { margin-top: 24px; }

@media (min-width: 768px) {
  .ba { padding: 32px 28px 24px; }
  .ba-pair { gap: 28px; }
  .offer-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .offer-steps li { grid-template-columns: 1fr; gap: 10px; align-content: start; }
  .offer-num { font-size: 6rem; }
  .why { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .problem-grid { grid-template-columns: 5fr 6fr; gap: 48px; }
  .ba { position: sticky; top: 96px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
