/* AgentEdge Solutions — navy + gold, clean premium agent-focused.
   Foundation: Wael's Lovable build (light, professional, card-based);
   tightened spacing, one accent color, real hierarchy. */

/* Self-hosted fonts (all SIL Open Font License 1.1) — variable woff2,
   so the design renders identically everywhere, online or off. The
   Google Fonts link in base.html stays only as an enhancement;
   these local faces are the source of truth. */
@font-face{font-family:'Dancing Script';
  src:url('../fonts/dancing-script.woff2') format('woff2');
  font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:Inter;
  src:url('../fonts/inter.woff2') format('woff2');
  font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:Sora;
  src:url('../fonts/sora.woff2') format('woff2');
  font-weight:400 800;font-style:normal;font-display:swap}

:root{
  --navy:#0a1e3c; --navy2:#10294f; --ink:#16233a; --muted:#5a6a84;
  --gold:#d98a16; --gold2:#f2b33d; --bg:#f6f8fb; --card:#ffffff;
  --line:#dde4ee; --ok:#0d7a43; --err:#b3261e;
  --radius:16px; --shadow:0 14px 34px rgba(10,30,60,.12);
}
*{box-sizing:border-box}
img{height:auto}
/* Wael fix batch (2026-11-05): this used to request smooth
   scrolling — every fragment jump (service boxes, consult
   CTAs) glided through all the content in between before
   landing. Anchor jumps are instant now; base.html also
   forces instant jumps for same-page hash links. */
html{scroll-behavior:auto}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.6}
h1,h2,h3{font-family:Sora,Inter,sans-serif;color:var(--navy);
  line-height:1.2;margin:0 0 .5em}
h2{font-size:2.05rem} h3{font-size:1.15rem}
a{color:var(--navy2)} a:hover{color:var(--gold)}
.section{max-width:1160px;margin:0 auto;padding:76px 24px}
.section-sub{color:var(--muted);max-width:720px;font-size:1.06rem}
.band{background:#eaf0f8;border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);max-width:none}
.band>*{max-width:1160px;margin-left:auto;margin-right:auto}
.band h2,.band .section-sub{padding:0}
.band{padding-left:24px;padding-right:24px}
.kicker{text-transform:uppercase;letter-spacing:.2em;font-size:.8rem;
  font-weight:700;color:var(--gold);margin:0 0 6px}
.fineprint{font-size:.86rem;color:var(--muted)}
.prose p{max-width:760px}

/* header */
/* Alignment fix (2026-11-06): the bar used to be translucent —
   rgba(255,255,255,.94) with an UNPREFIXED backdrop-filter. iOS
   Safari before v18 ignores the unprefixed filter, so on phones
   the blur never ran and page text scrolling under the sticky
   bar stayed legible THROUGH it — lines of copy visibly collided
   with the header above the customize preview ("crooked").
   The bar is now fully opaque (it already read as white) with
   the prefixed filter kept for engines that support it, so
   nothing can bleed through in any browser, mid-scroll or not. */
.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;
  justify-content:space-between;gap:16px;padding:12px 24px;
  background:#fff;-webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:9px;font-family:Sora,sans-serif;
  font-weight:800;font-size:1.22rem;color:var(--navy);text-decoration:none}
.brand span{color:var(--gold)}
/* Primary logo lockup (Wael's official AES logo, Phase 1.5): the
   artwork is a wide navy lockup — fixed height, natural aspect,
   softened corners so the navy plaque sits cleanly on the white
   header and blends into the navy footer. Never stretch it. */
.brand-logo{display:block;height:auto;max-height:48px;width:auto;
  max-width:100%;border-radius:8px}
.brand-logo-footer{max-height:58px}
.site-header nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.site-header nav a{color:var(--ink);text-decoration:none;font-weight:500;
  font-size:.96rem}
.site-header nav a:hover{color:var(--gold)}

/* buttons */
.btn{display:inline-block;padding:12px 24px;border-radius:10px;border:0;
  font:600 .98rem Inter,sans-serif;cursor:pointer;text-decoration:none;
  transition:transform .06s ease, box-shadow .2s ease}
.btn:active{transform:translateY(1px)}
.btn-gold{background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#231600;box-shadow:0 6px 16px rgba(217,138,22,.35)}
.btn-gold:hover{color:#231600;box-shadow:0 8px 22px rgba(217,138,22,.45)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{color:#fff;background:var(--navy2)}
.btn-ghost{border:1.5px solid rgba(255,255,255,.75);color:#fff;background:transparent}
.btn-ghost:hover{color:#fff;border-color:#fff}
.btn-ghost-dark{border:1.5px solid var(--navy);color:var(--navy);background:transparent}
.btn-ghost-dark:hover{color:var(--gold)}
.btn-small{padding:8px 14px;background:var(--navy);color:#fff !important}

/* hero */
.hero{background:radial-gradient(1100px 500px at 85% -10%,#1d4076 0,
  transparent 60%),linear-gradient(160deg,var(--navy) 0%,var(--navy2) 70%);
  color:#e8eefb}
.hero-inner{max-width:1160px;margin:0 auto;padding:84px 24px 76px;
  display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}
.hero-img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;
  box-shadow:0 24px 50px rgba(0,0,0,.35);display:block}
.hero h1{color:#fff;font-size:clamp(2.2rem,5vw,3.4rem);max-width:760px}
.hero-sub{font-size:1.15rem;max-width:680px;color:#c6d3ea}
.pilot-pill{display:inline-block;background:rgba(242,179,61,.16);
  border:1px solid rgba(242,179,61,.55);color:#ffd98a;border-radius:999px;
  padding:6px 14px;font-size:.88rem;font-weight:600;margin:0 0 22px}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin:26px 0 14px}
.pilot-note{font-weight:600;color:var(--navy);max-width:720px;
  margin:12px 0 0}
.page-hero{background:linear-gradient(160deg,var(--navy),var(--navy2));
  color:#dbe5f5;padding:56px 24px}
.page-hero h1{color:#fff;max-width:1160px;margin:0 auto 10px;
  font-size:clamp(1.8rem,4vw,2.6rem)}
.page-hero p{max-width:1160px;margin:0 auto;color:#c6d3ea}
.page-hero .form-error{max-width:1160px;margin:14px auto 0}

/* cards */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:18px;margin-top:28px}
.card-grid.cols-3{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.card-grid.cols-2{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.svc-card{display:block;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:24px;text-decoration:none;color:var(--ink);
  box-shadow:0 2px 8px rgba(10,30,60,.04);transition:box-shadow .2s,transform .15s}
.svc-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);color:var(--ink)}
.svc-card h3{margin-top:10px}
.svc-img{width:100%;height:158px;object-fit:cover;border-radius:10px;
  display:block}
.svc-line-img{width:100%;height:280px;object-fit:cover;
  border-radius:var(--radius);box-shadow:var(--shadow);display:block;
  margin:4px 0 26px}
.ari-img{width:100%;border-radius:16px;box-shadow:var(--shadow);
  display:block;margin-top:20px}
.svc-card p{color:var(--muted);margin:0;font-size:.95rem}
.svc-ic{font-size:1.7rem}
.mini-card{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:22px;
  box-shadow:0 2px 8px rgba(10,30,60,.04)}
.mini-card p{color:var(--muted);margin:0;font-size:.96rem}

/* steps */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:18px;margin-top:28px}
.step{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:22px}
.step-num{width:38px;height:38px;border-radius:50%;display:grid;
  place-items:center;font:700 1.05rem Sora,sans-serif;color:#231600;
  background:linear-gradient(135deg,var(--gold2),var(--gold));margin-bottom:12px}
.step p{color:var(--muted);margin:0;font-size:.95rem}

/* Ari feature */
.ari-wrap{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start}
.ari-card{background:var(--navy);border-radius:18px;padding:22px;
  box-shadow:var(--shadow)}
.ari-msg{border-radius:12px;padding:10px 14px;margin:0 0 10px;font-size:.94rem;
  max-width:88%}
.ari-bot{background:#fff;color:var(--ink)}
.ari-user{background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#231600;margin-left:auto}
.ari-caption{color:#9db1d2;font-size:.82rem;margin:4px 0 0}

/* FAQ */
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}
.faq-item{background:var(--card);border:1px solid var(--line);
  border-radius:12px;padding:14px 18px}
.faq-item summary{font-weight:600;cursor:pointer;color:var(--navy)}
.faq-item p{color:var(--muted);margin:.6em 0 0;font-size:.95rem}

/* forms */
.consult-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;
  max-width:820px;margin-top:22px}
.consult-form.single{grid-template-columns:1fr;max-width:none}
.consult-form label{display:flex;flex-direction:column;gap:6px;
  font-weight:600;font-size:.92rem;color:var(--navy)}
.consult-form label.full{grid-column:1/-1}
.consult-form input,.consult-form select,.consult-form textarea{
  padding:11px 12px;border:1px solid var(--line);border-radius:10px;
  font:400 .98rem Inter,sans-serif;background:#fff;color:var(--ink)}
.consult-form button{justify-self:start}
.consult-form .fineprint{grid-column:1/-1}
.form-ok{background:#e5f5ec;border:1px solid #9fd8b6;color:var(--ok);
  border-radius:10px;padding:12px 16px;max-width:820px}
.form-error{background:#fdecea;border:1px solid #f2b8b3;color:var(--err);
  border-radius:10px;padding:12px 16px;max-width:820px}

/* services */
.svc-line{border-bottom:1px solid var(--line)}
.other-services{background:#f4f8fc;border-top:1px solid var(--line)}
.other-services-head{padding-bottom:0}
.other-services .svc-line{border-bottom:none}
.line-note{color:var(--muted);max-width:820px;background:#fff;
  border-left:4px solid var(--gold);padding:12px 16px;border-radius:0 10px 10px 0}
.line-addon{color:var(--muted);max-width:820px}
.line-sample{font-weight:600;color:var(--navy)}
.tier-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;margin:26px 0 8px}
.tier{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:24px;position:relative;display:flex;
  flex-direction:column}
.tier.popular{border:2px solid var(--gold);box-shadow:var(--shadow)}
.tier-badge{position:absolute;top:-13px;left:20px;background:linear-gradient(
  135deg,var(--gold2),var(--gold));color:#231600;font-weight:700;
  font-size:.78rem;padding:4px 12px;border-radius:999px}
.tier-price{font:800 2rem Sora,sans-serif;color:var(--navy);margin:.1em 0 .5em}
.tier-price span{font:500 .95rem Inter,sans-serif;color:var(--muted)}
.tier ul{margin:0 0 18px;padding-left:18px;color:var(--muted);
  font-size:.94rem;flex:1}
.tier li{margin-bottom:6px}

/* store */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;margin:0 0 34px}
.cat-card{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden}
a.cat-card{display:block;text-decoration:none;color:var(--ink);
  box-shadow:0 2px 8px rgba(10,30,60,.04);transition:box-shadow .2s,transform .15s}
a.cat-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);
  color:var(--ink)}
.cat-card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block}
.cat-card div{padding:16px 20px 18px}
.cat-card h3{margin-bottom:4px}
.cat-card p{color:var(--muted);font-size:.94rem;margin:0}
.product-card{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:24px;display:flex;flex-direction:column}
.product-card .product-kind{text-transform:uppercase;letter-spacing:.1em;
  font-size:.74rem;font-weight:700;color:var(--gold);margin:0}
.product-contents{font-weight:600;color:var(--navy);margin:.2em 0 .5em}
.product-card p{color:var(--muted);font-size:.95rem}
.product-price{font:800 1.6rem Sora,sans-serif;color:var(--navy) !important;
  margin-top:auto}
.product-price span{font:500 .9rem Inter,sans-serif;color:var(--muted)}
.product-price s{color:var(--muted);font-size:1.1rem}
.save-tag{background:#e5f5ec;color:var(--ok);border-radius:999px;
  padding:2px 10px;font-size:.75rem !important;font-weight:700}
.store-note{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:26px;margin-top:30px;max-width:860px}
.store-note p{color:var(--muted)}
.cat-count{font-weight:700;color:var(--gold) !important}
/* free-tool card (Pre-Qualify a Client) — mirrors Wael's card:
   wide card, photo, title, one-liner, orange CTA */
.tool-card{display:flex;gap:0;background:var(--card);
  border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;margin-top:28px;max-width:860px}
.tool-card img{width:42%;min-height:220px;object-fit:cover;display:block}
.tool-card-body{padding:26px 30px;display:flex;flex-direction:column;
  align-items:flex-start;justify-content:center;gap:4px}
.tool-card-body p{color:var(--muted);margin:0 0 14px}
.tool-card-body .kicker{margin:0}
@media(max-width:700px){.tool-card{flex-direction:column}
  .tool-card img{width:100%;min-height:0;height:190px}}

/* calculator */
.calc-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:920px}
.calc-form fieldset{border:1px solid var(--line);border-radius:var(--radius);
  background:var(--card);padding:20px;display:flex;flex-direction:column;gap:12px}
.calc-form legend{font:700 1rem Sora,sans-serif;color:var(--navy);padding:0 8px}
.calc-form label{display:flex;flex-direction:column;gap:5px;font-weight:600;
  font-size:.9rem;color:var(--navy)}
.calc-form input,.calc-form select{padding:10px 12px;border:1px solid var(--line);
  border-radius:10px;font:400 .97rem Inter,sans-serif}
.calc-form button{grid-column:1/-1;justify-self:start}
.calc-result{background:var(--card);border:2px solid var(--gold);
  border-radius:var(--radius);padding:26px;margin-top:30px;max-width:920px;
  box-shadow:var(--shadow)}
.result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;margin:16px 0}
.result-grid>div{background:var(--bg);border-radius:10px;padding:12px 14px}
.result-grid span{display:block;font-size:.8rem;color:var(--muted);
  text-transform:uppercase;letter-spacing:.06em}
.result-grid strong{font:700 1.25rem Sora,sans-serif;color:var(--navy)}
.result-total{border:2px solid var(--gold)}
.verdict{border-radius:10px;padding:12px 16px;font-weight:600}
.verdict-strong{background:#e5f5ec;color:var(--ok)}
.verdict-workable{background:#fdf3e0;color:#8a5a00}
.verdict-stretch{background:#fdecea;color:var(--err)}

/* contact / auth / account */
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:40px}
.contact-block{margin-bottom:20px}
.contact-block h3{margin-bottom:2px}
.contact-block p{margin:0;color:var(--muted)}
.auth-grid,.account-grid{display:grid;grid-template-columns:1fr 1fr;
  gap:22px;align-items:start}
.account-grid{grid-template-columns:.9fr 1.4fr}
.auth-card{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:26px}
.profile-list{display:grid;grid-template-columns:auto 1fr;gap:4px 18px}
.profile-list dt{font-weight:600;color:var(--navy)}
.profile-list dd{margin:0;color:var(--muted)}
.orders-table{width:100%;border-collapse:collapse;font-size:.92rem}
.orders-table th,.orders-table td{border-bottom:1px solid var(--line);
  padding:8px 6px;text-align:left;vertical-align:top}
.status{border-radius:999px;padding:2px 10px;font-size:.78rem;font-weight:700;
  background:#eef2f8;color:var(--navy)}
.status-paid{background:#e5f5ec;color:var(--ok)}

/* legal */
.legal-body h1{font-size:2rem}
.legal-body h2{font-size:1.3rem;margin-top:1.4em}
.legal-body p,.legal-body li{color:#33445e;max-width:820px}
blockquote{border-left:4px solid var(--gold);margin:0;padding:4px 16px;
  color:var(--muted)}

/* footer */
.site-footer{background:var(--navy);color:#b9c8de;padding:44px 24px 26px;
  margin-top:0}
.footer-grid{max-width:1160px;margin:0 auto;display:flex;gap:40px;
  flex-wrap:wrap;justify-content:space-between}
.site-footer strong{color:#fff}
.site-footer a{color:#d7e2f2}
.footer-links{display:flex;flex-direction:column;gap:6px}
.copyright{max-width:1160px;margin:24px auto 0;font-size:.85rem;color:#8298b5}

/* chat widget */
#chat-widget{position:fixed;right:18px;bottom:18px;z-index:100}
#chat-launcher{background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#231600;border:0;border-radius:999px;padding:13px 20px;
  font:700 .98rem Inter,sans-serif;cursor:pointer;
  box-shadow:0 10px 24px rgba(10,30,60,.35)}
#chat-panel{position:absolute;right:0;bottom:60px;width:min(380px,92vw);
  background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(10,30,60,.35);
  overflow:hidden;display:flex;flex-direction:column}
#chat-panel[hidden]{display:none}
.chat-head{background:var(--navy);color:#fff;padding:13px 16px;
  font:700 1rem Sora,sans-serif;display:flex;align-items:center;gap:6px}
.chat-head span{font:500 .8rem Inter,sans-serif;color:#b9c8de}
.chat-head button{margin-left:auto;background:none;border:0;color:#fff;
  font-size:1.3rem;cursor:pointer}
#chat-log{padding:14px;max-height:330px;overflow-y:auto;display:flex;
  flex-direction:column;gap:9px}
.chat-msg{border-radius:12px;padding:9px 12px;font-size:.92rem;
  white-space:pre-wrap;max-width:88%}
.chat-bot{background:#eef2f8;color:var(--ink);align-self:flex-start}
.chat-user{background:var(--navy);color:#fff;align-self:flex-end}
.chat-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}
.chat-chips button{border:1px solid var(--line);background:#fff;
  border-radius:999px;padding:5px 11px;font-size:.8rem;cursor:pointer}
.chat-chips button:hover{border-color:var(--gold)}
#chat-form{display:flex;border-top:1px solid var(--line)}
#chat-input{flex:1;border:0;padding:12px;font:400 .95rem Inter,sans-serif}
#chat-input:focus{outline:none}
#chat-form button{background:var(--navy);color:#fff;border:0;padding:0 18px;
  font-weight:600;cursor:pointer}

/* print: calculator result page prints clean */
@media print{
  .site-header,.site-footer,#chat-widget,.calc-form,.page-hero{display:none}
}

@media (max-width:860px){
  .hero-inner{grid-template-columns:1fr;padding:56px 18px}
  .svc-line-img{height:200px}
  .ari-wrap,.contact-grid,.auth-grid,.account-grid,.faq-grid{
    grid-template-columns:1fr}
  .calc-form,.consult-form{grid-template-columns:1fr}
  .section{padding:44px 18px}
  .hero-inner{padding:56px 18px}
}

/* ============================================================
   Design v2 — Wael's samples (2026-10-24): pill buttons, photo
   hero, 6-card services row, navy stats band, why-choose split,
   quote band, testimonial cards, footer CTA. Sample 2 wins
   where the two samples differ. */
.btn{border-radius:999px}
.btn-small{padding:9px 18px}
.site-header .btn-small{background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#231600 !important;box-shadow:0 6px 16px rgba(217,138,22,.35)}

/* brand lockup */
.brand-lines{display:flex;flex-direction:column;line-height:1.08}
.brand .brand-l1{font:800 1.16rem Sora,sans-serif;color:var(--navy);
  letter-spacing:.05em}
.brand .brand-l2{font:700 .66rem Sora,sans-serif;color:var(--gold);
  letter-spacing:.46em}
.brand-light .brand-l1{color:#fff}
.brand-light .brand-l2{color:var(--gold2)}

/* header layout — brand left; the nav menu is CENTERED in the
   remaining header space (Wael 2026-10-29: it was cramped against
   the far right); the gold Get Started pill stays at the right
   edge. Mobile gets a single clean row: logo, gold Get Started
   pill, hamburger toggle. */
.header-right{display:flex;align-items:center;gap:18px;flex:1}
.site-header nav{flex:1;justify-content:center}
.nav-toggle{display:none;width:42px;height:42px;flex:none;
  place-items:center;border:1px solid var(--line);border-radius:10px;
  background:#fff;color:var(--navy);cursor:pointer;padding:0}
@media (max-width:860px){
  .site-header{padding:10px 16px;gap:10px}
  .site-header .logo-mark{width:34px;height:34px}
  .site-header .brand-logo{max-height:38px}
  .brand .brand-l1{font-size:1.02rem}
  .brand .brand-l2{font-size:.6rem}
  .header-right{gap:10px;margin-left:auto;justify-content:flex-end}
  .header-cta{padding:9px 16px;font-size:.92rem}
  .nav-toggle{display:grid}
  .site-header nav{display:none;position:absolute;top:100%;left:0;
    right:0;flex-direction:column;align-items:stretch;gap:0;
    background:#fff;padding:8px 18px 14px;
    border-bottom:1px solid var(--line);
    box-shadow:0 24px 34px rgba(10,30,60,.16)}
  .site-header.nav-open nav{display:flex}
  .site-header nav a{padding:11px 2px;font-size:1rem}
  .site-header nav a + a{border-top:1px solid var(--line)}
}
@media (max-width:1100px){.site-header nav{gap:12px}
  .header-right{gap:12px}}

/* hero — full-bleed dusk photo, text left, agent right */
.hero{position:relative;overflow:hidden;color:#e8eefb;
  background:linear-gradient(95deg,rgba(10,30,60,.94) 0%,
  rgba(10,30,60,.82) 40%,rgba(10,30,60,.30) 68%,rgba(10,30,60,.12) 100%),
  url('../img/hero-dusk.webp') 85% 22%/cover no-repeat var(--navy)}
.hero-inner{position:relative;z-index:2;max-width:1160px;margin:0 auto;
  padding:92px 24px 118px;display:block}
.hero-text{max-width:620px}
.hero-eyebrow{letter-spacing:.22em;font-weight:700;font-size:.85rem;
  color:#ffd98a;margin:0 0 16px}
.hero h1{color:#fff;font-size:clamp(2.3rem,5vw,3.5rem);max-width:620px}
.hero h1 .text-gold{color:var(--gold2)}
.hero-sub{font-size:1.13rem;max-width:560px;color:#d5e0f2}
.hero-script{position:absolute;top:100px;right:42px;z-index:3;
  font-family:'Dancing Script',cursive;font-weight:700;font-size:2.05rem;
  line-height:1.18;color:#fff;transform:rotate(-4deg);
  text-shadow:0 2px 14px rgba(4,16,36,.55);margin:0}
.script-line{display:block;width:62%;height:4px;background:var(--gold2);
  border-radius:2px;margin-top:8px;transform:rotate(-1deg)}
.hero-glass{position:absolute;right:24px;bottom:88px;z-index:3;
  max-width:292px;background:rgba(255,255,255,.13);
  backdrop-filter:blur(12px) saturate(1.25);
  -webkit-backdrop-filter:blur(12px) saturate(1.25);
  border:1px solid rgba(255,255,255,.38);border-radius:16px;
  box-shadow:0 18px 40px rgba(4,16,36,.35);
  padding:18px 20px;color:#e8eefb}
.glass-title{margin:0;font-size:1rem;line-height:1.4}
.glass-title strong{font:700 1.24rem Sora,sans-serif;color:#fff}
.glass-sub{margin:10px 0 0;font-size:.8rem;color:#dbe5f5}
.play-ic{display:inline-grid;place-items:center;width:21px;height:21px;
  border:1.5px solid currentColor;border-radius:50%;font-size:.55rem;
  margin-right:8px;vertical-align:-5px;padding-left:2px}
.hero-benefits{position:relative;z-index:2;
  border-top:1px solid rgba(255,255,255,.18);
  background:linear-gradient(180deg,rgba(4,16,36,0),rgba(4,16,36,.45))}
.hb-inner{max-width:1160px;margin:0 auto;padding:15px 24px;display:flex;
  gap:36px;flex-wrap:wrap}
.hb{display:inline-flex;align-items:center;gap:9px;color:#e8eefb;
  font-weight:600;font-size:.95rem}
.hb svg{color:var(--gold2);flex:none}

/* services — header row + one row of six cards */
.svc-head{display:grid;grid-template-columns:auto 1fr auto;gap:34px;
  align-items:center}
.svc-head h2{margin:0}
.svc-head-p{color:var(--muted);margin:0;max-width:520px}
.svc-head .btn{white-space:nowrap}
.svc6{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;
  margin-top:32px}
.feat-card{display:block;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);text-decoration:none;color:var(--ink);
  box-shadow:0 2px 8px rgba(10,30,60,.04);
  transition:box-shadow .2s,transform .15s}
.feat-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);
  color:var(--ink)}
.feat-img{display:block;position:relative}
.feat-img img{width:100%;height:118px;object-fit:cover;display:block;
  border-radius:var(--radius) var(--radius) 0 0}
.feat-ic{position:absolute;left:14px;bottom:-19px;width:40px;height:40px;
  border-radius:50%;display:grid;place-items:center;color:var(--navy);
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  box-shadow:0 6px 14px rgba(10,30,60,.18)}
.feat-body{display:block;padding:28px 15px 16px}
.feat-body h3{font-size:1rem;margin:0 0 6px}
.feat-body p{font-size:.87rem;color:var(--muted);margin:0 0 10px;
  line-height:1.5}
.learn{color:var(--gold);font-weight:700;font-size:.88rem}

/* stats band — honest structural numbers only */
.stats-band{background:linear-gradient(160deg,var(--navy),var(--navy2));
  padding:36px 24px}
.stats{max-width:1160px;margin:0 auto;display:grid;
  grid-template-columns:repeat(4,1fr);gap:18px}
.stat{text-align:center;color:#b9c8de}
.stat svg{color:var(--gold2)}
.stat strong{display:block;font:800 1.85rem Sora,sans-serif;color:#fff;
  margin-top:4px}
.stat span{font-size:.95rem}
.stat+.stat{border-left:1px solid rgba(255,255,255,.14)}

/* why choose us */
.why-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;
  align-items:center}
.why-photo{position:relative}
.why-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;
  border-radius:16px;box-shadow:var(--shadow)}
.chip-card{position:absolute;left:18px;bottom:18px;
  background:rgba(10,30,60,.88);backdrop-filter:blur(6px);
  border-radius:12px;padding:14px 18px;color:#fff}
.chip-card p{margin:0 0 7px;display:flex;gap:9px;align-items:center;
  font-weight:600;font-size:.95rem}
.chip-card p:last-child{margin:0}
.ck{width:20px;height:20px;border-radius:50%;flex:none;display:grid;
  place-items:center;font-size:.72rem;font-weight:800;color:#231600;
  background:linear-gradient(135deg,var(--gold2),var(--gold))}
.checks{list-style:none;margin:18px 0 6px;padding:0}
.checks li{position:relative;padding:7px 0 7px 38px;font-size:1.02rem}
.checks li::before{content:"✓";position:absolute;left:0;top:6px;
  width:24px;height:24px;border-radius:50%;display:grid;
  place-items:center;font-size:.8rem;font-weight:800;color:#231600;
  background:linear-gradient(135deg,var(--gold2),var(--gold))}
.script-accent{font-family:'Dancing Script',cursive;font-weight:700;
  font-size:2.1rem;color:var(--navy);transform:rotate(-2deg);
  display:inline-block;border-bottom:3px solid var(--gold2);
  padding-bottom:2px;margin:14px 0 0}

/* quote band (sample 1) — founder quote, no invented claims */
.quote-band{background:linear-gradient(160deg,var(--navy),var(--navy2));
  color:#dbe5f5}
.quote-inner{max-width:1160px;margin:0 auto;padding:56px 24px;
  display:grid;grid-template-columns:1.1fr .9fr;gap:40px;
  align-items:center}
.quote-mark{font:800 3.2rem/0.5 Sora,sans-serif;color:var(--gold2);
  margin-bottom:20px}
.quote-band blockquote{border-left:0;margin:0;padding:0;color:#e8eefb;
  font-size:1.13rem;font-style:italic;line-height:1.65}
.quote-attrib{color:#ffd98a;font-weight:700;margin:16px 0 0}
.quote-photo{position:relative}
.quote-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;
  border-radius:16px;display:block;box-shadow:0 24px 50px rgba(0,0,0,.35)}
.script-overlay{position:absolute;top:18px;right:20px;
  display:inline-block;text-align:right;line-height:1.15;
  font-family:'Dancing Script',cursive;font-weight:700;font-size:1.9rem;
  color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.65);
  transform:rotate(-2deg);border-bottom:3px solid var(--gold2);
  padding-bottom:2px}

/* testimonials (sample 2) — founder + labeled placeholders */
.center{text-align:center}
.center-sub{margin-left:auto;margin-right:auto}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
  margin-top:30px}
.testi-grid.one{grid-template-columns:minmax(0,560px);justify-content:center}
.testi-card{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:24px;
  box-shadow:0 2px 8px rgba(10,30,60,.04)}
.testi-ph{border-style:dashed;background:#fbfcfe}
.testi-avatar{width:52px;height:52px;border-radius:50%;
  background:var(--navy);color:var(--gold2);display:grid;
  place-items:center;margin-bottom:14px}
.testi-quote{font-size:.99rem;line-height:1.6;margin:0}
.testi-name{font-weight:700;color:var(--navy);margin:14px 0 0}
.testi-role{color:var(--muted);font-size:.88rem;margin:0}
.testi-tag{display:inline-block;margin-top:12px;background:#fdf3e0;
  color:#8a5a00;border-radius:999px;padding:3px 11px;font-size:.75rem;
  font-weight:700}

/* footer CTA (sample 1) */
.footer-cta{max-width:1160px;margin:0 auto 34px;padding-bottom:32px;
  border-bottom:1px solid rgba(255,255,255,.15);display:flex;
  justify-content:space-between;align-items:center;gap:34px;
  flex-wrap:wrap}
.fcta-brand{max-width:500px}
.fcta-services{color:#8298b5;font-size:.76rem;font-weight:700;
  letter-spacing:.13em;margin:12px 0 0;line-height:2}
.fcta-text h3{color:#fff;font-size:1.45rem;margin:0 0 4px}
.fcta-text p{color:#b9c8de;margin:0 0 14px}

@media (max-width:1200px){
  .svc6{grid-template-columns:repeat(3,1fr)}
  .feat-img img{height:150px}
}
@media (max-width:1020px){
  .svc-head{grid-template-columns:1fr;gap:14px}
  .hero-script{top:16px;right:16px;font-size:1.5rem}
}
@media (max-width:900px){
  /* Mobile hero: the dusk photo becomes the hero's background zone
     (agent framed right) under a navy gradient scrim — solid enough
     at the top for the headline, opening up mid-frame so the photo
     actually reads, deepening again behind the glass card. Script
     and glass flow in the column, right over the photo. */
  .hero{display:flex;flex-direction:column;
    background:linear-gradient(180deg,rgba(10,30,60,.94) 0%,
    rgba(10,30,60,.84) 40%,rgba(10,30,60,.72) 66%,
    rgba(10,30,60,.93) 100%),
    url('../img/hero-dusk.webp') 88% 50%/cover no-repeat var(--navy)}
  .hero-inner{order:1;padding:58px 18px 8px}
  .hero-script{order:2;position:relative;top:auto;right:auto;
    align-self:flex-end;margin:12px 22px 18px 0;font-size:1.55rem}
  .hero-glass{order:3;position:static;margin:0 18px 22px;max-width:none}
  .hero-benefits{order:4}
  .why-grid,.quote-inner{grid-template-columns:1fr}
  .testi-grid{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .stat+.stat{border-left:0}
  .hb-inner{gap:16px 24px;padding:15px 18px}
}
@media (max-width:640px){
  .svc6{grid-template-columns:1fr}
  .feat-img img{height:180px}
}

/* ============ Phase 2: portals, pipeline, threads ============ */
.nav-badge{background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#231600;border-radius:999px;padding:0 7px;font-size:.72rem;
  font-weight:800;vertical-align:2px}
.badge{background:#fdf3e0;color:#8a5a00;border-radius:999px;
  padding:2px 10px;font-size:.78rem;font-weight:700;white-space:nowrap}
.portal-head{display:flex;justify-content:space-between;align-items:center;
  gap:18px;flex-wrap:wrap}
.portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;
  margin-top:22px;align-items:start}
.portal-grid .auth-card{margin:0}
.sample-list{list-style:none;margin:14px 0 0;padding:0;
  font-size:.88rem;color:var(--muted)}
.sample-list li{padding:5px 0;border-top:1px dashed var(--line)}
.how-list{margin:0;padding-left:20px;line-height:1.65}
.how-list li{margin:6px 0}
.catalog-line{margin-top:38px}
.order-head{margin-bottom:6px}
.order-amount{font:800 1.25rem Sora,sans-serif;color:var(--navy);
  margin-left:10px}
.status-received{background:#e8eef7;color:var(--navy2)}
.status-in_production{background:#fdf3e0;color:#8a5a00}
.status-in_qc{background:#e9e5f7;color:#4b3a8a}
.status-delivered{background:#e5f5ec;color:var(--ok)}
.status-cancelled{background:#f3e3e1;color:var(--err)}
.status-pending{background:#fdf3e0;color:#8a5a00}
.status-sample{background:#e9e5f7;color:#4b3a8a}
.status-expired,.status-failed{background:#f3e3e1;color:var(--err)}
.status-vendorjob{background:#e8eef7;color:var(--navy2)}

/* fulfillment stepper */
.stepper{display:flex;gap:0;list-style:none;margin:16px 0 4px;padding:0;
  flex-wrap:wrap}
.stepper .step{flex:1;min-width:110px;text-align:center;position:relative;
  padding:22px 6px 0;font-weight:700;font-size:.86rem;color:var(--muted)}
.stepper .step::before{content:"";position:absolute;top:6px;left:50%;
  transform:translateX(-50%);width:14px;height:14px;border-radius:50%;
  background:#fff;border:3px solid var(--line);z-index:1}
.stepper .step::after{content:"";position:absolute;top:12px;left:calc(-50% + 10px);
  width:calc(100% - 20px);height:3px;background:var(--line)}
.stepper .step:first-child::after{display:none}
.stepper .step-done{color:var(--navy)}
.stepper .step-done::before{background:var(--ok);border-color:var(--ok)}
.stepper .step-done::after{background:var(--ok)}
.stepper .step-now{color:var(--navy)}
.stepper .step-now::before{background:var(--gold2);border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(242,179,61,.25)}
.stepper .step-now::after{background:var(--ok)}
.stepper .step-cancelled{color:var(--err)}
.stepper .step-cancelled::before{background:var(--err);border-color:var(--err)}

/* timeline */
.timeline{list-style:none;margin:0;padding:0}
.timeline li{padding:8px 0;border-bottom:1px dashed var(--line);
  font-size:.93rem}
.timeline li:last-child{border-bottom:0}
.tl-time{display:block;font-size:.76rem;font-weight:700;
  letter-spacing:.04em;color:var(--muted)}
.tl-actor{color:var(--muted);font-size:.86rem}

/* message thread */
.thread-card{margin-top:18px}
.thread-log{max-height:380px;overflow-y:auto;padding:4px 2px;
  display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.msg{background:#f2f5fa;border:1px solid var(--line);border-radius:12px;
  padding:9px 13px;max-width:88%}
.msg-mine{background:#fdf3e0;border-color:#ecd9ae;align-self:flex-end}
.msg-meta{margin:0 0 3px;font-size:.76rem;color:var(--muted)}
.msg-body{margin:0;line-height:1.5;white-space:pre-wrap}
.thread-form{display:flex;gap:10px;align-items:flex-end}
.thread-form .thread-label{flex:1;font-weight:600;font-size:.9rem;
  color:var(--navy)}
.thread-form textarea{width:100%;margin-top:5px;border:1px solid var(--line);
  border-radius:10px;padding:9px 11px;font:inherit;resize:vertical}
.inline-form{display:inline-flex;gap:10px;flex-wrap:wrap;margin:6px 0}
.vendor-cta{margin-top:18px}

/* vendor job board */
.job-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.job-card h3{margin-top:0}
.job-price{font-weight:700;color:var(--navy)}

/* ---- Visual upgrade part 1: dashboards + store imagery ---- */
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0 8px}
.stat-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px 20px;box-shadow:0 4px 14px rgba(10,30,60,.05)}
.stat-label{color:var(--muted);font-size:.85rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin:0}
.stat-value{color:var(--navy);font-size:2rem;font-weight:800;margin:4px 0 0}
.dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:26px 0}
.recent-list{list-style:none;padding:0;margin:0}
.recent-list li{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.recent-list li:last-child{border-bottom:0}
.svc-quick{list-style:none;padding:0;margin:0}
.svc-quick li{border-bottom:1px solid var(--line)}
.svc-quick li:last-child{border-bottom:0}
.svc-quick a{display:block;padding:10px 2px;text-decoration:none}
.svc-quick a strong{color:var(--navy);display:block}
.svc-quick a span{color:var(--muted);font-size:.88rem}
.svc-quick a:hover strong{color:var(--gold)}
.empty-state{text-align:center;padding:18px 8px 8px}
.empty-icon{font-size:2rem;margin:0}
.tabs{display:flex;gap:8px;margin:22px 0 6px;flex-wrap:wrap}
.tab{padding:9px 18px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--navy);font-weight:700;text-decoration:none}
.tab-active{background:var(--navy);color:#fff;border-color:var(--navy)}
.lookup-card{margin-bottom:6px}
.lookup-form{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.lookup-form input{flex:1;min-width:220px;border:1.5px solid var(--line);border-radius:10px;padding:11px 13px;font-size:1rem}
.lookup-hit{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
.product-media{position:relative;margin:-22px -22px 14px;border-radius:14px 14px 0 0;overflow:hidden}
.product-media img{display:block;width:100%;height:170px;object-fit:cover}
.product-placeholder{height:170px;background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 70%);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:14px;text-align:center}
.product-placeholder .ph-mark{font-family:Georgia,serif;font-size:2.4rem;color:var(--gold2);line-height:1}
.product-placeholder .ph-name{font-weight:700;font-size:.95rem}
.cat-chip{position:absolute;left:12px;bottom:12px;background:rgba(10,30,60,.88);color:var(--gold2);font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:4px 10px;border-radius:999px}

@media (max-width:900px){
  .portal-grid,.job-grid,.dash-grid{grid-template-columns:1fr}
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .stepper .step{min-width:80px;font-size:.78rem}
}

/* ============================================================
   Round 11 — storefront restyle (Wael 2026-10-29, from his
   reference shop screenshots): Etsy-style product grid —
   smaller white cards with REAL gaps between them, rounded
   corners, soft shadow, and a colored category pill badge at
   the TOP-LEFT of each card image (blue = Canva templates,
   teal = content kits, purple = e-books, orange = packs).
   Layout and color only: no ratings, download counts, or any
   other invented stats — those stay off the site by rule.
   The /request order form gets one aligned card container so
   its fields, labels, and button line up in a single column
   rhythm instead of floating on the page background. */

/* store grid — 4 across on desktop, stepping down cleanly */
.store-grid{grid-template-columns:repeat(4,1fr);gap:22px}
@media (max-width:1100px){.store-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:860px){.store-grid{grid-template-columns:repeat(2,1fr);
  gap:16px}}
@media (max-width:560px){.store-grid{grid-template-columns:1fr}}

/* product cards — compact, lifted off the page, clear separation */
.product-card{padding:18px;box-shadow:0 2px 10px rgba(10,30,60,.06);
  transition:box-shadow .2s ease,transform .15s ease}
.product-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.product-card h3{font-size:1.04rem;margin:2px 0 4px}
.product-card .fineprint{font-size:.82rem;margin:8px 0 0}
.product-card form{margin-top:10px}
.product-card form .btn{width:100%;text-align:center}
.product-media{margin:-18px -18px 12px}
.product-media img{height:150px}
.product-placeholder{height:150px}

/* category pill — top-left of the image, colored per category */
.cat-chip{top:12px;bottom:auto;left:12px;color:#fff;
  background:var(--navy);box-shadow:0 4px 10px rgba(10,30,60,.25)}
.cat-chip[data-cat="canva"]{background:#2563eb}
.cat-chip[data-cat="kits"]{background:#0d9488}
.cat-chip[data-cat="ebooks"]{background:#7c3aed}
.cat-chip[data-cat="packs"]{background:#ea580c}

/* matching color accents: section headings only. The category cards'
   4px colored top strips were removed 2026-11-07 (Wael's round-3
   review: "there's a small blue line - u can remove") — cards stay
   clean; the shelf headings keep their left accents. */
#store-canva{border-left:5px solid #2563eb;padding-left:12px}
#store-kits{border-left:5px solid #0d9488;padding-left:12px}
#store-ebooks{border-left:5px solid #7c3aed;padding-left:12px}
#store-packs{border-left:5px solid #ea580c;padding-left:12px}

/* /request order form — one aligned card, consistent field rhythm */
#request-form{max-width:720px;margin-left:auto;margin-right:auto;
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:26px;
  box-shadow:0 2px 10px rgba(10,30,60,.05)}
#request-form .order-summary{margin-bottom:4px}
#request-form button[type="submit"]{width:100%;text-align:center}
@media (max-width:640px){
  #request-form{padding:18px}
  #request-form .req-fields{grid-template-columns:1fr}
}

/* ============================================================
   Round 13 — design pass (Wael 2026-10-29):
   1) Store cards: compact action buttons in one gapped row —
      never full-width, never touching; thumbnails at one
      consistent premium height.
   2) Pre-qualify: gold-accented fieldsets, a branded navy
      result band, a navy total tile, and print rules so ONLY
      the result card prints (band colors intact).
   3) Certified Vendors directory cards (cv-*).
   4) Homepage "How it works": icon medallions with number
      badges and a dashed connector (hiw-* classes — the vendor
      timeline keeps its own .step styles, untouched). */

/* -- 1) store card actions ---------------------------------- */
.product-card .product-actions{display:flex;gap:10px;flex-wrap:wrap;
  align-items:center;margin-top:12px}
.product-card .product-actions form{margin:0}
.product-card .product-actions .btn{width:auto;text-align:center;
  padding:9px 18px;font-size:.92rem;white-space:nowrap}
.product-card .product-actions .fineprint{margin:0}
.product-media img{height:160px;object-fit:cover}
.product-placeholder{height:160px}

/* -- 2) pre-qualify ------------------------------------------ */
.calc-form fieldset{border-top:4px solid var(--gold)}
.calc-form button[type="submit"]{grid-column:1/-1;justify-self:stretch;
  text-align:center}
.calc-result{padding:0;overflow:hidden}
.result-band{background:var(--navy);color:#fff;padding:18px 26px;
  border-bottom:4px solid var(--gold)}
.result-band-brand{font:700 1.15rem Sora,sans-serif;color:#fff;margin:0}
.result-band-meta{color:var(--gold2);margin:2px 0 0;font-size:.92rem}
.calc-result .result-grid{margin:18px 26px 6px}
.calc-result>p{margin-left:26px;margin-right:26px}
.calc-result>.no-print,.calc-result>.form-ok,.calc-result>.form-error{
  margin:0 26px 20px}
.calc-result .result-grid .result-total{background:var(--navy);
  border-color:var(--navy)}
.calc-result .result-total span{color:var(--gold2)}
.calc-result .result-total strong{color:#fff}
.prequal-email-form{display:flex;gap:10px;flex-wrap:wrap;
  align-items:flex-end;margin-top:6px}
.prequal-email-form label{display:flex;flex-direction:column;gap:5px;
  font-weight:600;font-size:.9rem;color:var(--navy);flex:1;
  min-width:220px}
.prequal-email-form input{padding:10px 12px;border:1px solid var(--line);
  border-radius:10px;font:400 .97rem Inter,sans-serif}

@media print{
  .calc-result{border:none;box-shadow:none;margin:0;max-width:none}
  .result-band,.calc-result .result-total{print-color-adjust:exact;
    -webkit-print-color-adjust:exact}
  .no-print{display:none !important}
}

/* -- 3) certified vendors ------------------------------------- */
.cv-grid{display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;margin-top:24px}
.cv-card{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:22px;display:flex;
  flex-direction:column;box-shadow:0 2px 10px rgba(10,30,60,.06)}
.cv-card h3{margin:0 0 6px}
.cv-card p{color:var(--muted);margin:0 0 10px;font-size:.95rem}
.cv-card .cv-step{font:700 .78rem Sora,sans-serif;letter-spacing:.08em;
  text-transform:uppercase;color:var(--gold);margin:0 0 4px}
.cv-card .cv-status{font-weight:700;color:var(--navy);font-size:.88rem}
.cv-actions{margin-top:auto;display:flex;gap:10px;flex-wrap:wrap}
.cv-actions .btn{padding:9px 16px;font-size:.92rem}

/* -- 4) how it works ------------------------------------------ */
.hiw-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;
  margin-top:34px;position:relative}
.hiw-grid::before{content:"";position:absolute;top:30px;left:12%;
  right:12%;border-top:2px dashed rgba(201,162,75,.55);z-index:0}
.hiw-card{background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:26px 22px;text-align:center;
  position:relative;z-index:1;
  box-shadow:0 2px 10px rgba(10,30,60,.06);
  transition:box-shadow .2s ease,transform .15s ease}
.hiw-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.hiw-card h3{margin:14px 0 6px}
.hiw-card p{color:var(--muted);margin:0;font-size:.95rem}
.hiw-ic{position:relative;width:60px;height:60px;margin:0 auto;
  border-radius:50%;border:2px solid var(--gold);
  background:rgba(242,179,61,.16);color:var(--navy);display:grid;
  place-items:center}
.hiw-num{position:absolute;top:-6px;right:-6px;width:24px;height:24px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#231600;font:700 .8rem Sora,sans-serif;display:grid;
  place-items:center;border:2px solid #fff}
@media (max-width:1100px){
  .hiw-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .hiw-grid::before{display:none}
}
@media (max-width:560px){
  .hiw-grid{grid-template-columns:1fr}
}


/* ============================================================
   Round 13 — portal order status BAR (Wael 2026-10-29: "once a
   user places an order, it will be showing in his portal with
   status bar"). Presentation only: the bar renders the stored
   fulfillment_status — fill length derives from the step index
   (first node to current node), never from an invented percent.
   The legacy .stepper rules above stay for backwards safety;
   _pipeline.html now renders .statusbar markup. */

/* -- order detail: full progress bar ------------------------- */
.statusbar{position:relative;margin:22px 0 10px}
.statusbar-rail{position:absolute;top:14px;left:12.5%;right:12.5%;
  height:5px;border-radius:3px;background:var(--line)}
.statusbar-fill{height:100%;border-radius:3px;
  background:linear-gradient(90deg,var(--navy),var(--gold));
  transition:width .4s ease}
.statusbar-steps{display:flex;list-style:none;margin:0;padding:0;
  position:relative}
.sb-step{flex:1;text-align:center}
.sb-node{display:flex;align-items:center;justify-content:center;
  width:28px;height:28px;margin:0 auto;border-radius:50%;
  background:#fff;border:3px solid var(--line);color:#fff;
  font-size:.8rem;font-weight:800;line-height:1}
.sb-label{display:block;margin-top:8px;font-weight:700;
  font-size:.86rem;color:var(--muted)}
.sb-done .sb-node{background:var(--navy);border-color:var(--navy)}
.sb-done .sb-label{color:var(--navy)}
.sb-now .sb-node{background:var(--gold2);border-color:var(--gold);
  box-shadow:0 0 0 5px rgba(242,179,61,.28)}
.sb-now .sb-label{color:var(--navy)}
.statusbar-cancelled{display:flex;gap:10px;align-items:center;
  margin:22px 0 10px;padding:12px 16px;border-radius:10px;
  background:#f9ecea;border:1px solid #e3c3bf;color:var(--err);
  font-size:.95rem}
.statusbar-cancel-mark{font-weight:900;font-size:1.05rem}
@media (max-width:640px){
  .sb-node{width:24px;height:24px;font-size:.7rem}
  .statusbar-rail{top:12px}
  .sb-label{font-size:.72rem}
}

/* -- portal orders list: mini progress bar -------------------- */
.ministep{display:flex;gap:3px;margin-top:6px}
.ms-seg{width:20px;height:5px;border-radius:3px;background:var(--line)}
.ms-seg.ms-done{background:var(--navy)}
.ms-seg.ms-now{background:var(--gold)}
.ministep-done .ms-seg.ms-now{background:var(--navy)}
.ministep-cancelled .ms-seg{background:#dcc7c3}

/* Homepage services — 4 featured cards, photo-forward (Wael 2026-10-29) */
.svc4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:32px}
.svc4 .feat-card{background:transparent;border:none;border-radius:0;box-shadow:none}
.svc4 .feat-card:hover{box-shadow:none;transform:none}
.svc4 .feat-img img{height:200px;border-radius:18px;transition:box-shadow .2s,transform .15s}
.svc4 .feat-card:hover .feat-img img{box-shadow:var(--shadow);transform:translateY(-2px)}
.svc4 .feat-body{padding:14px 2px 0}
.svc4 .feat-body h3{font-size:1.08rem}
.svc-more{text-align:center;margin-top:34px}
.svc-more p{font-size:1rem;font-weight:500;color:var(--muted);margin:0 0 16px}
.svc-more .btn{border-radius:999px;padding:14px 32px;font-size:1rem}
@media (max-width:1024px){.svc4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.svc4{grid-template-columns:1fr}.svc4 .feat-img img{height:210px}}

/* ============================================================
   Round 14 — calculator layout & report actions (Wael
   2026-10-30): the three form boxes sit in ONE row on desktop
   (Income & debts no longer drops to a second row), the form
   cards get a cleaner finish, and the result's Print/PDF +
   Email report actions move up directly under the verdict as
   one obvious "Keep this estimate" bar.
   ============================================================ */
.calc-form{max-width:1180px;grid-template-columns:repeat(3,1fr);
  align-items:start}
.calc-form fieldset{background:var(--card);padding:20px 20px 16px;
  box-shadow:0 1px 4px rgba(10,30,60,.06)}
.calc-form legend{background:var(--card);border-radius:6px;
  font-size:1.02rem}
.calc-form input,.calc-form select{padding:11px 12px;
  transition:border-color .15s,box-shadow .15s}
.calc-form input:focus,.calc-form select:focus{outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(217,138,22,.18)}
.calc-form button[type="submit"]{padding:14px;font-size:1.02rem}
@media (max-width:1099px){
  .calc-form{grid-template-columns:1fr 1fr}
  .calc-form .calc-income{grid-column:1/-1}
}
@media (max-width:860px){
  .calc-form{grid-template-columns:1fr}
}
.calc-result{box-shadow:0 6px 24px rgba(10,30,60,.10)}
.result-grid>div{padding:14px 16px}
.result-actions{margin:4px 26px 20px;background:var(--bg);
  border:1px solid var(--line);border-radius:12px;
  padding:16px 18px 12px}
.result-actions h3{font:700 1.02rem Sora,sans-serif;
  color:var(--navy);margin:0 0 12px}
.result-actions-row{display:flex;gap:14px;flex-wrap:wrap;
  align-items:flex-end}
.result-actions .prequal-email-form{margin-top:0;flex:1;
  min-width:280px}
.result-actions .fineprint{margin:10px 0 4px}
@media print{
  .result-actions{display:none !important}
}

/* Round 14.1 — people photos in the wide service banner crop:
   anchor the crop to the top of the frame so faces stay in
   (Wael 2026-10-30: the vendors banner cut both faces off). */
.svc-line-img-faces{object-position:center 12%}

/* Round 14.2 — Certified Vendors complete redo (Wael 2026-10-30):
   the Lovable page's structure — why-choose icon cards, a
   searchable / filterable directory, vendor cards, closing band —
   with our honest directory content. */
.vw-why{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:16px}
.vw-card{background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:22px;text-align:center}
.vw-card h3{margin:0 0 8px;font-size:1.05rem;line-height:1.35}
.vw-card p{margin:0;color:var(--muted);font-size:.93rem}
.vw-ic{width:52px;height:52px;margin:0 auto 12px;border-radius:50%;
  background:#eef3fa;color:var(--navy);display:grid;place-items:center}
.vw-tools{max-width:760px;margin:0 auto 22px;text-align:center}
.vw-search{width:100%;padding:13px 16px;border:1px solid var(--line);
  border-radius:10px;font-size:1rem;background:var(--card);color:var(--ink)}
.vw-search:focus{outline:2px solid var(--gold);border-color:var(--gold)}
.vw-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;
  margin-top:14px}
.vw-chip{border:1px solid var(--line);background:var(--card);color:var(--ink);
  border-radius:999px;padding:8px 15px;font-size:.9rem;font-weight:600;
  cursor:pointer}
.vw-chip:hover{border-color:var(--gold)}
.vw-chip.active{background:var(--navy);border-color:var(--navy);color:#fff}
.vw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));
  gap:16px}
.vw-vcard{background:var(--card);border:1px solid #cdd9ea;
  border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px;
  box-shadow:0 2px 10px rgba(10,30,60,.07)}
.vw-vhead{display:flex;align-items:flex-start;gap:12px}
.vw-avatar{width:48px;height:48px;flex:none;border-radius:50%;
  background:#e3ebf7;border:1px solid #cdd9ea;color:var(--navy);display:grid;place-items:center;
  font-weight:800;font-size:1rem}
.vw-metarow{display:flex;align-items:center;gap:10px}
.vw-metarow .vw-meta{flex:1}
.vw-metarow .vw-cat{margin-left:0}
.vw-vhead h3{margin:0;font-size:1.12rem;line-height:1.25}
.vw-role{margin:2px 0 0;color:var(--muted);font-size:.88rem}
.vw-cat{margin-left:auto;flex:none;border:1px solid var(--line);
  border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:700;
  color:var(--navy);background:#f6f9fd}
.vw-loc{margin:0;color:var(--muted);font-size:.88rem;display:flex;
  align-items:center;gap:5px;color:#5b6b82}
.vw-loc svg{color:var(--navy);flex:none}
.vw-blurb{margin:0;font-size:.95rem}
.vw-svc-label{margin:4px 0 0;font-weight:700;font-size:.88rem}
.vw-svc{display:flex;flex-wrap:wrap;gap:6px}
.vw-svc span{background:#e3ebf7;border:1px solid #cdd9ea;border-radius:999px;padding:4px 10px;
  font-size:.8rem;font-weight:600;color:var(--navy)}
.vw-note{background:#e7f8ec;border:1.5px solid #9fdcb0;border-radius:10px;
  padding:10px 12px;font-size:.9rem;font-weight:600;color:#14532d}
.vw-note strong{display:block}
.vw-note span{display:block;font-weight:500;font-size:.85rem;margin-top:2px}
.vw-co{margin:2px 0 0;color:var(--navy);font-weight:600;font-size:.88rem}
.vw-meta{margin:0;font-weight:700;font-size:.9rem;color:var(--ink);
  display:flex;align-items:center;gap:6px}
.vw-book{background:var(--navy);color:#fff;flex:1 1 auto;text-align:center}
.vw-book:hover{background:#123058;color:#fff}
.vw-icon{height:44px;flex:1;display:grid;place-items:center;
  border:1px solid #cdd9ea;border-radius:10px;color:var(--navy);
  background:#fff}
.vw-icon:hover{border-color:var(--gold)}
.vw-join{font-size:.85rem;font-weight:600;color:var(--navy)}
.vw-phone-num{margin:0;font-weight:700;font-size:.92rem}
.vw-phone-num a{color:var(--navy)}
button.vw-icon{cursor:pointer;font:inherit}
.vw-status{margin:0;font-weight:700;font-size:.88rem}
.vw-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}

/* ============================================================
   Round 15 — store cards to Wael's design (2026-10-31, from his
   store screenshots): image-forward cards, colored kind pill
   top-left, gold count badge top-right, checkmark feature
   bullets, launch-price pill, and a Learn More + gold Add to
   Cart action row. Plus the /product/<slug> detail layout the
   Learn More buttons open. Presentation only — every claim on a
   card still comes from the catalog's committed contents. */

.product-card{border-radius:20px}
.product-media{border-radius:20px 20px 0 0}
.product-media img{height:auto;aspect-ratio:4/3}
.product-placeholder{height:auto;aspect-ratio:4/3}
.product-contents{color:var(--muted);font-weight:500}

/* gold count badge — top-right of the card image */
.count-badge{position:absolute;top:12px;right:12px;background:var(--gold);
  color:var(--navy);font:800 .68rem Sora,sans-serif;letter-spacing:.02em;
  text-align:center;padding:7px 9px;border-radius:999px;line-height:1.15;
  box-shadow:0 4px 10px rgba(10,30,60,.25);max-width:86px}

/* checkmark feature bullets */
.product-features{list-style:none;margin:4px 0 10px;padding:0}
.product-features li{position:relative;padding-left:24px;margin-bottom:5px;
  color:var(--ink);font-size:.92rem;line-height:1.35}
.product-features li::before{content:"✓";position:absolute;left:2px;top:0;
  color:#0d9488;font-weight:800}

/* launch price pill */
.save-tag{text-transform:none;letter-spacing:0;font-weight:600}

/* card action row: Learn More (outline) + Add to Cart (gold) */
.product-actions{display:flex;gap:10px;align-items:center;margin-top:12px}
.product-actions form{flex:1;margin-top:0;display:flex}
.product-actions .btn{flex:1;text-align:center;white-space:nowrap}
/* card rows never wrap: compact pills, shrinkable flex children
   (an older actions rule sets flex-wrap:wrap + wide padding,
   which stacked the buttons at grid-card widths) */
.product-card .product-actions{flex-wrap:nowrap;gap:8px}
.product-card .product-actions form{min-width:0}
.product-card .product-actions .btn{flex:1;min-width:0;
  padding:9px 10px;font-size:.9rem}
.btn-learn{flex:1;border:1.5px solid var(--navy);color:var(--navy);
  background:#fff;border-radius:999px;font-weight:700;text-decoration:none}
.btn-learn:hover{background:var(--navy);color:#fff}
/* checkout-flow unification (2026-11-17): the ONE quiet second
   door under a primary buy button — a text-link add-to-cart,
   never a second full-width button */
.mini-cart-form{margin:8px 0 0}
.mini-cart-btn{background:none;border:none;padding:0;font:inherit;
  color:var(--navy);text-decoration:underline;cursor:pointer}
.mini-cart-btn:hover{color:var(--gold-dark,#a8741a)}
.product-actions .btn-gold{border-radius:999px}
.product-actions .btn-learn{border-radius:999px}

/* collection cards: gold count + View Collection button */
.cat-count{color:var(--gold) !important;font-weight:800;margin:6px 0 10px !important}
.cat-card .btn{margin-top:2px}

/* product detail page */
.product-crumb{margin:6px 0 18px}
.product-crumb a{color:var(--navy);font-weight:600;text-decoration:none}
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:34px;
  align-items:start}
@media (max-width:860px){.product-detail{grid-template-columns:1fr}}
.product-detail-media{position:relative;border-radius:20px;overflow:hidden;
  box-shadow:var(--shadow)}
.product-detail-media img{display:block;width:100%;aspect-ratio:4/3;
  object-fit:cover}
.product-detail-media .product-placeholder{aspect-ratio:4/3}
.product-detail-body h1{margin-top:0}
.product-detail-body .product-actions{max-width:520px}

/* ============================================================
   PHASE 2 — HOMEPAGE POLISH (Wael-approved plan, 2026-10-31)
   Presentation only: photo-led hero, category chip row,
   featured duo, compact trio, slim pilot banner, consult photo
   band, prominent Digital Store nav item. No content, pricing,
   or functionality changes live here.
   ============================================================ */

/* nav — Digital Store is a normal nav link like the others
   (audit fix 2026-11-27: it used to render gold + bold on EVERY
   page, so it always looked like the current page). The real
   current page carries .active (set in base.html from
   request.path) and gets the gold treatment instead. */
.site-header nav a.active{color:var(--gold);font-weight:700;
  border-bottom:2px solid var(--gold2);padding-bottom:2px}

/* hero — OWNER CORRECTION (Wael, 2026-10-31): the full-bleed
   dusk-photo hero with the script + glass panel (styled in the
   hero block above) is PRESERVED; only the headline, eyebrow
   and CTAs changed. The photo-card layout was reverted, so no
   hero overrides live here anymore. hero-agent.jpg stays in
   static/img, unreferenced. */

/* category chip row — six compact icon cards under the hero */
.chip-row{background:var(--bg)}
.chip-grid{max-width:1160px;margin:0 auto;padding:34px 24px 6px;
  display:grid;grid-template-columns:repeat(7,1fr);gap:14px}
.svc-chip{display:flex;flex-direction:column;align-items:center;gap:10px;
  text-align:center;background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:20px 10px 16px;color:var(--ink);
  text-decoration:none;font-weight:600;font-size:.92rem;line-height:1.3;
  box-shadow:0 6px 16px rgba(10,30,60,.05)}
.svc-chip:hover{box-shadow:var(--shadow);transform:translateY(-2px);
  color:var(--navy)}
.chip-ic{display:grid;place-items:center;width:46px;height:46px;
  border-radius:50%;background:#fdf3e0;color:var(--gold)}
.svc-chip:nth-child(even) .chip-ic{background:#e8eefb;color:var(--navy2)}

/* featured duo — Professional Services + Digital Store */
.duo-sec{padding-top:38px;padding-bottom:8px}
.duo-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.duo-card{background:var(--card);border:1px solid var(--line);
  border-radius:20px;overflow:hidden;box-shadow:0 8px 22px rgba(10,30,60,.06);
  display:flex;flex-direction:column}
.duo-img{display:block}
.duo-img img{display:block;width:100%;aspect-ratio:16/8;object-fit:cover}
.duo-body{padding:22px 24px 24px}
.duo-body h2{font-size:1.45rem;margin-bottom:8px}
.duo-body p{color:var(--muted);margin:0 0 14px}
.duo-body p:last-child{margin-bottom:0}

/* compact trio — Ari / Free Tools / Vendor Network */
.trio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;
  margin-top:22px}
.trio-card{background:#eef2f9;border:1px solid var(--line);
  border-radius:20px;padding:24px}
.trio-ic{display:grid;place-items:center;width:50px;height:50px;
  border-radius:14px;background:#fff;color:var(--navy2);
  box-shadow:0 6px 14px rgba(10,30,60,.08);margin-bottom:14px}
.trio-card h3{margin-bottom:6px}
.trio-card p{color:var(--muted);margin:0 0 10px;font-size:.97rem}
.trio-card p:last-child{margin-bottom:0}
.trio-link{font-weight:700;color:var(--navy);text-decoration:none}
.trio-link:hover{color:var(--gold)}

/* pilot — slim navy banner (same offers, compact presentation) */
.pilot-banner{background:linear-gradient(120deg,var(--navy),var(--navy2));
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pilot-banner-inner{max-width:1160px;margin:0 auto;padding:30px 24px;
  display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.pilot-banner-text{flex:1;min-width:280px}
.pilot-banner h2{color:#fff;font-size:1.5rem;margin-bottom:6px}
.pilot-banner p{color:#c6d3ea;margin:0;max-width:760px}
.pilot-banner .btn{flex:none}

/* consult — photo band; the form sits in a white panel, untouched */
.consult-band{background:linear-gradient(100deg,rgba(10,30,60,.93) 0%,
  rgba(10,30,60,.78) 55%,rgba(10,30,60,.55) 100%),
  url('../img/hero-dusk.webp') center 30%/cover no-repeat var(--navy);
  border-top:1px solid rgba(255,255,255,.15)}
.consult-band h2{color:#fff}
.consult-band .section-sub{color:#d5e0f2}
.consult-band .consult-form{background:#fff;border-radius:20px;
  padding:28px;box-shadow:0 24px 50px rgba(4,16,36,.35)}
.consult-band .form-ok,.consult-band .form-error{margin-bottom:0}

/* homepage rhythm: tighten the gap the new rows introduce */
#services.section{padding-top:44px}

@media (max-width:960px){
  .chip-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:860px){
  .duo-grid{grid-template-columns:1fr}
  .trio-grid{grid-template-columns:1fr}
  .pilot-banner-inner{flex-direction:column;align-items:flex-start}
}
@media (max-width:520px){
  .chip-grid{grid-template-columns:repeat(2,1fr)}
}

/* ============================================================
   PHASE 2 (expanded spec, Wael 2026-10-31) — NAV v2, services
   category chips + tier details, store search/filters, and
   accessibility/mobile guards. Presentation only, same rule:
   no content, pricing, or functionality changes live here.
   ============================================================ */

/* header cart icon link + count badge (count comes from the
   existing cart_count context value — no new backend) */
.cart-link{position:relative;display:grid;place-items:center;
  width:42px;height:42px;border-radius:50%;color:var(--navy);
  text-decoration:none;flex:none}
.cart-link:hover{color:var(--gold);background:#fdf3e0}
.cart-count{position:absolute;top:1px;right:-1px;min-width:18px;
  height:18px;padding:0 4px;border-radius:9px;background:var(--gold);
  color:#231600;font-size:.68rem;font-weight:700;display:grid;
  place-items:center;line-height:1}

/* visible keyboard focus everywhere (gold, AES accent) */
a:focus-visible,button:focus-visible,input:focus-visible,
select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:2px solid var(--gold);outline-offset:2px}

/* services — category chip nav (jump links to the line sections) */
.svc-chips{max-width:1160px;margin:0 auto;padding:26px 24px 0;
  display:flex;flex-wrap:wrap;gap:8px}
.svc-chips a{border:1px solid var(--line);background:var(--card);
  color:var(--ink);border-radius:999px;padding:9px 16px;
  font-size:.92rem;font-weight:600;text-decoration:none;
  min-height:44px;display:inline-flex;align-items:center}
.svc-chips a:hover{border-color:var(--gold);color:var(--navy)}
.svc-line{scroll-margin-top:96px}

/* services — tiers show 3 inclusions, the rest under a disclosure */
.tier-more{margin-top:4px}
.tier-more summary{cursor:pointer;font-weight:600;color:var(--navy);
  font-size:.92rem;padding:6px 0}
.tier-more ul{margin-top:4px}

/* store — search + filter tools bar (mirrors the vendor tools) */
.store-tools{max-width:860px;margin:38px auto 4px;text-align:center}
.store-search{width:100%;padding:13px 16px;border:1px solid var(--line);
  border-radius:10px;font-size:1rem;background:var(--card);
  color:var(--ink)}
.store-search:focus{outline:2px solid var(--gold);
  border-color:var(--gold)}
.store-chips{display:flex;flex-wrap:wrap;gap:8px;
  justify-content:center;margin-top:14px}
.store-chip{border:1px solid var(--line);background:var(--card);
  color:var(--ink);border-radius:999px;padding:8px 15px;
  font-size:.9rem;font-weight:600;cursor:pointer;min-height:44px}
.store-chip:hover{border-color:var(--gold)}
.store-chip.active{background:var(--navy);border-color:var(--navy);
  color:#fff}
.store-selects{display:flex;flex-wrap:wrap;gap:12px 18px;
  justify-content:center;margin-top:14px}
.store-selects label{font-weight:600;font-size:.9rem;color:var(--navy);
  display:inline-flex;align-items:center;gap:8px}
.store-selects select{padding:9px 10px;border:1px solid var(--line);
  border-radius:10px;font:inherit;background:var(--card);
  color:var(--ink);min-height:44px}
#store-count{margin-top:10px}
#store-none{max-width:860px;margin:18px auto 0;text-align:center}
#store-clear{border:0;background:none;padding:0;font:inherit;
  font-weight:700;color:var(--navy);text-decoration:underline;
  cursor:pointer}
#store-clear:hover{color:var(--gold)}
.product-format{font-size:.85rem;font-weight:600;color:var(--muted);
  margin:0 0 2px}

/* overflow guards — grid children may shrink, images never force
   a horizontal scroll on small screens */
.product-card,.chip-card,.duo-card,.tier,.trio-card{min-width:0}
.store-grid>*,.card-grid>*,.chip-grid>*,.tier-grid>*{min-width:0}
img{max-width:100%}

/* mobile — nav links and header actions get full-size targets */
@media (max-width:860px){
  .site-header nav a{min-height:44px;display:flex;align-items:center}
  .cart-link{width:44px;height:44px}
  .nav-toggle{width:44px;height:44px}
  .svc-chips{padding:20px 18px 0}
  .store-tools{margin-top:28px}
}

/* ============================================================
   ROUND 16 — single-action cards + customize-then-buy
   (Wael, 2026-10-31). Cards and detail pages carry exactly ONE
   full-width action; its label is short, nowrap, and sized to
   fit the button at every card width. The old .product-actions
   row styles above are retired with the markup.
   ============================================================ */
.product-action{display:block;width:100%;box-sizing:border-box;
  font-size:.95rem;padding:12px 10px;white-space:nowrap;
  text-align:center;margin-top:12px}
.product-action-form{margin:0}
.product-action-form .product-action{margin-top:12px}
.product-card h3 a{color:inherit;text-decoration:none}
.product-card h3 a:hover{color:var(--navy)}
.product-detail-body .product-action{max-width:520px}

/* customize page — preview left, edit form right */
.customize-layout{display:grid;grid-template-columns:1.15fr .85fr;
  gap:28px;align-items:start;margin-top:10px}
.customize-preview{position:relative;border-radius:16px;
  overflow:hidden;background:var(--navy);
  box-shadow:0 10px 26px rgba(10,30,60,.14)}
.customize-preview img{display:block;width:100%}
.customize-preview .product-placeholder{min-height:320px}
.customize-overlay{position:absolute;left:0;right:0;bottom:0;
  padding:38px 22px 18px;color:#fff;
  background:linear-gradient(transparent,rgba(6,17,38,.78))}
.customize-overlay .pv-headline{font-size:1.9rem;font-weight:800;
  line-height:1.12;margin:0 0 6px;
  text-shadow:0 2px 10px rgba(0,0,0,.45);overflow-wrap:break-word}
.customize-overlay .pv-sub{font-size:1.02rem;margin:0 0 4px;
  text-shadow:0 1px 6px rgba(0,0,0,.5)}
.customize-overlay .pv-byline{font-size:.92rem;margin:0;opacity:.92;
  text-shadow:0 1px 6px rgba(0,0,0,.5)}
.customize-card{background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:20px 22px;margin-bottom:18px;
  box-shadow:0 6px 16px rgba(10,30,60,.05)}
.customize-card h2{margin-top:0;font-size:1.2rem}
.customize-form label{display:flex;flex-direction:column;gap:6px;
  font-weight:600;font-size:.92rem;color:var(--navy);
  margin-bottom:14px}
.customize-form input[type="text"]{width:100%;box-sizing:border-box;
  padding:11px 12px;border:1px solid var(--line);border-radius:10px;
  font:400 .98rem Inter,sans-serif;background:#fff;color:var(--ink);
  min-height:44px}
.customize-accent{display:flex;align-items:center;gap:12px}
.customize-accent input[type="color"]{width:56px;height:44px;
  padding:2px;border:1px solid var(--line);border-radius:10px;
  background:#fff;cursor:pointer}
.customize-accent span{font-weight:600;color:var(--navy)}
.customize-price-row{display:flex;justify-content:space-between;
  align-items:baseline;margin:0 0 6px;font-size:1.05rem}
.customize-price-row strong{font-size:1.35rem;color:var(--navy)}
.customize-price-row s{color:var(--muted);font-size:1rem}
.customize-price .product-action{min-height:44px}
@media (max-width:860px){
  .customize-layout{grid-template-columns:1fr}
  .customize-overlay .pv-headline{font-size:1.5rem}
}

/* ============================================================
   ROUND 18 — real-template preview (Wael, 2026-11-01).
   Products with a preview_image show the ACTUAL Canva design
   (sample text blanked) as the customize background instead
   of the store cover art. Story-format designs render at a
   phone-like width so the full design stays visible, and
   owners get an "Open in Canva" card on the customize page.
   ============================================================ */
.customize-preview-tall{max-width:430px;margin:0 auto}
.customize-canva{border-color:var(--gold)}
/* Post-purchase receipt on the customize page (Wael,
   2026-11-17): order summary + Canva link, receipt-style. */
.receipt-wrap{max-width:640px;margin:0 auto;display:grid;gap:16px}
.receipt-card{border-color:var(--gold)}
.receipt-rows{margin:14px 0;display:grid;gap:8px}
.receipt-rows>div{display:flex;justify-content:space-between;
  gap:16px;border-bottom:1px solid #e5e7eb;padding-bottom:8px}
.receipt-rows dt{color:#64748b;font-weight:600}
.receipt-rows dd{margin:0;font-weight:600;text-align:right}
.receipt-swatch{display:inline-block;width:14px;height:14px;
  border-radius:4px;margin-right:6px;vertical-align:-2px;
  border:1px solid rgba(0,0,0,.15)}
/* design mode: the overlay lines sit centered in the real
   design's blanked text band (under the photo), no scrim —
   the design itself is the background. */
.customize-overlay-design{top:61%;bottom:auto;text-align:center;
  background:none;padding:10px 22px}
.customize-overlay-design .pv-headline,
.customize-overlay-design .pv-sub,
.customize-overlay-design .pv-byline{text-align:center}
/* dark-text variant (2026-11-11): designs whose blanked band is
   light (e.g. the Open House flyer's white body) need dark
   overlay text instead of the default white. */
.customize-overlay-design.overlay-dark{color:var(--navy)}
.customize-overlay-design.overlay-dark .pv-headline,
.customize-overlay-design.overlay-dark .pv-sub,
.customize-overlay-design.overlay-dark .pv-byline{text-shadow:none}

/* ============================================================
   HOMEPAGE CLEANUP (Wael-approved, 2026-11-01)
   Trio checkmark list (Free Tools card) + the pilot lead block
   inside the consult band. Removed sections' rules above are
   left in place — they simply match nothing now.
   ============================================================ */
.trio-checks{list-style:none;margin:0 0 10px;padding:0;text-align:left}
.trio-checks li{position:relative;padding:3px 0 3px 24px;
  color:var(--muted);font-size:.97rem;line-height:1.35}
.trio-checks li::before{content:"✓";position:absolute;left:3px;top:3px;
  color:var(--gold);font-weight:800}
.trio-checks a{color:var(--navy);font-weight:600;text-decoration:none}
.trio-checks a:hover{color:var(--gold)}
.pilot-lead{max-width:720px;margin:0 auto 30px;text-align:center}
.pilot-lead h2{margin-bottom:10px}
.pilot-lead p{color:#d5e0f2;margin:0 auto 8px;max-width:640px}
.pilot-lead p:last-child{margin-bottom:0;font-weight:600;color:#fff}

/* ============================================================
   BOTTOM OF HOMEPAGE — Wael screenshot layout (2026-11-01):
   How It Works strip (intro left, 3 steps with arrows), the
   pilot navy bar, and the consult band's scroll-to-form button.
   ============================================================ */
.hiw-strip{background:#fff;border-left:5px solid var(--gold)}
.hiw-strip-inner{max-width:1160px;margin:0 auto;padding:36px 24px;
  display:flex;gap:40px;align-items:flex-start}
.hiw-intro{flex:0 0 235px}
.hiw-intro h2{margin:0 0 6px}
.hiw-intro p{color:var(--muted);margin:0}
.hiw-steps{flex:1;display:flex;align-items:flex-start;gap:16px}
.hiw-step{flex:1;text-align:center}
.hiw-badge{display:grid;place-items:center;width:34px;height:34px;
  border-radius:50%;background:var(--gold);color:#231600;
  font-weight:800;margin:0 auto 8px}
.hiw-icon{display:grid;place-items:center;color:var(--navy2);
  margin-bottom:6px}
.hiw-step h3{margin:2px 0 4px;font-size:1.03rem}
.hiw-step p{color:var(--muted);margin:0;font-size:.93rem}
.hiw-arrow{align-self:center;color:var(--gold);font-size:1.35rem;
  font-weight:800;flex:none}
.pilot-bar{max-width:1112px;margin:28px auto;padding:16px 22px;
  background:linear-gradient(120deg,var(--navy),var(--navy2));
  border-radius:16px;display:flex;align-items:center;gap:18px;
  color:#fff;box-shadow:0 10px 26px rgba(10,30,60,.18)}
.pilot-bar-ic{color:var(--gold);flex:none;display:grid;place-items:center}
.pilot-bar-title{font-size:1.06rem}
.pilot-bar-sep{width:1px;align-self:stretch;flex:none;
  background:rgba(255,255,255,.35)}
.pilot-bar p{margin:0;color:#dbe4f5;flex:1;font-size:.95rem}
.pilot-bar .btn{flex:none}
#consult-form{scroll-margin-top:96px}
@media (max-width:900px){
  .hiw-strip-inner{flex-direction:column;gap:22px}
  .hiw-intro{flex:none}
  .hiw-steps{flex-wrap:wrap}
  .hiw-arrow{display:none}
  .hiw-step{flex:1 1 140px}
  .pilot-bar{flex-direction:column;align-items:flex-start;
    margin:28px 18px 0}
  .pilot-bar-sep{display:none}
}

/* ============================================================
   MOBILE ALIGNMENT PASS (Wael, 2026-11-01) — from a real
   375px render audit of 12 pages on the local build: the
   header consultation button wrapped to two lines on every
   page, the homepage How-It-Works steps wrapped 2 + 1, and
   the store filter selects sat at ragged widths. The vendor
   steps' stray connector dots were the stepper collision
   fixed above (bare .step rules now scoped to .stepper).
   ============================================================ */
body{overflow-x:clip}
@media (max-width:640px){
  .site-header{gap:8px}
  .header-cta{white-space:nowrap;font-size:.78rem;padding:8px 11px}
  .hiw-steps{flex-direction:column;align-items:stretch;gap:22px}
  .hiw-step{flex:none}
  .store-selects{flex-direction:column;align-items:stretch;gap:10px}
  .store-selects label{display:flex;justify-content:space-between}
  .store-selects select{flex:0 0 62%}
}

/* ============================================================
   WAEL FIX BATCH (2026-11-05)
   1) Anchored sections land clear of the sticky header:
      every element a fragment link can target gets the same
      96px scroll offset the service sections already had, so
      a jump stops with the section heading cleanly at the top
      instead of tucked under the nav or mid-section.
   2) A heading that follows a card grid gets real breathing
      room (About page: "Our commitment to you" sat cramped
      against the values cards).
   3) Customize page: the styled design renders LIVE inside a
      smartphone mockup (real HTML/CSS fed by the edit fields),
      with a style-variations row whose label chips always use
      a readable color pair.
   ============================================================ */
section[id], div[id], .svc-line{scroll-margin-top:96px}
.card-grid + h3{margin-top:2.2rem}

.phone-stage{background:linear-gradient(160deg,#93a1b8,#71809a 55%,#8494ab);
  border-radius:16px;padding:36px 16px 22px;text-align:center;
  box-shadow:0 10px 26px rgba(10,30,60,.14)}
.phone-frame{width:min(300px,88%);margin:0 auto;background:#0b0e14;
  border-radius:46px;padding:11px 11px 7px;
  box-shadow:0 24px 48px rgba(6,12,24,.45),inset 0 0 0 2px #2a2f3a}
.phone-screen{position:relative;background:#fff;border-radius:36px;
  overflow:hidden}
.phone-notch{position:absolute;top:0;left:50%;
  transform:translateX(-50%);width:96px;height:21px;
  background:#0b0e14;border-radius:0 0 13px 13px;z-index:3}
.phone-home{height:17px;display:flex;align-items:center;
  justify-content:center}
.phone-home::after{content:"";width:104px;height:4px;border-radius:2px;
  background:#3a4152}
.phone-caption{color:#0d1b33;font-weight:600;font-size:1.02rem;
  margin:15px 0 0;min-height:1.4em}

.post-design{--pd-band:#0F1B3D;--pd-script:#F2B33D;--pd-bg:#FFFFFF;
  --pd-ink:#16233A;--pd-foot:#0F1B3D;
  aspect-ratio:4/5;display:flex;flex-direction:column;
  background:var(--pd-bg);text-align:center}
.pd-band{background:var(--pd-band);flex:0 0 33%;display:flex;
  flex-direction:column;justify-content:center;align-items:center;
  padding:26px 16px 12px}
.pd-script{font-family:"Dancing Script",cursive;font-weight:700;
  font-size:1.72rem;line-height:1.1;color:var(--pd-script);margin:0}
.post-design .pv-headline{font-family:Sora,Inter,sans-serif;
  font-weight:800;font-size:1.28rem;line-height:1.14;margin:7px 0 0;
  overflow-wrap:break-word}
.pd-photo{flex:1 1 auto;width:100%;min-height:0;object-fit:cover;
  display:block}
.pd-photo-empty{background:#cbd5e1}
.post-design .pv-sub{color:var(--pd-ink);font-weight:600;
  font-size:.8rem;margin:0;padding:9px 12px 7px}
.pd-foot{background:var(--pd-foot);color:#fff;padding:8px 12px}
.post-design .pv-byline{font-size:.76rem;margin:0;
  overflow-wrap:break-word}

.styles-title{margin:34px 0 14px}
.styles-under .styles-title{margin:22px 0 10px;font-size:1.15rem}
.styles-under .style-row{grid-template-columns:repeat(3,1fr)}
.style-row{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.style-thumb{background:#fff;border:2px solid var(--line);
  border-radius:14px;padding:8px;cursor:pointer;text-align:center;
  font:inherit}
.style-thumb:hover{border-color:#b9c6da}
.style-thumb.selected{border-color:var(--navy);
  box-shadow:0 6px 16px rgba(10,30,60,.16)}
.st-mini{display:flex;flex-direction:column;border-radius:9px;
  overflow:hidden;aspect-ratio:4/3.4;border:1px solid rgba(10,30,60,.12)}
.st-band{flex:0 0 42%;display:flex;align-items:center;
  justify-content:center;padding:4px}
.st-script{font-family:"Dancing Script",cursive;font-weight:700;
  font-size:.92rem;line-height:1}
.st-photo{flex:1;background-size:cover;background-position:center;
  background-color:#cbd5e1}
.st-chip{display:inline-block;margin-top:8px;padding:4px 10px;
  border-radius:999px;font-size:.7rem;font-weight:700;
  letter-spacing:.045em;line-height:1.25}
@media (max-width:860px){
  .style-row{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:520px){
  .style-row{grid-template-columns:repeat(2,1fr)}
}

/* ============================================================
   PILOT SLICE A — poster preview + full editor (2026-11-06,
   Wael's customization-upgrade brief, Phases 1+2). The phone
   mockup is retired for the pilot product: the design itself
   renders as a clean 4:5 poster at full column width. Type
   sizes ride container-query units so the poster scales
   proportionally from desktop down to phones (rem fallbacks
   first for older engines). The .phone-* rules above now
   match nothing and stay only as history.
   ============================================================ */
.poster-stage{background:linear-gradient(165deg,#eef2f7,#dde5ef);
  border-radius:18px;padding:26px 22px;
  box-shadow:0 10px 26px rgba(10,30,60,.10)}
.poster-design{container-type:inline-size;width:100%;
  max-width:640px;margin:0 auto;border-radius:14px;
  overflow:hidden;box-shadow:0 18px 40px rgba(6,12,24,.28)}
.poster-design .pd-band{flex:0 0 30%;padding:4.5cqw 4cqw 3cqw}
.poster-design .pd-script{font-size:4.6rem;font-size:8.6cqw}
.poster-design .pv-headline{font-size:1.9rem;font-size:7.2cqw;
  line-height:1.12;margin-top:1.2cqw;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden}
.poster-design .pv-price{font-family:Sora,Inter,sans-serif;
  font-weight:800;font-size:1.5rem;font-size:5.8cqw;color:#fff;
  margin:1.6cqw 0 0;line-height:1.1}
.pd-photo-wrap{position:relative;flex:1 1 auto;min-height:0;
  overflow:hidden;background:#cbd5e1}
.pd-photo-wrap .pd-photo{position:absolute;left:0;top:0;
  max-width:none;display:block}
.poster-design .pd-body{padding:2.6cqw 4cqw 2.2cqw;
  display:flex;flex-direction:column;align-items:center;
  gap:1.1cqw}
.poster-design .pv-details{font-family:Sora,Inter,sans-serif;
  font-weight:700;font-size:1.15rem;font-size:4.5cqw;
  color:var(--pd-ink);margin:0;line-height:1.2;text-align:center}
.poster-design .pv-address{font-size:1rem;font-size:3.9cqw;
  color:var(--pd-ink);margin:0;line-height:1.25;text-align:center;
  display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden}
.poster-design .pv-sub{font-size:.9rem;font-size:3.6cqw;
  color:var(--pd-ink);opacity:.75;margin:0;padding:0;
  line-height:1.3;text-align:center;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden}
.poster-design .pd-foot{display:flex;align-items:center;
  gap:3cqw;padding:2.4cqw 4cqw}
.pd-foot-text{flex:1;min-width:0;text-align:center}
.poster-design .pv-byline{font-size:1rem;font-size:3.9cqw;
  line-height:1.25}
.poster-design .pv-brokerage{font-size:.8rem;font-size:3cqw;
  letter-spacing:.14em;margin:.6cqw 0 0;line-height:1.3;
  opacity:.92}
.pv-logo{height:9.5cqw;max-height:64px;max-width:24cqw;
  object-fit:contain;background:#fff;border-radius:1.4cqw;
  padding:1cqw;box-sizing:border-box}
.post-design p[hidden]{display:none}
/* pilot editor controls */
.field-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;
  gap:12px}
.field-row-3 label{margin-bottom:0}
.customize-form input[type="file"]{width:100%;
  box-sizing:border-box;padding:10px 12px;min-height:44px;
  border:1px solid var(--line);border-radius:10px;
  background:#fff;font:400 .95rem Inter,sans-serif}
.slider-row{display:flex;align-items:center;gap:14px}
.slider-row input[type="range"]{flex:1;min-height:44px;
  accent-color:var(--navy)}
@media (max-width:520px){
  .poster-stage{padding:16px 12px}
  .field-row-3{grid-template-columns:1fr}
}

/* ============================================================
   ETSY-STYLE CUSTOMIZE (staging build, Wael-approved mockup
   v2, 2026-11-11): gallery + buy box. The gallery shows the
   full design — thumbnails repeat the whole design contained,
   never a crop, so no word is ever cut off — and the buy box
   leads with delivery banner, price and title above the
   personalize form, with the action buttons dead-center.
   ============================================================ */
.customize-layout{grid-template-columns:1.08fr .92fr;gap:30px}
.live-badge{position:absolute;top:14px;left:14px;z-index:3;
  background:var(--gold);color:var(--navy);
  font:800 .72rem Sora,sans-serif;letter-spacing:.06em;
  text-transform:uppercase;padding:7px 12px;border-radius:999px;
  box-shadow:0 4px 12px rgba(10,30,60,.25)}
.gallery-thumbs{display:grid;grid-template-columns:repeat(4,1fr);
  gap:12px;margin-top:14px}
.g-thumb{position:relative;display:flex;align-items:center;
  justify-content:center;aspect-ratio:4/3;border-radius:14px;
  overflow:hidden;background:#EFE7D7;border:1px solid var(--line)}
.g-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.g-thumb-navy{background:var(--navy)}
.g-thumb.is-active{border-color:var(--gold);
  box-shadow:0 0 0 3px var(--gold)}
.g-tile{flex-direction:column;gap:2px;text-align:center;
  font:700 .8rem Sora,sans-serif;letter-spacing:.04em;padding:6px}
.g-tile strong{font-size:1rem}
.g-tile-navy{background:var(--navy);color:#fff}
.g-tile-navy strong{color:var(--gold)}
.g-tile-cream{background:#FFF4D6;color:var(--navy)}
.pdp-card{background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:20px 22px;margin-top:18px;
  box-shadow:0 6px 16px rgba(10,30,60,.05)}
.pdp-card h2{margin-top:0;font-size:1.2rem;color:var(--navy)}
.pdp-list{list-style:none;margin:0;padding:0}
.pdp-list li{margin-bottom:14px;padding-left:26px;position:relative}
.pdp-list li:before{content:"✓";position:absolute;left:0;
  color:var(--gold);font-weight:800}
.pdp-list li strong{display:block;color:var(--navy)}
.pdp-list li span{color:var(--muted);font-size:.94rem}
.pdp-get{margin:0;padding-left:20px}
.pdp-get li{margin-bottom:8px}
.pdp-steps{margin:0;padding-left:20px}
.pdp-steps li{margin-bottom:12px}
.pdp-steps li strong{display:block;color:var(--navy)}
.pdp-steps li span{color:var(--muted);font-size:.94rem}
.buybox-head{padding-bottom:8px}
.delivery-banner{background:#FFF4D6;border:1px solid #F0CD78;
  color:var(--navy);font-weight:700;border-radius:12px;
  padding:10px 14px;margin:0 0 14px}
.buybox-price{margin:0 0 4px}
.buybox-price strong{font-size:2.1rem;color:var(--navy)}
.buybox-price span{color:var(--muted);margin-left:8px}
.buybox-price s{color:var(--muted);font-size:1.05rem;margin-left:8px}
.buybox-title{font-size:1.3rem;line-height:1.3;margin:4px 0 8px}
.buybox-seller{margin:0 0 10px;color:var(--navy)}
.buybox-seller span{color:var(--muted);font-size:.92rem}
.customize-price .product-action{display:flex;align-items:center;
  justify-content:center;text-align:center}
@media (max-width:860px){
  /* This block sits after the original 860px media rule, so
     the single-column stack must be restated here — without
     it the two-column grid above wins at phone widths too. */
  .customize-layout{grid-template-columns:1fr}
  .gallery-thumbs{gap:8px}
  .g-tile{font-size:.62rem}
  .g-tile strong{font-size:.78rem}
}

/* Real clickable gallery (2026-11-11): thumbnails swap the
   main view, Etsy-style. The static view keeps the preview's
   4:3 frame so the page doesn't jump on swap. */
.gallery-view-img{width:100%;aspect-ratio:4/3;object-fit:contain;
  background:#EFE7D7;border-radius:14px;display:block}
.gallery-view-img[hidden]{display:none}
.gallery-real .g-thumb{appearance:none;background:none;border:none;
  padding:0;cursor:pointer;font:inherit;text-align:center;
  flex-direction:column;justify-content:flex-start;
  aspect-ratio:auto;overflow:visible}
.gallery-real .g-thumb.is-active{box-shadow:none}
.gallery-real .g-thumb img{border:2px solid transparent;
  border-radius:8px;width:100%;height:auto;aspect-ratio:4/3;
  object-fit:contain;background:#EFE7D7}
.gallery-real .g-thumb.is-active img{border-color:var(--gold)}
.gallery-real .g-label{display:block;margin-top:4px;
  font-size:.72rem;color:var(--muted)}
.gallery-real .g-thumb.is-active .g-label{color:var(--navy);
  font-weight:700}
