/* ============================================================
   A Great Archie: aga-polish.css  (design pass 2026-11-30, v p1)
   Loaded LAST on every static page. Visual only: no copy, prices
   or behaviour. Rules: /workspace/design-notes/agreatarchie-design-principles.md
   Undo: remove the <link> to this file (rollback-design.sh).
   ============================================================ */
/* A Great Archie: self-hosted fonts (SIL OFL 1.1, see /assets/fonts/*-OFL.txt). No third-party requests. */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/fraunces-latin-var.woff2) format('woff2')}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:300 700;font-display:swap;src:url(/assets/fonts/fraunces-latin-var-italic.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-latin-var.woff2) format('woff2')}

:root{
  --font-display:'Fraunces',Georgia,'Times New Roman',serif;
  --font-sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --fs-display:clamp(3rem,2.06rem + 3.85vw,5.5rem);
  --fs-h1:clamp(2.5rem,1.94rem + 2.29vw,4rem);
  --fs-h2:clamp(1.875rem,1.55rem + 1.33vw,2.75rem);
  --fs-h3:clamp(1.25rem,1.2rem + .19vw,1.375rem);
  --fs-lead:clamp(1.125rem,1.08rem + .19vw,1.25rem);
  --fs-body:clamp(1rem,.98rem + .1vw,1.0625rem);
  --fs-small:.875rem;
  --fs-eyebrow:.75rem;
  --s-1:8px;--s-2:16px;--s-3:24px;--s-4:32px;--s-5:48px;--s-6:64px;--s-7:96px;--s-8:128px;
  --ink:#191b20;--muted:#55575e;--line:#e4ded1;--paper:#fffdf8;--card:#ffffff;
  --gold-light:#e7c778;--gold-hover:#efd492;--gold-text:#806024;--focus:#b48a39;
  --r-btn:8px;--r-card:12px;
  --shadow-1:0 1px 2px rgba(20,35,49,.06),0 1px 1px rgba(20,35,49,.04);
  --shadow-2:0 12px 32px -12px rgba(20,35,49,.22);
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- 1. One text family ---------- */
html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body.editorial-site{font-family:var(--font-sans)!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:'cv11','ss01'}
body.editorial-site :is(p,li,a,span,div,label,input,select,textarea,button,small,strong,em,b,td,th,dt,dd,figcaption,summary,blockquote,h3,h4,h5,h6,.h3,.h4,.h5,.h6,nav,legend,option,output):not(.fa):not([class*="fa-"]):not(.orbit-letter):not(.name-orbit-plane *):not(:is(h1,h2,.h1,.h2) *){font-family:var(--font-sans)!important}

/* ---------- 2. Display type ---------- */
body.editorial-site :is(h1,h2,.h1,.h2){font-family:var(--font-display)!important;font-weight:500!important;font-optical-sizing:auto;font-variation-settings:'SOFT' 0,'WONK' 0;text-wrap:balance}
body.editorial-site h1,body.editorial-site .h1{font-size:var(--fs-h1)!important;line-height:1.05!important;letter-spacing:-.022em!important}
body.editorial-site .editorial-hero h1{font-size:var(--fs-display)!important;line-height:1!important;letter-spacing:-.03em!important}
body.editorial-site main h2,body.editorial-site main .h2{font-size:var(--fs-h2)!important;line-height:1.1!important;letter-spacing:-.016em!important}
body.editorial-site main :is(h3,.h3){font-weight:600!important;letter-spacing:-.012em!important;line-height:1.3!important;text-wrap:balance}
body.editorial-site main h4,body.editorial-site main .h4{font-weight:600!important;letter-spacing:-.006em!important;line-height:1.35!important}
/* content-card titles: one size */
body.editorial-site main :is(.service-card,.product-card,.choose-box,.insight-card,.pkg-card,.type-box,.duo-panel) :is(h3,.h4){font-size:var(--fs-h3)!important}

/* ---------- 3. Text ---------- */
body.editorial-site main p{font-weight:400!important;line-height:1.65}
body.editorial-site main :is(p,li):not(.eyebrow):not([class*="price"]):not([class*="total"]){font-feature-settings:'cv11','ss01'}
body.editorial-site main .page-hero .hero-copy>p:not(.eyebrow),
body.editorial-site main .split-heading>p,
body.editorial-site main .order-lead{font-size:var(--fs-lead)!important;line-height:1.6!important;font-weight:400!important}
/* very small card copy (13px) raised to the 15px minimum */
body.editorial-site main :is(.service-card,.product-card,.choose-box,.insight-card,.pkg-card,.counter-box) p:not(.eyebrow):not([class*="price"]){font-size:15px!important;line-height:1.6!important}
body.editorial-site .eyebrow,body.editorial-site main .menu-category{font-size:var(--fs-eyebrow)!important;font-weight:600!important;letter-spacing:.12em!important;text-transform:uppercase}
body.editorial-site main strong,body.editorial-site main b{font-weight:600}
body.editorial-site :is(.pkg-price,.summary-total,.cart-total,[class*="price"]){font-variant-numeric:tabular-nums lining-nums}

/* ---------- 4. Buttons (one primary spec, 8px grid) ---------- */
body.editorial-site :is(.button,.default-btn,.btn-primary):not(.nav-cta):not(.range-btn){
  min-height:48px!important;padding:0 24px!important;border-radius:var(--r-btn)!important;
  font-size:15px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.2!important;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  transition:background-color .18s var(--ease),border-color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease)}
body.editorial-site :is(.button,.default-btn,.btn-primary):not(.range-btn):hover{transform:translateY(-1px);box-shadow:0 6px 16px -6px rgba(20,35,49,.35)}
body.editorial-site .agency-header .nav-cta{min-height:40px!important;padding:0 18px!important;border-radius:var(--r-btn)!important;font-size:14px!important;font-weight:600!important;display:inline-flex;align-items:center}
body.editorial-site :is(a,button,summary,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--focus)!important;outline-offset:3px!important;border-radius:4px}
body.editorial-site .text-link{text-underline-offset:5px!important;text-decoration-thickness:1px!important;transition:color .18s var(--ease),text-decoration-color .18s var(--ease)}

/* ---------- 5. Header ---------- */
body.editorial-site .agency-header{border-bottom:1px solid var(--line)!important;box-shadow:none}
body.editorial-site .agency-header .nav-shell{min-height:72px;max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px;align-items:center}
body.editorial-site .agency-header .brand-lockup{width:56px!important;height:56px!important}
body.editorial-site .agency-header nav>a,body.editorial-site .agency-header nav summary{font-size:15px!important;font-weight:500!important;letter-spacing:-.003em;color:var(--ink)}
body.editorial-site .agency-header nav>a:not(.nav-cta):hover,body.editorial-site .agency-header nav summary:hover{color:var(--gold-text)!important}
body.editorial-site .mega-panel{border-radius:var(--r-card)!important;box-shadow:var(--shadow-2)!important}
body.editorial-site .mega-panel a{font-size:15px!important}
body.editorial-site .mega-panel .menu-category{font-size:12px!important;font-weight:600!important;letter-spacing:.12em!important;text-transform:uppercase;color:var(--gold-text)!important}

/* ---------- 6. Cards ---------- */
body.editorial-site main :is(.service-card,.product-card,.insight-card,.pkg-card,.duo-panel){
  border-radius:var(--r-card)!important;transition:transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease)}
body.editorial-site main :is(.service-card,.product-card,.insight-card):hover{transform:translateY(-2px);box-shadow:var(--shadow-2)!important}

/* ---------- 7. Forms ---------- */
body.editorial-site main :is(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=search],select,textarea,.form-control){
  border-radius:var(--r-btn)!important;font-size:16px!important;transition:border-color .18s var(--ease),box-shadow .18s var(--ease)}
body.editorial-site main :is(input,select,textarea,.form-control):focus{border-color:var(--focus)!important;box-shadow:0 0 0 3px rgba(180,138,57,.22)!important;outline:none}
body.editorial-site main label,body.editorial-site main .form-label{font-weight:500!important}

/* ---------- 8. FAQ / accordions ---------- */
body.editorial-site main .accordion-card .btn-link{font-size:17px!important;font-weight:600!important;letter-spacing:-.006em;text-decoration:none!important;min-height:56px}

/* ---------- 9. Footer ---------- */
body.editorial-site .agency-footer .footer-top h3{font-size:12px!important;font-weight:600!important;letter-spacing:.12em!important}
body.editorial-site .agency-footer .footer-top>div>a:not(.brand),body.editorial-site .agency-footer .footer-top p{font-size:15px!important;font-weight:400!important}
body.editorial-site .agency-footer .footer-top>div>a:not(.brand):hover{color:var(--gold-light)!important}
body.editorial-site .agency-footer .footer-bottom{font-size:13px!important;font-weight:400}


/* ---------- 11. Alignment + minimum sizes (audit fixes) ---------- */
body.editorial-site .catalog-section .heading,body.editorial-site .catalog-section .heading .eyebrow{text-align:left!important;margin-left:0!important;margin-right:0!important}
body.editorial-site main .catalog-view{font-size:14px!important;font-weight:600!important;letter-spacing:0!important;text-underline-offset:4px}
body.editorial-site main .text-link{font-size:15px!important}
body.editorial-site main .pkg-card .pkg-blurb{font-size:13px!important;line-height:1.45!important}
body.editorial-site main .pkg-card small{font-size:12px!important}
body.editorial-site main .pkg-card .pkg-name{font-weight:600!important;letter-spacing:.02em}
body.editorial-site main section{scroll-margin-top:88px}

body.editorial-site :is(.button,.default-btn,.btn-primary):not(.nav-cta){max-width:100%;white-space:normal;text-align:center}
body.editorial-site .cart-grid>*{min-width:0}
@media (max-width:991px){body.editorial-site .cart-grid{grid-template-columns:minmax(0,1fr)!important}}

/* ---------- 10. Motion: accessible ---------- */
@media (prefers-reduced-motion:reduce){
  body.editorial-site *,body.editorial-site *::before,body.editorial-site *::after{transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
  body.editorial-site :is(.button,.default-btn,.btn-primary,.service-card,.product-card,.insight-card):hover{transform:none!important}
}
