/* ============================================================
   puma.css — override layer
   ------------------------------------------------------------
   Contains ONLY what differs from styles.css.
   MUST be loaded AFTER styles.css:

     <link rel="stylesheet" href="styles.css">
     <link rel="stylesheet" href="puma.css">

   Everything else (tokens, reset, layout, header, typography,
   cards, tables, timeline, responsive, print) is inherited
   unchanged from styles.css and was removed as duplicate.
   The Google Fonts @import was also dropped — styles.css
   already issues the identical import.
   ============================================================ */


/* ---------- Token override --------------------------------
   NOTE: styles.css sets --red:#3a953d. This re-points the
   GLOBAL accent to purple on every page that loads puma.css.
   Section 21 below also sets --red:#c40022 scoped to
   .puma-theme, which wins inside that scope. If the purple was
   only ever meant for the PUMA pages, delete this :root block
   and let .puma-theme do the work.
   ---------------------------------------------------------- */

/*:root {
  --red: #c40022;
}*/

/* ---------- Editorial type -------------------------------- */
.subsection-title {
  margin: 2.6rem 0 0.9rem; /* styles.css: 2rem 0 1rem */
  padding-top: 1.4rem; /* commented out in styles.css */
}

.hero h1 {
  line-height: 1.03; /* styles.css: 1.23 */
}

/* ---------- Buttons --------------------------------------- */
.button:hover {
  background: #ff1128; /* styles.css: #45af2f */
  transform: translateY(-2px); /* styles.css: translateY(2px) */
}

/* ---------- Portrait -------------------------------------- */
/* Both declarations are commented out in styles.css, so the
   framed/rounded portrait is unique to this layer. */
.portrait {
  border-radius: var(--radius);
  border: 1px solid var(--hair);
}
.portrait:hover {
  filter: grayscale(0);
}

/* ---------- Responsive override --------------------------- */
@media (max-width: 980px) {
  .portrait {
    order: -1; /* commented out in styles.css */
    justify-self: start; /* styles.css: center */
  }
}

/* ---------- 21. PUMA portfolio ---------------------------
.puma-theme {
  --red: #c40022;
  --red-dim: #850017;
  --red-wash: rgba(196, 0, 34, 0.08);
}
.puma-theme .site-header::after,
.puma-theme .case-hero::before,
.puma-theme .eyebrow-case::before,
.puma-theme .case-kicker::before {
  background: var(--red);
}
 */
.puma-home-hero {
  background: var(--paper);
  overflow: hidden;
}
.puma-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(400px, 1.16fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}
.puma-home-copy h1 {
  font-family: var(--display);
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 12ch;
  margin-bottom: 26px;
}
.puma-home-copy .case-intro {
  max-width: 56ch;
}
.puma-hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}
.puma-hero-visual .campus {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.73);
}
.puma-hero-visual .screen {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: -56px;
  width: min(38%, 235px);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44);
}
.puma-hero-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #000;
  color: #fff;
  border-left: 4px solid var(--red);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.puma-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.58fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  min-height: 540px;
  padding: clamp(34px, 6vw, 72px);
  background: #0b0b0c;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--radius);
}
.puma-feature-card h3 {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}
.puma-feature-card p {
  color: #c9c9c7;
}
.puma-feature-card .case-link,
.puma-feature-card .metric strong {
  color: #fff;
}
.puma-feature-card .metric span {
  color: #aaa;
}
.puma-feature-phone {
  max-width: 290px;
  margin: 0 auto;
}
.puma-feature-phone img {
  border-radius: 25px;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.55);
}

.puma-summary {
  max-width: 76ch;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
  color: var(--ink-muted);
}
.puma-web-frame {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.puma-web-frame img {
  width: 100%;
}

.puma-stage-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: clamp(28px, 4vw, 44px);
  border: 1px solid var(--hair);
  background: var(--hair);
}
.puma-stage-track span {
  position: relative;
  background: var(--paper);
  padding: 18px 12px 18px 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.puma-stage-track span::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  background: var(--red);
}

.puma-improvement-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(54px, 8vw, 96px);
  margin-top: clamp(30px, 5vw, 56px);
}
.puma-improvement {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding-top: 36px;
  border-top: 1px solid var(--hair);
}
.puma-improvement h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.puma-improvement h4 {
  font-family: var(--mono);
  font-weight: 600;
  font-size: var(--s);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 22px;
}
.puma-improvement p {
  color: var(--ink-muted);
}

.puma-improvement:first-of-type{
  border-top: none;
}

.puma-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 12px;
}
.puma-metric strong {
  display: block;
  /*font-size: clamp(28px, 3vw, 40px);*/
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1;
}
.puma-metric span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.puma-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.puma-evidence.single {
  grid-template-columns: 1fr;
  justify-items: center;
}
.puma-evidence.single figure {
  width: min(100%, 460px);
}
.puma-evidence figure {
  justify-self: center;
  margin: 0;
}


.puma-evidence figcaption {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
  text-align: center;

}
.puma-evidence img {
  width: 100%;
  height: auto;
  max-height: 680px;
  max-width: 290px;
  object-fit: contain;
  /*border: 1px solid var(--hair);
  border-radius: var(--radius);*/
  background: #fff;
}

.puma-account-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}
.puma-account-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.puma-account-compare figure {
  margin: 0;
}
.puma-account-compare figcaption {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.puma-account-compare img {
  width: 100%;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
}
.puma-csat {
  margin-top: 28px;
  border-left: 3px solid var(--red);
  padding-left: 20px;
}
.puma-csat strong {
  display: block;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}
.puma-csat span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.puma-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--hair);
}
.puma-next small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.puma-next a {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  text-decoration: none;
}

.cro-funnel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cro-funnel .text-image {
  justify-self: center;
}

.cro-funnel .text-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
}

@media (max-width: 920px) {
  .puma-home-grid,
  .puma-feature-card,
  .puma-improvement,
  .puma-account-grid {
    grid-template-columns: 1fr;
  }
  .puma-feature-card {
    min-height: 0;
  }
  .puma-feature-phone {
    margin: 0;
  }
.cro-funnel {
  grid-template-columns: 1fr;
}

}
@media (max-width: 680px) {
  .puma-home-grid {
    grid-template-columns: 1fr;
  }
  .puma-home-copy h1 {
    font-size: clamp(38px, 12vw, 58px);
  }
  .puma-hero-visual,
  .puma-hero-visual .campus {
    min-height: 420px;
  }
  .puma-hero-visual .screen {
    width: 44%;
  }
  .puma-feature-card {
    padding: 28px 22px 44px;
  }
  .puma-stage-track {
    grid-template-columns: 1fr;
  }
  .puma-evidence,
  .puma-account-compare {
    gap: 10px;
  }
  .puma-next {
    align-items: flex-start;
    flex-direction: column;
  }
}
