/* Landing-only styles; legal and support pages keep their existing layout. */
.landing-hero{position:relative;isolation:isolate;overflow:hidden;background:#135b70 url('/assets/game/harbor-background.webp') center/cover no-repeat;border-bottom:1px solid var(--brass-dim)}
.hero-water,.hero-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.hero-water{object-fit:cover;object-position:center}
.hero-shade{background:linear-gradient(90deg,rgba(3,17,27,.94),rgba(5,24,34,.72) 37%,rgba(5,24,34,.12) 75%),linear-gradient(0deg,#061521 0%,transparent 36%)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;min-height: min(720px,calc(100svh - 68px));padding-block:3rem 4rem;gap:2rem}
.hero-copy{position:relative;z-index:1}
.game-logo{width:min(100%,390px);height:auto;filter:drop-shadow(0 9px 14px #0008);margin-left:-.4rem;margin-bottom:1rem}
.eyebrow,.section-kicker{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.18em;color:var(--brass);margin-bottom:1rem}
.hero-headline{font-family:var(--serif);font-weight:700;font-size:clamp(2.1rem,4.8vw,4.2rem);line-height:1.08;letter-spacing:-.025em;text-shadow:0 2px 10px #0008}
.hero-copy .lead{font-size:clamp(1rem,1.6vw,1.22rem);color:#e5eff1;max-width:34rem;margin-top:1rem}
.landing .stores{margin-top:1.5rem}
.landing .store{background:#071925d9;min-width:10rem}
.explore{display:inline-flex;gap:.6rem;align-items:center;margin-top:1.5rem;font-size:.9rem;text-decoration:none;color:#f8db9c}
.hero-art{align-self:end;display:grid;place-items:end center;min-width:0;position:relative;padding-bottom:1rem}
.hero-ship{position:relative;width:100%;max-width:580px;aspect-ratio:1;isolation:isolate}
/* Website-specific waterline: immerse the larger hero hull in the foam. */
.hero-ship-waterline{position:absolute;inset:0;clip-path:inset(0 0 12% 0)}
.hero-ship-hull{width:100%;height:auto;transform-origin:50% 80%}
.hero-ship-foam{position:absolute;left:12%;top:70%;width:83%;height:29%;object-fit:fill;transform:rotate(-2deg);opacity:.88;pointer-events:none}
.motion-on .hero-ship-hull{animation:ship-bob 5s ease-in-out infinite}
.motion-on .hero-ship-foam{animation:foam-shimmer 5s ease-in-out infinite}
@keyframes foam-shimmer{0%,100%{opacity:.78}50%{opacity:.95}}
@keyframes ship-bob{0%,100%{transform:translateY(0) rotate(-.7deg)}50%{transform:translateY(-9px) rotate(.7deg)}}
.motion-toggle{position:absolute;right:var(--gutter);bottom:1rem;background:#071925e8;color:var(--foam);border:1px solid var(--line);border-radius:6px;padding:.4rem .7rem;font:inherit;font-size:.75rem;cursor:pointer}
.landing .section{padding-block:clamp(3.2rem,7vw,5.5rem)}
.landing .section h2{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.015em}
.landing .section-intro{font-size:clamp(1rem,1.6vw,1.18rem)}
.split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(1.8rem,5vw,4.5rem);align-items:center}
.gameplay{
  background:
    linear-gradient(90deg,rgba(6,21,33,.97) 0%,rgba(6,21,33,.89) 43%,rgba(6,21,33,.75) 100%),
    linear-gradient(0deg,rgba(6,21,33,.85),transparent 25%,transparent 75%,rgba(6,21,33,.72)),
    url('/assets/game/harbor-background.webp') center bottom/cover no-repeat;
  background-color:var(--abyss);
}
.game-points{padding:0;list-style:none;margin:1.5rem 0 0;color:var(--foam);font-size:.95rem}
.game-points li{padding:.6rem 0 .6rem 1.2rem;border-bottom:1px solid var(--line);position:relative}
.game-points li:before{content:'';width:5px;height:5px;background:var(--brass);position:absolute;left:0;top:1.25rem;transform:rotate(45deg)}
.battle-demo{margin:0;min-width:0}
.demo-frame{padding:7px;border:1px solid var(--brass-dim);border-radius:12px;background:#503a22;box-shadow:0 20px 45px #0005}
.demo-grid{position:relative;aspect-ratio:5/3;overflow:hidden;border-radius:5px;background:linear-gradient(0deg,#023845b8,#0b5562a6),url('/assets/game/harbor-background.webp') center bottom/cover}
.demo-grid:before{content:'';position:absolute;inset:0;background-image:linear-gradient(to right,#9bd3de55 1px,transparent 1px),linear-gradient(to bottom,#9bd3de55 1px,transparent 1px);background-size:10% 16.6667%}
.demo-ship{position:absolute;object-fit:contain}
.ship-a{width:40%;left:5%;top:66%}.ship-b{width:20%;left:43%;top:19%}
.demo-hit{position:absolute;left:50%;top:14%;font-size:clamp(1.5rem,4vw,2.5rem);line-height:1;color:#ff6655;text-shadow:0 2px 4px #000}
.demo-miss{position:absolute;width:2%;aspect-ratio:1;border-radius:50%;background:#e8f3f3;transform:translate(-50%,-50%)}
.miss-a{left:75%;top:75%}.miss-b{left:85%;top:58.3%}.miss-c{left:65%;top:25%}
.demo-target{position:absolute;left:70%;top:25%;width:10%;height:16.6667%;border:2px solid var(--brass);background:#f2c66d28}
.demo-arc{position:absolute;inset:0;width:100%;height:100%}
.battle-demo figcaption{font-size:.75rem;color:var(--mist);margin-top:.6rem}
.aim-demo{margin-top:.9rem;color:var(--brass);font-size:.9rem}
.aim-label{font-weight:600;margin-bottom:.65rem}.aim-media{width:100%;height:auto;border-radius:8px;border:1px solid var(--line)}
.fleet-section{
  background:
    linear-gradient(180deg,rgba(6,21,33,.94),rgba(9,30,42,.76) 52%,rgba(6,21,33,.95)),
    url('/assets/game/harbor-background.webp') center 40%/cover no-repeat;
  background-color:var(--abyss);
}
.fleet-showcase,.captain-showcase{list-style:none;padding:0;margin:2.2rem 0 0;display:grid;gap:1rem}
.fleet-showcase{grid-template-columns:repeat(3,minmax(0,1fr))}
.fleet-showcase li{background:linear-gradient(180deg,rgba(10,35,50,.80),rgba(6,21,33,.96));border:1px solid var(--line);border-radius:12px;padding:1rem 1.1rem 1.3rem;overflow:hidden}
.ship-stage{height:clamp(140px,22vw,250px);display:grid;place-items:center;background:radial-gradient(ellipse,#23607170,transparent 70%);margin-bottom:.8rem}
.ship-stage img{width:100%;height:100%;min-height:0;object-fit:contain;filter:drop-shadow(0 12px 9px #0006)}
.ship-tag{font-size:.7rem;color:var(--brass);text-transform:uppercase;letter-spacing:.09em}
.fleet-showcase h3{font-size:clamp(1.15rem,2.3vw,1.65rem);margin-top:.3rem}
.arsenal-section{
  background:
    radial-gradient(ellipse at 75% 50%,rgba(8,35,47,.66),rgba(6,21,33,.95) 75%),
    linear-gradient(180deg,rgba(6,21,33,.55),rgba(6,21,33,.55)),
    url('/assets/game/harbor-background.webp') center bottom/cover no-repeat;
  background-color:var(--abyss);
}
.arsenal-art{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:1.5rem;background:radial-gradient(ellipse,#174c5c80,transparent 70%);min-width:0}
.arsenal-art img{width:100%;max-height:240px;object-fit:contain}
.weapon-labels{display:grid;gap:.7rem}.weapon-labels span{border-bottom:1px solid var(--line);padding:.6rem 0;color:var(--brass);font-family:var(--serif);font-weight:700}
.captains-section{
  background:
    linear-gradient(180deg,rgba(6,21,33,.95),rgba(6,21,33,.83) 44%,rgba(6,21,33,.97)),
    url('/assets/game/harbor-background.webp') center top/cover no-repeat;
  background-color:var(--abyss);
}
.captain-showcase{grid-template-columns:repeat(4,minmax(0,1fr))}
.captain-showcase li{min-width:0;text-align:center}
.captain-showcase img{width:100%;height:auto;border:1px solid var(--brass-dim);border-radius:12px;box-shadow:0 10px 28px #0004}
.captain-showcase h3{margin-top:.85rem;font-size:clamp(1rem,2vw,1.25rem)}
.captain-showcase span{font-size:.75rem;color:var(--brass)}
.launch-section{
  text-align:center;
  background:
    linear-gradient(180deg,rgba(6,21,33,.93),rgba(6,21,33,.66) 50%,rgba(6,21,33,.91)),
    url('/assets/game/harbor-background.webp') center 38%/cover no-repeat;
  background-color:var(--abyss);
}
.launch-section h2,.launch-section .section-intro{margin-inline:auto}.launch-section .stores{justify-content:center}
@media (max-width:760px){.hero-grid{grid-template-columns:1fr;gap:0;padding-top:2rem;min-height:0}.hero-shade{background:linear-gradient(180deg,#04131de8 0%,#06152191 55%,#061521 100%)}.hero-copy{text-align:center}.game-logo,.hero-copy .lead{margin-inline:auto}.game-logo{width:min(75%,320px)}.hero-copy .stores{justify-content:center}.hero-ship{width:min(75%,340px)}.hero-art{padding:1rem 0 0}.split{grid-template-columns:1fr}.fleet-showcase{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.fleet-showcase li{padding:.5rem}.ship-stage{height:clamp(75px,23vw,155px)}.ship-tag{font-size:.6rem}.captain-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:380px){.fleet-showcase{grid-template-columns:1fr}.ship-stage{height:160px}.landing .store{min-width:8rem}}
@media(prefers-reduced-motion:reduce){.hero-water{display:none}.hero-ship-hull,.hero-ship-foam{animation:none!important}}
