@import url('../fonts/remixicon.css');
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&display=swap');

:root {
  --navy: #06263d;
  --ink: #082d45;
  --teal: #0b7184;
  --aqua: #71ddd1;
  --foam: #edf6e9;
  --cream: #f9f5e7;
  --gold: #ffc94d;
  --muted: #668387;
  --line: #cbd8d0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Baloo 2', sans-serif;
}
a, a:hover, a:focus { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: 'Baloo 2', sans-serif; font-weight: 800; line-height: .92; }
h1 { font-size: clamp(4rem, 8vw, 8.5rem); color: #fff; }
h2 { font-size: clamp(3.2rem, 6.8vw, 7rem); }
h1 em, h2 em { color: var(--gold); font-style: italic; }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 16px 22px;
  border: 2px solid #edf6e980;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Baloo 2', sans-serif;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 2px #fff8, 0 5px 0 #082d4566, 0 10px 18px #06263d36;
  transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-3px); box-shadow: inset 0 2px #fff8, 0 8px 0 #082d4566, 0 15px 24px #06263d4d; }
.button-small { padding: 10px 15px; }
.section-number, .hero-footer, .eyebrow, .map-label, .device-caption, .product-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-number { color: var(--gold); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); }
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px #71ddd133; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 86px;
  padding: 0 max(5vw, 25px);
  border-bottom: 1px solid #ffffff35;
  color: #fff;
}
.brand img { width: 158px; }
.site-nav { display: flex; gap: 29px; margin-left: auto; font-size: 13px; }
.site-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 31px 0; }
.site-nav a i { font-family: 'remixicon'; font-size: 16px; }
.site-nav a:hover, .site-nav a.active { color: var(--gold); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  height: min(930px, 100vh);
  overflow: hidden;
  background: var(--navy);
}
.hero-backdrop { position: absolute; inset: 0; background: url('../img/bg.jpg') center / cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #06263de8, #06263d9c 48%, #06263d20), linear-gradient(0deg, #06263db8, transparent 52%); }
.hero-content { position: relative; z-index: 2; height: 100%; padding: 130px max(7vw, 25px) 65px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; height: 100%; gap: 30px; }
.hero-copy { padding-bottom: 25px; }
.hero-copy .eyebrow { margin-bottom: 25px; padding: 8px 13px; border: 1px solid #71ddd166; border-radius: 999px; background: #06263d99; }
.hero-description { max-width: 450px; margin: 28px 0 32px; color: #dceae0; font-size: 19px; line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.quiet-link { display: inline-flex; align-items: center; gap: 17px; color: #fff; font-size: 14px; font-weight: 700; }
.quiet-link span { font-size: 17px; }
.quiet-link:hover, .quiet-link:focus-visible { color: var(--gold); }
.quiet-link i { color: currentColor; font-family: 'remixicon'; font-style: normal; }
.hero-device { position: relative; justify-self: center; width: min(335px, 80%); transform: rotate(5deg); filter: drop-shadow(18px 24px 0 #ffc94d4d) drop-shadow(0 25px 35px #031d2d99); }
.device-frame { padding: 11px; border: 5px solid var(--foam); border-radius: 39px; background: linear-gradient(145deg, var(--teal), var(--ink)); box-shadow: inset 0 0 0 2px #71ddd166; }
.device-frame img { border-radius: 25px; width: 100%; }
.device-caption { position: absolute; left: -62px; bottom: 36px; display: flex; flex-direction: column; gap: 4px; padding: 11px 15px; border: 2px solid var(--foam); border-radius: 24px; background: var(--gold); color: var(--ink); box-shadow: 5px 5px 0 var(--navy), inset 0 2px #fff8; transform: rotate(-5deg); }
.hero-footer { position: absolute; z-index: 3; bottom: 25px; left: max(7vw, 25px); right: max(7vw, 25px); display: flex; justify-content: space-between; color: #cce0d7; }
.hero-footer i { color: var(--gold); font-style: normal; }

.manifesto { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; padding: 130px max(7vw, 25px); background: linear-gradient(145deg, var(--foam), #dce9dd); }
.section-intro h2 { margin: 57px 0 28px; }
.section-lead { max-width: 300px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.loop-list { align-self: end; }
.loop-list article { display: grid; grid-template-columns: 45px 1fr 30px; gap: 20px; align-items: start; padding: 28px 22px; border: 2px solid #ffffffcc; border-radius: 26px; background: #ffffffa8; box-shadow: 0 6px 0 #0b718426, 0 12px 22px #082d4510; }
.loop-list article + article { margin-top: 9px; }
.loop-list article > span { color: var(--gold); font-size: 18px; }
.loop-list article b { color: var(--teal); font-size: 11px; letter-spacing: .12em; }
.loop-list h3 { margin: 9px 0 8px; }
.loop-list p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.loop-list article > strong { color: var(--gold); font-size: 20px; }

.app-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10vw; padding: 130px max(7vw, 25px); background: linear-gradient(145deg, var(--navy), var(--teal)); color: #fff; overflow: hidden; }
.app-section-image { position: relative; width: min(470px, 100%); justify-self: center; padding: 12px; border: 5px solid var(--foam); border-radius: 44px; background: var(--ink); box-shadow: 19px 23px 0 #71ddd166, 0 25px 40px #001d2c88; transform: rotate(-4deg); }
.app-section-image img:first-child { border-radius: 29px; width: 100%; }
.app-badge { position: absolute; right: -34px; bottom: 45px; width: 85px !important; height: 85px; border: 5px solid var(--foam); border-radius: 27px !important; box-shadow: 6px 8px 0 var(--gold), 0 12px 20px #06263d66; transform: rotate(8deg); }
.map-label { position: absolute; padding: 9px 13px; border-radius: 999px; background: var(--gold); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.map-label-one { left: -39px; top: 42%; }
.map-label-two { right: -39px; top: 23%; background: var(--aqua); }
.app-section-copy { max-width: 480px; }
.app-section-copy h2 { margin: 56px 0 25px; }
.app-section-copy > p:not(.section-number) { max-width: 390px; color: #c8ddd5; font-size: 16px; line-height: 1.6; margin-bottom: 30px; }
.score-grid { display: flex; gap: 24px; margin-bottom: 34px; }
.score-grid div { display: flex; flex-direction: column; gap: 4px; padding-left: 11px; border-left: 4px solid var(--gold); }
.score-grid strong { color: var(--gold); font-size: 27px; }
.score-grid span { color: #b7d0c7; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.features { padding: 130px max(7vw, 25px); background: var(--foam); }
.features-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 60px; }
.features-heading h2 { margin-top: 55px; }
.features-heading > p { max-width: 230px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-row a { position: relative; min-height: 280px; padding: 28px; border: 2px solid #fff; border-radius: 30px; background: linear-gradient(145deg, #fff, var(--foam)); box-shadow: 0 10px 0 #0b718426, 0 17px 28px #082d4514; transition: transform .2s, box-shadow .2s; }
.feature-row a:hover { transform: translateY(-5px); box-shadow: 0 14px 0 #0b718426, 0 23px 34px #082d451c; }
.feature-icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 44px; border: 3px solid var(--ink); border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 27px; box-shadow: inset 0 2px #fff9, 0 4px 0 #082d4566; }
.feature-row b { font-size: 24px; }
.feature-row p { max-width: 240px; margin: 13px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.feature-row strong { position: absolute; right: 25px; bottom: 28px; color: var(--gold); }
.feature-row strong i { margin-left: 9px; font-size: 18px; font-style: normal; }

.download-banner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 125px max(7vw, 25px); background: linear-gradient(145deg, var(--gold), #ffdc80); color: var(--ink); }
.download-banner h2 { margin: 55px 0 24px; }
.download-banner h2 em { color: var(--navy); }
.download-banner > div > p:not(.section-number) { font-size: 16px; margin-bottom: 28px; }
.stores { display: flex; gap: 10px; }
.stores a { display: flex; align-items: center; gap: 11px; min-width: 155px; padding: 11px 15px; border: 2px solid #edf6e966; border-radius: 22px; background: var(--navy); color: #fff; box-shadow: inset 0 2px #fff4, 0 5px 0 #082d4566; }
.stores a > img { width: 27px; height: 27px; object-fit: contain; flex: 0 0 auto; }
.stores a > span { display: block; }
.stores small, .stores b { display: block; }
.stores small { color: #b9d1c9; font-size: 10px; }
.stores b { margin-top: 5px; font-size: 15px; }
.banner-mark { position: relative; width: min(370px, 40vw); margin-right: 10vw; }
.banner-mark .promo-logo { width: 100%; filter: drop-shadow(0 13px 15px #082d4535); }
.banner-mark .banner-icon { position: absolute; top: -20px; right: -45px; width: 83px; border: 4px solid var(--cream); border-radius: 23px; box-shadow: 5px 6px 0 var(--navy); transform: rotate(9deg); }
.banner-mark span { position: absolute; z-index: 2; right: -56px; bottom: 10px; padding: 12px; background: var(--aqua); font-size: 18px; font-style: italic; line-height: .95; transform: rotate(-7deg); }

.site-footer { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 30px; padding: 60px max(5vw, 25px) 35px; background: var(--cream); }
.site-footer .brand img { width: 150px; }
.site-footer p { margin-top: 19px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.footer-column { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-column b { color: var(--teal); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a:hover { color: var(--teal); }
.copyright { align-self: end; color: var(--muted); font-size: 11px; white-space: nowrap; }

.inner-page { min-height: 100vh; background: var(--navy); color: #fff; }
.inner-header { position: relative; background: var(--navy); }
.inner-main, .atlas-page, .community-main, .download-main { min-height: calc(100vh - 86px); padding: 120px max(9vw, 25px); background: linear-gradient(130deg, var(--navy), var(--teal)); overflow: hidden; }
.inner-main, .community-main, .download-main { display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.inner-copy h1, .atlas-intro h1, .community-main h1, .download-main h1 { margin: 28px 0; font-size: clamp(3.7rem, 8vw, 8rem); }
.inner-copy > p:not(.eyebrow), .atlas-intro > p:not(.eyebrow), .community-main > div > p:not(.eyebrow), .download-main > div > p:not(.eyebrow) { max-width: 490px; color: #d3e6dc; font-size: 18px; line-height: 1.6; margin-bottom: 33px; }
.explore-orb { width: 390px; height: 390px; border: 8px solid var(--gold); border-radius: 50%; background: url('../img/bg.jpg') center / cover; box-shadow: 0 30px 70px #001c2c77; }
.inner-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--teal); }
.inner-details article { padding: 55px max(4vw, 25px); background: var(--ink); }
.inner-details b, .crew-list b { color: var(--gold); font-size: 11px; letter-spacing: .15em; }
.inner-details h2 { margin: 18px 0 10px; font-size: 27px; }
.inner-details p, .crew-list p { color: #a8cbc6; font-size: 14px; line-height: 1.6; }
.atlas-page { display: block; }
.atlas-intro { max-width: 780px; }
.large-map { position: relative; height: 430px; margin-top: 60px; background: #d5e4d9; color: var(--ink); }
.large-map:before { content: ''; position: absolute; top: -13%; right: -20%; width: 80%; height: 100%; border-radius: 50%; background: #b4d1c5; transform: rotate(22deg); }
.community-main { align-items: flex-start; }
.crew-list { width: min(420px, 100%); margin-top: 25px; }
.crew-list article { display: flex; gap: 18px; padding: 25px 0; border-top: 1px solid #ffffff36; }
.crew-list article > span { color: var(--gold); font-size: 23px; }
.crew-list p { margin-top: 9px; font-size: 13px; }
.download-main { align-items: center; }
.download-emblem { width: 380px; height: 380px; display: grid; place-items: center; }
.download-emblem img { width: 250px; }
.download-emblem span { padding: 15px; background: var(--gold); color: var(--ink); font-size: 18px; font-style: italic; }
.mini-footer { display: flex; align-items: center; justify-content: space-between; padding: 25px max(5vw, 25px); background: #052238; color: #b9d1c9; font-size: 13px; }
.mini-footer .brand img { width: 135px; }
.page-pagination { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px max(7vw, 25px); background: var(--ink); color: #c8ddd5; }
.page-pagination > span { color: var(--gold); font-size: 12px; font-weight: 700; }
.page-pagination a { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 12px; font-weight: 700; }
.page-pagination a:hover { color: var(--gold); }
.page-pagination a b { color: var(--gold); font-size: 13px; }
.page-pagination a i { font-family: 'remixicon'; font-size: 16px; }
.screenshots-section { padding: 120px max(7vw, 25px); background: var(--cream); overflow: hidden; }
.screenshots-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.screenshots-heading h2 { margin-top: 48px; }
.screenshots-heading > p { max-width: 260px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.screenshot-grid { display: grid; grid-template-columns: 1.25fr .85fr .85fr 1fr; align-items: end; gap: 18px; }
.screenshot-card { position: relative; margin: 0; padding: 10px; border: 3px solid var(--foam); border-radius: 30px; background: var(--navy); box-shadow: 0 12px 0 #0b718426, 0 22px 30px #082d4520; transform: rotate(-2deg); transition: transform .25s ease, box-shadow .25s ease; }
.screenshot-card:nth-child(2) { transform: rotate(2deg) translateY(28px); }
.screenshot-card:nth-child(3) { transform: rotate(-3deg) translateY(8px); }
.screenshot-card:nth-child(4) { transform: rotate(3deg) translateY(35px); }
.screenshot-card:hover { z-index: 2; transform: translateY(-8px) rotate(0); box-shadow: 0 18px 0 #0b718426, 0 28px 36px #082d4530; }
.screenshot-card img { width: 100%; height: 410px; border-radius: 21px; object-fit: cover; object-position: top; }
.screenshot-map img { height: 500px; }
.screenshot-card figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 7px 5px; color: #fff; }
.screenshot-card figcaption b { color: var(--gold); font-size: 9px; letter-spacing: .1em; }
.screenshot-card figcaption span { font-size: 16px; font-weight: 700; }
.language-picker { display: inline-flex; align-items: center; gap: 7px; margin-left: 12px; color: var(--gold); }
.language-picker i { font-family: 'remixicon'; font-size: 17px; }
.language-picker select { max-width: 88px; padding: 5px 4px; border: 0; border-radius: 7px; background: transparent; color: inherit; font-family: 'Baloo 2', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; }
.language-picker option { color: var(--ink); background: var(--cream); }
.site-footer > .language-picker { align-self: start; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 800px) {
  .site-header { height: 70px; padding: 0 22px; }
  .site-header .brand img { width: 140px; }
  .site-header > .button, .site-nav { display: none; }
  .language-picker { margin-left: auto; margin-right: 8px; }
  .language-picker select { max-width: 76px; font-size: 12px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; margin-left: auto; padding: 5px; border: 0; background: none; color: #fff; cursor: pointer; }
  .menu-toggle span { display: block; width: 25px; height: 2px; background: #fff; }
  .menu-toggle b { font: 8px 'Baloo 2', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
  .site-nav.open { position: absolute; top: 70px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 22px; background: #06263df5; }
  .site-nav.open a { padding: 15px 0; }
  .site-nav.open:after { content: 'SailorScape / Download the mobile game'; display: block; margin-top: 21px; padding-top: 20px; border-top: 1px solid #ffffff30; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .hero { height: 800px; min-height: 0; }
  .hero-backdrop { transform: none; }
  .hero-content { padding: 105px 25px 60px; }
  .hero-kicker { font-size: 8px; }
  .hero-kicker span:last-child { display: none; }
  .hero-grid { display: block; height: 100%; }
  .hero-copy { position: relative; z-index: 2; padding-top: 310px; }
  .hero h1 { font-size: clamp(3.7rem, 16vw, 6rem); }
  .hero-description { font-size: 15px; margin: 22px 0 25px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-device { position: absolute; z-index: 1; top: 160px; right: 0; width: 210px; opacity: .5; }
  .device-caption { left: -25px; bottom: 30px; font-size: 8px; }
  .hero-footer { left: 25px; right: 25px; font-size: 8px; }
  .hero-footer span:first-child { display: none; }
  .manifesto { display: block; padding: 85px 25px; }
  .section-intro h2 { margin: 48px 0 25px; }
  .loop-list { margin-top: 60px; }
  .loop-list article { grid-template-columns: 30px 1fr 20px; gap: 12px; }
  .loop-list h3 { font-size: 21px; }
  .app-section { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 65px; padding: 85px 25px; }
  .app-section-copy h2 { margin: 48px 0 23px; font-size: clamp(3.5rem, 16vw, 6rem); }
  .app-section-image { width: min(335px, 90vw); margin: auto; }
  .app-badge { right: -20px; bottom: 30px; width: 67px !important; height: 67px; }
  .map-label-one { left: -20px; }
  .map-label-two { right: -20px; }
  .score-grid { justify-content: space-between; gap: 12px; }
  .score-grid strong { font-size: 20px; }
  .score-grid span { font-size: 8px; }
  .features { padding: 85px 25px; }
  .features-heading { display: block; margin-bottom: 42px; }
  .features-heading h2 { margin-top: 48px; }
  .features-heading > p { margin-top: 25px; }
  .feature-row { display: flex; flex-direction: column; }
  .feature-row a { min-height: 230px; }
  .feature-icon { margin-bottom: 30px; }
  .download-banner { display: block; padding: 85px 25px; }
  .download-banner h2 { margin: 48px 0 23px; font-size: clamp(3.5rem, 16vw, 6rem); }
  .stores { flex-wrap: wrap; }
  .banner-mark { width: min(330px, 90vw); margin: 75px auto 0; }
  .banner-mark .banner-icon { width: 65px; right: -12px; top: -18px; }
  .banner-mark span { right: -24px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 35px 20px; padding-top: 50px; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
  .copyright { grid-column: 1 / -1; }
  .site-footer > .language-picker { grid-column: 1 / -1; justify-self: start; margin: -12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
  .inner-header { position: relative; }
  .inner-main, .atlas-page, .community-main, .download-main { min-height: calc(100vh - 70px); padding: 82px 25px; }
  .inner-main, .community-main, .download-main { display: block; }
  .inner-copy h1, .atlas-intro h1, .community-main h1, .download-main h1 { font-size: clamp(3.3rem, 15vw, 5.5rem); }
  .inner-copy > p:not(.eyebrow), .atlas-intro > p:not(.eyebrow), .community-main > div > p:not(.eyebrow), .download-main > div > p:not(.eyebrow) { font-size: 16px; }
  .explore-orb { width: 270px; height: 270px; margin: 55px auto 0; }
  .inner-details { display: block; }
  .inner-details article { padding: 35px 25px; }
  .large-map { height: 390px; margin-top: 50px; }
  .crew-list { margin-top: 50px; }
  .download-emblem { width: 100%; height: 260px; margin-top: 50px; }
  .download-emblem img { width: 175px; }
  .download-emblem span { margin-left: 80px; }
  .mini-footer { padding: 20px 25px; }
  .page-pagination { gap: 10px; padding: 16px 25px; }
  .page-pagination a span { display: none; }
  .page-pagination a b { font-size: 11px; }
  .screenshots-section { padding: 85px 25px; }
  .screenshots-heading { display: block; margin-bottom: 40px; }
  .screenshots-heading h2 { margin-top: 48px; }
  .screenshots-heading > p { margin-top: 24px; }
  .screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .screenshot-card, .screenshot-card:nth-child(2), .screenshot-card:nth-child(3), .screenshot-card:nth-child(4) { transform: none; }
  .screenshot-card img, .screenshot-map img { height: 290px; }
  .screenshot-map { grid-column: 1 / -1; }
  .screenshot-card figcaption { padding: 11px 4px 3px; }
  .screenshot-card figcaption span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .feature-row a { transition: none; }
}
