/* =============================================================
   style.css — Enhansa homepage (V3 Editorial)
   ============================================================= */


/* =============================================================
   PAGE BASE
   ============================================================= */

body {
  background: var(--cream);
}


/* =============================================================
   NAVIGATION
   ============================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 243, 233, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 20, 15, 0.14);

  --nav-panel: #F8F3E9;
  --nav-panel-line: rgba(22, 20, 15, 0.16);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  height: 4.625rem;
}

.nav-links {
  display: flex;
  gap: 1.875rem;
  margin-left: 0.75rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ochre-deep);
}

.nav-links .menu-only {
  color: var(--ochre-deep);
  font-weight: 700;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav .btn {
  padding: 0.6875rem 1.375rem;
  font-size: 0.875rem;
}


/* =============================================================
   PARALLAX CIRCLES
   ============================================================= */

.pcircle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.pc-fill {
  background: radial-gradient(
    circle at 32% 28%,
    var(--ochre-soft),
    var(--ochre) 58%,
    var(--ochre-deep)
  );
}

.pc-line {
  border: 1.5px solid rgba(185, 127, 27, 0.4);
}

.pc-green {
  background: var(--green);
}


/* =============================================================
   HERO
   ============================================================= */

.hero {
  position: relative;
  padding: 12.5rem 0 0;
  overflow: hidden;
}

.hero .pc1 {
  width: 32.5rem;
  height: 32.5rem;
  right: -8.75rem;
  top: 6.875rem;
  opacity: 0.95;
}

.hero .pc2 {
  width: 50rem;
  height: 50rem;
  right: -15rem;
  top: -1.875rem;
}

.hero .pc3 {
  width: 4rem;
  height: 4rem;
  right: 28.5rem;
  top: 35.5rem;
}

.hero h1 {
  font-size: clamp(3.75rem, 7.5vw, 6.75rem);
  line-height: 0.99;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 12ch;
  margin: 1.625rem 0 2.25rem;
  position: relative;
}

.hero h1 .hl {
  color: var(--ochre-deep);
  font-style: normal;
}

.hero .sub {
  font-size: 1.3125rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 33.75rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  position: relative;
}

.hero-foot {
  display: flex;
  align-items: baseline;
  gap: 1.75rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--ink);
  position: relative;
}

.hero-foot .stat {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 28.75rem;
}

.hero-foot .stat strong {
  color: var(--ink);
}


/* =============================================================
   SECTION SHARED
   ============================================================= */

section {
  position: relative;
  padding: 7.5rem 0;
}

#problem {
  padding-top: 1.5rem;
}

#how,
#industries,
#why {
  padding-top: 0;
}

#why {
  padding-bottom: 0;
}

.part-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  border-top: 1.5px solid var(--ink);
  padding-top: 1.375rem;
  margin-bottom: 4rem;
}

.part-head .p-no {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--ochre-deep);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.part-head .p-lbl {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}

.big-title {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  line-height: 1.04;
  font-weight: 700;
  max-width: 16ch;
  margin-bottom: 1.625rem;
}

.big-lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 35rem;
}


/* =============================================================
   SHARED — data list rows (used by .prob-item and .pil-row)
   ============================================================= */

.prob-item,
.pil-row {
  display: grid;
  grid-template-columns: 8.75rem 1fr 1.2fr;
  gap: 2rem;
  border-bottom: 1px solid rgba(22, 20, 15, 0.16);
}

.prob-item:last-child,
.pil-row:last-child {
  border-bottom: 0;
}


/* =============================================================
   PROBLEM
   ============================================================= */

.prob-list {
  margin-top: 4.5rem;
}

.prob-item {
  align-items: center;
  padding: 2.375rem 0;
}

.prob-item .p-num {
  font-family: var(--font-head);
  font-size: 3.375rem;
  font-weight: 800;
  color: var(--ochre-soft);
  line-height: 1;
}

.prob-item h3 {
  font-size: 1.875rem;
  font-weight: 700;
}

.prob-item p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
}


/* =============================================================
   SOLUTION
   ============================================================= */

.sol {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.sol .wrap {
  position: relative;
}

.sol .part-head {
  border-top-color: rgba(248, 243, 233, 0.5);
}

.sol .part-head .p-no {
  color: var(--ochre);
}

.sol .pc4 {
  width: 28.75rem;
  height: 28.75rem;
  left: -11.25rem;
  bottom: -12.5rem;
  opacity: 0.9;
}

.sol .big-lead {
  color: rgba(248, 243, 233, 0.68);
}

.sol-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: end;
  position: relative;
}

.sol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.sol-tags span {
  border: 1.5px solid rgba(248, 243, 233, 0.4);
  border-radius: 999px;
  padding: 0.75rem 1.375rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: default;
  transition: all 0.25s ease;
}

.sol-tags span:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--ink);
  transform: translateY(-0.1875rem);
}

.sol-huge {
  font-family: var(--font-head);
  font-size: clamp(4.375rem, 8vw, 7.25rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-transform: uppercase;
}

.sol-huge em {
  font-style: normal;
  color: var(--ochre);
}


/* =============================================================
   PILLARS
   ============================================================= */

.pil-row {
  align-items: baseline;
  padding: 2.75rem 0;
  transition: padding-left 0.3s ease;
}

.pil-row:hover {
  padding-left: 1.125rem;
}

.pil-row .p-num {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.1em;
}

.pil-row h3 {
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 700;
}

.pil-row p {
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink-soft);
}


/* =============================================================
   LIFECYCLE
   ============================================================= */

.life-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.l-card {
  background: var(--paper);
  border: 1px solid rgba(22, 20, 15, 0.14);
  border-radius: 20px;
  padding: 1.625rem 1.375rem 1.875rem;
  min-height: 14.375rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.l-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 28px 44px -28px rgba(22, 20, 15, 0.3);
}

.l-card .l-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: auto;
  flex-shrink: 0;
}

.l-card:nth-child(even) .l-num {
  background: var(--green);
}

.l-card h3 {
  font-size: 1.1875rem;
  margin: 1.375rem 0 0.5rem;
}

.l-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}


/* =============================================================
   INDUSTRIES
   ============================================================= */

.giant-list {
  margin-top: 1.5rem;
}

.g-row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 1.875rem 0;
  border-bottom: 1px solid rgba(22, 20, 15, 0.16);
  cursor: default;
}

.g-row:last-child {
  border-bottom: 0;
}

.g-row .g-dot {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 2px solid var(--ochre-deep);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.g-row:hover .g-dot {
  background: var(--ochre);
  border-color: var(--ochre);
  transform: scale(1.35);
}

.g-row h3 {
  font-size: clamp(2.125rem, 4vw, 3.375rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color 0.3s ease, transform 0.3s ease;
}

.g-row:hover h3 {
  color: var(--ochre-deep);
  transform: translateX(0.625rem);
}

.g-row p {
  margin-left: auto;
  max-width: 20.625rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: right;
}


/* =============================================================
   WHY
   ============================================================= */

.why-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  margin-top: 4.375rem;
}

.why-col .w-num {
  font-family: var(--font-head);
  font-size: 3.375rem;
  font-weight: 800;
  color: var(--green-soft);
  line-height: 1;
  margin-bottom: 1.375rem;
}

.why-col h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.why-col p {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.why-badge {
  margin-top: 4rem;
  padding-top: 1.375rem;
  border-top: 1.5px solid var(--ink);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.why-badge b {
  color: var(--green-deep);
  font-family: var(--font-head);
}


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

.cta {
  overflow: hidden;
  padding: 10rem 0 10.625rem;
}

.cta .pc5 {
  width: 37.5rem;
  height: 37.5rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.14;
}

.cta-inner {
  text-align: center;
  position: relative;
}

.cta h2 {
  font-size: clamp(3.25rem, 6vw, 5.375rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 17ch;
  margin: 0 auto 1.5rem;
}

.cta p {
  font-size: 1.1875rem;
  color: var(--ink-soft);
  max-width: 33.75rem;
  margin: 0 auto 2.625rem;
  line-height: 1.6;
}

.cta .hero-ctas {
  justify-content: center;
}


/* =============================================================
   FOOTER
   ============================================================= */

footer {
  border-top: 1.5px solid var(--ink);
  padding: 4rem 0 3.5rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 0 3.75rem;
  align-items: start;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.foot-brand .logo-img {
  height: 2.125rem;
}

.foot-tag {
  font-size: 0.91rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 13.75rem;
}

.foot-support {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.375rem;
  font-size: 0.78rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.fit-logo {
  height: 1.25rem;
  width: auto;
  flex-shrink: 0;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.foot-col-label {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.375rem;
}

.foot-col a {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1;
  transition: color 0.2s ease;
}

.foot-col a:hover {
  color: var(--ochre-deep);
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(22, 20, 15, 0.14);
  font-size: 0.84rem;
  color: var(--muted);
}

.foot-legal {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.foot-legal a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.foot-legal a:hover {
  color: var(--ochre-deep);
}


/* =============================================================
   REDUCED MOTION — page animations
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  .sol-tags span,
  .pil-row,
  .g-row h3,
  .g-row .g-dot,
  .l-card,
  .foot-col a,
  .nav-links a {
    transition: none;
  }
}


/* =============================================================
   RESPONSIVE — tablet (≤ 67.5rem / 1080px)
   ============================================================= */

@media (max-width: 67.5rem) {
  .nav-links {
    display: none;
  }

  .prob-item,
  .pil-row {
    grid-template-columns: 4.375rem 1fr;
  }

  .prob-item p,
  .pil-row p {
    grid-column: 2;
  }

  .sol-cols {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sol .pc4 {
    opacity: 0.4;
    left: -16.25rem;
    bottom: -17.5rem;
  }

  .life-strip {
    grid-template-columns: 1fr 1fr;
  }

  .g-row p {
    display: none;
  }

  .why-cols {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* concentric center: 5rem from right, 18rem from top */
  .hero .pc2 {
    width: 30rem;
    height: 30rem;
    right: -10rem;
    top: 3rem;
  }

  .hero .pc1 {
    width: 18rem;
    height: 18rem;
    right: -4rem;
    top: 9rem;
    opacity: 0.8;
  }

  .hero .pc3 {
    display: block;
    width: 3.25rem;
    height: 3.25rem;
    right: 13.875rem;
    top: 5.875rem;
  }
}


/* =============================================================
   RESPONSIVE — mobile (≤ 40rem / 640px)
   ============================================================= */

@media (max-width: 40rem) {
  .hero .pc3 {
    display: none;
  }

  /* concentric center: right edge of viewport, 13rem from top */
  .hero .pc2 {
    width: 12rem;
    height: 12rem;
    right: -6rem;
    top: 7rem;
    opacity: 0.6;
  }

  .hero .pc1 {
    width: 7rem;
    height: 7rem;
    right: -3.5rem;
    top: 9.5rem;
    opacity: 0.8;
  }

  .hero {
    padding: 8.5rem 0 0;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero .sub {
    font-size: 1.0625rem;
  }

  .hero-foot {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
  }

  section {
    padding: 4.75rem 0;
  }

  .part-head {
    flex-wrap: wrap;
    gap: 0.5rem 1.125rem;
    margin-bottom: 2.25rem;
  }

  .big-title {
    font-size: 1.9375rem;
  }

  .big-lead {
    font-size: 1.03rem;
  }

  .prob-list {
    margin-top: 2.75rem;
  }

  .prob-item {
    padding: 1.625rem 0;
    gap: 0.625rem 1.125rem;
  }

  .prob-item .p-num {
    font-size: 2.125rem;
  }

  .prob-item h3 {
    font-size: 1.3125rem;
  }

  .prob-item p {
    font-size: 0.97rem;
  }

  .sol-huge {
    font-size: 3.375rem;
  }

  .sol-tags span {
    padding: 0.625rem 1.125rem;
    font-size: 0.84rem;
  }

  .pil-row {
    padding: 1.625rem 0;
    gap: 0.5rem 1.125rem;
  }

  .pil-row h3 {
    font-size: 1.4375rem;
  }

  .pil-row p {
    font-size: 0.97rem;
  }

  .pil-row:hover {
    padding-left: 0;
  }

  .life-strip {
    grid-template-columns: 1fr;
    margin-top: 2.25rem;
  }

  .l-card {
    min-height: 0;
  }

  .l-card .l-num {
    margin-bottom: 0;
  }

  .l-card h3 {
    margin-top: 1rem;
  }

  .g-row {
    gap: 1rem;
    padding: 1.375rem 0;
  }

  .g-row h3 {
    font-size: 1.625rem;
  }

  .why-cols {
    margin-top: 2.25rem;
  }

  .why-col .w-num {
    font-size: 2.5rem;
    margin-bottom: 0.875rem;
  }

  .cta {
    padding: 6.25rem 0 6.875rem;
  }

  .cta h2 {
    font-size: 2.25rem;
  }

  .cta p {
    font-size: 1.03rem;
  }

  footer {
    padding: 3rem 0 3.5rem;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 2.5rem;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .foot-bottom {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .foot-legal {
    flex-basis: 100%;
    margin-left: 0;
  }
}
