/* SirVive / Strawberry Games site, rebuilt from the Wix version (desktop layout measured at 1440px). */
/* Same font files the Wix site used (Roboto v18 "thin"/"bold" cuts, Montserrat v14). */
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-thin.woff2") format("woff2"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-bold-700.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --grid: 980px;          /* Wix content grid */
  --edge: 50px;           /* torn-edge height */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--black); color: var(--white); font-family: "Montserrat", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- shared ---------- */
.section { position: relative; overflow: hidden; }
.grid { position: relative; width: var(--grid); max-width: 100%; margin: 0 auto; height: 100%; }
.edge { position: absolute; left: 0; width: 100%; height: var(--edge); z-index: 3; pointer-events: none;
  background: currentColor; -webkit-mask: url("../img/torn-edge.svg") center bottom / auto 100% no-repeat; mask: url("../img/torn-edge.svg") center bottom / auto 100% no-repeat; }
.edge.bottom { bottom: -1px; }
.edge.top { top: -1px; transform: scaleY(-1); }
.edge.black { color: var(--black); }
.edge.white { color: var(--white); }
.bg { position: absolute; inset: -12% 0; z-index: 0; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
.title { font-family: "Roboto", sans-serif; font-weight: 700; font-size: 30px; line-height: 1.88; margin: 0 0 10px; text-shadow: 0 2px 6px rgba(0,0,0,.55); }
.body { font-family: "Roboto", sans-serif; font-weight: 100; font-size: 25px; line-height: 1.41; margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.block { position: absolute; z-index: 2; }

/* ---------- hero ---------- */
.hero { height: 461px; }
.hero .bg { inset: 0 0 auto 0; height: 900px; }
.hero .logo { position: absolute; z-index: 2; top: 12px; left: 50%; width: 400px; transform: translateX(-50%); }

/* ---------- intro ---------- */
.intro { text-align: center; padding: 46px 0 0; }
.intro p { width: 905px; max-width: calc(100% - 40px); margin: 0 auto; font-family: "Roboto", sans-serif; font-weight: 100; font-size: 30px; line-height: 1.35; }
.intro p strong { font-weight: 900; }
.btn { display: inline-block; margin-top: 50px; width: 182px; height: 50px; line-height: 48px; padding: 0; border: 1px solid var(--white); font-family: "Montserrat", sans-serif; font-size: 15px; letter-spacing: .05em; text-decoration: none; color: var(--white); transition: background .2s, color .2s; }
.btn:hover { background: var(--white); color: var(--black); }
.video { width: 980px; max-width: 100%; aspect-ratio: 980 / 552; margin: 89px auto 0; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- card strip ---------- */
.strip { position: relative; height: 598px; margin-top: 28px; overflow: hidden; }
.strip-track { display: flex; gap: 10px; position: absolute; top: 0; left: 0; will-change: transform; }
.strip-track img { width: 311px; height: 598px; object-fit: cover; flex: none; }
.strip-next { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; cursor: pointer; z-index: 2; padding: 0; }
.strip-next svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 3px rgba(0,0,0,.7)); }
.strip-gap { height: 47px; }

/* ---------- story sections ---------- */
.forest { height: 488px; }
.forest .text { top: 118px; left: 53px; width: 468px; }
.forest .phone-shadow { position: absolute; top: 70px; left: 582px; width: 352px; z-index: 1; }
.forest .phone { position: absolute; top: 60px; left: 580px; width: 352px; z-index: 2; }
.underwater { height: 616px; }
.underwater .text { top: 74px; left: 497px; width: 397px; }
.cave { height: 455px; }
.cave .text { top: 106px; left: 54px; width: 377px; }
.island { height: 568px; }
.island .text { top: 101px; left: 493px; width: 387px; }

/* ---------- decision ---------- */
.decision { background: var(--white); height: 556px; }
.decision .heading { position: absolute; top: 62px; left: 50%; transform: translateX(-50%); width: 572px; }
.decision .fan { position: absolute; top: 128px; left: 50%; transform: translateX(-50%); width: 613px; }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 58px 20px 70px; }
.footer h2 { font-family: "Roboto", sans-serif; font-weight: 700; font-size: 28px; margin: 0; line-height: 1.38; }
.footer .mail { display: inline-block; margin-top: 10px; font-size: 20px; text-decoration: none; }
.footer .mail:hover { text-decoration: underline; }
.footer .social { display: block; width: 29px; margin: 10px auto 0; }
.footer .legal { margin-top: 18px; font-size: 13px; opacity: .6; }
.footer .legal a { text-decoration: none; }
.footer .legal a:hover { text-decoration: underline; }

/* ---------- privacy policy ---------- */
.policy { width: 980px; max-width: 100%; margin: 0 auto; padding: 124px 20px 120px 30px; }
.policy h1 { font-family: "Roboto", sans-serif; font-weight: 700; font-size: 56px; line-height: 1.2; margin: 0 0 50px; max-width: 951px; }
.policy .content { max-width: 800px; font-size: 18px; line-height: 1.75; }
.policy p { margin: 0; }
.policy h3 { font-family: "Roboto", sans-serif; font-weight: 700; font-size: 50px; line-height: 67px; margin: 0; }
.policy h3.mont { font-family: "Montserrat", sans-serif; }
.policy ul { margin: 0; padding-left: 32px; }
.policy .back { display: inline-block; margin-top: 60px; font-size: 16px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .grid { width: 100%; }
}
@media (max-width: 767px) {
  :root { --edge: 26px; }
  .hero { height: 300px; }
  .hero .bg { height: 100%; inset: 0; }
  .hero .logo { width: 230px; top: 14px; }
  .intro { padding-top: 30px; }
  .intro p { font-size: 20px; }
  .btn { margin-top: 28px; }
  .video { margin-top: 44px; }
  .strip { height: 386px; margin-top: 24px; }
  .strip-track img { width: 200px; height: 386px; }
  .strip-gap { height: 30px; }
  .forest, .underwater, .cave, .island { height: auto; }
  .story .grid { padding: 70px 22px 80px; }
  .story .block { position: relative; top: auto; left: auto; width: auto; }
  .title { font-size: 24px; }
  .body { font-size: 19px; }
  .forest .phone-wrap { position: relative; width: 240px; margin: 26px auto 0; }
  .forest .phone, .forest .phone-shadow { position: relative; top: 0; left: 0; width: 100%; }
  .forest .phone-shadow { display: none; }
  .decision { height: auto; padding: 50px 16px 80px; }
  .decision .heading, .decision .fan { position: relative; top: auto; left: auto; transform: none; margin: 0 auto; width: 100%; max-width: 572px; }
  .decision .fan { margin-top: 24px; max-width: 613px; }
  .footer h2 { font-size: 22px; }
  .footer .mail { font-size: 17px; }
  .policy { padding: 60px 20px 80px; }
  .policy h1 { font-size: 34px; margin-bottom: 30px; }
  .policy h3 { font-size: 30px; line-height: 1.4; margin-top: 10px; }
  .policy .content { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bg { inset: 0; }
}
