/* ============================================================
   ELEVATE IT SOCCER — Design System v3
   Apple-inspired: restraint, whitespace, system typography,
   near-monochrome palette with one disciplined accent color.
   ============================================================ */

:root {
  /* ---------- LIGHT (default) ---------- */
  --bg: #FFFFFF;
  --bg-soft: #F5F5F7;
  /* Apple's signature light-gray section fill */
  --surface: #FFFFFF;
  --surface-2: #F5F5F7;
  --border: #D2D2D7;
  /* Apple's hairline gray */
  --border-strong: #C7C7CC;

  --text-1: #1D1D1F;
  /* Apple's near-black */
  --text-2: #6E6E73;
  --text-3: #86868B;
  /* Apple's iconic secondary gray */

  --gold: #B9860F;
  --gold-soft: #9A7418;
  --gold-deep: #7A5E12;
  --gold-wash: rgba(185, 134, 15, 0.08);
  --green: #1D9C64;

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --maxw: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 20px 50px -28px rgba(29, 29, 31, 0.18);

  color-scheme: light;
}

/*
  DARK — color psychology stays intentional, not just inverted:
  true black (not navy) matches Apple's own dark-mode product pages;
  gold brightens back up since it now sits on black, not white;
  text warms very slightly off pure white to reduce glare on OLED-style black.
*/
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #1D1D1F;
  --surface: #1D1D1F;
  --surface-2: #2A2A2C;
  --border: #38383A;
  --border-strong: #48484A;

  --text-1: #F5F5F7;
  --text-2: #A1A1A6;
  --text-3: #6E6E73;

  --gold: #E7B93F;
  --gold-soft: #C99B2E;
  --gold-deep: #9A7418;
  --gold-wash: rgba(231, 185, 63, 0.12);
  --green: #3ECF8E;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -24px rgba(0, 0, 0, 0.65);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-1);
  line-height: 1.07;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--text-2);
}

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--text-2);
  line-height: 1.55;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--gold);
  font-weight: 600;
}

.eyebrow::before {
  content: none;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
  align-items: flex-start;
}

.text-gold {
  color: var(--gold);
}

.text-2 {
  color: var(--text-2);
}

.mono {
  font-family: var(--font-mono);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 980px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
  position: static;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.85;
}

[data-theme="dark"] .btn-primary {
  color: #14110A;
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--text-2);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.92rem;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn::after {
  content: none;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

a.brand img {
  filter: brightness(0);
}

[data-theme="dark"] .nav {
  background: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] a.brand img {
  filter: brightness(1);
}

.nav.scrolled {
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--text-1);
}

.brand .crest {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--text-2);
  position: relative;
  padding: 6px 0;
  transition: color .16s ease;
}

.nav-links a:hover {
  color: var(--text-1);
}

.nav-links a.active {
  color: var(--text-1);
  font-weight: 500;
}

.nav-links a.active::after {
  content: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-1);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 4px 0 20px;
  border-top: 1px solid var(--border);
}

.mobile-panel a {
  padding: 14px 4px;
  font-size: 1rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.mobile-panel a.active {
  color: var(--gold);
}

.mobile-panel .btn {
  margin-top: 14px;
  width: 100%;
}

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

  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  body.nav-open .mobile-panel {
    display: flex;
  }
}

/* ---------- Theme switch ---------- */
.theme-switch {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease;
}

.theme-switch .ts-rail {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}

.theme-switch .ts-rail svg {
  width: 11px;
  height: 11px;
  color: var(--text-3);
}

.theme-switch .ts-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}

[data-theme="dark"] .theme-switch .ts-thumb {
  transform: translateX(20px);
  background: var(--gold);
}

.theme-switch .ts-thumb svg {
  width: 11px;
  height: 11px;
  color: #7A5E12;
  position: absolute;
  transition: opacity .2s ease;
}

.theme-switch .ts-thumb .ts-moon {
  opacity: 0;
}

.theme-switch .ts-thumb .ts-sun {
  opacity: 1;
}

[data-theme="dark"] .theme-switch .ts-thumb .ts-moon {
  opacity: 1;
  color: #14110A;
}

[data-theme="dark"] .theme-switch .ts-thumb .ts-sun {
  opacity: 0;
}

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-2);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
  background: var(--bg-soft);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 280px;
  font-size: 0.85rem;
  color: var(--text-3);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-1);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  color: var(--text-3);
  font-size: 0.85rem;
  transition: color .16s ease;
}

.footer-col a:hover {
  color: var(--text-1);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.78rem;
  color: var(--text-3);
}

.footer-legal a {
  color: var(--text-3);
}

.footer-legal a:hover {
  color: var(--text-1);
}

.social-row {
  display: flex;
  gap: 8px;
}

.social-row a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-2);
  transition: all .16s ease;
}

.social-row a:hover {
  border-color: var(--text-2);
  color: var(--text-1);
}

.social-row svg {
  width: 14px;
  height: 14px;
}

.store-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.78rem;
  color: var(--text-1);
  transition: border-color .16s ease;
}

.store-badge:hover {
  border-color: var(--text-2);
}

.store-badge svg {
  width: 18px;
  height: 18px;
}

.store-badge span {
  display: block;
  line-height: 1.15;
}

.store-badge b {
  font-size: 0.86rem;
  display: block;
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Layout helpers ---------- */
.section {
  padding: 120px 0;
}

.section-tight {
  padding: 80px 0;
}

.section-border-top {
  border-top: 1px solid var(--border);
}

.bg-soft {
  background: var(--bg-soft);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Card system ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.data-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.data-card::before {
  content: none;
}

.data-card .dc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.dc-crest {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-wash);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}

.dc-head .dc-title {
  font-weight: 600;
  color: var(--text-1);
  font-size: 1rem;
}

.dc-head .dc-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 2px;
}

.dc-badge {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--gold);
  border: 1px solid var(--border);
  background: var(--gold-wash);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
}

.dc-tabs {
  display: flex;
  gap: 4px;
  padding: 16px 24px 0;
}

.dc-tabs span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-3);
  padding: 8px 12px;
  border-radius: 8px 8px 0 0;
}

.dc-tabs span.on {
  color: var(--gold);
  background: var(--gold-wash);
  font-weight: 500;
}

.dc-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 18px 24px 0;
  border-radius: 14px;
  overflow: hidden;
}

.dc-stats div {
  background: var(--surface);
  padding: 16px 18px;
}

.dc-stats .k {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-3);
}

.dc-stats .v {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-1);
  margin-top: 4px;
  font-weight: 600;
}

.dc-coaches {
  display: flex;
  gap: 22px;
  padding: 24px;
}

.dc-coach {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.dc-coach .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-coach .av svg {
  width: 48%;
  height: 48%;
  color: var(--text-3);
}

.dc-coach small {
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: center;
}

/* ---------- Feature / Icon cards ---------- */
.feature-card {
  background: var(--bg-soft);
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-wash);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
}

.feature-card h4 {
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.92rem;
}

.feature-card .pill {
  margin-top: auto;
  align-self: flex-start;
}

/* Bento grid → true equal grid, all four cards the same size */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.bento-grid .feature-card,
.bento-grid .feature-card.b-lead {
  grid-column: span 1;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Stat strip ---------- */
.stat {
  text-align: center;
  padding: 8px 12px;
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  color: var(--text-1);
  display: block;
  letter-spacing: -0.02em;
}

.stat .label {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--text-3);
}

/* ---------- Testimonials ---------- */
.t-card {
  background: var(--bg-soft);
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.t-quote-icon {
  color: var(--gold);
  opacity: 0.5;
  width: 24px;
  height: 18px;
}

.t-card p.quote {
  color: var(--text-1);
  font-size: 1rem;
  line-height: 1.55;
  flex: 1;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.t-person .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-1);
}

.t-person .tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ---------- Marquee (logo wall) ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: scroll-left 34s linear infinite;
  padding: 4px 0;
}

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

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.logo-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-2);
  white-space: nowrap;
}

.logo-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
}

.logo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  white-space: nowrap;
  transition: border-color .18s ease, transform .18s ease;
}

a.logo-card:hover {
  border-color: var(--text-2);
  transform: translateY(-2px);
}

span.logo-card {
  cursor: default;
}

.logo-mono {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: #fff;
  flex-shrink: 0;
}

.logo-card .lc-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.logo-card .lc-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-1);
}

.logo-card .lc-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-3);
  margin-top: 1px;
}

.logo-card .lc-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-2);
  margin-left: 2px;
  opacity: 0;
  transition: opacity .18s ease;
}

a.logo-card:hover .lc-arrow {
  opacity: 1;
}

.mono-1 {
  background: linear-gradient(135deg, #B9860F, #9A7418);
}

.mono-2 {
  background: linear-gradient(135deg, #4FAE84, #2D8A66);
}

.mono-3 {
  background: linear-gradient(135deg, #5E8FD9, #3E6BB8);
}

.mono-4 {
  background: linear-gradient(135deg, #D9705E, #B84E3E);
}

.mono-5 {
  background: linear-gradient(135deg, #A26FD9, #7E4FB8);
}

.mono-6 {
  background: linear-gradient(135deg, #D4AF37, #B08D1F);
}

.mono-7 {
  background: linear-gradient(135deg, #5EB3B8, #3E8F94);
}

.mono-8 {
  background: linear-gradient(135deg, #D97A9C, #B85678);
}

/* ---------- Photography treatment ---------- */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.photo-frame::before {
  content: none;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-frame .frame-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.photo-frame .frame-caption span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.img-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.img-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

.img-banner .banner-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  max-width: 560px;
  color: #fff;
}

.img-banner .banner-content .eyebrow {
  color: #F2D27A;
}

.img-banner .banner-content h2 {
  color: #fff;
}

.page-hero-photo {
  position: relative;
  overflow: hidden;
}

.page-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  z-index: 0;
}

.page-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, var(--bg) 92%);
  z-index: 1;
}

.page-hero-photo .container {
  position: relative;
  z-index: 2;
}

.page-hero-photo h1,
.page-hero-photo .eyebrow {
  color: #fff;
}

.page-hero-photo .lede {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 110px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  margin-top: 14px;
}

.page-hero .lede {
  max-width: 620px;
  margin: 18px auto 0;
}

/* ---------- Accordion (FAQ) ---------- */
.accordion {
  display: flex;
  flex-direction: column;
}

.acc-item {
  border-bottom: 1px solid var(--border);
  background: transparent;
  overflow: hidden;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  background: none;
  border: none;
  color: var(--text-1);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
}

.acc-trigger .chev {
  width: 18px;
  height: 18px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform .22s ease;
}

.acc-item.open .acc-trigger .chev {
  transform: rotate(180deg);
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.acc-panel-inner {
  padding: 0 4px 24px;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- Contact cards ---------- */
.contact-card {
  background: var(--bg-soft);
  border: none;
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform .2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
}

.contact-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.contact-card .icon-wrap svg {
  width: 26px;
  height: 26px;
}

.contact-card a.email {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  word-break: break-all;
  font-weight: 600;
}

.contact-card p {
  font-size: 0.92rem;
}

.note-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  background: var(--bg-soft);
}

.note-card svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.note-card p {
  font-size: 0.94rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  background: var(--bg-soft);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Misc ---------- */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-2);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .section {
    padding: 84px 0;
  }

  .cta-band {
    padding: 48px 22px;
  }
}

/* ============================================================
   VIDEO HERO — centered, huge type, minimal chrome (Apple product-page pattern)
   ============================================================ */
.video-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.video-hero video,
.video-hero .fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5);
}

.video-hero::before {
  content: none;
}

.video-hero::after {
  content: none;
}

.video-hero .container {
  position: relative;
  z-index: 2;
}

.video-hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.hero-trust-row {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-trust-row .stat .num {
  color: #fff;
}

.hero-trust-row .stat .label {
  color: rgba(255, 255, 255, 0.65);
}

.hero-headline {
  text-transform: none;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero-headline .accent {
  color: var(--gold);
}

/* ---------- Split banner ---------- */
.split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-top: 1px solid var(--border);
}

.split-banner.reverse {
  direction: rtl;
}

.split-banner.reverse>* {
  direction: ltr;
}

.split-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.split-media img,
.split-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media .media-tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  background: var(--bg);
}

@media (max-width: 900px) {

  .split-banner,
  .split-banner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .split-content {
    padding: 48px 24px;
  }

  .split-media {
    min-height: 280px;
  }
}

/* ---------- Audience cards ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience-card {
  position: relative;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.audience-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
  transition: transform .6s ease;
}

.audience-card:hover img {
  transform: scale(1.04);
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.88) 85%);
  z-index: 1;
}

.audience-card .ac-body {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
}

.audience-card .ac-kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #F2D27A;
  margin-bottom: 8px;
  display: block;
}

.audience-card h3 {
  color: #fff;
  font-size: 1.2rem;
}

.audience-card ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audience-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.45;
}

.audience-card li svg {
  width: 14px;
  height: 14px;
  color: #F2D27A;
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 1024px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Credibility strip ---------- */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

.cred-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-1);
}

.cred-chip svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Device frame ---------- */
.device-frame {
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 10px;
  box-shadow: var(--shadow-card);
}

.device-frame .device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 6px 12px;
}

.device-frame .device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.device-frame .device-screen {
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ---------- Quote banner ---------- */
.quote-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.quote-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42);
}

.quote-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0.35) 75%);
}

.quote-banner-content {
  position: relative;
  z-index: 2;
  padding: 60px;
  max-width: 640px;
}

.quote-banner .big-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.quote-banner .qb-person {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-banner .qb-person .name {
  color: #fff;
}

.quote-banner .qb-person .tag {
  color: rgba(255, 255, 255, 0.65);
}

.eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.eyebrow-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

@media (max-width: 640px) {
  .video-hero {
    min-height: 86vh;
  }

  .quote-banner-content {
    padding: 32px 24px;
  }
}

/* ---------- Disabled decorative layers (not part of Apple's visual language) ---------- */
.grain {
  display: none;
}

.orb-field {
  display: none;
}

/* ---------- 3D tilt — kept but very restrained ---------- */
.tilt-zone {
  perspective: 1400px;
}

.tilt {
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  transform-style: preserve-3d;
}

/* ---------- Hero visual — full-bleed video/image showcase below the typographic intro ---------- */
.hero-visual {
  position: relative;
  width: calc(100% - 48px);
  aspect-ratio: 21/9;
  max-height: 640px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: var(--maxw);
}

.hero-visual video,
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 28px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}

.hero-visual-stats .num {
  color: #fff;
}

.hero-visual-stats .label {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .hero-visual {
    aspect-ratio: 4/5;
    border-radius: var(--radius-md);
  }

  .hero-visual-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
}

.cp-tabs-wrap {
  margin-top: 4px;
}

/* ---------- Ecosystem flow diagram ---------- */
.eco-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
}

.eco-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 108px;
  text-align: center;
}

.eco-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.eco-icon svg {
  width: 26px;
  height: 26px;
}

.eco-node span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-1);
  max-width: 110px;
  line-height: 1.3;
}

.eco-connector {
  width: 40px;
  height: 1px;
  background: var(--border-strong);
  margin: 30px 4px 0;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.eco-connector::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: var(--gold);
  animation: eco-pulse 2.8s ease-in-out infinite;
}

.eco-node {
  animation: eco-fade-in 0.6s ease both;
}

.eco-node:nth-child(1) {
  animation-delay: 0s;
}

.eco-node:nth-child(3) {
  animation-delay: 0.15s;
}

.eco-node:nth-child(5) {
  animation-delay: 0.3s;
}

.eco-node:nth-child(7) {
  animation-delay: 0.45s;
}

.eco-node:nth-child(9) {
  animation-delay: 0.6s;
}

.eco-node:nth-child(11) {
  animation-delay: 0.75s;
}

@keyframes eco-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes eco-pulse {
  0% {
    left: -40%;
  }

  60% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

@media (max-width: 900px) {
  .eco-connector::after {
    left: 0;
    top: -40%;
    width: 100%;
    height: 40%;
    animation: eco-pulse-v 2.8s ease-in-out infinite;
  }
}

@keyframes eco-pulse-v {
  0% {
    top: -40%;
  }

  60% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

@media (max-width: 900px) {
  .eco-flow {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .eco-connector {
    width: 1px;
    height: 28px;
    margin: 4px 0;
  }
}

/* ---------- Phone mockups (illustrative product UI) ---------- */
.phone-showcase {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.phone-showcase .ps-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.4) saturate(0.9);
  transform: scale(1.05);
}

.phone-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
}

.phone-showcase .container {
  position: relative;
  z-index: 2;
}

.phone-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.phone-frame {
  width: 240px;
  aspect-ratio: 1320 / 2868;
  border-radius: 46px;
  background: #1D1D1F;
  padding: 4px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  position: relative;
  animation: phone-rise 0.7s cubic-bezier(.2, .8, .2, 1) both;
}

.phone-frame::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 19%;
  width: 2px;
  height: 30px;
  background: #0e0e0f;
  border-radius: 2px 0 0 2px;
}

.phone-frame::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 24%;
  width: 2px;
  height: 54px;
  background: #0e0e0f;
  border-radius: 0 2px 2px 0;
}

.phone-frame:nth-child(1) {
  animation-delay: 0s;
}

.phone-frame:nth-child(2) {
  animation-delay: 0.1s;
}

.phone-frame:nth-child(3) {
  animation-delay: 0.2s;
}

.phone-frame:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes phone-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 18px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
}

.phone-screen {
  background: var(--surface);
  border-radius: 42px;
  height: 100%;
  padding: 0 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

/* Status bar */
.ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-1);
}

.ph-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ph-status-icons svg {
  width: 15px;
  height: 9px;
  color: var(--text-1);
}

.ph-status-icons svg:first-child {
  width: 13px;
  height: 9px;
}

.ph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-1);
  margin-bottom: 2px;
}

.ph-header-icon {
  width: 17px;
  height: 17px;
  color: var(--text-3);
}

.ph-profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.ph-avatar-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.ph-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-name-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ph-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-1);
}

.ph-subtext {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-3);
}

.ph-chip-row {
  display: flex;
  gap: 6px;
  margin: 6px 0 2px;
}

.ph-chip {
  font-size: 0.62rem;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--gold-wash);
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
}

.ph-section-label {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-3);
  margin-top: 4px;
}

.ph-thumb-row {
  display: flex;
  gap: 8px;
}

.ph-thumb-photo {
  position: relative;
  width: 76px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
}

.ph-thumb-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-play svg {
  width: 9px;
  height: 9px;
  color: #fff;
}

.ph-thumb-caption {
  position: absolute;
  left: 5px;
  bottom: 4px;
  font-family: var(--font-body);
  font-size: 0.56rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.ph-body-text {
  font-family: var(--font-body);
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-2);
  margin-top: 2px;
}

.ph-school-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.ph-school-row:last-of-type {
  border-bottom: none;
}

.ph-school-name {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-1);
}

.ph-search {
  height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  margin: 4px 0 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.ph-search svg {
  width: 15px;
  height: 15px;
  color: var(--text-3);
  flex-shrink: 0;
}

.ph-search span {
  font-size: 0.78rem;
  color: var(--text-3);
}

.ph-filter-row {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.ph-filter-chip {
  font-size: 0.64rem;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: var(--font-body);
}

.ph-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.ph-list-item:last-of-type {
  border-bottom: none;
}

.ph-thumb-sm {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.ph-thumb-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gold-wash);
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-icon-box svg {
  width: 52%;
  height: 52%;
}

.ph-icon-box.sm {
  width: 28px;
  height: 28px;
}

.ph-list-item>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ph-item-title {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-item-sub {
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: var(--text-3);
}

.ph-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-3);
  flex-shrink: 0;
}

.ph-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.ph-msg-row.right {
  justify-content: flex-end;
}

.ph-msg-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.ph-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-bubble {
  border-radius: 14px;
  background: var(--bg-soft);
  max-width: 72%;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--text-1);
}

.ph-bubble.right {
  background: var(--gold);
  color: #fff;
}

[data-theme="light"] .ph-bubble.right {
  color: #fff;
}

.ph-input {
  margin-top: auto;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 14px;
}

.ph-input span:first-child {
  font-size: 0.78rem;
  color: var(--text-3);
}

.ph-send {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ph-send svg {
  width: 13px;
  height: 13px;
  color: #fff;
}

.ph-week-row {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 4px;
}

.ph-week-row span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-3);
}

.ph-week-row span.today {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
}

.ph-event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.ph-event:last-of-type {
  border-bottom: none;
}

.ph-date {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-wash);
  padding: 6px 7px;
  border-radius: 8px;
  flex-shrink: 0;
}

.ph-event>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ph-tabbar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  z-index: 3;
}

.ph-tabbar svg {
  width: 19px;
  height: 19px;
  color: var(--text-3);
}

.ph-tabbar svg.active {
  color: var(--gold);
}

@media (max-width: 640px) {
  .phone-frame {
    width: 44%;
  }

  .phone-screen {
    padding: 0 12px 12px;
  }

  .dynamic-island {
    width: 46px;
    height: 15px;
    top: 10px;
  }

  .ph-status {
    padding: 12px 4px 5px;
  }
}

/* ============================================================
   COLLEGE PROFILE PAGE
   ============================================================ */
.cp-hero {
  padding: 40px 0 0;
  border-bottom: 1px solid var(--border);
}

.cp-photo-band {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.cp-photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.cp-photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, var(--bg) 100%);
}

@media (max-width: 640px) {
  .cp-photo-band {
    height: 160px;
  }
}

.cp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 26px;
}

.cp-breadcrumb a {
  color: var(--text-2);
}

.cp-breadcrumb a:hover {
  color: var(--text-1);
}

.cp-head {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 28px;
}

.cp-head-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cp-crest-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}

.cp-title h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cp-title .cp-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 6px;
}

.cp-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 4px;
}

.cp-tab-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 14px 18px;
  color: var(--text-3);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .16s ease, border-color .16s ease;
}

.cp-tab-btn.active {
  color: var(--text-1);
  border-color: var(--gold);
  font-weight: 500;
}

.cp-tab-btn:hover {
  color: var(--text-1);
}

.cp-panel {
  display: none;
}

.cp-panel.active {
  display: block;
}

.cp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 32px 0;
}

.cp-stats-grid div {
  background: var(--surface);
  padding: 22px 20px;
}

.cp-stats-grid .k {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-3);
}

.cp-stats-grid .v {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-1);
  margin-top: 8px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .cp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cp-chart {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  height: 160px;
  padding: 20px 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.cp-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
}

.cp-bar .fill {
  width: 100%;
  max-width: 48px;
  background: var(--gold);
  border-radius: 6px 6px 0 0;
}

.cp-bar .cp-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-3);
  padding-bottom: 12px;
}

.cp-coach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cp-coach {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 20px;
  text-align: center;
}

.cp-coach .av {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-coach .av svg {
  width: 48%;
  height: 48%;
  color: var(--text-3);
}

.cp-coach .role {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-1);
}

.cp-coach .years {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 4px;
}

@media (max-width: 760px) {
  .cp-coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cp-links-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cp-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-2);
}

.cp-link-btn svg {
  width: 15px;
  height: 15px;
}

.cp-disclaimer {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-3);
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 44px;
  line-height: 1.6;
}