/* ============================================================
   VGJ DIGITAL — DESIGN SYSTEM
   Navy · warm paper · #0499D5 cyan
   Bricolage Grotesque (display) + Plus Jakarta Sans (body)
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand blues */
  --blue:       #0499D5;   /* key bright accent */
  --blue-bright:#1FB6F2;
  --blue-deep:  #036c98;   /* accessible accent text on paper */
  --teal:       #0e7e93;

  /* Navy / dark surfaces */
  --navy-900: #050f1c;
  --navy-800: #081a2e;
  --navy-700: #0c2740;
  --navy-600: #123552;

  /* Paper / light surfaces */
  --paper:    #f6f2ea;   /* warm off-white page bg */
  --paper-2:  #fbf8f1;   /* lighter card */
  --surface:  #ffffff;
  --surface-tint: #eef5f9; /* cool tint blocks */

  /* Ink / text */
  --ink:    #0a1826;
  --ink-2:  #2a4256;
  --muted:  #5d7286;
  --on-dark:        #ffffff;
  --on-dark-soft:   rgba(255,255,255,0.74);
  --on-dark-faint:  rgba(255,255,255,0.55);

  /* Lines */
  --line:   #e7dfd1;   /* warm border on paper */
  --line-2: #d8cebb;
  --line-cool: #d2e3ec;

  /* Feedback */
  --good: #0f8a5f;
  --warn: #b4690e;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows (warm, soft) */
  --sh-sm: 0 1px 2px rgba(10,24,38,.05), 0 2px 6px rgba(10,24,38,.05);
  --sh-md: 0 6px 18px rgba(10,24,38,.07), 0 2px 6px rgba(10,24,38,.05);
  --sh-lg: 0 18px 44px rgba(10,24,38,.12), 0 6px 14px rgba(10,24,38,.07);
  --sh-blue: 0 10px 26px rgba(4,153,213,.28);

  /* Fluid type */
  --fs-xs:  clamp(0.75rem, 0.73rem + 0.1vw, 0.8125rem);
  --fs-sm:  clamp(0.8125rem, 0.79rem + 0.12vw, 0.9rem);
  --fs-base:clamp(0.95rem, 0.92rem + 0.16vw, 1.05rem);
  --fs-md:  clamp(1.05rem, 1rem + 0.22vw, 1.2rem);
  --fs-lg:  clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --fs-xl:  clamp(1.45rem, 1.28rem + 0.7vw, 1.95rem);
  --fs-2xl: clamp(1.85rem, 1.55rem + 1.3vw, 2.85rem);
  --fs-3xl: clamp(2.35rem, 1.85rem + 2.3vw, 4rem);
  --fs-4xl: clamp(2.9rem, 2.1rem + 3.6vw, 5.4rem);

  /* Spacing */
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem; --sp-5:1.25rem;
  --sp-6:1.5rem; --sp-8:2rem; --sp-10:2.5rem; --sp-12:3rem; --sp-16:4rem; --sp-20:5rem;

  --max-w: 80rem;
  --section-v: clamp(3.75rem, 7vw, 7.5rem);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img, picture, svg, video { -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
button { cursor: pointer; font: inherit; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
h1 em, h2 em, h3 em, h4 em { font-style: italic; }
p { color: var(--ink-2); }
strong { font-weight: 700; color: var(--ink); }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; top: -120%; left: 1rem; z-index: 9999;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: var(--fs-sm);
  padding: .6rem 1.1rem; border-radius: 0 0 var(--r-sm) var(--r-sm); transition: top .15s;
}
.skip-link:focus { top: 0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); border:0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.container--narrow { max-width: 58rem; }
.container--wide { max-width: 86rem; }
.section { padding-block: var(--section-v); }
.section--sm { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--paper2 { background: var(--paper-2); }
.section--surface { background: var(--surface); }
.section--tint { background: var(--surface-tint); }
.section--navy { background: var(--navy-800); color: var(--on-dark); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy strong { color: #fff; }
.section--navy p { color: var(--on-dark-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--blue-deep);
}
.eyebrow::before { content:""; width: 1.6rem; height: 2px; background: var(--blue); border-radius: 2px; }
.eyebrow--light { color: var(--blue-bright); }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-2xl); margin-top: var(--sp-4); }
.section-head p { font-size: var(--fs-md); color: var(--muted); margin-top: var(--sp-4); line-height: 1.6; }
.section--navy .section-head p { color: var(--on-dark-soft); }

.grid { display: grid; gap: var(--sp-6); }
.lead { font-size: var(--fs-md); color: var(--ink-2); line-height: 1.6; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700;
  border-radius: var(--r-pill); border: 1.5px solid transparent; line-height: 1;
  white-space: nowrap; transition: transform .18s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn i { font-size: .95em; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--fs-base); }
.btn--sm { padding: .55rem 1rem; font-size: var(--fs-xs); }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: none; }
.btn--primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); }

.btn--dark { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--navy-800); transform: translateY(-2px); }

.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--white:hover { background: var(--surface-tint); border-color: var(--surface-tint); transform: translateY(-1px); }

.btn[aria-disabled="true"] { opacity:.5; pointer-events:none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

.textlink { color: var(--blue-deep); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s ease; }
.textlink:hover { gap: .65rem; text-decoration: underline; }
.section--navy .textlink { color: var(--blue-bright); }

/* ---------- 5. HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: clamp(.8rem, 2vw, var(--sp-6)); padding-block: var(--sp-4); }
.nav__brand { display: inline-flex; align-items: center; gap: .6rem; }
.nav__brand img { height: 42px; width: auto; }
.nav__links { display: none; align-items: center; gap: .15rem; }
.nav__links a {
  position: relative; padding: .55rem .75rem; font-size: .93rem; font-weight: 600; color: var(--ink-2);
  border-radius: var(--r-pill); transition: color .18s ease, background .18s ease;
}
.nav__links a::after {
  content:""; position:absolute; left: 50%; right: 50%; bottom: .3rem; height: 2px; border-radius: 2px;
  background: var(--blue); transition: left .22s cubic-bezier(.34,1.2,.64,1), right .22s cubic-bezier(.34,1.2,.64,1);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { left: .75rem; right: .75rem; }
.nav__links a[aria-current="page"] { color: var(--blue-deep); }
.nav__actions { display: none; align-items: center; gap: var(--sp-3); }

.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--sh-sm); flex-shrink: 0;
}
.nav__toggle span { display:block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s, opacity .22s; }

@media (min-width: 64rem) {
  .nav__links { display: flex; }
  .nav__actions { display: flex; }
  .nav__toggle { display: none; }
}

/* mobile drawer */
.mnav { position: fixed; inset: 0; z-index: 200; background: var(--paper); transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1); overflow-y: auto; visibility: hidden; }
.mnav.is-open { transform: translateX(0); visibility: visible; }
.mnav__inner { display: flex; flex-direction: column; min-height: 100%; padding: var(--sp-5) clamp(1.1rem,5vw,1.75rem) var(--sp-8); }
.mnav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-8); }
.mnav__top img { height: 30px; }
.mnav__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 1.2rem; }
.mnav__links { display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.mnav__links a { display: flex; align-items: center; gap: .9rem; padding: .95rem 1rem; font-size: var(--fs-md); font-weight: 600; color: var(--ink); border-radius: var(--r-md); transition: background .16s; }
.mnav__links a i { width: 22px; text-align: center; color: var(--blue-deep); font-size: .95rem; }
.mnav__links a:hover, .mnav__links a[aria-current="page"] { background: var(--surface); }
.mnav__cta { margin-top: var(--sp-6); }
.mnav__social { display: flex; gap: var(--sp-5); padding-top: var(--sp-6); margin-top: var(--sp-6); border-top: 1px solid var(--line); font-size: 1.25rem; color: var(--muted); }
.mnav__social a:hover { color: var(--blue-deep); }

/* ---------- 6. CARDS ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.card--pad { padding: clamp(1.4rem, 3vw, 2rem); }
.card--lift { transition: transform .26s ease, border-color .26s ease, background .26s ease; }
.card--lift:hover { transform: translateY(-2px); border-color: var(--line-cool); background: var(--paper-2); }
.card--linked { position: relative; }
.card--linked .stretched-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.icon-badge {
  width: 48px; height: 48px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-tint); color: var(--blue-deep); font-size: 1.15rem; flex-shrink: 0;
}
.icon-badge--navy { background: rgba(255,255,255,.1); color: var(--blue-bright); }

.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 700; line-height: 1;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.pill i { color: var(--blue-deep); }
.pill--navy { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--on-dark-soft); }
.pill--navy i { color: var(--blue-bright); }

/* ---------- 7. PACKAGE CARDS ---------- */
.pkgs { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 60rem) { .pkgs { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }

.pkg {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--sh-sm);
  transition: transform .26s ease, border-color .26s ease;
}
.pkg:hover { transform: translateY(-3px); border-color: var(--line-cool); }
.pkg--featured {
  border: 1.5px solid var(--blue); box-shadow: 0 24px 54px rgba(4,153,213,.18);
  background: linear-gradient(180deg, #ffffff 0%, #f3fafd 100%);
}
@media (min-width: 60rem) { .pkg--featured { transform: translateY(-14px); } .pkg--featured:hover { transform: translateY(-17px); } }
.pkg__tag {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: .4rem 1rem; border-radius: var(--r-pill); box-shadow: var(--sh-blue); white-space: nowrap;
}
.pkg__name { font-size: var(--fs-lg); }
.pkg__price { font-family: var(--font-body); font-size: var(--fs-2xl); font-weight: 700; color: var(--ink); line-height: 1; }
.pkg__price small { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); margin-top: .5rem; letter-spacing: .02em; }
.pkg__for { font-size: var(--fs-sm); color: var(--muted); }
.pkg__desc { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; }
.pkg__list { display: grid; gap: .7rem; }
.pkg__list li { display: flex; gap: .65rem; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
.pkg__list li i { color: var(--blue-deep); margin-top: .2rem; font-size: .85rem; flex-shrink: 0; }
.pkg__divider { height: 1px; background: var(--line); border: 0; }
.pkg__cta { margin-top: auto; }

/* Premium card — understated allure */
.pkg--premium,
.spk--premium {
  overflow: hidden;                           /* clips the sheen */
  border-color: #c0bab0;                      /* warm pewter border, keeps existing width */
  background: linear-gradient(158deg, #ffffff 0%, #faf8f5 52%, #f3f0ea 100%);
  box-shadow: 0 2px 12px rgba(10,24,38,.07), 0 0 0 1px rgba(140,132,120,.10);
}
.pkg--premium:hover {
  border-color: #a89f92;
  box-shadow: 0 2px 12px rgba(10,24,38,.07), 0 0 0 1px rgba(140,132,120,.18);
  transform: none;                            /* sheen does the work — no lift */
}
.spk--premium:hover {
  border-color: #a89f92;
  box-shadow: 0 2px 12px rgba(10,24,38,.07), 0 0 0 1px rgba(140,132,120,.18);
}

/* Sheen — animation-based so it only ever plays forward; no reverse on mouse-out */
.pkg--premium::after,
.spk--premium::after {
  content: "";
  position: absolute;
  top: -20%; left: 0;
  width: 45%; height: 140%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0)    0%,
    rgba(255,255,255,.26) 35%,
    rgba(255,255,255,.44) 50%,
    rgba(255,255,255,.26) 65%,
    rgba(255,255,255,0)  100%
  );
  transform: translateX(-230%) skewX(-12deg);
  pointer-events: none;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .pkg--premium:hover::after,
  .spk--premium:hover::after { animation: premiumSheen 1.4s ease-in-out forwards; }
}
@keyframes premiumSheen {
  from { transform: translateX(-230%) skewX(-12deg); }
  to   { transform: translateX(310%)  skewX(-12deg); }
}

/* ---------- 8. THREE B's ---------- */
.bbb { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 52rem) { .bbb { grid-template-columns: repeat(3, 1fr); } }
.bbb__item { padding: clamp(1.4rem,3vw,1.9rem); border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.bbb__n { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; color: var(--blue-bright); letter-spacing: .1em; }
.bbb__h { font-size: var(--fs-lg); color: #fff; margin-top: .5rem; }
.bbb__p { font-size: var(--fs-sm); color: var(--on-dark-soft); margin-top: .65rem; line-height: 1.6; }

/* ---------- 9. PROCESS STEPS ---------- */
.steps { display: grid; gap: var(--sp-4); counter-reset: step; }
@media (min-width: 58rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }
.step {
  position: relative; padding: clamp(1.3rem,3vw,1.7rem); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
.step__n {
  width: 2.4rem; height: 2.4rem; border-radius: var(--r-pill); background: var(--navy-800); color: #fff;
  font-family: var(--font-body); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.step h3 { font-size: var(--fs-md); margin-top: var(--sp-4); }
.step p { font-size: var(--fs-sm); color: var(--muted); margin-top: .5rem; line-height: 1.55; }

/* ---------- 10. PROBLEM / FIX LISTS ---------- */
.feature-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.feature { padding: clamp(1.3rem,3vw,1.75rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .26s ease, border-color .26s ease, background .26s ease; }
.feature:hover { transform: translateY(-2px); border-color: var(--line-cool); background: var(--paper-2); }
.feature h3 { font-size: var(--fs-md); margin-top: var(--sp-4); }
.feature p { font-size: var(--fs-sm); color: var(--muted); margin-top: .55rem; line-height: 1.6; }

.checklist { display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: .7rem; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.checklist li i { color: var(--blue-deep); margin-top: .25rem; flex-shrink: 0; }
.checklist--x li i { color: var(--muted); }

.quote-line {
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); line-height: 1.3;
  color: var(--ink); letter-spacing: 0;
}

/* ---------- 11. LOGO STRIP ---------- */
.logostrip { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.logostrip__track { display: flex; gap: var(--sp-4); width: max-content; animation: marquee 60s linear infinite; }
.logostrip:hover .logostrip__track { animation-play-state: paused; }
.logostrip__item {
  display: flex; align-items: center; justify-content: center; min-width: 180px; height: 92px;
  padding: 0 var(--sp-6); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface);
}
.logostrip__item img { height: 52px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) opacity(.62); transition: filter .25s; }
.logostrip__item:hover img { filter: grayscale(0) opacity(1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 11b. PAYMENT STRIP ---------- */
.paystrip { display: flex; justify-content: center; margin-top: var(--sp-6); }
.paystrip__secure {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
}
.paystrip__secure > i { color: var(--blue-deep); }
.paystrip__badges { display: inline-flex; align-items: center; gap: .3rem; margin-left: .15rem; }
.paystrip__badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 1.625rem; padding: 0 .45rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
}
.paystrip__badge i { font-size: 1.25rem; color: var(--ink-2); }

/* ---------- 12. FOOTER ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); padding-block: clamp(3rem,6vw,4.5rem) var(--sp-8); }
.footer__grid { display: grid; gap: var(--sp-8); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer__brand img { height: 38px; margin-bottom: var(--sp-4); }
.footer__brand p { font-size: var(--fs-sm); color: var(--on-dark-faint); max-width: 30ch; line-height: 1.6; }
.footer__social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer__social a { width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; color: var(--on-dark-soft); transition: background .2s, border-color .2s, color .2s; }
.footer__social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer__col h4 { font-family: var(--font-body); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark-faint); margin-bottom: var(--sp-4); }
.footer__col ul { display: grid; gap: .65rem; }
.footer__col a { font-size: var(--fs-sm); color: var(--on-dark-soft); transition: color .18s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; align-items: center; margin-top: clamp(2.5rem,5vw,3.5rem); padding-top: var(--sp-6); border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-xs); color: var(--on-dark-faint); }

/* ---------- 13. PAGE HERO ---------- */
.phero { position: relative; overflow: hidden; background: var(--navy-800); color: #fff; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.phero::before { content:""; position:absolute; inset:0; background: radial-gradient(ellipse 55% 60% at 82% 28%, rgba(4,153,213,.28), transparent 68%); pointer-events:none; }
.phero__inner { position: relative; z-index: 1; max-width: 52rem; }
.phero h1 { font-size: var(--fs-3xl); color: #fff; }
.phero p { font-size: var(--fs-md); color: var(--on-dark-soft); margin-top: var(--sp-5); max-width: 48ch; line-height: 1.6; }
.phero__actions { margin-top: var(--sp-8); }

/* ---------- 14. FORMS ---------- */
.field { display: grid; gap: .45rem; margin-bottom: var(--sp-4); }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border-radius: var(--r-md); border: 1.5px solid var(--line-2);
  background: var(--surface); color: var(--ink); transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(4,153,213,.16); }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 15. FAQ ---------- */
.faq { display: grid; gap: var(--sp-3); }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: 1.1rem 1.25rem; font-family: var(--font-body); font-weight: 600; font-size: var(--fs-md); color: var(--ink); text-align: left; }
.faq__q i { color: var(--blue-deep); transition: transform .25s ease; flex-shrink: 0; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a > div { padding: 0 1.25rem 1.2rem; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.65; }

/* ---------- 16. MISC ---------- */
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); justify-content: space-between; padding: clamp(1.3rem,3vw,1.75rem) clamp(1.4rem,3vw,2rem); border-radius: var(--r-lg); background: var(--surface-tint); border: 1px solid var(--line-cool); }
.callout p { font-size: var(--fs-sm); color: var(--ink-2); max-width: 52ch; }
.callout strong { color: var(--ink); }

.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.1); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.imgph {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background:
    repeating-linear-gradient(135deg, #eef2f5 0 12px, #e7edf1 12px 24px);
  border: 1px solid var(--line-cool); display: grid; place-items: center; min-height: 14rem; color: var(--muted);
}
.imgph span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: var(--fs-xs); letter-spacing: .04em; padding: .4rem .8rem; background: rgba(255,255,255,.8); border-radius: var(--r-pill); border: 1px solid var(--line-cool); }

.note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }

/* dividing rule */
.rule { height: 1px; background: var(--line); border: 0; margin-block: var(--sp-8); }

/* ---------- 17. TEAM CARDS ---------- */
.team-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column; transition: transform .26s ease, border-color .26s ease; }
.team-card:hover { transform: translateY(-2px); border-color: var(--line-cool); }
.team-card__portrait { aspect-ratio: 3/4; overflow: hidden; background: var(--surface-tint); flex-shrink: 0; }
.team-card__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; display: block; }
.team-card:hover .team-card__portrait img { transform: scale(1.04); }
.team-card__portrait-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 2.5rem; color: var(--blue-deep); background: linear-gradient(135deg, var(--surface-tint), #d9edf7); }
.team-card__body { padding: clamp(1.2rem, 3vw, 1.5rem); flex: 1; display: flex; flex-direction: column; gap: var(--sp-2); }
.team-card__name { font-size: var(--fs-md); }
.team-card__role { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-deep); }
.team-card__bio { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; margin-top: var(--sp-1); flex: 1; }
.team-card__owns { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.5; }
.team-card__owns strong { color: var(--ink); display: block; margin-bottom: .25rem; }
@media (min-width: 52rem) { .team-card--featured { margin-block: -1.5rem; } }
@media (max-width: 51.99rem) { .team-card--featured { order: -1; } }

/* ---------- 18. TESTIMONIALS ---------- */
.testi-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 52rem) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi { position: relative; padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: var(--sp-4); }
.testi::before { content: "\201C"; position: absolute; top: .75rem; right: 1.25rem; font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: var(--line-2); pointer-events: none; }
.testi__quote { font-size: var(--fs-md); color: var(--ink); line-height: 1.65; flex: 1; }
.testi__foot { display: flex; align-items: center; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--line); margin-top: auto; }
.testi__logo { height: 34px; width: auto; max-width: 90px; object-fit: contain; filter: grayscale(1) opacity(.65); flex-shrink: 0; }
.testi__logo-ph { height: 34px; display: flex; align-items: center; flex-shrink: 0; }
.testi__logo-ph span { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); letter-spacing: .04em; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: .2rem .55rem; }
.testi__person { min-width: 0; }
.testi__person strong { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ink); }
.testi__person span { display: block; font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 19. CURSOR CLICK ANIMATION ---------- */
/* Wrapper: lets the cursor position itself relative to the word */
.click-word {
  position: relative;
  display: inline-block;
}
/* The accent word — inline-block so transforms work on it */
.click-text {
  display: inline-block;
}
/* Cursor overlaid on the word */
.click-mark {
  position: absolute;
  bottom: -0.25em;
  right: -0.15em;
  display: block;
  pointer-events: none;
  transform-origin: 12% 8%;   /* pivot at cursor tip */
  will-change: transform;
}
.click-mark i {
  font-size: 0.52em;
  display: block;
  line-height: 1;
  color: var(--blue-bright);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.22));
}

@media (prefers-reduced-motion: no-preference) {
  .click-mark  { animation: cursorClickLoop 3s cubic-bezier(0.35, 0, 0.18, 1) infinite; }
  .click-text  { animation: clickWordReact  3s cubic-bezier(0.35, 0, 0.18, 1) infinite; }
}

/* Cursor: hover idle → lift → press → release */
@keyframes cursorClickLoop {
  0%, 46%, 100% { transform: translate3d(1.5px, 1.8px, 0); }
  64%, 72%      { transform: translate3d(0, -2px, 0); }
  78%           { transform: translate3d(0, -2px, 0) scale(0.88); }
  86%           { transform: translate3d(0, -2px, 0); }
}

/* Word: normal → pushed down + blue flash → bounce → settle */
@keyframes clickWordReact {
  0%, 74%   { transform: scale(1) translateY(0);    color: inherit; }
  78%       { transform: scale(0.93) translateY(2px); color: var(--blue-bright); }
  84%       { transform: scale(1.05) translateY(-1px); color: var(--blue-bright); }
  89%, 100% { transform: scale(1) translateY(0);    color: inherit; }
}

/* ---------- 18. COOKIE CONSENT ---------- */

/* First-visit banner — slides up from bottom */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  z-index: 9700;
  width: min(calc(100vw - 2rem), 54rem);
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -6px 28px rgba(10,24,38,.1), 0 -2px 8px rgba(10,24,38,.06);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--sp-4);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { transform: translateX(-50%) translateY(0); pointer-events: auto; }
.cookie-banner.is-hiding { transform: translateX(-50%) translateY(110%); pointer-events: none; }

.cookie-banner__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: var(--r-pill);
  background: var(--surface-tint); color: var(--blue-deep); font-size: .9rem;
  margin-bottom: var(--sp-2);
}
.cookie-banner h3 {
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700;
  color: var(--ink); margin: 0 0 var(--sp-1); line-height: 1.3;
}
.cookie-banner p {
  font-size: var(--fs-xs); color: var(--muted); line-height: 1.55; margin: 0;
}
.cookie-banner p a { color: var(--blue-deep); text-decoration: underline; font-weight: 600; }

.cookie-banner__close {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface-tint);
  color: var(--muted); cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cookie-banner__close:hover,
.cookie-banner__close:focus-visible {
  background: var(--line);
  border-color: var(--line-2);
  color: var(--ink);
}

.cookie-banner__actions {
  grid-column: 2;
  grid-row: 1;
  display: flex; flex-direction: column; gap: var(--sp-2); flex-shrink: 0;
}

@media (max-width: 36rem) {
  .cookie-banner {
    grid-template-columns: 1fr auto; border-radius: 0; width: 100%; left: 0;
    transform: translateY(110%);
  }
  .cookie-banner.is-visible { transform: translateY(0); }
  .cookie-banner.is-hiding { transform: translateY(110%); }
  .cookie-banner__close { grid-column: 2; grid-row: 1; }
  .cookie-banner__actions { grid-column: 1 / -1; grid-row: 2; flex-direction: row; flex-wrap: wrap; }
}

/* Float button — shown after first consent decision */
.cookie-float-btn {
  position: fixed;
  right: clamp(12px, 2vw, 20px);
  bottom: clamp(12px, 2vh, 20px);
  z-index: 9500;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; min-width: 44px; height: 44px;
  padding: 0; overflow: hidden; white-space: nowrap;
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--surface); color: var(--blue-deep);
  box-shadow: var(--sh-md); cursor: pointer;
  opacity: 1; transform: translateY(0) scale(1);
  transition: width 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, opacity 0.24s ease, transform 0.24s ease;
}
.cookie-float-btn[hidden] { display: none; }
.cookie-float-btn.is-entering {
  animation: cookieFloatIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cookie-float-btn.is-dismissing {
  opacity: 0;
  transform: translateY(8px) scale(.96);
  pointer-events: none;
}

.cookie-float-btn__icon {
  width: 20px; height: 20px; flex-shrink: 0; pointer-events: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.cookie-float-btn__label {
  overflow: hidden; max-width: 0; opacity: 0; margin-left: 0;
  font-size: var(--fs-xs); font-weight: 700; color: var(--ink);
  transition: max-width 0.22s ease, opacity 0.18s ease, margin 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cookie-float-btn:hover {
    width: 12rem; border-color: var(--blue);
    background: var(--paper-2);
    justify-content: flex-start; padding-left: var(--sp-3);
  }
  .cookie-float-btn:hover .cookie-float-btn__label {
    max-width: 10rem; opacity: 1; margin-left: var(--sp-2); margin-right: var(--sp-3);
  }
}

@keyframes cookieFloatIn {
  from {
    opacity: 0;
    transform: translateX(calc(100% + 24px));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cookieBtnNudge {
  0%, 100% { transform: rotate(0deg); }
  18% { transform: rotate(-10deg); }
  36% { transform: rotate(9deg); }
  54% { transform: rotate(-6deg); }
  72% { transform: rotate(5deg); }
}

.cookie-float-btn.is-nudging .cookie-float-btn__icon {
  animation: cookieBtnNudge 0.95s ease 0.15s both;
}

/* Preferences panel */
.cookie-panel {
  position: fixed;
  right: clamp(12px, 2vw, 20px);
  bottom: calc(clamp(12px, 2vh, 20px) + 56px);
  z-index: 9600;
  width: min(312px, calc(100vw - 2rem));
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: var(--sp-5);
  opacity: 1; transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cookie-panel[hidden] { display: none; }

.cookie-panel__close {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  width: 28px; height: 28px; border-radius: var(--r-pill);
  background: var(--surface-tint); border: 1px solid var(--line);
  color: var(--muted); font-size: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, color .15s;
}
.cookie-panel__close:hover { background: var(--line); color: var(--ink); }

.cookie-panel h3 {
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700;
  color: var(--ink); margin: 0 2rem var(--sp-2) 0; line-height: 1.3;
}
.cookie-panel p {
  font-size: var(--fs-xs); color: var(--muted); line-height: 1.6;
  margin: 0 0 var(--sp-4);
}

.cookie-choice {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  margin-bottom: var(--sp-3); cursor: pointer;
  font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.45;
}
.cookie-choice input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: .15rem; accent-color: var(--blue); cursor: pointer;
}
.cookie-choice.is-disabled { cursor: default; opacity: .65; }
.cookie-choice.is-disabled input { cursor: not-allowed; }
.cookie-choice strong { color: var(--ink); display: block; margin-bottom: 1px; }

.cookie-save {
  display: flex; width: 100%; align-items: center; justify-content: center;
  margin-top: var(--sp-4); padding: .7rem 1rem;
  border-radius: var(--r-pill); background: var(--blue);
  border: none; color: #fff; font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 700; cursor: pointer;
  transition: background .18s;
}
.cookie-save:hover { background: var(--blue-deep); }

/* ---------- 19. REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
