/* Game On Therapy Home page — adapted from the supplied static reference. */

body.got-home {
  --got-navy: #16235f;
  --got-ink: #1d2340;
  --got-text: #5b6384;
  --got-muted: #8a91ad;
  --got-line: #e4e7f0;
  --got-bg: #ffffff;
  --got-haze: 196, 202, 216;
  --got-max: 1120px;
  --got-gutter: clamp(20px, 5vw, 64px);
  margin: 0;
  background: var(--got-bg);
  color: var(--got-text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.got-home *, body.got-home *::before, body.got-home *::after { box-sizing: border-box; }
body.got-home img { display: block; max-width: 100%; }
body.got-home a { color: inherit; text-decoration: none; }
body.got-home a:focus-visible { outline: 2px solid var(--got-navy); outline-offset: 3px; border-radius: 4px; }
body.got-home .got-wrap { width: 100%; max-width: calc(var(--got-max) + 2 * var(--got-gutter)); margin: 0 auto; padding: 0 var(--got-gutter); }
body.got-home h1, body.got-home h2, body.got-home .got-display { font-family: "Bodoni Moda", "Didot", Georgia, serif; font-weight: 400; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.04; color: var(--got-ink); margin: 0; }
body.got-home h2 { color: var(--got-navy); font-size: clamp(30px, 3.6vw, 44px); }
body.got-home .got-lead { font-size: clamp(16px, 1.35vw, 18px); color: var(--got-text); margin: 18px 0 0; max-width: 34em; }
body.got-home .got-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--got-navy); opacity: .78; margin: 0 0 14px; }

/* Hero */
body.got-home .got-hero { position: relative; min-height: clamp(520px, 44vw, 640px); display: flex; align-items: center; overflow: hidden; }
body.got-home .got-hero-art { position: absolute; inset: 0 0 0 auto; width: min(64%, 980px); pointer-events: none; }
body.got-home .got-hero-art picture, body.got-home .got-hero-art img { width: 100%; height: 100%; }
body.got-home .got-hero-art img { object-fit: cover; object-position: 62% 40%; }
body.got-home .got-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 14%, rgba(255,255,255,0) 46%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 22%); }
body.got-home .got-hero .got-wrap { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 72px; }
body.got-home .got-hero .got-site-nav { position: absolute; top: 40px; right: var(--got-gutter); z-index: 3; margin: 0; gap: clamp(16px, 2.2vw, 30px); visibility: visible; opacity: 1; }
body.got-home .got-hero .got-site-nav a { display: inline-block; padding: 8px 0; color: #1d2340 !important; font-size: 13px; visibility: visible; opacity: 1; }
body.got-home .got-logo { display: inline-block; width: 124px; margin-bottom: clamp(56px, 7vw, 92px); }
body.got-home .got-logo img { width: 100%; height: auto; }
body.got-home .got-hero h1 { max-width: 16em; overflow-wrap: break-word; }
body.got-home .got-hero .got-lead { max-width: 28em; overflow-wrap: anywhere; }

/* Desktop navigation sits in the hero's white negative space, left of the phone. */
@media (min-width: 700px) {
  body.got-home .got-hero .got-site-nav {
    right: clamp(269px, calc(620px - 20vw), 364px);
  }
}

/* Phone mockups */
body.got-home .got-phone { --got-phone-width: 240px; position: relative; width: var(--got-phone-width); aspect-ratio: 9 / 19.5; padding: calc(var(--got-phone-width) * .035); border-radius: calc(var(--got-phone-width) * .16); background: linear-gradient(145deg, #2b2d33, #0c0d10 40%, #1a1b1f); box-shadow: inset 0 0 0 1.5px #3c3e45, inset 0 0 0 calc(var(--got-phone-width) * .012) #08090b, 0 30px 60px -18px rgba(20, 26, 50, .38), 0 12px 24px -12px rgba(20, 26, 50, .28); flex: none; }
body.got-home .got-phone::before { content: ""; position: absolute; right: -2px; top: 26%; width: 3px; height: 13%; border-radius: 2px; background: #202227; }
body.got-home .got-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--got-phone-width) * .125); overflow: hidden; background: var(--got-fill, #fff); }
body.got-home .got-screen::after { content: ""; position: absolute; z-index: 2; top: calc(var(--got-phone-width) * .035); left: 50%; transform: translateX(-50%); width: 31%; height: calc(var(--got-phone-width) * .085); border-radius: 99px; background: #050608; }
body.got-home .got-screen img.got-cover { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
body.got-home .got-screen img.got-bottom { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }

/* Overview */
body.got-home .got-overview { padding: clamp(64px, 8vw, 110px) 0; }
body.got-home .got-overview .got-wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
body.got-home .got-trio { display: flex; gap: clamp(16px, 2.4vw, 32px); }
body.got-home .got-trio figure { margin: 0; text-align: center; }
body.got-home .got-trio .got-phone { --got-phone-width: clamp(120px, 12vw, 150px); }
body.got-home .got-trio figcaption { margin-top: 18px; }
body.got-home .got-trio strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--got-ink); }
body.got-home .got-trio small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--got-muted); margin-top: 2px; }

/* Product sections */
body.got-home .got-product { padding: clamp(48px, 6vw, 80px) 0; scroll-margin-top: 24px; }
body.got-home .got-product .got-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
body.got-home .got-product.got-flip .got-media { order: 2; }
body.got-home .got-media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; isolation: isolate; }
body.got-home .got-media::before { content: ""; position: absolute; z-index: -1; inset: 4% 0; background: radial-gradient(ellipse 52% 50% at 50% 52%, rgba(var(--got-haze), .85) 0%, rgba(var(--got-haze), .45) 40%, rgba(255,255,255,0) 72%); filter: blur(14px); }
body.got-home .got-media .got-phone { --got-phone-width: clamp(190px, 19vw, 236px); }
body.got-home .got-media .got-front { transform: rotate(-7deg); z-index: 2; margin-right: -9%; }
body.got-home .got-media .got-back { --got-phone-width: clamp(160px, 16vw, 200px); transform: rotate(9deg) translateY(-10px); z-index: 1; }
body.got-home .got-product.got-flip .got-media .got-front { transform: rotate(7deg); margin-right: 0; margin-left: -9%; order: 2; }
body.got-home .got-product.got-flip .got-media .got-back { transform: rotate(-9deg) translateY(-10px); order: 1; }
body.got-home .got-copy h2 { max-width: 12em; }
body.got-home .got-copy .got-lead { max-width: 31em; }
body.got-home .got-stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
body.got-home .got-badge { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 12px; background: #000; color: #fff; border-radius: 9px; border: 1px solid #a6a6a6; transition: transform .15s ease, box-shadow .15s ease; }
body.got-home .got-badge:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); }
body.got-home .got-badge-unavailable { cursor: not-allowed; opacity: .55; }
body.got-home .got-badge-unavailable:hover { transform: none; box-shadow: none; }
body.got-home .got-badge svg { width: 24px; height: 24px; flex: none; }
body.got-home .got-badge span { display: flex; flex-direction: column; line-height: 1.05; }
body.got-home .got-badge small { font-size: 9.5px; letter-spacing: .02em; }
body.got-home .got-badge b { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }

/* Responsive */
@media (max-width: 960px) {
  body.got-home .got-overview .got-wrap { grid-template-columns: 1fr; }
  body.got-home .got-trio { justify-content: center; }
  body.got-home .got-product .got-wrap { grid-template-columns: 1fr; }
  body.got-home .got-product.got-flip .got-media { order: 0; }
  body.got-home .got-media { min-height: 0; padding: 40px 0; }
}
@media (max-width: 640px) {
  body.got-home .got-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  body.got-home .got-hero-art { position: relative; order: 2; width: 100%; height: 420px; margin-top: -40px; }
  body.got-home .got-hero-art img { object-position: 50% 30%; }
  body.got-home .got-hero-art::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 78%, #fff 100%); }
  body.got-home .got-hero .got-wrap { padding-top: 24px; padding-bottom: 0; }
  body.got-home .got-hero .got-site-nav { position: static; top: auto; right: auto; width: 100%; justify-content: flex-end; gap: clamp(10px, 3vw, 16px); flex-wrap: nowrap; white-space: nowrap; margin: 0 0 26px; padding: 0 0 16px; border-bottom: 1px solid var(--got-line); }
  body.got-home .got-hero .got-site-nav a { display: inline-block; padding: 6px 0; font-size: clamp(11px, 3.3vw, 13px); }
  body.got-home .got-logo { width: 112px; margin-bottom: 36px; }
  body.got-home .got-hero h1 { font-size: clamp(30px, 9vw, 42px); max-width: 100%; overflow-wrap: anywhere; }
  body.got-home .got-hero .got-lead { width: 100%; max-width: 100%; }
  body.got-home .got-trio { gap: 12px; }
  body.got-home .got-trio .got-phone { --got-phone-width: calc((100vw - 2 * var(--got-gutter) - 24px) / 3); }
  body.got-home .got-trio small { font-size: 9px; letter-spacing: .1em; }
  body.got-home .got-product { padding: 40px 0 52px; }
  body.got-home .got-product .got-wrap { gap: 18px; }
  body.got-home .got-media { width: 100%; min-height: 0; padding: 24px 0 12px; }
  body.got-home .got-media .got-phone { --got-phone-width: clamp(118px, 34vw, 154px); }
  body.got-home .got-media .got-back { --got-phone-width: clamp(98px, 28vw, 128px); }
  body.got-home #got-avola .got-media { padding-top: 20px; }
  body.got-home #got-evara .got-media { padding-top: 16px; }
  body.got-home #got-nuvio .got-media { padding-top: 24px; }
  body.got-home .got-copy { padding: 0 4px; }
  body.got-home .got-copy h2 { font-size: clamp(32px, 10vw, 42px); }
  body.got-home .got-copy .got-lead { margin-top: 14px; }
  body.got-home .got-stores { gap: 10px; margin-top: 22px; }
  body.got-home .got-badge { max-width: 100%; padding-right: 12px; padding-left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.got-home .got-badge { transition: none; }
}
