/* ============================================================================
   Tasmim Inspire — Design System
   ----------------------------------------------------------------------------
   Public site styles. No framework dependency: one stylesheet, CSS custom
   properties for the whole design language, and no build step.

   Sections
     1. Tokens
     2. Reset & base
     3. Layout primitives
     4. Typography
     5. Buttons
     6. Cards
     7. Header & navigation
     8. Footer
     9. Sections & components
    10. Forms
    11. Tables, pagination, badges
    12. Rich text content
    13. Utilities
    14. Responsive
    15. Reduced motion
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------------- */

:root {
  /* Colour — navy/blue palette with restrained accents */
  --c-navy-950: #060f24;
  --c-navy-900: #0b1b3d;
  --c-navy-800: #11275a;
  --c-navy-700: #17347a;
  --c-blue-600: #123c8c;
  --c-blue-500: #1a4bab;
  --c-blue-400: #8fb0e8;
  --c-blue-100: #d8e2f5;
  --c-blue-50:  #eef3fb;

  /* Gold — from the company logo (sphere + orbit ring). */
  --c-gold-700: #96690a;
  --c-gold-600: #b8860b;
  --c-gold-500: #d9a419;
  --c-gold-400: #e8b93a;
  --c-gold-300: #f2cf6b;
  --c-gold-100: #fbf0d2;
  --c-gold-50:  #fdf8e9;

  --c-accent-500: #0d9488;
  --c-accent-100: #ccfbf1;

  --c-ink-900: #0f172a;
  --c-ink-700: #334155;
  --c-ink-600: #475569;
  --c-ink-500: #64748b;
  --c-ink-400: #94a3b8;

  --c-line:      #e2e8f0;
  --c-line-soft: #eef2f7;
  --c-surface:   #ffffff;
  --c-surface-2: #f8fafc;
  --c-surface-3: #f1f5f9;

  --c-success: #15803d;
  --c-success-bg: #ecfdf5;
  --c-warning: #b45309;
  --c-warning-bg: #fffbeb;
  --c-danger:  #b91c1c;
  --c-danger-bg: #fef2f2;
  --c-info:    #1d4ed8;
  --c-info-bg: #eff6ff;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Arial, "Noto Sans", "Noto Nastaliq Urdu", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;   /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1.0625rem;  /* 17px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.5rem;    /* 24px */
  --fs-2xl:  1.875rem;  /* 30px */
  --fs-3xl:  2.25rem;   /* 36px */
  --fs-4xl:  3rem;      /* 48px */

  --lh-tight: 1.2;
  --lh-snug:  1.4;
  --lh-base:  1.65;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.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;
  --sp-24: 6rem;

  --section-y: var(--sp-20);
  --section-y-sm: var(--sp-12);

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

  /* Shadows — subtle, never heavy */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --sh-sm: 0 1px 3px rgba(15, 23, 42, .07), 0 1px 2px rgba(15, 23, 42, .04);
  --sh-md: 0 4px 12px rgba(15, 23, 42, .07), 0 2px 4px rgba(15, 23, 42, .04);
  --sh-lg: 0 12px 28px rgba(15, 23, 42, .09), 0 4px 10px rgba(15, 23, 42, .04);
  --sh-focus: 0 0 0 3px rgba(18, 60, 140, .30);

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --header-h: 72px;

  /* Motion */
  --dur-fast: 120ms;
  --dur: 200ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-ink-700);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* Inline icons keep a sane default size in every context; the surrounding
   component rules below override where a different size reads better. */
.icon { width: 20px; height: 20px; flex: none; }
.btn .icon { width: 17px; height: 17px; }
.notice .icon { width: 18px; height: 18px; margin-top: 2px; }
.check-list .icon, .meta-row .icon { width: 14px; height: 14px; }

a {
  color: var(--c-blue-600);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--c-navy-700); text-decoration: underline; text-underline-offset: 3px; }

/* Visible, consistent focus state everywhere — keyboard users must see it. */
:focus-visible {
  outline: 2px solid var(--c-blue-500);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--sp-8) 0; }

::selection { background: var(--c-gold-100); color: var(--c-navy-900); }

/* Skip link: invisible until focused. */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  z-index: 200;
  background: var(--c-navy-900);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md);
  font-weight: var(--fw-semi);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-4); color: #fff; text-decoration: none; }

/* ---------------------------------------------------------------------------
   3. Layout primitives
   --------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-sm); }
.section--muted { background: var(--c-surface-2); }
.section--navy { background: var(--c-navy-900); color: #e2e8f0; }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack > * + * { margin-top: var(--sp-4); }
.stack--lg > * + * { margin-top: var(--sp-8); }

.row { display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }

/* ---------------------------------------------------------------------------
   4. Typography
   --------------------------------------------------------------------------- */

h1, h2, h3, h4, h5 {
  color: var(--c-ink-900);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.015em;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

.lead { font-size: var(--fs-md); color: var(--c-ink-600); line-height: var(--lh-base); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-gold-600);
  margin-bottom: var(--sp-3);
}
.section--navy .eyebrow { color: var(--c-gold-300); }

.text-gradient {
  background: linear-gradient(96deg, #123c8c 0%, #b8860b 60%, #e8b93a 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 720px; margin-bottom: var(--sp-12); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--c-ink-600); font-size: var(--fs-md); }

.muted { color: var(--c-ink-500); }
.small { font-size: var(--fs-sm); }
.tiny { font-size: var(--fs-xs); }
code, kbd, samp { font-family: var(--font-mono); font-size: .92em; }

code {
  background: var(--c-surface-3);
  padding: .12em .4em;
  border-radius: var(--r-sm);
  color: var(--c-navy-800);
}

/* ---------------------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------------------- */

.btn {
  --btn-bg: linear-gradient(135deg, #1a4bab 0%, #123c8c 55%, #0d2b63 100%);
  --btn-fg: #fff;
  --btn-border: transparent;
  --btn-sh: 0 4px 14px rgba(13, 43, 99, .30);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .6875rem 1.25rem;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--btn-sh, 0 1px 2px rgba(15, 23, 42, .08));
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.btn:hover {
  background: linear-gradient(135deg, #16469f 0%, #0a2450 100%);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(10, 36, 80, .38);
}
.btn:active { transform: translateY(1px); box-shadow: var(--btn-sh); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.btn--lg { padding: .875rem 1.75rem; font-size: var(--fs-base); }
.btn--sm { padding: .4375rem .875rem; font-size: var(--fs-xs); }

.btn--secondary {
  --btn-bg: var(--c-surface);
  --btn-fg: var(--c-navy-800);
  --btn-border: var(--c-line);
  --btn-sh: 0 1px 2px rgba(15, 23, 42, .05);
}
.btn--secondary:hover { --btn-bg: var(--c-surface-2); --btn-border: var(--c-ink-400); color: var(--c-navy-900); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-navy-800);
  --btn-border: transparent;
  --btn-sh: none;
}
.btn--ghost:hover { --btn-bg: var(--c-surface-3); color: var(--c-navy-900); }

.btn--danger { --btn-bg: var(--c-danger); --btn-sh: 0 4px 14px rgba(185, 28, 28, .22); }
.btn--danger:hover { background: #991b1b; }

.btn--on-navy { --btn-bg: linear-gradient(135deg, #f2cf6b, #d9a419); --btn-fg: #0d2b63; --btn-sh: 0 6px 18px rgba(217, 164, 25, .38); }
.btn--on-navy:hover { --btn-bg: linear-gradient(135deg, #e8b93a, #b8860b); color: #0a2450; }

.btn--outline-navy {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255,255,255,.4);
}
.btn--outline-navy:hover { --btn-bg: rgba(255,255,255,.12); color: #fff; --btn-border: #fff; }

.btn-group { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* Floating WhatsApp contact button — fixed, sized, never a giant SVG. */
.whatsapp-float {
  position: fixed;
  right: var(--sp-6);
  bottom: var(--sp-6);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .8rem 1.2rem .8rem .95rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: var(--r-full);
  box-shadow: 0 10px 26px rgba(18, 140, 126, .38);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(18, 140, 126, .46);
}
.whatsapp-float svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 560px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: .95rem; }
}
.btn--block { width: 100%; }

/* WhatsApp button uses the platform's own colour, which is a legitimate
   brand cue rather than a decorative gradient. */
.btn--whatsapp { --btn-bg: linear-gradient(135deg, #1fa893, #128c7e); --btn-sh: 0 4px 14px rgba(18, 140, 126, .28); }
.btn--whatsapp:hover { background: #0d6e62; }

/* ---------------------------------------------------------------------------
   6. Cards
   --------------------------------------------------------------------------- */

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--sh-lg); border-color: var(--c-blue-100); }
.card:not(.card--link):not(.card--flush):hover { transform: translateY(-3px); }

.card--link { display: block; color: inherit; height: 100%; text-decoration: none; }
.card--link:hover { text-decoration: none; color: inherit; transform: translateY(-2px); }

.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-gold-50), var(--c-gold-100));
  box-shadow: inset 0 0 0 1px rgba(217, 164, 25, .18);
  color: var(--c-gold-600);
  margin-bottom: var(--sp-4);
  flex: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover .card__icon { transform: translateY(-2px) scale(1.04); box-shadow: inset 0 0 0 1px rgba(217, 164, 25, .3), 0 6px 14px rgba(217, 164, 25, .2); }
.card__icon svg { width: 22px; height: 22px; }

.card__title { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.card__title a { color: var(--c-ink-900); }
.card__title a:hover { color: var(--c-blue-600); text-decoration: none; }

.card__text { color: var(--c-ink-600); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: auto; }

.card--flush { padding: 0; overflow: hidden; }
.card__media { background: var(--c-surface-3); aspect-ratio: 16 / 9; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--sp-6); }

/* ---------------------------------------------------------------------------
   7. Header & navigation
   --------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .75);
  box-shadow: 0 1px 24px rgba(11, 27, 61, .06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); color: var(--c-navy-900); }
.brand:hover { text-decoration: none; color: var(--c-navy-900); }

.brand__mark {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--c-navy-800), var(--c-blue-600));
  color: #fff;
  display: grid; place-items: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  letter-spacing: .02em;
  flex: none;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: var(--fw-bold); font-size: var(--fs-md); color: var(--c-navy-900); }
.brand__tag { font-size: var(--fs-xs); color: var(--c-ink-500); }

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  flex: none;
  filter: drop-shadow(0 3px 8px rgba(10, 36, 80, .22));
}
.brand__logo--chip {
  background: #fff;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(4, 10, 26, .28);
}

.main-nav { display: flex; align-items: center; gap: var(--sp-1); }
.main-nav__list { display: flex; align-items: center; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }

.main-nav__link {
  display: inline-block;
  padding: .5rem .75rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-ink-700);
  border-radius: var(--r-md);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.main-nav__link:hover { background: var(--c-surface-3); color: var(--c-navy-900); text-decoration: none; }
.main-nav__link[aria-current="page"] {
  color: var(--c-gold-700);
  background: linear-gradient(135deg, var(--c-gold-50), #ffffff);
  box-shadow: inset 0 0 0 1px var(--c-gold-100);
  font-weight: var(--fw-semi);
}

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--c-navy-900);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(4px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }

/* ---------------------------------------------------------------------------
   8. Footer
   --------------------------------------------------------------------------- */

.site-footer {
  background: linear-gradient(180deg, #08142e 0%, var(--c-navy-950) 55%);
  color: var(--c-ink-400);
  padding-block: var(--sp-16) var(--sp-8);
  margin-top: var(--sp-16);
  font-size: var(--fs-sm);
}

.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-title, .site-footer h4, .site-footer h5 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--sp-4); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li + li { margin-top: var(--sp-2); }

.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-3); align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--c-gold-300); }

.footer-social { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); flex-wrap: wrap; }
.footer-social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: rgba(148, 163, 184, .12);
  color: #cbd5e1;
}
.footer-social a:hover { background: var(--c-gold-500); color: var(--c-navy-950); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  flex-wrap: wrap;
  color: var(--c-ink-500);
  font-size: var(--fs-xs);
}

/* ---------------------------------------------------------------------------
   9. Sections & components
   --------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: var(--sp-24);
  background:
    radial-gradient(900px 460px at 90% -12%, rgba(18, 60, 140, .16), transparent 60%),
    radial-gradient(720px 400px at -12% 22%, rgba(217, 164, 25, .10), transparent 55%),
    linear-gradient(180deg, #f1f5ff 0%, var(--c-surface) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 27, 61, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-16); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 4.6vw, 3.55rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: var(--sp-5); }
.hero .lead { font-size: var(--fs-lg); color: var(--c-ink-600); max-width: 34em; }
.hero__actions { margin-top: var(--sp-8); }

.hero__note {
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--c-ink-500);
  display: flex; align-items: center; gap: var(--sp-2);
}
.hero__note svg { width: 16px; height: 16px; color: var(--c-accent-500); flex: none; }

/* Decorative product panel — CSS only, no fake screenshots. */
.hero__visual {
  position: relative;
  perspective: 1400px;
}

/* The panel floats in 3D space; rows lift toward the viewer. */
.hero__panel {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(18, 60, 140, .10);
  border-radius: var(--r-xl);
  box-shadow:
    0 50px 90px -30px rgba(10, 36, 80, .35),
    0 24px 48px -24px rgba(10, 36, 80, .22);
  padding: var(--sp-6);
  transform: rotateY(-10deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.hero__visual:hover .hero__panel { transform: rotateY(-4deg) rotateX(2deg); }
.hero__panel .panel__rows, .hero__panel .panel__metric, .hero__panel .panel__bar {
  transform: translateZ(34px);
}

/* Gold orbit ring echoing the logo's swoosh. */
.hero__ring {
  position: absolute;
  inset: -9% -12% auto -14%;
  height: 62%;
  border: 2px solid rgba(217, 164, 25, .35);
  border-radius: 50%;
  transform: rotate(-14deg) translateZ(-40px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}

/* Floating depth chips. */
.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .5rem .9rem;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  box-shadow: 0 14px 30px rgba(10, 36, 80, .22);
  animation: chip-float 7s var(--ease) infinite;
}
.hero__chip .icon { width: 14px; height: 14px; }
.hero__chip--gold {
  left: -7%;
  top: 12%;
  background: linear-gradient(135deg, #f2cf6b, #d9a419);
  color: #0d2b63;
}
.hero__chip--navy {
  left: -4%;
  bottom: -7%;
  background: linear-gradient(135deg, #16408f, #0d2b63);
  color: #f2cf6b;
  animation-delay: -3.5s;
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0) translateZ(60px); }
  50% { transform: translateY(-10px) translateZ(60px); }
}
.panel__bar { display: flex; gap: 6px; margin-bottom: var(--sp-5); }
.panel__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-line); }
.panel__rows { display: grid; gap: var(--sp-3); }
.panel__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-surface-2);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}
.panel__row span:last-child { color: var(--c-ink-500); font-variant-numeric: tabular-nums; }
.panel__metric { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-5); }
.panel__metric div { background: var(--c-gold-50); border-radius: var(--r-md); padding: var(--sp-3); text-align: center; }
.panel__metric strong { display: block; color: var(--c-navy-800); font-size: var(--fs-md); }
.panel__metric small { color: var(--c-ink-500); font-size: var(--fs-xs); }

.pill-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.pill {
  display: inline-block;
  padding: .3125rem .75rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-ink-600);
}
.pill--accent { background: var(--c-accent-100); border-color: transparent; color: #115e59; }
.pill--blue { background: var(--c-blue-50); border-color: var(--c-blue-100); color: var(--c-blue-600); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: var(--sp-8);
  margin-bottom: var(--sp-3);
  color: var(--c-ink-700);
  font-size: var(--fs-sm);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8860b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
  border-radius: var(--r-xl);
  padding: var(--sp-12);
  color: #e2e8f0;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: var(--sp-8);
  align-items: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(232, 185, 58, .30), transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: #cbd5e1; margin: 0; }

/* FAQ accordion built on <details> — works without JavaScript. */
.faq-list { display: grid; gap: var(--sp-3); max-width: 820px; }
.faq {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq > summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5) var(--sp-6);
  font-weight: var(--fw-semi);
  color: var(--c-ink-900);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  align-items: center;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--c-ink-400);
  border-bottom: 2px solid var(--c-ink-400);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
  flex: none;
}
.faq[open] > summary::after { transform: rotate(225deg); }
.faq[open] > summary { border-bottom: 1px solid var(--c-line-soft); }
.faq__body { padding: var(--sp-5) var(--sp-6); color: var(--c-ink-600); font-size: var(--fs-sm); }

.testimonial {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-gold-500);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.testimonial blockquote { margin: 0 0 var(--sp-4); color: var(--c-ink-700); font-size: var(--fs-sm); }
.testimonial figcaption { font-size: var(--fs-sm); }
.testimonial figcaption strong { color: var(--c-ink-900); display: block; }
.testimonial figcaption span { color: var(--c-ink-500); font-size: var(--fs-xs); }

.page-head {
  background:
    radial-gradient(760px 300px at 92% -20%, rgba(217, 164, 25, .10), transparent 60%),
    linear-gradient(180deg, var(--c-blue-50), var(--c-surface));
  border-bottom: 1px solid var(--c-line);
  padding-block: var(--sp-16) var(--sp-12);
}
.page-head h1 { font-size: var(--fs-3xl); margin-bottom: var(--sp-4); }
.page-head .lead { max-width: 44em; }

.breadcrumbs { font-size: var(--fs-xs); color: var(--c-ink-500); margin-bottom: var(--sp-4); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--sp-2); color: var(--c-ink-400); }
.breadcrumbs [aria-current="page"] { color: var(--c-ink-700); }

.notice {
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  border: 1px solid transparent;
  display: flex; gap: var(--sp-3); align-items: flex-start;
}
.notice--success { background: var(--c-success-bg); color: #14532d; border-color: #bbf7d0; }
.notice--error   { background: var(--c-danger-bg);  color: #7f1d1d; border-color: #fecaca; }
.notice--warning { background: var(--c-warning-bg); color: #78350f; border-color: #fde68a; }
.notice--info    { background: var(--c-info-bg);    color: #1e3a8a; border-color: #bfdbfe; }

.tag-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.empty-state {
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
  border: 1px dashed var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
  color: var(--c-ink-500);
}
.empty-state h3 { color: var(--c-ink-700); margin-bottom: var(--sp-2); }

/* ---------------------------------------------------------------------------
   10. Forms
   --------------------------------------------------------------------------- */

.form-grid { display: grid; gap: var(--sp-5); }
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.field { display: grid; gap: var(--sp-2); }
.field > label, .field__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--c-ink-900);
}
.field__hint { font-size: var(--fs-xs); color: var(--c-ink-500); }
.field__required { color: var(--c-danger); margin-left: 2px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"],
input[type="date"], input[type="datetime-local"], select, textarea {
  width: 100%;
  padding: .625rem .8125rem;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--c-ink-900);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
textarea { min-height: 130px; resize: vertical; line-height: var(--lh-base); }

input:hover, select:hover, textarea:hover { border-color: var(--c-ink-400); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--c-blue-500);
  box-shadow: var(--sh-focus);
}
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: var(--c-danger);
  background: #fffbfb;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 15px;
  padding-right: 2.25rem;
}

.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); }
.check input[type="checkbox"], .check input[type="radio"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--c-blue-600);
}

.field-error { color: var(--c-danger); font-size: var(--fs-xs); font-weight: var(--fw-medium); }

/* Honeypot: visually hidden but present in the DOM for bots. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-actions { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; padding-top: var(--sp-2); }

/* ---------------------------------------------------------------------------
   11. Tables, pagination, badges
   --------------------------------------------------------------------------- */

.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); }
table.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.table th, table.table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--c-line-soft); vertical-align: middle; }
table.table thead th {
  background: var(--c-surface-2);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--c-ink-500);
  font-weight: var(--fw-semi);
  white-space: nowrap;
}
table.table tbody tr:last-child td { border-bottom: 0; }
table.table tbody tr:hover { background: var(--c-surface-2); }
table.table td.num, table.table th.num { text-align: right; font-variant-numeric: tabular-nums; }

.badge {
  display: inline-block;
  padding: .1875rem .5625rem;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  line-height: 1.4;
  white-space: nowrap;
}
.badge--published { background: var(--c-success-bg); color: var(--c-success); }
.badge--draft     { background: var(--c-surface-3); color: var(--c-ink-600); }
.badge--new       { background: var(--c-info-bg); color: var(--c-info); }
.badge--read      { background: var(--c-surface-3); color: var(--c-ink-600); }
.badge--in_progress { background: var(--c-warning-bg); color: var(--c-warning); }
.badge--closed    { background: var(--c-surface-3); color: var(--c-ink-500); }
.badge--spam      { background: var(--c-danger-bg); color: var(--c-danger); }

.pagination { display: flex; gap: var(--sp-1); align-items: center; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  padding-inline: var(--sp-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--c-ink-700);
  background: var(--c-surface);
}
.pagination a:hover { border-color: var(--c-blue-500); color: var(--c-blue-600); text-decoration: none; }
.pagination [aria-current="page"] { background: var(--c-blue-600); border-color: var(--c-blue-600); color: #fff; font-weight: var(--fw-semi); }
.pagination .gap { border: 0; background: transparent; }

.pagination-meta { font-size: var(--fs-xs); color: var(--c-ink-500); }

/* ---------------------------------------------------------------------------
   12. Rich text content (output of Str::richText)
   --------------------------------------------------------------------------- */

.rich { font-size: var(--fs-base); color: var(--c-ink-700); }
.rich h3 { font-size: var(--fs-xl); margin-top: var(--sp-10); margin-bottom: var(--sp-3); }
.rich h4 { font-size: var(--fs-md); margin-top: var(--sp-8); margin-bottom: var(--sp-2); }
.rich p { margin-bottom: var(--sp-4); }
.rich ul, .rich ol { margin: 0 0 var(--sp-4); padding-left: var(--sp-6); }
.rich li { margin-bottom: var(--sp-2); }
.rich ul li::marker { color: var(--c-blue-500); }
.rich blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-4) var(--sp-6);
  border-left: 3px solid var(--c-blue-500);
  background: var(--c-blue-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--c-navy-800);
  font-size: var(--fs-sm);
}
.rich blockquote p:last-child { margin-bottom: 0; }
.rich strong { color: var(--c-ink-900); font-weight: var(--fw-semi); }
.rich a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------------------------------------------------------------------------
   13. Utilities
   --------------------------------------------------------------------------- */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); } .mt-12 { margin-top: var(--sp-12); }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); } .mb-12 { margin-bottom: var(--sp-12); }

.divider { height: 1px; background: var(--c-line); border: 0; margin: var(--sp-8) 0; }

.meta-row { display: flex; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--fs-xs); color: var(--c-ink-500); }
.meta-row span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.meta-row svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------------------
   14. Responsive
   --------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero { padding-block: var(--sp-16); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; --section-y: var(--sp-12); }

  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  .hero h1 { font-size: var(--fs-3xl); }
  .page-head h1 { font-size: var(--fs-2xl); }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid--2 { grid-template-columns: 1fr; }

  /* Mobile navigation */
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-lg);
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
    display: none;
  }
  .main-nav[data-open="true"] { display: block; }

  .main-nav__list { flex-direction: column; align-items: stretch; gap: var(--sp-1); }
  .main-nav__link { display: block; padding: var(--sp-3) var(--sp-4); font-size: var(--fs-base); }
  .header-actions .btn { display: none; }
}

@media (max-width: 640px) {
  .container { padding-inline: var(--sp-4); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-block: var(--sp-12); }
  .cta-band { padding: var(--sp-8); }
  .section { padding-block: var(--sp-10); }
  .panel__metric { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  table.table th, table.table td { padding: .625rem .75rem; }
}

/* ---------------------------------------------------------------------------
   15. Reduced motion
   --------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .card--link:hover { transform: none; }
  .btn:active { transform: none; }
}

/* ---------------------------------------------------------------------------
   Print — a visitor should be able to print a service or article page cleanly.
   --------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .hero__panel, .btn, .breadcrumbs, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section { padding-block: 0; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
}

/* ===========================================================================
   16. Theme system — blue tech (default) / white, plus the tech surface
   =========================================================================== */

/* The blue theme keeps every component style and only moves the surface
   tokens, so contrast ratios tested for the light theme still hold. */
html[data-theme="blue"] {
  --c-surface-2: #eef4ff;
  --c-surface-3: #e4edff;
  --c-line: #d5e1f6;
  --c-line-soft: #e3ecfb;
  --c-blue-50: #e6efff;
}

html[data-theme="blue"] body {
  background:
    linear-gradient(180deg, #e7f0ff 0%, #f3f8ff 45%, #ecf3ff 100%);
}

html[data-theme="light"] body {
  background: #ffffff;
}

/* Tech surface: a fine engineering grid plus two soft glow fields. Both are
   decorative, fixed, and switched off entirely in the white theme. */
html[data-theme="blue"][data-tech="on"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 60, 140, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 60, 140, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 90%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 90%);
}

html[data-theme="blue"][data-tech="on"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 88% -6%, rgba(26, 75, 171, 0.16), transparent 65%),
    radial-gradient(520px 380px at -8% 34%, rgba(217, 164, 25, 0.10), transparent 65%),
    radial-gradient(700px 460px at 50% 108%, rgba(26, 75, 171, 0.10), transparent 70%);
}

html[data-theme="blue"] .site-header,
html[data-theme="blue"] main,
html[data-theme="blue"] .site-footer {
  position: relative;
  z-index: 1;
}

html[data-theme="blue"] .site-header {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

html[data-theme="blue"] .card {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ------------------------------- Theme toggle ---------------------------- */
.theme-toggle {
  inline-size: 38px;
  block-size: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-blue-600);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover { transform: translateY(-1px); background: var(--c-blue-50); }
.theme-toggle:focus-visible { outline: 2px solid var(--c-blue-500); outline-offset: 2px; }
.theme-toggle svg { width: 18px; height: 18px; }

html[data-theme="blue"] .theme-toggle__icon--moon { display: none; }
html[data-theme="light"] .theme-toggle__icon--sun { display: none; }
html[data-theme="light"] .theme-toggle { color: var(--c-gold-600); }

/* ------------------------------- Eyebrow pill ---------------------------- */
.eyebrow--pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  box-shadow: 0 6px 18px -10px rgba(13, 43, 99, 0.25);
}

.eyebrow--pill svg { width: 15px; height: 15px; color: var(--c-gold-600); }

/* ------------------------------- Mini chips ------------------------------ */
.mini {
  flex: none;
  inline-size: 40px;
  block-size: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.mini svg { width: 19px; height: 19px; }
.mini--blue   { background: #e3edff; color: #1a4bab; }
.mini--green  { background: #dcf5ea; color: #0f8a5f; }
.mini--gold   { background: var(--c-gold-100); color: var(--c-gold-700); }
.mini--violet { background: #efe6ff; color: #7c3aed; }

.hero__minis {
  list-style: none;
  margin: var(--sp-8, 2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4) var(--sp-6);
}

.hero__minis li { display: flex; gap: 12px; align-items: flex-start; }
.hero__minis strong { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink-900); }
.hero__minis small { display: block; font-size: var(--fs-xs); color: var(--c-ink-500); }

/* ------------------------------- Hero stage ------------------------------ */
.hero__stage {
  position: relative;
  perspective: 1400px;
}

.hero__glow {
  position: absolute;
  inset: -10% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(26, 75, 171, 0.22), transparent 72%);
  filter: blur(12px);
}

.hero__photo {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 50px 90px -40px rgba(13, 43, 99, 0.5),
    0 18px 40px -24px rgba(13, 43, 99, 0.35);
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero__stage:hover .hero__photo { transform: rotateY(-3deg) rotateX(1.5deg); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(18, 60, 140, 0.12);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px -18px rgba(13, 43, 99, 0.4);
  animation: float-card 7s ease-in-out infinite;
}

.float-card svg { width: 15px; height: 15px; color: var(--c-ink-400); }
.float-card__text { display: flex; flex-direction: column; }
.float-card__text strong { font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink-900); }
.float-card__text small { font-size: 11px; color: var(--c-ink-500); }

.float-card--1 { top: 6%;  left: -7%;  animation-delay: 0s; }
.float-card--2 { top: 16%; right: -6%; animation-delay: 1.2s; }
.float-card--3 { bottom: 22%; left: -9%; animation-delay: 2.1s; }
.float-card--4 { bottom: 8%; right: -4%; animation-delay: 3.3s; }

@keyframes float-card {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* ------------------------------- About split ----------------------------- */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-split__media { position: relative; }

.about-split__media img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(13, 43, 99, 0.45);
}

.about-split__note {
  position: absolute;
  top: -14px;
  left: -10px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--c-navy-900);
  color: var(--c-gold-300);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  box-shadow: 0 14px 30px -14px rgba(6, 15, 36, 0.6);
}

.about-split__copy .check-list { margin: var(--sp-5) 0 var(--sp-6); }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split__note { left: 8px; }
}

@media (max-width: 700px) {
  .float-card { display: none; }
  .hero__photo { transform: none; }
  .hero__minis { grid-template-columns: 1fr; }
}

/* The white theme strips the hero's blue mesh and dot grid so the page
   reads as clean paper; the blue theme keeps the full tech treatment. */
html[data-theme="light"] .hero {
  background: #ffffff;
}

html[data-theme="light"] .hero::before {
  display: none;
}

html[data-theme="light"] .hero__glow {
  background: radial-gradient(closest-side, rgba(15, 23, 42, 0.10), transparent 72%);
}

html[data-theme="light"] .section--muted {
  background: var(--c-surface-2);
}

/* ===========================================================================
   17. Dark navy theme (third stop of the theme cycle)
   =========================================================================== */

html[data-theme="dark"] {
  --c-surface:   #0f2450;
  --c-surface-2: #0b1b3d;
  --c-surface-3: #132b5e;
  --c-line:      #26437f;
  --c-line-soft: #1b3468;
  --c-ink-900:   #eef4ff;
  --c-ink-700:   #c9d6f4;
  --c-ink-600:   #abbfe8;
  --c-ink-500:   #8ca4d6;
  --c-ink-400:   #718cc2;
  --c-blue-50:   #12295c;
  --c-blue-100:  #1b3468;
  --c-blue-400:  #8fb0e8;
  --c-blue-500:  #4d80e8;
  --c-blue-600:  #7aa5f4;
  --c-gold-50:   #2a2410;
  --c-gold-100:  #3d3315;
  --c-gold-300:  #f2cf6b;
  --c-gold-600:  #e8b93a;
  --c-gold-700:  #f2cf6b;
  --c-info-bg:   #12295c;
  --c-success-bg:#0d2b23;
  --c-warning-bg:#33230b;
  --c-danger-bg: #381414;
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: linear-gradient(180deg, #060f24 0%, #0b1b3d 55%, #08122b 100%);
  color: var(--c-ink-700);
}

html[data-theme="dark"][data-tech="on"] body::before {
  background-image:
    linear-gradient(rgba(143, 176, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 176, 232, 0.06) 1px, transparent 1px);
}

html[data-theme="dark"][data-tech="on"] body::after {
  background:
    radial-gradient(640px 420px at 88% -6%, rgba(77, 128, 232, 0.22), transparent 65%),
    radial-gradient(520px 380px at -8% 34%, rgba(217, 164, 25, 0.10), transparent 65%),
    radial-gradient(700px 460px at 50% 108%, rgba(77, 128, 232, 0.14), transparent 70%);
}

html[data-theme="dark"] .site-header {
  background: rgba(6, 15, 36, 0.82);
  border-bottom-color: var(--c-line-soft);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .panel {
  background: rgba(15, 36, 80, 0.72);
  border-color: var(--c-line-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .page-head {
  background:
    radial-gradient(900px 460px at 90% -12%, rgba(77, 128, 232, 0.20), transparent 60%),
    linear-gradient(180deg, #0b1b3d 0%, #08122b 100%);
}

html[data-theme="dark"] .hero::before {
  background-image: radial-gradient(rgba(143, 176, 232, 0.10) 1px, transparent 1px);
}

html[data-theme="dark"] .float-card {
  background: rgba(11, 27, 61, 0.92);
  border-color: var(--c-line-soft);
}

html[data-theme="dark"] .float-card__text strong { color: var(--c-ink-900); }
html[data-theme="dark"] .float-card__text small { color: var(--c-ink-500); }
html[data-theme="dark"] .float-card svg { color: var(--c-ink-400); }

html[data-theme="dark"] .eyebrow--pill {
  background: rgba(15, 36, 80, 0.8);
  border-color: var(--c-line-soft);
}

html[data-theme="dark"] .main-nav__link:hover { background: var(--c-surface-3); color: #fff; }

html[data-theme="dark"] .main-nav__link[aria-current="page"] {
  color: var(--c-gold-300);
  background: linear-gradient(135deg, #2a2410, #1b3468);
  box-shadow: inset 0 0 0 1px var(--c-gold-100);
}

html[data-theme="dark"] .theme-toggle {
  background: var(--c-surface-2);
  border-color: var(--c-line);
  color: var(--c-gold-300);
}

html[data-theme="dark"] .theme-toggle:hover { background: var(--c-surface-3); }

html[data-theme="dark"] .btn--secondary,
html[data-theme="dark"] .btn--ghost {
  --btn-bg: var(--c-surface-2);
  --btn-fg: var(--c-ink-900);
  --btn-border: var(--c-line);
}

html[data-theme="dark"] .section--muted { background: rgba(11, 27, 61, 0.55); }

html[data-theme="dark"] .section--navy { border-block: 1px solid var(--c-line-soft); }

html[data-theme="dark"] .cta-band { box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8); }

html[data-theme="dark"] .hero__photo { border-color: rgba(143, 176, 232, 0.25); }

html[data-theme="dark"] .about-split__media img { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75); }

html[data-theme="dark"] input[type="text"], html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="tel"], html[data-theme="dark"] input[type="url"],
html[data-theme="dark"] input[type="password"], html[data-theme="dark"] input[type="search"],
html[data-theme="dark"] input[type="number"], html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] select, html[data-theme="dark"] textarea {
  background: #0b1b3d;
  color: var(--c-ink-900);
}

html[data-theme="dark"] .field__hint { color: var(--c-ink-500); }

/* Toggle icon per current theme: blue shows sun (next: white), white shows
   moon (next: dark), dark shows sparkles (next: blue). */
html[data-theme="blue"] .theme-toggle__icon--moon,
html[data-theme="blue"] .theme-toggle__icon--next,
html[data-theme="light"] .theme-toggle__icon--sun,
html[data-theme="light"] .theme-toggle__icon--next,
html[data-theme="dark"] .theme-toggle__icon--sun,
html[data-theme="dark"] .theme-toggle__icon--moon { display: none; }

/* ===========================================================================
   18. Contact page — navy info rail + steps
   =========================================================================== */

.contact-side__panel {
  background:
    radial-gradient(420px 220px at 110% -10%, rgba(217, 164, 25, 0.22), transparent 60%),
    linear-gradient(160deg, var(--c-navy-800), var(--c-navy-900) 70%);
  border: 1px solid var(--c-navy-700);
  color: #e2e8f0;
}

.contact-side__title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-base);
  color: #fff;
  margin-bottom: var(--sp-5);
}

.contact-side__title svg { width: 18px; height: 18px; color: var(--c-gold-400); }

.contact-side__panel .footer-contact { color: #dbe6f7; }
.contact-side__panel .footer-contact svg { color: var(--c-gold-400); }
.contact-side__panel .footer-contact .small { color: #9fb3d8; }
.contact-side__panel a { color: #fff; }
.contact-side__panel a:hover { color: var(--c-gold-300); }
.contact-side__panel .divider { border-color: rgba(255, 255, 255, 0.16); }

.contact-steps ol {
  display: grid;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.contact-steps ol li {
  position: relative;
  counter-increment: step;
  padding: 10px 12px 10px 44px;
  border: 1px solid var(--c-line-soft);
  border-radius: 12px;
  background: var(--c-surface-2);
  font-size: var(--fs-sm);
  color: var(--c-ink-600);
}

.contact-steps ol li::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 50%;
  translate: 0 -50%;
  inline-size: 24px;
  block-size: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--c-blue-50);
  color: var(--c-blue-600);
  font-size: var(--fs-xs);
  font-weight: 800;
}

html[data-theme="dark"] .contact-steps ol li { background: var(--c-surface-2); }

/* ===========================================================================
   19. About page — split + mini grid
   =========================================================================== */

.about-split--page { align-items: start; }
.about-split--page .rich { font-size: var(--fs-md); }
.about-minis { margin-top: var(--sp-6); }

@media (max-width: 900px) {
  .contact-side__panel { order: -1; }
}

/* ===========================================================================
   20. Panel component for public pages (contact form card etc.)
   =========================================================================== */

.panel {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -38px rgba(13, 43, 99, 0.35);
  overflow: hidden;
}

.panel + .panel { margin-top: var(--sp-5); }

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--c-line-soft);
  background: var(--c-surface-2);
}

.panel__title { font-size: var(--fs-xl); font-weight: 800; color: var(--c-ink-900); }
.panel__sub { font-size: var(--fs-sm); color: var(--c-ink-500); margin-top: 3px; }
.panel__body { padding: var(--sp-6); }

html[data-theme="blue"] .panel { background: rgba(255, 255, 255, 0.92); }
html[data-theme="dark"] .panel__head { background: var(--c-surface-3); }

/* Brand wordmark must stay legible on the dark navy surface. */
html[data-theme="dark"] .brand__name { color: #ffffff; }
html[data-theme="dark"] .brand__tag { color: var(--c-ink-500); }
html[data-theme="dark"] .site-footer { border-top: 1px solid var(--c-line-soft); }

/* ===========================================================================
   21. Polish pass — reveal motion, hover lift, heading accents, city links
   =========================================================================== */

/* Scroll reveal: hidden only when JS has run (the .js class gate), so no-JS
   visitors and crawlers always see the content. */
.js [data-reveal] {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.55s var(--ease, ease), translate 0.55s var(--ease, ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* Card hover lift + icon response. */
.card { transition: transform 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease), border-color 0.25s var(--ease, ease); }

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px -34px rgba(13, 43, 99, 0.45);
  border-color: var(--c-blue-100);
}

html[data-theme="dark"] .card:hover { border-color: var(--c-line); }

.card:hover .card__icon { transform: scale(1.06) rotate(-2deg); }
.card__icon { transition: transform 0.25s var(--ease, ease); }

/* Section heading accent underline (gold swoosh, echoes the logo). */
.section-head h2,
.page-head h1 {
  position: relative;
  display: inline-block;
}

.section-head h2::after,
.page-head h1::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -10px;
  inline-size: 74px;
  block-size: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-gold-500), var(--c-gold-300) 60%, transparent);
}

.section-head--center h2::after { left: 50%; translate: -50% 0; }

/* Button shine sweep on hover. */
.btn { position: relative; overflow: hidden; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  translate: -120% 0;
  transition: translate 0.6s ease;
  pointer-events: none;
}

.btn:hover::after { translate: 120% 0; }

/* City internal-link strip under the home services grid. */
.city-links {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-ink-500);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.city-links svg { width: 14px; height: 14px; color: var(--c-gold-600); }

.city-links a { font-weight: 600; color: var(--c-blue-600); }
.city-links a:hover { color: var(--c-blue-500); }

/* Footer: gold hairline above the columns. */
.site-footer { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--c-gold-500), var(--c-blue-500), transparent) 1; }

/* Selection + scrollbar niceties. */
::selection { background: var(--c-gold-300); color: var(--c-navy-900); }

html[data-theme="dark"] ::selection { background: var(--c-gold-600); color: #08122b; }

@media (prefers-reduced-motion: no-preference) {
  * { scrollbar-color: var(--c-blue-400) transparent; }
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--c-blue-400); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ===========================================================================
   22. Services mega menu
   =========================================================================== */

.has-mega { display: inline-flex; align-items: center; gap: 2px; }

.mega-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 22px;
  block-size: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--c-ink-500);
  cursor: pointer;
}

.mega-toggle svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform 0.2s ease; }
.mega-toggle:hover { background: var(--c-surface-3); color: var(--c-blue-600); }
[data-mega-open] .mega-toggle svg { transform: rotate(-90deg); }

.mega {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 40;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 40px 80px -40px rgba(13, 43, 99, 0.45);
  animation: mega-in 0.22s ease;
}

[data-mega-open] .mega { display: block; }

@keyframes mega-in {
  from { opacity: 0; translate: 0 -8px; }
  to   { opacity: 1; translate: 0 0; }
}

html[data-theme="blue"] .mega { background: rgba(255, 255, 255, 0.97); }
html[data-theme="dark"] .mega { background: #0b1b3d; }

.mega__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
  padding-block: var(--sp-7);
}

.mega__col--tint {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line-soft);
  border-radius: 14px;
  padding: var(--sp-4);
}

.mega__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-500);
  margin: 0 0 var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-line-soft);
}

.mega__heading a { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.mega__heading a:hover { color: var(--c-blue-600); }
.mega__heading svg { width: 13px; height: 13px; }

.mega__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 8px;
  border-radius: 10px;
  color: inherit;
}

.mega__item:hover { background: var(--c-surface-3); text-decoration: none; }

.mega__icon {
  flex: none;
  inline-size: 38px;
  block-size: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--c-blue-50);
  color: var(--c-blue-600);
}

.mega__icon svg { width: 17px; height: 17px; }

.mega__item strong { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink-900); }
.mega__item small { display: block; font-size: 12px; color: var(--c-ink-500); margin-top: 2px; }

.mega__foot { border-top: 1px solid var(--c-line-soft); background: var(--c-surface-2); }

.mega__foot-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding-block: var(--sp-3);
}

.mega__foot-link {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--c-ink-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega__foot-link:hover { color: var(--c-blue-600); }
.mega__foot-link svg { width: 13px; height: 13px; }

.mega__esc {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-400);
}

@media (max-width: 900px) {
  .mega, .mega-toggle { display: none !important; }
}

/* ===========================================================================
   23. WhatsApp float — professional pill with pulse + label reveal
   =========================================================================== */

.whatsapp-float {
  background: linear-gradient(135deg, #25d366, #128c4b);
  box-shadow: 0 16px 36px -14px rgba(18, 140, 75, 0.55);
  animation: wa-in 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s both;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float span {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
  margin-left: 0;
}

.whatsapp-float:hover span,
.whatsapp-float:focus-visible span {
  max-width: 120px;
  opacity: 1;
  margin-left: 8px;
}

.whatsapp-float:hover { transform: translateY(-3px); }

@keyframes wa-pulse {
  0%   { transform: scale(0.92); opacity: 0.9; }
  70%  { transform: scale(1.16); opacity: 0; }
  100% { transform: scale(1.16); opacity: 0; }
}

@keyframes wa-in {
  from { opacity: 0; transform: translateY(18px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===========================================================================
   24. Footer social chips + contact chips + post polish
   =========================================================================== */

.footer-social a {
  inline-size: 38px;
  block-size: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbe6f7;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: var(--c-gold-500);
  border-color: var(--c-gold-500);
  color: var(--c-navy-900);
  transform: translateY(-3px);
}

.footer-social a svg { width: 17px; height: 17px; }

.contact-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  color: inherit;
  box-shadow: 0 14px 34px -24px rgba(13, 43, 99, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-chip:hover {
  transform: translateY(-3px);
  border-color: var(--c-blue-100);
  text-decoration: none;
}

.contact-chip strong { display: block; font-size: var(--fs-sm); color: var(--c-ink-900); }
.contact-chip small { display: block; font-size: 12px; color: var(--c-ink-500); }

html[data-theme="blue"] .contact-chip { background: rgba(255, 255, 255, 0.9); }
html[data-theme="dark"] .contact-chip { background: var(--c-surface); }

.post-media {
  margin-bottom: var(--sp-10);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 34px 70px -40px rgba(13, 43, 99, 0.5);
}

.post-media img { display: block; }

.share-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  padding: var(--sp-4);
  border: 1px dashed var(--c-line);
  border-radius: 14px;
  background: var(--c-surface-2);
}

.share-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-500);
  margin-right: auto;
}

.share-bar__label svg { width: 14px; height: 14px; }

.container--narrow .rich { font-size: var(--fs-md); }

/* ===========================================================================
   24. UI refresh (v2) — layout fixes and new components
   =========================================================================== */

/* <picture> wrappers must not change the layout of the <img> inside. */
.hero__stage picture,
.about-split__media picture,
.brand picture,
.footer-brand picture { display: contents; }

/* Section heads: eyebrow always sits on its own line above the heading
   (the heading is inline-block for the gold underline, which used to pull
   the eyebrow onto the same line). */
.section-head .eyebrow { display: block; }
.section-head--center .eyebrow { text-align: center; }
.section-head h2 { margin-bottom: var(--sp-5); }
.section-head p { margin-top: var(--sp-2); }

/* Header gains depth once the page scrolls. */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(11, 27, 61, .22); }

/* Hero: inline WhatsApp link instead of a third, wrapping button. */
.hero__actions { flex-wrap: wrap; }
.hero__wa { margin: var(--sp-4) 0 0; font-size: var(--fs-sm); }
.hero__wa a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-ink-600);
  text-decoration: none;
}
.hero__wa a:hover { color: var(--c-ink-900); text-decoration: none; }
.hero__wa a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hero__wa strong { color: #128c7e; font-weight: 700; }
.hero__wa-icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  flex: none;
  box-shadow: 0 6px 14px -6px rgba(18, 140, 126, .6);
}
.hero__wa-icon svg { width: 16px; height: 16px; }
html[data-theme="dark"] .hero__wa strong { color: #4ade80; }

/* Process steps. */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
  counter-reset: step;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed var(--c-blue-100);
  z-index: 0;
}
.process__step {
  position: relative;
  z-index: 1;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.process__step:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--c-blue-100); }
.process__num {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-6);
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1;
  color: var(--c-blue-100);
  letter-spacing: -.02em;
}
.process__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-navy-800), var(--c-blue-500));
  color: #fff;
  margin-bottom: var(--sp-4);
  box-shadow: 0 10px 20px -10px rgba(18, 60, 140, .6);
}
.process__icon svg { width: 22px; height: 22px; }
.process__title { font-size: var(--fs-base); margin: 0 0 var(--sp-2); }
.process__text { font-size: var(--fs-sm); color: var(--c-ink-600); margin: 0; }

/* Services: centred wrap so a last row with 1–2 cards never looks orphaned. */
.grid--services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-6);
}
.grid--services > * { flex: 0 1 calc((100% - 2 * var(--sp-6)) / 3); }
.grid--services-4 > * { flex-basis: calc((100% - 3 * var(--sp-6)) / 4); }
.card--link { display: flex; flex-direction: column; }
.card__more { color: var(--c-blue-600); font-weight: 600; font-size: var(--fs-sm); }
.card--link .card__foot svg { width: 18px; height: 18px; color: var(--c-blue-600); transition: transform .2s ease; }
.card--link:hover .card__foot svg { transform: translateX(4px); }
.card__title--sm { font-size: var(--fs-base); }

/* Portfolio card without an image: branded placeholder instead of nothing. */
.card__media--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 185, 58, .35), transparent 45%),
    linear-gradient(135deg, var(--c-navy-900), var(--c-blue-500));
  color: rgba(255, 255, 255, .85);
}
.card__media--placeholder svg { width: 40px; height: 40px; }

/* Benefits get a subtle top accent. */
.card--benefit { border-top: 3px solid var(--c-gold-400); }

/* Navy band helpers (replace inline styles). */
.grid--center { align-items: center; }
.on-navy-muted { color: #cbd5e1; }
.check-list--on-navy li { color: #e2e8f0; }

.faq-list--center { margin-inline: auto; }

/* Back-to-top button. */
.to-top {
  position: fixed;
  left: var(--sp-6);
  bottom: var(--sp-6);
  z-index: 89;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-navy-800);
  box-shadow: var(--sh-lg);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--c-blue-500); }
html[data-theme="dark"] .to-top { color: #fff; }

/* Floating WhatsApp waits below the fold on small screens, where it used
   to sit on top of the hero content. */
@media (max-width: 860px) {
  .whatsapp-float { right: var(--sp-4); bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px)); }
  .whatsapp-float.is-parked { animation: none; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
  .whatsapp-float.is-parked::before { animation: none; }
  .whatsapp-float { transition: opacity .3s ease, transform .3s ease; }
  .to-top { left: var(--sp-4); bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process::before { display: none; }
  .grid--services-4 > * { flex-basis: calc((100% - 2 * var(--sp-6)) / 3); }
}

@media (max-width: 860px) {
  .grid--services > *,
  .grid--services-4 > * { flex-basis: calc((100% - var(--sp-6)) / 2); }
}

@media (max-width: 640px) {
  .process { grid-template-columns: 1fr; gap: var(--sp-4); }
  .grid--services > *,
  .grid--services-4 > * { flex-basis: 100%; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }

  /* Compact icon-left cards so long lists do not become endless scrolls. */
  .card--benefit,
  .process__step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: var(--sp-4);
    padding: var(--sp-5);
  }
  .card--benefit .card__icon,
  .process__icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .card--benefit .card__title,
  .process__title { align-self: end; margin-bottom: var(--sp-1); }
  .card--benefit .card__text,
  .process__text { grid-column: 2; }
  .process__num { top: var(--sp-4); right: var(--sp-5); font-size: var(--fs-xl); }
  .grid--3:has(> .card--benefit) { gap: var(--sp-4); }
  .section-head { margin-bottom: var(--sp-8); }
}

@media (prefers-reduced-motion: reduce) {
  .process__step:hover { transform: none; }
}

/* Page heads: eyebrow on its own line above the H1 (same fix as sections). */
.page-head .eyebrow { display: block; }

/* Two-column lists with an odd count: centre the last card. */
@media (min-width: 641px) {
  .grid--2.grid--balance > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - var(--sp-3));
  }
}

/* ===========================================================================
   25. v3 — navy header, editorial hero, service strip
   Selectors are prefixed with html[data-theme] where needed so they win over
   the theme layers above in every theme.
   =========================================================================== */

:root { --header-h: 84px; --c-gold-grad: linear-gradient(100deg, #f2cf6b 0%, #d9a419 45%, #b8860b 100%); }

/* ---- Header ---- */
html[data-theme] .site-header {
  /* Must stay above <main>: the blue theme's "position: relative; z-index: 1"
     put the header level with the page, so the open mobile menu was painted
     underneath the hero and looked like it never opened. */
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #0b2152 0%, #0a1d47 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: none;
  backdrop-filter: none;
}
html[data-theme] .site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(4, 12, 32, .55); }

html[data-theme] .site-header .brand__name { color: #fff; font-size: 1.35rem; letter-spacing: -.01em; }
html[data-theme] .site-header .brand__tag { color: rgba(226, 232, 255, .78); font-size: var(--fs-sm); }
html[data-theme] .site-header .brand__logo {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 0 0 2px rgba(242, 207, 107, .55), 0 8px 18px rgba(0, 0, 0, .35);
  filter: none;
}

html[data-theme] .site-header .main-nav__list { gap: var(--sp-2); }
html[data-theme] .site-header .main-nav__link {
  position: relative;
  color: rgba(255, 255, 255, .9);
  background: transparent;
  box-shadow: none;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  padding: .6rem .7rem;
}
html[data-theme] .site-header .main-nav__link::after {
  content: "";
  position: absolute;
  left: .7rem; right: .7rem; bottom: .15rem;
  height: 3px;
  border-radius: 3px;
  background: var(--c-gold-grad);
  transform: scaleX(0);
  transition: transform .25s ease;
}
html[data-theme] .site-header .main-nav__link:hover { color: #fff; background: transparent; }
html[data-theme] .site-header .main-nav__link:hover::after { transform: scaleX(.6); }
html[data-theme] .site-header .main-nav__link[aria-current="page"] { color: #f2cf6b; font-weight: var(--fw-semi); background: transparent; box-shadow: none; }
html[data-theme] .site-header .main-nav__link[aria-current="page"]::after { transform: scaleX(1); }
html[data-theme] .site-header .mega-toggle { color: rgba(255, 255, 255, .75); }

html[data-theme] .site-header .theme-toggle {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
}
html[data-theme] .site-header .theme-toggle:hover { border-color: #f2cf6b; color: #f2cf6b; }

.btn--pill { border-radius: 999px; }
.btn--gold {
  --btn-bg: var(--c-gold-grad);
  --btn-fg: #0b1b3d;
  --btn-sh: 0 8px 20px -6px rgba(217, 164, 25, .6);
  font-weight: var(--fw-bold);
}
.btn--gold:hover { --btn-bg: linear-gradient(100deg, #f5d77e, #e0ac1f 55%, #c4900e); color: #0b1b3d; }
.header-cta { padding: .8rem 1.4rem; font-size: var(--fs-sm); }
.header-cta svg { width: 16px; height: 16px; }

.nav-toggle { border-color: rgba(255, 255, 255, .35); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { background: #fff; }

@media (max-width: 860px) {
  :root { --header-h: 70px; }
  html[data-theme] .site-header .brand__logo { width: 44px; height: 44px; }
  html[data-theme] .site-header .brand__name { font-size: 1.1rem; }
  html[data-theme] .site-header .brand__tag { font-size: var(--fs-xs); }
  html[data-theme] .site-header .main-nav { background: #0a1d47; border-color: rgba(255, 255, 255, .08); }
  html[data-theme] .site-header .main-nav__link::after { left: 1rem; right: auto; width: 28px; bottom: .35rem; }
  html[data-theme] .site-header .theme-toggle { width: 40px; height: 40px; }
}
@media (max-width: 420px) {
  html[data-theme] .site-header .brand__tag { display: none; }
}

/* ---- Hero ---- */
.text-gold {
  background: var(--c-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero--v3 {
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(700px 380px at -10% 10%, rgba(217, 164, 25, .08), transparent 60%),
    linear-gradient(180deg, #f6f8fd 0%, #ffffff 100%);
}
.hero--v3::before { display: none; }
.hero--v3 .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--v3 .hero__copy { max-width: 640px; position: relative; z-index: 2; }
.hero--v3 h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: #0b1f4d;
  margin: var(--sp-5) 0 var(--sp-6);
}
.hero--v3 .lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 32em; }
.hero--v3 .eyebrow--pill { font-size: var(--fs-sm); padding: .55rem 1.1rem; }

.hero__art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 1000px);
  z-index: 1;
  pointer-events: none;
}
.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 38%);
}
.hero__script {
  position: absolute;
  top: 9%;
  right: 4%;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  color: #0b1f4d;
  transform: rotate(-12deg);
  text-shadow: 0 2px 12px rgba(255, 255, 255, .9);
}
.hero__script::after {
  content: "";
  display: block;
  width: 70%;
  height: 4px;
  margin: .3rem 0 0 18%;
  border-radius: 4px;
  background: var(--c-gold-grad);
  transform: rotate(-4deg);
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: #0b1f4d;
  --btn-border: rgba(11, 31, 77, .08);
  --btn-sh: 0 10px 26px -12px rgba(11, 31, 77, .35);
}
.btn--white:hover { --btn-bg: #f5f8ff; color: #0b1f4d; }
.hero--v3 .btn--lg { padding: 1.05rem 2.1rem; font-size: var(--fs-md); }
.hero--v3 .btn--lg:not(.btn--white) { --btn-bg: linear-gradient(135deg, #0f2a68, #0a1d47); }

.hero__features {
  list-style: none;
  margin: var(--sp-10) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) 0;
}
.hero__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: var(--sp-5);
  border-left: 1px solid var(--c-line);
}
.hero__features li:first-child { padding-left: 0; border-left: 0; }
.hero__feature-icon {
  width: 50px; height: 50px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-gold-50);
  box-shadow: inset 0 0 0 1px var(--c-gold-100);
  color: #0b1f4d;
}
.hero__feature-icon svg { width: 22px; height: 22px; }
.hero__features strong { display: block; font-size: var(--fs-sm); color: #0b1f4d; }
.hero__features small { display: block; font-size: var(--fs-xs); color: var(--c-ink-500); }
.hero--v3 .hero__wa { margin-top: var(--sp-6); }

@media (max-width: 1024px) {
  .hero__art {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(220px, 48vw, 420px);
    margin-bottom: var(--sp-8);
    order: -1;
  }
  .hero__art img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero--v3 { display: flex; flex-direction: column; padding-top: 0; }
  .hero--v3 .hero__copy { max-width: none; }
}
@media (max-width: 640px) {
  .hero__features { flex-direction: column; }
  .hero__features li { padding-left: 0; border-left: 0; }
  .hero__script { font-size: 1.5rem; top: 6%; }
}

/* ---- Service strip ---- */
.service-strip {
  position: relative;
  background: #fff;
  border-top: 1px solid var(--c-line-soft);
  box-shadow: 0 -20px 40px -30px rgba(11, 31, 77, .25);
  padding-block: var(--sp-10);
  overflow: hidden;
  z-index: 2;
}
.service-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.service-strip__list li + li { border-left: 1px solid var(--c-line); }
.service-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: var(--sp-2) var(--sp-4);
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.service-strip__item:hover { text-decoration: none; }
.service-strip__icon {
  color: #0b1f4d;
  margin-bottom: var(--sp-2);
  transition: transform .25s ease, color .25s ease;
}
.service-strip__icon svg { width: 38px; height: 38px; stroke-width: 1.5; }
.service-strip__item:hover .service-strip__icon { transform: translateY(-4px); color: var(--c-gold-600); }
.service-strip__item strong { font-size: var(--fs-base); color: #0b1f4d; }
.service-strip__item small { font-size: var(--fs-sm); color: var(--c-ink-500); max-width: 16ch; line-height: 1.5; }
.service-strip__swoosh {
  position: absolute;
  left: -6%;
  bottom: -64px;
  width: 42%;
  height: 110px;
  border-radius: 50%;
  border-top: 10px solid #e0ac1f;
  background: #0b1f4d;
  transform: rotate(-4deg);
  pointer-events: none;
}
@media (max-width: 1024px) {
  .service-strip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--sp-8); }
  .service-strip__list li:nth-child(3n + 1) { border-left: 0; }
}
@media (max-width: 560px) {
  .service-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-strip__list li { border-left: 0 !important; }
  .service-strip__swoosh { display: none; }
}

/* ---- Dark theme adjustments for the new pieces ---- */
html[data-theme="dark"] .hero--v3 { background: linear-gradient(180deg, #0b1b3d, #0a1733); }
html[data-theme="dark"] .hero--v3 h1,
html[data-theme="dark"] .hero__features strong,
html[data-theme="dark"] .service-strip__item strong,
html[data-theme="dark"] .service-strip__icon { color: #eef4ff; }
html[data-theme="dark"] .hero__script { color: #eef4ff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
html[data-theme="dark"] .hero__feature-icon { background: #132b5e; color: #f2cf6b; box-shadow: none; }
html[data-theme="dark"] .service-strip { background: #0f2450; border-color: #26437f; }
html[data-theme="dark"] .hero__art img { opacity: .9; }

/* v3 tuning */
html[data-theme] .site-header .main-nav__link { white-space: nowrap; font-size: .95rem; padding-inline: .55rem; }
html[data-theme] .site-header .main-nav__link::after { left: .55rem; right: .55rem; }
html[data-theme] .site-header .main-nav__list { gap: 2px; }
html[data-theme] .site-header .brand__tag,
html[data-theme] .site-header .brand__name { white-space: nowrap; }
.site-header__inner { gap: var(--sp-4); }
.hero__art { width: min(56%, 940px); }
.hero__art img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 22%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 22%, #000 46%);
}
.hero--v3 .hero__copy { max-width: 700px; }
.hero--v3 h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); max-width: 13.5em; }
.hero--v3 .lead { max-width: 30em; }
.hero__features { flex-wrap: nowrap; }
.hero__features li { padding-inline: var(--sp-4); }
.hero__features strong, .hero__features small { white-space: nowrap; }
@media (max-width: 1240px) {
  .hero__features { flex-wrap: wrap; }
  html[data-theme] .site-header .brand__tag { display: none; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .hero__art { width: 50%; }
  .hero--v3 .hero__copy { max-width: 560px; }
}
.hero--v3 .hero__copy::before {
  content: "";
  position: absolute;
  inset: -12% -18% -12% -40%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .92), rgba(255, 255, 255, .6) 60%, transparent);
  pointer-events: none;
}
html[data-theme="dark"] .hero--v3 .hero__copy::before { background: radial-gradient(closest-side, rgba(11, 27, 61, .9), rgba(11, 27, 61, .5) 60%, transparent); }
@media (max-width: 1024px) {
  .hero__art { width: 100%; }
  .hero__art img { object-position: 60% 50%; }
}
@media (max-width: 640px) {
  .hero__script { display: none; }
  .hero__features li { padding-inline: 0 !important; border-left: 0 !important; }
  .hero--v3 .eyebrow--pill { font-size: .68rem; letter-spacing: .08em; padding: .45rem .8rem; }
  .hero--v3 .btn--lg { padding: .95rem 1.4rem; }
}

/* ---- v3 footer ---- */
.site-footer--v3 {
  position: relative;
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(217, 164, 25, .10), transparent 70%),
    radial-gradient(700px 320px at 0% 100%, rgba(26, 75, 171, .25), transparent 70%),
    linear-gradient(180deg, #0b1f4d 0%, #071533 100%);
  color: #b9c6e4;
  padding-block: var(--sp-16) var(--sp-6);
  border-top: 0;
  border-image: none;
}
.site-footer--v3::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #b8860b, #f2cf6b 35%, #1a4bab 70%, transparent);
}
.footer-grid--v3 {
  grid-template-columns: 1.5fr .9fr 1.2fr 1.3fr;
  gap: var(--sp-10);
  border-bottom: 1px solid rgba(185, 198, 228, .14);
}
.site-footer--v3 .footer-title {
  position: relative;
  color: #fff;
  font-size: var(--fs-base);
  letter-spacing: .02em;
  text-transform: none;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
}
.site-footer--v3 .footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--c-gold-grad);
}
.site-footer--v3 a { color: #d6def2; transition: color .2s ease; }
.site-footer--v3 a:hover { color: #f2cf6b; text-decoration: none; }
.site-footer--v3 .brand__name { color: #fff; font-size: 1.25rem; }
.site-footer--v3 .brand__tag { color: #9fb0d6; }
.site-footer--v3 .brand__logo { width: 52px; height: 52px; border-radius: 50%; }
.footer-about { margin: var(--sp-5) 0 var(--sp-6); max-width: 34em; line-height: 1.7; }
.footer-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.footer-actions .btn svg { width: 15px; height: 15px; }
.site-footer--v3 .footer-social { margin-top: var(--sp-6); }
.site-footer--v3 .footer-list li + li { margin-top: var(--sp-3); }
.site-footer--v3 .footer-list a { position: relative; display: inline-block; transition: color .2s ease, transform .2s ease; }
.site-footer--v3 .footer-list a:hover { transform: translateX(4px); }

.footer-contact--plain { margin: 0; display: grid; gap: var(--sp-4); }
.footer-contact--plain dt {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #f2cf6b;
  font-weight: var(--fw-semi);
  margin-bottom: 2px;
}
.footer-contact--plain dd { margin: 0; color: #e2e8f8; }
.footer-cities { margin-top: var(--sp-5); font-size: var(--fs-sm); color: #9fb0d6; }

.footer-bottom--v3 {
  align-items: center;
  padding-top: var(--sp-6);
  color: #8fa0c8;
}
.footer-bottom--v3 p { margin: 0; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); }
.footer-legal a { color: #b9c6e4; font-size: var(--fs-xs); }

@media (max-width: 1024px) {
  .footer-grid--v3 { grid-template-columns: 1fr 1fr; }
  .footer-grid--v3 .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid--v3 { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom--v3 { flex-direction: column; align-items: flex-start; }
}
html[data-theme] .site-footer--v3 { color: #b9c6e4; }
.site-footer--v3 .btn--gold, .site-footer--v3 .btn--gold:hover { color: #0b1b3d; }
.site-footer--v3 .btn--outline-navy { color: #fff; }
@media (max-width: 640px) {
  .footer-grid--v3 { grid-template-columns: 1fr 1fr; gap: var(--sp-8) var(--sp-5); }
  .footer-grid--v3 > :first-child,
  .footer-grid--v3 > :last-child { grid-column: 1 / -1; }
  .site-footer--v3 .footer-list a { font-size: var(--fs-sm); }
}

/* ---- v3 content cards ---- */
.card--post .card__body { display: flex; flex-direction: column; flex: 1; }
.card--post .card__foot { margin-top: var(--sp-4); }
.card--flush .card__media img { transition: transform .5s ease; }
.card--flush:hover .card__media img { transform: scale(1.04); }
.post-card--media { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: var(--sp-6); align-items: start; }
.post-card__media { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: var(--c-surface-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
@media (max-width: 760px) { .post-card--media { grid-template-columns: 1fr; } }
.service-strip__swoosh { width: 30%; height: 90px; bottom: -70px; left: -8%; }

/* Two-column content + sidebar layout used by the blog and portfolio pages.
   It was only defined in admin.css, so the public sidebars stacked below. */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sp-8); align-items: start; }
.form-main, .form-side { min-width: 0; }
.form-side { position: sticky; top: calc(var(--header-h) + var(--sp-4)); display: grid; gap: var(--sp-4); }
.post-card--media { grid-template-columns: minmax(0, 240px) 1fr; }
@media (max-width: 1024px) {
  .form-layout { grid-template-columns: 1fr; }
  .form-side { position: static; }
}
.form-side .panel + .panel { margin-top: 0; }

/* Filter chips (portfolio categories, blog categories and tags). Used by the
   public views but previously only styled in the admin stylesheet. */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-ink-700);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--c-blue-500); color: var(--c-blue-600); text-decoration: none; }
.chip--active, .chip--active:hover { background: #0b1f4d; border-color: #0b1f4d; color: #fff; }
.chip__count {
  min-width: 22px; height: 22px;
  padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: var(--c-surface-3);
  color: var(--c-ink-600);
  font-size: 11px;
}
.chip--active .chip__count { background: rgba(255, 255, 255, .18); color: #fff; }
html[data-theme="dark"] .chip--active { background: #f2cf6b; border-color: #f2cf6b; color: #0b1b3d; }

/* ===========================================================================
   26. Accessibility fixes (v4)
   =========================================================================== */

/* Small gold labels on light backgrounds measured 3.1–3.3:1. Darker gold
   passes WCAG AA (4.9:1). Navy sections keep their brighter gold. */
html[data-theme="blue"] .eyebrow,
html[data-theme="light"] .eyebrow { color: #96690a; }
html[data-theme="blue"] .section--navy .eyebrow,
html[data-theme="light"] .section--navy .eyebrow { color: var(--c-gold-300); }

/* Gold heading highlight: large text needs 3:1; the light end of the old
   gradient was 1.6:1 on white. */
html[data-theme="blue"] .text-gold,
html[data-theme="light"] .text-gold { background: linear-gradient(100deg, #c4900e 0%, #b8860b 45%, #8a5f05 100%); -webkit-background-clip: text; background-clip: text; }

.hero__wa strong { color: #0e7a6e; }

/* Visible keyboard focus on the navy header and footer (the default blue
   outline disappears against navy). */
.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible,
.site-footer button:focus-visible {
  outline: 3px solid #f2cf6b;
  outline-offset: 3px;
  border-radius: 6px;
}
.service-strip__item:focus-visible,
.card--link:focus-visible { outline: 3px solid var(--c-blue-500); outline-offset: 3px; }

/* Touch targets: at least 44px for the main interactive controls on phones. */
@media (max-width: 860px) {
  .nav-toggle, .theme-toggle { min-width: 44px; min-height: 44px; }
  .main-nav__link { min-height: 44px; display: flex; align-items: center; }
  .site-footer--v3 .footer-list a,
  .footer-legal a { display: inline-block; padding-block: 6px; }
  .field input, .field select, .field textarea { font-size: 16px; } /* stops iOS zoom-on-focus */
}

/* Field error text written by the contact form script. */
.field-error { color: var(--c-danger); font-size: var(--fs-sm); margin: 6px 0 0; }
[aria-invalid="true"] { border-color: var(--c-danger) !important; }

/* ---- Responsive fixes (v4, measured at 320–1920px) ---- */

/* `1fr` columns grow to their content's min-content width, so a long word or
   a table pushed cards past the screen edge on phones (/products at 375px,
   /about at 320px). minmax(0, 1fr) lets them shrink. */
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}
.grid > *, .form-main, .about-split > * { min-width: 0; }
.card, .rich, .lead { overflow-wrap: break-word; }
.table-wrap { max-width: 100%; }

/* Header between tablet and small laptop: the full menu + CTA + toggle did
   not fit at 1024px. Tighten spacing and drop the theme toggle there. */
@media (min-width: 861px) and (max-width: 1180px) {
  html[data-theme] .site-header .main-nav__link { font-size: .875rem; padding-inline: .4rem; }
  html[data-theme] .site-header .main-nav__link::after { left: .4rem; right: .4rem; }
  html[data-theme] .site-header .brand__name { font-size: 1.1rem; }
  html[data-theme] .site-header .brand__logo { width: 44px; height: 44px; }
  .site-header .theme-toggle { display: none; }
  .header-cta { padding: .65rem 1rem; }
  .site-header__inner { gap: var(--sp-3); }
}

/* Very small phones (320px): brand + menu + toggle must fit on one row. */
@media (max-width: 380px) {
  html[data-theme] .site-header .brand__name { font-size: 1rem; }
  html[data-theme] .site-header .brand__logo { width: 38px; height: 38px; }
  .site-header__inner { gap: var(--sp-2); }
  .header-actions { gap: var(--sp-2); }
}

/* Small buttons are fine with a mouse but too small for a thumb. */
@media (max-width: 860px) {
  .btn--sm { min-height: 40px; padding-inline: 1rem; }
}

/* ===========================================================================
   26. v4.1 — navy hero, tighter vertical rhythm
   =========================================================================== */

/* ---- Spacing: sections were 80px top + 80px bottom (160px between
   blocks) with a 48px heading gap. Tightened across the whole site. ---- */
:root { --section-y: 3.5rem; --section-y-sm: 2.5rem; }
.section-head { margin-bottom: var(--sp-8); }
.section-head h2 { margin-bottom: var(--sp-3); }
.page-head { padding-block: var(--sp-10) var(--sp-8); }
.service-strip { padding-block: var(--sp-6); }
@media (max-width: 860px) {
  :root { --section-y: 2.75rem; }
}
@media (max-width: 640px) {
  .section { padding-block: 2.25rem; }
  .section--tight { padding-block: var(--sp-8); }
  .section-head { margin-bottom: var(--sp-6); }
}

/* ---- Hero ---- */
html[data-theme] .hero--v4 {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  color: #e2e8f5;
  background:
    radial-gradient(620px 360px at 85% 20%, rgba(242, 207, 107, .14), transparent 65%),
    radial-gradient(700px 420px at 0% 100%, rgba(59, 108, 214, .28), transparent 65%),
    linear-gradient(180deg, #0a1d47 0%, #0d2558 100%);
}
html[data-theme] .hero--v4::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(90% 80% at 60% 30%, #000 20%, transparent 85%);
  mask-image: radial-gradient(90% 80% at 60% 30%, #000 20%, transparent 85%);
}
.hero--v4 .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero--v4 .hero__copy { position: relative; z-index: 1; }
.hero--v4 .eyebrow--pill {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(242, 207, 107, .35);
  color: #f2cf6b;
  font-size: var(--fs-xs);
  padding: .45rem .95rem;
}
.hero--v4 h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #fff;
  margin: var(--sp-4) 0 var(--sp-4);
}
.hero--v4 .lead {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: rgba(226, 232, 245, .85);
  max-width: 34em;
  margin: 0;
}
.hero--v4 .hero__actions { margin-top: var(--sp-6); gap: var(--sp-3); }
.hero--v4 .btn--lg { padding: .95rem 1.8rem; font-size: var(--fs-base); }
.hero__btn-outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, .35);
  --btn-sh: none;
  color: #fff;
}
.hero__btn-outline:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-border: #f2cf6b; color: #f2cf6b; }
.hero--v4 .hero__note { color: rgba(226, 232, 245, .8); margin-top: var(--sp-4); }
.hero--v4 .hero__wa { margin-top: var(--sp-4); }
.hero--v4 .hero__wa a { color: rgba(226, 232, 245, .8); }
.hero--v4 .hero__wa a:hover { color: #fff; }
html[data-theme] .hero--v4 .hero__wa strong { color: #4ade80; }

/* Image in a framed card with two floating badges. */
.hero__media { position: relative; z-index: 1; padding: var(--sp-6) var(--sp-4); }
.hero__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, .55),
    0 0 0 8px rgba(255, 255, 255, .04);
  aspect-ratio: 16 / 11;
  background: #0b1f4d;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
}
.hero__badge svg { width: 16px; height: 16px; }
.hero__badge--top { top: 0; left: 0; background: #fff; color: #0b1f4d; }
.hero__badge--bottom { bottom: 0; right: 0; background: var(--c-gold-grad); color: #0b1b3d; }

/* Capability row as three glass cards. */
.hero--v4 .hero__features {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
}
.hero--v4 .hero__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
}
.hero--v4 .hero__feature-icon {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(242, 207, 107, .14);
  box-shadow: none;
  color: #f2cf6b;
}
.hero--v4 .hero__feature-icon svg { width: 20px; height: 20px; }
.hero--v4 .hero__features strong { display: block; font-size: var(--fs-sm); color: #fff; }
.hero--v4 .hero__features small { display: block; font-size: var(--fs-xs); color: rgba(226, 232, 245, .7); }

@media (max-width: 900px) {
  .hero--v4 .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .hero--v4 .hero__features { grid-template-columns: 1fr; gap: var(--sp-3); }
}
@media (max-width: 640px) {
  .hero--v4 h1 { font-size: 2.1rem; }
  .hero--v4 .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__media { padding: var(--sp-5) var(--sp-2); }
  .hero__badge { font-size: .7rem; padding: .5rem .8rem; }
}

/* ===========================================================================
   27. v4.1 — illustration hero, hover mega menu, footer v4, WhatsApp widget,
       announcement bar, motion and mobile polish
   =========================================================================== */

/* ---- Hero illustration (replaces the stock photo) ---- */
.hero__media { padding: var(--sp-4) 0; }
.hero__illustration {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(2, 10, 31, .35));
}
html[data-animate="on"] .hero__illustration { animation: hero-float 7s ease-in-out infinite; }
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero__badge--top { top: 6%; left: -2%; }
.hero__badge--bottom { bottom: 4%; right: 2%; }
html[data-animate="on"] .hero__badge { animation: badge-in .7s cubic-bezier(.22, .61, .36, 1) both; }
html[data-animate="on"] .hero__badge--top { animation-delay: .5s; }
html[data-animate="on"] .hero__badge--bottom { animation-delay: .8s; }
@keyframes badge-in { from { opacity: 0; transform: translateY(12px) scale(.95); } to { opacity: 1; transform: none; } }
html[data-animate="on"] .hero--v4 .hero__copy > * { animation: copy-in .7s cubic-bezier(.22, .61, .36, 1) both; }
html[data-animate="on"] .hero--v4 .hero__copy > :nth-child(2) { animation-delay: .08s; }
html[data-animate="on"] .hero--v4 .hero__copy > :nth-child(3) { animation-delay: .16s; }
html[data-animate="on"] .hero--v4 .hero__copy > :nth-child(4) { animation-delay: .24s; }
html[data-animate="on"] .hero--v4 .hero__copy > :nth-child(5) { animation-delay: .32s; }
@keyframes copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero--v4 .hero__features li { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.hero--v4 .hero__features li:hover { transform: translateY(-3px); border-color: rgba(242, 207, 107, .45); background: rgba(255, 255, 255, .08); }

/* The service strip under the hero has been removed. */
.service-strip { display: none; }

/* ---- Header: Services opens on hover; one consistent small chevron ---- */
@media (min-width: 861px) {
  .has-mega { gap: 0; }
  html[data-theme] .site-header .mega-toggle {
    inline-size: 18px;
    block-size: 18px;
    margin-left: -4px;
    padding: 0;
    background: transparent;
  }
  .mega-toggle svg { width: 12px; height: 12px; }
  .has-mega:hover .mega-toggle svg { transform: rotate(-90deg); }
  .mega__item { padding: .55rem .6rem; border-radius: 10px; transition: background .2s ease, transform .2s ease; }
  .mega__item:hover { transform: translateX(3px); }
}

/* ---- Announcement bar ---- */
.announcement {
  background: var(--c-gold-grad);
  color: #0b1b3d;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding-block: 6px;
  text-align: center;
}
.announcement svg { width: 16px; height: 16px; flex: none; }
.announcement a { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.announcement a:hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Footer v4 ---- */
html[data-theme] .site-footer--v4 { padding-top: 0; background: linear-gradient(180deg, #081638 0%, #06112c 100%); }
.site-footer--v4::before { display: none; }
.footer-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-6);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 var(--sp-12);
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(242, 207, 107, .22), transparent 70%),
    linear-gradient(135deg, #12306f, #0b1f4d);
  border: 1px solid rgba(255, 255, 255, .08);
  border-top: 3px solid #d9a419;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.footer-cta__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; color: #f2cf6b; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-cta__eyebrow svg { width: 14px; height: 14px; }
.site-footer--v4 .footer-cta__title { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 6px; }
.footer-cta__text { margin: 0; color: #c3cfea; max-width: 40em; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.site-footer--v4 .footer-cta__wa { --btn-bg: #25d366; --btn-border: transparent; background: #25d366; color: #06301a; font-weight: 700; }
.site-footer--v4 .footer-cta__wa:hover { background: #2ee077; color: #06301a; }
.footer-cta__actions svg { width: 16px; height: 16px; }

.footer-grid--v4 {
  display: grid;
  grid-template-columns: 1.4fr .9fr 1.25fr 1.25fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(185, 198, 228, .12);
}
.footer-badges { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: grid; gap: 8px; }
.footer-badges li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: #d6def2; }
.footer-badges svg { width: 16px; height: 16px; color: #f2cf6b; flex: none; }

.footer-list--icons a { display: inline-flex !important; align-items: center; gap: 10px; }
.footer-list--icons svg {
  width: 15px; height: 15px; flex: none;
  color: #f2cf6b;
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.footer-list--icons a:hover svg { opacity: 1; transform: scale(1.1); }
.site-footer--v4 .footer-list li + li { margin-top: 10px; }
.site-footer--v4 .footer-list a { font-size: var(--fs-sm); }

.footer-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.footer-contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: #e2e8f8; line-height: 1.55; }
.footer-contact-list small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #8fa0c8; font-weight: 600; margin-bottom: 1px; }
.footer-contact-list__icon {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(242, 207, 107, .1);
  border: 1px solid rgba(242, 207, 107, .22);
  color: #f2cf6b;
}
.footer-contact-list__icon svg { width: 16px; height: 16px; }
.footer-contact-list__icon--wa { background: rgba(37, 211, 102, .12); border-color: rgba(37, 211, 102, .3); color: #4ade80; }
.site-footer--v4 .footer-cities { display: flex; gap: 8px; align-items: flex-start; }
.site-footer--v4 .footer-cities svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #f2cf6b; }

.site-footer--v4 .footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0; }
.site-footer--v4 .footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.site-footer--v4 .footer-social a:hover { background: var(--c-gold-grad); color: #0b1b3d; transform: translateY(-3px); border-color: transparent; }
.site-footer--v4 .footer-social svg { width: 18px; height: 18px; }
.site-footer--v4 .footer-bottom--v3 { padding-block: var(--sp-6); }
.site-footer--v4 .footer-legal { gap: 6px 18px; }

@media (max-width: 1024px) {
  .footer-grid--v4 { grid-template-columns: 1fr 1fr; }
  .footer-grid--v4 .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer-cta { grid-template-columns: 1fr; border-radius: 0 0 18px 18px; }
  .footer-cta__actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .footer-grid--v4 { grid-template-columns: 1fr 1fr; gap: var(--sp-8) var(--sp-5); }
  .footer-grid--v4 > :first-child, .footer-grid--v4 > :last-child { grid-column: 1 / -1; }
  .site-footer--v4 .footer-bottom--v3 { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

/* ---- WhatsApp widget ---- */
.whatsapp-float--v4 {
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  padding: 0 !important;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 30px -8px rgba(18, 140, 75, .65), inset 0 -3px 0 rgba(0, 0, 0, .12);
}
.whatsapp-float--v4 svg { width: 30px; height: 30px; }
.whatsapp-float--v4 span {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  translate: 0 -50%;
  padding: 8px 12px;
  border-radius: 10px;
  background: #0b1f4d;
  color: #fff;
  font-size: var(--fs-xs);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}
.whatsapp-float--v4:hover span, .whatsapp-float--v4:focus-visible span { max-width: 160px; margin-left: 0; }
.whatsapp-float--v4::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff3b30;
  border: 2px solid #fff;
}

.wa-bubble {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 91;
  width: min(300px, calc(100vw - 44px));
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px 16px 4px 16px;
  background: #fff;
  color: #1f2a44;
  box-shadow: 0 24px 50px -18px rgba(11, 31, 77, .45);
  border: 1px solid #e3e9f7;
  opacity: 0;
  transform: translateY(10px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .35s ease, transform .35s cubic-bezier(.22, .61, .36, 1);
}
.wa-bubble[hidden] { display: none; }
.wa-bubble.is-in { opacity: 1; transform: none; }
.wa-bubble__avatar { position: relative; flex: none; }
.wa-bubble__avatar img { width: 36px; height: 36px; border-radius: 50%; display: block; }
.wa-bubble__dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #25d366; border: 2px solid #fff; }
.wa-bubble__text { display: grid; gap: 2px; font-size: var(--fs-sm); line-height: 1.4; padding-right: 10px; }
.wa-bubble__text strong { color: #0b1f4d; font-size: var(--fs-sm); }
.wa-bubble__text a { color: #1f2a44; }
.wa-bubble__text a:hover { color: #128c4b; text-decoration: none; }
.wa-bubble__text small { color: #128c4b; font-size: .72rem; font-weight: 600; }
.wa-bubble__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a96b3;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.wa-bubble__close:hover { background: #eef2fb; color: #0b1f4d; }
html[data-theme="dark"] .wa-bubble { background: #0f224f; border-color: #1d3670; color: #e2e8f5; }
html[data-theme="dark"] .wa-bubble__text strong, html[data-theme="dark"] .wa-bubble__text a { color: #fff; }
@media (max-width: 560px) {
  .whatsapp-float--v4 { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-bubble { right: 16px; bottom: 82px; }
}

/* ---- Motion: richer reveal and card hover, off for reduced motion ---- */
.js [data-reveal] { transition: opacity .7s cubic-bezier(.22, .61, .36, 1), translate .7s cubic-bezier(.22, .61, .36, 1); translate: 0 22px; }
.card__icon { transition: transform .3s ease, background .3s ease; }
.card:hover .card__icon { transform: translateY(-2px) rotate(-4deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; translate: none !important; transition: none !important; }
  .hero__illustration, .hero__badge, .hero--v4 .hero__copy > *, .whatsapp-float::before { animation: none !important; }
  .card:hover { transform: none; }
}

/* ---- Mobile polish ---- */
@media (max-width: 860px) {
  html[data-theme] .main-nav {
    background: #0a1d47;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 0;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  html[data-theme] .site-header .main-nav__link { padding: .85rem 1rem; border-radius: 10px; font-size: var(--fs-base); }
  html[data-theme] .site-header .main-nav__link::after { display: none; }
  html[data-theme] .site-header .main-nav__link[aria-current="page"] { background: rgba(242, 207, 107, .1); }
  .main-nav__list > li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
  .main-nav[data-open="true"] { animation: nav-in .25s ease; }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 640px) {
  .hero--v4 { padding-top: var(--sp-8); }
  .hero--v4 .eyebrow--pill { font-size: .65rem; letter-spacing: .08em; }
  .hero--v4 .lead { font-size: 1rem; }
  .hero--v4 .hero__features li { padding: 12px 14px; }
  .hero__badge--top { left: 0; top: 0; }
  .hero__badge--bottom { right: 0; bottom: 0; }
  .section-head h2 { font-size: 1.6rem; }
}

@media (max-width: 560px) {
  /* On phones the greeting bubble covers too much content: the button alone is enough. */
  .wa-bubble { display: none !important; }
}

/* ===========================================================================
   28. v4.1 — footer link groups (accordion on phones) and mobile footer
   =========================================================================== */

/* Desktop: the <details> wrapper is invisible — headings look as before. */
.footer-acc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: default; }
.footer-acc > summary::-webkit-details-marker { display: none; }
.footer-acc > summary > svg { display: none; }
.footer-acc > summary .footer-title { margin-bottom: var(--sp-5); }

@media (max-width: 640px) {
  html[data-theme] .site-footer--v4 { padding-bottom: 88px; }

  /* CTA band */
  .footer-cta { padding: 1.5rem 1.25rem; margin-bottom: var(--sp-8); text-align: center; }
  .footer-cta__eyebrow { justify-content: center; }
  .footer-cta__text { font-size: var(--fs-sm); }

  /* One column, everything stacked in a clear order. */
  .footer-grid--v4 { grid-template-columns: 1fr !important; gap: 0 !important; padding-bottom: 0; border-bottom: 0; }
  .footer-grid--v4 > * { grid-column: auto !important; }

  /* Brand block: centered card */
  .footer-grid--v4 .footer-brand {
    text-align: center;
    padding-bottom: var(--sp-6);
    margin-bottom: var(--sp-2);
    border-bottom: 1px solid rgba(185, 198, 228, .12);
  }
  .footer-grid--v4 .footer-brand .brand { justify-content: center; }
  .footer-grid--v4 .footer-about {
    margin: var(--sp-4) auto;
    font-size: var(--fs-sm);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .footer-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: var(--sp-5); }
  .footer-badges li {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: .72rem;
  }
  .footer-badges svg { width: 13px; height: 13px; }
  .site-footer--v4 .footer-social { justify-content: center; }

  /* Company / Services: tap-to-open rows */
  .footer-acc { border-bottom: 1px solid rgba(185, 198, 228, .12); }
  .footer-acc > summary { cursor: pointer; padding: 16px 2px; -webkit-tap-highlight-color: transparent; }
  .footer-acc > summary .footer-title { margin: 0; padding: 0; font-size: var(--fs-base); }
  .footer-acc > summary .footer-title::after { display: none; }
  .footer-acc > summary > svg { display: block; width: 16px; height: 16px; color: #f2cf6b; transform: rotate(90deg); transition: transform .25s ease; }
  .footer-acc[open] > summary > svg { transform: rotate(-90deg); }
  .footer-acc .footer-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    padding: 0 0 var(--sp-5);
  }
  .site-footer--v4 .footer-acc .footer-list li + li { margin-top: 0; }
  .site-footer--v4 .footer-acc .footer-list a {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    font-size: .82rem;
    line-height: 1.35;
  }
  .footer-acc .footer-list--icons svg { margin-top: 1px; }
  .site-footer--v4 .footer-list a:hover { transform: none; }

  /* Contact: 2 x 2 tappable tiles, hours and cities full width */
  .footer-grid--v4 > :last-child { padding-top: var(--sp-6); }
  .footer-grid--v4 > :last-child > .footer-title { text-align: center; }
  .footer-grid--v4 > :last-child > .footer-title::after { left: 50%; translate: -50% 0; }
  .footer-contact-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-contact-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: .78rem;
    word-break: break-word;
  }
  .footer-contact-list li:first-child { grid-column: 1 / -1; flex-direction: row; justify-content: center; text-align: left; }
  .footer-contact-list li:first-child small { text-align: left; }
  .footer-contact-list li { word-break: normal; overflow-wrap: anywhere; }
  .footer-contact-list small { margin-bottom: 2px; }
  .site-footer--v4 .footer-cities { justify-content: center; text-align: center; font-size: .78rem; margin-top: var(--sp-5); }

  /* Bottom bar: centered */
  .site-footer--v4 .footer-bottom--v3 {
    margin-top: var(--sp-6);
    align-items: center !important;
    text-align: center;
    border-top: 1px solid rgba(185, 198, 228, .12);
  }
  .site-footer--v4 .footer-legal { justify-content: center; gap: 4px 14px; }
  .site-footer--v4 .footer-bottom--v3 p { font-size: .75rem; }
}

/* ---- 29. Mobile: inner pages ---- */
@media (max-width: 640px) {
  /* Service list cards: icon above the text instead of squeezing it. */
  main .card > .row { flex-direction: column; gap: var(--sp-3) !important; }
  main .card > .row > .card__icon { width: 48px; height: 48px; }
  .pill-list { gap: 6px; }
  .pill { font-size: .72rem; }

  /* Page heads: compact pill label, tidy spacing. */
  .page-head .eyebrow--pill { display: flex; width: fit-content; margin-bottom: var(--sp-3); }
  .page-head h1 { font-size: 1.85rem; line-height: 1.15; }
  .page-head .lead, .page-head p { font-size: .98rem; }

  /* Buttons in page heads and CTAs: full width, equal size. */
  .page-head .btn-group .btn, .cta-band .btn { flex: 1 1 100%; justify-content: center; }

  /* Breadcrumbs never overflow. */
  .breadcrumbs { font-size: .75rem; overflow-wrap: anywhere; }
}

/* ===========================================================================
   30. v4.1 — icon colour system
   Every icon used to be the same gold. Icons now cycle through a small,
   harmonious palette so lists and grids are easier to scan.
   =========================================================================== */

:root {
  --ic-blue: #3b82f6;   --ic-blue-bg: rgba(59, 130, 246, .12);
  --ic-teal: #14b8a6;   --ic-teal-bg: rgba(20, 184, 166, .12);
  --ic-violet: #8b5cf6; --ic-violet-bg: rgba(139, 92, 246, .12);
  --ic-amber: #f59e0b;  --ic-amber-bg: rgba(245, 158, 11, .14);
  --ic-rose: #f43f5e;   --ic-rose-bg: rgba(244, 63, 94, .12);
  --ic-green: #22c55e;  --ic-green-bg: rgba(34, 197, 94, .12);
  --ic-sky: #0ea5e9;    --ic-sky-bg: rgba(14, 165, 233, .12);
  --ic-indigo: #6366f1; --ic-indigo-bg: rgba(99, 102, 241, .12);
  --ic-wa: #25d366;
}

/* The WhatsApp logo always takes its container's colour (white on the green
   buttons and chips, green in the contact tile). */

/* ---- Content cards (services, benefits, process …) ---- */
main .grid > :nth-child(8n+1) .card__icon, main .grid > .card:nth-child(8n+1) .card__icon, main .stack > :nth-child(8n+1) .card__icon { --ic: var(--ic-blue);   --ic-bg: var(--ic-blue-bg); }
main .grid > :nth-child(8n+2) .card__icon, main .stack > :nth-child(8n+2) .card__icon { --ic: var(--ic-violet); --ic-bg: var(--ic-violet-bg); }
main .grid > :nth-child(8n+3) .card__icon, main .stack > :nth-child(8n+3) .card__icon { --ic: var(--ic-teal);   --ic-bg: var(--ic-teal-bg); }
main .grid > :nth-child(8n+4) .card__icon, main .stack > :nth-child(8n+4) .card__icon { --ic: var(--ic-amber);  --ic-bg: var(--ic-amber-bg); }
main .grid > :nth-child(8n+5) .card__icon, main .stack > :nth-child(8n+5) .card__icon { --ic: var(--ic-rose);   --ic-bg: var(--ic-rose-bg); }
main .grid > :nth-child(8n+6) .card__icon, main .stack > :nth-child(8n+6) .card__icon { --ic: var(--ic-sky);    --ic-bg: var(--ic-sky-bg); }
main .grid > :nth-child(8n+7) .card__icon, main .stack > :nth-child(8n+7) .card__icon { --ic: var(--ic-green);  --ic-bg: var(--ic-green-bg); }
main .grid > :nth-child(8n+8) .card__icon, main .stack > :nth-child(8n+8) .card__icon { --ic: var(--ic-indigo); --ic-bg: var(--ic-indigo-bg); }
main .card__icon[style], main .card__icon {
  background: var(--ic-bg, linear-gradient(135deg, var(--c-gold-50), var(--c-gold-100)));
  color: var(--ic, var(--c-gold-600));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic, #d9a419) 22%, transparent);
}
.card:hover .card__icon { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic, #d9a419) 35%, transparent), 0 8px 18px -6px color-mix(in srgb, var(--ic, #d9a419) 45%, transparent); }
/* Service list page: each article is its own card, not inside .grid. */
main article.card:nth-of-type(8n+1) .card__icon { --ic: var(--ic-blue);   --ic-bg: var(--ic-blue-bg); }
main article.card:nth-of-type(8n+2) .card__icon { --ic: var(--ic-violet); --ic-bg: var(--ic-violet-bg); }
main article.card:nth-of-type(8n+3) .card__icon { --ic: var(--ic-teal);   --ic-bg: var(--ic-teal-bg); }
main article.card:nth-of-type(8n+4) .card__icon { --ic: var(--ic-amber);  --ic-bg: var(--ic-amber-bg); }
main article.card:nth-of-type(8n+5) .card__icon { --ic: var(--ic-rose);   --ic-bg: var(--ic-rose-bg); }
main article.card:nth-of-type(8n+6) .card__icon { --ic: var(--ic-sky);    --ic-bg: var(--ic-sky-bg); }
main article.card:nth-of-type(8n+7) .card__icon { --ic: var(--ic-green);  --ic-bg: var(--ic-green-bg); }
main article.card:nth-of-type(8n+8) .card__icon { --ic: var(--ic-indigo); --ic-bg: var(--ic-indigo-bg); }

/* ---- Mega menu ---- */
.mega__item:nth-of-type(6n+1) .mega__icon { --ic: var(--ic-blue);   --ic-bg: var(--ic-blue-bg); }
.mega__item:nth-of-type(6n+2) .mega__icon { --ic: var(--ic-violet); --ic-bg: var(--ic-violet-bg); }
.mega__item:nth-of-type(6n+3) .mega__icon { --ic: var(--ic-teal);   --ic-bg: var(--ic-teal-bg); }
.mega__item:nth-of-type(6n+4) .mega__icon { --ic: var(--ic-amber);  --ic-bg: var(--ic-amber-bg); }
.mega__item:nth-of-type(6n+5) .mega__icon { --ic: var(--ic-rose);   --ic-bg: var(--ic-rose-bg); }
.mega__item:nth-of-type(6n+6) .mega__icon { --ic: var(--ic-green);  --ic-bg: var(--ic-green-bg); }
.mega__icon { background: var(--ic-bg, var(--c-blue-50)); color: var(--ic, var(--c-blue-600)); transition: transform .2s ease; }
.mega__item:hover .mega__icon { transform: scale(1.08); }

/* ---- Hero capability cards ---- */
.hero--v4 .hero__features li:nth-child(1) .hero__feature-icon { background: rgba(96, 165, 250, .16); color: #93c5fd; }
.hero--v4 .hero__features li:nth-child(2) .hero__feature-icon { background: rgba(244, 114, 182, .16); color: #f9a8d4; }
.hero--v4 .hero__features li:nth-child(3) .hero__feature-icon { background: rgba(52, 211, 153, .16); color: #6ee7b7; }

/* ---- Footer (dark background: lighter tints of the same palette) ---- */
.site-footer--v4 {
  --f-blue: #60a5fa; --f-violet: #a78bfa; --f-teal: #2dd4bf; --f-amber: #fbbf24;
  --f-rose: #fb7185; --f-sky: #38bdf8; --f-green: #4ade80; --f-indigo: #818cf8;
}
.footer-list--icons li:nth-child(8n+1) svg { color: var(--f-blue); }
.footer-list--icons li:nth-child(8n+2) svg { color: var(--f-violet); }
.footer-list--icons li:nth-child(8n+3) svg { color: var(--f-teal); }
.footer-list--icons li:nth-child(8n+4) svg { color: var(--f-amber); }
.footer-list--icons li:nth-child(8n+5) svg { color: var(--f-rose); }
.footer-list--icons li:nth-child(8n+6) svg { color: var(--f-sky); }
.footer-list--icons li:nth-child(8n+7) svg { color: var(--f-green); }
.footer-list--icons li:nth-child(8n+8) svg { color: var(--f-indigo); }
.footer-list--icons svg { opacity: 1; }

.footer-badges li:nth-child(1) svg { color: var(--f-green); }
.footer-badges li:nth-child(2) svg { color: var(--f-blue); }
.footer-badges li:nth-child(3) svg { color: var(--f-amber); }

/* Contact tiles: one colour per channel. */
.footer-contact-list__icon { --c: var(--f-blue); background: color-mix(in srgb, var(--c) 14%, transparent); border-color: color-mix(in srgb, var(--c) 30%, transparent); color: var(--c); }
.footer-contact-list li:has(a[href^="mailto:"]) .footer-contact-list__icon { --c: var(--f-blue); }
.footer-contact-list li:has(a[href^="tel:"]) .footer-contact-list__icon { --c: var(--f-teal); }
.footer-contact-list .footer-contact-list__icon--wa { --c: #25d366; }
.footer-contact-list li:nth-last-child(2):not(:has(a)) .footer-contact-list__icon { --c: var(--f-rose); }
.footer-contact-list li:last-child:not(:has(a)) .footer-contact-list__icon { --c: var(--f-violet); }
.site-footer--v4 .footer-cities svg { color: var(--f-sky); }

/* Social buttons: each in its own brand colour. */
.site-footer--v4 .footer-social a[aria-label="WhatsApp"] { background: #25d366; border-color: #25d366; color: #fff; }
.site-footer--v4 .footer-social a[aria-label="Email"] { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.site-footer--v4 .footer-social a[aria-label="Facebook"] { background: #1877f2; border-color: #1877f2; color: #fff; }
.site-footer--v4 .footer-social a[aria-label="LinkedIn"] { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.site-footer--v4 .footer-social a[aria-label="Instagram"] { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); border-color: transparent; color: #fff; }
.site-footer--v4 .footer-social a[aria-label="YouTube"] { background: #ff0000; border-color: #ff0000; color: #fff; }
.site-footer--v4 .footer-social a[aria-label="X"], .site-footer--v4 .footer-social a[aria-label="GitHub"] { background: #fff; border-color: #fff; color: #0b1f4d; }
.site-footer--v4 .footer-social a:hover { background: var(--c-gold-grad); border-color: transparent; color: #0b1b3d; }
.site-footer--v4 .footer-social svg.icon--whatsapp { width: 20px; height: 20px; }

/* Hero WhatsApp line: solid green chip with a white logo. */
.hero__wa-icon { background: #25d366 !important; color: #fff !important; }
.hero__wa-icon svg { color: #fff; }

/* Footer CTA "Get a free quote" arrow and eyebrow stay gold (brand accent). */

/* ===========================================================================
   31. v4.1 — phone header: menu button on the right, theme switch in the menu
   =========================================================================== */

.nav-theme, .nav-cta { display: none; }

@media (max-width: 860px) {
  /* Header row: logo left, menu button right. The theme toggle and
     "Get a Quote" move into the slide-down menu. */
  .site-header .header-actions { display: none; }
  .site-header .nav-toggle { order: 3; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; }

  .site-header .main-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }

  .nav-theme {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-theme__label {
    display: inline-flex; align-items: center; gap: 8px;
    padding-inline: var(--sp-4);
    font-size: .72rem; font-weight: var(--fw-semi);
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
  }
  .nav-theme__label svg { width: 14px; height: 14px; color: #f2cf6b; }
  .nav-theme__options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
  }
  .nav-theme__options button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px;
    border: 0; border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    font: inherit; font-size: .875rem; font-weight: var(--fw-semi);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
  }
  .nav-theme__options button svg { width: 16px; height: 16px; }
  .nav-theme__options button[aria-pressed="true"] {
    background: var(--c-gold-grad);
    color: #0b1b3d;
    box-shadow: 0 6px 16px -6px rgba(217, 164, 25, .6);
  }
  .nav-theme__options button:focus-visible { outline: 2px solid #f2cf6b; outline-offset: 2px; }

  .nav-cta { display: flex; justify-content: center; width: 100%; margin-top: var(--sp-4); min-height: 48px; }
}

/* ===========================================================================
   32. v4.1 — blog list and article pages
   =========================================================================== */

/* ---- Shared bits ---- */
.blog-tag {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-blue-50);
  color: var(--c-blue-600);
  font-size: .72rem; font-weight: var(--fw-semi);
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
}
a.blog-tag:hover { text-decoration: none; filter: brightness(1.05); }
.blog-tag--on-dark { background: rgba(242, 207, 107, .14); color: #f2cf6b; border: 1px solid rgba(242, 207, 107, .3); }
.blog-tag--on-dark:hover { color: #fff; }

.blog-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--c-ink-500); font-size: .8rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta svg { width: 14px; height: 14px; color: var(--c-gold-600); }

/* Cover used when a post has no featured image. */
.blog-cover {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 207, 107, .35), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(59, 130, 246, .45), transparent 50%),
    linear-gradient(135deg, #0b1f4d, #12357d);
  color: rgba(255, 255, 255, .85);
}
.blog-cover svg { width: 44px; height: 44px; }

/* Dark headers (list + article): the breadcrumb must read on navy. */
.blog-hero .breadcrumbs, .article-hero .breadcrumbs { color: rgba(255, 255, 255, .6); }
.blog-hero .breadcrumbs a, .article-hero .breadcrumbs a { color: rgba(255, 255, 255, .8); }
.blog-hero .breadcrumbs [aria-current="page"], .article-hero .breadcrumbs [aria-current="page"] { color: #fff; }
.blog-hero .breadcrumbs li + li::before, .article-hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, .35); }

/* ---- Blog list header ---- */
.blog-hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  color: #fff;
  background:
    radial-gradient(800px 300px at 85% 0%, rgba(59, 130, 246, .35), transparent 60%),
    radial-gradient(600px 260px at 0% 100%, rgba(242, 207, 107, .14), transparent 60%),
    linear-gradient(160deg, #0a1d47, #0d2b63 60%, #0b2257);
  overflow: hidden;
}
.blog-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #f2cf6b; font-size: .75rem; font-weight: var(--fw-semi);
  letter-spacing: .08em; text-transform: uppercase;
}
.blog-hero__eyebrow svg { width: 14px; height: 14px; }
.blog-hero h1 { color: #fff; margin: var(--sp-4) 0 var(--sp-3); font-size: clamp(2rem, 4vw, 3rem); }
.blog-hero__lead { color: rgba(255, 255, 255, .78); max-width: 640px; font-size: var(--fs-md); margin: 0; }

.blog-filter {
  display: flex; gap: 8px;
  margin-top: var(--sp-6);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.blog-filter::-webkit-scrollbar { display: none; }
.blog-filter__chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .85);
  font-size: .875rem; font-weight: var(--fw-medium, 500);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.blog-filter__chip:hover { background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.blog-filter__chip span {
  min-width: 22px; padding: 1px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); font-size: .72rem; text-align: center;
}
.blog-filter__chip.is-active { background: var(--c-gold-grad); border-color: transparent; color: #0b1b3d; font-weight: var(--fw-semi); }
.blog-filter__chip.is-active span { background: rgba(11, 27, 61, .15); }

/* ---- Featured (latest) article ---- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: 0 24px 60px -30px rgba(11, 31, 77, .35);
  margin-bottom: var(--sp-12);
}
.blog-featured__media { position: relative; display: block; min-height: 320px; overflow: hidden; background: #0b1f4d; }
.blog-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-featured:hover .blog-featured__media img { transform: scale(1.04); }
.blog-featured__flag {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--c-gold-grad); color: #0b1b3d;
  font-size: .75rem; font-weight: var(--fw-bold);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
}
.blog-featured__flag svg { width: 13px; height: 13px; }
.blog-featured__body { padding: clamp(1.5rem, 3vw, 2.75rem); display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); justify-content: center; }
.blog-featured__body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; margin: 0; }
.blog-featured__body h2 a { color: var(--c-ink-900); text-decoration: none; }
.blog-featured__body h2 a:hover { color: var(--c-blue-600); }
.blog-featured__body p { color: var(--c-ink-600); margin: 0; }
.blog-featured__body .btn { margin-top: var(--sp-2); }

/* ---- Card grid ---- */
.blog-list__title { font-size: var(--fs-xl); margin-bottom: var(--sp-6); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); }
.blog-card {
  display: flex; flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: 0 10px 30px -22px rgba(11, 31, 77, .4);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(11, 31, 77, .45); border-color: color-mix(in srgb, var(--c-blue-500) 35%, var(--c-line)); }
.blog-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1f4d; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__cat {
  position: absolute; left: 12px; bottom: 12px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(11, 27, 61, .78); backdrop-filter: blur(6px);
  color: #fff; font-size: .7rem; font-weight: var(--fw-semi);
  letter-spacing: .05em; text-transform: uppercase;
}
.blog-card__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.blog-card__body h3 { font-size: 1.1rem; line-height: 1.35; margin: 0; }
.blog-card__body h3 a { color: var(--c-ink-900); text-decoration: none; }
.blog-card__body h3 a:hover { color: var(--c-blue-600); }
.blog-card__body p { color: var(--c-ink-600); font-size: .9rem; margin: 0; flex: 1; }
.blog-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-semi); font-size: .875rem; color: var(--c-blue-600); text-decoration: none; }
.blog-card__more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.blog-card__more:hover { text-decoration: none; }
.blog-card:hover .blog-card__more svg { transform: translateX(4px); }

/* ---- Bottom: topics + CTA ---- */
.blog-bottom { display: grid; gap: var(--sp-6); margin-top: var(--sp-12); }
.blog-bottom h2 { font-size: var(--fs-md); display: flex; align-items: center; gap: 8px; margin-bottom: var(--sp-4); }
.blog-bottom h2 svg { width: 18px; height: 18px; color: var(--c-gold-600); }
.blog-bottom__cta {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-6);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(59, 130, 246, .35), transparent 60%),
    linear-gradient(135deg, #0a1d47, #0d2b63);
}
.blog-bottom__cta h2 { color: #fff; font-size: var(--fs-lg, 1.25rem); margin: 0 0 6px; }
.blog-bottom__cta p { color: rgba(255, 255, 255, .75); margin: 0; }
.blog-bottom__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(242, 207, 107, .15); color: #f2cf6b; }
.blog-bottom__icon svg { width: 26px; height: 26px; }

/* ---- Article page ---- */
.container--article { max-width: 1160px; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--c-gold-grad); transform: scaleX(0); transform-origin: 0 50%; }

.article-hero {
  padding: 2.5rem 0 3rem;
  color: #fff;
  background:
    radial-gradient(800px 320px at 90% 0%, rgba(59, 130, 246, .35), transparent 60%),
    radial-gradient(600px 260px at 0% 100%, rgba(242, 207, 107, .12), transparent 60%),
    linear-gradient(160deg, #0a1d47, #0d2b63 60%, #0b2257);
}
.article-hero--media { padding-bottom: 7rem; }
.article-hero__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-4); }
.article-hero h1 { color: #fff; max-width: 860px; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.18; margin: 0 0 var(--sp-4); }
.article-hero__lead { max-width: 760px; color: rgba(255, 255, 255, .78); font-size: var(--fs-md); margin: 0 0 var(--sp-6); }

.article-byline { display: flex; align-items: center; gap: 12px; }
.article-byline__avatar, .author-box__avatar {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-gold-grad); color: #0b1b3d;
  font-weight: var(--fw-bold); font-size: .95rem;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}
.article-byline__who { display: flex; flex-direction: column; line-height: 1.35; }
.article-byline__who strong { color: #fff; }
.article-byline__who small { color: rgba(255, 255, 255, .65); font-size: .82rem; }

.article-cover { margin: -5.5rem 0 0; position: relative; z-index: 1; }
.article-cover img {
  display: block; width: 100%; max-height: 520px; object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--c-line);
  box-shadow: 0 30px 70px -35px rgba(11, 31, 77, .55);
}

.article-wrap { padding-top: clamp(2rem, 4vw, 3rem); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.article-main { max-width: 740px; min-width: 0; }

/* Reading typography */
.rich--article { font-size: 1.075rem; line-height: 1.85; color: var(--c-ink-700); }
.rich--article > p:first-child { font-size: 1.2rem; line-height: 1.75; color: var(--c-ink-900); }
.rich--article h2, .rich--article h3 {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 24px);
  color: var(--c-ink-900);
  font-size: 1.45rem; line-height: 1.3;
  margin: 2.6rem 0 .9rem;
  padding-left: 18px;
}
.rich--article h2::before, .rich--article h3::before {
  content: ""; position: absolute; left: 0; top: .2em; bottom: .2em;
  width: 4px; border-radius: 4px; background: var(--c-gold-grad);
}
.rich--article h4 { font-size: 1.15rem; margin: 2rem 0 .6rem; }
.rich--article p { margin-bottom: 1.25rem; }
.rich--article ul { list-style: none; padding-left: 0; }
.rich--article ul li { position: relative; padding-left: 30px; margin-bottom: .65rem; }
.rich--article ul li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-blue-50);
  box-shadow: inset 0 0 0 4px var(--c-blue-500);
}
.rich--article ol li::marker { color: var(--c-gold-600); font-weight: var(--fw-bold); }
.rich--article blockquote {
  margin: 2rem 0; padding: 1.25rem 1.5rem;
  border: 0; border-left: 4px solid var(--c-gold-500);
  border-radius: 0 16px 16px 0;
  background: var(--c-gold-50);
  font-size: 1.1rem; font-style: italic; color: var(--c-ink-900);
}
.rich--article a { color: var(--c-blue-600); text-decoration-color: color-mix(in srgb, var(--c-blue-500) 40%, transparent); text-decoration-thickness: 2px; }
.rich--article a:hover { text-decoration-color: currentColor; }
.rich--article img { border-radius: 16px; margin: 1.5rem 0; }
.rich--article code { padding: 2px 6px; border-radius: 6px; background: var(--c-surface-3); font-size: .9em; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-8); }

.share-bar--article {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4);
  margin-top: var(--sp-8);
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
}
.share-bar--article .share-bar__label { font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--c-ink-900); font-weight: var(--fw-semi); }
.share-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.share-bar__in svg { color: #0a66c2; }

.author-box {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  margin-top: var(--sp-6);
  padding: 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
}
.author-box__avatar { width: 56px; height: 56px; font-size: 1.05rem; box-shadow: none; }
.author-box small { display: block; color: var(--c-ink-500); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.author-box strong { display: block; color: var(--c-ink-900); font-size: 1.05rem; margin-bottom: 4px; }
.author-box p { margin: 0; color: var(--c-ink-600); font-size: .92rem; }

/* Sidebar */
.article-side { align-self: stretch; }
.article-side__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--sp-5); }
.article-toc {
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
}
.article-toc__title { display: flex; align-items: center; gap: 8px; margin: 0 0 .75rem; font-size: .75rem; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-500); }
.article-toc__title svg { width: 15px; height: 15px; color: var(--c-gold-600); }
.article-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; max-height: 50vh; overflow-y: auto; }
.article-toc li { counter-increment: toc; }
.article-toc a {
  display: flex; gap: 10px;
  padding: 7px 8px; border-radius: 10px;
  color: var(--c-ink-600); font-size: .86rem; line-height: 1.4;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.article-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; color: var(--c-ink-400); font-size: .75rem; font-weight: var(--fw-semi); padding-top: 1px; }
.article-toc a:hover { background: var(--c-surface-2); color: var(--c-ink-900); text-decoration: none; }
.article-toc a.is-active { background: var(--c-blue-50); color: var(--c-blue-600); font-weight: var(--fw-semi); }
.article-toc a.is-active::before { color: var(--c-gold-600); }

.article-side__cta {
  padding: 1.5rem;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(59, 130, 246, .4), transparent 60%),
    linear-gradient(150deg, #0a1d47, #0d2b63);
}
.article-side__cta-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(242, 207, 107, .15); color: #f2cf6b; margin-bottom: var(--sp-3); }
.article-side__cta-icon svg { width: 20px; height: 20px; }
.article-side__cta-title { font-weight: var(--fw-bold); font-size: 1.1rem; color: #fff; margin: 0 0 6px; }
.article-side__cta p { color: rgba(255, 255, 255, .75); font-size: .9rem; margin: 0 0 var(--sp-4); }

.notice__icon { flex: none; margin-top: 2px; }

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-main { max-width: none; }
  .article-side { order: -1; }
  .article-side__sticky { position: static; }
  .article-side__cta { display: none; }
  .article-toc ol { max-height: none; }
}

/* ---- Phones ---- */
@media (max-width: 720px) {
  .blog-hero { padding: 1.75rem 0 1.5rem; }
  .blog-hero__lead { font-size: var(--fs-base); }
  .blog-filter { margin-inline: calc(var(--sp-4) * -1); padding-inline: var(--sp-4); }

  .blog-featured { grid-template-columns: 1fr; border-radius: 20px; margin-bottom: var(--sp-8); }
  .blog-featured__media { min-height: 0; aspect-ratio: 16 / 9; }
  .blog-featured__body .btn { width: 100%; justify-content: center; }

  .blog-grid { grid-template-columns: 1fr; gap: var(--sp-5); }

  .blog-bottom { margin-top: var(--sp-8); }
  .blog-bottom__cta { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: var(--sp-4); }
  .blog-bottom__cta .btn { width: 100%; justify-content: center; }

  .article-hero { padding: 1.75rem 0 2rem; }
  .article-hero--media { padding-bottom: 4.5rem; }
  .article-cover { margin-top: -3.5rem; }
  .article-cover img { border-radius: 16px; }
  .rich--article { font-size: 1.02rem; line-height: 1.8; }
  .rich--article > p:first-child { font-size: 1.08rem; }
  .rich--article h2, .rich--article h3 { font-size: 1.25rem; margin-top: 2rem; padding-left: 14px; }

  .share-bar--article { flex-direction: column; align-items: stretch; }
  .share-bar__actions { display: grid; grid-template-columns: repeat(3, 1fr); }
  .share-bar__actions .btn { justify-content: center; padding-inline: .5rem; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
}

.site-footer .footer-title { line-height: 1.3; font-weight: var(--fw-bold); }
.rich h2 { font-size: var(--fs-xl); margin-top: var(--sp-10); margin-bottom: var(--sp-3); }

/* Blog covers are 16:9 designs with text on them: never crop them. */
.blog-featured__media { background: #0a1a42; }
.blog-featured__media img { object-fit: contain; }
.article-cover img { max-height: none; aspect-ratio: 16 / 9; object-fit: cover; }

/* ===========================================================================
   33. v4.2 — compact header, smaller logo, single theme-switch icon
   =========================================================================== */
:root { --header-h: 68px; }
html[data-theme] .site-header .brand { gap: 10px; }
html[data-theme] .site-header .brand__logo {
  width: 40px; height: 40px; padding: 2px;
  box-shadow: 0 0 0 1.5px rgba(242, 207, 107, .55), 0 6px 14px rgba(0, 0, 0, .3);
}
html[data-theme] .site-header .brand__name { font-size: 1.12rem; line-height: 1.15; }
html[data-theme] .site-header .brand__tag { font-size: .74rem; }
html[data-theme] .site-header .main-nav__link { font-size: .94rem; padding: .45rem .6rem; }
html[data-theme] .site-header .main-nav__link::after { left: .6rem; right: .6rem; bottom: .05rem; height: 2.5px; }
.header-cta { padding: .55rem 1.1rem; font-size: .85rem; }

/* Theme switch: one recognisable "contrast" icon instead of three rotating ones. */
html[data-theme] .site-header .theme-toggle {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #f2cf6b;
  transition: background .2s ease, border-color .2s ease;
}
html[data-theme] .site-header .theme-toggle:hover { background: rgba(242, 207, 107, .12); border-color: rgba(242, 207, 107, .6); color: #f2cf6b; }
.theme-toggle__icon--contrast { display: inline-flex !important; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.theme-toggle__icon--contrast svg { width: 17px; height: 17px; }
.theme-toggle:hover .theme-toggle__icon--contrast { transform: rotate(180deg); }
html[data-theme="light"] .theme-toggle__icon--contrast { transform: scaleX(-1); }
html[data-theme="light"] .theme-toggle:hover .theme-toggle__icon--contrast { transform: scaleX(-1) rotate(180deg); }

@media (min-width: 861px) and (max-width: 1180px) {
  html[data-theme] .site-header .main-nav__link { font-size: .86rem; padding-inline: .4rem; }
  html[data-theme] .site-header .brand__logo { width: 38px; height: 38px; }
  html[data-theme] .site-header .brand__name { font-size: 1.02rem; }
}
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  html[data-theme] .site-header .brand__logo { width: 36px; height: 36px; }
  html[data-theme] .site-header .brand__name { font-size: 1.02rem; }
  html[data-theme] .site-header .brand__tag { font-size: .7rem; }
  .site-header .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  html[data-theme] .site-header .brand__logo { width: 34px; height: 34px; }
  html[data-theme] .site-header .brand__name { font-size: .95rem; }
}

/* ===========================================================================
   34. v4.2 — contact page redesign
   =========================================================================== */
.contact-hero {
  padding: 2.5rem 0 5.5rem;
  color: #fff;
  background:
    radial-gradient(800px 320px at 90% 0%, rgba(59, 130, 246, .35), transparent 60%),
    radial-gradient(600px 260px at 0% 100%, rgba(242, 207, 107, .12), transparent 60%),
    linear-gradient(160deg, #0a1d47, #0d2b63 60%, #0b2257);
}
.contact-hero .breadcrumbs { color: rgba(255, 255, 255, .6); }
.contact-hero .breadcrumbs a { color: rgba(255, 255, 255, .8); }
.contact-hero .breadcrumbs [aria-current="page"] { color: #fff; }
.contact-hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, .35); }
.contact-hero h1 { color: #fff; margin: var(--sp-4) 0 var(--sp-3); font-size: clamp(2rem, 4vw, 3rem); }
.contact-hero__lead { color: rgba(255, 255, 255, .78); max-width: 640px; font-size: var(--fs-md); margin: 0; }
.contact-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sp-6); }
.contact-quick {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; text-decoration: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.contact-quick:hover { background: rgba(255, 255, 255, .13); border-color: rgba(242, 207, 107, .5); transform: translateY(-2px); color: #fff; text-decoration: none; }
.contact-quick > svg { width: 36px; height: 36px; padding: 9px; border-radius: 10px; background: rgba(242, 207, 107, .16); color: #f2cf6b; flex: none; }
.contact-quick--wa > svg { background: #25d366; color: #fff; }
.contact-quick span { display: flex; flex-direction: column; line-height: 1.25; font-weight: var(--fw-semi); font-size: .92rem; }
.contact-quick small { font-size: .7rem; font-weight: 500; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .08em; }

.contact-v2 { padding-top: 0; }
.contact-v2__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--sp-8); align-items: start; margin-top: -3.5rem; }

.contact-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 30px 70px -40px rgba(11, 31, 77, .45);
}
.contact-card__head { display: flex; gap: 16px; align-items: center; margin-bottom: var(--sp-6); }
.contact-card__head h2 { font-size: 1.5rem; margin: 0 0 4px; }
.contact-card__head p { margin: 0; color: var(--c-ink-500); font-size: .92rem; }
.contact-card__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c-gold-grad); color: #0b1b3d; box-shadow: 0 10px 22px -10px rgba(217, 164, 25, .8); }
.contact-card__icon svg { width: 22px; height: 22px; }

.contact-step { display: flex; align-items: center; gap: 10px; margin: var(--sp-6) 0 var(--sp-4); font-size: .78rem; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-500); }
.contact-step:first-of-type { margin-top: 0; }
.contact-step span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c-blue-50); color: var(--c-blue-600); font-size: .75rem; letter-spacing: 0; }
.contact-step::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }

.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-5); }
.contact-card .field { margin-bottom: var(--sp-4); }
.contact-fields .field { margin-bottom: 0; }
.contact-card label, .contact-card legend { font-weight: var(--fw-semi); font-size: .9rem; color: var(--c-ink-900); margin-bottom: 6px; display: block; }
.field__optional { font-weight: 500; font-size: .72rem; color: var(--c-ink-400); text-transform: uppercase; letter-spacing: .06em; margin-left: 4px; }

.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--c-ink-400); pointer-events: none; transition: color .2s ease; }
.contact-card .input-icon input { padding-left: 42px; }
.contact-card input[type="text"], .contact-card input[type="email"], .contact-card input[type="tel"], .contact-card textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--c-line);
  background: var(--c-surface-2, #f8fafc);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-card textarea { padding: 12px 14px; min-height: 140px; }
.contact-card input:focus, .contact-card textarea:focus { border-color: var(--c-blue-500); background: var(--c-surface); box-shadow: 0 0 0 4px rgba(59, 130, 246, .14); outline: none; }
.input-icon:focus-within > svg { color: var(--c-blue-600); }
.contact-card [aria-invalid="true"] { border-color: var(--c-danger) !important; }

.choice-field { border: 0; padding: 0; min-width: 0; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip { position: relative; margin: 0 !important; cursor: pointer; }
.choice-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-chip span {
  display: inline-flex; align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--c-line);
  background: var(--c-surface);
  color: var(--c-ink-700);
  font-size: .86rem; font-weight: 500;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.choice-chip:hover span { border-color: var(--c-blue-500); color: var(--c-blue-600); }
.choice-chip input:checked + span { background: #0b1f4d; border-color: #0b1f4d; color: #fff; box-shadow: 0 8px 18px -10px rgba(11, 31, 77, .8); }
.choice-chips--soft .choice-chip input:checked + span { background: var(--c-gold-grad); border-color: transparent; color: #0b1b3d; }
.choice-chip input:focus-visible + span { outline: 2px solid var(--c-blue-500); outline-offset: 2px; }
html[data-theme="dark"] .choice-chip input:checked + span { background: #f2cf6b; border-color: #f2cf6b; color: #0b1b3d; }

.contact-submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--c-line); }
.contact-submit .btn { min-width: 220px; justify-content: center; }
.contact-submit__note { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; margin: 0; color: var(--c-ink-500); font-size: .82rem; }
.contact-submit__note svg { width: 14px; height: 14px; color: #16a34a; flex: none; }

.contact-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: var(--sp-5); }
.contact-direct {
  padding: 1.7rem;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(300px 180px at 100% 0%, rgba(59, 130, 246, .4), transparent 60%),
    linear-gradient(150deg, #0a1d47, #0d2b63);
  box-shadow: 0 30px 70px -40px rgba(11, 31, 77, .6);
}
.contact-direct h2 { color: #fff; font-size: 1.25rem; margin: 0 0 4px; }
.contact-direct__sub { color: rgba(255, 255, 255, .7); font-size: .9rem; margin: 0 0 var(--sp-5); }
.contact-direct__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-direct__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: #fff; line-height: 1.45; }
.contact-direct__list small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.contact-direct__list a { color: #fff; text-decoration: none; word-break: break-word; }
.contact-direct__list a:hover { color: #f2cf6b; }
.contact-direct__ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; --c: #60a5fa; color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.contact-direct__ic svg { width: 17px; height: 17px; }
.contact-direct__ic--green { --c: #25d366; }
.contact-direct__ic--gold { --c: #f2cf6b; }
.contact-direct__ic--rose { --c: #fb7185; }
.contact-direct__ic--violet { --c: #a78bfa; }
.contact-direct__wa { width: 100%; justify-content: center; margin-top: var(--sp-5); }

.contact-next { padding: 1.5rem; border-radius: 20px; background: var(--c-surface); border: 1px solid var(--c-line); }
.contact-next h2 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 0 0 var(--sp-4); }
.contact-next h2 svg { width: 16px; height: 16px; color: var(--c-gold-600); }
.contact-next ol { list-style: none; margin: 0; padding: 0; counter-reset: next; }
.contact-next li { counter-increment: next; position: relative; padding: 0 0 16px 40px; font-size: .88rem; color: var(--c-ink-600); }
.contact-next li:last-child { padding-bottom: 0; }
.contact-next li::before { content: counter(next); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--c-blue-50); color: var(--c-blue-600); font-weight: var(--fw-bold); font-size: .78rem; }
.contact-next li:not(:last-child)::after { content: ""; position: absolute; left: 12.5px; top: 28px; bottom: 4px; width: 1.5px; background: var(--c-line); }
.contact-next b { display: block; color: var(--c-ink-900); }

@media (max-width: 1024px) {
  .contact-v2__grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .contact-hero { padding: 1.75rem 0 4.5rem; }
  .contact-hero__actions { flex-direction: column; }
  .contact-quick { width: 100%; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-card { border-radius: 20px; }
  .contact-card__head h2 { font-size: 1.25rem; }
  .contact-aside { grid-template-columns: 1fr; }
  .contact-submit .btn { width: 100%; }
  .choice-chip span { font-size: .82rem; padding: 8px 13px; }
}

/* ==========================================================================
   35. v4.3 polish — page progress line
   ========================================================================== */
.read-progress--page { height: 2px; z-index: 300; }
.read-progress--page span { transition: transform .08s linear; }
@media print { .read-progress { display: none !important; } }

/* ==========================================================================
   36. Legal pages (privacy, terms, cookies, refunds, disclaimer, security)
   ========================================================================== */
.legal-hero {
  position: relative; overflow: hidden;
  padding: 2.25rem 0 5.5rem;
  color: #fff;
  background:
    radial-gradient(700px 340px at 88% 10%, rgba(59, 130, 246, .38), transparent 62%),
    radial-gradient(560px 280px at 0% 100%, rgba(242, 207, 107, .14), transparent 60%),
    linear-gradient(160deg, #0a1d47, #0d2b63 60%, #0b2257);
}
.legal-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.legal-hero .container { position: relative; }
.legal-hero .breadcrumbs, .legal-hero .breadcrumbs a { color: rgba(255, 255, 255, .7); }
.legal-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; margin-top: var(--sp-4); }
.legal-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(242, 207, 107, .45); background: rgba(242, 207, 107, .08);
  color: #f2cf6b; font-size: .75rem; font-weight: var(--fw-bold); letter-spacing: .12em; text-transform: uppercase;
}
.legal-hero__eyebrow svg { width: 14px; height: 14px; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; margin: var(--sp-4) 0 var(--sp-3); letter-spacing: -.02em; }
.legal-hero__lead { max-width: 640px; color: rgba(255, 255, 255, .8); font-size: var(--fs-md); margin: 0 0 var(--sp-5); }
.legal-hero__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.legal-hero__meta li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85); font-size: .82rem; font-weight: var(--fw-semi);
}
.legal-hero__meta svg { width: 14px; height: 14px; color: #f2cf6b; }
.legal-hero__badge { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.legal-hero__badge-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed rgba(242, 207, 107, .45);
  animation: legal-spin 30s linear infinite;
}
.legal-hero__badge-ring::after {
  content: ""; position: absolute; inset: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
}
.legal-hero__badge-icon {
  position: relative; display: grid; place-items: center;
  width: 76px; height: 76px; border-radius: 22px;
  background: var(--c-gold-grad); color: #0b1b3d;
  box-shadow: 0 18px 40px rgba(217, 164, 25, .35);
}
.legal-hero__badge-icon svg { width: 34px; height: 34px; }
@keyframes legal-spin { to { transform: rotate(360deg); } }

/* "The short version" cards, overlapping the hero. */
.legal-highlights { position: relative; margin-top: -3.75rem; z-index: 2; }
.legal-highlights__title {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 .75rem;
  color: rgba(255, 255, 255, .85); font-size: .78rem; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase;
}
.legal-highlights__title svg { width: 15px; height: 15px; color: #f2cf6b; }
.legal-highlights__grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.legal-highlights__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legal-highlights__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legal-highlight {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px; border-radius: 16px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  box-shadow: 0 12px 32px rgba(11, 27, 61, .10);
  transition: transform .25s ease, box-shadow .25s ease;
}
.legal-highlight:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 27, 61, .14); }
.legal-highlight__icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--c-blue-50, #eff6ff); color: var(--c-blue-600, #2563eb);
}
.legal-highlight__icon svg { width: 18px; height: 18px; }
.legal-highlight__title { margin: 0 0 4px; font-weight: var(--fw-bold); color: var(--c-ink-900); font-size: .98rem; line-height: 1.3; }
.legal-highlight__text { margin: 0; color: var(--c-ink-600); font-size: .86rem; line-height: 1.5; }

/* The document itself. */
.legal-section { padding-top: 2.5rem; }
.legal-doc {
  min-width: 0;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 20px;
  box-shadow: 0 1px 3px rgba(11, 27, 61, .05);
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
}
.legal-doc__body { counter-reset: legal; }
.legal-doc__body > h2:first-child { margin-top: 0; }
.legal-doc__body h2 {
  counter-increment: legal;
  padding-left: 52px !important; min-height: 38px; display: flex; align-items: center;
  font-size: 1.3rem;
}
.legal-doc__body h2::before {
  content: counter(legal, decimal-leading-zero) !important;
  width: 38px !important; height: 38px; top: 50% !important; bottom: auto !important; translate: 0 -50%;
  display: grid; place-items: center;
  border-radius: 11px !important; background: var(--c-gold-grad) !important;
  color: #0b1b3d; font-size: .8rem; font-weight: var(--fw-bold); letter-spacing: .02em;
}
.legal-doc__body p, .legal-doc__body li { color: var(--c-ink-700, #334155); }
.legal-doc__body p strong { color: var(--c-ink-900); }
.legal-doc__body a { color: var(--c-blue-600, #2563eb); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: 2.5rem; padding: 20px 22px; border-radius: 16px;
  background:
    radial-gradient(400px 160px at 100% 0%, rgba(59, 130, 246, .35), transparent 60%),
    linear-gradient(140deg, #0b1d4a, #0d2b63);
  color: #fff;
}
.legal-doc__foot > div { flex: 1 1 260px; }
.legal-doc__foot-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(242, 207, 107, .15); color: #f2cf6b; }
.legal-doc__foot-icon svg { width: 22px; height: 22px; }
.legal-doc__foot-title { margin: 0 0 2px; font-weight: var(--fw-bold); font-size: 1.05rem; color: #fff; }
.legal-doc__foot p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .92rem; }
.legal-doc__foot a:not(.btn) { color: #f2cf6b; }

/* Sidebar: list of all policies. */
.legal-docs {
  padding: 18px; border-radius: 16px; background: var(--c-surface); border: 1px solid var(--c-line);
}
.legal-docs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.legal-docs a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px;
  color: var(--c-ink-700, #334155); font-size: .9rem; font-weight: var(--fw-semi); text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.legal-docs a svg { width: 16px; height: 16px; flex: none; color: var(--c-ink-400, #94a3b8); }
.legal-docs a:hover { background: var(--c-surface-2); color: var(--c-ink-900); text-decoration: none; }
.legal-docs a.is-current { background: var(--c-blue-50, #eff6ff); color: var(--c-blue-600, #2563eb); }
.legal-docs a.is-current svg { color: var(--c-gold-600, #b8860b); }

@media (max-width: 1100px) {
  .legal-highlights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .legal-hero { padding-bottom: 4.75rem; }
  .legal-hero__badge { display: none; }
  .legal-hero__grid { grid-template-columns: 1fr; }
  .legal-highlights__grid--3 { grid-template-columns: 1fr; }
  .legal-docs { display: none; }
}
@media (max-width: 600px) {
  .legal-highlights__grid { grid-template-columns: 1fr; }
  .legal-doc { border-radius: 16px; }
  .legal-doc__body h2 { font-size: 1.12rem; padding-left: 46px !important; }
  .legal-doc__body h2::before { width: 34px !important; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .legal-hero__badge-ring { animation: none; } }
html[data-theme="dark"] .legal-highlight, html[data-theme="dark"] .legal-doc, html[data-theme="dark"] .legal-docs { box-shadow: none; }
html[data-theme="dark"] .legal-highlight__icon { background: rgba(59, 130, 246, .15); color: #93c5fd; }
html[data-theme="dark"] .legal-docs a.is-current { background: rgba(59, 130, 246, .15); color: #bfdbfe; }
html[data-theme="dark"] .legal-doc__body p, html[data-theme="dark"] .legal-doc__body li { color: var(--c-ink-600); }
.legal-hero .breadcrumbs [aria-current="page"] { color: #f2cf6b; font-weight: var(--fw-semi); }
.legal-hero .breadcrumbs a:hover { color: #fff; }

/* ==========================================================================
   37. Home "About" — tighter spacing, realistic device showcase image
   ========================================================================== */
.section--about { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.section--about + .section { padding-top: clamp(2.5rem, 5vw, 3.75rem); }
.section--about .about-split { align-items: center; gap: clamp(1.75rem, 4vw, 3.5rem); }
.section--about .about-split__media img { border-radius: 22px; box-shadow: 0 40px 80px -36px rgba(6, 15, 36, .55); }
.section--about .about-split__copy h2 { margin-bottom: var(--sp-4); }
.section--about .about-split__copy p { margin-bottom: 0; }
.section--about .about-split__copy .check-list { margin: var(--sp-5) 0 var(--sp-6); }
@media (min-width: 901px) { .section--about .about-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* ==========================================================================
   38. Dev Connect community page
   ========================================================================== */
.dc-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 2rem 0 4.5rem;
  background:
    radial-gradient(720px 380px at 90% 0%, rgba(59, 130, 246, .42), transparent 62%),
    radial-gradient(600px 320px at 0% 100%, rgba(242, 207, 107, .16), transparent 60%),
    linear-gradient(160deg, #0a1d47, #0d2b63 58%, #0b2257);
}
.dc-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.dc-hero .container { position: relative; }
.dc-hero .breadcrumbs, .dc-hero .breadcrumbs a { color: rgba(255, 255, 255, .7); }
.dc-hero .breadcrumbs [aria-current="page"] { color: #f2cf6b; }
.dc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.dc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--sp-4);
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(242, 207, 107, .45); background: rgba(242, 207, 107, .08);
  color: #f2cf6b; font-size: .75rem; font-weight: var(--fw-bold); letter-spacing: .12em; text-transform: uppercase;
}
.dc-eyebrow svg { width: 14px; height: 14px; }
.dc-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -.025em; margin: var(--sp-4) 0 var(--sp-3); }
.dc-hero h1 span { background: var(--c-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-hero__lead { color: rgba(255, 255, 255, .82); font-size: var(--fs-md); max-width: 560px; margin: 0 0 var(--sp-2); }
.dc-hero__motto { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #93c5fd; font-weight: 700; margin: 0 0 var(--sp-6); }
.dc-hero__motto::before { content: "> "; color: #f2cf6b; }
.dc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dc-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.dc-btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.dc-hero__meta { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.dc-hero__meta li { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .8); font-size: .88rem; font-weight: var(--fw-semi); }
.dc-hero__meta svg { width: 15px; height: 15px; color: #f2cf6b; }

.dc-hero__panel {
  display: grid; gap: 10px; padding: 18px; border-radius: 22px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); backdrop-filter: blur(6px);
}
.dc-feature { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); transition: background .2s ease, transform .2s ease; }
.dc-feature:hover { background: rgba(255, 255, 255, .1); transform: translateX(3px); }
.dc-feature__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c-gold-grad); color: #0b1b3d; }
.dc-feature__icon svg { width: 18px; height: 18px; }
.dc-feature__title { margin: 0; font-weight: var(--fw-bold); color: #fff; }
.dc-feature__text { margin: 2px 0 0; color: rgba(255, 255, 255, .7); font-size: .88rem; }

.dc-rules { position: relative; margin-top: -1.9rem; z-index: 2; }
.dc-rules__box {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px;
  background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: 0 16px 36px -18px rgba(11, 27, 61, .35);
}
.dc-rules__box p { margin: 0; color: var(--c-ink-700, #334155); }
.dc-rules__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c-success-bg); color: var(--c-success); }
.dc-rules__icon svg { width: 18px; height: 18px; }

.dc-why { padding-bottom: 1rem; }
.dc-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: var(--sp-6); }
.dc-why__card { padding: 22px; border-radius: 18px; background: var(--c-surface); border: 1px solid var(--c-line); transition: transform .25s ease, box-shadow .25s ease; }
.dc-why__card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(11, 27, 61, .35); }
.dc-why__card h3 { font-size: 1.05rem; margin: var(--sp-3) 0 6px; }
.dc-why__card p { margin: 0; color: var(--c-ink-600); font-size: .92rem; }
.dc-why__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--c-blue-50, #eff6ff); color: var(--c-blue-600, #2563eb); }
.dc-why__icon svg { width: 20px; height: 20px; }
.dc-privacy { display: flex; gap: 10px; align-items: flex-start; max-width: 820px; margin: var(--sp-6) auto 0; color: var(--c-ink-600); font-size: .9rem; text-align: left; }
.dc-privacy svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--c-gold-600, #b8860b); }

.dc-form-section { padding-top: 2rem; }
.dc-form-wrap { max-width: 860px; }
.dc-card .choice-field { margin-top: var(--sp-5); }
.dc-other { margin-top: 10px; }
.dc-form select { width: 100%; }
.dc-consent { display: flex; gap: 10px; align-items: flex-start; margin: var(--sp-6) 0 var(--sp-2); font-size: .92rem; color: var(--c-ink-700, #334155); cursor: pointer; }
.dc-consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: #d9a419; }
.dc-submit { margin-top: var(--sp-4); }
.dc-already { text-align: center; margin: var(--sp-5) 0 0; font-size: .9rem; color: var(--c-ink-600); }

.dc-done {
  text-align: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 24px; color: #fff;
  background: radial-gradient(500px 240px at 50% 0%, rgba(59, 130, 246, .4), transparent 65%), linear-gradient(150deg, #0b1d4a, #0d2b63);
  box-shadow: 0 30px 70px -35px rgba(6, 15, 36, .7);
}
.dc-done h2 { color: #fff; margin: var(--sp-4) 0 var(--sp-2); }
.dc-done p { color: rgba(255, 255, 255, .8); max-width: 520px; margin: 0 auto var(--sp-6); }
.dc-done__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(34, 197, 94, .18); color: #4ade80; }
.dc-done__icon svg { width: 36px; height: 36px; }
.dc-done__note { margin-bottom: 0 !important; }

@media (max-width: 980px) {
  .dc-hero__grid { grid-template-columns: 1fr; }
  .dc-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dc-why__grid { grid-template-columns: 1fr; }
  .dc-rules__box { align-items: flex-start; }
  .dc-hero__actions .btn { width: 100%; justify-content: center; }
}
html[data-theme="dark"] .dc-why__icon { background: rgba(59, 130, 246, .15); color: #93c5fd; }
html[data-theme="dark"] .dc-rules__box p, html[data-theme="dark"] .dc-consent { color: var(--c-ink-600); }
.dc-card input[type="url"], .dc-card select {
  width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--c-line);
  background: var(--c-surface-2, #f8fafc); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.dc-card select { padding: 0 14px; }
.dc-card input[type="url"]:focus, .dc-card select:focus { border-color: var(--c-blue-500); background: var(--c-surface); box-shadow: 0 0 0 4px rgba(59, 130, 246, .14); outline: none; }
.dc-card textarea { min-height: 100px; }

/* Dev Connect — tidy skill / interest picker (replaces the loose chips) */
.dc-pick-field { margin-top: var(--sp-5); border: 0; padding: 0; min-width: 0; }
.dc-pick-field legend { font-weight: var(--fw-semi); margin-bottom: .35rem; }
.dc-pick-group {
  display: flex; align-items: center; gap: 10px; margin: 1rem 0 .5rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-500);
}
.dc-pick-group::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.dc-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 8px; }
.dc-pick-field > .dc-pick-grid:first-of-type { margin-top: .4rem; }
.dc-pick {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 9px 12px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid var(--c-line); background: var(--c-surface-2, #f8fafc);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.dc-pick:hover { border-color: #93c5fd; }
.dc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.dc-pick__box {
  flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid #cbd5e1; background: var(--c-surface); color: transparent; transition: all .18s ease;
}
.dc-pick__box svg { width: 12px; height: 12px; }
.dc-pick__label { font-size: .9rem; font-weight: 600; line-height: 1.25; color: var(--c-ink-800, #1e293b); }
.dc-pick:has(input:checked) { border-color: #d9a419; background: rgba(242, 207, 107, .14); }
.dc-pick input:checked + .dc-pick__box { background: var(--c-gold-grad); border-color: #c8930f; color: #0b1b3d; }
.dc-pick input:focus-visible + .dc-pick__box { outline: 2px solid #3b82f6; outline-offset: 2px; }
.dc-pick-field .dc-other { margin-top: 10px; }

html[data-theme="dark"] .dc-pick { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .dc-pick:hover { border-color: rgba(147, 197, 253, .6); }
html[data-theme="dark"] .dc-pick__box { background: transparent; border-color: rgba(255, 255, 255, .35); }
html[data-theme="dark"] .dc-pick__label { color: #e2e8f0; }
html[data-theme="dark"] .dc-pick:has(input:checked) { background: rgba(242, 207, 107, .12); border-color: #d9a419; }
html[data-theme="dark"] .dc-pick-group { color: #94a3b8; }
html[data-theme="dark"] .dc-pick-group::after { background: rgba(255, 255, 255, .12); }
@media (max-width: 560px) { .dc-pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dc-pick__label { font-size: .84rem; } }
.dc-card .dc-pick-field label.dc-pick { display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 0; }
.dc-card .dc-pick-field label.dc-pick .dc-pick__label { margin: 0; }

/* ==========================================================================
   39. Dev Connect member directory
   ========================================================================== */
.dc-hero--slim { padding: 2rem 0 4rem; }
.dc-hero--slim .dc-hero__lead { max-width: 680px; }
.dc-rules__box--warn .dc-rules__icon { background: var(--c-warning-bg); color: var(--c-warning); }
.dc-rules__box--warn a { font-weight: var(--fw-bold); white-space: nowrap; }

.dc-dir { padding-top: 2.2rem; }
.dc-dir__filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px;
  border-radius: 18px; background: var(--c-surface); border: 1px solid var(--c-line);
  box-shadow: 0 14px 34px -24px rgba(11, 27, 61, .35);
}
.dc-dir__search { flex: 1 1 280px; }
.dc-dir__filters input[type="search"], .dc-dir__filters select {
  width: 100%; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--c-line); background: var(--c-surface-2);
}
.dc-dir__filters select { flex: 0 1 200px; width: auto; padding: 0 12px; }
.dc-dir__filters input:focus, .dc-dir__filters select:focus { outline: none; border-color: var(--c-blue-500); box-shadow: 0 0 0 4px rgba(59, 130, 246, .14); }
.dc-dir__filters .btn { min-height: 46px; }
.dc-dir__reset { font-size: .9rem; font-weight: var(--fw-semi); }
.dc-dir__count { margin: 1.4rem 0 1rem; color: var(--c-ink-600); }

.dc-dir__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.dc-member {
  display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.dc-member:hover { transform: translateY(-4px); border-color: #bfd3f5; box-shadow: 0 22px 44px -26px rgba(11, 27, 61, .4); }
.dc-member__head { display: flex; align-items: center; gap: 14px; }
.dc-member__avatar {
  flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; color: #fff;
}
.dc-member__avatar--blue { background: linear-gradient(135deg, #3b82f6, #1a4bab); }
.dc-member__avatar--gold { background: var(--c-gold-grad); color: #0b1b3d; }
.dc-member__avatar--teal { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.dc-member__avatar--violet { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.dc-member__avatar--rose { background: linear-gradient(135deg, #fb7185, #be123c); }
.dc-member__who { min-width: 0; }
.dc-member__name { margin: 0; font-size: 1.08rem; line-height: 1.25; overflow-wrap: anywhere; }
.dc-member__role { margin: 2px 0 0; font-size: .86rem; font-weight: var(--fw-semi); color: var(--c-blue-500); }
.dc-member__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dc-member__facts li { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: var(--c-ink-600); }
.dc-member__facts svg { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--c-gold-600); }
.dc-member__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-member__tags span {
  padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: var(--c-blue-50); color: var(--c-blue-600); border: 1px solid var(--c-blue-100);
}
.dc-member__tags .dc-member__more { background: var(--c-gold-50); color: var(--c-gold-700); border-color: var(--c-gold-100); }
.dc-member__interests { margin: 0; font-size: .86rem; color: var(--c-ink-600); }
.dc-member__interests strong { color: var(--c-ink-700); }
.dc-member__goal { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--c-surface-2); font-size: .86rem; font-style: italic; color: var(--c-ink-600); overflow-wrap: anywhere; }
.dc-member__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--c-line-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dc-member__links { display: flex; gap: 6px; }
.dc-member__links a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--c-line); color: var(--c-ink-700); background: var(--c-surface-2);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.dc-member__links a:hover { background: #0b1b3d; color: #fff; border-color: #0b1b3d; }
.dc-member__links svg { width: 16px; height: 16px; }
.dc-member__since { font-size: .78rem; color: var(--c-ink-500); white-space: nowrap; }
.dc-dir__pages { margin-top: 1.6rem; }

.dc-dir__empty { text-align: center; padding: clamp(2rem, 6vw, 3.5rem) 1rem; margin-top: 1.4rem; border-radius: 20px; border: 1.5px dashed var(--c-line); background: var(--c-surface); }
.dc-dir__empty .dc-why__icon { margin: 0 auto; }
.dc-dir__empty h2 { font-size: 1.3rem; margin: var(--sp-4) 0 6px; }
.dc-dir__empty p { color: var(--c-ink-600); max-width: 480px; margin: 0 auto var(--sp-5); }

.dc-disclaimer { padding-top: 1rem; }
.dc-disclaimer__card {
  padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 24px; background: var(--c-surface);
  border: 1px solid var(--c-line); border-top: 4px solid #d9a419; box-shadow: 0 24px 50px -34px rgba(11, 27, 61, .45);
}
.dc-disclaimer__head { display: flex; align-items: center; gap: 16px; margin-bottom: var(--sp-5); }
.dc-disclaimer__head h2 { margin: 2px 0 0; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.dc-disclaimer__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--c-gold-grad); color: #0b1b3d; }
.dc-disclaimer__icon svg { width: 24px; height: 24px; }
.dc-disclaimer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dc-disclaimer__grid > div { padding: 16px; border-radius: 16px; background: var(--c-surface-2); border: 1px solid var(--c-line-soft); }
.dc-disclaimer__grid h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .98rem; }
.dc-disclaimer__grid h3 svg { flex: none; width: 17px; height: 17px; color: var(--c-blue-500); }
.dc-disclaimer__grid p { margin: 0; font-size: .88rem; color: var(--c-ink-600); overflow-wrap: anywhere; }
.dc-disclaimer__legal { margin: var(--sp-5) 0 0; padding-top: var(--sp-4); border-top: 1px solid var(--c-line); font-size: .84rem; color: var(--c-ink-500); }

/* Directory link on the main Dev Connect page */
.dc-dir-cta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  margin-top: var(--sp-6); padding: 18px 22px; border-radius: 18px; color: #fff; text-align: left;
  background: radial-gradient(420px 200px at 100% 0%, rgba(59, 130, 246, .45), transparent 65%), linear-gradient(150deg, #0b1d4a, #0d2b63);
}
.dc-dir-cta__text { display: flex; align-items: center; gap: 14px; }
.dc-dir-cta__text p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .92rem; }
.dc-dir-cta__text strong { display: block; color: #fff; font-size: 1.05rem; }
.dc-dir-cta .dc-feature__icon { width: 46px; height: 46px; }
.dc-consent--dir { margin-top: var(--sp-5); padding: 14px 16px; border-radius: 14px; background: var(--c-blue-50); border: 1px solid var(--c-blue-100); }
.dc-consent--dir small { display: block; margin-top: 4px; color: var(--c-ink-500); font-size: .82rem; }

@media (max-width: 980px) { .dc-disclaimer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .dc-disclaimer__grid { grid-template-columns: 1fr; }
  .dc-dir__filters select { flex: 1 1 140px; }
  .dc-dir__filters .btn { flex: 1 1 100%; justify-content: center; }
  .dc-dir__grid { grid-template-columns: 1fr; }
}
html[data-theme="dark"] .dc-member, html[data-theme="dark"] .dc-dir__filters, html[data-theme="dark"] .dc-disclaimer__card, html[data-theme="dark"] .dc-dir__empty { border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dc-member__tags span { background: rgba(59, 130, 246, .14); color: #93c5fd; border-color: rgba(59, 130, 246, .3); }
html[data-theme="dark"] .dc-member__tags .dc-member__more { background: rgba(242, 207, 107, .12); color: #f2cf6b; border-color: rgba(242, 207, 107, .3); }
html[data-theme="dark"] .dc-member__role { color: #93c5fd; }
html[data-theme="dark"] .dc-member__links a:hover { background: #f2cf6b; color: #0b1b3d; border-color: #f2cf6b; }
html[data-theme="dark"] .dc-disclaimer__grid h3 svg { color: #93c5fd; }
html[data-theme="dark"] .dc-consent--dir { background: rgba(59, 130, 246, .1); border-color: rgba(59, 130, 246, .25); }
.dc-dir__search input { padding-left: 42px; }
.dc-card label.dc-consent { display: flex; font-weight: 400; margin-bottom: 0; }
.dc-card label.dc-consent--dir { margin-bottom: var(--sp-2); }

/* ==========================================================================
   40. Dev Connect — "before you join" popup and profile picture
   ========================================================================== */
.dc-pic-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: var(--sp-5);
  border-radius: 16px; border: 1.5px dashed #93c5fd; background: var(--c-blue-50);
}
.dc-pic-row.is-set { border-style: solid; border-color: #d9a419; background: rgba(242, 207, 107, .12); }
.dc-pic-row.has-error { border-color: var(--c-danger); background: var(--c-danger-bg); }
.dc-pic-row__img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #e2e8f0; box-shadow: 0 0 0 3px #fff, 0 6px 16px -6px rgba(11, 27, 61, .4); }
.dc-pic-row__text { flex: 1; min-width: 0; }
.dc-pic-row__title { margin: 0; font-weight: var(--fw-bold); color: var(--c-ink-900); }
.dc-pic-row__hint { margin: 2px 0 0; font-size: .86rem; color: var(--c-ink-600); }
.dc-pic-row__btn { flex: none; }
.dc-pic-row__btn svg { width: 14px; height: 14px; }

/* Without JS the popup is an inline card above the form. */
.dc-gate { margin-bottom: var(--sp-5); }
.dc-gate__box { position: relative; padding: clamp(1.2rem, 4vw, 1.8rem); border-radius: 22px; background: var(--c-surface); border: 1px solid var(--c-line); }
.dc-gate__close, .dc-gate__go { display: none; }
.js .dc-gate__close, .js .dc-gate__go { display: inline-flex; }

.dc-gate.is-modal {
  position: fixed; inset: 0; z-index: 1000; margin: 0; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(6, 15, 36, .62); backdrop-filter: blur(4px);
}
.dc-gate.is-modal.is-open { display: flex; animation: dcFade .2s ease; }
.dc-gate.is-modal .dc-gate__box {
  width: 100%; max-width: 620px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); animation: dcPop .25s ease;
}
html.dc-gate-lock, html.dc-gate-lock body { overflow: hidden; }
@keyframes dcFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dcPop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

.dc-gate__close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--c-surface-3); color: var(--c-ink-700); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.dc-gate__close:hover { background: var(--c-line); }
.dc-gate__eyebrow {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  background: var(--c-gold-50); color: var(--c-gold-700); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.dc-gate__eyebrow svg { width: 13px; height: 13px; }
.dc-gate h2 { margin: 10px 0 12px; font-size: clamp(1.3rem, 3vw, 1.6rem); }
.dc-gate__rules { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: grid; gap: 8px; }
.dc-gate__rules li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--c-surface-2); font-size: .9rem; color: var(--c-ink-700); }
.dc-gate__rules svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--c-blue-500); }
.dc-gate__title { margin: 0; font-size: 1.05rem; }
.dc-gate__sub { margin: 2px 0 12px; font-size: .88rem; color: var(--c-ink-600); }

.dc-upload {
  position: relative; display: flex !important; align-items: center; gap: 14px; padding: 14px; margin: 0 !important; cursor: pointer;
  border-radius: 16px; border: 1.5px dashed #93c5fd; background: var(--c-blue-50); transition: border-color .18s ease, background .18s ease;
}
.dc-upload:hover { border-color: var(--c-blue-500); }
.dc-upload.is-set { border-style: solid; border-color: #d9a419; background: rgba(242, 207, 107, .14); }
.dc-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dc-upload__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-surface); color: var(--c-blue-500); box-shadow: 0 4px 12px -6px rgba(11, 27, 61, .35); }
.dc-upload__icon[hidden], .dc-upload__preview[hidden] { display: none; }
.dc-upload__icon svg { width: 20px; height: 20px; }
.dc-upload__preview { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; }
.dc-upload__text { display: grid; gap: 2px; min-width: 0; font-weight: 400; }
.dc-upload__text strong { color: var(--c-ink-900); overflow-wrap: anywhere; }
.dc-upload__text small { color: var(--c-ink-500); font-size: .8rem; }

.dc-gate__or { display: flex; align-items: center; gap: 12px; margin: 16px 0 6px; color: var(--c-ink-500); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dc-gate__or::before, .dc-gate__or::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.dc-gate__group { margin: 10px 0 6px; font-size: .82rem; font-weight: 700; color: var(--c-ink-600); }
.dc-avatars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.dc-avatar { position: relative; display: block !important; margin: 0 !important; cursor: pointer; border-radius: 50%; }
.dc-avatar input { position: absolute; opacity: 0; pointer-events: none; }
.dc-avatar img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; border: 3px solid transparent; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.dc-avatar:hover img { transform: translateY(-2px); }
.dc-avatar input:checked + img { border-color: #d9a419; box-shadow: 0 0 0 3px rgba(242, 207, 107, .45); }
.dc-avatar input:focus-visible + img { outline: 2px solid #3b82f6; outline-offset: 2px; }
.dc-avatar:has(input:checked)::after {
  content: "✓"; position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: #d9a419; color: #0b1b3d; font-size: .75rem; font-weight: 900; box-shadow: 0 0 0 2px #fff;
}

.dc-gate__agree { display: flex !important; gap: 10px; align-items: flex-start; margin: 18px 0 0 !important; font-weight: 400 !important; font-size: .9rem; cursor: pointer; }
.dc-gate__agree input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: #d9a419; }
.dc-gate__err { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--c-danger-bg); color: var(--c-danger); font-size: .88rem; font-weight: 600; }
.dc-gate__err[hidden] { display: none; }
.dc-gate__go { margin-top: 14px; justify-content: center; }

@media (max-width: 560px) {
  .dc-avatars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .dc-avatars .dc-avatar { max-width: 84px; justify-self: center; width: 100%; }
  .dc-pic-row { flex-wrap: wrap; }
  .dc-pic-row__btn { width: 100%; justify-content: center; }
}

/* Directory card picture */
.dc-member__photo { flex: none; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: #e2e8f0; box-shadow: 0 0 0 3px var(--c-surface), 0 0 0 5px #f2cf6b; }

html[data-theme="dark"] .dc-pic-row, html[data-theme="dark"] .dc-upload { background: rgba(59, 130, 246, .08); border-color: rgba(147, 197, 253, .45); }
html[data-theme="dark"] .dc-gate__rules li { color: #cbd5e1; }
html[data-theme="dark"] .dc-gate__eyebrow { background: rgba(242, 207, 107, .12); color: #f2cf6b; }
html[data-theme="dark"] .dc-upload__icon { background: rgba(255, 255, 255, .08); color: #93c5fd; }

/* ==========================================================================
   41. Portfolio project page
   ========================================================================== */
.pf-hero {
  position: relative; overflow: hidden; color: #fff; padding: 2rem 0 4rem;
  background:
    radial-gradient(760px 420px at 92% 0%, rgba(59, 130, 246, .45), transparent 62%),
    radial-gradient(600px 340px at 0% 100%, rgba(242, 207, 107, .16), transparent 60%),
    linear-gradient(160deg, #0a1d47, #0d2b63 58%, #0b2257);
}
.pf-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%); mask-image: linear-gradient(180deg, #000, transparent 92%);
}
.pf-hero--with-shot { padding-bottom: 11rem; }
.pf-hero__inner { position: relative; max-width: 980px; text-align: center; }
.pf-hero .breadcrumbs { justify-content: center; }
.pf-hero .breadcrumbs, .pf-hero .breadcrumbs a { color: rgba(255, 255, 255, .7); }
.pf-hero .breadcrumbs [aria-current="page"] { color: #f2cf6b; }
.pf-hero__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--sp-5); }
.pf-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.pf-chip svg { width: 13px; height: 13px; }
.pf-chip--gold { color: #f2cf6b; border: 1px solid rgba(242, 207, 107, .45); background: rgba(242, 207, 107, .08); }
.pf-chip--live { color: #86efac; border: 1px solid rgba(134, 239, 172, .4); background: rgba(34, 197, 94, .1); }
.pf-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pfPulse 2s infinite; }
@keyframes pfPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.pf-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em; margin: var(--sp-4) auto var(--sp-4); max-width: 900px; }
.pf-hero__lead { color: rgba(255, 255, 255, .82); font-size: var(--fs-md); max-width: 760px; margin: 0 auto var(--sp-6); }
.pf-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pf-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.pf-btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.pf-hero__meta { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.pf-hero__meta li { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .8); font-size: .9rem; font-weight: var(--fw-semi); }
.pf-hero__meta svg { width: 15px; height: 15px; color: #f2cf6b; }
.pf-hero__meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }

.pf-shot-wrap { position: relative; z-index: 2; margin-top: -8.5rem; }
.pf-shot { margin: 0 auto; max-width: 1100px; padding: 10px; border-radius: 26px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 50px 100px -40px rgba(6, 15, 36, .55), 0 0 0 1px var(--c-line); backdrop-filter: blur(6px); }
.pf-shot a { display: block; }
.pf-shot img { display: block; width: 100%; height: auto; border-radius: 18px; transition: transform .5s ease; }
.pf-shot:hover img { transform: scale(1.01); }

.pf-body-section { padding-top: 3.5rem; }
.pf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.pf-body { min-width: 0; }

/* Case-study text */
.pf-rich > p:first-child { font-size: 1.15rem; }
.pf-rich h2 { font-size: 1.5rem; margin-top: 2.8rem; }
.pf-rich > ul { display: grid; gap: 10px; margin-bottom: 1.6rem; }
.pf-rich > ul li {
  margin: 0; padding: 14px 16px 14px 50px; border-radius: 14px;
  background: var(--c-surface); border: 1px solid var(--c-line); line-height: 1.6;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pf-rich > ul li:hover { border-color: #bfd3f5; transform: translateX(3px); box-shadow: 0 12px 26px -20px rgba(11, 27, 61, .4); }
.pf-rich > ul li::before {
  content: "✓"; left: 14px; top: 15px; width: 22px; height: 22px; display: grid; place-items: center;
  font-size: .72rem; font-weight: 900; color: #0b1b3d; background: var(--c-gold-grad); box-shadow: none;
}
.pf-rich > ol { list-style: none; padding: 0; counter-reset: pfstep; display: grid; gap: 12px; margin-bottom: 1.6rem; }
.pf-rich > ol li {
  counter-increment: pfstep; position: relative; margin: 0; padding: 16px 18px 16px 70px; border-radius: 16px;
  background: linear-gradient(135deg, var(--c-blue-50), var(--c-surface)); border: 1px solid var(--c-blue-100); line-height: 1.6;
}
.pf-rich > ol li::before {
  content: counter(pfstep); position: absolute; left: 16px; top: 14px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #1a4bab, #0b1b3d);
  box-shadow: 0 8px 18px -8px rgba(26, 75, 171, .7);
}
.pf-rich > p:last-child { margin-top: 2rem; padding: 18px 20px; border-radius: 16px; background: var(--c-gold-50); border: 1px solid var(--c-gold-100); color: var(--c-ink-900); }

.pf-gallery__title { font-size: 1.4rem; margin: 2.6rem 0 1rem; }
.pf-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pf-gallery figure { margin: 0; }
.pf-gallery img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--c-line); }
.pf-gallery figcaption { margin-top: 6px; font-size: .85rem; color: var(--c-ink-500); }

/* Sidebar */
.pf-side { position: sticky; top: calc(var(--header-h, 72px) + 20px); display: grid; gap: 18px; }
.pf-card { padding: 22px; border-radius: 20px; background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: 0 20px 44px -30px rgba(11, 27, 61, .4); }
.pf-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 1.02rem; }
.pf-card__title svg { width: 17px; height: 17px; color: var(--c-blue-500); }
.pf-card__label { margin: 16px 0 8px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-500); }
.pf-facts { margin: 0 0 18px; display: grid; }
.pf-facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--c-line); }
.pf-facts > div:last-child { border-bottom: 0; }
.pf-facts dt { color: var(--c-ink-500); font-size: .88rem; }
.pf-facts dd { margin: 0; text-align: right; font-weight: var(--fw-semi); color: var(--c-ink-900); font-size: .9rem; overflow-wrap: anywhere; }
.pf-status { display: inline-flex; align-items: center; gap: 7px; color: var(--c-success); }
.pf-cta {
  padding: 24px; border-radius: 20px; color: #fff;
  background: radial-gradient(360px 200px at 100% 0%, rgba(59, 130, 246, .5), transparent 65%), linear-gradient(150deg, #0b1d4a, #0d2b63);
}
.pf-cta h2 { color: #fff; font-size: 1.15rem; margin: 12px 0 6px; }
.pf-cta p { margin: 0 0 16px; color: rgba(255, 255, 255, .78); font-size: .9rem; }
.pf-cta__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--c-gold-grad); color: #0b1b3d; }
.pf-cta__icon svg { width: 20px; height: 20px; }

/* More projects */
.pf-more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: var(--sp-6); }
.pf-more__head h2 { margin: 0; font-size: var(--fs-2xl); }
.pf-more__head a { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-semi); }
.pf-more__head a svg { width: 14px; height: 14px; }
.pf-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pf-mini {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--c-surface);
  border: 1px solid var(--c-line); color: inherit; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pf-mini:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -28px rgba(11, 27, 61, .45); }
.pf-mini__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-surface-3); }
.pf-mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pf-mini:hover .pf-mini__img img { transform: scale(1.05); }
.pf-mini__ph { display: grid; place-items: center; height: 100%; color: var(--c-ink-400); }
.pf-mini__ph svg { width: 28px; height: 28px; }
.pf-mini__body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.pf-mini__cat { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-gold-700); }
.pf-mini__body strong { color: var(--c-ink-900); line-height: 1.35; }
.pf-mini__text { font-size: .88rem; color: var(--c-ink-600); }

@media (max-width: 980px) {
  .pf-layout { grid-template-columns: 1fr; }
  .pf-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pf-hero--with-shot { padding-bottom: 6.5rem; }
  .pf-shot-wrap { margin-top: -5rem; }
  .pf-shot { padding: 5px; border-radius: 16px; }
  .pf-shot img { border-radius: 12px; }
  .pf-hero__actions .btn { width: 100%; justify-content: center; }
  .pf-side { grid-template-columns: 1fr; }
  .pf-more__grid, .pf-gallery { grid-template-columns: 1fr; }
  .pf-rich > ol li { padding-left: 62px; }
}
html[data-theme="dark"] .pf-shot { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .pf-rich > ul li, html[data-theme="dark"] .pf-card, html[data-theme="dark"] .pf-mini { border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .pf-rich > ol li { background: rgba(59, 130, 246, .08); border-color: rgba(59, 130, 246, .2); }
html[data-theme="dark"] .pf-rich > p:last-child { background: rgba(242, 207, 107, .08); border-color: rgba(242, 207, 107, .2); }
html[data-theme="dark"] .pf-mini__cat { color: #f2cf6b; }

/* ==========================================================================
   42. Dev Connect member accounts (login, my profile, edit)
   ========================================================================== */
.dca-page {
  padding: 2.5rem 0 4rem; min-height: 70vh;
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(59, 130, 246, .35), transparent 62%),
    radial-gradient(560px 320px at 0% 100%, rgba(242, 207, 107, .14), transparent 60%),
    linear-gradient(160deg, #0a1d47, #0d2b63 58%, #0b2257);
}
.dca-narrow { max-width: 480px; }
.dca-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .8); font-weight: 600; font-size: .92rem; margin-bottom: 1rem; text-decoration: none; }
.dca-back:hover { color: #f2cf6b; }
.dca-back svg { width: 16px; height: 16px; }
.dca-card { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 24px 60px rgba(3, 10, 30, .35); }
.dca-card__head { text-align: center; margin-bottom: 1.5rem; }
.dca-card__head h1 { font-size: 1.6rem; margin: .75rem 0 .35rem; color: var(--c-navy-900); }
.dca-card__head p { color: var(--c-ink-500); margin: 0; }
.dca-card__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--c-gold-50), var(--c-gold-100)); color: var(--c-gold-600); }
.dca-card__icon svg { width: 28px; height: 28px; }
.dca-form .field { margin-bottom: 1rem; }
.dca-form .field input { width: 100%; }
.dca-form .btn { margin-top: .5rem; }
.dca-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.dca-label-row a { font-size: .85rem; font-weight: 600; }
.dca-foot { text-align: center; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #eef0f4; }
.dca-foot p { margin: 0 0 .4rem; }
.dca-muted { color: var(--c-ink-500); }
.dca-small { font-size: .85rem; display: flex; align-items: center; gap: 6px; margin: 1rem 0 0; }
.dca-small svg { width: 14px; height: 14px; flex: none; }
.dc-login-hint { display: flex; align-items: center; gap: 8px; background: var(--c-gold-50); border: 1px solid var(--c-gold-100); border-radius: 12px; padding: .7rem 1rem; margin: 0 0 1.25rem; font-size: .92rem; }
.dc-login-hint svg { width: 16px; height: 16px; color: var(--c-gold-600); flex: none; }
.dc-login-hint a { font-weight: 700; }
.dc-step-note { color: var(--c-ink-500); font-size: .9rem; margin: -.25rem 0 1rem; }
.dc-done__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* My profile */
.dca-hero {
  color: #fff; padding: 2.5rem 0 5rem;
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(59, 130, 246, .4), transparent 62%),
    linear-gradient(160deg, #0a1d47, #0d2b63 58%, #0b2257);
}
.dca-hero__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.dca-hero__pic { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(242, 207, 107, .85); background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.dca-hero__text { flex: 1; min-width: 220px; }
.dca-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; color: #f2cf6b; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.dca-hero__eyebrow svg { width: 15px; height: 15px; }
.dca-hero h1 { color: #fff; margin: .3rem 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.dca-hero p { color: rgba(255, 255, 255, .78); margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; overflow-wrap: anywhere; }
.dca-hero p svg { width: 15px; height: 15px; }
.dca-dot { opacity: .5; }
.dca-hero__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.dca-hero__actions form { margin: 0; }
.dca-body { padding-top: 0; margin-top: -3rem; }
.dca-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.dca-panel { background: #fff; border: 1px solid #e8ebf2; border-radius: 18px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(11, 27, 61, .07); margin-bottom: 1.5rem; }
.dca-panel__title { font-size: 1.05rem; margin: 0 0 1rem; color: var(--c-navy-900); display: flex; align-items: center; gap: 8px; }
.dca-panel__title svg { width: 18px; height: 18px; color: var(--c-gold-600); }
.dca-status { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dca-status > div { flex: 1; min-width: 200px; }
.dca-status strong { display: block; font-size: 1.05rem; }
.dca-status p { margin: .2rem 0 0; color: var(--c-ink-500); font-size: .92rem; }
.dca-status__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; }
.dca-status__icon svg { width: 24px; height: 24px; }
.dca-status--on { border-left: 5px solid #22c55e; }
.dca-status--on .dca-status__icon { background: #dcfce7; color: #15803d; }
.dca-status--wait { border-left: 5px solid #f59e0b; }
.dca-status--wait .dca-status__icon { background: #fef3c7; color: #b45309; }
.dca-status--off { border-left: 5px solid #94a3b8; }
.dca-status--off .dca-status__icon { background: #f1f5f9; color: #475569; }
.dca-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.dca-facts dt { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-ink-500); }
.dca-facts dt svg { width: 14px; height: 14px; color: var(--c-gold-600); }
.dca-facts dd { margin: .25rem 0 0; font-weight: 600; color: var(--c-navy-900); word-break: break-word; }
.dca-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.dca-tags li { background: #e8f0ff; color: #1d4ed8; border-radius: 999px; padding: .35rem .85rem; font-size: .88rem; font-weight: 600; }
.dca-tags--soft li { background: var(--c-gold-50); color: var(--c-gold-700); }
.dca-goal { background: #f7f9fc; border-radius: 12px; padding: 1rem; margin: 0; white-space: pre-line; }
.dca-links { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.dca-links a { display: flex; align-items: center; gap: 10px; padding: .7rem .9rem; border: 1px solid #e8ebf2; border-radius: 12px; font-weight: 600; text-decoration: none; }
.dca-links a:hover { border-color: var(--c-gold-400); background: var(--c-gold-50); }
.dca-links svg { width: 18px; height: 18px; }
.dca-wa { background: #16a34a; color: #fff; border-color: #16a34a; }
.dca-wa:hover { background: #15803d; color: #fff; }
.dca-form .field label { font-size: .88rem; }
.dca-danger summary { cursor: pointer; font-weight: 700; color: #b91c1c; display: flex; align-items: center; gap: 8px; list-style: none; }
.dca-danger summary::-webkit-details-marker { display: none; }
.dca-danger summary svg { width: 18px; height: 18px; }
.dca-danger p { color: var(--c-ink-500); font-size: .9rem; margin: .75rem 0; }
.dca-btn-danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.dca-btn-danger:hover { background: #b91c1c; color: #fff; }

/* Edit */
.dca-page--wide .dc-form-wrap { max-width: 900px; }
.dca-edit-title { font-size: 1.4rem; margin: 0; }
.dca-edit-actions { display: flex; gap: .75rem; justify-content: flex-end; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #eef0f4; }
.dca-btn-light { background: #f1f5f9; color: var(--c-navy-900); border-color: #e2e8f0; }
.dca-btn-light:hover { background: #e2e8f0; color: var(--c-navy-900); }

@media (max-width: 900px) {
  .dca-grid { grid-template-columns: 1fr; }
  .dca-hero { text-align: center; }
  .dca-hero__inner { flex-direction: column; }
  .dca-hero p, .dca-hero__actions { justify-content: center; }
}
@media (max-width: 560px) {
  .dca-card { padding: 1.5rem 1.15rem; }
  .dca-facts { grid-template-columns: 1fr; }
  .dca-edit-actions .btn { flex: 1; }
}
html[data-theme="dark"] .dca-card, html[data-theme="dark"] .dca-panel { background: var(--c-navy-900); border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dca-card__head h1, html[data-theme="dark"] .dca-panel__title, html[data-theme="dark"] .dca-facts dd { color: #fff; }
html[data-theme="dark"] .dca-goal { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .dca-foot, html[data-theme="dark"] .dca-edit-actions { border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dca-links a { border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .dc-login-hint { background: rgba(242, 207, 107, .08); border-color: rgba(242, 207, 107, .2); }

/* ==========================================================================
   43. Dev Connect member area: app bar, home, updates, messages
   ========================================================================== */
/* App-style bottom bar */
body.has-dc-nav { padding-bottom: 84px; }
body.has-dc-nav .whatsapp-float, body.has-dc-nav .wa-bubble { display: none; }
body.has-dc-nav .to-top { bottom: 96px; }
.dc-appnav {
  position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 90;
  display: grid; grid-template-columns: repeat(5, 1fr); width: min(560px, calc(100% - 20px));
  background: rgba(10, 29, 71, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 6px;
  box-shadow: 0 16px 40px rgba(3, 10, 30, .35);
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}
.dc-appnav__item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px 6px; border-radius: 16px; color: rgba(255, 255, 255, .68); text-decoration: none; font-size: .72rem; font-weight: 600; transition: background .2s, color .2s; }
.dc-appnav__item:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.dc-appnav__item.is-active { color: #0b1b3d; background: linear-gradient(135deg, #f2cf6b, #e8b93a); }
.dc-appnav__icon { position: relative; display: grid; place-items: center; width: 26px; height: 26px; }
.dc-appnav__icon svg { width: 22px; height: 22px; }
.dc-appnav__icon img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .6); background: #fff; }
.dc-appnav__item.is-active .dc-appnav__icon img { border-color: #0b1b3d; }
.dc-appnav__badge { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .65rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #0a1d47; }
.dc-appnav__label { line-height: 1; }

/* Shared bits */
.dca-hero--slim { padding: 2.25rem 0 4.5rem; }
.dca-hero--slim h1 { margin-bottom: .35rem; }
.dca-hero--slim p { display: block; max-width: 620px; }
.dca-col { max-width: 820px; }
.dca-pill { display: inline-flex; align-items: center; gap: 6px; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .85rem; font-weight: 600; }
.dca-pill svg { width: 15px; height: 15px; }
.dca-pill--on { background: rgba(34, 197, 94, .2); color: #86efac; }
.dca-pill--wait { background: rgba(245, 158, 11, .2); color: #fcd34d; }
.dca-panel__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.dca-panel__row .dca-panel__title { margin: 0; }
.dca-panel__row a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .88rem; }
.dca-panel__row a svg { width: 15px; height: 15px; }
.dca-tag { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-left: .35rem; vertical-align: middle; }
.dca-tag--new { background: #fee2e2; color: #b91c1c; }
.dca-tag--pin { background: var(--c-gold-100); color: var(--c-gold-700); }
.dca-empty { text-align: center; padding: 2.5rem 1.5rem; }
.dca-empty h2 { font-size: 1.2rem; margin: .75rem 0 .25rem; }
.dca-empty__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #eef4ff; color: #2563eb; }
.dca-empty__icon svg { width: 30px; height: 30px; }

/* Home tiles */
.dca-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.dca-tile { display: flex; flex-direction: column; gap: .2rem; padding: 1.15rem; background: #fff; border: 1px solid #e8ebf2; border-radius: 18px; text-decoration: none; color: var(--c-navy-900); box-shadow: 0 10px 30px rgba(11, 27, 61, .07); transition: transform .2s, box-shadow .2s; }
.dca-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11, 27, 61, .12); }
.dca-tile strong { font-size: 1rem; margin-top: .5rem; }
.dca-tile small { color: var(--c-ink-500); font-size: .82rem; }
.dca-tile__icon { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; }
.dca-tile__icon svg { width: 22px; height: 22px; }
.dca-tile__dot { position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.dca-tile--blue .dca-tile__icon { background: #e8f0ff; color: #2563eb; }
.dca-tile--green .dca-tile__icon { background: #dcfce7; color: #15803d; }
.dca-tile--purple .dca-tile__icon { background: #f3e8ff; color: #7e22ce; }
.dca-tile--gold .dca-tile__icon { background: var(--c-gold-100); color: var(--c-gold-700); }

/* Completeness meter */
.dca-meter__head { display: flex; justify-content: space-between; align-items: center; }
.dca-meter__head .dca-panel__title { margin: 0; }
.dca-meter__head strong { font-size: 1.4rem; color: var(--c-gold-600); }
.dca-meter__bar { height: 10px; border-radius: 999px; background: #eef0f4; margin: .9rem 0 .75rem; overflow: hidden; }
.dca-meter__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e8b93a, #22c55e); }
.dca-todo { list-style: none; padding: 0; margin: .75rem 0 1rem; display: grid; gap: .4rem; }
.dca-todo li { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.dca-todo svg { width: 16px; height: 16px; color: var(--c-gold-600); flex: none; }

/* Update feed */
.dca-feed { display: grid; gap: 0; }
.dca-feed--compact { gap: .5rem; }
.dca-post-mini { display: flex; align-items: center; gap: .85rem; padding: .7rem; border-radius: 14px; text-decoration: none; color: inherit; border: 1px solid transparent; }
.dca-post-mini:hover { background: #f7f9fc; border-color: #e8ebf2; }
.dca-post-mini strong { display: block; color: var(--c-navy-900); }
.dca-post-mini small { color: var(--c-ink-500); }
.dca-cat { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; background: #e8f0ff; color: #2563eb; }
.dca-cat svg { width: 20px; height: 20px; }
.dca-cat--event { background: #f3e8ff; color: #7e22ce; }
.dca-cat--opportunity { background: #dcfce7; color: #15803d; }
.dca-cat--resource { background: #e0f2fe; color: #0369a1; }
.dca-cat--tip { background: var(--c-gold-100); color: var(--c-gold-700); }
.dca-cat--challenge { background: #ffe4e6; color: #be123c; }
.dca-chips { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem 0 1rem; scrollbar-width: none; }
.dca-chips::-webkit-scrollbar { display: none; }
.dca-chips a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: .5rem .95rem; border-radius: 999px; background: #fff; border: 1px solid #e8ebf2; font-weight: 600; font-size: .88rem; color: var(--c-navy-900); text-decoration: none; box-shadow: 0 4px 12px rgba(11, 27, 61, .06); }
.dca-chips a svg { width: 15px; height: 15px; }
.dca-chips a.is-active { background: var(--c-navy-900); border-color: var(--c-navy-900); color: #fff; }
.dca-post__head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: .75rem; }
.dca-post__head h2 { font-size: 1.2rem; margin: .2rem 0 0; color: var(--c-navy-900); }
.dca-post__meta { font-size: .8rem; color: var(--c-ink-500); font-weight: 600; }
.dca-post__body { margin-bottom: 1rem; }
.dca-post__body > :last-child { margin-bottom: 0; }

/* People */
.dca-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .75rem; }
.dca-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; padding: .85rem .5rem; border-radius: 14px; border: 1px solid #e8ebf2; text-decoration: none; color: inherit; }
.dca-person:hover { border-color: var(--c-gold-400); background: var(--c-gold-50); }
.dca-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: .3rem; background: #fff; }
.dca-person strong { font-size: .85rem; color: var(--c-navy-900); }
.dca-person small { font-size: .74rem; color: var(--c-ink-500); }

/* Suggestion + benefits */
.dca-idea { text-align: center; background: linear-gradient(160deg, #0a1d47, #0d2b63); color: #fff; border: 0; }
.dca-idea h2 { color: #fff; font-size: 1.15rem; margin: .75rem 0 .4rem; }
.dca-idea p { color: rgba(255, 255, 255, .78); font-size: .92rem; margin: 0 0 1rem; }
.dca-idea__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(242, 207, 107, .18); color: #f2cf6b; }
.dca-idea__icon svg { width: 26px; height: 26px; }
.dca-idea__link { display: inline-block; margin-top: .75rem; color: #f2cf6b; font-weight: 700; font-size: .9rem; }
.dca-benefits { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .8rem; }
.dca-benefits li { display: flex; gap: .7rem; font-size: .9rem; line-height: 1.45; }
.dca-benefits svg { width: 20px; height: 20px; color: var(--c-gold-600); flex: none; margin-top: 2px; }

/* Messages */
.dca-compose summary { cursor: pointer; display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: 1.05rem; color: var(--c-navy-900); list-style: none; }
.dca-compose summary::-webkit-details-marker { display: none; }
.dca-compose[open] summary { margin-bottom: 1.25rem; }
.dca-compose__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #f2cf6b, #e8b93a); color: #0b1b3d; }
.dca-compose__icon svg { width: 20px; height: 20px; }
.dca-compose textarea, .dca-compose input[type="text"] { width: 100%; }
.dca-compose legend { font-weight: 600; font-size: .88rem; margin-bottom: .5rem; }
.dca-kinds { display: flex; flex-wrap: wrap; gap: .5rem; }
.dca-kind input { position: absolute; opacity: 0; pointer-events: none; }
.dca-kind span { display: inline-flex; align-items: center; gap: 6px; padding: .5rem .9rem; border-radius: 999px; border: 1px solid #dfe3ea; font-size: .88rem; font-weight: 600; cursor: pointer; }
.dca-kind span svg { width: 16px; height: 16px; }
.dca-kind input:checked + span { background: var(--c-navy-900); border-color: var(--c-navy-900); color: #fff; }
.dca-kind input:focus-visible + span { outline: 2px solid var(--c-gold-500); outline-offset: 2px; }
.dca-threads { display: grid; gap: .75rem; }
.dca-thread { display: flex; gap: .9rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid #e8ebf2; border-radius: 16px; text-decoration: none; color: inherit; box-shadow: 0 6px 18px rgba(11, 27, 61, .05); }
.dca-thread:hover { border-color: var(--c-gold-400); }
.dca-thread.is-unread { border-left: 4px solid #ef4444; }
.dca-thread__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eef4ff; color: #2563eb; flex: none; }
.dca-thread__icon svg { width: 20px; height: 20px; }
.dca-thread__body { flex: 1; min-width: 0; display: grid; gap: .25rem; }
.dca-thread__top { display: flex; justify-content: space-between; gap: .75rem; }
.dca-thread__top strong { color: var(--c-navy-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dca-thread__top small { color: var(--c-ink-500); flex: none; }
.dca-thread__text { color: var(--c-ink-500); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dca-thread__meta { font-size: .78rem; color: var(--c-ink-500); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.dca-status-chip { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #fef3c7; color: #b45309; }
.dca-status-chip--answered { background: #dcfce7; color: #15803d; }
.dca-status-chip--closed { background: #f1f5f9; color: #475569; }

/* Chat */
.dca-page--chat { min-height: 0; }
.dca-chat { background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(3, 10, 30, .35); overflow: hidden; }
.dca-chat__head { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid #eef0f4; }
.dca-chat__head h1 { font-size: 1.15rem; margin: 0 0 .15rem; color: var(--c-navy-900); }
.dca-chat__head small { color: var(--c-ink-500); }
.dca-chat .alerts { padding: 0 1.25rem; margin-top: 1rem; }
.dca-chat__list { padding: 1.25rem; display: grid; gap: 1rem; background: #f7f9fc; max-height: 60vh; overflow-y: auto; }
.dca-bubble { display: flex; gap: .6rem; align-items: flex-end; max-width: 88%; }
.dca-bubble--me { margin-left: auto; flex-direction: row-reverse; }
.dca-bubble__pic { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; }
.dca-bubble__pic--admin { display: block; overflow: hidden; border: 1px solid #e8ebf2; }
.dca-bubble__pic--admin img { width: 100%; height: 100%; object-fit: contain; }
.dca-bubble__box { padding: .7rem .95rem; border-radius: 18px; background: #fff; border: 1px solid #e8ebf2; box-shadow: 0 4px 12px rgba(11, 27, 61, .05); }
.dca-bubble--me .dca-bubble__box { background: linear-gradient(135deg, #0d2b63, #17347a); color: #fff; border-color: transparent; border-bottom-right-radius: 6px; }
.dca-bubble--admin .dca-bubble__box { border-bottom-left-radius: 6px; }
.dca-bubble__who { display: block; font-size: .72rem; font-weight: 700; opacity: .7; margin-bottom: .25rem; }
.dca-bubble__text { font-size: .95rem; line-height: 1.55; word-break: break-word; }
.dca-chat__reply { display: flex; gap: .6rem; align-items: flex-end; padding: 1rem 1.25rem; border-top: 1px solid #eef0f4; }
.dca-chat__reply textarea { flex: 1; resize: vertical; min-height: 48px; border-radius: 16px; }
.dca-chat__reply .btn svg { width: 18px; height: 18px; }
.dca-chat > .field-error { display: block; padding: 0 1.25rem 1rem; }
.dca-chat__closed { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 1rem; margin: 0; color: var(--c-ink-500); border-top: 1px solid #eef0f4; }
.dca-chat__closed svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .dca-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dca-tile { padding: .95rem; }
  .dca-bubble { max-width: 96%; }
  .dca-chat__reply .btn span { display: none; }
  .dca-hero--home h1 { font-size: 1.5rem; }
}
html[data-theme="dark"] .dca-tile, html[data-theme="dark"] .dca-thread, html[data-theme="dark"] .dca-chips a, html[data-theme="dark"] .dca-chat { background: var(--c-navy-900); border-color: rgba(255, 255, 255, .1); color: #fff; }
html[data-theme="dark"] .dca-tile strong, html[data-theme="dark"] .dca-thread__top strong, html[data-theme="dark"] .dca-post__head h2, html[data-theme="dark"] .dca-post-mini strong, html[data-theme="dark"] .dca-person strong, html[data-theme="dark"] .dca-chat__head h1, html[data-theme="dark"] .dca-compose summary { color: #fff; }
html[data-theme="dark"] .dca-chat__list { background: rgba(255, 255, 255, .03); }
html[data-theme="dark"] .dca-bubble--admin .dca-bubble__box { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dca-post-mini:hover, html[data-theme="dark"] .dca-person { border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dca-post-mini:hover { background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] .dca-meter__bar { background: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dca-chips a.is-active { background: #f2cf6b; color: #0b1b3d; border-color: #f2cf6b; }

/* 43b. Member area: keep long text inside the screen on phones */
.dca-threads, .dca-feed, .dca-chat__list { grid-template-columns: minmax(0, 1fr); }
.dca-threads > *, .dca-feed > *, .dca-thread, .dca-post-mini > span:last-child { min-width: 0; }
.dca-kind { position: relative; }
.dca-form .dca-kind input, .dca-kind input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.dca-bubble__box, .dca-post__body, .dca-goal { min-width: 0; overflow-wrap: anywhere; }
.dca-col, .dca-body .container { min-width: 0; }

/* 43c. Member profile: app-style header */
.dca-hero--profile .dca-hero__inner { flex-direction: column; text-align: center; gap: 1rem; }
.dca-hero--profile .dca-hero__text { min-width: 0; }
.dca-hero--profile .dca-hero__text p { justify-content: center; }
.dca-hero__role { font-weight: 600; color: #f2cf6b !important; margin-bottom: .25rem !important; }
.dca-stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding: 0; margin: 0; width: min(420px, 100%); }
.dca-stats li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: .65rem .4rem; display: grid; gap: .1rem; }
.dca-stats strong { color: #fff; font-size: 1.1rem; }
.dca-stats span { color: rgba(255, 255, 255, .65); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.dca-hero--profile .dca-hero__actions { justify-content: center; }
.dca-settings summary { cursor: pointer; font-weight: 700; color: var(--c-navy-900); display: flex; align-items: center; gap: 8px; list-style: none; }
.dca-settings summary::-webkit-details-marker { display: none; }
.dca-settings summary svg { width: 18px; height: 18px; color: var(--c-gold-600); }
.dca-settings[open] summary { margin-bottom: 1rem; }
html[data-theme="dark"] .dca-settings summary { color: #fff; }
body.has-dc-nav main { min-height: calc(100vh - 160px); }
.dca-thread__body { grid-template-columns: minmax(0, 1fr); }
.dca-thread__top strong { min-width: 0; }

/* ==========================================================================
   44. Calmer UI: app chrome, auth screens, slim announcement, flat footer
   ========================================================================== */
body.app-chrome .whatsapp-float, body.app-chrome .wa-bubble { display: none; }

/* Slim, single-line announcement */
.announcement { font-size: .8rem; font-weight: 600; }
.announcement__inner { min-height: 32px; padding-block: 4px; gap: 8px; }
.announcement svg { width: 14px; height: 14px; }
.announcement__inner > a, .announcement__inner > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; }
@media (max-width: 720px) {
  .announcement { font-size: .74rem; }
  .announcement__inner { min-height: 30px; justify-content: flex-start; text-align: left; }
  .announcement__inner > svg { display: none; }
  .announcement__inner > a svg { display: none; }
}


/* 44c. No empty strip under the footer on phones */
@media (max-width: 720px) {
  html[data-theme] .site-footer--v4, .site-footer--v4 { padding-bottom: 8px; }
  .site-footer--v4 .footer-bottom--v3 { padding-bottom: 12px; }
}

/* ==========================================================================
   45. Dev Connect: projects & ideas, install card, live chat
   ========================================================================== */
.dca-bubble__text, .dc-admin-chat__text { white-space: pre-line; }
.dca-bubble.is-new, .dc-admin-chat__msg.is-new { animation: dcPop .3s ease-out; }
@keyframes dcPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Install card */
.dca-install { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; margin-bottom: 1.25rem; border-radius: 18px; background: linear-gradient(135deg, #0d2b63, #17347a); color: #fff; box-shadow: 0 10px 30px rgba(11, 27, 61, .15); }
.dca-install[hidden] { display: none; }
.dca-install__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(242, 207, 107, .18); color: #f2cf6b; flex: none; }
.dca-install__icon svg { width: 22px; height: 22px; }
.dca-install__text { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.dca-install__text small { color: rgba(255, 255, 255, .7); font-size: .8rem; }
.dca-install__text small[hidden] { display: none; }
.dca-install .btn[hidden] { display: none; }

/* Share box */
.dca-share { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; margin-bottom: 1rem; background: #fff; border: 1px solid #e8ebf2; border-radius: 18px; text-decoration: none; color: var(--c-ink-500); box-shadow: 0 10px 30px rgba(11, 27, 61, .07); }
.dca-share:hover { border-color: var(--c-gold-400); }
.dca-share img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; }
.dca-share > span:nth-child(2) { flex: 1; min-width: 0; font-size: .95rem; }
.dca-share strong { color: var(--c-navy-900); display: block; }
.dca-share__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #f2cf6b, #e8b93a); color: #0b1b3d; flex: none; }
.dca-share__btn svg { width: 20px; height: 20px; }

/* Project cards */
.dca-projects { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.dca-proj { display: grid; gap: .5rem; padding: 1.15rem 1.2rem; background: #fff; border: 1px solid #e8ebf2; border-radius: 18px; text-decoration: none; color: inherit; box-shadow: 0 8px 24px rgba(11, 27, 61, .06); transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.dca-proj:hover { transform: translateY(-2px); border-color: var(--c-gold-400); box-shadow: 0 14px 34px rgba(11, 27, 61, .1); }
.dca-proj__top { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.dca-proj__kind { display: inline-flex; align-items: center; gap: 5px; padding: .25rem .65rem; border-radius: 999px; font-size: .74rem; font-weight: 700; background: #eef4ff; color: #1d4ed8; }
.dca-proj__kind svg { width: 13px; height: 13px; }
.dca-proj__kind--startup { background: #dcfce7; color: #15803d; }
.dca-proj__kind--side { background: #f3e8ff; color: #7e22ce; }
.dca-proj__kind--open-source { background: #f1f5f9; color: #0f172a; }
.dca-proj__kind--learning { background: var(--c-gold-100); color: var(--c-gold-700); }
.dca-proj__open, .dca-proj__closed, .dca-proj__stage { font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.dca-proj__open { background: #fef3c7; color: #b45309; }
.dca-proj__closed { background: #f1f5f9; color: #475569; }
.dca-proj__stage { background: #e0f2fe; color: #0369a1; }
.dca-proj__title { font-size: 1.12rem; color: var(--c-navy-900); line-height: 1.3; }
.dca-proj__summary { color: var(--c-ink-500); font-size: .93rem; line-height: 1.5; }
.dca-proj__need { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: #0f766e; font-weight: 600; }
.dca-proj__need svg { width: 14px; height: 14px; flex: none; }
.dca-proj__foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .55rem; border-top: 1px solid #f0f2f6; }
.dca-proj__by { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--c-navy-900); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dca-proj__by img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.dca-proj__stats { display: flex; gap: .75rem; color: var(--c-ink-500); font-size: .82rem; flex: none; }
.dca-proj__stats span { display: inline-flex; align-items: center; gap: 4px; }
.dca-proj__stats svg { width: 14px; height: 14px; }

/* Project page */
.dca-pview { background: #fff; border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 24px 60px rgba(3, 10, 30, .3); margin-bottom: 1.5rem; }
.dca-pview h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--c-navy-900); margin: .8rem 0 .4rem; }
.dca-pview__pitch { font-size: 1.05rem; color: var(--c-ink-500); margin: 0 0 1rem; }
.dca-pview__by { display: flex; align-items: center; gap: .7rem; }
.dca-pview__by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; }
.dca-pview__by strong { display: block; color: var(--c-navy-900); }
.dca-pview__by small { color: var(--c-ink-500); }
.dca-pview__body { margin: 1.25rem 0; display: grid; gap: .9rem; justify-items: start; }
.dca-pview__desc { white-space: normal; line-height: 1.65; color: #334155; overflow-wrap: anywhere; }
.dca-pview__need { display: flex; gap: 8px; margin: 0; padding: .8rem 1rem; border-radius: 14px; background: #f0fdfa; color: #115e59; }
.dca-pview__need svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.dca-pview__actions { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: 1rem; border-top: 1px solid #f0f2f6; }
.dca-pview__actions form { margin: 0; }
.dca-helpform { display: flex; gap: .5rem; flex: 1; flex-wrap: wrap; }
.dca-helpform input { flex: 1; min-width: 180px; height: 44px; border-radius: 999px; padding: 0 1rem; }
.dca-helpers { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.dca-helpers li { display: flex; gap: .75rem; align-items: flex-start; }
.dca-helpers img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; }
.dca-helpers strong { display: block; color: var(--c-navy-900); }
.dca-helpers small { display: block; color: var(--c-ink-500); }
.dca-helpers em { display: block; margin-top: .25rem; color: #334155; font-size: .9rem; }
.dca-comments { display: grid; gap: .9rem; margin-bottom: 1rem; }
.dca-comment { display: flex; gap: .65rem; align-items: flex-start; }
.dca-comment img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; }
.dca-comment__box { flex: 1; min-width: 0; background: #f7f9fc; border-radius: 4px 16px 16px 16px; padding: .65rem .9rem; }
.dca-comment__who { display: block; font-size: .78rem; color: var(--c-ink-500); margin-bottom: .2rem; }
.dca-comment__who strong { color: var(--c-navy-900); }
.dca-comment__text { white-space: pre-line; overflow-wrap: anywhere; font-size: .94rem; }
.dca-comment__box form { margin: .3rem 0 0; }
.dca-comment__del { border: 0; background: none; padding: 0; font-size: .75rem; color: #b91c1c; cursor: pointer; }
.dca-comment-form { padding: 0; border: 0; }
.dca-pform .dca-pform__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.dca-pform .field { margin-bottom: 1.1rem; }
.dca-pform input[type="text"], .dca-pform input[type="url"], .dca-pform textarea, .dca-pform select { width: 100%; }
@media (min-width: 900px) {
  .dca-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html[data-theme="dark"] .dca-share, html[data-theme="dark"] .dca-proj, html[data-theme="dark"] .dca-pview { background: var(--c-navy-900); border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .dca-proj__title, html[data-theme="dark"] .dca-pview h1, html[data-theme="dark"] .dca-share strong, html[data-theme="dark"] .dca-pview__by strong, html[data-theme="dark"] .dca-helpers strong, html[data-theme="dark"] .dca-comment__who strong, html[data-theme="dark"] .dca-proj__by { color: #fff; }
html[data-theme="dark"] .dca-comment__box { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .dca-pview__desc, html[data-theme="dark"] .dca-helpers em { color: rgba(255, 255, 255, .8); }
html[data-theme="dark"] .dca-proj__foot, html[data-theme="dark"] .dca-pview__actions { border-color: rgba(255, 255, 255, .08); }

/* ==========================================================================
   46. Auth screens v3: light page, one rounded card (colour panel + form)
   ========================================================================== */
.auth {
  min-height: calc(100svh - 72px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vh, 2.5rem) 16px;
  background:
    radial-gradient(500px 280px at 10% 10%, rgba(59, 130, 246, .10), transparent 70%),
    radial-gradient(500px 280px at 90% 90%, rgba(232, 185, 58, .14), transparent 70%),
    #f3f5fa;
}
.auth__wrap {
  width: 100%; max-width: 1000px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 27, 61, .16), 0 2px 6px rgba(11, 27, 61, .05);
}

/* Colour panel */
.auth-side {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(96, 165, 250, .45), transparent 70%),
    radial-gradient(380px 260px at 0% 100%, rgba(232, 185, 58, .35), transparent 70%),
    linear-gradient(155deg, #0d2b63, #0a1d47 60%, #081638);
}
.auth-side__inner { position: relative; display: flex; flex-direction: column; height: 100%; }
.auth-side__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #f2cf6b; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.auth-side__tag svg { width: 13px; height: 13px; }
.auth-side h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em; margin: 1rem 0 .5rem; }
.auth-side h2 em { font-style: normal; color: #f2cf6b; }
.auth-side__inner > p { color: rgba(255, 255, 255, .75); margin: 0 0 1.5rem; max-width: 340px; }
.auth-side__crowd { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 1.5rem; color: rgba(255, 255, 255, .8); font-size: .9rem; }
.auth-side__crowd strong { color: #fff; }
.auth-side__faces { display: flex; }
.auth-side__faces img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; border: 2px solid #0d2b63; margin-left: -10px; }
.auth-side__faces img:first-child { margin-left: 0; }

/* Phone preview */
.auth-phone { position: relative; align-self: center; width: 250px; padding: 10px; border-radius: 36px; background: #0b1530; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .08); transform: rotate(-3deg); animation: authFloat 6s ease-in-out infinite; }
.auth-phone__notch { position: absolute; top: 14px; left: 50%; width: 70px; height: 16px; margin-left: -35px; border-radius: 999px; background: #0b1530; z-index: 2; }
.auth-phone__screen { border-radius: 28px; background: #f3f5fa; padding: 34px 10px 10px; display: grid; gap: 8px; color: #0b1b3d; overflow: hidden; }
.auth-phone__bar { display: flex; align-items: center; gap: 8px; padding: 2px 4px 4px; }
.auth-phone__bar img { width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.auth-phone__bar b { display: block; font-size: .72rem; }
.auth-phone__bar small { display: block; font-size: .6rem; color: #64748b; }
.auth-mini { background: #fff; border-radius: 14px; padding: 9px 10px; box-shadow: 0 4px 12px rgba(11, 27, 61, .07); font-size: .62rem; }
.auth-mini strong { display: block; font-size: .74rem; margin: 4px 0; color: #0b1b3d; }
.auth-mini__chip { display: inline-block; padding: 2px 7px; border-radius: 999px; background: #dcfce7; color: #15803d; font-weight: 700; font-size: .56rem; }
.auth-mini__line { display: block; height: 5px; border-radius: 4px; background: #e8ecf4; margin-top: 4px; }
.auth-mini__line--short { width: 60%; }
.auth-mini__foot { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: #64748b; font-weight: 600; }
.auth-mini__faces { display: flex; }
.auth-mini__faces img { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #fff; margin-left: -5px; background: #fff; }
.auth-mini__faces img:first-child { margin-left: 0; }
.auth-mini--update { display: flex; align-items: center; gap: 8px; }
.auth-mini--update strong { margin: 0; font-size: .68rem; }
.auth-mini--update small { color: #64748b; font-size: .6rem; }
.auth-mini__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #e8f0ff; color: #2563eb; flex: none; }
.auth-mini__ic svg { width: 13px; height: 13px; }
.auth-mini--chat { display: grid; gap: 5px; background: transparent; box-shadow: none; padding: 0 2px; }
.auth-mini__bubble { justify-self: start; padding: 6px 9px; border-radius: 12px 12px 12px 3px; background: #fff; box-shadow: 0 3px 8px rgba(11, 27, 61, .06); }
.auth-mini__bubble--me { justify-self: end; background: #0d2b63; color: #fff; border-radius: 12px 12px 3px 12px; }
.auth-phone__nav { display: flex; justify-content: space-around; padding: 7px 4px; margin-top: 2px; border-radius: 14px; background: #0a1d47; }
.auth-phone__nav i { width: 14px; height: 14px; border-radius: 5px; background: rgba(255, 255, 255, .25); }
.auth-phone__nav i.is-on { background: #e8b93a; }
@keyframes authFloat { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .auth-phone { animation: none; } }

/* Form side */
.auth__box { padding: clamp(1.75rem, 4vw, 3rem); color: var(--c-ink-700, #334155); display: flex; flex-direction: column; justify-content: center; }
.auth__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink-500); font-weight: 600; font-size: .9rem; text-decoration: none; margin-bottom: 1rem; align-self: flex-start; }
.auth__brand:hover { color: var(--c-navy-900); }
.auth__logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #f1f5f9; color: var(--c-navy-900); }
.auth__logo svg { width: 15px; height: 15px; }
.auth h1 { color: var(--c-navy-900); font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -.02em; margin: 0 0 .35rem; }
.auth__lead { color: var(--c-ink-500); margin: 0 0 1.5rem; }
.auth .alerts { margin: 0 0 1rem; }
.auth__form { display: grid; gap: 1rem; }
.auth__field { display: grid; gap: .4rem; }
.auth__field > span:first-child { font-size: .85rem; font-weight: 600; color: var(--c-navy-900); }
.auth__label-row { display: flex; justify-content: space-between; align-items: baseline; }
.auth__label-row a { color: #2563eb; font-weight: 600; font-size: .82rem; }
.auth__input { position: relative; display: block; }
.auth__input > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #94a3b8; pointer-events: none; }
.auth__input input {
  width: 100%; height: 52px; padding: 0 16px 0 44px; border-radius: 14px;
  background: #f6f8fc; border: 1.5px solid #e3e8f1; color: var(--c-navy-900); font-size: 1rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.auth__input input::placeholder { color: #9aa6b8; }
.auth__input input:focus { outline: none; background: #fff; border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.auth__input:focus-within > svg { color: #2563eb; }
.auth__pw input { padding-right: 50px; }
.auth__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: #94a3b8; cursor: pointer; border-radius: 10px; }
.auth__eye:hover, .auth__eye.is-on { color: #2563eb; }
.auth__eye svg { width: 18px; height: 18px; }
.auth__meter { display: block; height: 4px; border-radius: 999px; background: #e8ecf4; overflow: hidden; }
.auth__meter[hidden] { display: none; }
.auth__meter i { display: block; height: 100%; width: 10%; background: #ef4444; transition: width .25s, background .25s; }
.auth__meter[data-score="2"] i { width: 50%; background: #f59e0b; }
.auth__meter[data-score="3"] i { width: 75%; background: #84cc16; }
.auth__meter[data-score="4"] i { width: 100%; background: #22c55e; }
.auth .auth__form .btn--block { margin-top: .4rem; }
.auth .btn svg { width: 18px; height: 18px; }
.auth__or { display: flex; align-items: center; gap: .75rem; margin: 1.5rem 0 1rem; color: var(--c-ink-500); font-size: .85rem; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: #e8ecf4; }
.auth__alt { background: #fff; color: var(--c-navy-900); border: 1.5px solid #dfe5ef; box-shadow: none; }
.auth__alt:hover { border-color: var(--c-navy-900); color: var(--c-navy-900); background: #f8fafc; }
.auth__foot { margin: 1.25rem 0 0; color: var(--c-ink-500); }
.auth__foot a, .auth__note a { color: #2563eb; font-weight: 700; }
.auth__note { margin: 1rem 0 0; font-size: .8rem; color: #94a3b8; text-align: center; }
.auth__sent { display: flex; gap: 10px; align-items: flex-start; padding: .85rem 1rem; border-radius: 14px; background: #f0fdf4; color: #166534; font-size: .9rem; margin-bottom: 1rem; }
.auth__sent svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.auth__sent--bad { background: #fef2f2; color: #991b1b; }
.auth .field-error { color: #dc2626; }
.auth .dca-install { margin: 1rem 0 0; padding: .7rem .8rem; background: #f6f8fc; color: var(--c-navy-900); border: 1px dashed #d5dce8; box-shadow: none; border-radius: 14px; }
.auth .dca-install__icon { width: 36px; height: 36px; border-radius: 10px; background: #e8f0ff; color: #2563eb; }
.auth .dca-install__text small { color: var(--c-ink-500); }

@media (max-width: 860px) {
  .auth { align-items: flex-start; padding: 0; background: #fff; }
  .auth__wrap { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; }
  .auth-side { padding: 1.5rem 16px 2.25rem; }
  .auth-side h2 { font-size: 1.5rem; margin: .75rem 0 .3rem; }
  .auth-side__inner > p { margin-bottom: 0; font-size: .92rem; }
  .auth-phone { display: none; }
  .auth-side__crowd { padding-top: 1rem; font-size: .82rem; }
  .auth__box { padding: 1.5rem 16px 2rem; margin-top: -1.25rem; background: #fff; border-radius: 24px 24px 0 0; position: relative; }
  .auth h1 { font-size: 1.55rem; }
}
html[data-theme="dark"] .auth { background: #081638; }
html[data-theme="dark"] .auth__wrap, html[data-theme="dark"] .auth__box { background: var(--c-navy-900); }
html[data-theme="dark"] .auth h1, html[data-theme="dark"] .auth__field > span:first-child { color: #fff; }
html[data-theme="dark"] .auth__input input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
html[data-theme="dark"] .auth__alt { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }
html[data-theme="dark"] .auth .dca-install { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .15); }

/* ==========================================================================
   47. Refresh 2026 — fewer boxes, calmer details, purposeful motion
   Loaded last on purpose: it quietens the "template" look (pill labels,
   bordered tiles everywhere, graph-paper background, icon squares) without
   touching the page markup.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-in-out: cubic-bezier(.65, 0, .35, 1); }

/* ---- 1. No graph-paper background --------------------------------------- */
html[data-tech="on"] body::before { display: none !important; }

/* ---- 2. Section labels: plain text with a short rule, no pill ----------- */
html body .eyebrow,
html body .eyebrow--pill {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
html body .eyebrow svg { display: none; }
html body .eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .75;
  transform-origin: left; transition: transform .9s var(--ease-out) .15s;
}
.section-head--center .eyebrow::after {
  content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .75;
}
.js [data-reveal]:not(.is-in) .eyebrow::before { transform: scaleX(0); }
.hero .eyebrow { color: var(--c-gold-300, #f2cf6b); }

/* ---- 3. Cards: open layout instead of a bordered box for every item ----- */
.section .card:not(.card--flush):not(.card--post) {
  border-color: transparent;
  box-shadow: none;
  background: transparent;
  padding: var(--sp-5) var(--sp-4) var(--sp-5) 0;
  border-radius: 0;
  border-top: 1px solid rgba(15, 23, 42, .1);
}
.section--muted .card:not(.card--flush):not(.card--post) { background: transparent; }
.section .card:not(.card--flush):not(.card--post):hover {
  box-shadow: none; transform: none; border-color: transparent; border-top-color: var(--c-gold-500, #d9a419);
}
.section .card:not(.card--flush):not(.card--post)::before {
  content: ""; display: block; height: 2px; width: 0; margin: -21px 0 19px;
  background: var(--c-gold-500, #d9a419); transition: width .5s var(--ease-out);
}
.section .card:not(.card--flush):not(.card--post):hover::before { width: 56px; }
.card--benefit { border-top-width: 1px !important; }

/* Icons stand on their own — no tinted square behind each one. */
.section .card__icon, .process__icon, .hero__feature-icon {
  width: auto !important; height: auto !important; background: none !important; box-shadow: none !important;
  border-radius: 0 !important; justify-content: start; place-items: start;
  color: var(--c-gold-600, #b8860b) !important; margin-bottom: var(--sp-3);
}
.section .card__icon svg, .process__icon svg { width: 26px; height: 26px; }
.section .card:hover .card__icon { transform: translateX(3px); box-shadow: none !important; }

/* Process: a numbered timeline, not four boxes. */
.process__step {
  background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  padding: var(--sp-6) var(--sp-4) 0 0 !important; border-top: 2px solid rgba(15, 23, 42, .12) !important;
}
.process__step:hover { transform: none !important; border-top-color: var(--c-gold-500, #d9a419) !important; }
.process__num {
  position: static !important; display: block; margin-bottom: var(--sp-3);
  font-size: 2.6rem !important; color: transparent !important; -webkit-text-stroke: 1.5px rgba(13, 43, 99, .35);
}
.process__step:hover .process__num { -webkit-text-stroke-color: var(--c-gold-500, #d9a419); }

/* Hero quick facts: a simple row, no boxes. */
.hero__features li { background: none !important; border-color: rgba(255, 255, 255, .14) !important; box-shadow: none !important; }
.hero__features { background: none !important; border: 0 !important; box-shadow: none !important; }
.hero__badge { display: none !important; }

/* FAQ: clean divided list. */
.faq-list { gap: 0 !important; }
.faq { background: none !important; border: 0 !important; border-radius: 0 !important; border-bottom: 1px solid rgba(15, 23, 42, .1) !important; box-shadow: none !important; }
.faq:first-child { border-top: 1px solid rgba(15, 23, 42, .1) !important; }
.faq > summary { padding-left: 0 !important; padding-right: 2.5rem !important; transition: color .2s ease; }
.faq > summary:hover { color: var(--c-blue-600, #1d4ed8); }
.faq[open] > summary { border-bottom: 0 !important; }
.faq__body { padding-left: 0 !important; }
.faq[open] .faq__body { animation: faqIn .45s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Pills inside cards: plain text list. */
.section .card .pill-list .pill { background: none; border: 0; padding: 0 .55rem 0 0; color: var(--c-ink-500, #64748b); font-weight: 600; }
.section .card .pill-list .pill + .pill::before { content: "·"; margin-right: .55rem; color: var(--c-gold-500, #d9a419); }

/* Dark theme keeps the dividers visible. */
html[data-theme="dark"] .section .card:not(.card--flush):not(.card--post),
html[data-theme="dark"] .process__step, html[data-theme="dark"] .faq { border-color: rgba(255, 255, 255, .12) !important; }

/* ---- 4. Image cards (portfolio, blog): quieter frame, image does the work */
.card--flush, .card--post { border: 0 !important; box-shadow: 0 1px 2px rgba(11, 27, 61, .06) !important; overflow: hidden; }
.card--flush:hover, .card--post:hover { box-shadow: 0 22px 44px -18px rgba(11, 27, 61, .28) !important; transform: translateY(-4px); }
.card__media { overflow: hidden; }
.card__media img { transition: transform 1s var(--ease-out); }
.card--flush:hover .card__media img, .card--post:hover .card__media img { transform: scale(1.05); }

/* ---- 5. Motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html[data-animate="on"] .hero__copy > * { animation: heroRise 1s var(--ease-out) both; }
  html[data-animate="on"] .hero__copy > :nth-child(1) { animation-delay: .05s; }
  html[data-animate="on"] .hero__copy > :nth-child(2) { animation-delay: .15s; }
  html[data-animate="on"] .hero__copy > :nth-child(3) { animation-delay: .27s; }
  html[data-animate="on"] .hero__copy > :nth-child(4) { animation-delay: .39s; }
  html[data-animate="on"] .hero__copy > :nth-child(5) { animation-delay: .5s; }
  html[data-animate="on"] .hero__media { animation: heroMedia 1.4s var(--ease-out) .2s both; }
  html[data-animate="on"] .hero__illustration { animation: heroFloat 7s ease-in-out 1.6s infinite; }
  @keyframes heroRise { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes heroMedia { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes heroFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

  /* Gold words get a slow light sweep. */
  html[data-animate="on"] .hero .text-gold {
    background: linear-gradient(100deg, #e8b93a 0%, #f2cf6b 35%, #fff3c4 50%, #f2cf6b 65%, #d9a419 100%);
    background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: goldSweep 6s ease-in-out 1.2s infinite;
  }
  @keyframes goldSweep { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

  /* Gold buttons: a light passes over on hover. */
  .btn--gold { position: relative; overflow: hidden; isolation: isolate; }
  .btn--gold::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease-out);
  }
  .btn--gold:hover::after { transform: translateX(120%); }
  .btn svg { transition: transform .35s var(--ease-out); }
  .btn:hover svg.icon--arrow-right { transform: translateX(4px); }

  /* Scroll reveal: softer, slightly longer. */
  .js [data-reveal] { transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), filter .9s var(--ease-out); }
  .js [data-reveal]:not(.is-in) { filter: blur(3px); }

  /* Header gets a glassy edge once the page scrolls. */
  .site-header { transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
  .site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(3, 10, 30, .55); }

  /* Navy CTA band: slow moving light. */
  .cta-band { background-size: 200% 200% !important; animation: ctaShift 14s ease-in-out infinite; }
  @keyframes ctaShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
}

/* Count-up numbers (data-count) render normally without JavaScript. */
[data-count] { font-variant-numeric: tabular-nums; }

/* 47b. Hero specifics (beat the older .hero--v4 rules) */
.hero .eyebrow, .hero .eyebrow--pill { background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; font-size: .76rem !important; letter-spacing: .16em !important; }
.hero--v4 .hero__features li { border: 0 !important; border-left: 1px solid rgba(255, 255, 255, .14) !important; border-radius: 0 !important; padding: .25rem 0 .25rem 1.25rem !important; }
.hero--v4 .hero__features li:first-child { border-left: 0 !important; padding-left: 0 !important; }
.hero--v4 .hero__feature-icon { width: auto !important; height: auto !important; color: #f2cf6b !important; }
@media (max-width: 900px) { .hero--v4 .hero__features li { border-left: 0 !important; padding-left: 0 !important; } }

/* 47c. Footer: no second call-to-action right after the page one; plain label */
main:has(.cta-band) ~ .site-footer .footer-cta, main:has(.pf-cta) ~ .site-footer .footer-cta { display: none; }
main:has(.cta-band) ~ .site-footer--v4 .footer-grid, main:has(.pf-cta) ~ .site-footer--v4 .footer-grid { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.footer-cta__eyebrow { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; }
.footer-cta__eyebrow svg { display: none; }
.footer-cta__eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; margin-right: .6rem; vertical-align: middle; background: currentColor; border-radius: 2px; }

/* 47d. Process steps: number + icon on one line, text full width */
.process__step { display: block !important; }
.process__num { display: inline-block !important; vertical-align: middle; margin: 0 .75rem var(--sp-3) 0 !important; }
.process__icon { display: inline-flex !important; vertical-align: middle; margin-bottom: var(--sp-3) !important; }
.process__title, .process__text { display: block; width: 100%; }
.hero::before { background-image: none !important; }

/* 48. Dev Connect join form folded behind a button */
.dc-join-open { text-align: center; padding: .5rem 0 .75rem; }
.dc-join-open__points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin: 0 0 1.4rem; padding: 0; color: var(--c-ink-600, #475569); font-size: .92rem; font-weight: 600; }
.dc-join-open__points li { display: inline-flex; align-items: center; gap: 7px; }
.dc-join-open__points svg { width: 17px; height: 17px; color: var(--c-gold-600, #b8860b); }
.dc-join-open__btn { min-width: min(100%, 320px); }
.dc-join-open__btn svg { width: 18px; height: 18px; }
.js .dc-joincard:not(.is-open) .dc-join-body { display: none; }
.dc-joincard.is-open .dc-join-open, html:not(.js) .dc-join-open { display: none; }
.dc-joincard.is-open .dc-join-body { animation: dcJoinIn .55s cubic-bezier(.16, 1, .3, 1); }
@keyframes dcJoinIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dc-joincard.is-open .dc-join-body { animation: none; } }
.js .dc-joincard:not(.is-open) .dc-already { display: none; }
