/* Split layout for the beach page. Type, color, and chrome come from the shared site styles. */

.skip {
  position: absolute; left: 16px; top: 16px; z-index: 20; padding: 8px 12px;
  background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; }
.reading { min-width: 0; background: var(--panel); }
.hero {
  min-height: 100svh; min-height: 100dvh; padding: 18vh var(--gutter) 48px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
}
.hero h1 {
  font-size: clamp(64px, 7vw, 120px); line-height: 0.86; letter-spacing: -0.02em; color: var(--ink);
}
.hero h1 span { display: block; }
.intro { max-width: 28ch; margin-top: 24px; font-size: 18px; line-height: 1.5; }
.hero-foot { margin-top: 40px; font-family: var(--mono); font-size: 12px; line-height: 1.4; color: var(--ink-3); }

.chapter { padding: var(--sec) var(--gutter); }
.chapter h2 { margin-bottom: 24px; }
.lead { max-width: 36ch; font-size: 18px; line-height: 1.55; }
.story .lead, .story .body { margin-top: 16px; }
.rows { list-style: none; margin: 32px 0 0; padding: 0; max-width: 42ch; }
.rows li {
  border-top: 1px solid var(--line); padding: 12px 0; font-size: 16px; line-height: 1.45;
}
.game { background: var(--bg); }
.shot { margin-top: 32px; }
.shot .photo-slot { aspect-ratio: 4 / 3; }
.shot.portrait .photo-slot { aspect-ratio: 4 / 5; }
figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; line-height: 1.4; color: var(--ink-3); }
.partnership h3 { margin-bottom: 8px; }

.wall {
  position: sticky; top: 0; align-self: start; height: 100svh; height: 100dvh; overflow: clip; background: var(--ink);
}
.wall-pictures { position: relative; height: 100%; }
.wall-image, .wall-alternate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall-image { object-position: center 18%; }
.wall-alternate { object-position: center; opacity: 0; transition: opacity var(--duration-very-slow) var(--ease-smooth-out); }
.show-match .wall-alternate { opacity: 1; }
.wall-caption {
  position: absolute; left: 20px; right: 76px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  color: var(--ink); font-family: var(--mono); font-size: 12px; line-height: 1.4;
}

.partnership, .contact { padding: var(--sec) var(--gutter); }
.partner-heading, .partner-content, .contact-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end;
}
.partner-content { align-items: start; margin-top: 8px; }
.coast .photo-slot { aspect-ratio: 4 / 3; }
.benefits { list-style: none; margin: 8px 0 0; padding: 0; }
.benefits li {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline;
  border-top: 1px solid var(--line); padding: 12px 0; font-size: 16px; line-height: 1.45;
}
.benefits li span { font-weight: 500; }

.contact h2 { margin-bottom: 8px; }
.enquiry { display: grid; gap: 12px; align-content: start; }
.enquiry label { font-size: 16px; }
.enquiry select {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); color: var(--ink); font: inherit; cursor: pointer;
}
.mail {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  font-size: clamp(20px, 3vw, 32px); font-weight: 500; line-height: 1.2;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  transition: color var(--duration-quick) var(--ease-smooth-out);
}
.mail:hover { color: var(--ink-2); }
.mail svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.enquiry .note { margin: 0; }

.foot { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) calc(64px + env(safe-area-inset-bottom, 0px)); color: var(--ink-3); font-size: 14px; line-height: 1.5; display: grid; gap: 8px; }
.legal { font-family: var(--mono); font-size: 12px; margin-top: 16px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color var(--duration-fast) var(--ease-smooth-out); }
.legal a:hover { color: var(--ink); }
.up {
  position: fixed; right: calc(32px + env(safe-area-inset-right, 0px)); bottom: calc(32px + env(safe-area-inset-bottom, 0px)); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; background: var(--bg); opacity: 0; pointer-events: none;
  transition: opacity 150ms var(--ease-smooth-out), background-color 150ms var(--ease-smooth-out);
}
.up svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.up:hover { background: var(--panel-2); }
.up.is-shown { opacity: 1; pointer-events: auto; }

@media (max-width: 800px) {
  .split { display: flex; flex-direction: column; }
  .reading { display: contents; }
  .hero { order: 0; min-height: auto; padding: 96px var(--gutter) 32px; background: var(--panel); }
  .hero h1 { font-size: clamp(56px, 16vw, 88px); }
  .wall { order: 1; position: relative; height: 72svh; width: 100%; }
  .story { order: 2; background: var(--panel); }
  .game { order: 3; }
  .partner-heading, .partner-content, .contact-body, .benefits li { grid-template-columns: 1fr; gap: 16px; }
  .benefits li { gap: 4px; }
  .up { right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .wall-alternate, .mail, .legal a, .up { transition: none; }
}
