/* lab01-ph-base · Philippines shell (distinct from Brazil cb- / wine-gold Cinzel) */
:root {
  --ph-bg: #061820;
  --ph-bg-2: #0a2430;
  --ph-panel: #0f2f38;
  --ph-panel-2: #16404a;
  --ph-line: rgba(160, 230, 220, 0.16);
  --ph-gold: #f0b429;
  --ph-gold-2: #ffd56a;
  --ph-crimson: #e85d4c;
  --ph-crimson-2: #ff7a68;
  --ph-mint: #2ec4b6;
  --ph-sea: #1a8f9c;
  --ph-text: #f4efe6;
  --ph-muted: #9fb8b4;
  --ph-dark-ink: #062028;
  --ph-radius: 18px;
  --ph-radius-sm: 10px;
  --ph-shadow: 0 18px 44px rgba(0, 20, 28, 0.45);
  --ph-max: 1160px;
  --ph-font-display: "Fraunces", "Georgia", serif;
  --ph-font-body: "Sora", "Segoe UI", sans-serif;
  --ph-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ph-site {
  margin: 0;
  font-family: var(--ph-font-body);
  color: var(--ph-text);
  background:
    radial-gradient(900px 460px at 8% -8%, rgba(46, 196, 182, 0.22), transparent 55%),
    radial-gradient(780px 420px at 96% 4%, rgba(240, 180, 41, 0.16), transparent 52%),
    radial-gradient(640px 360px at 70% 90%, rgba(232, 93, 76, 0.1), transparent 50%),
    linear-gradient(180deg, var(--ph-bg), var(--ph-bg-2) 42%, #041218);
  min-height: 100vh;
  line-height: 1.55;
  /* subtle woven / banana-leaf hint */
  background-attachment: fixed;
}

a {
  color: var(--ph-gold-2);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

.ph-wrap {
  width: min(100% - 1.5rem, var(--ph-max));
  margin-inline: auto;
}

/* Header — glass teal bar */
.ph-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 24, 32, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--ph-line);
}

.ph-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.ph-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ph-text);
  font-family: var(--ph-font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ph-logo img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--ph-mint) 35%, transparent);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.12);
}

.ph-logo span {
  font-size: 1.2rem;
  color: var(--ph-gold);
}

.ph-nav {
  display: none;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ph-nav a {
  color: var(--ph-muted);
  position: relative;
}

.ph-nav a:hover {
  color: var(--ph-mint);
}

.ph-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ph-mint), var(--ph-gold));
  transform: scaleX(0);
  transition: transform 0.2s var(--ph-ease);
}

.ph-nav a:hover::after {
  transform: scaleX(1);
}

.ph-actions {
  display: flex;
  gap: 0.5rem;
}

.ph-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.15s var(--ph-ease), box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.ph-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.ph-btn--gold {
  background: linear-gradient(135deg, var(--ph-gold-2), var(--ph-gold));
  color: var(--ph-dark-ink);
  box-shadow: 0 10px 24px rgba(240, 180, 41, 0.28);
}

.ph-btn--crimson,
.ph-btn--coral {
  background: linear-gradient(135deg, var(--ph-crimson-2), var(--ph-crimson));
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 93, 76, 0.22);
}

.ph-btn--ghost {
  background: rgba(15, 47, 56, 0.65);
  border-color: var(--ph-line);
  color: var(--ph-text);
}

.ph-btn--mint {
  background: linear-gradient(135deg, #5ce0d4, var(--ph-mint));
  color: var(--ph-dark-ink);
}

/* Hero — full-bleed tropical plane */
.ph-hero {
  position: relative;
  padding: 2.75rem 0 2.25rem;
  overflow: hidden;
}

.ph-hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -15%;
  height: 120%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(46, 196, 182, 0.28), transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(240, 180, 41, 0.18), transparent 55%);
  pointer-events: none;
  filter: blur(2px);
}

.ph-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 12%;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  border-radius: 36% 64% 55% 45% / 45% 38% 62% 55%;
  background: linear-gradient(145deg, rgba(26, 143, 156, 0.35), rgba(232, 93, 76, 0.12));
  border: 1px solid rgba(160, 230, 220, 0.12);
  pointer-events: none;
  animation: ph-blob 14s ease-in-out infinite alternate;
}

@keyframes ph-blob {
  from { transform: rotate(0deg) translateY(0); }
  to { transform: rotate(8deg) translateY(12px); }
}

.ph-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

.ph-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ph-mint) 40%, transparent);
  background: rgba(46, 196, 182, 0.12);
  color: var(--ph-gold-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.ph-updated {
  margin: 0 0 0.75rem;
  color: var(--ph-muted);
  font-size: 0.85rem;
}

.ph-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--ph-font-display);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.ph-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--ph-gold-2), var(--ph-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ph-lede {
  margin: 0 0 1.25rem;
  color: var(--ph-muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.ph-ai-answer {
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-line);
  background: rgba(15, 47, 56, 0.72);
}

.ph-ai-answer__title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--ph-mint);
  font-family: var(--ph-font-display);
}

.ph-ai-answer__facts {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--ph-muted);
}

.ph-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.ph-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.ph-trust-pill {
  background: rgba(15, 47, 56, 0.85);
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius-sm);
  padding: 0.75rem 0.85rem;
  box-shadow: var(--ph-shadow);
}

.ph-trust-pill strong {
  display: block;
  color: var(--ph-gold);
  font-size: 0.92rem;
}

.ph-trust-pill span {
  color: var(--ph-muted);
  font-size: 0.84rem;
}

.ph-hero-card {
  background:
    linear-gradient(160deg, rgba(46, 196, 182, 0.22), rgba(15, 47, 56, 0.95) 48%),
    var(--ph-panel);
  border: 1px solid var(--ph-line);
  border-radius: calc(var(--ph-radius) + 4px);
  padding: 1.35rem;
  box-shadow: var(--ph-shadow);
  position: relative;
  overflow: hidden;
}

.ph-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ph-mint), var(--ph-gold), var(--ph-crimson));
}

.ph-hero-card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--ph-font-display);
  font-size: 1.28rem;
  color: var(--ph-gold-2);
}

.ph-hero-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--ph-muted);
}

.ph-hero-card li + li {
  margin-top: 0.4rem;
}

/* Sections */
.ph-section {
  padding: 2.15rem 0;
}

.ph-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ph-section__head h2 {
  margin: 0;
  font-family: var(--ph-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  letter-spacing: -0.01em;
}

.ph-section__head p {
  margin: 0.35rem 0 0;
  color: var(--ph-muted);
}

.ph-panel {
  background: rgba(15, 47, 56, 0.9);
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  padding: 1rem;
  box-shadow: var(--ph-shadow);
}

.ph-howto {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ph-howto__step {
  background: var(--ph-panel);
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  padding: 1rem;
}

.ph-howto__step strong {
  display: block;
  color: var(--ph-mint);
  margin-bottom: 0.35rem;
  font-family: var(--ph-font-display);
}

.ph-howto__step p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.92rem;
}

/* Promo cards — mango / sea tiles */
.ph-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.ph-promo {
  position: relative;
  overflow: hidden;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-line);
  background: linear-gradient(145deg, #164a52, #0a2430 62%);
  padding: 1.1rem;
  min-height: 150px;
}

.ph-promo::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.28), transparent 70%);
}

.ph-promo strong {
  display: block;
  font-family: var(--ph-font-display);
  color: var(--ph-gold);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.ph-promo p {
  margin: 0;
  color: var(--ph-muted);
  position: relative;
  z-index: 1;
}

/* Home games rail */
.ph-rail {
  overflow: auto;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: rgba(6, 24, 32, 0.55);
}

.ph-rail__track {
  display: flex;
  gap: 0.85rem;
  padding: 0.95rem;
  min-width: max-content;
}

.ph-game {
  width: 140px;
  color: inherit;
  text-decoration: none;
}

.ph-game:hover {
  text-decoration: none;
}

.ph-game__thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--ph-panel-2);
  border: 1px solid var(--ph-line);
}

.ph-game__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-game__num,
.ph-game__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
}

.ph-game__badge.is-new {
  left: auto;
  right: 6px;
  background: var(--ph-crimson);
  color: #fff;
}

.ph-game__title {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Demo play slot */
.ph-play {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #031016;
  border: 1px solid var(--ph-line);
  aspect-ratio: 16 / 9;
}
.ph-play__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-play__start {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  color: var(--ph-dark-ink);
  background: linear-gradient(135deg, var(--ph-gold-2), var(--ph-gold));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.ph-play__start:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  color: #eee;
  background: #444;
}
.ph-play__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.ph-play--lab {
  aspect-ratio: 4 / 5;
  min-height: 560px;
}
@media (min-width: 760px) {
  .ph-play--lab {
    aspect-ratio: 16 / 11;
    min-height: 640px;
  }
}
.ph-card__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.ph-card__body h3 a {
  color: inherit;
  text-decoration: none;
}
.ph-card__body h3 a:hover {
  color: var(--ph-gold-2);
}

.ph-review {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ph-line);
}
.ph-review:last-child { border-bottom: 0; }
.ph-review header {
  font-weight: 700;
  color: var(--ph-gold-2);
  margin-bottom: 0.35rem;
}
.ph-review p { margin: 0; color: var(--ph-muted); }

/* Simulator */
.ph-featured {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-line);
  background:
    linear-gradient(180deg, rgba(6, 24, 32, 0.2), rgba(6, 24, 32, 0.88)),
    var(--ph-sim-cover, var(--ph-panel)) center / cover no-repeat;
}

.ph-featured__veil {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.65rem;
  padding: 1.25rem;
  text-align: center;
  background: rgba(4, 18, 24, 0.66);
}

.ph-featured__veil strong {
  font-family: var(--ph-font-display);
  font-size: 1.35rem;
  color: var(--ph-gold-2);
}

.ph-featured__veil span {
  color: var(--ph-muted);
  max-width: 28rem;
  margin-inline: auto;
}

.ph-featured.is-live .ph-featured__veil {
  display: none;
}

.ph-featured__frame {
  width: 100%;
  min-height: 520px;
  border: 0;
  background: #000;
  display: none;
}

.ph-featured.is-live .ph-featured__frame {
  display: block;
}

.ph-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.85rem;
}

.ph-card {
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  overflow: hidden;
  background: var(--ph-panel);
  transition: transform 0.18s var(--ph-ease), border-color 0.18s ease;
}

.ph-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ph-mint) 45%, transparent);
}

.ph-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--ph-panel-2);
}

.ph-card__body {
  padding: 0.85rem 0.95rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.ph-card__body h3 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--ph-font-display);
}

.ph-card__body p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.88rem;
}

.ph-chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--ph-line);
  color: var(--ph-mint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Services / trust */
.ph-service-grid,
.ph-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.ph-service,
.ph-why {
  background: var(--ph-panel);
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  padding: 1rem;
}

.ph-service h3,
.ph-why h3 {
  margin: 0 0 0.4rem;
  font-family: var(--ph-font-display);
  font-size: 1.05rem;
  color: var(--ph-gold-2);
}

.ph-service p,
.ph-why p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.92rem;
}

.ph-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.ph-review {
  background: var(--ph-panel);
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  padding: 1rem;
}

.ph-review__stars {
  color: var(--ph-gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.ph-review p {
  margin: 0 0 0.65rem;
  color: var(--ph-muted);
}

.ph-review strong {
  color: var(--ph-text);
  font-size: 0.9rem;
}

.ph-faq details {
  border-top: 1px solid var(--ph-line);
  padding: 0.9rem 0;
}

.ph-faq details:last-child {
  border-bottom: 1px solid var(--ph-line);
}

.ph-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.ph-faq p {
  margin: 0.5rem 0 0;
  color: var(--ph-muted);
}

.ph-contact-grid {
  display: grid;
  gap: 0.85rem;
}

.ph-map {
  border: 0;
  width: 100%;
  min-height: 260px;
  border-radius: var(--ph-radius);
  background: var(--ph-panel-2);
}

.ph-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--ph-line);
  background: rgba(4, 18, 24, 0.75);
}

.ph-footer__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.ph-footer h3 {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ph-mint);
}

.ph-footer a {
  display: block;
  color: var(--ph-muted);
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.ph-footer a:hover {
  color: var(--ph-gold-2);
}

.ph-footer__note {
  margin-top: 1.25rem;
  color: var(--ph-muted);
  font-size: 0.82rem;
}

/* Guide featured */
.ph-guide-feature {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.ph-guide-feature__body h3 {
  margin: 0 0 0.5rem;
  font-family: var(--ph-font-display);
}

.ph-guide-feature__body p {
  margin: 0 0 0.85rem;
  color: var(--ph-muted);
}

@media (max-width: 860px) {
  .ph-guide-feature {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .ph-nav {
    display: flex;
  }
  .ph-hero__grid {
    grid-template-columns: 1.25fr 0.9fr;
    align-items: center;
  }
  .ph-trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-hero::after {
    animation: none;
  }
  .ph-btn:hover,
  .ph-card:hover {
    transform: none;
  }
}

/* ========== Layout v2 — composition distinct from Brazil 2-col + card grids ========== */
.ph-layout-v2 .ph-header--split {
  border-bottom: 0;
}

.ph-layout-v2 .ph-nav--rail {
  display: block;
  border-top: 1px solid var(--ph-line);
  border-bottom: 1px solid var(--ph-line);
  background: rgba(4, 18, 24, 0.55);
}

.ph-layout-v2 .ph-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  padding: 0.65rem 0;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.ph-layout-v2 .ph-nav__inner a {
  color: var(--ph-muted);
}

.ph-layout-v2 .ph-nav__inner a:hover {
  color: var(--ph-mint);
}

.ph-layout-v2 .ph-nav__inner a::after {
  display: none;
}

/* Hero: single stack, full-bleed atmosphere (no side panel) */
.ph-hero--bleed {
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.ph-hero--bleed::before,
.ph-hero--bleed::after {
  display: none;
}

.ph-hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(6, 24, 32, 0.55) 70%, var(--ph-bg) 100%),
    radial-gradient(1000px 520px at 70% 10%, rgba(46, 196, 182, 0.28), transparent 60%),
    radial-gradient(700px 420px at 10% 80%, rgba(240, 180, 41, 0.16), transparent 55%),
    radial-gradient(500px 360px at 90% 70%, rgba(232, 93, 76, 0.12), transparent 50%);
  pointer-events: none;
}

/* Mobile-only: fill upper hero void with site logo; desktop unchanged */
.ph-hero__logo-stage {
  display: none;
}

.ph-hero--bleed .ph-hero__stack {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  display: grid;
  gap: 0.85rem;
}

@media (max-width: 899px) {
  .ph-hero--bleed {
    grid-template-rows: minmax(9.5rem, 34vh) auto;
    align-items: stretch;
    min-height: auto;
    padding: 1.1rem 0 2.25rem;
  }

  .ph-hero__logo-stage {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    padding: 0.35rem 0 0.15rem;
  }

  .ph-hero__logo-link {
    display: inline-flex;
    line-height: 0;
    border-radius: 22px;
  }

  .ph-hero__logo {
    width: clamp(7.5rem, 38vw, 11rem);
    height: auto;
    border-radius: 22px;
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(160, 230, 220, 0.14);
  }

  .ph-hero--bleed .ph-hero__stack {
    align-self: end;
  }
}

.ph-brand-mark {
  margin: 0;
  font-family: var(--ph-font-display);
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ph-text);
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.ph-hero--bleed .ph-kicker {
  margin: 0;
  width: fit-content;
}

.ph-hero--bleed h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  letter-spacing: -0.02em;
}

.ph-hero--bleed .ph-lede {
  margin: 0;
  font-size: 1.08rem;
}

.ph-hero--bleed .ph-hero__cta {
  margin: 0.35rem 0 0;
}

.ph-hero--bleed .ph-updated {
  margin: 0.25rem 0 0;
  opacity: 0.8;
}

/* Definition ribbon */
.ph-ribbon {
  border-block: 1px solid var(--ph-line);
  background: rgba(15, 47, 56, 0.55);
  padding: 1.25rem 0;
}

.ph-ribbon__inner {
  display: grid;
  gap: 0.45rem;
  max-width: 52rem;
}

.ph-ribbon__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ph-mint);
  font-family: var(--ph-font-body);
  font-weight: 700;
}

.ph-ribbon__inner p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 1.02rem;
}

.ph-section--tight {
  padding-top: 1.75rem;
}

.ph-section__head--row {
  align-items: baseline;
}

/* Timeline howto (not 4 cards) */
.ph-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ph-line);
}

.ph-timeline__step {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ph-line);
}

.ph-timeline__step span {
  grid-row: 1 / span 2;
  font-family: var(--ph-font-display);
  font-size: 1.35rem;
  color: var(--ph-mint);
  line-height: 1.1;
}

.ph-timeline__step strong {
  color: var(--ph-text);
  font-size: 1.02rem;
}

.ph-timeline__step p {
  margin: 0.2rem 0 0;
  color: var(--ph-muted);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .ph-timeline {
    grid-template-columns: repeat(4, 1fr);
    border-top: 0;
    gap: 0;
  }
  .ph-timeline__step {
    grid-template-columns: 1fr;
    padding: 0 1rem 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--ph-line);
  }
  .ph-timeline__step:last-child {
    border-right: 0;
    padding-right: 0;
  }
  .ph-timeline__step span {
    grid-row: auto;
    margin-bottom: 0.55rem;
  }
}

/* Promo bands — full-bleed rows, not card grid */
.ph-bands {
  padding-bottom: 0;
}

.ph-band {
  border-top: 1px solid var(--ph-line);
  padding: 1.35rem 0;
}

.ph-band[data-tone="mint"] {
  background: linear-gradient(90deg, rgba(46, 196, 182, 0.14), transparent 55%);
}
.ph-band[data-tone="gold"] {
  background: linear-gradient(90deg, rgba(240, 180, 41, 0.12), transparent 55%);
}
.ph-band[data-tone="coral"] {
  background: linear-gradient(90deg, rgba(232, 93, 76, 0.12), transparent 55%);
}

.ph-band__row {
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 800px) {
  .ph-band__row {
    grid-template-columns: minmax(12rem, 18rem) 1fr;
    align-items: baseline;
    gap: 2rem;
  }
}

.ph-band__row strong {
  font-family: var(--ph-font-display);
  font-size: 1.35rem;
  color: var(--ph-gold-2);
}

.ph-band__row p {
  margin: 0;
  color: var(--ph-muted);
}

/* Games mosaic */
.ph-rail--mosaic {
  border: 0;
  background: transparent;
  overflow: auto;
}

.ph-rail--mosaic .ph-rail__track {
  padding: 0.25rem 0 0.5rem;
}

.ph-game--hero {
  width: min(72vw, 280px);
}

.ph-game--hero .ph-game__thumb {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
}

.ph-picks,
.ph-empty {
  color: var(--ph-muted);
}

.ph-picks {
  padding: 0.25rem 0;
}

/* Featured lab edge-to-edge */
.ph-section--bleed {
  padding-left: 0;
  padding-right: 0;
}

.ph-section--bleed > .ph-wrap {
  width: min(100% - 1.5rem, var(--ph-max));
  margin-inline: auto;
}

.ph-featured--edge {
  margin-top: 0.75rem;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  min-height: 420px;
}

@media (min-width: 900px) {
  .ph-featured--edge {
    min-height: 560px;
  }
}

/* Catalog as editorial list feel */
.ph-catalog--list {
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .ph-catalog--list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ph-catalog--list .ph-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ph-line);
  border-radius: 0;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
}

.ph-catalog--list .ph-card:hover {
  transform: none;
  border-color: var(--ph-line);
}

.ph-catalog--list .ph-card__media {
  aspect-ratio: 1;
  border-radius: 12px;
}

.ph-catalog--list .ph-card__body {
  padding: 0.15rem 0;
}

/* Services as link rows */
.ph-split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .ph-split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }
}

.ph-split__intro h2 {
  margin: 0 0 0.5rem;
  font-family: var(--ph-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.ph-split__intro p {
  margin: 0;
  color: var(--ph-muted);
}

.ph-linkrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ph-line);
  color: var(--ph-text);
  font-weight: 600;
  font-size: 1.05rem;
}

.ph-linkrow span:last-child {
  color: var(--ph-mint);
  font-weight: 600;
  font-size: 0.92rem;
}

.ph-linkrow:hover {
  color: var(--ph-gold-2);
}

.ph-why-line {
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid var(--ph-line);
  padding-top: 1rem;
}

.ph-why-line p {
  margin: 0;
  color: var(--ph-muted);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ph-line);
}

.ph-why-line strong {
  color: var(--ph-text);
}

/* Quotes instead of review cards */
.ph-reviews--stack {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .ph-reviews--stack {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.ph-quote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.ph-quote p {
  margin: 0 0 0.75rem;
  font-family: var(--ph-font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ph-text);
}

.ph-quote cite {
  font-style: normal;
  color: var(--ph-muted);
  font-size: 0.88rem;
}

.ph-faq-split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .ph-faq-split {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 3rem;
  }
}

.ph-contact {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .ph-contact {
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: stretch;
  }
}

.ph-footer--slim .ph-footer__grid a {
  display: block;
}

.ph-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  gap: 0.45rem;
}

@media (min-width: 900px) {
  .ph-float {
    display: none;
  }
}

/* Hide Brazil-style howto grid remnants if any leftover classes appear */
.ph-layout-v2 .ph-howto {
  display: none;
}
