/* ============================================================
   WebVue — site-level component styles
   Built on colors_and_type.css (design system tokens).
   Aesthetic: warm editorial — cream canvas, ink pills,
   circular portraits, orbital orange arcs, Sofia Sans.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body.hv { background: var(--canvas-cream); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
:where(button) { font-family: var(--font-sans); }
::selection { background: var(--signal-orange-light); color: #fff; }
[data-lucide] { stroke-width: 1.9; }

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-sm { padding-block: clamp(48px, 7vw, 96px); }
.lifted { background: var(--lifted-cream); }
.center { text-align: center; }
.stack-c { display: flex; flex-direction: column; align-items: center; }

.h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.h2 { font-size: clamp(28px, 4vw, 36px); }
/* override design-system's fixed .hv h1/h2 (higher specificity) so headings scale on mobile */
.hv h1.h1, .hv .hero h1, .hv .page-hero h1 { font-size: clamp(36px, 7vw, 64px); }
.hv h2.h2 { font-size: clamp(26px, 4.4vw, 36px); }
.display { font-size: clamp(44px, 7vw, 72px); line-height: .98; letter-spacing: -1.6px; font-weight: var(--fw-medium); }
.lead { font-size: 18px; line-height: 1.5; color: var(--granite); }
.muted { color: var(--fg3); }
.maxw-540 { max-width: 540px; }
.maxw-620 { max-width: 620px; }
.maxw-720 { max-width: 720px; }

.section-head { margin-bottom: clamp(40px, 5vw, 56px); }
.section-head.center { display: flex; flex-direction: column; align-items: center; }
.section-head .h2 { margin-top: 16px; }
.section-head p { margin-top: 16px; color: var(--granite); font-size: 17px; max-width: 580px; }

/* ---------- buttons (extend DS primitives) ---------- */
.btn-ink, .btn-outline { padding: 12px 26px; font-size: 16px; }
.btn-lg { padding: 15px 32px !important; font-size: 17px !important; }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.arrow { font-size: 15px; transition: transform var(--dur) var(--ease); }
.btn-ink:hover .arrow, .btn-outline:hover .arrow { transform: translateX(3px); }
.btn-on-ink {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--canvas-cream); color: var(--ink);
  border: 1.5px solid var(--canvas-cream); border-radius: var(--r-btn);
  padding: 12px 26px; font-size: 16px; font-weight: var(--fw-medium);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn-on-ink:hover { background: #fff; }
.btn-on-ink:active { transform: scale(.97); }
.btn-ghost-ink {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: transparent; color: var(--canvas-cream);
  border: 1.5px solid var(--border-on-dark); border-radius: var(--r-btn);
  padding: 12px 26px; font-size: 16px; font-weight: var(--fw-body);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn-ghost-ink:hover { background: rgba(255,255,255,.08); }
.text-link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: var(--fw-medium); }
.text-link-arrow .arrow { color: var(--signal-orange); }
.text-link-arrow:hover { text-decoration: underline; }

/* ============================================================
   NAV PILL
   ============================================================ */
/* wrapper must not constrain the sticky header's containing block */
#site-header { display: contents; }
.hv-header { position: sticky; top: 0; z-index: 60; padding: 24px clamp(16px,4vw,48px) 0; }
.hv-pill {
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
  background: var(--white); border-radius: var(--r-full);
  padding: 12px 16px 12px 26px; box-shadow: var(--shadow-1);
  max-width: 1280px; margin: 0 auto; transition: box-shadow var(--dur) var(--ease);
}
.hv-pill .brand { display: flex; align-items: center; flex: none; }
.hv-logo { display: block; height: 30px; width: auto; }
.hv-navlinks { display: flex; gap: 30px; margin: 0 auto; }
.nav-a {
  position: relative; color: var(--ink); font-size: 16.5px; font-weight: 500;
  letter-spacing: -.4px; padding: 6px 2px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-a .cd { width: 15px; height: 15px; opacity: .55; transition: transform var(--dur) var(--ease); }
.nav-a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--signal-orange-light); transition: right var(--dur) var(--ease);
}
.nav-a:hover::after, .nav-a.active::after { right: 0; }
.nav-item { position: relative; }
.nav-item.open .nav-a .cd { transform: rotate(180deg); }

.nav-dd {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border-radius: 28px; box-shadow: var(--shadow-2);
  padding: 14px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: all var(--dur) var(--ease); z-index: 70;
}
.nav-item.open .nav-dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-link { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 20px; transition: background var(--dur) var(--ease); }
.dd-link:hover { background: var(--canvas-cream); }
.dd-ic { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--canvas-cream); color: var(--ink); }
.dd-ic [data-lucide] { width: 21px; height: 21px; }
.dd-link.feat .dd-ic { background: var(--ink); color: var(--canvas-cream); }
.dd-link h5 { font-size: 15.5px; font-weight: var(--fw-medium); letter-spacing: -.3px; margin: 0 0 2px; }
.dd-link p { font-size: 13px; color: var(--fg3); line-height: 1.4; margin: 0; }

.hv-right { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-soft); background: transparent; display: grid; place-items: center; color: var(--ink); cursor: pointer; transition: background var(--dur) var(--ease); }
.icon-btn:hover { background: var(--canvas-cream); }
.icon-btn [data-lucide] { width: 18px; height: 18px; }
.nav-search { border: 1px solid rgba(20,20,19,.5); border-radius: var(--r-full); padding: 10px 20px; font-family: var(--font-sans); font-size: 14px; width: 220px; outline: none; background: var(--white); color: var(--ink); }
.hv-cta-nav { flex: none; }
.menu-btn { display: none; }

/* mobile menu */
.hv-mobile { display: none; max-width: 1280px; margin: 12px auto 0; }
.hv-mobile.open { display: block; }
.hv-mobile .panel { background: var(--white); border-radius: 28px; padding: 18px; box-shadow: var(--shadow-2); }
.m-link { display: block; color: var(--ink); font-size: 17px; font-weight: 500; padding: 12px 8px; border-radius: 14px; }
.m-link:hover { background: var(--canvas-cream); }
.m-group {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: transparent; border: none; cursor: pointer; text-align: left;
  color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 600;
  padding: 12px 8px; border-radius: 14px;
}
.m-group:hover { background: var(--canvas-cream); }
.m-group [data-lucide] { width: 18px; height: 18px; color: var(--fg3); transition: transform var(--dur) var(--ease); }
.m-group.open [data-lucide] { transform: rotate(180deg); }
.m-subitems { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.m-subitems .m-link { font-size: 16px; font-weight: 500; padding-left: 22px; color: var(--fg2); }
.m-sub { font-size: 12px; font-weight: 700; letter-spacing: .56px; text-transform: uppercase; color: var(--dust-taupe); padding: 14px 8px 4px; }
.m-cta { margin-top: 14px; display: grid; gap: 10px; }

@media (max-width: 920px) {
  .hv-navlinks { display: none; }
  .menu-btn { display: grid; }
  .hv-cta-nav { display: none; }
  .hv-login { display: none !important; }
  .hv-cta-talk { padding: 9px 15px; font-size: 13.5px; }
  .hv-cta-talk .arrow { display: none; }
  .m-login-hide { display: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(40px, 6vw, 88px); }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 24px; max-width: 880px; }
.hero .lead { max-width: 540px; margin-bottom: 32px; }
.hero-media {
  position: relative; margin-top: clamp(48px, 6vw, 72px); border-radius: var(--r-lg);
  height: clamp(320px, 44vw, 540px); overflow: hidden; box-shadow: var(--shadow-2);
  background: radial-gradient(120% 120% at 70% 20%, #5FC98C 0%, #40AA6D 38%, #1E6E47 78%, #131B24 100%);
}
.hero-media .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; transition: transform var(--dur) var(--ease); }
.hero-media .play:hover { transform: translate(-50%,-50%) scale(1.06); }
.hero-media .play [data-lucide] { width: 26px; height: 26px; margin-left: 4px; }
.media-chip { position: absolute; background: var(--white); color: var(--ink); border-radius: var(--r-full); padding: 11px 22px; font-size: 13px; font-weight: 700; letter-spacing: .5px; display: inline-flex; align-items: center; gap: 9px; }
.media-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ec081; box-shadow: 0 0 0 4px rgba(46,192,129,.22); }
.media-chip.bl { left: 28px; bottom: 28px; }
.media-chip.tr { right: 28px; top: 28px; }

/* hero floating mini-cards over media */
.media-card { position: absolute; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-2); padding: 16px 18px; display: flex; align-items: center; gap: 13px; }
.media-card .mc-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--canvas-cream); display: grid; place-items: center; color: var(--ink); flex: none; }
.media-card .mc-ic [data-lucide] { width: 20px; height: 20px; }
.media-card .mc-t { font-size: 14px; font-weight: 600; letter-spacing: -.3px; }
.media-card .mc-s { font-size: 12px; color: var(--fg3); }
.media-card.one { right: 26px; bottom: 90px; }
.media-card.two { left: 26px; top: 90px; }
@media (max-width: 620px) { .media-card { display: none; } }

/* ============================================================
   PHOTO MEDIA (real imagery) + scrims
   ============================================================ */
.media-photo { background-size: cover; background-position: center; }
/* dark scrim so white chips/cards/text stay legible over photos */
.hero-media.media-photo::after,
.split-media.media-photo::after,
.tab-visual.media-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,20,32,.12) 0%, rgba(13,20,32,.04) 40%, rgba(13,20,32,.42) 100%);
}
.split-media.media-photo, .tab-visual.media-photo { position: relative; }
.split-media.media-photo > svg, .tab-visual.media-photo > [data-lucide] { display: none; }
.hero-media .play, .hero-media .media-chip, .hero-media .media-card { z-index: 2; }
/* photo layer used inside the hero media block (ken-burns drift) */
.kb { position: absolute; inset: -6%; background-size: cover; background-position: center; z-index: 0; }
.kb.loaded { animation: kbfade .9s var(--ease) both; }
@keyframes kbfade { from { opacity: 0; } to { opacity: 1; } }
.hero-media .kb {
  animation: kenburns 24s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.1) translate(-1.5%, -1.5%); }
}

/* circular hero portrait as a photo (WordPress / Email pages) */
.hero-portrait.media-photo { overflow: hidden; background-size: cover; background-position: center; }
.hero-portrait.media-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 1; pointer-events: none;
  background: linear-gradient(165deg, rgba(13,20,32,0) 42%, rgba(13,20,32,.40) 100%);
}
.hero-portrait .satellite { z-index: 2; }

/* gentle photo lift on the split / tab media blocks */
.split-media.media-photo, .tab-visual.media-photo { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
@media (hover: hover) {
  .split-media.media-photo:hover, .tab-visual.media-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
}

/* circular service portraits as photos */
.portrait.media-photo { position: relative; overflow: hidden; }
.portrait.media-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(165deg, rgba(13,20,32,0) 45%, rgba(13,20,32,.34) 100%);
}
.portrait.media-photo > [data-lucide] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-media .kb { animation: none; }
}

/* trust row */
.trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; color: var(--fg3); font-size: 14px; }
.trust b { color: var(--ink); font-weight: 600; }
.stars { display: inline-flex; gap: 3px; color: var(--signal-orange); }
.stars [data-lucide] { width: 17px; height: 17px; fill: currentColor; }

/* logo strip */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px,5vw,60px); }
.logo-strip .lg { font-weight: 700; font-size: clamp(17px,2.2vw,22px); letter-spacing: -.5px; color: var(--dust-taupe); }
.logo-strip .lg-img {
  height: clamp(38px, 4vw, 48px); width: auto; max-width: 150px; flex: none; object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.logo-strip .lg-img:hover { filter: grayscale(0); opacity: 1; }

/* ============================================================
   SERVICE CONSTELLATION
   ============================================================ */
.constellation { position: relative; }
/* stage wraps ghost + arcs + portraits so the watermark sits BEHIND the
   circles only — never colliding with the section headline above it */
.constel-stage { position: relative; margin-top: clamp(48px, 6vw, 84px); }
.ghost { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -62%); z-index: 0; pointer-events: none; white-space: nowrap; font-size: clamp(64px, 12vw, 168px); font-weight: 500; letter-spacing: -3px; color: var(--whisper-cream); line-height: 1; opacity: .8; }
.constel-row { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: clamp(16px, 2vw, 28px); flex-wrap: wrap; }
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.portrait-item { position: relative; z-index: 2; flex: 1 1 200px; max-width: 244px; display: flex; flex-direction: column; align-items: flex-start; }
.portrait-wrap { position: relative; width: clamp(170px, 15vw, 200px); aspect-ratio: 1; }
.portrait { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.92); box-shadow: var(--shadow-2); transition: transform var(--dur) var(--ease); }
.portrait [data-lucide] { width: 30%; height: 30%; stroke-width: 1.6; }
.portrait-item:hover .portrait { transform: translateY(-4px); }
.satellite { position: absolute; right: -2px; bottom: 14px; width: 54px; height: 54px; border-radius: 50%; background: var(--white); border: none; cursor: pointer; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-2); transition: transform var(--dur) var(--ease); }
.portrait-item:hover .satellite { transform: translateX(4px); }
.satellite [data-lucide] { width: 21px; height: 21px; }
.portrait-item .eyebrow { margin-top: 24px; }
.portrait-item .p-title { margin-top: 8px; font-size: 23px; font-weight: var(--fw-medium); letter-spacing: -.48px; }
.portrait-item .p-desc { margin-top: 8px; font-size: 14.5px; color: var(--fg3); line-height: 1.45; max-width: 220px; }
@media (max-width: 920px) {
  .ghost { display: none; }
  .arcs { display: none; }
  .constel-row { justify-content: center; gap: 40px 24px; }
  .portrait-item { flex: 0 1 240px; align-items: center; text-align: center; margin-top: 0 !important; }
  .portrait-item .p-desc { max-width: 240px; }
}

/* ============================================================
   DOMAIN SEARCH
   ============================================================ */
.domain-band { text-align: center; }
.domain-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.domain-inner .h2 { margin: 16px 0 28px; }
.search-bar { display: flex; gap: 10px; width: 100%; max-width: 580px; }
.search-bar .field { flex: 1; display: flex; align-items: center; background: var(--white); border: 1px solid rgba(20,20,19,.5); border-radius: var(--r-full); padding: 4px 6px 4px 22px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.search-bar .field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,20,19,.06); }
.search-bar input { flex: 1; border: none; background: none; outline: none; font-family: var(--font-sans); font-size: 16px; color: var(--ink); padding: 10px 0; }
.search-bar input::placeholder { color: var(--fg3); }
.tld-select { position: relative; flex: none; }
.tld-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--canvas-cream); border-radius: var(--r-full); padding: 9px 16px; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.tld-btn [data-lucide] { width: 14px; height: 14px; opacity: .6; }
.tld-menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-2); padding: 6px; min-width: 130px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--dur) var(--ease); z-index: 20; }
.tld-select.open .tld-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tld-menu button { display: block; width: 100%; text-align: left; padding: 9px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; background: none; border: none; color: var(--ink); }
.tld-menu button:hover { background: var(--canvas-cream); }
.tld-tags { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.tld-tags .t { font-size: 14px; color: var(--fg3); }
.tld-tags .t b { color: var(--ink); font-weight: 600; }

.search-result { width: 100%; max-width: 580px; margin-top: 20px; display: none; }
.search-result.show { display: block; }
.result-row { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 16px 22px; margin-bottom: 10px; text-align: left; animation: hvpop .3s var(--ease); }
@keyframes hvpop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result-row.free { border-color: #bfe3c9; }
.result-row .rmark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.result-row.free .rmark { background: #e7f5ec; color: #1f7a3d; }
.result-row.taken .rmark { background: #f6e7df; color: var(--clay-brown); }
.result-row .rmark [data-lucide] { width: 18px; height: 18px; }
.result-row .rname { font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.result-row .rstatus { font-size: 13px; color: var(--fg3); }
.result-row.free .rstatus { color: #1f7a3d; }
.result-row .rprice { margin-left: auto; font-size: 16px; font-weight: 600; }
.result-row .rprice small { color: var(--fg3); font-weight: 450; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card { background: var(--lifted-cream); border-radius: var(--r-lg); padding: 36px 32px; box-shadow: var(--shadow-2); transition: transform var(--dur) var(--ease); }
.feature-card.flat { box-shadow: none; border: 1px solid var(--border-soft); background: transparent; }
.feature-card:hover { transform: translateY(-5px); }
.fc-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--canvas-cream); display: grid; place-items: center; color: var(--ink); margin-bottom: 22px; }
.feature-card.flat .fc-ic { background: var(--lifted-cream); }
.fc-ic [data-lucide] { width: 25px; height: 25px; }
.feature-card h3 { font-size: 21px; font-weight: var(--fw-medium); letter-spacing: -.4px; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--fg2); line-height: 1.55; }

/* split / alternating sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split .eyebrow { margin-bottom: 18px; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--fg2); font-size: 16.5px; line-height: 1.6; }
.split .btn-row { margin-top: 28px; }
.split-media { position: relative; border-radius: var(--r-lg); aspect-ratio: 1 / .86; overflow: hidden; box-shadow: var(--shadow-2); display: grid; place-items: center; }
.split-list { margin-top: 22px; display: grid; gap: 14px; }
.split-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--fg1); }
.split-list li [data-lucide] { width: 20px; height: 20px; color: var(--signal-orange); flex: none; margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* ============================================================
   PLANS / PRICING
   ============================================================ */
.billing-toggle { display: inline-flex; background: var(--white); border-radius: var(--r-full); padding: 4px; margin-top: 28px; border: 1px solid var(--border-soft); }
.billing-toggle button { border: none; background: transparent; border-radius: var(--r-full); padding: 10px 22px; font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--slate-gray); cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); display: inline-flex; align-items: center; gap: 7px; }
.billing-toggle button.active { background: var(--ink); color: var(--canvas-cream); }
.billing-toggle .save { font-size: 12px; color: var(--signal-orange); font-weight: 700; }
.billing-toggle button.active .save { color: var(--signal-orange-light); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.plan-card { background: var(--lifted-cream); border-radius: var(--r-lg); padding: 34px 30px; position: relative; box-shadow: var(--shadow-2); display: flex; flex-direction: column; transition: transform var(--dur) var(--ease); }
.plan-card:hover { transform: translateY(-6px); }
.plan-card.featured { background: var(--ink); color: var(--canvas-cream); }
.plan-tag { position: absolute; top: 26px; right: 26px; background: var(--signal-orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 5px 14px; border-radius: var(--r-full); white-space: nowrap; }
.plan-card.care .pname { padding-right: 96px; }
.plan-card .pname { font-size: 24px; font-weight: var(--fw-medium); letter-spacing: -.48px; }
.plan-card .pblurb { margin-top: 6px; font-size: 15px; color: var(--slate-gray); min-height: 44px; }
.plan-card.featured .pblurb { color: rgba(243,240,238,.7); }
.plan-card .pprice { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 6px; }
.plan-card .pprice .cur { font-size: 22px; font-weight: var(--fw-medium); }
.plan-card .pprice .amt { font-size: 46px; font-weight: var(--fw-medium); letter-spacing: -1.5px; }
.plan-card .pprice .per { font-size: 15px; color: var(--slate-gray); }
.plan-card.featured .pprice .per { color: rgba(243,240,238,.6); }
.plan-card .pterm { font-size: 13px; color: var(--slate-gray); margin-bottom: 22px; }
.plan-card.featured .pterm { color: rgba(243,240,238,.55); }
.plan-card .pcta { margin-bottom: 26px; }
.pcta.is-soon { opacity: .5; cursor: not-allowed; pointer-events: none; }
.plan-feats { display: flex; flex-direction: column; gap: 13px; margin-top: auto; }
.plan-feats .pf { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.plan-feats .pf [data-lucide] { width: 18px; height: 18px; color: var(--signal-orange); flex: none; margin-top: 1px; }
.plan-card.featured .plan-feats .pf [data-lucide] { color: var(--signal-orange-light); }
.plan-feats .pf.off { color: var(--dust-taupe); }
.plan-feats .pf.off [data-lucide] { color: var(--dust-taupe); }

/* grouped "hosting + website care" cards */
.plan-card.care .pblurb { min-height: 0; margin-bottom: 4px; }
.plan-feats.grouped { gap: 20px; }
.pf-group { display: flex; flex-direction: column; gap: 12px; }
.pf-group + .pf-group { padding-top: 18px; border-top: 1px solid var(--border-soft); }
.plan-card.featured .pf-group + .pf-group { border-top-color: rgba(255,255,255,.16); }
.pf-group .pf-group-h { font-size: 11.5px; font-weight: 700; line-height: 1.3; letter-spacing: .9px; text-transform: uppercase; color: var(--slate-gray); }
.plan-card.featured .pf-group-h { color: rgba(243,240,238,.55); }
.pf-everything { display: flex; gap: 10px; align-items: center; font-size: 14px; font-style: italic; color: var(--slate-gray); }
.pf-everything [data-lucide] { width: 16px; height: 16px; color: var(--slate-gray); flex: none; }
.plan-card.featured .pf-everything { color: rgba(243,240,238,.72); }
.plan-card.featured .pf-everything [data-lucide] { color: rgba(243,240,238,.6); }
.pf-care { display: flex; gap: 11px; align-items: center; font-size: 15px; font-weight: 600; padding: 11px 14px; border-radius: 14px; background: rgba(243,115,56,.10); color: var(--ink); }
.pf-care [data-lucide] { width: 18px; height: 18px; color: var(--signal-orange); flex: none; }
.pf-care b { font-weight: 700; }
.plan-card.featured .pf-care { background: rgba(243,115,56,.22); color: var(--canvas-cream); }
.plan-card.featured .pf-care [data-lucide] { color: var(--signal-orange-light); }
.plan-foot-note { text-align: center; margin-top: 32px; color: var(--fg3); font-size: 14px; }
@media (max-width: 980px) { .plan-grid, .plan-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plan-grid, .plan-grid.cols-4 { grid-template-columns: 1fr; } }

/* ============================================================
   STATS
   ============================================================ */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px); }
.stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat .snum { font-size: clamp(40px, 5vw, 56px); font-weight: var(--fw-medium); letter-spacing: -2px; line-height: 1; }
.stat .slabel { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; font-size: 16px; letter-spacing: -.3px; }
.stat .slabel .dot { width: 8px; height: 8px; border-radius: 50%; }
.stat .sdetail { margin-top: 16px; border-top: 1px solid var(--border-soft); padding-top: 14px; display: grid; gap: 7px; }
.stat .sdetail p { font-size: 14px; color: var(--fg3); }
.stat .sdetail b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .stat-grid, .stat-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .stat-grid, .stat-grid.cols-4 { grid-template-columns: 1fr; } }

/* ============================================================
   DARK FEATURE BAND + TABS
   ============================================================ */
.band-ink { background: var(--ink); color: var(--canvas-cream); }
.band-ink .h2 { color: var(--canvas-cream); }
.band-ink .eyebrow { color: var(--canvas-cream); }
.band-ink .section-head p { color: rgba(243,240,238,.66); }
.band-ink .feature-card.flat { border-color: rgba(255,255,255,.14); }
.band-ink .feature-card.flat .fc-ic { background: rgba(255,255,255,.08); color: var(--canvas-cream); }
.band-ink .feature-card.flat h3 { color: var(--canvas-cream); }
.band-ink .feature-card.flat p { color: rgba(243,240,238,.66); }
.tabs { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tab { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; padding: 22px 24px; min-width: 210px; text-align: left; cursor: pointer; transition: all var(--dur) var(--ease); color: var(--canvas-cream); }
.tab:hover { background: rgba(255,255,255,.09); }
.tab.active { background: rgba(243,115,56,.14); border-color: rgba(243,115,56,.5); }
.tab .t-ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; margin-bottom: 16px; }
.tab.active .t-ic { background: var(--signal-orange); }
.tab .t-ic [data-lucide] { width: 22px; height: 22px; }
.tab h4 { font-size: 17px; font-weight: var(--fw-medium); letter-spacing: -.3px; }
.tab p { font-size: 13px; color: rgba(243,240,238,.6); margin-top: 5px; }
.tab-panel { margin-top: 36px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: clamp(28px,4vw,48px); display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; animation: hvpop .35s var(--ease); }
.tab-panel h3 { color: var(--canvas-cream); font-size: 26px; font-weight: var(--fw-medium); letter-spacing: -.5px; }
.tab-panel > div > p { color: rgba(243,240,238,.66); margin-top: 12px; font-size: 16px; line-height: 1.6; }
.tab-panel ul { display: grid; gap: 14px; margin-top: 22px; }
.tab-panel ul li { display: flex; gap: 12px; align-items: flex-start; color: rgba(243,240,238,.86); font-size: 15.5px; }
.tab-panel ul li [data-lucide] { width: 19px; height: 19px; color: var(--signal-orange-light); flex: none; margin-top: 2px; }
.tab-visual { border-radius: var(--r-lg); aspect-ratio: 1 / .8; display: grid; place-items: center; background: radial-gradient(120% 120% at 70% 20%, #5FC98C 0%, #2F8A57 45%, #123A28 100%); }
.tab-visual [data-lucide] { width: 96px; height: 96px; color: rgba(255,255,255,.9); }
@media (max-width: 860px) { .tab-panel.active { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--lifted-cream); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow var(--dur) var(--ease); }
.faq-item.open { box-shadow: var(--shadow-2); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; text-align: left; background: none; border: none; cursor: pointer; font-family: var(--font-sans); font-size: 18px; font-weight: var(--fw-medium); letter-spacing: -.4px; color: var(--ink); }
.faq-q .pm { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--canvas-cream); display: grid; place-items: center; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--ink); color: var(--canvas-cream); }
.faq-q .pm [data-lucide] { width: 18px; height: 18px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq-a-in { padding: 0 28px 26px; color: var(--fg2); font-size: 16px; line-height: 1.65; }

/* ============================================================
   SUPPORT CTA + FOOTER
   ============================================================ */
.support-cta .h2 { max-width: 560px; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-top: 16px; }
.support-cta p { color: var(--granite); max-width: 480px; margin: 16px 0 28px; font-size: 17px; }

/* ---- Migrate CTA — dark band w/ glowing square-grid edges ---- */
.migrate-cta {
  position: relative;
  background: var(--ink);
  color: var(--fg-on-ink);
  text-align: center;
  overflow: hidden;
  padding-block: clamp(96px, 14vw, 188px);
  isolation: isolate;
}
.migrate-cta__field {
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: clamp(220px, 28vw, 460px);
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image:
    linear-gradient(90deg, #000 0 14px, transparent 14px 22px),
    linear-gradient(0deg, #000 0 14px, transparent 14px 22px);
  mask-image:
    linear-gradient(90deg, #000 0 14px, transparent 14px 22px),
    linear-gradient(0deg, #000 0 14px, transparent 14px 22px);
  -webkit-mask-size: 22px 22px;
  mask-size: 22px 22px;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.migrate-cta__field--left {
  left: 0;
  background: radial-gradient(125% 120% at 0% 50%,
    var(--signal-orange-light) 0%, var(--signal-orange) 24%, #1c5d3a 46%, transparent 68%);
}
.migrate-cta__field--right {
  right: 0;
  background: radial-gradient(125% 120% at 100% 50%,
    var(--signal-orange-light) 0%, var(--signal-orange) 24%, #1c5d3a 46%, transparent 68%);
}
.migrate-cta__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.migrate-cta h2 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -1.4px;
  font-weight: var(--fw-medium);
  text-wrap: balance;
}
.migrate-cta__sub {
  color: var(--dust-taupe);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
  margin: 22px auto 32px;
  max-width: 520px;
}
.migrate-cta .btn-row { justify-content: center; }
@media (max-width: 560px) {
  .migrate-cta__field { width: 140px; }
}

.site-footer { background: var(--canvas-cream); color: var(--ink); padding: clamp(64px,8vw,100px) clamp(16px,4vw,48px) 56px; }
.site-footer .f-inner { max-width: 1280px; margin: 0 auto; }
.site-footer .f-tagline { color: var(--canvas-cream); max-width: 520px; margin-bottom: 56px; }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.f-brand p { color: rgba(20,27,36,.6); font-size: 14px; line-height: 1.6; max-width: 260px; margin-top: 18px; }
.site-footer .f-col-h { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .56px; text-transform: uppercase; color: var(--graphite); margin: 0 0 18px; }
.f-link { display: block; color: var(--ink); font-size: 14px; font-weight: 450; padding: 7px 0; opacity: .82; transition: opacity var(--dur) var(--ease), padding var(--dur) var(--ease); }
.f-link:hover { opacity: 1; padding-left: 4px; }
.f-link.ic { display: flex; align-items: center; gap: 10px; }
.f-link.ic [data-lucide] { width: 16px; height: 16px; opacity: .7; }
.f-divider { height: 1px; background: rgba(20,27,36,.14); margin: 48px 0 28px; }
.f-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.f-fine { font-size: 13px; color: var(--graphite); }
.f-selector { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(20,27,36,.4); border-radius: var(--r-full); padding: 8px 16px; font-size: 13px; color: var(--ink); cursor: pointer; }
.f-selector [data-lucide] { width: 15px; height: 15px; }
.f-social { display: flex; align-items: center; gap: 10px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(20,27,36,.25); display: grid; place-items: center; color: var(--ink); transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.f-social a:hover { background: rgba(20,27,36,.08); transform: translateY(-3px); }
@media (max-width: 920px) { .f-grid { grid-template-columns: 1fr 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   INTERIOR PAGE HERO
   ============================================================ */
.page-hero { padding-top: clamp(40px, 5vw, 72px); text-align: center; }
.page-hero .stack-c { align-items: center; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg3); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [data-lucide] { width: 14px; height: 14px; opacity: .5; }
.page-hero h1 { max-width: 820px; }
.page-hero p { max-width: 600px; margin: 22px auto 0; color: var(--granite); font-size: 18px; }
.page-hero .btn-row { margin-top: 32px; justify-content: center; }

/* big circular hero portrait (interior) */
.hero-portrait { position: relative; width: clamp(220px,30vw,300px); height: clamp(220px,30vw,300px); border-radius: 50%; margin: 48px auto 0; box-shadow: var(--shadow-2); }
.hero-portrait .satellite { right: 8px; bottom: 18px; }

/* ============================================================
   SERVICE PAGE HERO — two column (copy left, media panel right)
   shared across web / wordpress / vps / email / domains
   ============================================================ */
.svc-hero {
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  align-items: center; gap: clamp(40px, 5vw, 82px);
  padding-top: clamp(28px, 3.6vw, 60px); padding-bottom: clamp(28px, 4vw, 56px);
  text-align: left;
}
.svc-hero .breadcrumb { margin-bottom: 18px; }
.svc-hero .eyebrow { margin-bottom: 0; }
.svc-hero h1.h1 { max-width: 100%; margin: 18px 0 0; }
.svc-hero-lead { max-width: 520px; margin: 22px 0 0; color: var(--granite); font-size: 18px; line-height: 1.55; }
.svc-hero-lead a.text-link { font-weight: var(--fw-medium); }
.svc-hero .btn-row { margin-top: 34px; }

/* media panel — reuses .hero-media/.play/.media-chip primitives */
.svc-hero .hero-media { margin-top: 0; height: clamp(420px, 42vw, 540px); }

/* floating analytics card (top-left of media) */
.svc-hero .stat-float {
  position: absolute; left: 24px; top: 26px; z-index: 2;
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-2);
  padding: 15px 18px 13px; width: 184px;
}
.svc-hero .stat-float .sf-label { font-size: 12px; color: var(--fg3); font-weight: 600; letter-spacing: -.2px; }
.svc-hero .stat-float .sf-num { font-size: 26px; line-height: 1.05; font-weight: var(--fw-medium); letter-spacing: -.6px; color: var(--ink); margin-top: 3px; }
.svc-hero .stat-float .sf-spark { display: block; width: 100%; height: 38px; margin-top: 11px; overflow: visible; }
.svc-hero .stat-float .sf-spark path { fill: none; stroke: var(--signal-orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.svc-hero .stat-float .sf-spark .sf-area { fill: rgba(64,170,109,.12); stroke: none; }
.svc-hero .stat-float .sf-spark .sf-dot { fill: var(--signal-orange); stroke: var(--white); stroke-width: 2; }

@media (max-width: 900px) {
  .svc-hero { grid-template-columns: 1fr; gap: 40px; }
  .svc-hero-copy { max-width: 620px; }
  .svc-hero .hero-media { height: clamp(320px, 60vw, 460px); }
}
@media (max-width: 560px) {
  .svc-hero .stat-float { left: 16px; top: 16px; width: 158px; padding: 12px 14px 11px; }
  .svc-hero .stat-float .sf-num { font-size: 22px; }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.cmp { background: var(--lifted-cream); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.cmp-scroll { overflow-x: auto; }
.cmp table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.cmp thead th { font-size: 16px; font-weight: var(--fw-medium); letter-spacing: -.3px; color: var(--ink); }
.cmp thead th:not(:first-child), .cmp td:not(:first-child) { text-align: center; }
.cmp thead .col-hi { background: var(--ink); color: var(--canvas-cream); border-top-left-radius: 18px; border-top-right-radius: 18px; }
.cmp td.col-hi { background: rgba(20,20,19,.035); }
.cmp td:first-child { color: var(--fg2); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp .ok { color: #1f7a3d; }
.cmp .no { color: var(--dust-taupe); }
.cmp [data-lucide] { width: 19px; height: 19px; display: inline-block; }
.cmp .cell-strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps.steps-2 { grid-template-columns: 1fr 1fr; }
.step .snum { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--canvas-cream); display: grid; place-items: center; font-size: 20px; font-weight: var(--fw-medium); margin-bottom: 20px; }
.step h4 { font-size: 19px; font-weight: var(--fw-medium); letter-spacing: -.4px; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--fg2); line-height: 1.55; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } .steps.steps-2 { grid-template-columns: 1fr; } }

/* ============================================================
   MISC
   ============================================================ */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list .chip { box-shadow: var(--shadow-1); }
.badge-soft { display: inline-flex; align-items: center; gap: 7px; background: var(--white); border-radius: var(--r-full); padding: 8px 16px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-1); }
.badge-soft [data-lucide] { width: 15px; height: 15px; color: var(--signal-orange); }

/* big rounded media block helper gradients */
.grad-warm { background: radial-gradient(120% 120% at 70% 20%, #5FC98C 0%, #40AA6D 38%, #1E6E47 78%, #131B24 100%); }
.grad-blue { background: radial-gradient(120% 120% at 38% 28%, #5C7C9E, #2A4A74 70%, #131B24); }
.grad-clay { background: radial-gradient(120% 120% at 38% 28%, #6FD3A0, #2F8A57); }
.grad-cream { background: linear-gradient(160deg, #FCFBFA, #ECE6DE); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE — feature grids + mobile refinements
   ============================================================ */
@media (max-width: 900px) {
  .feature-grid, .feature-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .feature-grid, .feature-grid.cols-2, .feature-grid.cols-4 { grid-template-columns: 1fr; }
}

/* nav pill: tighten on small screens */
@media (max-width: 920px) {
  .hv-header { padding-top: 16px; }
  .hv-pill { gap: 12px; padding: 10px 12px 10px 18px; }
}

/* domain search: stack the bar on narrow screens */
@media (max-width: 560px) {
  .search-bar { flex-wrap: wrap; }
  .search-bar .field { flex: 1 1 100%; }
  .search-bar [data-search-btn] { flex: 1 1 100% !important; width: 100%; justify-content: center; }
  .tld-tags { gap: 14px 20px; }
  .result-row { flex-wrap: wrap; }
  .result-row .rprice { margin-left: 0; }
  .result-row .btn-ink, .result-row .btn-outline { margin-left: 0 !important; flex: 1 1 100%; justify-content: center; }
}

/* dark feature tabs: full-width pills on mobile */
@media (max-width: 600px) {
  .tab { min-width: 100%; flex: 1 1 100%; }
  .tab-panel.active { gap: 28px; }
  .tab-panel .tab-visual { order: -1; }
}

/* type + rhythm tuning on phones */
@media (max-width: 560px) {
  .section { padding-block: 56px; }
  .section-sm { padding-block: 44px; }
  .section-head { margin-bottom: 36px; }
  .hero .lead, .page-hero p { font-size: 16.5px; }
  .h1 { letter-spacing: -1px; }
  .display { letter-spacing: -1px; }
  .btn-lg { padding: 13px 24px !important; font-size: 16px !important; }
  .btn-row .btn-ink, .btn-row .btn-outline, .btn-row .btn-on-ink, .btn-row .btn-ghost-ink { flex: 1 1 auto; justify-content: center; }
  .stat .snum { font-size: 40px; }
  .ghost { display: none; }
}

/* tame oversized hero media + portraits on the smallest screens */
@media (max-width: 420px) {
  .hero-media { height: 280px; border-radius: 28px; }
  .hero-portrait { width: 200px; height: 200px; }
  .plan-card, .feature-card { padding: 28px 24px; }
  .faq-q { font-size: 16.5px; padding: 20px 22px; }
  .faq-a-in { padding: 0 22px 22px; }
}

/* prevent any stray horizontal overflow */
html, body { max-width: 100%; }

/* ============================================================
   MOTION — restrained, per design system
   ============================================================ */
/* gentle float on floating mini-cards */
.media-card { animation: floaty 6s var(--ease) infinite; }
.media-card.two { animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* live pulse on the status/uptime dots */
.media-chip .dot, .channel .ch-meta .dot, .status-head .ok-pill .dot { animation: livepulse 2.4s ease-in-out infinite; }
@keyframes livepulse { 0%,100% { box-shadow: 0 0 0 0 rgba(46,192,129,.45); } 70% { box-shadow: 0 0 0 7px rgba(46,192,129,0); } }

/* orbital arcs draw in when the constellation enters view */
.arcs path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.constel-stage.drawn .arcs path {
  animation: arcdraw 1.5s var(--ease) forwards;
  /* pathLength normalized to 1 via JS so dash math is uniform */
}
.constel-stage.drawn .arcs path:nth-child(2) { animation-delay: .35s; }
.constel-stage.drawn .arcs path:nth-child(3) { animation-delay: .7s; }
@keyframes arcdraw { to { stroke-dashoffset: 0; } }

/* satellite arrow gets a soft idle drift hint on its portrait */
.portrait-item:hover .satellite { animation: nudge .9s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateX(2px); } 50% { transform: translateX(6px); } }

/* logo strip marquee */
.logo-strip.marquee { flex-wrap: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-strip.marquee .marquee-track { display: flex; gap: clamp(28px, 5vw, 60px); align-items: center; flex: none; animation: marquee 28s linear infinite; padding-right: clamp(28px, 5vw, 60px); }
.logo-strip.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* count-up numbers fade as they tick */
.snum.counting { color: var(--ink); }

/* card hover lift refinements (feature/plan already lift via existing rules) */
.tld-card, .channel { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .media-card, .media-chip .dot, .channel .ch-meta .dot, .status-head .ok-pill .dot,
  .portrait-item:hover .satellite, .logo-strip.marquee .marquee-track { animation: none !important; }
  .arcs path { stroke-dashoffset: 0 !important; }
}

/* ============================================================
   FLOATING ACTION BUTTONS — back-to-top + WhatsApp
   ============================================================ */
/* shared base */
.hv-fab {
  position: fixed;
  z-index: 1200;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  border-radius: var(--r-full);
  -webkit-tap-highlight-color: transparent;
}

/* ---- Back to top (bottom-left) ---- */
.hv-totop {
  left: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  width: 54px;
  height: 54px;
  background: var(--ink);
  color: var(--fg-on-ink);
  box-shadow: var(--shadow-2);
  /* hidden state */
  opacity: 0;
  transform: translateY(18px) scale(.82);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease), background .25s var(--ease);
}
.hv-totop.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.hv-totop:hover { background: var(--charcoal); transform: translateY(-3px) scale(1.04); }
.hv-totop:active { transform: translateY(-1px) scale(.97); }
.hv-totop .totop-ic {
  width: 21px;
  height: 21px;
  position: relative;
  z-index: 1;
  transition: transform .3s var(--ease);
}
.hv-totop:hover .totop-ic { transform: translateY(-2px); }
/* progress ring — sits exactly on the button perimeter */
.hv-totop .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
  z-index: 0;
}
.hv-totop .ring circle {
  fill: none;
  stroke-width: 2.5;
}
.hv-totop .ring .track { stroke: rgba(255,255,255,.16); }
.hv-totop .ring .bar {
  stroke: var(--accent-arc);
  stroke-linecap: round;
  transition: stroke-dashoffset .12s linear;
}

/* ---- WhatsApp (bottom-left) ---- */
.hv-wa {
  left: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .38), var(--shadow-1);
  transition: transform .45s var(--ease), box-shadow .3s var(--ease);
  text-decoration: none;
  animation: wa-rise .55s var(--ease) both;
}
.hv-wa svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.hv-wa:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 20px 40px rgba(37,211,102,.46); }
.hv-wa:active { transform: scale(.96); }
/* expanding ripple ring to draw the eye */
.hv-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25D366;
  z-index: 0;
  animation: wa-pulse 2.6s var(--ease) infinite;
}
/* tooltip label on hover */
.hv-wa::after {
  content: "Chat with us";
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: var(--ink);
  color: var(--fg-on-ink);
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: 13px;
  letter-spacing: -.01em;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--r-xs);
  box-shadow: var(--shadow-1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.hv-wa:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 600px) { .hv-wa::after { display: none; } }

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes wa-rise {
  from { opacity: 0; transform: translateY(20px) scale(.7); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hv-wa, .hv-wa::before { animation: none !important; }
  .hv-totop { transition: opacity .3s ease !important; }
}

/* ============================================================
   AGENCY ADD-ONS — services dropdown (8 items), service grid,
   work cards, marquee logos. Built on existing primitives.
   ============================================================ */
.nav-dd-wide { width: 624px; padding: 12px; grid-template-columns: 1fr 1fr; }
.nav-dd-wide .dd-link { padding: 11px 12px; gap: 12px; }
.nav-dd-wide .dd-ic { width: 40px; height: 40px; }
.nav-dd-wide .dd-link h5 { font-size: 15px; }
.nav-dd-wide .dd-link p { font-size: 12.5px; }
@media (max-width: 1040px) { .nav-dd-wide { width: 560px; } }

/* service cards grid (home + services overview) */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1040px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid, .svc-grid.cols-3 { grid-template-columns: 1fr; } }
.svc-tile {
  position: relative; display: flex; flex-direction: column;
  background: var(--lifted-cream); border-radius: var(--r-lg);
  padding: 30px 28px 26px; box-shadow: var(--shadow-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.svc-tile::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--signal-orange-light), var(--signal-orange));
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
@media (hover: hover) {
  .svc-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
  .svc-tile:hover::after { transform: scaleX(1); }
}
.svc-tile .st-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--canvas-cream); display: grid; place-items: center; color: var(--ink); margin-bottom: 20px; flex: none; }
.svc-tile .st-ic [data-lucide] { width: 24px; height: 24px; }
.svc-tile h3 { font-size: 19.5px; font-weight: var(--fw-medium); letter-spacing: -.4px; margin-bottom: 9px; line-height: 1.2; }
.svc-tile p { font-size: 14.5px; color: var(--fg2); line-height: 1.55; margin-bottom: 18px; }
.svc-tile .st-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: var(--fw-medium); color: var(--ink); }
.svc-tile .st-link [data-lucide] { width: 16px; height: 16px; color: var(--signal-orange); transition: transform var(--dur) var(--ease); }
.svc-tile:hover .st-link [data-lucide] { transform: translateX(4px); }

/* work / portfolio cards */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--lifted-cream); box-shadow: var(--shadow-2); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
@media (hover: hover) { .work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); } }
.work-shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lifted-cream); }
/* website screenshots should sit flush in the frame (no ken-burns overflow crop) and show the top of the page */
.work-shot .kb { inset: 0; background-size: cover; background-position: top center; transition: transform .6s var(--ease); }
.work-card:hover .work-shot .kb { transform: scale(1.05); }
.work-tags { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.work-tag { background: rgba(255,255,255,.92); color: var(--ink); border-radius: var(--r-full); padding: 6px 13px; font-size: 12px; font-weight: 700; letter-spacing: .2px; }
.work-body { padding: 22px 24px 26px; }
.work-body .we { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--slate-gray); }
.work-body h3 { font-size: 20px; font-weight: var(--fw-medium); letter-spacing: -.4px; margin: 7px 0 8px; }
.work-body p { font-size: 14.5px; color: var(--fg2); line-height: 1.55; }

/* placeholder shot — striped, for user to drop a real screenshot */
.shot-ph { position: absolute; inset: 0; background:
  repeating-linear-gradient(135deg, rgba(20,20,19,.05) 0 12px, rgba(20,20,19,0) 12px 24px), var(--soft-bone);
  display: grid; place-items: center; }
.shot-ph span { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11.5px; letter-spacing: .3px; color: var(--slate-gray); background: var(--white); padding: 6px 12px; border-radius: var(--r-full); box-shadow: var(--shadow-1); }

/* simple two-column prose for legal pages already covered; tighten lists */
.svc-hero .hero-media.grad-warm { background: radial-gradient(120% 120% at 70% 20%, #5FC98C 0%, #40AA6D 38%, #1E6E47 78%, #131B24 100%); }

/* process steps that hold an icon instead of a number */
.steps.steps-5 { grid-template-columns: repeat(5, 1fr); }
.step .snum [data-lucide] { width: 22px; height: 22px; }
@media (max-width: 1040px) { .steps.steps-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .steps.steps-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps.steps-5 { grid-template-columns: 1fr; } }
