/* ============================================================
   VERALINE — wellbeing studio
   Fonts: Yeseva One (display) · Wix Madefor Text (body) · Overpass Mono (labels)
   Palette: cool mint-cream · charcoal · electric-blue accent
   ============================================================ */

:root {
  /* palette */
  --mint-cream: #eef6f1;
  --mint-100:   #e2efe8;
  --mint-200:   #cfe6da;
  --mint-tint:  #f4faf6;
  --charcoal:   #161b1d;
  --charcoal-2: #232b2e;
  --ink:        #1c2225;
  --ink-soft:   #4a575b;
  --ink-faint:  #76858a;
  --blue:       #1b54ff;     /* electric blue accent */
  --blue-deep:  #0c34c4;
  --blue-glow:  #4f74ff;
  --line:       rgba(22,27,29,.12);
  --line-soft:  rgba(22,27,29,.07);
  --white:      #ffffff;

  --paper:      var(--mint-cream);
  --shadow-sm:  0 1px 2px rgba(22,27,29,.05), 0 4px 14px rgba(22,27,29,.05);
  --shadow-md:  0 10px 30px -12px rgba(22,27,29,.18), 0 4px 10px rgba(22,27,29,.05);
  --shadow-lg:  0 30px 70px -28px rgba(15,24,35,.32);
  --shadow-blue:0 18px 50px -18px rgba(27,84,255,.5);

  --radius:     20px;
  --radius-sm:  12px;
  --radius-lg:  30px;

  --mw:         1180px;
  --gut:        clamp(20px, 5vw, 64px);

  --f-display: "Yeseva One", Georgia, serif;
  --f-body:    "Wix Madefor Text", system-ui, sans-serif;
  --f-mono:    "Overpass Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

/* ---------- focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--charcoal); color: #fff;
  padding: 10px 18px; border-radius: 10px;
  z-index: 200; transition: top .2s var(--ease);
  font-family: var(--f-mono); font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--mw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--blue); font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--blue); display: inline-block;
}
.eyebrow.center::after {
  content: ""; width: 26px; height: 1px; background: var(--blue); display: inline-block;
}

h1,h2,h3,h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; }
.h-xl { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
.h-lg { font-size: clamp(2.2rem, 4.7vw, 3.7rem); }
.h-md { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }
.text-blue { color: var(--blue); }
.muted { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13.5px; font-weight: 600;
  letter-spacing: .04em;
  padding: 15px 26px; border-radius: 100px;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-3px); background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--ink); background: rgba(255,255,255,.4); }
.btn-light { background: #fff; color: var(--charcoal); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(238,246,241,.72);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(238,246,241,.92);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px -16px rgba(22,27,29,.4);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--charcoal);
  font-family: var(--f-display); font-size: 1.45rem; letter-spacing: -.01em;
}
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background:
    radial-gradient(120% 120% at 30% 20%, var(--blue-glow), var(--blue) 55%, var(--blue-deep));
  position: relative; box-shadow: var(--shadow-sm);
}
.brand .mark::after {
  content:""; position:absolute; inset:0; border-radius:10px;
  background: radial-gradient(60% 60% at 70% 75%, rgba(255,255,255,.55), transparent 60%);
}
.brand .mark::before {
  content:""; position:absolute; left:50%; top:50%; width:13px; height:13px;
  transform: translate(-50%,-50%); border-radius:50%;
  border: 2.5px solid #fff;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 14.5px; font-weight: 500; padding: 9px 15px; border-radius: 100px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--charcoal); background: rgba(255,255,255,.6); }
.nav-cta { display: inline-flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items:center; justify-content:center; }
.nav-toggle span { display:block; width:20px; height:2px; background: var(--charcoal); position: relative; }
.nav-toggle span::before,.nav-toggle span::after { content:""; position:absolute; left:0; width:20px; height:2px; background: var(--charcoal); }
.nav-toggle span::before { top:-6px; } .nav-toggle span::after { top:6px; }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--mint-cream); padding: 16px var(--gut) 26px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { padding: 14px 16px; font-size: 17px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(60px,9vw,120px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(38% 50% at 14% 18%, rgba(27,84,255,.20), transparent 60%),
    radial-gradient(40% 46% at 88% 12%, rgba(79,116,255,.18), transparent 62%),
    radial-gradient(50% 60% at 78% 92%, rgba(27,84,255,.13), transparent 60%),
    radial-gradient(46% 56% at 8% 90%, rgba(120,210,170,.22), transparent 60%);
  filter: blur(8px);
  animation: meshDrift 26s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2.5%, -2%, 0) scale(1.08); }
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 28px; max-width: 16ch; }
.hero .lede { max-width: 52ch; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-faint); letter-spacing: .04em; margin-top: 22px; }

.hero-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px,5vw,72px); align-items: center; }
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative; aspect-ratio: 4/4.6;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(12,22,30,.35));
}
.hero-badge {
  position: absolute; left: -24px; bottom: 36px; z-index: 2;
  background: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; gap: 14px; align-items: center; max-width: 260px;
}
.hero-badge .hb-num { font-family: var(--f-display); font-size: 2.1rem; color: var(--blue); line-height: 1; }
.hero-badge .hb-txt { font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; }
.hero-float {
  position: absolute; right: -14px; top: 30px; z-index: 2;
  background: var(--charcoal); color: #fff; border-radius: 100px;
  padding: 11px 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em;
  box-shadow: var(--shadow-md); display:flex; align-items:center; gap:9px;
}
.hero-float .dot { width: 8px; height: 8px; border-radius: 50%; background: #6dffb0; box-shadow: 0 0 0 4px rgba(109,255,176,.25); }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .hero-badge { left: 0; }
}

/* ---------- marquee strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--mint-tint); overflow: hidden; }
.strip-track { display: flex; gap: 56px; padding: 18px 0; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.strip-track span { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 56px; }
.strip-track span::after { content: "✦"; color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .strip-track { animation: none; } }

/* ============================================================
   SPLIT-TEXT util (char stagger)
   ============================================================ */
.split .char, .split .word {
  display: inline-block;
  transform: translateY(1.05em) rotate(2deg);
  opacity: 0;
  will-change: transform, opacity;
}
.split.in .char, .split.in .word {
  transform: none; opacity: 1;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
  transition-delay: var(--d, 0s);
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
.reveal[data-delay="4"]{ transition-delay:.32s; }
.reveal[data-delay="5"]{ transition-delay:.40s; }

@media (prefers-reduced-motion: reduce){
  .reveal, .split .char, .split .word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-mesh { animation: none !important; }
}

/* ============================================================
   GENERIC SECTION HEADERS
   ============================================================ */
.sec-head { max-width: 660px; margin-bottom: clamp(40px,5vw,64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 { margin-bottom: 18px; }

/* ============================================================
   PILLARS / APPROACH
   ============================================================ */
.pillars { background: linear-gradient(180deg, var(--mint-cream), var(--mint-tint)); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar-card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px 36px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative; overflow: hidden;
}
.pillar-card::before {
  content:""; position:absolute; left:0; top:0; width:100%; height:3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-glow));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar-card:hover::before { transform: scaleX(1); }
.p-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-100); color: var(--blue); margin-bottom: 22px;
}
.p-ico svg { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.pillar-card p { color: var(--ink-soft); font-size: 15.5px; }
.p-num { position: absolute; right: 22px; top: 20px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-faint); letter-spacing:.1em; }
@media (max-width: 820px){ .pillar-grid { grid-template-columns: 1fr; } }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(50% 80% at 20% 0%, rgba(27,84,255,.32), transparent 60%),
              radial-gradient(40% 70% at 90% 100%, rgba(79,116,255,.22), transparent 60%);
}
.stats .wrap { position: relative; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.stat { border-left: 1px solid rgba(255,255,255,.14); padding-left: 22px; }
.stat .v { font-family: var(--f-display); font-size: clamp(2.2rem,4vw,3.1rem); line-height: 1; color: #fff; }
.stat .v b { color: var(--blue-glow); font-weight: 400; }
.stat .l { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-top: 12px; }
@media (max-width: 760px){ .stat-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; } }

/* ============================================================
   SERVICES / PROGRAMS (alternating)
   ============================================================ */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,76px); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(60px,8vw,110px); }
.svc-row.flip .svc-media { order: -1; }
.svc-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 5/4; }
.svc-media img { width:100%; height:100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc-row:hover .svc-media img { transform: scale(1.05); }
.svc-tag { font-family: var(--f-mono); font-size: 12px; letter-spacing:.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; display:block; }
.svc-body h3 { font-size: clamp(1.7rem,3vw,2.4rem); margin-bottom: 16px; }
.svc-body p { color: var(--ink-soft); margin-bottom: 22px; }
.svc-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.svc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.svc-list li svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.link-arrow { font-family: var(--f-mono); font-size: 13.5px; font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow .arr { transition: transform .3s var(--ease); }
.link-arrow:hover .arr { transform: translateX(5px); }
@media (max-width: 820px){
  .svc-row { grid-template-columns: 1fr; }
  .svc-row.flip .svc-media { order: 0; }
}

/* ============================================================
   FEATURE / PINNED PANEL
   ============================================================ */
.pin-section { position: relative; }
.pin-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px,5vw,70px); align-items: start; }
.pin-sticky { position: sticky; top: 110px; }
.pin-sticky .eyebrow { margin-bottom: 18px; }
.pin-sticky h2 { margin-bottom: 20px; }
.pin-steps { display: grid; gap: 18px; }
.pin-step {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px 28px 30px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
}
.pin-step .n {
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: #fff;
  background: var(--blue); width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; letter-spacing: .02em;
}
.pin-step h4 { font-size: 1.3rem; margin-bottom: 8px; }
.pin-step p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 820px){ .pin-grid { grid-template-columns: 1fr; } .pin-sticky { position: static; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { background: linear-gradient(180deg, var(--mint-tint), var(--mint-cream)); }
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote-card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-card .qmark { font-family: var(--f-display); font-size: 3.4rem; color: var(--mint-200); line-height: .6; height: 30px; }
.quote-card blockquote { font-size: 17px; line-height: 1.55; color: var(--ink); margin: 16px 0 24px; flex: 1; }
.q-author { display: flex; align-items: center; gap: 13px; }
.q-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color:#fff; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; font-weight: 600; flex: none; }
.q-meta b { font-size: 14.5px; display: block; font-weight: 600; }
.q-meta span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 820px){ .quote-grid { grid-template-columns: 1fr; } }

/* ============================================================
   INSIGHTS / POSTS
   ============================================================ */
.insights-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.post-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card.lead { grid-column: span 2; flex-direction: row; }
.post-thumb { position: relative; overflow: hidden; background: var(--mint-100); }
.post-card:not(.lead) .post-thumb { aspect-ratio: 16/9; }
.post-card.lead .post-thumb { flex: 1.05; min-height: 280px; }
.post-thumb img { width:100%; height:100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card.lead .post-body { flex: 1; justify-content: center; padding: clamp(28px,4vw,50px); }
.post-cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: flex; gap: 10px; align-items:center; }
.post-cat .rt { color: var(--ink-faint); }
.post-card h3 { font-size: 1.42rem; margin-bottom: 12px; line-height: 1.12; }
.post-card.lead h3 { font-size: clamp(1.7rem,2.6vw,2.3rem); }
.post-card p { color: var(--ink-soft); font-size: 14.8px; margin-bottom: 18px; flex: 1; }
.post-more { font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; color: var(--ink); display: inline-flex; gap: 8px; align-items:center; }
.post-more .arr { color: var(--blue); transition: transform .3s var(--ease); }
.post-card:hover .post-more .arr { transform: translateX(5px); }
@media (max-width: 820px){
  .post-grid { grid-template-columns: 1fr; }
  .post-card.lead { grid-column: auto; flex-direction: column; }
  .post-card.lead .post-thumb { min-height: 220px; }
}

/* ============================================================
   RESOURCES / BLOGROLL
   ============================================================ */
.resources { background: var(--charcoal); color: #fff; }
.resources .eyebrow { color: var(--blue-glow); }
.resources .eyebrow::before { background: var(--blue-glow); }
.res-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 40px; }
.res-item {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-sm);
  text-decoration: none; color: #fff; background: rgba(255,255,255,.02);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.res-item:hover { background: rgba(27,84,255,.12); border-color: var(--blue-glow); transform: translateX(4px); }
.res-item .r-anchor { font-size: 16px; font-weight: 600; }
.res-item .r-host { font-family: var(--f-mono); font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 4px; }
.res-item .r-arrow { color: var(--blue-glow); flex: none; }
@media (max-width: 720px){ .res-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep) 90%);
  border-radius: var(--radius-lg); padding: clamp(48px,7vw,90px) clamp(30px,6vw,80px);
  color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-blue);
}
.cta-inner::before {
  content:""; position:absolute; right:-10%; top:-40%; width:60%; height:180%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%);
}
.cta-inner::after {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 100% at 80% 50%, #000, transparent 75%);
}
.cta-inner > * { position: relative; }
.cta-inner h2 { font-size: clamp(2rem,4.4vw,3.4rem); margin-bottom: 18px; max-width: 18ch; }
.cta-inner p { color: rgba(255,255,255,.85); max-width: 46ch; margin-bottom: 32px; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--charcoal-2); color: rgba(255,255,255,.72); padding-block: clamp(56px,7vw,80px) 30px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .brand { color: #fff; margin-bottom: 18px; }
.foot-brand p { font-size: 14.5px; max-width: 34ch; color: rgba(255,255,255,.6); }
.foot-col h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.foot-col a { color: rgba(255,255,255,.74); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; flex-wrap: wrap; }
.foot-bottom p { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; color: rgba(255,255,255,.45); }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: rgba(255,255,255,.7); text-decoration: none; font-family: var(--f-mono); font-size: 11px; transition: background .2s, color .2s; }
.foot-social a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (max-width: 820px){ .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px){ .foot-top { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(60px,9vw,120px) clamp(40px,6vw,70px); }
.page-hero .hero-bg { position:absolute; inset:0; z-index:0; }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { margin-bottom: 22px; }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 24px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; }
.about-img img { width:100%; height:100%; object-fit: cover; }
.about-img.alt { aspect-ratio: 5/4; }
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.value-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.value-card .vn { font-family: var(--f-mono); font-size: 12px; color: var(--blue); letter-spacing: .1em; margin-bottom: 14px; }
.value-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 820px){ .about-split { grid-template-columns: 1fr; } .values-grid { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.team-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); text-align: center; }
.team-ava { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(135deg, var(--blue-glow), var(--blue-deep)); color:#fff; display:grid; place-items:center; font-family: var(--f-display); font-size: 1.7rem; }
.team-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-card .role { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.team-card p { color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 820px){ .team-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px,5vw,64px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start; }
.info-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--mint-100); color: var(--blue); display: grid; place-items: center; flex: none; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-family: var(--f-body); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.info-card a, .info-card p { color: var(--ink-soft); font-size: 15px; text-decoration: none; }
.info-card a:hover { color: var(--blue); }
.form-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(30px,4vw,48px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--mint-tint); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(27,84,255,.1); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-faint); margin-top: 18px; text-align: center; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ARTICLE
   ============================================================ */
.article-hero { position: relative; overflow: hidden; padding-block: clamp(48px,7vw,90px) 0; }
.article-head { max-width: 760px; position: relative; z-index: 1; }
.article-meta { display: flex; gap: 14px; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 22px; flex-wrap: wrap; }
.article-meta .cat { color: var(--blue); }
.article-head h1 { font-size: clamp(2.1rem,4.6vw,3.5rem); margin-bottom: 22px; }
.article-feat { max-width: 980px; margin: clamp(34px,5vw,56px) auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/8.2; }
.article-feat img { width:100%; height:100%; object-fit: cover; }

.article-body { max-width: 740px; margin-inline: auto; padding-block: clamp(48px,6vw,72px); font-size: 17.5px; }
.article-body > p { margin-bottom: 22px; color: var(--ink); line-height: 1.74; }
.article-body h2 { font-size: clamp(1.6rem,3vw,2.1rem); margin: 48px 0 18px; }
.article-body h3 { font-size: clamp(1.3rem,2.2vw,1.6rem); margin: 36px 0 14px; font-family: var(--f-display); }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; transition: color .2s; }
.article-body a:hover { color: var(--blue-deep); }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 26px; }
.article-body li { margin-bottom: 10px; color: var(--ink); }
.article-body img { border-radius: var(--radius); margin: 30px 0; box-shadow: var(--shadow-md); }
.article-body figure { margin: 30px 0; }
.article-body figure img { margin: 0; }
.article-body em { color: var(--ink-soft); }
.article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-body th { background: var(--charcoal); color: #fff; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; text-align: left; padding: 14px 16px; font-weight: 600; }
.article-body td { padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.article-body tr:nth-child(even) td { background: var(--mint-tint); }
.article-body section h2 { font-size: clamp(1.5rem,2.6vw,1.9rem); }
.article-body section > div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; margin-bottom: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.article-body section h3 { margin: 0 0 10px; font-family: var(--f-body); font-weight: 700; font-size: 1.1rem; }

.article-cta { max-width: 740px; margin: 0 auto; }
.author-strip { max-width: 740px; margin: 40px auto 0; padding: 26px 28px; background: var(--mint-tint); border: 1px solid var(--line-soft); border-radius: var(--radius); display: flex; gap: 18px; align-items: center; }
.author-strip .a-ava { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color:#fff; display:grid; place-items:center; font-family: var(--f-mono); font-weight: 600; flex: none; }
.author-strip b { display: block; font-size: 15px; }
.author-strip span { font-size: 13.5px; color: var(--ink-soft); }

.read-next { max-width: 980px; margin-inline: auto; }
.rn-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 820px){ .rn-grid { grid-template-columns: 1fr; } }

/* small print page */
.about-lead-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px,5vw,64px); align-items: start; }
@media (max-width: 820px){ .about-lead-grid { grid-template-columns: 1fr; } }
