/* ============================================================
   The Nigerian Entrepreneur — shared stylesheet
   ============================================================ */

:root {
  --green-900: #06301d;
  --green-800: #0a4a2e;
  --green-700: #0b6b3f;
  --green-600: #0e8a4f;
  --green-500: #12a35d;
  --green-50:  #eaf6f0;
  --ink:       #14181d;
  --ink-2:     #3d4650;
  --muted:     #6b7480;
  --line:      #e3e8ee;
  --bg:        #f6f8fa;
  --white:     #ffffff;
  --amber:     #f59e0b;
  --blue:      #1d4ed8;
  --purple:    #7c3aed;
  --orange:    #ea580c;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 4px 14px rgba(16, 24, 40, .07);
  --shadow-lg: 0 18px 40px rgba(16, 24, 40, .12);
  --container: 1240px;
}

* { box-sizing: border-box; }

/* keeps the [hidden] attribute working even where a class sets display */
[hidden] { display: none !important; }

/* ---------- Branded page-entry animation ---------- */
.site-loader { display:none; }
html.js .site-loader { position:fixed; z-index:9999; inset:0; display:grid; place-items:center; overflow:hidden; background:radial-gradient(ellipse at 50% 45%,#13251d 0,#090d11 48%,#050609 100%); color:#f7f9f2; opacity:1; visibility:visible; transition:opacity .48s cubic-bezier(.7,0,.2,1),visibility .48s; }
html.js.is-loaded .site-loader { opacity:0; visibility:hidden; pointer-events:none; }
.site-loader::before,.site-loader::after { position:absolute; inset:-50%; content:""; pointer-events:none; }
.site-loader::before { background:repeating-linear-gradient(116deg,transparent 0 64px,rgba(255,255,255,.025) 65px,transparent 66px 130px); transform:translateX(-22%); animation:loader-sweep 4.5s ease-in-out infinite alternate; }
.site-loader::after { inset:0; background:radial-gradient(ellipse at center,transparent 12%,rgba(0,0,0,.38) 100%); }
.site-loader__glow { position:absolute; width:min(45vw,440px); aspect-ratio:1; border-radius:50%; filter:blur(100px); opacity:.24; }
.site-loader__glow--lime { top:10%; left:10%; background:#b9ff3d; animation:loader-glow 4s ease-in-out infinite alternate; }
.site-loader__glow--violet { right:8%; bottom:2%; background:#765cff; animation:loader-glow 5s ease-in-out infinite alternate-reverse; }
.site-loader__content { position:relative; z-index:1; display:grid; justify-items:center; gap:20px; padding:24px; text-align:center; }
.site-loader__emblem { position:relative; display:grid; width:124px; aspect-ratio:1; place-items:center; }
.site-loader__emblem img { position:relative; z-index:1; width:58px; height:58px; border:2px solid rgba(255,255,255,.72); border-radius:19px; object-fit:cover; box-shadow:0 0 35px rgba(185,255,61,.38); }
.site-loader__orbit { position:absolute; border:1px solid rgba(185,255,61,.44); border-radius:50%; }
.site-loader__orbit--outer { inset:2px; border-right-color:#b9ff3d; border-bottom-color:rgba(56,249,215,.72); animation:loader-spin 3s linear infinite; }
.site-loader__orbit--inner { inset:15px; border-color:rgba(124,108,255,.5); border-left-color:#38f9d7; animation:loader-spin 2.2s linear infinite reverse; }
.site-loader__spark { position:absolute; z-index:2; top:5px; right:22px; width:9px; height:9px; border-radius:50%; background:#b9ff3d; box-shadow:0 0 18px 5px rgba(185,255,61,.65); animation:loader-pulse 1.1s ease-in-out infinite alternate; }
.site-loader__brand { margin:0; color:rgba(255,255,255,.68); font-size:11px; font-weight:800; letter-spacing:.24em; }
.site-loader__brand strong { display:block; margin-top:5px; color:#f7f9f2; font-size:17px; letter-spacing:.19em; }
.site-loader__status { display:flex; align-items:center; gap:10px; color:#b9ff3d; font-size:9px; font-weight:900; letter-spacing:.18em; }
.site-loader__bars { display:flex; height:17px; align-items:center; gap:3px; }
.site-loader__bars i { width:3px; height:6px; border-radius:3px; background:#38f9d7; animation:loader-bars .75s ease-in-out infinite alternate; }
.site-loader__bars i:nth-child(2) { animation-delay:.12s; }.site-loader__bars i:nth-child(3) { animation-delay:.24s; }.site-loader__bars i:nth-child(4) { animation-delay:.36s; }.site-loader__bars i:nth-child(5) { animation-delay:.48s; }
.site-loader__progress { position:absolute; z-index:1; right:0; bottom:0; left:0; height:3px; overflow:hidden; background:rgba(255,255,255,.08); }
.site-loader__progress span { display:block; width:40%; height:100%; background:linear-gradient(90deg,#38f9d7,#b9ff3d,#ff5edb); box-shadow:0 0 16px rgba(185,255,61,.8); animation:loader-progress 1.25s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes loader-spin { to { transform:rotate(360deg); } }
@keyframes loader-pulse { to { opacity:.42; transform:scale(.62); } }
@keyframes loader-bars { to { height:16px; background:#b9ff3d; } }
@keyframes loader-progress { from { transform:translateX(-110%); } to { transform:translateX(260%); } }
@keyframes loader-sweep { to { transform:translateX(22%); } }
@keyframes loader-glow { to { transform:scale(1.2); opacity:.35; } }
@media (prefers-reduced-motion:reduce) {
  .site-loader::before,.site-loader__glow,.site-loader__orbit,.site-loader__spark,.site-loader__bars i,.site-loader__progress span { animation:none; }
  html.js .site-loader { transition-duration:.01ms; }
}

.sponsor-banner { position:fixed; z-index:100; right:clamp(14px,3vw,42px); bottom:clamp(14px,3vw,34px); width:min(620px,calc(100vw - 28px)); overflow:hidden; border:1px solid rgba(255,255,255,.3); border-radius:18px; background:#101827; box-shadow:0 22px 65px rgba(0,0,0,.45); }
.sponsor-banner__slide { position:relative; display:block; min-height:150px; color:#fff; text-decoration:none; background:#192334; }
.sponsor-banner__slide img { display:block; width:100%; height:190px; object-fit:cover; opacity:.7; transition:opacity .25s; }.sponsor-banner__slide:hover img { opacity:.88; }
.sponsor-banner__slide span { position:absolute; inset:auto 0 0; display:grid; gap:3px; padding:28px 24px 20px; background:linear-gradient(transparent,rgba(5,9,17,.92)); }.sponsor-banner__slide small { color:#b8ff3d; font-size:10px; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }.sponsor-banner__slide strong { font-size:clamp(16px,2vw,22px); }.sponsor-banner__close { position:absolute; z-index:2; top:10px; right:10px; width:32px; height:32px; border:1px solid rgba(255,255,255,.35); border-radius:50%; background:#000; color:#fff; cursor:pointer; font-size:23px; line-height:1; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 800;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

/* Advertising placement */
.banner-ad-section {
  width: 100%;
  margin: 30px 0;
  padding-inline: clamp(16px, 3vw, 40px);
}

.banner-ad-card {
  width: min(100%, 980px);
  margin-inline: auto;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.banner-ad-card__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 2px 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.banner-ad-card__label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
}

.banner-ad {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: var(--bg);
}

.banner-ad iframe {
  display: block;
  width: min(100%, 728px) !important;
  max-width: 100% !important;
  height: 90px !important;
  margin-inline: auto;
}

@media (max-width: 728px) {
  .banner-ad-card { padding: 10px; border-radius: var(--radius); }
  .banner-ad { min-height: 50px; }
  .banner-ad iframe {
    height: clamp(50px, 12.36vw, 90px) !important;
  }
}

/* ------------------------------------------------------------
   Logo
   ------------------------------------------------------------ */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  background: var(--green-50);
  box-shadow: 0 4px 14px rgba(10, 74, 46, .22);
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  border: 1.5px solid rgba(201, 162, 75, .55);
}

.logo__text {
  line-height: 1.05;
  font-weight: 800;
  font-size: 14px;
  color: var(--green-800);
}

.logo__text span {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--green-700);
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  /* must stay above every page-level stacking context (heroes, cards) */
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 68px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}

.nav > li { position: relative; }

/* An open dropdown must lift above the page content it overlaps.
   Raising the <li> also lifts the absolutely-positioned dropdown
   inside it, so the whole menu sits above hero sections and cards. */
.nav > li.is-open { z-index: 60; }

.nav a, .nav__trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s, color .18s;
}

.nav a:hover, .nav__trigger:hover,
.nav__item.is-open > .nav__trigger {
  background: var(--green-50);
  color: var(--green-700);
}

.nav__item.is-active > a,
.nav__item.is-active > .nav__trigger {
  color: var(--green-700);
}

.caret {
  width: 10px;
  height: 10px;
  border: 0;
  transform: none;
  opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 236px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
  list-style: none;
  margin: 0;
}

.nav__item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-weight: 500;
  color: var(--ink-2);
}

.dropdown a:hover { background: var(--green-50); color: var(--green-700); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  cursor: pointer;
  transition: .18s;
}

.icon-btn:hover { background: var(--green-50); color: var(--green-700); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s ease;
  white-space: nowrap;
}

.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); transform: translateY(-1px); }

.btn--ghost { background: #fff; color: var(--green-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green-500); background: var(--green-50); }

.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--green-50); }

.btn--outline-light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .22); }

.btn--sm { padding: 8px 14px; font-size: 12.5px; }
.btn--block { width: 100%; }

.nav-toggle { display: none; }

/* inline search form (search results page) */
.search-inline { display: flex; gap: 10px; margin: 4px 0 26px; max-width: 640px; }
.search-inline input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.search-inline input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-50); }

/* search drawer */
.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--green-50);
  padding: 14px 0;
}

.search-panel.is-open { display: block; }

.search-panel form {
  display: flex;
  gap: 10px;
}

.search-panel input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

.search-panel input:focus { outline: 2px solid var(--green-500); outline-offset: 1px; }

/* ------------------------------------------------------------
   Breadcrumb + page hero
   ------------------------------------------------------------ */
.crumbs {
  font-size: 12.5px;
  color: var(--muted);
  padding: 12px 0 0;
}

.crumbs a:hover { color: var(--green-700); }
.crumbs span { margin: 0 6px; opacity: .55; }

.page-hero {
  position: relative;
  margin: 14px 0 0;
  min-height: 230px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(4, 32, 20, .93) 6%, rgba(4, 32, 20, .74) 45%, rgba(4, 32, 20, .42) 100%);
}

.page-hero__body { padding: 34px 34px 30px; max-width: 660px; }

.page-hero .crumbs { padding: 0 0 8px; color: rgba(255, 255, 255, .8); }

.page-hero h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 10px; }

.page-hero p {
  color: rgba(255, 255, 255, .88);
  margin: 0;
  max-width: 60ch;
  font-size: 14.5px;
}

.page-hero__actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* hero background scenes (pure CSS art, no external assets) */
.hero-art { position: absolute; inset: 0; overflow: hidden; }

.hero-art__sun {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .55;
  right: 12%; top: -60px;
}

.hero-art__ridge {
  position: absolute;
  left: -4%; right: -4%; bottom: 0;
  height: 62%;
  clip-path: polygon(0 62%, 12% 40%, 22% 55%, 34% 28%, 46% 48%, 58% 22%, 70% 46%, 82% 30%, 92% 50%, 100% 38%, 100% 100%, 0 100%);
  background: rgba(2, 22, 14, .78);
}

.hero-art__coins {
  position: absolute;
  right: 8%; bottom: 18px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.hero-art__coins i {
  display: block;
  width: 62px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #f6d16a, #b8801a);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .18);
}

.hero-art__coins i:nth-child(1) { height: 44px; }
.hero-art__coins i:nth-child(2) { height: 62px; }
.hero-art__coins i:nth-child(3) { height: 34px; }

.hero-art__sprout {
  position: absolute;
  right: 16%; bottom: 78px;
  width: 70px; height: 78px;
}

.hero-art__sprout::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 7px; height: 44px;
  transform: translateX(-50%);
  background: #3fae5f;
  border-radius: 4px;
}

.hero-art__sprout::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 62px; height: 40px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, #57d67c, #2f9c53);
  clip-path: ellipse(50% 50% at 50% 100%);
}

.hero-art__skyline {
  position: absolute;
  inset: auto 0 0 0;
  height: 68%;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.07) 0 22px, transparent 22px 34px),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(2,20,38,.55));
  clip-path: polygon(0 100%, 0 62%, 6% 62%, 6% 44%, 12% 44%, 12% 70%, 18% 70%, 18% 34%,
    24% 34%, 24% 58%, 31% 58%, 31% 26%, 38% 26%, 38% 64%, 45% 64%, 45% 40%,
    52% 40%, 52% 68%, 59% 68%, 59% 30%, 66% 30%, 66% 56%, 73% 56%, 73% 44%,
    80% 44%, 80% 66%, 87% 66%, 87% 36%, 93% 36%, 93% 60%, 100% 60%, 100% 100%);
}

.hero-art__coins-small {
  position: absolute;
  left: 60%; bottom: 90px;
  width: 190px; height: 150px;
  border-radius: 50% 50% 6px 6px;
  background:
    radial-gradient(circle at 30% 30%, #ffd977 0 12%, transparent 13%),
    radial-gradient(circle at 70% 65%, #ffca4f 0 14%, transparent 15%),
    radial-gradient(circle at 45% 80%, #e8a92c 0 10%, transparent 11%),
    radial-gradient(circle at 80% 25%, #c98b12 0 9%, transparent 10%),
    linear-gradient(180deg, rgba(255, 214, 102, .55), rgba(120, 78, 8, .75));
  filter: blur(1px);
  opacity: .85;
}

/* theme colours per section */
.t-finance   { background: linear-gradient(120deg, #14532d, #0d7a3d 45%, #22c55e); }
.t-business  { background: linear-gradient(120deg, #0b2a6b, #1d4ed8 48%, #60a5fa); }
.t-crypto    { background: linear-gradient(120deg, #2e1065, #7c3aed 50%, #c084fc); }
.t-affiliate { background: linear-gradient(120deg, #064e5e, #0891b2 50%, #67e8f9); }
.t-startup   { background: linear-gradient(120deg, #7a1c0a, #ea580c 50%, #fdba74); }
.t-services  { background: linear-gradient(120deg, #04361f, #0b6b3f 50%, #34d399); }
.t-about     { background: linear-gradient(120deg, #1f2937, #374151 55%, #9ca3af); }

/* ------------------------------------------------------------
   Filter tabs
   ------------------------------------------------------------ */
.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filters__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-right: 4px;
  white-space: nowrap;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: .18s;
}

.chip:hover { border-color: var(--green-500); color: var(--green-700); }

.chip.is-active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

/* ------------------------------------------------------------
   Layout
   ------------------------------------------------------------ */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 26px;
  align-items: start;
  padding: 18px 0 44px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  font-size: 14.5px;
}

.panel__head::before {
  content: "";
  width: 4px; height: 18px;
  border-radius: 3px;
  background: var(--green-600);
}

.panel__body { padding: 16px 18px 20px; }

.section { padding: 8px 0 20px; }

.section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin: 6px 0 16px;
}

.section__title::before {
  content: "";
  width: 4px; height: 22px;
  border-radius: 3px;
  background: var(--green-600);
}

.section__title small { margin-left: auto; font-weight: 600; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------
   Article list (category pages)
   ------------------------------------------------------------ */
.cat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 24px;
  padding: 6px 0 26px;
  align-items: start;
}

/* The spotlight spans two rows so the side column stacks two mini-cards
   beside it — with a single card the tall feature left a big empty gap. */
.cat-grid > .feature-card--spotlight { grid-row: span 2; }

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: .2s;
}

.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.media__art {
  position: absolute;
  inset: 0;
}

.media__tag {
  position: absolute;
  left: 14px; bottom: 14px;
  background: var(--green-700);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 7px;
}

.feature-card__body { padding: 18px 18px 20px; }

.feature-card__body h3 { font-size: 19px; margin-bottom: 8px; }

.feature-card__body p { color: var(--muted); font-size: 13.5px; }

.article-stack { display: flex; flex-direction: column; gap: 12px; }

.mini-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  transition: .2s;
}

.mini-card:hover { border-color: var(--green-500); box-shadow: var(--shadow); }

.mini-card .media { aspect-ratio: 4 / 3; border-radius: 8px; }

.mini-card h4 { font-size: 14px; margin: 4px 0 6px; }

.mini-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.dot { opacity: .5; }

.tagline {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 6px;
}

.tag-blue   { background: #e0ecff; color: #1d4ed8; }
.tag-green  { background: var(--green-50); color: var(--green-700); }
.tag-orange { background: #ffedd5; color: #c2410c; }
.tag-purple { background: #ede9fe; color: #6d28d9; }
.tag-cyan   { background: #cffafe; color: #0e7490; }

/* ------------------------------------------------------------
   Sidebar
   ------------------------------------------------------------ */
.sidebar { display: flex; flex-direction: column; gap: 18px; }

.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }

.widget__head {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget__body { padding: 14px 16px 16px; }

.toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }

.toc li { counter-increment: toc; }

.toc a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.toc a::before {
  content: counter(toc) ".";
  color: var(--green-700);
  font-weight: 800;
}

.toc a:hover { background: var(--green-50); color: var(--green-700); }

.socials { display: flex; gap: 8px; flex-wrap: wrap; }

.socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  transition: .18s;
}

.socials a:hover { transform: translateY(-2px); }

.s-x { background: #0f1419; }
.s-f { background: #1877f2; }
.s-wa { background: #25d366; }
.s-in { background: #0a66c2; }
.s-ig { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f); }
.s-yt { background: #ff0000; }
.s-tk { background: #111; }
.s-gp { background: #ea4335; }

.newsletter-form { display: grid; gap: 10px; }

.newsletter-form input {
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 13.5px;
  background: #fbfcfd;
}

.newsletter-form input:focus { outline: 2px solid var(--green-500); outline-offset: 1px; background: #fff; }

.newsletter-note { font-size: 12px; color: var(--muted); margin: 0; }

.tips {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}

.tips:last-child { border-bottom: 0; }

.tips .media { aspect-ratio: 1; border-radius: 8px; }

.tips h4 { font-size: 12.8px; margin: 0 0 4px; font-weight: 700; line-height: 1.35; }

.popular { list-style: none; margin: 0; padding: 0; counter-reset: pop; }

.popular li { counter-increment: pop; display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }

.popular li:last-child { border-bottom: 0; }

.popular li::before {
  content: counter(pop);
  width: 24px; height: 24px;
  flex: none;
  border-radius: 7px;
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
}

.popular a { font-size: 13px; font-weight: 600; color: var(--ink-2); }

.popular a:hover { color: var(--green-700); }

.popular small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; margin-top: 3px; }

.promo {
  border-radius: var(--radius-lg);
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
}

.promo h4 { margin-bottom: 6px; }

.promo p { font-size: 12.5px; opacity: .9; margin-bottom: 12px; }

/* ------------------------------------------------------------
   Category cards (homepage)
   ------------------------------------------------------------ */
.cat-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 4px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 18px 16px 20px;
  color: #fff;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: .2s;
}

.cat-cards:not(.cat-cards--carousel) .cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 78% 22%, rgba(255,255,255,.28), transparent 55%);
}

.cat-card__icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.cat-card h3 { font-size: 15.5px; margin-bottom: 6px; }

.cat-card p { font-size: 12.3px; opacity: .88; margin: 0; }

.cat-card__arrow { margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: 700; opacity: .9; }

.cc-finance  { background: linear-gradient(140deg, #14532d, #16a34a); }
.cc-business { background: linear-gradient(140deg, #1e3a8a, #2563eb); }
.cc-crypto   { background: linear-gradient(140deg, #4c1d95, #8b5cf6); }
.cc-startup  { background: linear-gradient(140deg, #9a3412, #f97316); }
.cc-affiliate{ background: linear-gradient(140deg, #0e7490, #22d3ee); }

/* ------------------------------------------------------------
   Service cards
   ------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 26px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: .2s;
}

.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }

.service-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 14px;
}

.service-card h3 { font-size: 15.5px; }

.service-card p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--green-700);
}

.link-more:hover { gap: 10px; }

.link-more::after { content: "\2192"; transition: .18s; }

/* ------------------------------------------------------------
   CTA bands
   ------------------------------------------------------------ */
.cta {
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #06301d, #0b6b3f);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, .35), transparent 65%);
}

.cta__icon {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  display: grid;
  place-items: center;
}

.cta h3 { margin: 0 0 4px; font-size: 18px; }

.cta p { margin: 0; font-size: 13.5px; opacity: .85; }

.cta__actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; position: relative; }

.cta__form { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; position: relative; }

.cta__form input {
  padding: 11px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  min-width: 240px;
}

.cta__form input::placeholder { color: rgba(255,255,255,.7); }

.cta__form input:focus { outline: 2px solid #fff; outline-offset: 1px; }

.cta--blue { background: linear-gradient(120deg, #0b2a6b, #1d4ed8); }
.cta--purple { background: linear-gradient(120deg, #2e1065, #7c3aed); }
.cta--cyan { background: linear-gradient(120deg, #064e5e, #0891b2); }
.cta--orange { background: linear-gradient(120deg, #7a1c0a, #ea580c); }

/* ------------------------------------------------------------
   Article page
   ------------------------------------------------------------ */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 26px;
  align-items: start;
  padding: 22px 0 48px;
}

.article-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; }

.article-hero .media__tag { bottom: 18px; left: 18px; }

.article-body { padding: 24px 26px 30px; }

.article-body h2 { font-size: 20px; margin-top: 26px; }
.article-body h2:first-child { margin-top: 0; }

.article-body p, .article-body li { color: var(--ink-2); font-size: 14.5px; }

.article-body ul { padding-left: 20px; margin: 0 0 16px; }

.article-body li { margin-bottom: 8px; }

.checklist { list-style: none; padding: 0; margin: 0 0 16px; }

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.checklist li::before {
  content: "\2713";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 6px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.callout {
  border-left: 4px solid var(--green-600);
  background: var(--green-50);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin: 0 0 20px;
}

.callout strong { display: block; margin-bottom: 4px; }
.callout p { margin: 0; font-size: 13.5px; }

.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.share-row span { font-size: 12.5px; font-weight: 700; color: var(--muted); }

/* ------------------------------------------------------------
   Forms / contact
   ------------------------------------------------------------ */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 26px; align-items: start; padding: 22px 0 48px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: grid; gap: 6px; }

.field--full { grid-column: 1 / -1; }

.field label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }

.field input, .field select, .field textarea {
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 13.5px;
  background: #fbfcfd;
  color: var(--ink);
  width: 100%;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green-500);
  outline-offset: 1px;
  background: #fff;
}

.check { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); }

.check input { width: auto; margin-top: 3px; }

.form-status { font-size: 13px; font-weight: 700; color: var(--green-700); display: none; }
.form-status.is-visible { display: block; }

.info-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 11px; }

.info-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }

.info-list svg { color: var(--green-700); flex: none; margin-top: 2px; }

.info-list strong { display: block; color: var(--ink); font-size: 12.5px; }

/* ------------------------------------------------------------
   About / vision blocks
   ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: center;
  padding: 26px 0 8px;
}

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fff;
}

.stat b { display: block; font-size: 22px; color: var(--green-700); line-height: 1.2; }

.stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.vision {
  margin-top: 24px;
  background: linear-gradient(120deg, #eaf6f0, #f6fbf8);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}

.vision__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: center; }

.vision__art {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.badge svg { color: var(--green-700); }

/* ------------------------------------------------------------
   Privacy / legal
   ------------------------------------------------------------ */
.legal { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 26px; align-items: start; padding: 22px 0 48px; }

.legal__toc { position: sticky; top: 88px; }

.legal__toc ol { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: l; }

.legal__toc li { counter-increment: l; }

.legal__toc a {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink-2);
}

.legal__toc a::before { content: counter(l) "."; color: var(--green-700); font-weight: 800; }

.legal__toc a:hover, .legal__toc a.is-active { background: var(--green-50); color: var(--green-700); }

.legal__toc a small { flex: 0 0 100%; display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; padding-left: 15px; }

/* ------------------------------------------------------------
   404
   ------------------------------------------------------------ */
.nf {
  position: relative;
  padding: 70px 0 60px;
  text-align: center;
  overflow: hidden;
}

.nf__bubbles { position: absolute; inset: 0; pointer-events: none; }

.nf__bubbles i {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, .28), rgba(52, 211, 153, .04));
}

.nf__code {
  position: relative;
  font-size: clamp(90px, 18vw, 190px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  display: flex;
  justify-content: center;
  gap: .06em;
  margin-bottom: 8px;
}

.nf__code b {
  background: linear-gradient(140deg, var(--green-800), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nf__code .zero {
  position: relative;
  width: .82em;
  height: .82em;
  align-self: center;
}

.nf__code .zero svg { width: 100%; height: 100%; }

.nf p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }

.nf__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

.nf__search { max-width: 420px; margin: 26px auto 0; display: flex; gap: 10px; position: relative; }

.nf__search input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer { background: #052e1b; color: #cfe6da; margin-top: 40px; }

.footer__inner {
  display: grid;
  grid-template-columns: 260px repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 40px 0 26px;
}

.footer__brand .logo__text { color: #fff; }
.footer__brand .logo__text span { color: #9fd8bb; }
.footer__brand p { font-size: 12.8px; margin: 12px 0 0; opacity: .8; }

.footer__col h4 { color: #fff; font-size: 13px; margin-bottom: 12px; letter-spacing: .02em; }

.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.footer__col a { font-size: 12.8px; opacity: .82; }

.footer__col a:hover { color: #fff; opacity: 1; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.3px;
  opacity: .75;
}

.footer__bottom nav { display: flex; gap: 16px; margin-left: auto; flex-wrap: wrap; }

/* back to top */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 0;
  background: var(--green-700);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .2s;
  z-index: 60;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: .22s;
  z-index: 80;
  box-shadow: var(--shadow-lg);
}

.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ------------------------------------------------------------
   Reveal animation (only active once JS has flagged the document,
   so content is never hidden when scripts are unavailable)
   ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }

.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  /* The desktop nav is ~904px wide and shares the row with the logo and
     the Subscribe button, so it only fits down to ~1090px of viewport.
     Below that the last menu item and the Subscribe button slide off the
     right edge, so collapse to the panel menu here rather than at 940px. */
  .nav-toggle { display: grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    margin: 0;
    display: none;
  }
  .nav.is-open { display: flex; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .nav__item.is-open .dropdown { display: block; }

  .layout, .article-layout, .two-col, .legal { grid-template-columns: minmax(0, 1fr); }
  .cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legal__toc { position: static; }
  .footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-grid > .feature-card--spotlight { grid-row: auto; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .vision__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header__inner { gap: 12px; }
  .btn--sub-hide { display: none; }
}

@media (max-width: 520px) {
  .service-grid, .cat-cards { grid-template-columns: minmax(0, 1fr); }
  .page-hero__body { padding: 26px 20px; }
  .cta__form input { min-width: 0; width: 100%; }
  .cta__actions, .cta__form { width: 100%; margin-left: 0; }
  .stat-row { grid-template-columns: minmax(0, 1fr); }
  .mini-card { grid-template-columns: 88px minmax(0, 1fr); }
  .footer__bottom nav { margin-left: 0; }
}

/* ------------------------------------------------------------
   Media / hero scene imagery
   ------------------------------------------------------------ */
.media img,
.hero-scene img,
.vision__art img,
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scene img {
  object-fit: contain;
  object-position: right center;
  opacity: .92;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
  mask-image: linear-gradient(to right, transparent 0, #000 22%);
}

/* wide hero artwork fills the band instead of floating in it */
.hero-scene--cover img {
  object-fit: cover;
  object-position: center 45%;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-scene { position: absolute; inset: 0; z-index: -3; }

.page-hero > .hero-scene + * { position: relative; }

section[id], h2[id], div[id] { scroll-margin-top: 92px; }

/* ------------------------------------------------------------
   Small utility blocks
   ------------------------------------------------------------ */
.logo-big { display: grid; place-items: center; gap: 12px; padding: 10px 0; }

.logo-big .logo__mark { width: 96px; height: 96px; border-radius: 22px; }

.logo-big .logo__mark::after { inset: -7px; border-radius: 30px; border-width: 2px; }

.logo-big .logo__text { font-size: 22px; text-align: center; }

.logo-big .logo__text span { font-size: 20px; }

.privacy-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
  color: #78350f;
  margin-bottom: 22px;
}

.privacy-note strong { display: block; margin-bottom: 2px; }

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.card-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.headline-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 4px 0 16px;
}

.headline-row h2 { margin: 0; }

.headline-row p { margin: 0; color: var(--muted); font-size: 13.5px; }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .02em;
}

.badge-live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18, 163, 93, .55); }
  50% { box-shadow: 0 0 0 7px rgba(18, 163, 93, 0); }
}

/* 404 bubbles */
.nf__bubbles i:nth-child(1) { width: 220px; height: 220px; left: 6%;  top: 12%; }
.nf__bubbles i:nth-child(2) { width: 140px; height: 140px; left: 24%; top: 62%; }
.nf__bubbles i:nth-child(3) { width: 300px; height: 300px; right: 4%; top: 6%; }
.nf__bubbles i:nth-child(4) { width: 110px; height: 110px; right: 22%; bottom: 12%; }
.nf__bubbles i:nth-child(5) { width: 180px; height: 180px; left: 46%; bottom: 4%; }

@media (max-width: 720px) {
  .card-grid-2 { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   DESIGN LAYER v2 — refined type, real photography, left-aligned
   heroes, roomy cards and a new mobile / tablet header.
   Kept last so it refines everything above without changing layout.
   ============================================================ */
:root {
  --gold: #c9a24b;
  --radius: 10px;
  --radius-lg: 16px;
  --gutter: clamp(20px, 4vw, 40px);
  --container: 1240px;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(10, 30, 20, .05);
  --shadow: 0 8px 24px rgba(10, 30, 20, .07);
  --shadow-lg: 0 22px 48px rgba(10, 30, 20, .14);
}

html { -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }

body { font-size: 16px; line-height: 1.7; color: #1a2128; }

.container { padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.03em; font-weight: 800; }
h4 { letter-spacing: -.02em; font-weight: 800; }

.ico { flex: none; transition: transform .2s ease; }
.btn:hover .ico, .cat-card:hover .ico, .link-more:hover .ico { transform: translateX(3px); }

/* ---------- logo ---------- */
.logo__mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--green-700), var(--green-900));
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(6, 48, 29, .28);
}
.logo__mark::after { inset: 3px; border-radius: 9px; border: 1px solid rgba(201, 162, 75, .45); }
.logo__text { font-family: var(--font-display); font-size: 16px; line-height: 1.1; color: var(--green-900); }
.logo__text span { font-size: 15px; font-weight: 600; color: var(--green-700); }

/* ---------- header (desktop) ---------- */
.site-header { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(10, 30, 20, .04); }
.header__inner { min-height: 76px; gap: 20px; max-width: 1360px; }
.nav { gap: 0; }
.nav a, .nav__trigger { font-size: 14.5px; padding: 10px 11px; }
.nav__item.is-active > a, .nav__item.is-active > .nav__trigger { color: var(--green-700); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.dropdown { border-radius: var(--radius-lg); padding: 10px; min-width: 250px; }
.dropdown a { font-size: 15px; padding: 11px 14px; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; }
.header__actions { gap: 10px; margin-left: auto; }
.nav__drawer-head, .nav__drawer-cta, .nav-backdrop { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--green-900);
  color: #fff;
  font: 700 14px/1 "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.nav-toggle:hover { background: var(--green-700); }
.nav-toggle:focus-visible { outline: 3px solid rgba(201, 162, 75, .6); outline-offset: 2px; }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle__bars i {
  position: absolute; left: 0;
  height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform .3s ease, opacity .2s, width .3s ease, top .3s ease;
}
.nav-toggle__bars i:nth-child(1) { top: 0; width: 100%; }
.nav-toggle__bars i:nth-child(2) { top: 6px; width: 68%; }
.nav-toggle__bars i:nth-child(3) { top: 12px; width: 100%; }
.nav-toggle.is-open .nav-toggle__bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bars i:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-open .nav-toggle__bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { font-size: 15px; padding: 12px 22px; border-radius: 10px; letter-spacing: .005em; }
.btn--sm { font-size: 14px; padding: 10px 18px; }
.btn--primary { background: var(--green-700); box-shadow: 0 6px 16px rgba(11, 107, 63, .22); }
.btn--light { color: var(--green-900); }
.btn--light:hover { background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); transform: translateY(-1px); }

/* ---------- heroes: photographic, left aligned ---------- */
.page-hero {
  margin: 0;
  min-height: 0;
  border-radius: 0;
  align-items: center;
}
.page-hero::after {
  background:
    linear-gradient(90deg, rgba(4, 26, 17, .94) 0%, rgba(4, 26, 17, .78) 42%, rgba(4, 26, 17, .28) 100%),
    linear-gradient(0deg, rgba(4, 26, 17, .55), transparent 40%);
}
.hero-scene img,
.hero-scene--cover img {
  object-fit: cover;
  object-position: center;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
.page-hero__body {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(56px, 9vw, 104px) var(--gutter);
  text-align: left;
}
.page-hero__body > * { max-width: 680px; margin-left: 0; margin-right: 0; }
.page-hero .crumbs { font-size: 14px; }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 62px); line-height: 1.07; margin: 16px 0 18px; font-weight: 800; }
.page-hero p { font-size: clamp(16.5px, 1.7vw, 19px); line-height: 1.65; max-width: 60ch; color: rgba(255, 255, 255, .9); }
.page-hero__actions { margin-top: 28px; justify-content: flex-start; gap: 12px; }
.badge-live { font-size: 13px; padding: 7px 14px; }
.page-hero .badge-live { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn--outline-light { border-width: 1.5px; }

/* ---------- section titles / filters / chips ---------- */
.crumbs { font-size: 14px; }
.section__title { font-size: clamp(24px, 2.6vw, 30px); margin: 8px 0 18px; }
.section__title::before { background: var(--gold); width: 4px; height: 26px; }
.filters { gap: 10px; padding: 22px 0 8px; }
.filters__label { font-size: 14.5px; }
.chip { font-size: 14px; padding: 9px 18px; }
.panel__head { font-size: 16.5px; padding: 18px 24px; }
.panel__head::before { background: var(--gold); }
.panel__body { padding: 22px 24px 26px; }

/* ---------- cards: roomy, real photos ---------- */
.cat-cards { gap: 20px; margin: 32px 0 8px; }
.cat-card {
  min-height: 250px;
  padding: 28px 26px 26px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.cat-card::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .35)); }
.cat-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  margin-bottom: 18px;
}
.cat-card h3 { font-size: 21px; margin-bottom: 8px; }
.cat-card p { font-size: 14.5px; line-height: 1.55; opacity: .92; }
.cat-card__arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding-top: 18px; }
.cc-finance   { background-image: linear-gradient(160deg, rgba(6, 48, 29, .88), rgba(11, 107, 63, .72)), url("../img/photos/coins.4f23d3c7042c.jpg"); }
.cc-business  { background-image: linear-gradient(160deg, rgba(15, 32, 80, .9), rgba(29, 78, 216, .68)), url("../img/photos/city.f999b268e0e7.jpg"); }
.cc-crypto    { background-image: linear-gradient(160deg, rgba(40, 15, 90, .9), rgba(124, 58, 237, .66)), url("../img/photos/crypto.b8805d42e331.jpg"); }
.cc-startup   { background-image: linear-gradient(160deg, rgba(100, 38, 8, .9), rgba(234, 88, 12, .66)), url("../img/photos/startup.75f47b50a5be.jpg"); }
.cc-affiliate { background-image: linear-gradient(160deg, rgba(6, 60, 76, .9), rgba(8, 145, 178, .66)), url("../img/photos/phones.bc9b83c0178a.jpg"); }

.feature-card, .mini-card, .service-card, .widget, .panel { border-radius: var(--radius-lg); }
.feature-card__body { padding: 28px 30px 30px; }
.feature-card__body h3 { font-size: clamp(22px, 2.4vw, 27px); margin-bottom: 12px; }
.feature-card__body p { font-size: 16px; line-height: 1.7; }
.mini-card { grid-template-columns: 140px minmax(0, 1fr); gap: 18px; padding: 16px; box-shadow: var(--shadow-sm); }
.mini-card h4 { font-size: 17px; line-height: 1.35; margin: 6px 0 10px; }
.mini-card__meta { font-size: 13.5px; gap: 10px; }
.tagline { font-size: 11.5px; padding: 4px 10px; border-radius: 6px; margin-bottom: 8px; }
.card-grid-2 { gap: 20px; }
.cat-grid { gap: 28px; }
.article-stack { gap: 16px; }

.media { background: var(--green-900); }
.media img { transition: transform .6s ease; }
.feature-card:hover .media img, .mini-card:hover .media img { transform: scale(1.05); }
.media__tag { background: var(--gold); color: #1b1405; font-size: 12px; padding: 7px 13px; left: 18px; bottom: 18px; }

.service-grid { gap: 24px; }
.service-card { padding: 30px 28px; }
.service-card h3 { font-size: 20px; }
.service-card p { font-size: 15.5px; line-height: 1.65; }
.service-card__icon { width: 52px; height: 52px; border-radius: 14px; }
.link-more { font-size: 14.5px; }
.link-more::after {
  content: "";
  width: 15px; height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- sidebar + widgets ---------- */
.sidebar { gap: 24px; }
.widget__head { font-size: 16px; padding: 18px 22px; }
.widget__body { padding: 20px 22px 24px; }
.tips h4 { font-size: 14.5px; }
.tips { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
.popular a { font-size: 15px; }
.popular small { font-size: 13px; }
.popular li { padding: 13px 0; }
.promo { padding: 24px; }
.promo p { font-size: 14.5px; }
.newsletter-form input, .field input, .field select, .field textarea { font-size: 15.5px; padding: 13px 15px; }
.newsletter-note { font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.toc a { font-size: 14.5px; padding: 10px 12px; }

.socials { gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; }
.socials svg { width: 18px; height: 18px; }

/* ---------- CTA band ---------- */
.cta { padding: 36px clamp(24px, 4vw, 44px); gap: 24px; border-radius: var(--radius-lg); }
.cta h3 { font-size: 24px; margin-bottom: 6px; }
.cta p { font-size: 16px; }
.cta__icon { width: 60px; height: 60px; }
.cta__form input { font-size: 15.5px; padding: 13px 16px; }

/* ---------- article, forms, legal ---------- */
.article-body { padding: clamp(24px, 4vw, 40px); font-size: 17px; line-height: 1.8; }
.article-body h2 { font-size: 27px; margin-top: 1.6em; }
.article-body h3 { font-size: 21px; }
.callout { padding: 20px 24px; }
.callout p { font-size: 16px; }
.share-row span { font-size: 14px; }
.checklist li::before {
  content: "";
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6b3f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.field label, label { font-size: 14.5px; }
.check { font-size: 14.5px; }
.info-list { font-size: 15.5px; }
.stat { padding: 22px 20px; }
.legal__toc, .legal section { font-size: 16px; }

/* ---------- footer ---------- */
.site-footer { background: #04261a; margin-top: 72px; }
.footer__inner { padding: 64px 0 40px; gap: 40px; }
.footer__brand p { font-size: 15px; line-height: 1.7; }
.footer__col h4 { font-size: 15px; margin-bottom: 16px; font-family: var(--font-display); letter-spacing: .01em; }
.footer__col a { font-size: 15px; opacity: .85; }
.footer__col ul { gap: 12px; }
.footer__bottom { font-size: 14px; padding: 22px 0 28px; }
.footer__bottom .socials a { width: 38px; height: 38px; }

/* spacing between stacked sections */
.layout, .two-col, .legal, .article-layout { padding-top: 32px; padding-bottom: 64px; gap: 36px; }
section.container { padding-top: 12px; }

/* ---------- 404 ---------- */
.nf { text-align: left; }
.nf__actions, .nf__search { justify-content: flex-start; margin-left: 0; }

/* ---------- tablet + mobile header: slide-in drawer ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    z-index: 200;
    width: min(92vw, 420px);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0 0 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 0;
    box-shadow: -24px 0 70px rgba(4, 26, 17, .28);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(104%);
    visibility: hidden;
    transition: transform .38s cubic-bezier(.22, .8, .2, 1), visibility 0s linear .38s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.22, .8, .2, 1); }

  .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    position: sticky; top: 0; z-index: 2;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav-close {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    cursor: pointer;
    transition: background .2s, transform .3s;
  }
  .nav-close:hover { background: var(--green-50); transform: rotate(90deg); }

  .nav > li > a, .nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: 17.5px;
    font-weight: 700;
    color: var(--ink);
    border-radius: 0;
    border-bottom: 1px solid #eef1f4;
    box-shadow: none;
  }
  .nav__item.is-active > a, .nav__item.is-active > .nav__trigger { color: var(--green-700); box-shadow: inset 4px 0 0 var(--gold); }
  .caret { width: 14px; height: 14px; opacity: .7; transition: transform .25s; }
  .nav__item.is-open .caret { transform: rotate(180deg); }
  .nav__item.is-open > .nav__trigger { background: var(--green-50); color: var(--green-700); }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    opacity: 1; visibility: visible; transform: none;
    border: 0; border-radius: 0; box-shadow: none;
    padding: 6px 0;
    background: #f7faf8;
  }
  .nav__item.is-open .dropdown { display: block; }
  .dropdown a { font-size: 16.5px; padding: 13px 24px 13px 40px; border-radius: 0; font-weight: 600; }

  .nav__drawer-cta { display: grid; gap: 12px; padding: 26px 24px 6px; margin-top: auto; }
  .nav { overflow-x: hidden; }
  .nav .logo { width: auto; padding: 0; border: 0; justify-content: flex-start; gap: 10px; border-radius: 0; background: none; }
  .nav .nav__drawer-cta .btn { width: 100%; padding: 15px 22px; font-size: 16px; justify-content: center; border-radius: 12px; border: 1px solid transparent; }
  .nav .nav__drawer-cta .btn--primary { background: var(--grad-emerald, var(--green-700)); color: #fff; }
  .nav .nav__drawer-cta .btn--ghost { background: #fff; color: var(--green-800); border-color: var(--line); }

  .nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    z-index: 190;
    background: rgba(4, 26, 17, .6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: fadeIn .3s ease;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  .header__inner { min-height: 68px; }
  .layout, .article-layout, .two-col, .legal { gap: 32px; }
}

@media (max-width: 900px) {
  .mini-card { grid-template-columns: 120px minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header__inner { gap: 10px; }
  .btn--sub-hide { display: none; }
  .logo__text { font-size: 15px; }
  .logo__mark { width: 42px; height: 42px; }
  .page-hero { min-height: 0; }
  .page-hero::after {
    background: linear-gradient(180deg, rgba(4, 26, 17, .72), rgba(4, 26, 17, .9));
  }
  .page-hero__body { padding-block: 56px 60px; }
  .page-hero__actions .btn { flex: 1 1 100%; }
  .cat-card { min-height: 0; padding: 26px 24px; }
  .feature-card__body { padding: 24px 22px 26px; }
  .mini-card { padding: 14px; gap: 14px; grid-template-columns: 112px minmax(0, 1fr); }
  .cta { padding: 28px 24px; }
  .cta .btn, .cta__actions .btn { width: 100%; }
  .footer__inner { padding: 48px 0 28px; }
  .article-body { font-size: 16.5px; }
}

@media (max-width: 520px) {
  .nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .nav-toggle__label { display: none; }
  .mini-card { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px; align-items: center; }
  .mini-card .media { aspect-ratio: 1 / 1; border-radius: 10px; }
  .mini-card h4 { font-size: 13.5px; line-height: 1.3; margin: 0 0 6px; }
  .mini-card__meta { font-size: 11px; gap: 6px; flex-wrap: wrap; }
  .nav { width: 100%; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   MAD SPOTLIGHT — compact, bold featured-article card
   ============================================================ */
.feature-card--spotlight {
  border: none;
  border-left: 5px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.feature-card--spotlight:hover { border-left-color: var(--green-700); }
.feature-card--spotlight > a {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  height: 100%;
}
.feature-card--spotlight .media { aspect-ratio: auto; height: 100%; min-height: 220px; }
.feature-card--spotlight .feature-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 30px;
  overflow: hidden;
}
.feature-card--spotlight .feature-card__body::before {
  content: "01";
  position: absolute;
  top: -18px; right: 10px;
  font-family: var(--font-display, serif);
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  color: #0b3d24;
  opacity: .06;
  pointer-events: none;
}
.feature-card--spotlight .feature-card__body h3 { font-size: clamp(19px, 2vw, 23px); margin-bottom: 8px; }
.feature-card--spotlight .feature-card__body p { font-size: 14.5px; line-height: 1.6; margin-bottom: 0; }
.feature-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0b3d24;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease, gap .2s ease;
}
.feature-card--spotlight:hover .feature-card__cta { background: var(--gold); color: #1b1405; gap: 12px; }

@media (max-width: 880px) {
  .feature-card--spotlight > a { grid-template-columns: minmax(0, 1fr); }
  .feature-card--spotlight .media { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .feature-card--spotlight .feature-card__body { padding: 20px 20px 24px; }
  .feature-card--spotlight .feature-card__body::before { font-size: 80px; }
}

/* ============================================================
   MAD CAROUSEL — category cards coverflow
   ============================================================ */
.cat-section { position: relative; }
.cat-section .headline-row { margin-bottom: 4px; }

/* Prevent horizontal page overflow on small screens (off-canvas drawer, 3D carousel, glows).
   `clip` does not create a scroll container, so the sticky header keeps working. */
html, body { max-width: 100%; overflow-x: clip; }
.cat-section, .carousel, .site-header, .cta, .footer__cta-card { overflow-x: clip; }

/* Base .cat-cards already renders as a clean, accessible grid — that
   stays as-is for no-JS / reduced-motion visitors. JS progressively
   enhances it into the 3D coverflow carousel below. */
.carousel {
  position: relative;
  margin: 28px 0 10px;
  padding: 10px 64px 54px;
  outline: none;
}
.carousel::before {
  content: "";
  position: absolute;
  inset: -40px 0 0;
  background: radial-gradient(60% 60% at 50% 38%, rgba(217, 164, 65, .16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cat-cards--carousel {
  position: relative;
  display: block;
  height: clamp(380px, 42vw, 440px);
  perspective: 1600px;
  perspective-origin: 50% 35%;
  z-index: 1;
}
.cat-cards--carousel .cat-card {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(300px, 74vw);
  margin: 0;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: transform .7s cubic-bezier(.22, .9, .25, 1), opacity .6s ease, filter .6s ease, box-shadow .4s ease;
}
.cat-cards--carousel .cat-card.is-active {
  box-shadow: 0 40px 80px -20px rgba(6, 36, 22, .55), 0 0 0 2px rgba(217, 164, 65, .55);
}
.cat-cards--carousel .cat-card:not(.is-active) { filter: brightness(.72) saturate(.85); }
/* No hover effects on carousel cards: hovering must never move or restyle them */
.cat-cards--carousel .cat-card:hover::before { opacity: 0; }
.cat-cards--carousel .cat-card:hover .cat-card__icon { transform: none; }
.cat-cards--carousel .cat-card:hover .cat-card__arrow .ico { transform: none; }

.carousel__arrow {
  position: absolute;
  top: 48%;
  z-index: 5;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.carousel__arrow:hover { background: #0b3d24; color: #fff; border-color: #0b3d24; transform: translateY(-50%) scale(1.08); }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }
.carousel__arrow svg { width: 20px; height: 20px; }

.carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 6px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
  z-index: 5;
}
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0;
  cursor: pointer;
  transition: all .25s ease;
}
.carousel__dot.is-active { width: 28px; border-radius: 6px; background: var(--gold); border-color: var(--gold); }

@media (max-width: 900px) {
  .carousel { padding: 10px 50px 50px; }
  .carousel__arrow { width: 42px; height: 42px; }
}
@media (max-width: 640px) {
  .carousel { padding: 10px 6px 54px; }
  .carousel__arrow { display: none; }
  .cat-cards--carousel { height: clamp(320px, 78vw, 380px); }
}

/* ============================================================
   DARK MODE
   ============================================================ */
html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
.theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
body, .site-header, .panel, .feature-card, .mini-card, .widget, .service-card, .stat, .chip { transition: background-color .25s, border-color .25s, color .25s; }

[data-theme="dark"] {
  --bg: #0c1114;
  --white: #151c21;
  --ink: #eef2f5;
  --ink-2: #c3ccd4;
  --muted: #8d98a3;
  --line: #26313a;
  --green-50: #12261d;
  --green-700: #3fc583;
  --green-800: #7fdcae;
  --green-900: #e8f7ef;
}
[data-theme="dark"] body { color: var(--ink); background: var(--bg); }
[data-theme="dark"] .btn--primary,
[data-theme="dark"] .nav .nav__drawer-cta .btn--primary { background: #0e8a4f; color: #fff; }
[data-theme="dark"] .btn--primary:hover { background: #12a35d; }
[data-theme="dark"] .btn--light { background: #fff; color: #06301d; }
[data-theme="dark"] .btn--ghost,
[data-theme="dark"] .nav .nav__drawer-cta .btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] .site-header,
[data-theme="dark"] .dropdown,
[data-theme="dark"] .icon-btn,
[data-theme="dark"] .search-panel input,
[data-theme="dark"] .chip,
[data-theme="dark"] .panel,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .mini-card,
[data-theme="dark"] .widget,
[data-theme="dark"] .service-card,
[data-theme="dark"] .stat,
[data-theme="dark"] .badge,
[data-theme="dark"] .nav__drawer-head,
[data-theme="dark"] .nf__search input,
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea,
[data-theme="dark"] .newsletter-form input { background: var(--white); color: var(--ink); }
[data-theme="dark"] .site-header { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(0, 0, 0, .35); }
[data-theme="dark"] .nav .dropdown { background: #0f1519; }
@media (max-width: 900px) {
  [data-theme="dark"] .nav { background: var(--white); color: var(--ink); }
}
[data-theme="dark"] .nav-toggle { background: var(--white); color: var(--ink); border-color: var(--line); }
[data-theme="dark"] .nav-toggle__bars i { background: var(--ink); }
[data-theme="dark"] .vision { background: linear-gradient(120deg, #11231b, #131c21); }
[data-theme="dark"] .privacy-note { background: #2a2210; border-color: #5a4515; color: #f3d88a; }
[data-theme="dark"] .tag-blue { background: #14264a; color: #8db4ff; }
[data-theme="dark"] .tag-orange { background: #3a210f; color: #fdba74; }
[data-theme="dark"] .tag-purple { background: #25194a; color: #c4b5fd; }
[data-theme="dark"] .tag-cyan { background: #0f2f38; color: #67e8f9; }
[data-theme="dark"] .logo__text { color: var(--ink); }
[data-theme="dark"] .logo__text span { color: #3fc583; }
[data-theme="dark"] .footer__brand .logo__text { color: #fff; }
[data-theme="dark"] .footer__brand .logo__text span { color: #9fd8bb; }
[data-theme="dark"] .site-footer { background: #070d0a; }
[data-theme="dark"] .media img,
[data-theme="dark"] .article-hero img { filter: brightness(.9); }
[data-theme="dark"] ::placeholder { color: #6d7883; }
[data-theme="dark"] .nav-backdrop { background: rgba(0, 0, 0, .65); }

/* print */
@media print {
  .site-header, .site-footer, .to-top, .filters, .search-panel { display: none !important; }
  body { background: #fff; }
}

/* ============================================================
   DESIGN LAYER v3 — "Emerald Luxe" signature treatment
   Bold, premium, editorial. Purely additive: every class and
   structure stays; it just feels expensive. Readability first —
   text stays high-contrast; the luxe comes from depth, light
   and motion, never from washing out copy.
   ============================================================ */
:root {
  --luxe-gold:      #e8c66a;
  --luxe-gold-2:    #c9a24b;
  --luxe-gold-3:    #a9822f;
  --grad-emerald:   linear-gradient(135deg, #0b6b3f 0%, #12a35d 48%, #3fc583 100%);
  --grad-gold:      linear-gradient(120deg, #a9822f, #e8c66a 42%, #fff6d8 52%, #e8c66a 62%, #a9822f);
  --luxe-shadow:    0 20px 45px -18px rgba(4, 23, 15, .35);
  --luxe-shadow-lg: 0 34px 70px -24px rgba(4, 23, 15, .45);
  --ease-luxe:      cubic-bezier(.22, .8, .2, 1);
}

html { scrollbar-color: var(--luxe-gold-2) transparent; }
::selection { background: rgba(18, 163, 93, .30); color: #03301b; }
::-moz-selection { background: rgba(18, 163, 93, .30); color: #03301b; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3fc583, #0b6b3f);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--luxe-gold-2), var(--luxe-gold-3)); background-clip: padding-box; }

/* base colour moves to <html> so the ambient aurora behind <body> can show */
html { background: var(--bg); }
body { background: transparent; }

/* ambient aurora mesh + film grain behind the whole page */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }
body::before {
  background:
    radial-gradient(46vw 46vw at 10% 6%,  rgba(18,163,93,.22), transparent 60%),
    radial-gradient(40vw 40vw at 94% 16%, rgba(232,198,106,.20), transparent 60%),
    radial-gradient(52vw 52vw at 80% 98%, rgba(11,107,63,.18), transparent 62%),
    radial-gradient(38vw 38vw at 26% 94%, rgba(63,197,131,.16), transparent 60%);
  animation: luxeDrift 30s var(--ease-luxe) infinite alternate;
}
body::after {
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes luxeDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-2.5%, 1.5%, 0) scale(1.07); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.03); }
}

/* accessible premium focus ring everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid rgba(201, 162, 75, .55);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- header: frosted glass + gold hairline ---------- */
.site-header {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(4, 23, 15, .06), 0 10px 30px -18px rgba(4, 23, 15, .35);
}
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--grad-gold);
  background-size: 200% 100%;
  opacity: .9;
  animation: luxeShimmer 6s linear infinite;
}
@keyframes luxeShimmer { to { background-position: 200% 0; } }

/* ---------- logo ---------- */
.logo__mark {
  background: var(--grad-emerald);
  box-shadow: 0 8px 20px -8px rgba(4, 23, 15, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.logo__mark::after { border-color: rgba(232, 198, 106, .55); }
.logo:hover .logo__mark { transform: translateY(-1px) rotate(-3deg); }
.logo__mark { transition: transform .35s var(--ease-luxe); }

/* ---------- nav ---------- */
.nav a, .nav__trigger { position: relative; border-radius: 8px; transition: color .2s, background-color .2s; }
.nav > li > a:hover, .nav__trigger:hover { background: rgba(18, 163, 93, .08); }
.nav__item.is-active > a, .nav__item.is-active > .nav__trigger { color: var(--green-700); }
.dropdown {
  border-radius: 14px;
  box-shadow: var(--luxe-shadow);
  border: 1px solid rgba(4, 23, 15, .06);
}
.dropdown a { border-radius: 9px; transition: background-color .18s, color .18s, padding-left .18s; }
.dropdown a:hover { background: var(--green-50); color: var(--green-800); padding-left: 18px; }

/* ---------- buttons: gradient + shine sweep + lift ---------- */
.btn { position: relative; overflow: hidden; border-radius: 11px; transition: transform .25s var(--ease-luxe), box-shadow .25s var(--ease-luxe), background-color .25s, filter .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-emerald); background-size: 180% 100%; box-shadow: 0 10px 24px -12px rgba(11, 107, 63, .8); }
.btn--primary:hover { box-shadow: 0 16px 34px -14px rgba(11, 107, 63, .85); filter: saturate(1.08); }
.btn--primary::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -120%; width: 60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease-luxe);
}
.btn--primary:hover::after { left: 130%; }
.btn--ghost { border: 1.5px solid rgba(18, 163, 93, .35); }
.btn--ghost:hover { border-color: var(--luxe-gold-2); box-shadow: 0 10px 24px -16px rgba(201, 162, 75, .9); }
.btn--light { box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .55); }
.btn--outline-light { border: 1.5px solid rgba(255, 255, 255, .5); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- hero: cinematic vignette + gold headline accent ---------- */
.page-hero::after {
  background:
    radial-gradient(120% 90% at 15% 20%, rgba(11, 107, 63, .55), transparent 60%),
    linear-gradient(90deg, rgba(3, 22, 14, .95) 0%, rgba(3, 22, 14, .82) 40%, rgba(3, 22, 14, .38) 100%),
    linear-gradient(0deg, rgba(3, 22, 14, .6), transparent 45%);
}
.page-hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.page-hero .badge-live {
  background: linear-gradient(120deg, rgba(232,198,106,.18), rgba(232,198,106,.06));
  color: #fff;
  border: 1px solid rgba(232, 198, 106, .55);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .6);
}
.page-hero .badge-live::before { background: var(--luxe-gold); box-shadow: 0 0 10px 1px rgba(232, 198, 106, .8); }

/* ---------- section titles + chips ---------- */
.section__title::before { background: var(--grad-gold); box-shadow: 0 3px 10px -4px rgba(201, 162, 75, .9); }
.chip { border: 1px solid rgba(18, 163, 93, .18); transition: transform .2s var(--ease-luxe), box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -12px rgba(4, 23, 15, .5); }
.chip.is-active { background: var(--grad-emerald); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -12px rgba(11, 107, 63, .8); }
/* Chips on category pages are real links (?filter=<chip>), not buttons. */
a.chip { text-decoration: none; }
.filters__count { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted, #6b7280); }
.filter-empty { text-align: center; color: var(--muted, #6b7280); font-size: 14.5px; padding: 40px 0; }

/* ---------- category cards (Explore by category) ---------- */
.cat-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform .4s var(--ease-luxe), box-shadow .4s var(--ease-luxe);
}
.cat-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(80% 80% at 85% 15%, rgba(232, 198, 106, .35), transparent 55%);
  transition: opacity .4s var(--ease-luxe);
}
.cat-card > * { position: relative; z-index: 1; }
.cat-cards:not(.cat-cards--carousel) .cat-card:hover { transform: translateY(-6px); box-shadow: var(--luxe-shadow-lg); }
.cat-card:hover::before { opacity: 1; }
.cat-card__arrow { color: var(--luxe-gold); }
.cat-card:hover .cat-card__arrow .ico { transform: translateX(5px); }

/* ---------- feature / article cards: gradient hairline + lift ---------- */
.feature-card {
  position: relative;
  border: 1px solid rgba(4, 23, 15, .06);
  box-shadow: 0 1px 2px rgba(4, 23, 15, .04);
  transition: transform .4s var(--ease-luxe), box-shadow .4s var(--ease-luxe), border-color .4s;
}
.feature-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-gold);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .4s var(--ease-luxe);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--luxe-shadow-lg);
  border-color: rgba(232, 198, 106, .5);
}
.feature-card:hover::before { opacity: 1; animation: luxeShimmer 4s linear infinite; }

/* ---------- mini cards (article stack) ---------- */
.mini-card {
  border: 1px solid rgba(4, 23, 15, .05);
  transition: transform .35s var(--ease-luxe), box-shadow .35s var(--ease-luxe), border-color .35s;
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--luxe-shadow);
  border-color: rgba(232, 198, 106, .5);
}
.mini-card h4 a { transition: color .2s; }
.mini-card:hover h4 a { color: var(--green-700); }

/* ---------- media / tagline ---------- */
.media { background: linear-gradient(135deg, var(--green-900), var(--green-800)); }
.media__tag {
  background: var(--grad-gold);
  color: #1b1405;
  font-weight: 800;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6);
  border: 1px solid rgba(255, 255, 255, .35);
}
.tagline { border: 1px solid rgba(4, 23, 15, .06); }

/* ---------- sidebar widgets / panels ---------- */
.widget, .panel {
  border: 1px solid rgba(4, 23, 15, .06);
  box-shadow: 0 1px 2px rgba(4, 23, 15, .04);
}
.widget__head {
  background: linear-gradient(120deg, var(--green-50), #fff);
  border-bottom: 1px solid rgba(4, 23, 15, .05);
}
.toc a { transition: color .2s, padding-left .2s; border-radius: 6px; }
.toc a:hover { color: var(--green-700); padding-left: 6px; }
.toc a.is-active { color: var(--green-700); font-weight: 700; }
.popular a { transition: color .2s; }
.popular a:hover { color: var(--green-700); }
.promo { background: var(--grad-emerald); color: #fff; }
.promo .btn--primary { background: #fff; color: var(--green-800); }
.promo .btn--primary:hover { box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }

/* ---------- article body: editorial reading ---------- */
.article-body h2 {
  position: relative;
  padding-left: 16px;
}
.article-body h2::before {
  content: "";
  position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px;
  background: var(--grad-gold);
  border-radius: 4px;
}
.article-body a { color: var(--green-700); text-decoration: underline; text-decoration-color: rgba(232, 198, 106, .6); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--luxe-gold-2); }
.callout {
  border-left: 4px solid var(--luxe-gold-2);
  background: linear-gradient(120deg, var(--green-50), #fff);
  box-shadow: 0 1px 2px rgba(4, 23, 15, .04);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--luxe-shadow);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%);
  pointer-events: none;
}
.cta__form input { border: 1px solid rgba(255, 255, 255, .35); }

/* ---------- stats ---------- */
.stat {
  border: 1px solid rgba(4, 23, 15, .05);
  box-shadow: 0 1px 2px rgba(4, 23, 15, .04);
  transition: transform .3s var(--ease-luxe), box-shadow .3s var(--ease-luxe);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--luxe-shadow); }
.stat b { background: var(--grad-emerald); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- vision panel ---------- */
.vision { border-radius: 20px; box-shadow: var(--luxe-shadow); }
.vision__art { border-radius: 16px; overflow: hidden; box-shadow: var(--luxe-shadow); }

/* ---------- service cards ---------- */
.service-card {
  border: 1px solid rgba(4, 23, 15, .06);
  transition: transform .35s var(--ease-luxe), box-shadow .35s var(--ease-luxe), border-color .35s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--luxe-shadow); border-color: rgba(232, 198, 106, .5); }
.service-card__icon { background: var(--grad-emerald); color: #fff; box-shadow: 0 10px 22px -12px rgba(11, 107, 63, .8); }
.link-more { color: var(--green-700); }

/* ---------- footer ---------- */
.site-footer { position: relative; }
.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-gold);
  background-size: 200% 100%;
  animation: luxeShimmer 6s linear infinite;
}
.footer__col a { transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--luxe-gold); padding-left: 3px; }
.socials a { transition: transform .25s var(--ease-luxe), background-color .25s, color .25s; }
.socials a:hover { transform: translateY(-3px); color: #fff; }

/* ============================================================
   MAD FOOTER — aligned to the header's 1360px frame
   ============================================================ */
.site-footer {
  overflow-x: clip;
  margin-top: 96px;
  background: #04261a;
  isolation: isolate;
}
.site-footer::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 40% at 12% 0%, rgba(63, 197, 131, .22), transparent 70%),
    radial-gradient(40% 40% at 92% 30%, rgba(232, 198, 106, .14), transparent 70%);
  pointer-events: none;
}
.site-footer .container { max-width: 1360px; }

.footer__cta { position: relative; z-index: 2; padding-top: 0; }
.footer__cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-top: -56px;
  padding: 36px clamp(24px, 4vw, 48px);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(120deg, #0b6b3f 0%, #12a35d 55%, #3fc583 100%);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .14) inset;
  position: relative;
  overflow: hidden;
}
.footer__cta-card::before {
  content: "";
  position: absolute; right: -80px; top: -120px; width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 198, 106, .55), transparent 65%);
  animation: footerOrb 8s ease-in-out infinite alternate;
}
@keyframes footerOrb { to { transform: translate(-50px, 40px) scale(1.2); } }
.footer__cta-copy, .footer__cta-form { position: relative; }
.footer__eyebrow {
  display: inline-block; margin-bottom: 10px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(4, 38, 26, .35); color: #fff6d8;
}
.footer__cta-copy h3 { margin: 0; color: #fff; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.15; }
.footer__cta-copy h3 em { font-style: normal; color: #fff6d8; }
.footer__cta-form { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 380px; max-width: 520px; }
.footer__cta-form input {
  flex: 1 1 220px; min-width: 0;
  padding: 15px 20px; border-radius: 999px; border: 0;
  font: inherit; font-size: 15px;
  background: #fff; color: #0b2a1c;
}
.footer__cta-form input:focus-visible { outline: 3px solid #e8c66a; outline-offset: 2px; }
.footer__cta-form .btn {
  background: #04261a; color: #fff; border: 0; padding: 15px 26px; border-radius: 999px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  transition: transform .2s, background-color .2s;
}
.footer__cta-form .btn:hover { background: #000; transform: translateY(-2px); }
.footer__cta-form .newsletter-note { flex-basis: 100%; margin: 0; color: #fff6d8; font-size: 13px; }

.site-footer .footer__inner {
  grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(0, 1fr));
  padding: 72px var(--gutter) 48px;
  gap: 40px;
}
.footer__col h4 {
  position: relative; padding-bottom: 12px; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: #fff;
}
.footer__col h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px;
  background: var(--grad-gold);
}
.footer__col a:hover { padding-left: 6px; }
.footer__brand p { opacity: .8; max-width: 320px; }

.site-footer .footer__bottom {
  padding: 24px var(--gutter) 28px;
  opacity: 1; color: #b7d4c5;
}
.footer__bottom .socials a {
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}
.footer__bottom .socials a:hover { background: var(--grad-gold); color: #04261a; border-color: transparent; }
.footer__bottom nav a:hover { color: var(--luxe-gold); }

.footer__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 6.4vw, 104px);
  line-height: .9;
  letter-spacing: -.03em;
  text-align: center;
  white-space: nowrap;
  padding: 0 0 12px;
  margin-top: -6px;
  user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 1100px) {
  .site-footer .footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-footer .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 56px; gap: 32px 24px; }
  .footer__cta-card { margin-top: -40px; border-radius: 22px; padding: 28px 22px; }
  .footer__cta-form { flex-basis: 100%; max-width: none; }
  .footer__cta-form .btn { flex: 1 1 100%; justify-content: center; }
  .site-footer .footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer .footer__bottom nav { margin-left: 0; }
}
@media (max-width: 480px) {
  .site-footer .footer__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- toast + back to top ---------- */
.toast { border: 1px solid rgba(232, 198, 106, .4); }
.to-top {
  background: var(--grad-emerald);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(11, 107, 63, .9);
}
.to-top:hover { transform: translateY(-3px); }

/* ============================================================
   EXTRA MOTION — hero entrance, carousel glow, card micro-interactions
   ============================================================ */
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.page-hero__body > * { animation: heroRise .85s var(--ease-luxe) both; }
.page-hero__body > *:nth-child(1) { animation-delay: .05s; }
.page-hero__body > *:nth-child(2) { animation-delay: .16s; }
.page-hero__body > *:nth-child(3) { animation-delay: .27s; }
.page-hero__body > *:nth-child(4) { animation-delay: .38s; }

@keyframes carouselGlow {
  0%, 100% { box-shadow: 0 40px 80px -20px rgba(6, 36, 22, .55), 0 0 0 2px rgba(217, 164, 65, .55); }
  50% { box-shadow: 0 44px 92px -16px rgba(6, 36, 22, .6), 0 0 0 5px rgba(217, 164, 65, .85); }
}
.cat-cards--carousel .cat-card.is-active { animation: carouselGlow 2.6s ease-in-out infinite; }
.cat-cards--carousel .cat-card.is-active .cat-card__icon { animation: iconFloat 2.6s ease-in-out infinite; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.cat-card__icon { transition: transform .3s var(--ease-luxe), background-color .3s; }
.cat-cards:not(.cat-cards--carousel) .cat-card:hover .cat-card__icon { transform: scale(1.12) rotate(-4deg); background: rgba(255, 255, 255, .26); }

/* ---------- keep motion optional for sensitive users ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}


/* ---------- DESIGN LAYER v3 — dark-mode refinements ---------- */
[data-theme="dark"] html { background: var(--bg); }
[data-theme="dark"] body { background: transparent; }
[data-theme="dark"] .site-header {
  background: rgba(12, 17, 20, .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
[data-theme="dark"] .widget__head { background: linear-gradient(120deg, #12261d, var(--white)); border-bottom-color: rgba(255, 255, 255, .05); }
[data-theme="dark"] .callout { background: linear-gradient(120deg, #12261d, var(--white)); border-left-color: var(--luxe-gold); }
[data-theme="dark"] .media { background: linear-gradient(135deg, #04120c, #0a2a1c); }
[data-theme="dark"] .feature-card,
[data-theme="dark"] .mini-card,
[data-theme="dark"] .widget,
[data-theme="dark"] .panel,
[data-theme="dark"] .service-card,
[data-theme="dark"] .stat { border-color: rgba(255, 255, 255, .06); }
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .mini-card:hover,
[data-theme="dark"] .service-card:hover { border-color: rgba(232, 198, 106, .55); }
[data-theme="dark"] .promo { background: linear-gradient(135deg, #0b6b3f, #12a35d); }
[data-theme="dark"] .article-body a { color: var(--green-700); }
[data-theme="dark"] .to-top { background: linear-gradient(135deg, #0b6b3f, #12a35d); }

/* calm the ambient effects on small screens for performance */
@media (max-width: 720px) {
  body::before { animation-duration: 60s; opacity: .7; }
  .feature-card:hover, .cat-card:hover, .mini-card:hover { transform: none; }
}



input.field, select.field {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
