:root {
  --wf-ink: #17212b;
  --wf-deep: #243044;
  --wf-surface: #fbfcf8;
  --wf-mist: #eef7f5;
  --wf-muted: #667685;
  --wf-line: rgba(23, 33, 43, 0.14);
  --wf-teal: #1d9e9a;
  --wf-coral: #e6564f;
  --wf-gold: #e5ae3a;
  --wf-violet: #6d5aa8;
  --wf-green: #5f9968;
  --wf-shadow: 0 18px 46px rgba(23, 33, 43, 0.16);
  --wf-radius: 8px;
  --wf-font: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.wf-page {
  margin: 0;
  min-height: 100vh;
  color: var(--wf-ink);
  font-family: var(--wf-font);
  font-size: 16px;
  line-height: 1.6;
  background-color: #e8f5f2;
  background-image:
  
    url("whisper-tide-visuals/marble-tide-backdrop.jpeg");
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.wf-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  min-height: 74px;
  padding: 10px clamp(14px, 4vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--wf-line);
  background: rgba(251, 252, 248, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.08);
}

.wf-brand {
  min-width: 230px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wf-brand-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--wf-radius);
  border: 2px solid rgba(29, 158, 154, 0.28);
  background: #fff;
}

.wf-brand-copy {
  display: grid;
  gap: 1px;
}

.wf-brand-name {
  color: var(--wf-deep);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.wf-brand-line {
  color: var(--wf-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.wf-nav-button {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  background: #fff;
  cursor: pointer;
}

.wf-nav-button span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  border-radius: 2px;
  background: var(--wf-deep);
}

.wf-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.wf-nav-link {
  min-height: 40px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--wf-radius);
  color: var(--wf-muted);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.wf-nav-link:hover,
.wf-nav-link.wf-current {
  color: var(--wf-deep);
  border-color: rgba(29, 158, 154, 0.28);
  background: rgba(29, 158, 154, 0.12);
}

.wf-main {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  padding: 30px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.wf-tide-hero {
  width: 100%;
  min-height: 600px;
  padding: clamp(22px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: center;
  overflow: hidden;
  border-radius: var(--wf-radius);
  background:
    linear-gradient(135deg, rgba(23, 33, 43, 0.92), rgba(109, 90, 168, 0.76)),
    url("whisper-tide-visuals/olympus-lobster-hero.jpeg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--wf-shadow);
}

.wf-tide-copy,
.wf-section-head,
.wf-final-pier,
.wf-library-hero,
.wf-contact-copy,
.wf-player-title,
.wf-empty {
  display: grid;
  justify-items: center;
  text-align: center;
}

.wf-tide-copy {
  color: #fff;
}

.wf-tag {
  margin: 0 0 8px;
  color: var(--wf-coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wf-tide-copy .wf-tag {
  color: #ffb3a8;
}

.wf-tide-hero h1,
.wf-library-hero h1,
.wf-contact-copy h1,
.wf-player-title h1,
.wf-doc h1,
.wf-empty h1 {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  line-height: 0.98;
  color: var(--wf-deep);
  max-width: 760px;
}

.wf-tide-hero h1 {
  color: #fff;
}

.wf-lead,
.wf-section-head p:not(.wf-tag),
.wf-final-pier p:not(.wf-tag),
.wf-library-hero p:not(.wf-tag),
.wf-contact-copy p:not(.wf-tag),
.wf-player-title p:not(.wf-tag),
.wf-doc p,
.wf-doc li,
.wf-route-note p,
.wf-library-item p {
  color: var(--wf-muted);
}

.wf-player-safety {
  max-width: 760px;
  margin: 4px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  background: rgba(255, 255, 255, 0.84);
}

.wf-tide-copy .wf-lead {
  color: rgba(255, 255, 255, 0.84);
}

.wf-lead {
  margin: 0;
  max-width: 720px;
  font-size: 1.08rem;
}

.wf-action-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.wf-button {
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 33, 43, 0.14);
  border-radius: var(--wf-radius);
  background: #fff;
  color: var(--wf-deep);
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(23, 33, 43, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wf-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 33, 43, 0.18);
}

.wf-button-hot {
  border-color: rgba(230, 86, 79, 0.54);
  background: var(--wf-coral);
  color: #fff;
}

.wf-tide-art {
  width: min(450px, 100%);
  justify-self: center;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--wf-radius);
  border: 6px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.wf-current-grid,
.wf-harbor-map,
.wf-tide-faq,
.wf-library-grid,
.wf-contact-stage,
.wf-doc-stage,
.wf-player-shell {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.wf-section-head h2,
.wf-final-pier h2,
.wf-route-switch h2,
.wf-route-note h2,
.wf-doc h2 {
  margin: 0;
  color: var(--wf-deep);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.12;
}

.wf-route-posters {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wf-route-poster {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--wf-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--wf-shadow);
}

.wf-route-poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--wf-mist);
}

.wf-route-copy {
  padding: 22px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.wf-route-copy p {
  margin: 0 0 8px;
  color: var(--wf-teal);
  font-weight: 900;
}

.wf-route-copy h3,
.wf-library-item h2 {
  margin: 0 0 10px;
  color: var(--wf-deep);
  font-size: 1.45rem;
  line-height: 1.18;
}

.wf-route-copy span {
  color: var(--wf-muted);
}

.wf-text-link {
  margin-top: 18px;
  color: var(--wf-violet);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wf-harbor-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 30px 24px;
  border-radius: var(--wf-radius);
  background:
    linear-gradient(120deg, rgba(29, 158, 154, 0.16), rgba(229, 174, 58, 0.16), rgba(109, 90, 168, 0.16)),
    rgba(251, 252, 248, 0.92);
  box-shadow: var(--wf-shadow);
}

.wf-harbor-map div {
  min-height: 230px;
  padding: 22px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  border-right: 1px solid var(--wf-line);
}

.wf-harbor-map div:last-child {
  border-right: 0;
}

.wf-harbor-map span {
  min-width: 82px;
  padding: 7px 10px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--wf-radius);
  background: var(--wf-deep);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wf-harbor-map h2 {
  margin: 14px 0 8px;
  color: var(--wf-deep);
  font-size: 1.18rem;
  line-height: 1.24;
}

.wf-harbor-map p {
  margin: 0;
  color: var(--wf-muted);
}

.wf-tide-faq {
  padding: 0;
}

.wf-question-list {
  width: min(840px, 100%);
  display: grid;
  gap: 10px;
}

.wf-question {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--wf-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.08);
}

.wf-question-button {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--wf-deep);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.wf-question-button span {
  color: var(--wf-coral);
  font-size: 1.2rem;
  line-height: 1;
}

.wf-answer {
  display: none;
  padding: 0 18px 16px;
  color: var(--wf-muted);
  text-align: center;
}

.wf-question.wf-open .wf-answer {
  display: block;
}

.wf-question.wf-open .wf-question-button span {
  transform: rotate(45deg);
}

.wf-final-pier {
  width: 100%;
  padding: 42px 28px;
  border-radius: var(--wf-radius);
  background: rgba(251, 252, 248, 0.92);
  box-shadow: var(--wf-shadow);
}

.wf-final-pier > p:not(.wf-tag) {
  max-width: 760px;
}

.wf-library-hero {
  min-height: 280px;
  align-content: center;
  padding: 36px 24px;
  border-radius: var(--wf-radius);
  background:
    linear-gradient(120deg, rgba(29, 158, 154, 0.14), rgba(230, 86, 79, 0.12)),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--wf-shadow);
}

.wf-library-grid {
  gap: 18px;
}

.wf-library-item {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 16px;
  border-radius: var(--wf-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--wf-shadow);
  text-align: center;
}

.wf-library-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--wf-radius);
}

.wf-player-shell {
  padding-top: 8px;
}

.wf-back-link {
  justify-self: center;
  color: var(--wf-violet);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wf-player-title {
  max-width: 820px;
}

.wf-play-frame {
  width: 100%;
  overflow: hidden;
  padding: 8px;
  border-radius: var(--wf-radius);
  background:
    linear-gradient(90deg, var(--wf-teal), var(--wf-coral), var(--wf-gold));
  box-shadow: var(--wf-shadow);
}

.wf-game-frame {
  width: 100%;
  min-height: 720px;
  display: block;
  border: 0;
  border-radius: 4px;
  background: #050909;
}

.wf-route-note {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: var(--wf-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--wf-shadow);
  text-align: center;
}

.wf-route-note img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--wf-radius);
}

.wf-route-note ul {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.wf-route-note li {
  padding: 8px 10px;
  border-radius: var(--wf-radius);
  background: rgba(29, 158, 154, 0.09);
  color: var(--wf-muted);
}

.wf-route-switch {
  width: min(620px, 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.wf-switch-link {
  width: 100%;
  min-height: 78px;
  padding: 10px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: var(--wf-radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--wf-deep);
  font-weight: 900;
  box-shadow: var(--wf-shadow);
}

.wf-switch-link img {
  width: 96px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--wf-radius);
}

.wf-contact-stage {
  padding-top: 18px;
}

.wf-contact-copy {
  max-width: 760px;
}

.wf-contact-form {
  width: min(720px, 100%);
  padding: 24px;
  display: grid;
  gap: 16px;
  border-radius: var(--wf-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--wf-shadow);
}

.wf-form-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wf-field {
  display: grid;
  gap: 7px;
}

.wf-field span,
.wf-consent span {
  color: var(--wf-muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.wf-field input,
.wf-field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(23, 33, 43, 0.18);
  border-radius: var(--wf-radius);
  background: #fff;
  color: var(--wf-deep);
  outline: none;
}

.wf-field textarea {
  min-height: 140px;
  resize: vertical;
}

.wf-field input:focus,
.wf-field textarea:focus {
  border-color: var(--wf-teal);
  box-shadow: 0 0 0 3px rgba(29, 158, 154, 0.18);
}

.wf-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.wf-consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--wf-coral);
}

.wf-consent a,
.wf-doc a,
.wf-disclaimer a {
  color: var(--wf-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wf-submit {
  width: 100%;
  border: 0;
}

.wf-form-signal {
  display: none;
  padding: 12px;
  border-radius: var(--wf-radius);
  text-align: center;
  font-weight: 900;
}

.wf-form-signal.wf-form-ok,
.wf-form-signal.wf-form-error {
  display: block;
}

.wf-form-ok {
  border: 1px solid rgba(95, 153, 104, 0.42);
  background: rgba(95, 153, 104, 0.12);
  color: #35693e;
}

.wf-form-error {
  border: 1px solid rgba(230, 86, 79, 0.42);
  background: rgba(230, 86, 79, 0.12);
  color: #a13833;
}

.wf-doc-stage {
  padding-top: 18px;
}

.wf-doc {
  width: min(850px, 100%);
  padding: 30px;
  border-radius: var(--wf-radius);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--wf-shadow);
}

.wf-doc h1 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.wf-doc-date {
  margin: -4px 0 24px;
  text-align: center;
  color: var(--wf-muted);
  font-size: 0.92rem;
}

.wf-doc h2 {
  margin-top: 26px;
  font-size: 1.22rem;
}

.wf-doc ul {
  padding-left: 22px;
}

.wf-empty {
  min-height: 420px;
  align-content: center;
  gap: 14px;
}

.wf-footer {
  padding: 10px 14px 32px;
}

.wf-footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.wf-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.wf-footer-links a {
  color: var(--wf-deep);
  font-size: 0.9rem;
  font-weight: 900;
}

.wf-disclaimer {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: var(--wf-radius);
  background: rgba(255, 255, 255, 0.9);
}

.wf-disclaimer p {
  margin: 0 0 8px;
  color: var(--wf-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  text-align: center;
}

.wf-disclaimer p:last-child {
  margin-bottom: 0;
}

.wf-rights {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 980px) {
  .wf-header {
    flex-wrap: wrap;
  }

  .wf-nav-button {
    display: block;
  }

  .wf-nav {
    display: none;
    width: 100%;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px solid var(--wf-line);
  }

  .wf-nav.wf-open {
    display: flex;
  }

  .wf-tide-hero,
  .wf-library-item,
  .wf-route-note {
    grid-template-columns: 1fr;
  }

  .wf-tide-art {
    order: -1;
  }

  .wf-harbor-map {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .wf-harbor-map div {
    border-right: 0;
    border-bottom: 1px solid var(--wf-line);
  }

  .wf-harbor-map div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  body.wf-page {
    font-size: 15px;
  }

  .wf-main {
    width: min(100% - 18px, 1160px);
    padding-top: 18px;
    gap: 24px;
  }

  .wf-header {
    padding: 9px;
  }

  .wf-brand {
    min-width: 0;
  }

  .wf-brand-line {
    display: none;
  }

  .wf-tide-hero,
  .wf-final-pier,
  .wf-library-hero,
  .wf-doc,
  .wf-contact-form {
    padding: 18px;
  }

  .wf-route-posters,
  .wf-form-pair {
    grid-template-columns: 1fr;
  }

  .wf-action-row,
  .wf-button {
    width: 100%;
  }

  .wf-game-frame {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}
