/* For Shore Games studio site */
@font-face { font-family: 'Archivo Black'; src: url(../fonts/archivo-black.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --navy: #0b1424; --night: #16224a; --dusk: #3a2257; --sun: #ffd23f; --sunset: #ff7a3d; --coral: #f2545b;
  --sea: #1fb5c9; --deep: #127a9e; --sand: #f6e7c8; --ink: #e9eef8; --muted: #9eabc4; --line: rgba(246, 231, 200, .12);
  --display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --stripe: linear-gradient(90deg, var(--sun), var(--sunset) 50%, var(--coral));
  --accent: var(--sunset);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--navy); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; margin: 0; }
h2 { font-size: clamp(36px, 5.4vw, 64px); color: var(--sand); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 92vw); margin: 0 auto; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 800 15px/1 var(--body);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--stripe); color: var(--navy); box-shadow: 0 8px 24px rgba(255, 122, 61, .3); }
.btn-sun:hover { box-shadow: 0 12px 30px rgba(255, 122, 61, .45); }
.btn-ghost { border: 2px solid rgba(246, 231, 200, .45); color: var(--sand); }
.btn-ghost:hover { border-color: var(--sand); background: rgba(246, 231, 200, .08); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px max(4vw, 20px);
  background: linear-gradient(180deg, rgba(11, 20, 36, .92), rgba(11, 20, 36, .55) 60%, rgba(11, 20, 36, 0)); transition: background .25s, box-shadow .25s; }
.nav.is-solid { background: rgba(11, 20, 36, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-word { font: 400 19px/1 var(--display); text-transform: uppercase; color: var(--sand); letter-spacing: .01em; white-space: nowrap; }
.brand-word em { font-style: normal; color: var(--sunset); }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: .82; }
.links a:hover { opacity: 1; color: var(--sun); }
.nav-play { padding: 11px 20px; font-size: 13px; }
@media (max-width: 760px) { .nav { gap: 12px; } .links { display: none; } .nav-play { margin-left: auto; padding: 10px 16px; font-size: 12px; } .brand { gap: 9px; } .brand img { width: 34px; height: 34px; } .brand-word { font-size: 15px; } }
@media (max-width: 340px) { .brand-word { display: none; } }

/* hero */
.hero { position: relative; height: min(100svh, 920px); min-height: 600px; overflow: hidden; background: #000; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .9s, visibility 0s .9s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s; }
.slide-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.slide.is-on .slide-art { animation: drift 14s ease-out forwards; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 20, 36, .92) 0%, rgba(11, 20, 36, .6) 38%, rgba(11, 20, 36, 0) 70%),
              linear-gradient(0deg, var(--navy) 0%, rgba(11, 20, 36, 0) 30%); }
.slide:not(.is-on) .slide-copy { opacity: 0; transition: opacity .25s; }
.slide-copy { position: absolute; z-index: 1; left: max(4vw, 20px); bottom: 15%; width: min(800px, 64vw); }
.slide-lede { max-width: 540px; }
@media (max-width: 760px) { .slide-copy { width: 90vw; } }
.slide.is-on .slide-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.slide.is-on .slide-copy > :nth-child(2) { animation-delay: .08s; } .slide.is-on .slide-copy > :nth-child(3) { animation-delay: .16s; } .slide.is-on .slide-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.tag { display: inline-block; padding: 6px 10px; border-radius: 4px; border: 1.5px solid var(--accent); color: var(--accent); letter-spacing: .16em; font-size: 11px; }
.tag-live { background: var(--accent); color: var(--navy); }
.slide-title .red { color: #e0322d; }
.slide-title { font-size: clamp(52px, 8.6vw, 112px); color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .55); }
.slide-lede { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: #dbe3f2; max-width: 520px; }
.hero-dots { position: absolute; z-index: 2; right: max(4vw, 20px); bottom: 15%; display: flex; flex-direction: column; gap: 10px; }
.hero-dots button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 12px; justify-content: flex-end; font: 700 12px/1 var(--body);
  letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 231, 200, .55); padding: 6px 0; }
.hero-dots button::after { content: ""; width: 34px; height: 4px; border-radius: 2px; background: rgba(246, 231, 200, .3); transition: width .3s, background .3s; }
.hero-dots button[aria-current] { color: var(--sand); }
.hero-dots button[aria-current]::after { width: 64px; background: var(--accent); }
.hero-dots button:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }
@media (max-width: 760px) {
  .slide::after { background: linear-gradient(0deg, var(--navy) 8%, rgba(11, 20, 36, .75) 50%, rgba(11, 20, 36, .1) 85%); }
  .slide-copy { bottom: 92px; }
  .hero-dots { left: max(4vw, 20px); right: auto; bottom: 34px; flex-direction: row; }
  .hero-dots button { font-size: 0; } .hero-dots button::after { width: 26px; } .hero-dots button[aria-current]::after { width: 46px; }
}

/* ticker */
.ticker { overflow: hidden; background: var(--stripe); color: var(--navy); }
.ticker-track { display: flex; align-items: center; gap: 22px; width: max-content; padding: 13px 0; animation: tick 40s linear infinite;
  font: 400 15px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.ticker-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); opacity: .5; }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--sunset); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 32px; height: 4px; border-radius: 2px; background: var(--stripe); }
.section-lede { font-size: clamp(18px, 1.8vw, 21px); color: #d3dbea; margin-top: 18px; }

/* game grid */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { all: unset; cursor: pointer; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: all .15s; }
.chip:hover { color: var(--sand); border-color: rgba(246, 231, 200, .4); }
.chip.is-on { background: var(--sand); border-color: var(--sand); color: var(--navy); }
.chip:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { display: flex; }
.card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; background: #111d33; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.card[hidden] { display: none; }
.card-link:hover, .card-link:focus-visible { transform: translateY(-5px); border-color: var(--a); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px var(--a); outline: none; }
.card-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-link:hover .card-art img { transform: scale(1.06); }
.card-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--a); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 4px; background: rgba(11, 20, 36, .88); color: var(--t, var(--a));
  font: 800 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--a); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 18px; }
.card-genre { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--t, var(--a)); }
.card-name { font: 400 23px/1.05 var(--display); text-transform: uppercase; letter-spacing: 0; color: #fff; margin: 8px 0 10px; }
.card-blurb { font-size: 15px; line-height: 1.5; color: #b9c4d8; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.card-where { color: var(--muted); }
.card-play { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }
.card-link:hover .card-play { color: var(--t, var(--a)); }

/* world */
.world { background: radial-gradient(ellipse at 85% 10%, rgba(58, 34, 87, .55), transparent 55%), linear-gradient(180deg, var(--navy), #0e1a33 50%, var(--navy)); }
.world-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.world p:not(.section-lede):not(.eyebrow) { color: #b9c4d8; }
.spots { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.spots li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spots b { font-weight: 800; color: var(--sand); white-space: nowrap; }
.spots span { color: var(--muted); font-size: 14px; text-align: right; }
.world-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.world-shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); background: #111d33; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 0; }
.stats div { padding: 18px 20px; border-radius: 12px; background: rgba(246, 231, 200, .04); border: 1px solid var(--line); }
.stats dt { font: 400 clamp(32px, 3.6vw, 44px)/1 var(--display); background: var(--stripe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: #b9c4d8; }
@media (max-width: 900px) { .world-grid { grid-template-columns: 1fr; } .spots li { flex-direction: column; gap: 2px; } .spots span { text-align: left; } }

/* trailer */
.watch { padding-top: 40px; }
.video { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); background: #000; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; display: block; }

/* studio */
.studio { background: radial-gradient(ellipse at 20% 100%, rgba(255, 122, 61, .22), transparent 60%), #0d1830; }
.studio-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.studio-mark { width: clamp(180px, 24vw, 300px); height: auto; filter: drop-shadow(0 20px 50px rgba(255, 122, 61, .3)); }
.studio p:not(.section-lede):not(.eyebrow) { color: #b9c4d8; max-width: 640px; }
@media (max-width: 800px) { .studio-grid { grid-template-columns: 1fr; } .studio-mark { width: 160px; } }

/* footer */
.foot { border-top: 4px solid transparent; border-image: var(--stripe) 1; padding: 56px 0 30px; background: #070d19; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot-grid img { width: 260px; height: auto; }
.foot-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot-links a:hover { color: var(--sand); }
.foot-small { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: #8a96ad; }
.foot-small p { margin: 0 0 6px; }

/* skip link, the hero's page heading, sub-headings */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--sun); color: var(--navy); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.hero-h1 { position: absolute; z-index: 2; left: max(4vw, 20px); top: 96px; margin: 0; font: 800 12px/1.3 var(--body); letter-spacing: .24em; text-transform: uppercase; color: rgba(246, 231, 200, .78); }
.hero-h1 span { color: rgba(246, 231, 200, .55); }
.spots-h { margin: 30px 0 0; font: 800 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.spots { margin-top: 14px; }
@media (max-width: 760px) { .hero-h1 { top: 78px; font-size: 10px; } .hero-h1 span { display: none; } }

/* early-test note in the studio section */
.studio p.early { margin-top: 22px; padding: 14px 18px; border-left: 4px solid var(--sun); border-radius: 0 10px 10px 0; background: rgba(255, 210, 63, .07); color: #dbe3f2 !important; font-size: 15px; }
.studio p.early b { color: var(--sun); }

/* testers wanted */
.testers { background: radial-gradient(ellipse at 90% 20%, rgba(255, 210, 63, .12), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(31, 181, 201, .12), transparent 55%), #0d1830;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testers-grid { display: grid; grid-template-columns: 1fr minmax(320px, 470px); gap: clamp(36px, 6vw, 80px); align-items: start; }
.steps { list-style: none; counter-reset: step; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 62px; min-height: 46px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--stripe); color: var(--navy); font: 400 20px/1 var(--display); }
.steps b { display: block; font-weight: 800; color: var(--sand); font-size: 17px; }
.steps span { color: #b9c4d8; font-size: 15px; }
.perks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.perks li { position: relative; padding-left: 28px; color: #d3dbea; font-size: 15px; }
.perks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px; border-left: 3px solid var(--sun); border-bottom: 3px solid var(--sun); transform: rotate(-45deg); }

.tester-form { background: #111d33; border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); position: relative; overflow: hidden; }
.tester-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe); }
.form-h { margin: 0 0 18px; font: 400 26px/1 var(--display); text-transform: uppercase; color: #fff; }
.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { display: block; margin-bottom: 7px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); padding: 0; }
.opt { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input[type=text], .field input[type=email] { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #2c3d5e; background: #0b1528; color: #fff; font: 500 16px var(--body); }
.field input::placeholder { color: #6f7c95; }
.field input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 210, 63, .2); }
.field small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks label { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 9px; border: 1.5px solid #24344f; background: #0e192e; font-size: 14px; color: #d3dbea; cursor: pointer; line-height: 1.25; }
.checks label:has(input:checked) { border-color: var(--sun); background: rgba(255, 210, 63, .08); color: #fff; }
.checks input, .agree input { width: 18px; height: 18px; flex: none; accent-color: var(--sunset); margin: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 14px; color: #c3cde0; line-height: 1.45; cursor: pointer; }
.agree a { color: var(--sun); }
.form-btn { width: 100%; border: 0; cursor: pointer; font-size: 16px; padding: 16px; }
.form-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form-msg { margin: 12px 0 0; min-height: 1.4em; font-size: 14px; }
.form-msg.is-err { color: #ffb4a8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tester-form.is-done { text-align: left; }
.done-p { color: #d3dbea; margin: 0; }
.done-p b { color: var(--sun); overflow-wrap: anywhere; }
.section-lede a, .studio p.early a { color: var(--sun); }
.nav-testers { color: var(--sun) !important; opacity: 1 !important; }
@media (max-width: 960px) { .testers-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .checks { grid-template-columns: 1fr; } .tester-form { padding: 22px 18px 18px; } }
@media (max-width: 1100px) { .nav-testers { display: none; } }

/* short screens (laptops around 600-700px tall): the title scales with the height too, so the copy stays clear of the page heading */
.hero { min-height: 640px; }
.slide-title { font-size: clamp(48px, min(8.6vw, 12.5vh), 112px); }
@media (max-height: 760px) and (min-width: 761px) { .slide-copy { bottom: 11%; } .slide-lede { margin-top: 14px; } .cta-row { margin-top: 20px; } .hero-dots { bottom: 11%; } }
