/* Polaris Web: polarisweb.co.uk v1 */
:root {
  --navy: #10264A;
  --navy-soft: #2A3F63;
  --gold: #C8962E;
  --gold-dark: #A97C1F;
  --gold-light: #E2B65A;
  --cream: #FBF8F1;
  --cream-deep: #F3EDE0;
  --white: #FFFFFF;
  --line: #E4DCCB;
  --text: #10264A;
  --muted: #4A5A75;
  --radius: 14px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--gold-dark); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; text-align: center; }
  .logo img { height: 44px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 24px; border-radius: 999px; border: 2px solid var(--navy);
  background: var(--navy); color: var(--cream); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn-small { padding: 11px 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 600px) { section { padding: 64px 0; } }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  display: block;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 16px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.gold-text { color: var(--gold-dark); }

/* Hero */
.hero { padding: 88px 0 104px; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; }
.hero h1 .accent { color: var(--gold-dark); }
.hero .lead { margin: 24px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-star { justify-self: center; width: min(360px, 100%); aspect-ratio: 1; position: relative; }
.hero-star img { width: 100%; height: 100%; }
.hero-star::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  border: 1px dashed var(--line);
}
.hero-star::after {
  content: ""; position: absolute; inset: -6%; border-radius: 50%;
  border: 1px solid var(--line);
}
@media (max-width: 860px) {
  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-star { display: none; }
}

/* What I do */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise { padding: 32px 28px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.promise .num { font-size: 14px; font-weight: 600; color: var(--gold-dark); margin-bottom: 18px; display: block; }
.promise p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr; } }

/* Work */
.work-list { display: grid; gap: 72px; }
.work-item { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.work-item:nth-child(even) .browser { order: 2; }
.work-meta { font-size: 14px; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.work-item h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 14px; }
.work-item p { color: var(--muted); }
.work-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.work-link:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .work-item { grid-template-columns: 1fr; gap: 24px; }
  .work-item:nth-child(even) .browser { order: 0; }
}

.browser {
  display: block; text-decoration: none; color: inherit; transition: transform .2s;
  border-radius: 12px; overflow: hidden; background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16, 38, 74, .04), 0 18px 40px -18px rgba(16, 38, 74, .22);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--cream-deep); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9CFBC; display: block; }
.browser-bar .url { margin-left: 10px; font-size: 12.5px; color: var(--muted); background: var(--cream); padding: 3px 12px; border-radius: 999px; }
.browser-shot { aspect-ratio: 1894 / 876; max-width: 100%; background: var(--cream); position: relative; }
.browser-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: 15px; padding: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(200, 150, 46, .10), transparent 60%),
    var(--cream);
}
.shot-placeholder strong { display: block; color: var(--navy); font-size: 22px; letter-spacing: -0.01em; margin-bottom: 4px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
  background: var(--navy); color: var(--cream);
}
.step::after { content: ""; position: absolute; top: 20px; left: 52px; right: -8px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 18px; }
.step p { font-size: 15.5px; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 32px 64px; }
  .step::after { top: 48px; bottom: 8px; left: 20px; right: auto; width: 1px; height: auto; }
  .step:last-child { padding-bottom: 0; }
}

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.ticks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2B65A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks strong { display: block; }
.ticks span { color: var(--muted); font-size: 15.5px; }
.price-card { background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 40px 36px; }
.price-card h3 { color: var(--cream); font-size: 24px; margin-bottom: 12px; }
.price-card p { color: #D4DAE5; }
.price-card .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); margin-top: 8px; }
.price-card .btn:hover { background: var(--cream); border-color: var(--cream); }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; gap: 40px; } .price-card { padding: 32px 24px; } }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.why h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.why h3::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); flex: none; }
.why p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .why { padding-right: 0; } }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.about-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.about-facts li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.about-facts strong { display: block; font-size: 22px; letter-spacing: -0.01em; }
.about-facts span { color: var(--muted); font-size: 15px; }
.about-text p { font-size: 18px; }
.about-text .sign { color: var(--gold-dark); font-weight: 600; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about-facts { order: 2; } }

/* FAQ */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.book-card { background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 40px 36px; }
.book-card h3 { color: var(--cream); font-size: 26px; margin-bottom: 12px; }
.book-card p { color: #D4DAE5; }
.book-card .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); width: 100%; margin: 8px 0 28px; }
.book-card .btn:hover { background: var(--cream); border-color: var(--cream); }
.other-ways { list-style: none; padding: 24px 0 0; margin: 0; border-top: 1px solid rgba(251, 248, 241, .18); display: grid; gap: 14px; }
.other-ways a { color: var(--cream); text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.other-ways a:hover { color: var(--gold-light); }
.other-ways svg { width: 20px; height: 20px; color: var(--gold-light); flex: none; }
.reply-note { margin-top: 24px; font-size: 14.5px; color: #B9C2D3; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-card h3 { font-size: 22px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text);
  padding: 12px 14px; border: 1px solid #CFC5B1; border-radius: 10px; background: var(--cream);
  width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); background: var(--white); }
.hp { position: absolute; left: -9999px; }
.form-foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot small { color: var(--muted); font-size: 13.5px; flex: 1 1 240px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 15px; display: none; }
.form-status.ok { display: block; background: #EEF3EA; color: #2E4A25; }
.form-status.err { display: block; background: #F8ECE8; color: #7A2E1D; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .book-card { padding: 28px 22px; }
}

/* Footer */
.site-footer { background: var(--navy); color: #C9D0DC; padding: 56px 0 40px; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-start; }
.footer-inner img { height: 36px; width: auto; margin-bottom: 12px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; }
.footer-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(251, 248, 241, .14); font-size: 13.5px; color: #9AA6BA; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--navy); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.back { display: inline-flex; gap: 6px; font-weight: 600; text-decoration: none; margin-bottom: 32px; }

/* Gentle reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
a.browser:hover { transform: translateY(-3px); color: inherit; }

/* Plans (v2) */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan p { color: var(--muted); font-size: 15.5px; margin: 0; }
.plan .plan-price { color: var(--navy); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 4px 0 16px; font-variant-numeric: tabular-nums; }
.plan-price .from { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-right: 2px; }
.plan-price .per { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan-featured { background: var(--navy); border-color: var(--navy); color: var(--cream); box-shadow: 0 18px 40px -20px rgba(16, 38, 74, .45); }
.plan-featured h3, .plan-featured .plan-price { color: var(--cream); }
.plan-featured p, .plan-featured .plan-price .from, .plan-featured .plan-price .per { color: #D4DAE5; }
.plan-featured .plan-tag { color: var(--gold-light); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.plan-featured .btn { margin-top: auto; background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); align-self: flex-start; }
.plan-featured p:not(.plan-tag):not(.plan-price) { margin-bottom: 24px; }
.plan-featured .btn:hover { background: var(--cream); border-color: var(--cream); }
.plans-note { margin: 24px 0 0; color: var(--muted); font-size: 15.5px; max-width: 720px; }
.ticks-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan-featured { order: -1; } }
.plan { position: relative; padding-top: 48px; }
.plan-featured .plan-tag { position: absolute; top: 20px; left: 28px; margin: 0; }
.browser-shot img { position: absolute; inset: 0; z-index: 1; }
.work-item:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
@media (max-width: 860px) { .work-item:nth-child(even) { grid-template-columns: 1fr; } }

/* v3 */
[data-whatsapp="off"] .wa { display: none !important; }
#what .why-grid { border-top: 1px solid var(--line); }
.section-alt .form-card { background: var(--cream); }
.section-alt .form-card .field input, .section-alt .form-card .field select, .section-alt .form-card .field textarea { background: var(--white); }
.plans-extras { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15.5px; font-weight: 500; color: var(--navy); }
.plans-extras span { display: inline-flex; align-items: center; gap: 8px; }
.plans-extras span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.plan-featured .wa-inline { display: none; }

.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(251, 248, 241, 0.96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; padding: 15px 18px; }
  .wa-btn {
    flex: none; width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center; border: 2px solid var(--navy); color: var(--navy); background: transparent;
  }
  .wa-btn svg { width: 22px; height: 22px; }
  .site-footer { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .hero { padding: 40px 0 56px; }
  .section-head { margin-bottom: 32px; }
  .lead { font-size: 17px; }
  .work-list { gap: 48px; }
  .why { padding: 20px 0; }
  .step { padding-bottom: 24px; }
  .plans { gap: 16px; }
  .plan { padding: 40px 22px 24px; }
  .about-text p { font-size: 17px; }
  .about-facts li { padding: 14px 0; }
  .faq summary { padding: 18px 36px 18px 0; font-size: 17px; }
}

/* v4: How it works journey (filling bar, milestone burst) */
.journey { position: relative; --p: 1; }
.journey-bar { position: absolute; top: 22px; left: 25px; right: calc((100% - 80px) / 5 - 25px); height: 6px; border-radius: 6px; background: var(--line); }
.journey-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 60%, var(--gold) 100%); transition: width .15s linear; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.jnum {
  position: relative; z-index: 1; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
  background: var(--navy); color: var(--cream); box-shadow: 0 0 0 6px var(--white);
  transition: background .3s, color .3s, border-color .3s;
}
.jbody { margin-top: 24px; }
.jstep h3 { font-size: 19px; margin-bottom: 8px; }
.jstep p { font-size: 15.5px; color: var(--muted); margin: 0; }
.jstep-ms .jnum { width: 62px; height: 62px; margin-top: -6px; font-size: 22px; background: var(--gold); color: var(--navy); box-shadow: 0 0 0 6px var(--white), 0 10px 26px -8px rgba(200, 150, 46, .7); }
.jstep-ms .jbody { margin-top: 18px; }
.jtag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); background: var(--navy); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.jstep-ms h3 { font-size: 25px; }
.jstep-ms p { color: var(--navy); }

/* Not yet reached (only when the animation is running) */
.journey.animate .jstep:not(.on) .jnum { background: var(--white); color: var(--muted); border: 2px solid var(--line); box-shadow: 0 0 0 6px var(--white); }
.journey.animate .jstep-ms:not(.on) .jtag { opacity: .5; }

/* Gold burst */
.jburst { position: absolute; inset: 0; pointer-events: none; }
.jburst i { position: absolute; left: 50%; top: 50%; width: 4px; height: 16px; margin: -2px 0 0 -2px; border-radius: 3px; background: var(--gold); transform-origin: 2px 2px; transform: rotate(var(--a)) translateY(40px); }
.jburst i:nth-child(even) { height: 10px; background: var(--gold-light); }
.journey.animate .jburst i { opacity: 0; transform: rotate(var(--a)) translateY(22px) scaleY(.4); }
.journey.animate .jstep-ms.pop .jburst i { animation: jburst .9s ease-out forwards; }
.journey.animate .jstep-ms.pop .jnum { animation: jpop .6s ease-out; }
@keyframes jburst {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(22px) scaleY(.4); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: rotate(var(--a)) translateY(40px) scaleY(1); }
}
@keyframes jpop { 0% { transform: scale(.85); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* Phone: steps stack, bar runs down the left */
@media (max-width: 860px) {
  .journey-steps { grid-template-columns: 1fr; gap: 28px; }
  .jstep { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: start; }
  .jnum { justify-self: center; }
  .jbody, .jstep-ms .jbody { margin-top: 10px; }
  .jstep-ms .jnum { margin-top: 0; }
  .journey-bar { top: 25px; bottom: 25px; left: 28px; right: auto; width: 6px; height: auto; }
  .journey-fill { inset: 0 0 auto 0; width: 100%; height: calc(var(--p) * 100%); background: linear-gradient(180deg, var(--navy) 0%, var(--navy) 60%, var(--gold) 100%); transition: height .15s linear; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-fill { transition: none; }
  .journey .jburst i { animation: none !important; opacity: 1 !important; transform: rotate(var(--a)) translateY(40px) !important; }
}
@media (max-width: 860px) {
  .jburst i { transform: rotate(var(--a)) translateY(34px); }
  @keyframes jburst-m { 0% { opacity: 0; transform: rotate(var(--a)) translateY(20px) scaleY(.4); } 35% { opacity: 1; } 100% { opacity: 1; transform: rotate(var(--a)) translateY(34px) scaleY(1); } }
  .journey.animate .jstep-ms.pop .jburst i { animation-name: jburst-m; }
}

/* v6: step-by-step contact form */
.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; }
.form-intro { color: var(--muted); margin: 4px 0 0; }
.wizard { margin-top: 22px; }
.fstep { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.fstep legend { padding: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; line-height: 1.3; }
.fstep legend label { font: inherit; }
.fstep .opt, .wiz-sub .opt { font-weight: 400; color: var(--muted); font-size: .85em; }
.wiz-hi { display: none; }
.fstep input[type="text"], .fstep input[type="email"], .fstep input[type="tel"] {
  font: inherit; font-size: 17px; color: var(--text); width: 100%;
  padding: 14px 16px; border: 1px solid #CFC5B1; border-radius: 12px; background: var(--white);
}
.fstep input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.fstep input[aria-invalid="true"] { border-color: #B4533C; }
.wiz-sub { display: block; font-size: 14.5px; font-weight: 600; margin: 16px 0 6px; }
.wiz-help { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.wiz-error { margin: 10px 0 0; font-size: 14.5px; color: #9A3A24; font-weight: 500; }
.wiz-error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: 11px 16px; border: 1px solid #CFC5B1; border-radius: 999px;
  background: var(--white); font-size: 15.5px; font-weight: 500; line-height: 1.2;
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.wiz-progress { display: none; }
.wiz-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wiz-back, .wiz-skip { display: none; }
.wiz-next { display: none; }
.wiz-privacy { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }

/* Wizard mode (JavaScript on): one question at a time */
.is-wizard .fstep { display: none; margin-bottom: 22px; min-height: 120px; }
.is-wizard .fstep.active { display: block; animation: wizIn .25s ease; }
.is-wizard .wiz-hi { display: inline; }
.is-wizard .wiz-progress { display: block; margin-bottom: 22px; }
.wiz-bar { height: 6px; background: var(--cream-deep); border-radius: 999px; overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 16.66%; background: var(--gold); border-radius: 999px; transition: width .3s ease; }
.wiz-count { margin: 8px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.wiz-count b { font-weight: 600; }
.is-wizard .wiz-nav .wiz-send { display: none; }
.is-wizard .wiz-nav .wiz-next { display: inline-flex; }
.is-wizard.on-last .wiz-nav .wiz-next { display: none; }
.is-wizard.on-last .wiz-nav .wiz-send { display: inline-flex; }
.is-wizard.can-back .wiz-back { display: inline-block; }
.is-wizard.can-skip .wiz-skip { display: inline-block; }
.wiz-back, .wiz-skip {
  font: inherit; font-size: 15.5px; font-weight: 600; color: var(--navy); background: none; border: 0;
  padding: 12px 6px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.wiz-back:hover, .wiz-skip:hover { text-decoration-color: var(--gold); }
.wiz-back { order: -1; margin-right: auto; }
.wiz-nav .btn { min-width: 140px; justify-content: center; }
@keyframes wizIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .is-wizard .fstep.active { animation: none; } .wiz-bar span { transition: none; } }

.wiz-done { text-align: left; padding: 8px 0 4px; }
.wiz-done:focus { outline: none; }
.wiz-tick { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: grid; place-items: center; margin-bottom: 18px; }
.wiz-tick svg { width: 26px; height: 26px; }
.wiz-done h3 { font-size: 22px; margin-bottom: 10px; }
.wiz-done p { color: var(--muted); margin: 0 0 20px; }
@media (max-width: 600px) {
  .wiz-nav .btn { flex: 1; }
  .chip span { padding: 12px 15px; }
}
.reply-chips { margin-bottom: 4px; }
.is-wizard .reply-field { display: none; }
.is-wizard .reply-field.show { display: block; animation: wizIn .2s ease; }
@media (prefers-reduced-motion: reduce) { .is-wizard .reply-field.show { animation: none; } }
.about-text p.eyebrow { font-size: 13px; }
.work-cta { margin: 56px 0 0; text-align: center; font-size: 18px; color: var(--muted); }
.work-cta a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; text-decoration-thickness: 2px; margin-left: 4px; white-space: nowrap; }
.work-cta a:hover { color: var(--gold-dark); }
.plan-ask { margin-top: auto; padding-top: 20px; align-self: flex-start; font-size: 15.5px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.plan-ask:hover { color: var(--gold-dark); }
@media (max-width: 600px) { .work-cta { margin-top: 40px; font-size: 17px; } }
@media (max-width: 600px) { .plan-featured { padding-top: 50px; } .plan-featured .plan-tag { left: 22px; top: 20px; } }

/* Final touches (Nov 2026) */
/* Opening: text fades up in sequence, the star settles in and its ring turns slowly */
@keyframes heroUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes starIn { from { opacity: 0; transform: scale(.8) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes ringIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ringTurn { to { transform: rotate(360deg); } }
.hero-copy > * { animation: heroUp .5s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-star img { position: relative; z-index: 1; animation: starIn .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
.hero-star::before { border-color: rgba(200, 150, 46, .45); animation: ringIn .8s ease .45s both, ringTurn 90s linear infinite; }
.hero-star::after { animation: ringIn .8s ease .6s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-star img, .hero-star::before, .hero-star::after { animation: none; }
}
/* Phones and tablets: a small star in the top corner of the opening */
@media (max-width: 860px) {
  .hero-inner { position: relative; }
  .hero-star { display: block; position: absolute; top: -14px; right: 32px; width: 84px; }
}
@media (max-width: 600px) { .hero-star { top: -17px; right: 21px; width: 52px; } }
@media (max-width: 380px) { .hero .eyebrow { font-size: 12px; } }
@media (max-width: 350px) { .hero-star { display: none; } }

/* Buttons: a slight press when tapped */
.btn, .wa-btn, .chip span { -webkit-tap-highlight-color: transparent; }
.btn:active, .wa-btn:active { transform: scale(.97); }
.chip input:active + span, .chip:active span { transform: scale(.97); }
.chip span { transition: background .15s, border-color .15s, color .15s, transform .15s; }
@media (prefers-reduced-motion: reduce) { .btn:active, .wa-btn:active, .chip:active span { transform: none; } }

/* FAQs: answers slide open (main.js adds .faq-body) */
.faq-body { overflow: hidden; }
.faq details.closing summary::after { transform: rotate(45deg); margin-top: -8px; }

/* v7: November 2026 discount (html.nov is set in the page head until 1 December) */
html:not(.nov) .nov-only { display: none !important; }
html.nov .std-only { display: none !important; }
.nov-banner {
  display: flex; align-items: center; gap: 12px; margin: -24px 0 28px; padding: 14px 18px;
  background: #FBF1DC; border: 1px solid #EBD3A0; border-radius: 12px;
  color: var(--navy); font-size: 16px; line-height: 1.45; max-width: 760px;
}
.nov-banner strong { font-weight: 700; }
.nov-star { flex: none; width: 18px; height: 18px; background: var(--gold); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.nov-days { font-weight: 700; color: var(--gold-dark); margin-left: 6px; white-space: nowrap; }
.plan-deal {
  position: absolute; top: 18px; right: 20px; margin: 0 !important;
  font-size: 12px !important; font-weight: 700; letter-spacing: .04em; line-height: 1;
  padding: 6px 10px; border-radius: 999px; background: #FBF1DC; color: var(--gold-dark) !important; border: 1px solid #EBD3A0;
}
.plan-featured .plan-deal { background: rgba(226, 182, 90, .16); border-color: rgba(226, 182, 90, .45); color: var(--gold-light) !important; }
.plan .plan-price { margin-bottom: 6px; }
html:not(.nov) .plan .plan-price { margin-bottom: 16px; }
.plan .plan-was { font-size: 14.5px; margin: 0 0 16px; color: var(--muted); }
.plan .plan-was s { text-decoration-thickness: 1.5px; font-weight: 600; }
.plan-featured .plan-was { color: #B9C2D3; }
@media (max-width: 600px) {
  .nov-banner { margin: -12px 0 24px; font-size: 15px; padding: 12px 14px; align-items: flex-start; }
  .nov-star { margin-top: 2px; }
  .plan-deal { top: 16px; right: 16px; }
}
