/* ============================================================
   LHAFIX — Section components (shared across pages)
   Currently: Hero
   ============================================================ */

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-block: 9rem 6rem;
  background-color: var(--navy-1);
  background-image: var(--hero-grad);
  color: var(--dark-text);
}

.hero__inner {
  position: relative;
  z-index: 3;
  max-width: 62ch;
}
.js .hero__inner { visibility: hidden; }  /* revealed by the entrance timeline */

.hero .eyebrow { color: var(--blue-bright); }

.hero h1 {
  margin-top: 1.5rem;
  font-size: var(--fs-display);
  color: #fff;
  letter-spacing: -0.025em;
}
.hero h1 .hl { color: var(--blue-bright); }

.hero__sub {
  margin-top: 1.7rem;
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--dark-text-muted);
}

.hero__tagline {
  margin-top: 1.9rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--silver);
}

.hero__cta {
  margin-top: 2.3rem;
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.hero__stats { margin-top: 3.2rem; }
@media (min-width: 760px) {
  .hero__stats { flex-wrap: nowrap; width: max-content; }
  .hero__stats li { white-space: nowrap; }
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
}

/* ---- decorative art layer ---- */
.hero__art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  right: -12vw;
  top: 46%;
  translate: 0 -50%;
  width: 62vw;
  max-width: 820px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(74,140,255,.30), rgba(74,140,255,0) 62%);
  filter: blur(28px);
}
.hero__sweep {
  position: absolute;
  right: -6%;
  top: 50%;
  translate: 0 -50%;
  width: min(56vw, 680px);
  height: auto;
  opacity: .9;
}

.shape {
  position: absolute;
  border-radius: 22px;
  border: 1.5px solid rgba(120,170,255,.38);
  background: linear-gradient(135deg, rgba(74,140,255,.16), rgba(29,95,232,.02));
  box-shadow: 0 0 60px rgba(74,140,255,.16), inset 0 0 44px rgba(74,140,255,.06);
  will-change: transform;
}
.shape--1    { width: 340px; height: 122px; right: 7%;  top: 15%;    rotate: -27deg; }
.shape--2    { width: 230px; height: 88px;  right: 27%; top: 45%;    rotate: 17deg; }
.shape--3    { width: 150px; height: 150px; right: 5%;  bottom: 11%; rotate: 12deg; border-radius: 38px; }
.shape--ring {
  width: 250px; height: 250px;
  right: 15%; top: 24%;
  border-radius: 50%;
  border: 1.5px solid rgba(120,170,255,.28);
  background: none;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .hero__art { opacity: .6; }
  .shape--2  { display: none; }
}
@media (max-width: 720px) {
  .hero { min-height: auto; padding-block: 7.5rem 4.5rem; }
  .hero__cue { display: none; }
  .hero__art { opacity: .4; }
  .shape--ring { display: none; }
  .hero__eyebrow { letter-spacing: .14em; font-size: .72rem; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
}


/* ===================== PACKAGE CARDS — PODIUM ===================== */
/* Depth ranking, not a symmetric spread: Growth (recommended) leads
   front-and-center; Pro sits one step behind it; Starter recedes
   furthest. Scale, elevation, dimming and shadow all carry the same
   ranking together. */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.pkg {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease),
              opacity var(--dur-2) var(--ease);
}

/* On desktop the resting transform + opacity of each tier is owned by
   the entrance animation in main.js (so the "slide in from the side"
   lands exactly on the podium pose with no jump). CSS here only sets
   the parts JS doesn't touch — z-index, shadow, padding — plus the
   hover poses (marked !important so they win over JS's inline style)
   and a reduced-motion fallback that shows the podium statically. */
@media (min-width: 921px) {
  .pkg-grid .pkg:not(.pkg--featured):not(.pkg--pro) { z-index: 1; box-shadow: var(--sh-sm); }
  .pkg-grid .pkg--pro { z-index: 2; box-shadow: var(--sh-md); }
  .pkg-grid .pkg--featured { z-index: 3; padding-block: 2.6rem; }

  .pkg-grid .pkg:not(.pkg--featured):not(.pkg--pro):hover {
    transform: translateY(20px) scale(.92) !important;
    opacity: 1 !important;
  }
  .pkg-grid .pkg--pro:hover {
    transform: translateY(4px) scale(.98) !important;
    opacity: 1 !important;
    box-shadow: var(--sh-lg);
  }
  .pkg-grid .pkg--featured:hover {
    transform: translateY(-28px) scale(1.11) !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .pkg-grid .pkg:not(.pkg--featured):not(.pkg--pro) { transform: translateY(30px) scale(.89); opacity: .82; }
    .pkg-grid .pkg--pro { transform: translateY(14px) scale(.96); opacity: .92; }
    .pkg-grid .pkg--featured { transform: translateY(-22px) scale(1.09); }
  }
}
.pkg__name { font-size: var(--fs-h3); }
.pkg__desc {
  margin-top: .7rem;
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.6;
}
.pkg__list {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: .7rem;
  flex: 1;
}
.pkg__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .96rem;
  line-height: 1.5;
}
.pkg__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  transform: rotate(45deg);
}
.pkg__cta {
  margin-top: 1.6rem;
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: gap var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.pkg__cta:hover { gap: .8rem; color: var(--blue-bright); }
.pkg__cta--solid {
  align-self: stretch;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  padding: .85rem 1.15rem;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-blue);
}
.pkg__cta--solid:hover { color: #fff; background: var(--blue-bright); gap: .6rem; }

/* elevated "Recommended" card — deliberate pricing psychology */
.pkg--featured {
  position: relative;
  border: 1.5px solid var(--blue-bright);
  box-shadow:
    0 26px 64px rgba(29, 95, 232, .38),
    0 0 0 5px rgba(74, 140, 255, .16),
    0 0 40px rgba(74, 140, 255, .22);
  background:
    linear-gradient(180deg, var(--blue-soft), transparent 130px),
    var(--white);
}
.pkg--featured .pkg__list { border-top-color: #CFE0FC; }
.pkg__tag {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-blue);
}
@media (min-width: 921px) {
  /* 1st — Growth: front and center, biggest, brightest */
  .pkg--featured {
    z-index: 3;
    padding-block: 2.6rem;
    transform: translateY(-22px) scale(1.09);
  }
  .pkg--featured:hover { transform: translateY(-28px) scale(1.11); }
}

.pkg-note {
  text-align: center;
  color: var(--text-muted);
  font-size: .96rem;
}

/* full closing callout on the Services page */
.svc-cta {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  text-align: center;
  padding: clamp(2rem, 1.5rem + 3vw, 3.25rem);
  border: 1px solid #CFE0FC;
  border-radius: var(--r-lg);
  background: var(--blue-soft);
}
.svc-cta p {
  margin: 0 auto 1.6rem;
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink);
}
.svc-cta strong { font-weight: 700; }
.pkg-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.pkg-note a:hover { color: var(--blue-bright); }

@media (max-width: 920px) {
  .pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pkg-grid .pkg,
  .pkg-grid .pkg--pro,
  .pkg-grid .pkg--featured {
    transform: none;
    opacity: 1;
    z-index: auto;
  }
  .pkg--featured { order: -1; }
}


/* ===================== WHY US (dark) ===================== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pillar {
  position: relative;
  padding: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease),
              background var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease);
}
.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 180px at 100% 0%, rgba(74,140,255,.10), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
  pointer-events: none;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 140, 255, .5);
  background: rgba(74, 140, 255, .06);
  box-shadow: 0 0 46px rgba(74, 140, 255, .14);
}
.pillar:hover::after { opacity: 1; }

.pillar__idx {
  position: absolute;
  top: 1.5rem;
  right: 1.7rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  color: rgba(157, 178, 208, .38);
}
.pillar__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(74,140,255,.22), rgba(29,95,232,.05));
  border: 1px solid rgba(74, 140, 255, .34);
}
.pillar__title {
  margin-top: 1.25rem;
  color: #fff;
  font-size: var(--fs-h3);
}
.pillar__desc {
  margin-top: .6rem;
  max-width: 42ch;
  color: var(--dark-text-muted);
  font-size: .98rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .why__grid { grid-template-columns: 1fr; }
}


/* ===================== PORTFOLIO TEASER ===================== */
.pf-card {
  position: relative;
  margin-top: 3rem;
  padding: clamp(2.75rem, 2rem + 5vw, 5rem) clamp(1.5rem, 1rem + 3vw, 3rem);
  text-align: center;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 1px 1px, rgba(14, 27, 44, .05) 1px, transparent 0) 0 0 / 22px 22px,
    var(--surface);
}
.pf-card__icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: var(--blue);
  border-radius: 16px;
  background: var(--blue-soft);
  border: 1px solid #CFE0FC;
}
.pf-card__icon svg { width: 28px; height: 28px; }
.pf-card__badge {
  display: block;
  width: max-content;
  margin: 1.4rem auto 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--white);
  border: 1px solid #CFE0FC;
  padding: .4rem .95rem;
  border-radius: var(--r-pill);
}
.pf-card h3 { margin-top: .9rem; font-size: var(--fs-h3); }
.pf-card p {
  margin: .8rem auto 0;
  max-width: 44ch;
  color: var(--text-muted);
}
.pf-card .btn { margin-top: 1.9rem; }

/* dedicated portfolio page: hinted upcoming case studies */
.pf-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.pf-preview__frame {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(14,27,44,.03) 12px 13px),
    var(--surface);
}
.pf-preview__frame span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silver-dark);
}
.pf-note {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: .96rem;
}
.pf-note a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pf-note a:hover { color: var(--blue-bright); }
@media (max-width: 720px) {
  .pf-preview { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}


/* ===================== CLOSING CTA BAND ===================== */
.cta-band { overflow: hidden; }
.cta-band__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(90vw, 900px);
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse, rgba(74, 140, 255, .22), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
}
.cta-band__panel {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2.5rem, 1.8rem + 5vw, 4.75rem);
  border-radius: var(--r-lg);
  border: 1px solid rgba(74, 140, 255, .30);
  background: linear-gradient(180deg, rgba(74, 140, 255, .12), rgba(74, 140, 255, .02));
  box-shadow: 0 0 90px rgba(74, 140, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cta-band__panel h2 { color: #fff; }
.cta-band__panel p {
  margin: 1.1rem auto 0;
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: var(--dark-text-muted);
}
.cta-band__cta {
  margin-top: 2.1rem;
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .cta-band__cta { width: 100%; }
  .cta-band__cta .btn { flex: 1 1 100%; }
}


/* ===================== PAGE HEADER (interior pages) ===================== */
.page-header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(8.5rem, 6rem + 9vw, 12rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background-color: var(--navy-1);
  background-image: var(--hero-grad);
  color: var(--dark-text);
}
.page-header__glow {
  position: absolute;
  right: -6%;
  top: -25%;
  width: min(52vw, 580px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(74, 140, 255, .22), transparent 62%);
  filter: blur(24px);
  z-index: -1;
  pointer-events: none;
}
.page-header__inner { position: relative; z-index: 2; }
.page-header .eyebrow { color: var(--blue-bright); }
.page-header h1 {
  margin-top: 1.3rem;
  color: #fff;
  max-width: 20ch;
}
.page-header__lead {
  margin-top: 1.5rem;
  max-width: 54ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--dark-text-muted);
}


/* ===================== PROSE ===================== */
.prose { max-width: 64ch; margin-inline: auto; }
.prose p + p { margin-top: 1.4rem; }
.prose__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink);
}
.prose strong { color: var(--ink); }


/* ===================== VISION / MISSION ===================== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.vm {
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.vm__label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue-soft);
}
.vm p {
  margin-top: 1.1rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
@media (max-width: 720px) {
  .vm-grid { grid-template-columns: 1fr; }
}


/* ===================== USP LIST ===================== */
.usp-list { display: grid; gap: 1.25rem; }
.usp {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.usp:hover { border-color: var(--border-strong); box-shadow: var(--sh-md); }
.usp__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--blue);
  border-radius: 13px;
  background: var(--blue-soft);
  border: 1px solid #CFE0FC;
}
.usp__icon svg { width: 22px; height: 22px; }
.usp__body strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-h4);
  color: var(--ink);
}
.usp__body span {
  display: block;
  margin-top: .25rem;
  color: var(--text-muted);
  font-size: .98rem;
}


/* ===================== CTA STRIP (interior pages) ===================== */
.cta-strip { text-align: center; }
.cta-strip h2 {
  color: #fff;
  max-width: 22ch;
  margin-inline: auto;
}
.cta-strip p {
  margin: 1.1rem auto 0;
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: var(--dark-text-muted);
}
.cta-strip__cta {
  margin-top: 1.9rem;
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .cta-strip__cta { width: 100%; }
  .cta-strip__cta .btn { flex: 1 1 100%; }
}


/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .86rem;
  color: var(--ink);
}
.field .req { color: var(--blue); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .9rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.contact-form .btn { justify-self: start; margin-top: .4rem; }
.form-status {
  margin: 0;
  font-size: .95rem;
  min-height: 1.2em;
}
.form-status.is-ok  { color: #0B7A3B; font-weight: 600; }
.form-status.is-err { color: #C0392B; font-weight: 600; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-aside {
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.contact-aside__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
  padding: 1rem 0;
}
.contact-aside__item + .contact-aside__item { border-top: 1px solid var(--border); }
.contact-aside__ic { font-size: 1.2rem; line-height: 1.4; }
.contact-aside__item strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .96rem;
  color: var(--ink);
}
.contact-aside__item span {
  display: block;
  margin-top: .15rem;
  color: var(--text-muted);
  font-size: .9rem;
}
.contact-aside .btn--wa { width: 100%; margin-top: 1.3rem; }


/* ===================== INSIGHTS — LISTING ===================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--sh-sm);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: var(--navy-1);
  background-image: var(--hero-grad);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.post-card__thumb::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -60%;
  width: 120%;
  height: 120%;
  border-radius: 46% 54% 40% 60%;
  border: 2px solid rgba(74, 140, 255, .28);
}
.post-card__num {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3.6rem;
  color: rgba(234, 241, 254, .12);
}
.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .55rem;
  padding: 1.5rem;
}
.post-card__cat {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.post-card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -.01em;
}
.post-card__excerpt {
  flex: 1;
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.55;
}
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--blue);
  transition: gap var(--dur-1) var(--ease);
}
.post-card:hover .post-card__more { gap: .75rem; }


/* ===================== INSIGHTS — ARTICLE ===================== */
.page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--dark-text-muted);
}
.page-header__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.page-header__meta span + span::before {
  content: "";
  width: 4px; height: 4px;
  margin-right: .7rem;
  background: var(--blue-bright);
  transform: rotate(45deg);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .86rem;
  color: var(--blue);
}
.back-link:hover { gap: .7rem; }

.article {
  max-width: 68ch;
  margin-inline: auto;
}
.article > * + * { margin-top: 1.3rem; }
.article h2 {
  margin-top: 2.6rem;
  font-size: var(--fs-h3);
}
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.9rem; }
.article p { line-height: 1.78; }
.article ul, .article ol {
  padding-left: 1.4rem;
  display: grid;
  gap: .55rem;
}
.article li { line-height: 1.7; padding-left: .2rem; }
.article strong { color: var(--ink); font-weight: 700; }

.article-cta {
  max-width: 68ch;
  margin: 3rem auto 0;
  padding: clamp(1.75rem, 1.3rem + 2.5vw, 2.75rem);
  text-align: center;
  border: 1px solid #CFE0FC;
  border-radius: var(--r-lg);
  background: var(--blue-soft);
}
.article-cta p {
  margin: 0 auto 1.4rem;
  max-width: 42ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink);
}

.read-next {
  max-width: 68ch;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.read-next__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.read-next__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.1rem;
}
@media (max-width: 640px) { .read-next__grid { grid-template-columns: 1fr; } }
.read-next__item {
  display: block;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.read-next__item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.read-next__item span {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ============================================================
   FAQ (Services page) - dark-glass accordion
   ============================================================ */
#faq { scroll-margin-top: 100px; }
.faq {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: 2.6rem;
}
.faq__item {
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .03);
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.faq__item[open] {
  border-color: rgba(74, 140, 255, .42);
  background: rgba(74, 140, 255, .06);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.4;
  color: var(--white);
  transition: color var(--dur-1) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--blue-bright); }
.faq__q:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 6px;
}
.faq__mark {
  position: relative;
  flex: none;
  width: 17px;
  height: 17px;
}
.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-bright);
  transform: translateY(-50%);
  transition: transform var(--dur-2) var(--ease);
}
.faq__mark::after { transform: translateY(-50%) rotate(90deg); }
.faq__item[open] .faq__mark::after { transform: translateY(-50%) rotate(0); }
.faq__item[open] .faq__mark::before { transform: translateY(-50%) rotate(180deg); }
.faq__a {
  overflow: hidden;
  transition: height .32s var(--ease);
}
.faq__a p {
  margin: 0;
  padding: 0 1.35rem 1.3rem;
  max-width: 64ch;
  color: var(--silver);
  font-size: .98rem;
  line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
  .faq__a { transition: none; }
  .faq__mark::before, .faq__mark::after { transition: none; }
}

/* ============================================================
   PORTFOLIO PAGE - real projects + concept builds (.folio)
   ============================================================ */
.folio-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: stretch;
  margin-top: 2.6rem;
  padding: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-lg);
  background: rgba(9, 16, 30, .5);
  backdrop-filter: blur(6px);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.folio-featured:hover {
  border-color: rgba(74, 140, 255, .42);
  box-shadow: 0 26px 64px rgba(29, 95, 232, .26);
}
.folio-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, #2A1B4A, #120C24 70%);
  display: grid;
  place-items: center;
  min-width: 0;
}
.folio-featured .folio-media {
  align-self: stretch;
  min-height: 300px;
}
.folio-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.folio-media__ph {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  padding: 0 1rem;
  text-align: center;
}
.folio-body { display: flex; flex-direction: column; align-items: flex-start; }
.folio-body h3 {
  margin: .5rem 0 .1rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  color: var(--white);
}
.folio-body p {
  margin: .9rem 0 0;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 52ch;
}
.folio-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.folio-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--silver);
  font-size: .94rem;
  line-height: 1.5;
}
.folio-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue-bright);
  transform: translateY(-50%) rotate(45deg);
}
.folio-actions { margin-top: auto; padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.folio-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.folio-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(74, 140, 255, .1);
  border: 1px solid rgba(74, 140, 255, .28);
  padding: .35rem .7rem;
  border-radius: var(--r-pill);
}

.folio-intro {
  margin-top: 1.4rem;
  color: var(--silver);
  font-size: .96rem;
  line-height: 1.6;
  max-width: 60ch;
}

.folio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.4rem;
}
.folio-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(9, 16, 30, .5);
  backdrop-filter: blur(6px);
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.folio-item .folio-media { border-radius: 0; aspect-ratio: 16 / 11; }
.folio-item__body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.folio-item__body h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}
.folio-item__kicker {
  font-size: .82rem;
  color: var(--ink-soft, #8695A8);
  letter-spacing: .02em;
}
.folio-item__link {
  margin-top: auto;
  padding-top: .8rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
a.folio-item:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 140, 255, .42);
  box-shadow: 0 22px 52px rgba(29, 95, 232, .24);
}
.folio-item--soon { opacity: .58; }
.folio-item--soon .folio-media { background: linear-gradient(150deg, #16202F, #0C1420 70%); }

@media (max-width: 960px) {
  .folio-featured { grid-template-columns: 1fr; }
  .folio-featured .folio-media { min-height: 220px; aspect-ratio: 16 / 9; align-self: auto; }
}
@media (max-width: 820px) {
  .folio-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}
@media (max-width: 820px) and (min-width: 561px) {
  .folio-grid { grid-template-columns: 1fr 1fr; max-width: none; }
}

/* ============================================================
   ABOUT - story split (photo + prose)
   ============================================================ */
.story-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.story-split__media {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  box-shadow: 0 34px 74px rgba(0, 0, 0, .42);
  background: linear-gradient(150deg, #14233B, #0A1526 70%);
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
}
.story-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.story-split__ph {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(183, 193, 204, .5);
}
.story-split .prose {
  max-width: none;
  margin-inline: 0;
  padding: clamp(1.5rem, 1rem + 2vw, 2.3rem);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .025);
}
.section .story-split .prose__lead {
  font-size: 1.2rem !important;
  line-height: 1.55 !important;
  color: var(--dark-text) !important;
  padding-left: 1.1rem;
  border-left: 3px solid var(--blue-bright);
}
.section .story-split .prose p:not(.prose__lead) {
  color: #C3CDD9 !important;
}
.story-split .hl { color: var(--blue-bright); font-weight: 600; }
@media (max-width: 880px) {
  .story-split { grid-template-columns: 1fr; gap: 2.2rem; }
  .story-split__media { max-width: 560px; margin-inline: auto; width: 100%; }
}
