.shore-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(560px,78svh,840px); overflow: hidden; color: #fbf5ed; background: #06090a; }
.shore-water { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 59% 60%; z-index: -2; }
.shore-hero::before { content: ""; position: absolute; inset: 0; z-index:-1; background: linear-gradient(90deg,#05070862,transparent 53%),linear-gradient(0deg,#0c0f10aa,transparent 14%); }
.shore-intro { padding-block: 78px; }
.shore-type { width: 40%; }
.shore-type h1 { font: 400 clamp(4.6rem,7.6vw,8.25rem)/.94 "Helvetica Neue",Arial,sans-serif; letter-spacing: -.059em; }
.shore-type h1 span { display: block; }
.shore-type > p { margin: 1.5rem 0 1.65rem; color:#ece5df; font-size:clamp(1.05rem,1.45vw,1.28rem); line-height:1.5; letter-spacing:-.015em; max-width:33ch; text-wrap:pretty; }
.shore-hero .seaside-sample { width:min(100%,20.1rem); }
.shore-hero .sample-button {
  display:grid; grid-template-columns:2.75rem minmax(0,1fr) auto; gap:.75rem; align-items:center;
  width:100%; min-height:65px; padding:9px 15px 9px 10px; text-align:left;
  color:#faf9f6; border:1px solid #ffffff38; border-radius:20px;
  background:linear-gradient(145deg,#ffffff0d,transparent 63%),#242528;
  box-shadow:inset 0 1px 0 #ffffff1f,0 3px 12px #0003;
}
.shore-hero .sample-label { display:grid; gap:3px; }
.shore-hero .sample-action { font-size:.98rem; font-weight:560; letter-spacing:-.02em; }
.shore-hero .sample-detail { color:#d5d7d6; font-size:.77rem; line-height:1.3; font-weight:400; }
.shore-hero .sample-duration { padding:0; border:0; color:#eeedeb; font-size:.82rem; }
.shore-hero .sample-button:not([hidden]) ~ .sample-caption { display:none; }
/* The two sprite frames are the original iOS transport faces at capture resolution. */
.shore-hero .sample-icon {
  width:2.75rem; height:2.75rem; border-radius:50%;
  background:#b5a9d5 url('/seaside-assets/native-transport.webp') no-repeat left center / 200% 100%;
  box-shadow:0 2px 4px #0008;
}
.shore-hero .sample-icon::after { display:none; }
.shore-hero .sample-button:is([data-state="playing"],[data-state="loading"]) .sample-icon { background-position:right center; }
.shore-hero .sample-button:active .sample-icon { filter:brightness(.91); }
.shore-hero .sample-button:focus-visible { outline:2px solid #fff0dc; outline-offset:4px; }
@media (hover:hover) { .shore-hero .sample-button:hover { border-color:#ffffff70; } }
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .shore-hero .sample-button {
    background:linear-gradient(145deg,#ffffff10,transparent 65%),rgb(26 27 30 / 74%);
    -webkit-backdrop-filter:blur(20px) saturate(1.15); backdrop-filter:blur(20px) saturate(1.15);
  }
}
@media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {
  .shore-hero .sample-button { background:#202124; border-color:#a2a4a5; backdrop-filter:none; -webkit-backdrop-filter:none; }
}
@media (forced-colors:active) {
  .shore-hero .sample-button { border-color:ButtonText; }
  .shore-hero .sample-icon { background:ButtonFace; color:ButtonText; border:1px solid ButtonText; }
  .shore-hero .sample-icon::after { display:block; }
  .shore-hero .sample-button:focus-visible { outline-color:Highlight; }
}
.shore-origin { padding-block:clamp(52px,6.4vw,90px); background:linear-gradient(140deg,#19191d,#17191a 75%); border-bottom:1px solid #373638; }
[data-art="cloud-tide"] { --shore-story-rgb:24 25 27; }
[data-art="cloud-tide"] .shore-hero::after {
  content:""; position:absolute; inset:auto 0 0; height:clamp(140px,27%,220px);
  z-index:0; pointer-events:none;
  background:linear-gradient(to bottom,
    rgb(var(--shore-story-rgb) / 0),
    rgb(var(--shore-story-rgb) / .06) 23%,
    rgb(var(--shore-story-rgb) / .31) 47%,
    rgb(var(--shore-story-rgb) / .73) 72%,
    rgb(var(--shore-story-rgb) / .97) 84%,
    rgb(var(--shore-story-rgb)) 90%);
}
[data-art="cloud-tide"] .shore-origin {
  background:linear-gradient(to bottom, rgb(var(--shore-story-rgb)), #17191a 85%);
}
.shore-origin-inner { display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:clamp(45px,9vw,155px); }
.shore-credit { font-size:.9rem; color:#e0b8a0; margin-bottom:1.1rem; }
.shore-letter h2 { font-size:clamp(2.65rem,4.2vw,4.7rem); line-height:1.02; letter-spacing:-.06em; max-width:11ch; margin-bottom:1.2rem; }
.shore-letter p:not(.shore-credit) { font-size:clamp(1rem,1.4vw,1.14rem); line-height:1.58; color:#ccc6c2; max-width:42ch; margin-top:.8rem; }
.shore-link { display:inline-flex; align-items:center; min-height:44px; color:#f5ddd1; text-decoration:underline; text-decoration-color:#ad8875; text-underline-offset:.3em; margin-top:1rem; }
.shore-glass { margin:0; }
.shore-glass img { width:min(100%,410px); border:1px solid #6b676a; border-radius:23px; }
.shore-glass figcaption { font-size:.86rem; color:#b6afac; margin-top:.6rem; }
.oh-colors dt.shore-green { color:#a9c7ae; }
@media(max-width:760px){
 .shore-hero { display:flex; flex-direction:column; align-items:stretch; min-height:0; background:#07090a; }
 .shore-hero::before { display:none; }
 .shore-intro { order:0; padding-block:clamp(34px,6vw,56px) 12px; }
 .shore-type { width:100%; }
 .shore-type h1 { font-size:clamp(3.65rem,9vw,5.25rem); line-height:.98; }
 .shore-type h1 span { display:inline; }
 .shore-type > p { max-width:36ch; margin:1rem 0 1.15rem; }
 .shore-water { z-index:0; order:1; position:static; width:100%; height:clamp(258px,77vw,420px); object-position:81% 56%; mask-image:linear-gradient(transparent,#000 14%,#000 90%,transparent); }
 .shore-origin-inner { grid-template-columns: minmax(0,1fr); gap:26px; }
 .shore-glass img { width:min(100%,420px); }
 .shore-letter h2 { max-width:16ch; }
}
.reflected-play { position:absolute; z-index:1; aspect-ratio:1; min-height:44px; padding:0; border:0; border-radius:50%; transform:translate(-50%,-50%); background:transparent; cursor:pointer; }
.reflected-play[hidden] { display:none; }
.reflected-play:focus-visible { outline:2px solid #e9dffc; outline-offset:4px; }
.shore-type { position:relative; z-index:2; }
@media(min-width:761px){
 [data-art="cloud-tide"] .shore-water { object-position:59% 82%; }
 [data-art="cloud-tide"] .shore-hero::before { background:linear-gradient(90deg,#08090dbd 0%,#0a0b119e 32%,#090a106b 43%,transparent 55%),linear-gradient(0deg,#0c0f107a,transparent 14%); }
 [data-art="glass-fold"] .shore-hero::before,
 [data-art="afterglow"] .shore-hero::before { background:linear-gradient(90deg,#07080ab5 0%,#07080ac2 26%,#08090b89 40%,transparent 55%),linear-gradient(0deg,#0c0f1070,transparent 13%); }
}
@media(max-width:760px){
 [data-art="cloud-tide"] .shore-hero { min-height:clamp(610px,80svh,740px); }
 [data-art="cloud-tide"] .shore-water {
   position:absolute; inset:0; height:100%; z-index:-2; object-position:80% 50%; mask-image:none;
 }
 [data-art="cloud-tide"] .shore-hero::before {
   display:block; z-index:-1;
   background:radial-gradient(ellipse 113% 78% at 19% 32%,#060a0edb 7%,#060a0eb0 44%,#070c1026 79%,transparent 97%),
     linear-gradient(0deg,#0b101356,transparent 16%);
 }
 [data-art="cloud-tide"] .shore-intro { padding-bottom:clamp(150px,26svh,205px); }
}
