/* ============================================================
   WebVue × Apple Design System
   Applies Apple's visual language (SF Pro / Inter type, full-bleed
   alternating tiles, single accent, one shadow, radius grammar,
   museum-gallery restraint) while KEEPING WebVue's emerald brand.
   Loaded LAST — overrides colors_and_type.css + site.css.
   ============================================================ */

/* ---------- TOKEN OVERRIDES ---------- */
:root{
  --font-sans:"SF Pro Display","SF Pro Text",-apple-system,BlinkMacSystemFont,"Inter",system-ui,"Helvetica Neue",Arial,sans-serif;

  /* Neutrals — Apple */
  --ink:#1d1d1f; --charcoal:#1d1d1f;
  --canvas-cream:#ffffff; --lifted-cream:#f5f5f7; --white:#ffffff;
  --soft-bone:#f5f5f7; --whisper-cream:#f5f5f7;
  --slate-gray:#6e6e73; --granite:#424245; --graphite:#424245; --dust-taupe:#86868b;
  --fg-on-ink:#f5f5f7; --fg-link:#2f8a57;

  /* Accent — WebVue emerald (Apple's single-accent role) */
  --signal-orange:#40AA6D; --signal-orange-light:#5FC98C; --clay-brown:#2F8A57;
  --brand-orange:#40AA6D; --brand-amber:#5FC98C; --accent:#40AA6D; --accent-arc:#5FC98C;

  --border-soft:rgba(0,0,0,.09); --border-ink:#1d1d1f; --border-on-dark:rgba(255,255,255,.4);

  /* Weight ladder — 300/400/600/700 (no 500) */
  --fw-body:400; --fw-medium:600; --fw-bold:600;

  /* Type — Apple reads at 17px, generous leading */
  --body-size:17px; --body-lh:1.47;

  /* Radius grammar */
  --r-xs:8px; --r-btn:980px; --r-pill:980px; --r-lg:18px; --r-full:980px;

  /* Elevation — Apple's single product-render shadow + light card lift */
  --shadow-1:0 1px 3px rgba(0,0,0,.05);
  --shadow-2:rgba(0,0,0,.10) 0 6px 24px;
  --shadow-3:rgba(0,0,0,.22) 3px 5px 30px;
  --shadow-render:rgba(0,0,0,.22) 3px 5px 30px;
}

body.hv{ background:#fff; color:#1d1d1f; -webkit-font-smoothing:antialiased; letter-spacing:-.011em; }
.hv h1,.hv h2,.hv h3,.h1,.h2,.h3{ font-weight:600; text-wrap:balance; }
a{ color:var(--signal-orange); }
a:hover{ color:var(--clay-brown); }

/* Eyebrow — colored label, no dot */
.eyebrow{ color:var(--signal-orange); font-weight:600; letter-spacing:.005em; text-transform:none; font-size:17px; }
.eyebrow::before{ display:none !important; }

/* Section rhythm — surface change is the divider */
.section{ padding-block:clamp(64px,9vw,120px); }
.section-sm{ padding-block:clamp(48px,7vw,88px); }
.lifted{ background:var(--lifted-cream); }
.wrap{ max-width:1200px; }
.section-head .h2{ font-size:clamp(32px,4.6vw,52px); letter-spacing:-.02em; line-height:1.07; }
.section-head p{ font-size:clamp(18px,1.7vw,21px); color:var(--granite); max-width:640px; line-height:1.42; }

/* ============================================================
   BUTTONS — pill grammar, emerald accent, press = scale(.96)
   ============================================================ */
.btn-ink{
  background:var(--signal-orange); color:#fff; border:1px solid var(--signal-orange);
  border-radius:980px; font-weight:400; font-size:17px; letter-spacing:-.01em;
  padding:8px 22px; transition:background .18s cubic-bezier(.4,0,.2,1),transform .18s cubic-bezier(.4,0,.2,1);
}
.btn-ink:hover{ background:var(--clay-brown); }
.btn-ink:active{ transform:scale(.96); }
.btn-lg{ padding:11px 26px !important; font-size:19px !important; }

.btn-outline{
  background:#fff; color:var(--ink); border:1px solid rgba(0,0,0,.16);
  border-radius:980px; font-weight:400; font-size:17px; padding:8px 22px;
}
.btn-outline:hover{ background:#f5f5f7; }
.btn-outline:active{ transform:scale(.96); }

.btn-on-ink{ background:#f5f5f7; color:#1d1d1f; border:1px solid #f5f5f7; border-radius:980px; font-weight:400; }
.btn-on-ink:hover{ background:#fff; }
.btn-ghost-ink{ background:transparent; color:#f5f5f7; border:1px solid rgba(255,255,255,.4); border-radius:980px; font-weight:400; }
.btn-ghost-ink:hover{ background:rgba(255,255,255,.1); }
.btn-ink .arrow,.btn-outline .arrow,.btn-on-ink .arrow,.btn-ghost-ink .arrow{ font-size:1em; }

/* Apple text link — trailing chevron */
.ap-chev{ color:var(--signal-orange); font-size:19px; font-weight:400; text-decoration:none; display:inline-flex; align-items:baseline; gap:2px; }
.ap-chev::after{ content:"\203A"; font-size:1.15em; line-height:1; transition:transform .18s cubic-bezier(.4,0,.2,1); }
.ap-chev:hover{ text-decoration:underline; color:var(--clay-brown); }
.ap-chev:hover::after{ transform:translateX(3px); }
.text-link-arrow .arrow{ color:var(--signal-orange); }

/* Kill the un-Apple JS 3-D tilt on cards */
.feature-card,.plan-card,.svc-card,.svc-tile,.tab,.testi-card,.work-card{ transform:none !important; }

/* ============================================================
   GLOBAL NAV — frosted full-bleed Apple bar
   ============================================================ */
.hv-header{ position:sticky; top:0; z-index:60; padding:0 !important; }
.hv-pill{
  max-width:none !important; margin:0 !important; border-radius:0 !important;
  background:rgba(255,255,255,.72) !important;
  -webkit-backdrop-filter:saturate(180%) blur(20px); backdrop-filter:saturate(180%) blur(20px);
  box-shadow:none !important; border-bottom:1px solid rgba(0,0,0,.09);
  padding:0 clamp(18px,5vw,64px) !important; height:52px; gap:22px;
}
.hv-pill.hv-scrolled{ background:rgba(255,255,255,.85) !important; }
.hv-logo{ height:22px; }
.hv-navlinks{ gap:34px; }
.nav-a{ font-size:14px; font-weight:400; letter-spacing:-.01em; color:#1d1d1f; opacity:.86; padding:6px 0; }
.nav-a:hover{ opacity:1; color:#1d1d1f; }
.nav-a.active{ color:var(--signal-orange); opacity:1; }
.nav-a::after{ display:none !important; }
.nav-a .cd{ opacity:.5; }
.nav-dd{ border-radius:18px; box-shadow:0 8px 40px rgba(0,0,0,.14); }
.dd-ic{ background:#f5f5f7; color:var(--signal-orange); }
.dd-link.feat .dd-ic{ background:var(--signal-orange); color:#fff; }
.dd-link:hover{ background:#f5f5f7; }
.mega-feat{ background:#f5f5f7; }
.hv-login{ font-size:13px !important; }
.hv-cta-talk.btn-ink{
  background:var(--signal-orange) !important; border-color:var(--signal-orange) !important;
  color:#fff !important; border-radius:980px; font-size:13px; font-weight:400; padding:6px 15px;
}
.hv-cta-talk.btn-ink:hover{ background:var(--clay-brown) !important; }
.icon-btn{ border-color:rgba(0,0,0,.14); color:#1d1d1f; }

/* ============================================================
   APPLE TILE / HERO PRIMITIVES
   ============================================================ */
.ap-tile{ padding:clamp(64px,9vw,110px) clamp(16px,4vw,48px); text-align:center; }
.ap-tile--parchment{ background:var(--lifted-cream); }
.ap-tile--dark{ background:#1d1d1f; color:#f5f5f7; }
.ap-tile--black{ background:#000; color:#f5f5f7; }
.ap-tile--dark .eyebrow,.ap-tile--black .eyebrow{ color:var(--signal-orange-light); }
.ap-inner{ max-width:1000px; margin:0 auto; }

.ap-hero{ text-align:center; padding:clamp(64px,9vw,116px) clamp(16px,4vw,48px) clamp(20px,3vw,40px); }
.ap-hero .eyebrow{ display:block; margin-bottom:10px; font-size:clamp(19px,2vw,23px); }
.ap-hero h1{
  font-size:clamp(40px,7.2vw,88px); line-height:1.04; letter-spacing:-.022em; font-weight:600;
  margin:0 auto 20px; max-width:16ch;
}
.ap-hero .ap-sub{
  font-size:clamp(20px,2.5vw,28px); line-height:1.28; color:var(--granite); font-weight:400;
  max-width:700px; margin:0 auto 28px; text-wrap:pretty;
}
.ap-ctarow{ display:flex; gap:14px 30px; justify-content:center; align-items:center; flex-wrap:wrap; }
.ap-hero--dark{ background:#1d1d1f; color:#f5f5f7; }
.ap-hero--dark .ap-sub{ color:#a1a1a6; }

/* Product render — the one shadow */
.ap-render{ margin:clamp(36px,5vw,60px) auto 0; max-width:1120px; padding:0 clamp(16px,4vw,48px); }
.ap-render img{ width:100%; display:block; border-radius:18px; box-shadow:var(--shadow-render); }
.ap-render--flush img{ box-shadow:none; border-radius:18px; }

/* Stat row — Apple plain numerals */
.ap-stats{ display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(28px,5vw,72px); margin-top:clamp(32px,4vw,48px); }
.ap-stat{ display:flex; flex-direction:column; gap:4px; }
.ap-stat b{ font-size:clamp(34px,4vw,52px); font-weight:600; letter-spacing:-.03em; line-height:1; }
.ap-stat span{ font-size:15px; color:var(--slate-gray); }
.ap-tile--dark .ap-stat span,.ap-hero--dark .ap-stat span{ color:#a1a1a6; }

/* ============================================================
   FEATURE CARDS — white, hairline, 18px, no heavy shadow
   ============================================================ */
.feature-grid{ gap:20px; }
.feature-card,.feature-card.flat{
  background:#fff; border:1px solid rgba(0,0,0,.09); border-radius:18px;
  box-shadow:none; padding:34px 30px; transition:box-shadow .3s cubic-bezier(.4,0,.2,1);
}
.feature-card:hover{ box-shadow:rgba(0,0,0,.09) 0 6px 26px; }
.fc-ic,.feature-card.flat .fc-ic{ background:#f5f5f7; color:var(--signal-orange); border-radius:14px; width:52px; height:52px; margin-bottom:22px; }
.feature-card h3{ font-size:22px; font-weight:600; letter-spacing:-.02em; }
.feature-card p{ font-size:16px; color:var(--granite); line-height:1.5; }

/* Dark band — Apple near-black tile */
.band-ink{ background:#1d1d1f; }
.band-ink .feature-card.flat{ background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.1); }
.band-ink .feature-card.flat .fc-ic{ background:rgba(255,255,255,.08); color:var(--signal-orange-light); }
.band-ink .section-head p{ color:#a1a1a6; }

/* ============================================================
   SPLIT SECTIONS — Apple editorial, one shadow on media
   ============================================================ */
.split-media{ border-radius:18px; box-shadow:var(--shadow-render); }
.split h2{ font-size:clamp(30px,4vw,46px); letter-spacing:-.02em; }
.split p{ font-size:18px; color:var(--granite); line-height:1.5; }
.split-list li{ font-size:17px; }
.split-list li [data-lucide]{ color:var(--signal-orange); }

/* ============================================================
   SERVICE TILES (services.html overview grid)
   ============================================================ */
.svc-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.svc-tile{
  display:flex; flex-direction:column; align-items:flex-start;
  background:#fff; border:1px solid rgba(0,0,0,.09); border-radius:18px; padding:30px 26px;
  color:#1d1d1f; text-decoration:none; transition:box-shadow .3s cubic-bezier(.4,0,.2,1);
}
.svc-tile:hover{ box-shadow:rgba(0,0,0,.09) 0 6px 26px; color:#1d1d1f; }
.svc-tile .st-ic{ width:52px; height:52px; border-radius:14px; background:#f5f5f7; color:var(--signal-orange); display:grid; place-items:center; margin-bottom:20px; }
.svc-tile .st-ic [data-lucide]{ width:24px; height:24px; }
.svc-tile h3{ font-size:20px; font-weight:600; letter-spacing:-.02em; margin-bottom:8px; }
.svc-tile p{ font-size:15px; color:var(--granite); line-height:1.5; margin-bottom:16px; }
.svc-tile .st-link{ margin-top:auto; color:var(--signal-orange); font-weight:400; font-size:15px; display:inline-flex; align-items:center; gap:6px; }
.svc-tile .st-link [data-lucide]{ width:16px; height:16px; }
@media(max-width:1000px){ .svc-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .svc-grid{ grid-template-columns:1fr; } }

/* Services in depth (services.html) */
.sd-ic{ background:var(--signal-orange); color:#fff; border-radius:14px; }
.sd-card{ background:#fff; border:1px solid rgba(0,0,0,.09); border-radius:18px; box-shadow:none; }
.sd-feats .pf [data-lucide]{ color:var(--signal-orange); }
.sd-link{ color:var(--signal-orange); }

/* ============================================================
   WORK CARDS — Apple store-card grid
   ============================================================ */
.work-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.work-card{
  background:#fff; border:1px solid rgba(0,0,0,.09); border-radius:18px; overflow:hidden;
  box-shadow:none; transition:box-shadow .3s cubic-bezier(.4,0,.2,1); color:#1d1d1f;
}
.work-card:hover{ box-shadow:rgba(0,0,0,.10) 0 8px 30px; }
.work-shot{ aspect-ratio:4/3; position:relative; overflow:hidden; background:#f5f5f7; }
.work-body{ padding:20px 22px 24px; }
.work-card .we{ color:var(--signal-orange); font-size:12px; font-weight:600; letter-spacing:.02em; text-transform:uppercase; }
.work-card h3{ font-size:20px; font-weight:600; letter-spacing:-.02em; margin-top:4px; }
.work-tag{ background:rgba(255,255,255,.9); color:#1d1d1f; border-radius:980px; }
@media(max-width:920px){ .work-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .work-grid{ grid-template-columns:1fr; } }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.step .snum{ background:#f5f5f7; color:var(--signal-orange); }
.step h4{ font-weight:600; }

/* ============================================================
   STATS (count-up band)
   ============================================================ */
.stat .snum{ font-weight:600; letter-spacing:-.03em; }
.snum-suffix{ color:var(--signal-orange); }
.band-ink .snum-suffix{ color:var(--signal-orange-light); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-card{ background:#fff; border:1px solid rgba(0,0,0,.09); border-radius:18px; box-shadow:none; }
.testi-card:hover{ box-shadow:rgba(0,0,0,.09) 0 6px 26px; transform:none; }
.testi-card .tq{ background:#f5f5f7; color:var(--signal-orange); }
.testi-card blockquote{ font-size:18px; line-height:1.5; }
.testi-card .tav{ background:var(--signal-orange); color:#fff; }
.testi-rating .stars-lg{ color:var(--signal-orange); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item{ background:#fff; border:1px solid rgba(0,0,0,.09); border-radius:18px; box-shadow:none; }
.faq-item.open{ box-shadow:rgba(0,0,0,.08) 0 6px 24px; }
.faq-q{ font-weight:600; font-size:18px; }
.faq-q .pm{ background:#f5f5f7; color:var(--signal-orange); }
.faq-item.open .faq-q .pm{ background:var(--signal-orange); color:#fff; }

/* ============================================================
   FINAL CTA — clean Apple dark tile (no decorative glow)
   ============================================================ */
.migrate-cta{ background:#1d1d1f; margin-bottom:0; padding-block:clamp(80px,10vw,132px); }
.migrate-cta__field{ display:none !important; }
.migrate-cta h2{ font-weight:600; letter-spacing:-.02em; color:#f5f5f7; }
.migrate-cta__sub{ color:#a1a1a6; }

/* ============================================================
   FOOTER — Apple parchment, dense, relaxed leading
   ============================================================ */
.site-footer{ background:#f5f5f7 !important; color:#1d1d1f; }
.site-footer .f-brand p{ color:#6e6e73; font-size:12px; line-height:1.6; }
.f-col-h{ color:#6e6e73 !important; font-size:12px; font-weight:600; }
.f-link{ color:#424245 !important; font-size:12px; line-height:2.4; }
.f-link:hover{ color:#1d1d1f !important; text-decoration:underline; }
.f-contact-link{ color:#424245 !important; font-size:12px; }
.f-contact-link:hover{ color:#1d1d1f !important; }
.f-divider{ background:rgba(0,0,0,.1) !important; border-color:rgba(0,0,0,.1) !important; }
.f-fine{ color:#6e6e73; font-size:12px; }
.f-social a{ color:#6e6e73; }
.f-social a:hover{ color:#1d1d1f; }
.site-footer .hv-logo{ height:24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:920px){
  .hv-navlinks{ display:none; }
  .menu-btn{ display:grid !important; }
}
@media(max-width:560px){
  .ap-hero h1{ font-size:clamp(34px,10vw,44px); }
  .feature-grid.cols-2,.feature-grid.cols-4{ grid-template-columns:1fr; }
}
