/* =====================================================
   home.css — V6 Home Page
   Enqueued only on the Home V6 template.
   Bootstrap conflict note:
     .btn and .btn-primary exist in Bootstrap; all rules
     here are scoped under #pg-home to override safely.
   ===================================================== */

/* ----- Design tokens ----- */
:root {
  --gold: #ecbb37;
  --gold-bright: #f7cb4d;
  --gold-deep: #a9791a;
  --ember: #e85d2a;
  --night: #100f0d;
  --night-2: #1b1813;
  --night-3: #0a0a08;
  --paper: #f7f5ef;
  --paper-2: #ffffff;
  --tl: #f1ece1;
  --tl-mut: #9c9486;
  --td: #16130d;
  --td-mut: #6a6256;
  --line-d: rgba(255, 255, 255, 0.09);
  --line-l: rgba(22, 19, 13, 0.11);
  --maxw: 1180px;
  --r: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Base / shared ----- */
#pg-home {
  background: var(--night);
  color: var(--tl);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#pg-home h1,
#pg-home h2,
#pg-home h3,
#pg-home h4 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
}

#pg-home a {
  color: inherit;
  text-decoration: none;
}

#pg-home .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* Gold gradient text */
#pg-home .gold-txt {
  background: linear-gradient(100deg, var(--gold), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eyebrow label */
#pg-home .eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

#pg-home .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* Buttons (override Bootstrap within #pg-home) */
#pg-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.25s var(--ease),
    background 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  line-height: 1;
}

#pg-home .btn-primary {
  background: var(--gold);
  color: #1a1408;
  box-shadow: 0 10px 30px -12px rgba(236, 187, 55, 0.7);
}

#pg-home .btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gold-bright);
  box-shadow: 0 16px 38px -12px rgba(236, 187, 55, 0.85);
  color: #1a1408;
}

#pg-home .btn-ghost {
  background: transparent;
  color: var(--tl);
  border-color: var(--line-d);
}

#pg-home .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

#pg-home .arrow {
  font-size: 13px;
  transition: transform 0.25s var(--ease);
}

#pg-home .btn:hover .arrow {
  transform: translateX(3px);
}

/* Reveal animation (pre-revealed with .in class) */
#pg-home .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

#pg-home .reveal.in {
  opacity: 1;
  transform: none;
}

/* =====================================================
   Hero section
   ===================================================== */

#pg-home .hero {
  padding: 158px 0 100px;
  overflow: hidden;
}

#pg-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#pg-home .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.42;
}

#pg-home .glow.a {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(236, 187, 55, 0.5), transparent 70%);
  top: -180px;
  right: -120px;
}

#pg-home .glow.b {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(232, 93, 42, 0.4), transparent 70%);
  bottom: -200px;
  left: -140px;
}

#pg-home .grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 80%);
  mask-image: linear-gradient(180deg, black, transparent 80%);
}

#pg-home .hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

#pg-home .hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

#pg-home .hero .sub {
  margin-top: 24px;
  font-size: 18.5px;
  color: var(--tl-mut);
  max-width: 540px;
}

/* Proof list */
#pg-home .proof {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#pg-home .proof li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
}

#pg-home .tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(236, 187, 55, 0.18);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

#pg-home .tick svg {
  width: 11px;
  height: 11px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.6;
}

/* CTA row */
#pg-home .hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Social proof bar */
#pg-home .hero-cred {
  margin-top: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--tl-mut);
}

#pg-home .hero-cred b {
  color: var(--gold);
  font-weight: 600;
}

/* =====================================================
   Hero image placeholder
   ===================================================== */

#pg-home .hero-media {
  position: relative;
}

#pg-home .hero-imgph {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 20px;
  background:
    radial-gradient(
      120% 120% at 72% 18%,
      rgba(236, 187, 55, 0.08),
      transparent 55%
    ),
    linear-gradient(160deg, #1d1a14, #121009);
  border: 1px solid var(--line-d);
  box-shadow:
    0 40px 90px -45px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

#pg-home .hero-imgph:hover {
  border-color: rgba(236, 187, 55, 0.4);
}

/* Corner brackets */
#pg-home .hero-imgph .hc {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--gold);
  opacity: 0.55;
}

#pg-home .hero-imgph .hc.tl {
  top: 16px;
  left: 16px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 5px 0 0 0;
}
#pg-home .hero-imgph .hc.tr {
  top: 16px;
  right: 16px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 5px 0 0;
}
#pg-home .hero-imgph .hc.bl {
  bottom: 16px;
  left: 16px;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 5px;
}
#pg-home .hero-imgph .hc.br {
  bottom: 16px;
  right: 16px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 5px 0;
}

#pg-home .hero-imgph-inner {
  text-align: center;
  padding: 30px;
}

#pg-home .hp-ic {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(236, 187, 55, 0.14);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

#pg-home .hp-ic svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
}

#pg-home .hp-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
}

#pg-home .hp-sub {
  font-size: 13px;
  color: var(--tl-mut);
  margin-top: 8px;
  line-height: 1.6;
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 980px) {
  #pg-home .hero .wrap {
    grid-template-columns: 1fr;
  }

  #pg-home .hero-imgph {
    max-width: 480px;
    margin: 10px auto 0;
  }
}

@media (max-width: 640px) {
  #pg-home .hero {
    padding: 120px 0 74px;
  }

  #pg-home .btn {
    padding: 11px 16px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pg-home .reveal,
  #pg-home .btn,
  #pg-home .hero-imgph {
    transition: none !important;
  }
}

/* =====================================================
   Shared section utilities
   ===================================================== */

#pg-home .pad {
  padding: 108px 0;
}

#pg-home .on-dark {
  background: var(--night);
  color: var(--tl);
}

#pg-home .on-light {
  background: var(--paper);
  color: var(--td);
}
#pg-home .on-light h1,
#pg-home .on-light h2,
#pg-home .on-light h3,
#pg-home .on-light h4 {
  color: var(--td);
}

#pg-home .on-light .eyebrow {
  color: var(--gold-deep);
}
#pg-home .on-light .eyebrow::before {
  background: var(--gold-deep);
}

#pg-home .sec-head {
  max-width: 700px;
  margin-bottom: 56px;
}
#pg-home .sec-head h2 {
  font-size: clamp(30px, 4vw, 46px);
}
#pg-home .sec-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--tl-mut);
}
#pg-home .on-light .sec-head p {
  color: var(--td-mut);
}

#pg-home .more {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--gold);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
}
#pg-home .on-light .more {
  color: var(--gold-deep);
}

/* =====================================================
   Clients marquee
   ===================================================== */

#pg-home .clients {
  padding: 36px 0 44px;
}

#pg-home .clients-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tl-mut);
  text-align: center;
  margin-bottom: 28px;
}

#pg-home .marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

#pg-home .marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: pg-marquee 34s linear infinite;
}

#pg-home .marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes pg-marquee {
  to {
    transform: translateX(-50%);
  }
}

#pg-home .client-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line-d);
  border-radius: 12px;
  color: var(--tl-mut);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", system-ui, sans-serif;
  transition:
    color 0.2s,
    border-color 0.2s;
  text-decoration: none;
}

#pg-home .client-logo svg {
  width: 18px;
  height: 18px;
  flex: none;
  opacity: 0.6;
}
#pg-home .client-logo img {
  border-radius: 12px;
  max-height: 50px;
  opacity: 0.6;
}

#pg-home .client-logo:hover,
#pg-home .client-logo img:hover {
  color: var(--tl);
  border-color: var(--gold);
}

/* =====================================================
   Reviews
   ===================================================== */

#pg-home .rev-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

#pg-home .rating-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-l);
  border-radius: 14px;
  padding: 16px 22px;
  background: var(--paper-2);
}

#pg-home .rating-badge .big {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--td);
}

#pg-home .rating-badge .src {
  font-size: 13px;
  color: var(--td-mut);
}

#pg-home .stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 14px;
}

#pg-home .quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

#pg-home .quote {
  background: var(--paper-2);
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  padding: 30px 28px;
}

#pg-home .quote .qstars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

#pg-home .quote p {
  font-size: 15.5px;
  color: var(--td);
  margin-bottom: 22px;
}

#pg-home .who {
  display: flex;
  align-items: center;
  gap: 13px;
}

#pg-home .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--ember));
  display: grid;
  place-items: center;
  color: #1a1408;
  font-weight: 700;
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  flex: none;
}

#pg-home .who .nm {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--td);
}
#pg-home .who .rl {
  font-size: 12.5px;
  color: var(--td-mut);
}

#pg-home .verified {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--gold-deep);
  border: 1px solid rgba(236, 187, 55, 0.5);
  padding: 5px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* =====================================================
   What We Build (services grid)
   ===================================================== */

#pg-home .wb-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

#pg-home .wb-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
}

#pg-home .wb-head p {
  color: var(--td-mut);
  font-size: 16.5px;
  max-width: 480px;
}

#pg-home .wb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

#pg-home .wb-item {
  background: var(--paper-2);
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  padding: 28px 26px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
}

#pg-home .wb-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-deep);
  box-shadow: 0 24px 50px -28px rgba(22, 19, 13, 0.25);
}

#pg-home .wb-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(236, 187, 55, 0.18),
    rgba(232, 93, 42, 0.1)
  );
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

#pg-home .wb-ic svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-deep);
  fill: none;
  stroke-width: 1.8;
}

#pg-home .wb-item h3 {
  font-size: 17px;
  color: var(--td);
  margin-bottom: 8px;
}

#pg-home .wb-item p {
  font-size: 14px;
  color: var(--td-mut);
  margin-bottom: 14px;
}

#pg-home .wb-more {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--gold-deep);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

#pg-home .wb-item:hover .wb-more .arrow {
  transform: translateX(4px);
}

/* =====================================================
   Products carousel
   ===================================================== */

#pg-home .car-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

#pg-home .car-nav {
  display: flex;
  gap: 10px;
}

#pg-home .car-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-d);
  background: transparent;
  color: var(--tl);
  cursor: pointer;
  font-size: 20px;
  transition:
    border-color 0.25s,
    color 0.25s;
  display: grid;
  place-items: center;
  line-height: 1;
}

#pg-home .car-nav button:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

#pg-home .carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 0 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

#pg-home .carousel::-webkit-scrollbar {
  display: none;
}

#pg-home .pcard {
  flex: 0 0 296px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, var(--night-2), rgba(27, 24, 19, 0.4));
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  padding: 28px 26px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s;
}

#pg-home .pcard:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

#pg-home .pcard .pc-ic {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: rgba(236, 187, 55, 0.16);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

#pg-home .pcard .pc-ic svg {
  width: 25px;
  height: 25px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.7;
}

#pg-home .pcard h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--tl);
}

#pg-home .pcard p {
  font-size: 14px;
  color: var(--tl-mut);
  margin-bottom: 18px;
  min-height: 60px;
}

#pg-home .pcard .more {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--gold);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

#pg-home .pcard:hover .more .arrow {
  transform: translateX(4px);
}

/* =====================================================
   Engagement models
   ===================================================== */

#pg-home .models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

#pg-home .model {
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  padding: 32px 28px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
  background: var(--paper-2);
}

#pg-home .model:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 24px 50px -28px rgba(22, 19, 13, 0.35);
}

#pg-home .model .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--gold-deep);
  margin-bottom: 22px;
  display: block;
}

#pg-home .model h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--td);
}

#pg-home .model p {
  font-size: 15px;
  color: var(--td-mut);
  margin-bottom: 18px;
}

#pg-home .model .more {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--gold-deep);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

#pg-home .model:hover .more .arrow {
  transform: translateX(4px);
}

/* =====================================================
   Featured case study
   ===================================================== */

#pg-home .case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

#pg-home .case-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--night-2), #26221a);
  border: 1px solid var(--line-d);
  position: relative;
  overflow: hidden;
}

#pg-home .case-visual .rib {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(236, 187, 55, 0.16) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
}

#pg-home .case-visual .bd {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  border: 1px solid rgba(236, 187, 55, 0.4);
  padding: 6px 12px;
  border-radius: 999px;
}

#pg-home .case-visual .ct {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  height: 92px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
}

#pg-home .case-visual .ct b {
  flex: 1;
  background: linear-gradient(180deg, var(--gold), rgba(236, 187, 55, 0.25));
  border-radius: 5px 5px 0 0;
  display: block;
}

#pg-home .case h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 18px;
}

#pg-home .case > div > p {
  color: var(--tl-mut);
  font-size: 16.5px;
  margin-bottom: 26px;
}

#pg-home .metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

#pg-home .metric {
  flex: 1;
  min-width: 128px;
  border: 1px solid var(--line-d);
  border-radius: 13px;
  padding: 18px 20px;
  background: var(--night-2);
}

#pg-home .metric .v {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--tl);
}

#pg-home .metric .v span {
  color: var(--ember);
}
#pg-home .metric .k {
  font-size: 13px;
  color: var(--tl-mut);
  margin-top: 4px;
}

#pg-home .case .more {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

/* =====================================================
   Industry expertise
   ===================================================== */

#pg-home .ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

#pg-home .ind {
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  padding: 30px 28px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
  background: var(--paper-2);
}

#pg-home .ind:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(22, 19, 13, 0.3);
}

#pg-home .ind-ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(236, 187, 55, 0.16);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

#pg-home .ind-ic svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-deep);
  fill: none;
  stroke-width: 1.7;
}

#pg-home .ind h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--td);
}
#pg-home .ind p {
  font-size: 14.5px;
  color: var(--td-mut);
}

/* =====================================================
   Why Skiff
   ===================================================== */

#pg-home .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

#pg-home .why {
  padding: 26px 24px;
  border-radius: var(--r);
  border: 1px solid var(--line-d);
  background: rgba(27, 24, 19, 0.4);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s;
}

#pg-home .why:hover {
  border-color: rgba(236, 187, 55, 0.55);
  transform: translateY(-4px);
}

#pg-home .ck {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(236, 187, 55, 0.18);
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}

#pg-home .ck svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.6;
}

#pg-home .why h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
  color: var(--tl);
}
#pg-home .why p {
  font-size: 14.5px;
  color: var(--tl-mut);
}

/* =====================================================
   Process steps
   ===================================================== */

#pg-home .steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}

#pg-home .step {
  position: relative;
  padding-top: 34px;
}

#pg-home .step::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--line-l);
}

#pg-home .step .dot {
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold);
}

#pg-home .step .n {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  display: block;
}

#pg-home .step h3 {
  font-size: 17px;
  margin: 6px 0 7px;
  color: var(--td);
}
#pg-home .step p {
  font-size: 14px;
  color: var(--td-mut);
}

#pg-home .process-cta {
  margin-top: 48px;
}

/* =====================================================
   Tech stack marquee
   ===================================================== */

#pg-home .mrow + .mrow {
  margin-top: 14px;
}

#pg-home .mtrack {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: pg-scrollx 38s linear infinite;
}

#pg-home .mtrack.rev {
  animation-direction: reverse;
  animation-duration: 46s;
}

#pg-home .marquee:hover .mtrack {
  animation-play-state: paused;
}

@keyframes pg-scrollx {
  to {
    transform: translateX(-50%);
  }
}

#pg-home .tchip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--line-d);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--tl);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
}

#pg-home .tchip .d {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.8;
  flex: none;
}

#pg-home .tcat {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1408;
  background: var(--gold);
  font-weight: 600;
}

/* =====================================================
   Stats bar
   ===================================================== */

#pg-home .stats {
  background: var(--night-3);
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
}

#pg-home .stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 62px 28px;
}

#pg-home .stat {
  text-align: center;
}

#pg-home .stat .v {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tl);
}

#pg-home .stat .v span {
  color: var(--gold);
}
#pg-home .stat .k {
  font-size: 14px;
  color: var(--tl-mut);
  margin-top: 6px;
}

/* =====================================================
   FAQ accordion
   ===================================================== */

#pg-home .faq {
  max-width: 820px;
  margin: 0 auto;
}

#pg-home .qa {
  border-bottom: 1px solid var(--line-l);
}

#pg-home .qa button {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--td);
  transition: color 0.2s;
}

#pg-home .qa button:hover {
  color: var(--gold-deep);
}

#pg-home .qa .pm {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-l);
  display: grid;
  place-items: center;
  transition:
    transform 0.3s,
    border-color 0.3s,
    background 0.3s;
  color: var(--gold-deep);
  font-size: 18px;
  line-height: 1;
}

#pg-home .qa[aria-open="true"] .pm {
  transform: rotate(45deg);
  border-color: var(--gold);
  background: rgba(236, 187, 55, 0.14);
}

#pg-home .qa .ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

#pg-home .qa .ans p {
  padding: 0 0 22px;
  color: var(--td-mut);
  font-size: 15.5px;
  max-width: 680px;
}

/* =====================================================
   Final CTA
   ===================================================== */

#pg-home .final {
  text-align: center;
  overflow: hidden;
}

#pg-home .final .wrap {
  position: relative;
  z-index: 2;
}

#pg-home .final h2 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

#pg-home .final p {
  font-size: 19px;
  color: var(--tl-mut);
  margin: 18px auto 36px;
  max-width: 560px;
}

#pg-home .final .hero-cta {
  justify-content: center;
}

/* =====================================================
   Responsive — all sections
   ===================================================== */

@media (max-width: 980px) {
  #pg-home .pad {
    padding: 74px 0;
  }
  #pg-home .wb-head {
    grid-template-columns: 1fr;
  }
  #pg-home .wb-grid {
    grid-template-columns: 1fr 1fr;
  }
  #pg-home .models,
  #pg-home .why-grid,
  #pg-home .quotes,
  #pg-home .ind-grid {
    grid-template-columns: 1fr 1fr;
  }
  #pg-home .steps {
    grid-template-columns: 1fr 1fr;
  }
  #pg-home .step::before,
  #pg-home .step .dot {
    display: none;
  }
  #pg-home .step {
    padding-top: 0;
  }
  #pg-home .case {
    grid-template-columns: 1fr;
  }
  #pg-home .stats .wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  #pg-home .pad {
    padding: 56px 0;
  }
  #pg-home .wb-grid,
  #pg-home .models,
  #pg-home .why-grid,
  #pg-home .quotes,
  #pg-home .ind-grid,
  #pg-home .steps {
    grid-template-columns: 1fr;
  }
  #pg-home .stats .wrap {
    grid-template-columns: 1fr 1fr;
  }
  #pg-home .final h2 {
    font-size: clamp(28px, 7vw, 40px);
  }
  #pg-home .final p {
    font-size: 16px;
  }
  #pg-home .rev-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pg-home .marquee-track,
  #pg-home .mtrack,
  #pg-home .wb-item,
  #pg-home .model,
  #pg-home .ind,
  #pg-home .why,
  #pg-home .pcard {
    transition: none !important;
    animation: none !important;
  }
}
