/* ==========================================================================
   LP03 · UNIT 9 · PROVEN TECHNOLOGY + BECOME A FOUNDING MEMBER
   --------------------------------------------------------------------------
   One section, two tones:
     A · light top  — "Proven Technology. A Better Way Forward." The three
         foundations the copy names stand as pillars under a beam that
         carries the Fatorly mark (the "way forward" rests on them).
     B · navy band  — "Become a Founding Member": a certificate card
         overlapping a bisht photo, its benefits as icon chips, and a
         Founding Member stamp that presses onto the paper.
   prv.js: pillars rise, beam lands; then certificate slides in and the
   stamp presses. Without motion everything is shown in place.
   ========================================================================== */

.prv {
  padding-block-end: 0;
  background-color: var(--c-cloud);
}

/* Starts on the exact tone Unit 8 ends on (cloud) so the two sections flow
   into each other with no seam; the glow sits lower, behind the pillars */
.prv__decor {
  background:
    radial-gradient(ellipse 45% 35% at 50% 62%, rgba(0, 169, 182, 0.09), transparent 70%),
    linear-gradient(180deg, var(--c-cloud) 0%, var(--c-white) 38%, var(--c-cloud) 100%);
}

/* ---------------------------------------------------------------------------
   A · Proven technology
   --------------------------------------------------------------------------- */
.prv__copy {
  display: grid;
  gap: var(--space-lg);
  justify-items: center;
  text-align: center;
  max-inline-size: 46rem;
  margin-inline: auto;
}

.prv__temple {
  --gap: clamp(0.75rem, 3vw, 2.5rem);
  max-inline-size: 52rem;
  margin-block-start: clamp(2.25rem, 5vw, 3.5rem);
  margin-inline: auto;
}

/* the beam carrying the Fatorly mark */
.prv__beam {
  position: relative;
  z-index: 1;                      /* the mark's disc hangs over the pillars — keep it on top */
  display: grid;
  place-items: center;
  block-size: 1rem;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--c-deep-teal), var(--c-teal), var(--c-deep-teal));
  box-shadow: 0 14px 30px -12px rgba(1, 62, 106, 0.55);
}

.prv__beam span {
  position: absolute;
  display: grid;
  place-items: center;
  inline-size: 4rem;
  block-size: 4rem;
  border-radius: 50%;
  background-color: var(--c-white);
  box-shadow: 0 0 0 6px rgba(0, 169, 182, 0.18), var(--shadow-md);
}

.prv__beam img {
  inline-size: 55%;
  block-size: auto;
}

/* the three pillars */
.prv__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  padding-inline: 4%;
  list-style: none;
}

.prv__pillar {
  display: grid;
  grid-template-rows: auto 1fr;   /* bases stretch → equal height, shafts touch them */
  justify-items: center;
  text-align: center;
}

/* the column itself: fluted shaft */
.prv__shaft {
  inline-size: 38%;
  block-size: clamp(3.5rem, 9vw, 6rem);
  border-radius: 0 0 6px 6px;
  background:
    linear-gradient(90deg, rgba(1, 62, 106, 0.08) 0 20%, transparent 20% 40%, rgba(1, 62, 106, 0.08) 40% 60%, transparent 60% 80%, rgba(1, 62, 106, 0.08) 80%),
    linear-gradient(180deg, #DCEBF0, var(--c-white));
  border-inline: 1px solid var(--c-ink-a10);
  transform-origin: 50% 0%;
}

.prv__base {
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  inline-size: 100%;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  border-radius: var(--r-card);
  border: 1px solid var(--c-ink-a10);
  background-color: var(--c-white);
  box-shadow: var(--shadow-md);
  align-content: start;
}

.prv__icon {
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: 12px;
  background-color: var(--c-navy);
  color: var(--c-teal);
}

.prv__icon svg {
  inline-size: 1.375rem;
  block-size: 1.375rem;
}

.prv__base span:last-child {
  font-family: var(--ff-display);
  font-size: clamp(0.8125rem, 0.75rem + 0.35vw, 1rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-ink);
}

/* ---------------------------------------------------------------------------
   B · Founding Member (navy band)
   --------------------------------------------------------------------------- */
.prv__band {
  position: relative;
  margin-block-start: clamp(4rem, 9vw, 7rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 45% 60% at 85% 30%, rgba(0, 169, 182, 0.18), transparent 70%),
    var(--c-navy);
  isolation: isolate;
}

/* soft arch where the light top meets the band */
.prv__band::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 100%;
  block-size: clamp(2rem, 5vw, 4rem);
  background: var(--c-navy);
  border-start-start-radius: 50% 100%;
  border-start-end-radius: 50% 100%;
}

.prv__founding {
  display: grid;
  gap: 0;
  align-items: center;
  max-inline-size: 64rem;
  margin-inline: auto;
}

@media (min-width: 48rem) {
  .prv__founding {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  }
}

.prv__photo {
  margin: 0;
  justify-self: center;
  inline-size: min(78%, 22rem);
}

@media (min-width: 48rem) {
  .prv__photo {
    inline-size: 100%;
  }
}

.prv__photo img {
  display: block;
  inline-size: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-panel);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

/* Certificate */
.prv__cert {
  position: relative;
  display: grid;
  gap: var(--space-md);
  margin-block-start: -3.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--r-card);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 169, 182, 0.08), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(1, 62, 106, 0.06), transparent 45%),
    #FDFCF8;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.6);
  padding-block-start: 4.25rem;    /* mobile: room for the centred stamp */
  text-align: center;
  justify-items: center;
}

@media (min-width: 48rem) {
  .prv__cert {
    padding-block-start: clamp(1.5rem, 4vw, 2.5rem);
    margin-block-start: 0;
    margin-inline-start: -3.5rem;
    text-align: start;
    justify-items: start;
  }
}

/* double engraved frame */
.prv__cert::before,
.prv__cert::after {
  content: "";
  position: absolute;
  border-radius: 10px;
  pointer-events: none;
}

.prv__cert::before {
  inset: 0.6rem;
  border: 1px solid rgba(1, 62, 106, 0.25);
}

.prv__cert::after {
  inset: 0.9rem;
  border: 1px dashed rgba(0, 169, 182, 0.35);
}

.prv__cert h2 {
  max-inline-size: 16ch;
  color: var(--c-ink);
}

.prv__cert p {
  max-inline-size: 36rem;
  color: var(--c-slate);
}

.prv__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .prv__perks {
    justify-content: flex-start;
  }
}

.prv__perks li {
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 169, 182, 0.4);
  background-color: rgba(0, 169, 182, 0.08);
  color: var(--c-deep-teal);
}

.prv__perks svg {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

/* Stamp (seal) */
.prv__stamp {
  position: absolute;
  z-index: 1;
  inset-block-start: -3.25rem;     /* mobile: centred on the top edge, above the title */
  inset-inline: 0;
  margin-inline: auto;
  inline-size: 6.5rem;
  block-size: 6.5rem;
  rotate: -12deg;
  color: var(--c-teal);
  filter: drop-shadow(0 10px 18px rgba(2, 17, 58, 0.35));
}

@media (min-width: 48rem) {
  .prv__stamp {
    inline-size: 7.5rem;
    block-size: 7.5rem;
    inset-block-start: -3.25rem;
    inset-inline: auto -1.5rem;
    margin-inline: 0;
  }
}

.prv__stamp svg {
  inline-size: 100%;
  block-size: 100%;
  overflow: visible;
}

.prv__stamp text {
  font-family: var(--ff-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  fill: var(--c-white);
}

.prv__stamp-mark {
  position: absolute;
  inset: 32%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: var(--c-white);
}

.prv__stamp-mark img {
  inline-size: 70%;
  block-size: auto;
}

/* ink ring left by the press (prv.js) */
.prv__ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--c-teal);
  opacity: 0;
  pointer-events: none;
}

/* ---------------------------------------------------------------------------
   Section CTA (→ hero form)
   --------------------------------------------------------------------------- */
@media (min-width: 48rem) {
  .prv__cta {
    justify-content: flex-start;    /* follows the start-aligned copy */
  }
}
