/* home - Strix front page (refactored: rename + organize + dedupe) */

/* --- Hero --- */
.home-hero {
  position:relative;
  padding:clamp(9rem,16vh,12rem) 0 clamp(4rem,8vh,7rem);
  overflow:hidden;
}
.home-hero-glow {
  top:-10%;
  left:-5%;
  width:60vw;
  height:60vw;
  max-width:800px;
  max-height:800px;
  background:radial-gradient(circle,var(--accent),transparent 62%);
  opacity:.14;
  filter:blur(20px);
}
.home-hero-grid-overlay {
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 60% 30%,#000,transparent 75%);
  mask-image:radial-gradient(ellipse 80% 60% at 60% 30%,#000,transparent 75%);
  pointer-events:none;
}
.home-hero-particles {
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
}
.home-particle-1 {
  position:absolute;
  top:16%;
  right:8%;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent,#2FD4BE);
  opacity:.55;
  animation:strixFloat 8s ease-in-out infinite;
}
.home-particle-2 {
  position:absolute;
  top:70%;
  right:16%;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#5B8DEF;
  opacity:.5;
  animation:strixFloat 10s ease-in-out .8s infinite;
}
.home-particle-3 {
  position:absolute;
  top:32%;
  left:12%;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#7B5CFF;
  opacity:.5;
  animation:strixFloat 9s ease-in-out 1.4s infinite;
}
.home-particle-4 {
  position:absolute;
  top:82%;
  left:26%;
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--accent,#2FD4BE);
  opacity:.45;
  animation:strixFloat 11s ease-in-out .3s infinite;
}
.home-particle-ring-1 {
  position:absolute;
  top:48%;
  left:6%;
  width:26px;
  height:26px;
  border-radius:50%;
  border:1px solid rgba(47,212,190,.3);
  animation:strixFloat 12s ease-in-out .6s infinite;
}
.home-particle-ring-2 {
  position:absolute;
  top:22%;
  left:32%;
  width:16px;
  height:16px;
  border-radius:50%;
  border:1px solid rgba(123,92,255,.28);
  animation:strixFloat 9.5s ease-in-out 1.1s infinite;
}
.home-hero-inner {
  max-width:1300px;
  position:relative;
}
.home-hero-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(2rem,4vw,4rem);
  align-items:center;
}
/* .home-hero-eyebrow shares the theme-wide eyebrow rule in components.css. */
.home-hero-title {
  margin:0;
  font-size:clamp(2.7rem,6.4vw,5.6rem);
  line-height:1.02;
  letter-spacing:-.02em;
  font-weight:800;
}
.home-hero-title-light {
  display:block;
  font-weight:300;
  color:#B8BECC;
}
.home-hero-title-line {
  display:block;
}
.home-accent {
  color:var(--accent,#2FD4BE);
}
.home-hero-lead {
  margin:clamp(1.4rem,2.6vw,2rem) 0 0;
  max-width:34ch;
  font-size:clamp(1.05rem,1.35vw,1.25rem);
  line-height:1.65;
  color:#9BA3B4;
  font-weight:400;
}
.home-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: clamp(1.8rem,3vw,2.6rem);
}
/* .home-hero-cta-primary / -secondary: shell, size and :hover live in
   components.css alongside the identical pair on about / services / thank-you. */
.home-hero-visual {
  position:relative;
  min-height:clamp(380px,44vw,540px);
}
.home-hero-orbit {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:96%;
  aspect-ratio:1;
  border-radius:50%;
  background:conic-gradient(from 0deg,transparent,rgba(47,212,190,.20),transparent 42%,rgba(91,141,239,.16),transparent 72%);
  filter:blur(18px);
  animation:strixSpin 20s linear infinite;
  pointer-events:none;
  z-index:0;
}
.home-hero-orbit-core {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:52%;
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(47,212,190,.18),transparent 68%);
  filter:blur(6px);
  pointer-events:none;
  z-index:0;
}
.home-hero-canvas {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:1;
}
.home-hero-code {
  position:absolute;
  top:2%;
  left:-3%;
  width:62%;
  max-width:290px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(14,17,22,.92);
  box-shadow:0 30px 70px -35px rgba(0,0,0,.9);
  z-index:3;
}
.home-hero-code-bar {
  display:flex;
  align-items:center;
  gap:.4rem;
  padding:.5rem .7rem;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.home-hero-code-dot {
  width:8px;
  height:8px;
  border-radius:50%;
  background:#2a2f38;
}
.home-hero-code-file {
  margin-inline-start:auto;
  font-size:.6rem;
  color:#565d6b;
  font-family:'Fredoka',sans-serif;
  letter-spacing:.05em;
}
.home-hero-code-body {
  padding:.75rem .85rem;
  font-size:.72rem;
  line-height:1.8;
  color:#C3C9D4;
}
.home-hero-code-muted {
  color:#6B7383;
}
.home-hero-code-string {
  color:#8FE9DE;
}
.home-hero-stats {
  position:absolute;
  bottom:4%;
  right:-3%;
  width:158px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(14,17,22,.92);
  box-shadow:0 30px 70px -35px rgba(0,0,0,.9);
  padding:.9rem 1rem;
  z-index:3;
}
.home-hero-stats-label {
  font-size:.58rem;
  color:#565d6b;
  letter-spacing:.14em;
  margin-bottom:.6rem;
  font-family:'Fredoka',sans-serif;
}
.home-hero-stats-list {
  display:flex;
  flex-direction:column;
  gap:.5rem;
  font-size:.76rem;
  color:#C3C9D4;
}
.home-hero-stats-row {
  display:flex;
  align-items:center;
  gap:.5rem;
}
.home-hero-stats-dot-1,
.home-hero-stats-dot-2,
.home-hero-stats-dot-3,
.home-hero-stats-dot-4 {
  width:7px;
  height:7px;
  border-radius:50%;
}
.home-hero-stats-dot-1 { background:#2FD4BE; }
.home-hero-stats-dot-2 { background:#5B8DEF; }
.home-hero-stats-dot-3 { background:#7B5CFF; }
.home-hero-stats-dot-4 { background:#8FE9DE; }
.home-hero-live {
  position:absolute;
  top:9%;
  right:1%;
  display:flex;
  align-items:center;
  gap:.5rem;
  background:#0E1116;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  padding:.5rem .85rem;
  box-shadow:0 20px 50px -20px rgba(0,0,0,.9);
  z-index:3;
}
.home-hero-live-dot {
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent,#2FD4BE);
  animation:strixPulse 2.4s ease-in-out infinite;
}
.home-hero-live-label {
  font-family:'Fredoka',sans-serif;
  font-size:.7rem;
  color:#B8BECC;
}

/* --- Marquee strip --- */
.home-marquee {
  border-block:1px solid rgba(255,255,255,.07);
  padding:clamp(1.4rem,2.5vw,2rem) 0;
  overflow:hidden;
  background:#0A0C10;
}
.home-marquee-track {
  display:flex;
  width:max-content;
  animation:strixMarquee 42s linear infinite;
}
.home-marquee-group {
  display:flex;
  align-items:center;
  gap:clamp(2rem,4vw,3.5rem);
  padding-inline:clamp(1rem,2vw,1.75rem);
}
.home-marquee-item {
  font-size:clamp(1rem,1.6vw,1.35rem);
  font-weight:500;
  color:#C3C9D4;
  white-space:nowrap;
}
.home-marquee-sep {
  color:var(--accent,#2FD4BE);
  font-size:.7rem;
  opacity:.8;
}

/* --- Services --- */
.home-section {
  padding:clamp(5rem,12vh,8.5rem) 0;
  position:relative;
}
.home-container {
  max-width:1300px;
}
.home-section-intro {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s ease,transform .8s ease;
  margin-bottom:clamp(2.5rem,5vw,4rem);
  max-width:60ch;
}
/* .home-eyebrow shares the theme-wide eyebrow rule in components.css. */
.home-section-title {
  margin:0;
  font-size:clamp(2rem,4.3vw,3.5rem);
  line-height:1.08;
  letter-spacing:-.02em;
  font-weight:700;
}
.home-title-muted {
  color:#7C8494;
  font-weight:300;
}
.home-services-layout {
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(2rem,4vw,4rem);
  align-items:start;
}

/* --- service index (right column) --- */
.home-services-list {
  border-top:1px solid rgba(255,255,255,.09);
}
.home-service-row {
  width:100%;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:1rem;
  padding:clamp(1rem,1.8vw,1.5rem) .25rem;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.09);
  background:transparent;
  color:#ECEFF4;
  font:inherit;
  text-align:start;
  position:relative;
  transition:padding-inline-start .3s;
}
.home-service-label {
  flex:1;
  min-width:0;
  font-size:clamp(1.15rem,2.1vw,1.7rem);
  font-weight:600;
  transition:color .3s;
}
.home-service-ico {
  display:inline-flex;
  flex-shrink:0;
  color:#565d6b;
  transition:color .3s,transform .3s;
}
.home-service-num {
  font-family:'Fredoka',sans-serif;
  font-size:.85rem;
  min-width:2.2ch;
  text-align:center;
  color:#565d6b;
  transition:color .3s;
}
.home-service-row:hover,
.home-service-row.is-active {
  padding-inline-start:1rem;
}
.home-service-row:hover .home-service-label,
.home-service-row.is-active .home-service-label,
.home-service-row:hover .home-service-ico,
.home-service-row.is-active .home-service-ico,
.home-service-row:hover .home-service-num,
.home-service-row.is-active .home-service-num {
  color:var(--accent,#2FD4BE);
}
.home-service-row.is-active .home-service-ico {
  transform:scale(1.08);
}
.home-service-row.is-active::before {
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:18%;
  bottom:18%;
  width:2px;
  border-radius:2px;
  background:var(--accent,#2FD4BE);
}
.home-service-row:focus-visible {
  outline:2px solid var(--accent,#2FD4BE);
  outline-offset:-2px;
  border-radius:8px;
}

/* --- sticky panel (left column) --- */
.home-services-sticky {
  position:static;
}
.home-service-panel {
  display:none;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:linear-gradient(160deg,#0E1116,#0A0C10);
  padding:clamp(1.6rem,3vw,2.6rem);
}
.home-service-panel.is-active {
  display:flex;
  animation:svcPanelIn .45s ease;
}
@keyframes svcPanelIn {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:none; }
}
.home-service-panel-badge {
  width:48px;
  height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent,#2FD4BE);
  background:rgba(47,212,190,.1);
  border:1px solid rgba(47,212,190,.25);
  box-shadow:0 0 26px -8px rgba(47,212,190,.5);
  margin-bottom:1.4rem;
}
.home-service-panel-title {
  margin:0 0 .7rem;
  font-size:clamp(1.4rem,2.3vw,1.9rem);
  font-weight:700;
}
.home-service-panel-desc {
  margin:0 0 1.6rem;
  font-size:1.05rem;
  line-height:1.65;
  color:#9BA3B4;
}
.home-service-features {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:.7rem;
  margin-bottom:1.7rem;
}
.home-service-feature {
  position:relative;
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.85rem .9rem;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.02);
  transition:border-color .25s,background .25s,transform .25s;
}
.home-service-feature:hover {
  border-color:rgba(47,212,190,.35);
  background:rgba(47,212,190,.05);
  transform:translateY(-2px);
}
.home-service-feature-ico {
  display:inline-flex;
  flex-shrink:0;
  color:var(--accent,#2FD4BE);
}
.home-service-feature-label {
  font-size:.9rem;
  font-weight:500;
  line-height:1.3;
  color:#D3D8E0;
}

.home-service-panel-cta {
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:var(--accent,#2FD4BE);
  font-weight:600;
  transition:gap .25s;
}
.home-service-panel-cta:hover {
  gap:.85rem;
}
/* .home-service-panel-cta-linked is added when the service row has its own landing page;
   panels without one keep the generic services-page CTA and its existing look. */
.home-service-panel-cta svg {
  transition:transform .25s cubic-bezier(.16,.8,.24,1);
}
.home-service-panel-cta:hover svg,
.home-service-panel-cta:focus-visible svg {
  transform:translateX(-4px); /* RTL: the arrow points left, so nudge left */
}
.home-service-panel-cta-linked:hover,
.home-service-panel-cta-linked:focus-visible {
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}
/* keyboard parity: the CTA had no focus style at all before */
.home-service-panel-cta:focus-visible {
  outline:2px solid var(--accent,#2FD4BE);
  outline-offset:4px;
  border-radius:8px;
}

/* --- About --- */
.home-about {
  background:#f0f0f0;
  color:#14161C;
  padding:clamp(5rem,12vh,8.5rem) 0;
}
.home-about-layout {
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(2.5rem,5vw,5rem);
  align-items:start;
}
.home-reveal {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s ease,transform .8s ease;
}
/* .home-about-eyebrow: shared eyebrow rule + its own tint (components.css). */
.home-about-title {
  margin:0;
  font-size:clamp(2rem,4vw,3.3rem);
  line-height:1.1;
  letter-spacing:-.02em;
  font-weight:700;
}
.home-about-list {
  margin-top:2rem;
  display:flex;
  flex-direction:column;
  gap:1.1rem;
}
.home-about-item {
  display:flex;
  gap:.9rem;
  align-items:flex-start;
}
.home-about-dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#0f766e;
  margin-top:.6rem;
  flex:none;
}
.home-about-item-text {
  margin:0;
  font-size:1.05rem;
  line-height:1.6;
  color:#3a3f36;
}
.home-about-lead {
  margin:0;
  font-size:clamp(1.15rem,1.7vw,1.5rem);
  line-height:1.7;
  color:#1c1f26;
  font-weight:400;
}
.home-about-text {
  margin:1.5rem 0 0;
  font-size:1.08rem;
  line-height:1.7;
  color:#4a4f45;
}
.home-about-cta {
  margin-top:2rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:#14161C;
  color:#f0f0f0;
  font-weight:600;
  padding:.9rem 1.5rem;
  border-radius:999px;
  transition:transform .25s;
}

/* --- Work / Projects --- */
.home-section-head {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s ease,transform .8s ease;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:1.5rem;
  margin-bottom:clamp(2.5rem,5vw,4rem);
}
.home-section-link {
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:#B8BECC;
  font-weight:600;
  border:1px solid rgba(255,255,255,.18);
  padding:.75rem 1.3rem;
  border-radius:999px;
  transition:border-color .25s;
}
/* Was a pair of inline onmouseover/onmouseout handlers on the one link that
   used this class. Now that Work and Insights share it, the state belongs in
   the stylesheet — one definition, and it survives with JS off. */
.home-section-link:hover,
.home-section-link:focus-visible {
  border-color:var(--accent,#2FD4BE);
}
/* --- Work gateway --- */
/* The home page states WHAT we build and hands off to the projects page; it
   renders no projects of its own. The frame is the shared .home-section-head
   (eyebrow + title right, pill link opposite) over the page background — the
   panel this used to sit in was the only one on the page. The deck below stays
   centred: it is symmetric, so justifying it to the title would only expose the
   asymmetry, and it reads as a full-width object under the head. */
.home-work-head {
  margin-bottom:clamp(1.1rem,2vw,1.5rem);
}
/* Deck cards carry a label and nothing else, so the section's specifics have to
   live here. This is the only prose in the block — keep it concrete. */
.home-work-lead {
  margin:0;
  max-width:62ch;
  color:#9BA3B4;
  font-size:clamp(1.05rem,1.4vw,1.2rem);
  line-height:1.65;
}
/* Fanned deck — reads as a stack of project cards without being any real
   project. Angle/offset/stacking come from --rot/--ty/--z set per card in PHP.
   The cards are deliberately NOT [data-reveal] targets: GSAP writes an inline
   transform on anything it drives, which would flatten the rotation these rely
   on. The <ul> carries the reveal instead. */
.home-work-fan {
  list-style:none;
  margin:clamp(2.2rem,5vw,3.4rem) 0 0;
  padding:0;
  display:flex;
  justify-content:center;
  align-items:flex-end;
}
.home-work-fan-card {
  flex:0 0 auto;
  width:clamp(122px,14vw,168px);
  margin-inline:-16px;
  padding:.7rem .7rem .85rem;
  border:1px solid rgba(255,255,255,.11);
  border-radius:16px;
  background:linear-gradient(165deg,#131A24,#0B0E13);
  box-shadow:0 22px 45px -22px rgba(0,0,0,.85);
  z-index:var(--z,1);
  transform-origin:bottom center;
  transform:rotate(var(--rot,0deg)) translateY(var(--ty,0));
  transition:transform .45s cubic-bezier(.22,.61,.36,1),margin .45s cubic-bezier(.22,.61,.36,1),border-color .35s ease;
}
/* Abstract UI stand-in — deliberately generic, never a screenshot. */
.home-work-fan-shot {
  position:relative;
  display:block;
  height:clamp(58px,7vw,80px);
  border-radius:9px;
  border:1px solid rgba(255,255,255,.07);
  background:linear-gradient(150deg,rgba(47,212,190,.16),rgba(255,255,255,.05) 55%,rgba(255,255,255,.02));
  overflow:hidden;
}
.home-work-fan-shot::before,
.home-work-fan-shot::after {
  content:"";
  position:absolute;
  height:5px;
  border-radius:3px;
}
.home-work-fan-shot::before {
  inset-inline:9px;
  top:11px;
  background:rgba(255,255,255,.18);
}
.home-work-fan-shot::after {
  inset-inline:9px 34%;
  top:24px;
  background:rgba(255,255,255,.09);
}
.home-work-fan-meta {
  display:flex;
  align-items:center;
  gap:.4rem;
  margin-top:.6rem;
}
.home-work-fan-icon {
  display:inline-flex;
  flex:0 0 auto;
  color:var(--accent,#2FD4BE);
}
.home-work-fan-label {
  font-size:.78rem;
  line-height:1.25;
  color:#C3C9D4;
}
@media (hover:hover){
  /* Hovering the deck opens the fan; the hovered card straightens and lifts.
     The two-class selector outranks the deck rule, so no !important needed. */
  .home-work-fan:hover .home-work-fan-card {
    margin-inline:-4px;
    transform:rotate(calc(var(--rot,0deg) * .55)) translateY(calc(var(--ty,0px) * .5));
  }
  .home-work-fan:hover .home-work-fan-card:hover {
    transform:rotate(0deg) translateY(-12px);
    border-color:rgba(47,212,190,.4);
    z-index:20;
  }
}
@media (prefers-reduced-motion:reduce){
  .home-work-fan-card { transition:none; }
}
/* Small screens: a fan overflows — lay the cards flat in two columns instead.
   Grid (not wrapped flex) so two per row is guaranteed, not width-dependent. */
@media (max-width:48em){
  .home-work-fan {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.6rem;
  }
  .home-work-fan-card {
    width:auto;
    max-width:none;
    margin-inline:0;
    transform:none;
    box-shadow:0 16px 32px -20px rgba(0,0,0,.8);
  }
  /* A lone card on the last row centres instead of hugging one side. */
  .home-work-fan-card:last-child:nth-child(odd) {
    grid-column:1 / -1;
    justify-self:center;
    width:calc(50% - .3rem);
  }
}

/* --- Process --- */
.home-section-alt {
  padding:clamp(5rem,12vh,8.5rem) 0;
  background:#0A0C10;
  border-block:1px solid rgba(255,255,255,.06);
}
.home-process-track {
  /* Badge diameter drives the line offset, so both stay in sync per breakpoint. */
  --proc-badge:74px;
  position:relative;
  margin-top:1.2rem;
}
.home-process-line-base {
  position:absolute;
  top:calc(var(--proc-badge) / 2);
  right:0;
  left:0;
  height:2px;
  background:rgba(255,255,255,.09);
}
.home-process-line-fill {
  position:absolute;
  top:calc(var(--proc-badge) / 2);
  right:0;
  height:2px;
  width:0;
  background:linear-gradient(90deg,#5B8DEF,var(--accent,#2FD4BE));
  box-shadow:0 0 14px rgba(47,212,190,.55);
}
/* One row always — auto-flow column keeps the horizontal line aligned with the
   badges no matter how many steps the editor adds. */
.home-process-steps {
  position:relative;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(0,1fr);
  gap:clamp(1.4rem,2.4vw,2.4rem);
}
.home-process-step {
  opacity:1;
  border-radius:18px;
  padding:0 clamp(.9rem,1.6vw,1.4rem) 1.6rem;
}
.home-process-badge {
  width:var(--proc-badge);
  height:var(--proc-badge);
  margin-bottom:1.3rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  background:#0A0C10;
  transition:border-color .35s,box-shadow .35s,background .35s;
}
/* Toggled per badge by processTimeline() as the progress line passes it. */
.home-process-badge.is-active {
  border-color:var(--accent,#2FD4BE);
  /* Stays opaque — on narrow screens the badge has to keep masking the line
     that runs down through it. */
  background:color-mix(in srgb, var(--accent,#2FD4BE) 7%, #0A0C10);
  box-shadow:0 0 26px -4px rgba(47,212,190,.6), inset 0 0 14px -8px rgba(47,212,190,.9);
}
.home-process-badge-num {
  font-size:1.7rem;
  font-weight:600;
  color:#7C8494;
  transition:color .35s;
}
.home-process-badge.is-active .home-process-badge-num {
  color:var(--accent,#2FD4BE);
}
.home-process-step-title {
  margin:0 0 .6rem;
  font-size:1.3rem;
  font-weight:600;
}
.home-process-step-text {
  margin:0;
  font-size:1rem;
  line-height:1.6;
  color:#8A93A6;
}
/* Narrow screens: four columns can't fit, so the row becomes a vertical
   timeline — badge beside the text, line running down through the badge
   centres. The fill is animated on `height` instead of `width` (see
   processTimeline in strix-theme.js). */
@media (max-width:63.99em){
  .home-process-track {
    --proc-badge:64px;
    max-width:44rem;
    margin-top:1.8rem;
  }
  .home-process-line-base {
    top:calc(var(--proc-badge) / 2);
    right:calc(var(--proc-badge) / 2 - 1px);
    left:auto;
    bottom:0;
    width:2px;
    height:auto;
  }
  .home-process-line-fill {
    top:calc(var(--proc-badge) / 2);
    right:calc(var(--proc-badge) / 2 - 1px);
    width:2px;
    height:0;
    max-height:calc(100% - var(--proc-badge) / 2);
    background:linear-gradient(180deg,#5B8DEF,var(--accent,#2FD4BE));
  }
  .home-process-steps {
    grid-auto-flow:row;
    grid-auto-columns:auto;
    grid-template-columns:1fr;
    gap:clamp(1.5rem,5vw,2.1rem);
  }
  .home-process-step {
    display:grid;
    grid-template-columns:var(--proc-badge) 1fr;
    column-gap:clamp(.9rem,3.5vw,1.3rem);
    padding:0;
  }
  /* The badge is opaque, so it masks the line where it crosses it. */
  .home-process-badge {
    grid-column:1;
    grid-row:1 / span 2;
    margin-bottom:0;
  }
  /* The line runs to the bottom of the track; the last step's text height is
     unknowable in CSS, so paint over the leftover tail below the last badge. */
  .home-process-step:last-child {
    position:relative;
  }
  .home-process-step:last-child::after {
    content:'';
    position:absolute;
    top:var(--proc-badge);
    bottom:-1px;
    /* Wide enough to swallow the fill's glow, still clear of the text column. */
    right:calc(var(--proc-badge) / 2 - 14px);
    width:28px;
    background:#0A0C10;
  }
  .home-process-badge-num {
    font-size:1.45rem;
  }
  .home-process-step-title {
    grid-column:2;
    grid-row:1;
    align-self:center;
    margin:0 0 .5rem;
    font-size:1.15rem;
  }
  .home-process-step-text {
    grid-column:2;
    grid-row:2;
    font-size:.98rem;
  }
}

/* --- Articles --- */
/* The cards themselves are the theme-wide .strix-related-card (components.css),
   so only the section frame is styled here. */
.home-articles {
  padding:clamp(5rem,12vh,8.5rem) 0;
}

/* --- FAQ --- */
.home-faq-inner {
  max-width:960px;
}
.home-faq-head {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s ease,transform .8s ease;
  text-align:center;
  margin-bottom:clamp(2.5rem,5vw,3.5rem);
}
/* .home-faq-eyebrow shares the theme-wide eyebrow rule in components.css. */
.home-faq-title {
  margin:0;
  font-size:clamp(2rem,4.3vw,3.3rem);
  line-height:1.08;
  letter-spacing:-.02em;
  font-weight:700;
}
.home-faq-question {
  width:100%;
  text-align:right;
  background:none;
  border:none;
  color:#ECEFF4;
  cursor:pointer;
  padding:1.4rem 0;
  display:flex;
  align-items:center;
  gap:1rem;
  font-family:inherit;
  font-size:clamp(1.05rem,1.6vw,1.25rem);
  font-weight:600;
}
.home-faq-icon {
  flex:none;
  width:24px;
  height:24px;
  transition:transform .3s;
  color:var(--accent,#2FD4BE);
}
.home-faq-answer {
  max-height:0;
  overflow:hidden;
  transition:max-height .4s ease;
}
/* Hairlines between the rows. Was an inline style="" computed per row in PHP,
   with the last row carrying both edges to close the stack. */
#faq-list .faq-item { border-top:1px solid rgba(255,255,255,.1); }
#faq-list .faq-item:last-child { border-bottom:1px solid rgba(255,255,255,.1); }
.home-faq-answer-text {
  margin:0 3rem 1.6rem;
  color:#9BA3B4;
  line-height:1.65;
  font-size:1.05rem;
}

/* --- Contact --- */
.home-contact {
  position:relative;
  padding:clamp(6rem,14vh,10rem) 0;
  overflow:hidden;
}
.home-contact-glow {
  bottom:-30%;
  right:20%;
  width:50vw;
  height:50vw;
  max-width:700px;
  max-height:700px;
  background:radial-gradient(circle,var(--accent,#2FD4BE),transparent 60%);
  opacity:.13;
  filter:blur(30px);
  pointer-events:none;
}
.home-contact-inner {
  max-width:1000px;
  position:relative;
  text-align:center;
}
/* .home-contact-eyebrow shares the theme-wide eyebrow rule in components.css. */
.home-contact-title {
  margin:0 auto;
  max-width:16ch;
  font-size:clamp(2.4rem,6vw,4.8rem);
  line-height:1.05;
  letter-spacing:-.02em;
  font-weight:800;
}
.home-contact-lead {
  margin:1.6rem auto 0;
  max-width:44ch;
  font-size:clamp(1.05rem,1.5vw,1.25rem);
  line-height:1.6;
  color:#9BA3B4;
}
.home-contact-form {
  margin:2.6rem auto 0;
  max-width:620px;
  display:grid;
  grid-template-columns:1fr;
  gap:.9rem;
  text-align:right;
}
.home-contact-field,
.home-contact-field-wide {
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  padding:.95rem 1.15rem;
  color:#ECEFF4;
  font-size:1.05rem;
  font-family:inherit;
}
.home-contact-field-wide {
  grid-column:1/-1;
}
.home-contact-submit {
  grid-column:1/-1;
  border:none;
  cursor:pointer;
  font-family:inherit;
  font-weight:700;
  font-size:1.1rem;
  color:#04140F;
  padding:1rem 1.7rem;
  border-radius:999px;
  background:linear-gradient(90deg,#5B8DEF,#2FD4BE);
  transition:transform .25s,box-shadow .25s;
}
.home-contact-note {
  grid-column:1/-1;
  margin:.1rem 0 0;
  font-size:.98rem;
  color:var(--accent,#2FD4BE);
  display:none;
}
.home-contact-trust {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:.5rem 1.4rem;
  margin-top:1.6rem;
  color:#8A93A6;
  font-size:1rem;
}
.home-contact-link {
  color:var(--accent,#2FD4BE);
  font-weight:600;
  text-decoration:none;
}

/* ===== Breakpoints ===== */

@media (min-width: 40em) {
  .home-service-features { grid-template-columns:repeat(3,1fr); }
  .home-contact-form { grid-template-columns:1fr 1fr; }
}

@media (min-width: 64em) {
  .home-hero-grid { grid-template-columns:1.05fr .95fr; }
  .home-services-layout { grid-template-columns:.85fr 1.15fr; }
  /* --- sticky panel (left column) --- */
  .home-services-sticky {
    position:sticky;
    top:110px;
  }
  .home-about-layout { grid-template-columns:.9fr 1.1fr; }
}
