/*
Theme Name: VSS Dive BW
Theme URI: https://v-ss.me/
Author: v-ss.me
Description: A Chinese WordPress theme for Just Dive and Big Blue World daily diving, courses, and long trips.
Version: 1.0.96
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: vss-dive-bw
*/

@font-face {
  font-display: swap;
  font-family: "VSS Hall Hand";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/patrick-hand.ttf") format("truetype");
}

:root {
  --reef: #0b5f9c;
  --reef-deep: #08335f;
  --lagoon: #1e88d8;
  --ios-blue: #0a84ff;
  --seafoam: #d9ecff;
  --sand: #f5efe3;
  --coral: #ff6b5f;
  --ink: #102d44;
  --muted: #5a7187;
  --white: #ffffff;
  --line: rgba(8, 51, 95, 0.14);
  --shadow: 0 20px 55px rgba(8, 51, 95, 0.16);
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-line: rgba(255, 255, 255, 0.56);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 236, 255, 0.16);
  background: rgba(9, 77, 139, 0.82);
  color: var(--white);
  backdrop-filter: none;
  box-shadow: 0 6px 18px rgba(6, 31, 61, 0.1);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--lagoon);
  color: var(--white);
  font-size: 15px;
}

.brand-text {
  line-height: 1.18;
}

.brand-text span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav > .button {
  min-height: 32px;
  padding: 7px 13px;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: var(--ios-blue);
  color: #ffffff;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  filter: brightness(1.05);
}

.button.secondary {
  background: rgba(10, 132, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(140%);
}

.hero {
  position: relative;
  min-height: 540px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 38, 76, 0.98) 0%, rgba(8, 51, 95, 0.94) 44%, rgba(16, 104, 172, 0.8) 100%),
    url("assets/diving-hero.svg") center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8, 51, 95, 0.16), rgba(8, 38, 76, 0.54)),
    radial-gradient(circle at 70% 20%, rgba(217, 236, 255, 0.18), transparent 34%);
  content: "";
}

.hero .section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 540px;
  align-items: center;
  padding: 48px 0 92px;
}

.hero-copy {
  max-width: 760px;
  padding: 22px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--seafoam);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.24);
}

.hero p {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quick-proof {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  margin-top: 0;
  padding: 30px 0 32px;
  position: relative;
  z-index: 4;
}

.quick-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proof-item {
  position: relative;
  display: block;
  min-height: 126px;
  overflow: hidden;
  border: 1px solid rgba(178, 215, 246, 0.58);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 16%, rgba(10, 132, 255, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 246, 255, 0.76)),
    var(--glass);
  box-shadow: 0 14px 34px rgba(8, 51, 95, 0.09);
  backdrop-filter: blur(18px) saturate(150%);
  padding: 22px 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.proof-item::before {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 170px;
  height: 92px;
  border-radius: 999px 0 0 0;
  background: radial-gradient(ellipse at center, rgba(10, 132, 255, 0.12), rgba(10, 132, 255, 0) 68%);
  content: "";
  pointer-events: none;
  transform: rotate(-8deg);
}

.proof-item::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(10, 132, 255, 0.12);
  border-radius: 50%;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

.proof-item:hover,
.proof-item:focus-visible {
  border-color: rgba(10, 132, 255, 0.3);
  box-shadow: 0 16px 38px rgba(8, 51, 95, 0.13);
  transform: translateY(-1px);
  outline: none;
}

.proof-item strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--reef);
  font-size: 22px;
  line-height: 1.18;
}

.proof-item span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.course-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.info-card {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(217, 236, 255, 0.54)),
    var(--glass);
  box-shadow: 0 18px 42px rgba(8, 51, 95, 0.1);
  min-height: 260px;
  padding: 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.info-card:hover,
.info-card:focus-visible {
  border-color: rgba(30, 136, 216, 0.38);
  box-shadow: 0 22px 50px rgba(8, 51, 95, 0.16);
  transform: translateY(-2px);
  outline: none;
}

.info-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.info-card p {
  margin: 0;
}

.course-detail {
  scroll-margin-top: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-intro-copy {
  max-width: 820px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.85;
}

.course-intro-copy p {
  margin: 0 0 10px;
}

.course-detail-pro {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(226, 238, 250, 0.42)),
    var(--glass);
}

.button.course-whatsapp {
  background: var(--ios-blue);
  color: #ffffff;
  box-shadow: none;
}

.section {
  padding: 86px 0;
}

.section.tint {
  background: var(--sand);
}

.section.blue {
  background: var(--reef-deep);
  color: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head.compact {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.section-head h2,
.content h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
}

.blue .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

.ocean-moments {
    padding: 72px 0 80px;
    background: #f7fafc;
}

.ocean-moments .section-head {
    margin-bottom: 22px;
}

.ocean-moments .section-head p {
    max-width: 680px;
    color: var(--muted);
}

.moment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.82fr);
    grid-template-rows: repeat(3, minmax(142px, auto));
    gap: 18px;
    align-items: stretch;
}

.moment-card {
    display: flex;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(188, 215, 241, 0.72);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(8, 51, 95, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.moment-card:hover,
.moment-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(10, 132, 255, 0.32);
  box-shadow: 0 22px 52px rgba(8, 51, 95, 0.14);
    outline: none;
}

.moment-card-featured {
    position: relative;
    min-height: 520px;
    grid-row: span 3;
    background: #08335f;
}

.moment-media {
    min-height: 220px;
    background: var(--reef-deep);
}

.moment-media-local {
  background: url("assets/reef-card.svg") center/cover no-repeat;
}

.moment-media-journey {
  background: url("assets/island-card.svg") center/cover no-repeat;
}

.moment-media-whale {
    background: url("assets/diving-hero.svg") center/cover no-repeat;
}

.moment-media-camera {
    background: url("assets/boat-card.svg") center/cover no-repeat;
}

.moment-card-featured .moment-media {
    min-height: 100%;
    flex: 1;
    background:
        linear-gradient(180deg, rgba(4, 35, 68, 0.08) 0%, rgba(3, 24, 48, 0.74) 100%),
        url("assets/diving-hero.svg") center/cover no-repeat;
}

.moment-copy {
    flex: 1;
    padding: 24px;
}

.moment-card-featured .moment-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 34px;
    background: linear-gradient(180deg, rgba(3, 24, 48, 0) 0%, rgba(3, 24, 48, 0.74) 72%);
}

.moment-copy h3 {
    margin: 0 0 8px;
    color: var(--reef);
  font-size: 22px;
  line-height: 1.2;
}

.moment-copy p {
  margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.moment-card-featured .moment-copy h3 {
    color: #ffffff;
    font-size: clamp(30px, 3vw, 44px);
    letter-spacing: 0;
}

.moment-card-featured .moment-copy p {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
}

.moment-card:not(.moment-card-featured) {
    min-height: 156px;
    flex-direction: row;
}

.moment-card:not(.moment-card-featured) .moment-media {
    width: 42%;
    min-height: 100%;
    flex: 0 0 42%;
}

.moment-card:not(.moment-card-featured) .moment-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.82));
  box-shadow: 0 18px 42px rgba(8, 51, 95, 0.11);
  backdrop-filter: blur(16px) saturate(140%);
  overflow: hidden;
}

.card-media {
  min-height: 178px;
  background: linear-gradient(135deg, var(--lagoon), var(--reef-deep));
}

.card-media.one {
  background: url("assets/reef-card.svg") center/cover no-repeat;
}

.card-media.two {
  background: url("assets/island-card.svg") center/cover no-repeat;
}

.card-media.three {
  background: url("assets/boat-card.svg") center/cover no-repeat;
}

.card-body {
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.92));
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.card p,
.content p,
.content li {
  color: var(--muted);
}

.card p {
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  border-radius: 999px;
  background: var(--seafoam);
  color: var(--reef);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.app-content-grid {
  margin: 22px 0 34px;
}

.app-content-card {
  display: flex;
  flex-direction: column;
}

.app-content-media {
  display: block;
  min-height: 190px;
  overflow: hidden;
}

.app-content-media img,
.app-single-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-content-subtitle {
  display: block;
  margin: -2px 0 10px;
  color: var(--reef);
  font-size: 14px;
}

.app-single-cover {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(8, 51, 95, 0.12);
  margin-bottom: 26px;
  max-height: 520px;
}

.app-single-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.app-single-facts span {
  border: 1px solid rgba(10, 132, 255, 0.16);
  border-radius: 999px;
  background: rgba(217, 236, 255, 0.7);
  color: var(--reef);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.feature-list strong {
  display: block;
  color: var(--white);
  font-size: 18px;
}

.cta-band {
  position: relative;
  padding: 48px 0;
  background: linear-gradient(135deg, #08335f 0%, #0b5f9c 58%, #126cb8 100%);
  color: var(--white);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  font-weight: 800;
}

.cta-box p {
  max-width: 460px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

.cta-box .button {
  min-height: 42px;
  border-radius: 12px;
  background: var(--ios-blue);
  padding: 10px 20px;
  box-shadow: none;
}

.cta-box .button:hover,
.cta-box .button:focus-visible {
  background: #007aff;
  filter: brightness(1.04);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(8, 38, 76, 0.96), rgba(10, 72, 132, 0.86), rgba(18, 108, 184, 0.66)),
    url("assets/diving-hero.svg") center/cover no-repeat;
  color: var(--white);
  padding: 96px 0 82px;
}

.page-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.content h2 {
  margin-top: 42px;
}

.content h2:first-child {
  margin-top: 0;
}

.content ul,
.content ol {
  padding-left: 1.25em;
}

.content a {
  color: var(--reef);
  font-weight: 800;
}

.team-section {
  margin-top: 58px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 255, 0.82));
  box-shadow: 0 18px 42px rgba(8, 51, 95, 0.11);
  backdrop-filter: blur(16px) saturate(140%);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-card-body {
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.92));
  padding: 20px;
}

.team-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

.team-card strong {
  display: block;
  margin-top: 8px;
  color: var(--reef);
}

.team-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.form-panel {
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(217, 236, 255, 0.58)),
    var(--glass);
  box-shadow: 0 18px 42px rgba(8, 51, 95, 0.1);
  backdrop-filter: blur(18px) saturate(150%);
  padding: 26px;
}

.form-panel label {
  display: block;
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 800;
}

.form-panel input,
.form-panel textarea,
.form-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(7, 59, 76, 0.18);
  border-radius: var(--radius);
  margin-bottom: 14px;
  padding: 10px 12px;
  font: inherit;
}

.form-panel textarea {
  min-height: 120px;
  resize: vertical;
}

.routed-page-whale-shark-hall-of-fame {
  background:
    radial-gradient(circle at 74% 20%, rgba(10, 132, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(247, 251, 255, 1) 0%, rgba(230, 244, 255, 0.92) 55%, rgba(247, 251, 255, 1) 100%);
}

.routed-page-whale-shark-hall-of-fame .content {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 22%, rgba(10, 132, 255, 0.16), transparent 30%),
    radial-gradient(circle at 12% 74%, rgba(95, 174, 242, 0.16), transparent 34%),
    linear-gradient(180deg, #eff8ff 0%, #f8fcff 46%, #eaf6ff 100%);
  padding-top: 44px;
}

.routed-page-whale-shark-hall-of-fame .content::before {
  position: absolute;
  right: -18vw;
  top: 70px;
  width: min(115vw, 1420px);
  aspect-ratio: 2.55 / 1;
  background-image: url("data:image/svg+xml,%3Csvg width='680' height='266' viewBox='0 0 680 266' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23007AFF'%3E%3Cpath d='M45 143C137 64 302 35 473 70c66 14 123 41 162 73-43 40-111 65-197 76-154 20-309-13-393-76Z'/%3E%3Cpath d='M500 71c55-38 100-55 135-52-15 45-48 82-91 111L500 71Z'/%3E%3Cpath d='M501 216c55 36 101 52 135 48-16-44-50-80-93-108l-42 60Z'/%3E%3Cpath d='M67 139 3 97c4 39 27 74 64 102v-60Z'/%3E%3Ccircle cx='173' cy='91' r='9' fill='%23FFFFFF'/%3E%3Ccircle cx='219' cy='72' r='6' fill='%23FFFFFF'/%3E%3Ccircle cx='264' cy='67' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='310' cy='71' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='356' cy='80' r='6' fill='%23FFFFFF'/%3E%3Ccircle cx='401' cy='94' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='451' cy='114' r='6' fill='%23FFFFFF'/%3E%3Ccircle cx='208' cy='117' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='256' cy='105' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='307' cy='104' r='6' fill='%23FFFFFF'/%3E%3Ccircle cx='360' cy='112' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='416' cy='132' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='254' cy='143' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='313' cy='137' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='371' cy='147' r='5' fill='%23FFFFFF'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.16;
  pointer-events: none;
  transform: rotate(-3deg);
}

.routed-page-whale-shark-hall-of-fame .content::after {
  position: absolute;
  left: -12vw;
  right: -12vw;
  bottom: 12%;
  height: 34%;
  background: linear-gradient(105deg, transparent 0%, rgba(10, 132, 255, 0.08) 36%, rgba(10, 132, 255, 0.12) 64%, transparent 100%);
  content: "";
  pointer-events: none;
  transform: skewY(-5deg);
}

.routed-page-whale-shark-hall-of-fame .content > * {
  position: relative;
  z-index: 1;
}

.hall-scene {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: clamp(8px, 1.8vw, 20px) 0 clamp(18px, 3vw, 36px);
}

.hall-intro {
  max-width: 680px;
  margin-right: auto;
  margin-bottom: 34px;
  margin-left: auto;
  text-align: center;
}

.hall-note {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(16, 45, 68, 0.88);
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0;
}

.hall-note span {
  display: block;
}

.hall-note span + span {
  margin-top: 4px;
  color: rgba(16, 45, 68, 0.72);
  font-size: 0.88em;
  font-weight: 500;
}

.hall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hall-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 255, 0.82)),
    var(--glass-strong);
  box-shadow: 0 18px 42px rgba(8, 51, 95, 0.12);
  backdrop-filter: blur(16px) saturate(140%);
  padding: 18px;
}

.hall-board::before {
  position: absolute;
  right: -34px;
  bottom: 54px;
  z-index: 0;
  width: min(82%, 340px);
  aspect-ratio: 2.55 / 1;
  background-image: url("data:image/svg+xml,%3Csvg width='680' height='266' viewBox='0 0 680 266' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23007AFF'%3E%3Cpath d='M45 143C137 64 302 35 473 70c66 14 123 41 162 73-43 40-111 65-197 76-154 20-309-13-393-76Z'/%3E%3Cpath d='M500 71c55-38 100-55 135-52-15 45-48 82-91 111L500 71Z'/%3E%3Cpath d='M501 216c55 36 101 52 135 48-16-44-50-80-93-108l-42 60Z'/%3E%3Cpath d='M67 139 3 97c4 39 27 74 64 102v-60Z'/%3E%3Ccircle cx='173' cy='91' r='9' fill='%23FFFFFF'/%3E%3Ccircle cx='219' cy='72' r='6' fill='%23FFFFFF'/%3E%3Ccircle cx='264' cy='67' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='310' cy='71' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='356' cy='80' r='6' fill='%23FFFFFF'/%3E%3Ccircle cx='401' cy='94' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='451' cy='114' r='6' fill='%23FFFFFF'/%3E%3Ccircle cx='208' cy='117' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='256' cy='105' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='307' cy='104' r='6' fill='%23FFFFFF'/%3E%3Ccircle cx='360' cy='112' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='416' cy='132' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='254' cy='143' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='313' cy='137' r='5' fill='%23FFFFFF'/%3E%3Ccircle cx='371' cy='147' r='5' fill='%23FFFFFF'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.075;
  pointer-events: none;
}

.hall-board-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.hall-board-head span,
.hall-board-head strong {
  border: 2px solid rgba(8, 51, 95, 0.72);
  border-radius: 6px;
  color: var(--ink);
  line-height: 1.2;
  padding: 8px 10px;
  text-align: center;
}

.hall-board-head span {
  font-size: 13px;
  font-weight: 800;
}

.hall-board-head strong {
  font-size: 18px;
}

.hall-table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 15px;
}

.hall-table th,
.hall-table td {
  height: 34px;
  border-bottom: 1px dotted rgba(8, 51, 95, 0.42);
  vertical-align: middle;
}

.hall-table th {
  width: 38px;
  border-right: 1px dotted rgba(8, 51, 95, 0.42);
  color: var(--reef);
  font-weight: 800;
  text-align: center;
}

.hall-table td {
  padding-left: 12px;
  font-family: "VSS Hall Hand", "Marker Felt", "Comic Sans MS", cursive;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.whale-mark {
  display: none;
}

.whale-mark::before {
  position: absolute;
  inset: 8px 2px 8px 0;
  border-radius: 55% 45% 45% 55%;
  background: var(--reef-deep);
  content: "";
  transform: skewX(-14deg);
}

.whale-mark::after {
  position: absolute;
  right: 0;
  top: 10px;
  width: 30px;
  height: 24px;
  border-radius: 70% 0 70% 0;
  background: var(--reef-deep);
  content: "";
  transform: rotate(42deg);
}

.notice {
  border: 1px solid rgba(30, 136, 216, 0.24);
  border-radius: var(--radius);
  background: rgba(217, 236, 255, 0.7);
  color: var(--reef);
  font-weight: 800;
  margin-bottom: 24px;
  padding: 14px 16px;
}

.album-notices {
  margin-bottom: 28px;
}

.album-submit h2 {
  margin-bottom: 12px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.album-list {
  margin-top: 44px;
}

.album-list .section-head {
  margin-bottom: 22px;
}

.album-vote {
  border: 1px solid rgba(30, 136, 216, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(217, 236, 255, 0.5));
  box-shadow: 0 18px 46px rgba(8, 51, 95, 0.11);
  margin: 0 0 44px;
  padding: 26px;
}

.album-vote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.album-vote-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(8, 51, 95, 0.1);
}

.album-vote-body {
  padding: 18px;
}

.album-vote-body h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.album-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.82));
  box-shadow: 0 18px 42px rgba(8, 51, 95, 0.11);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.album-card:hover {
  border-color: rgba(30, 136, 216, 0.38);
  box-shadow: 0 22px 50px rgba(8, 51, 95, 0.16);
  transform: translateY(-2px);
}

.album-photo-link img,
.album-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.album-photo-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lagoon), var(--reef-deep));
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.album-card-body {
  padding: 22px;
}

.album-category {
  display: inline-flex;
  border-radius: 999px;
  background: var(--seafoam);
  color: var(--reef);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.album-card h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.22;
}

.album-meta {
  font-size: 14px;
  font-weight: 800;
}

.album-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.album-actions a,
.album-like-form button,
.album-vote-form button {
  min-height: 34px;
  border: 1px solid rgba(30, 136, 216, 0.2);
  border-radius: 999px;
  background: var(--seafoam);
  color: var(--reef);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.album-vote-form button {
  background: var(--ios-blue);
  color: #ffffff;
  box-shadow: none;
}

.album-vote-form button:disabled {
  cursor: default;
  opacity: 0.72;
}

.album-like-form,
.album-vote-form {
  margin: 0;
}

.album-empty {
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(217, 236, 255, 0.58)),
    var(--glass);
  box-shadow: 0 18px 42px rgba(8, 51, 95, 0.1);
  margin-bottom: 34px;
  padding: 26px;
}

.album-submit {
    margin-top: 58px;
}

.album-submit button[type="submit"] {
    background: var(--ios-blue);
    color: #ffffff;
    box-shadow: none;
}

.album-submit button[type="submit"]:hover {
    filter: brightness(1.04);
}

.album-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(6, 31, 61, 0.52);
  padding: 24px;
}

.album-modal.is-hidden {
  display: none;
}

.album-modal-card {
  width: min(440px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(217, 236, 255, 0.9));
  box-shadow: 0 24px 70px rgba(6, 31, 61, 0.28);
  padding: 30px;
  text-align: center;
}

.album-modal-card h2 {
  margin: 0 0 10px;
  color: var(--reef);
  font-size: 30px;
}

.album-modal-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.album-single-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(8, 51, 95, 0.12);
  margin-bottom: 28px;
}

.album-single-photo img {
  width: 100%;
}

.comments-area {
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 34px;
}

.comment-list {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.comment-list .comment-body {
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(217, 236, 255, 0.48));
  padding: 18px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(7, 59, 76, 0.18);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
}

.comment-form textarea {
  min-height: 130px;
}

.site-footer {
  background: #061f3d;
  color: rgba(255, 255, 255, 0.72);
  padding: 38px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  box-shadow: 0 8px 18px rgba(10, 132, 255, 0.16);
}

@media (max-width: 1100px) {
  .moment-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .moment-card-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 420px;
  }

  .moment-card:not(.moment-card-featured) {
    min-height: 300px;
    flex-direction: column;
  }

  .moment-card:not(.moment-card-featured) .moment-media {
    width: auto;
    min-height: 170px;
    flex: 0 0 auto;
  }

  .moment-card:not(.moment-card-featured) .moment-copy {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .hero .section-inner {
    min-height: 560px;
  }

  .hero .section-inner {
    padding: 52px 0 88px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .quick-proof {
    padding: 28px 0;
  }

  .quick-proof-grid {
    grid-template-columns: 1fr;
  }

  .ocean-moments {
    padding: 56px 0 60px;
  }

  .ocean-moments .section-head {
    margin-bottom: 18px;
  }

  .moment-grid {
    grid-template-columns: 1fr;
  }

  .moment-card {
    min-height: 0;
  }

  .moment-card-featured {
    min-height: 380px;
  }

  .moment-card-featured .moment-copy {
    padding: 28px;
  }

  .moment-card:not(.moment-card-featured) {
    min-height: 0;
  }

  .moment-card:not(.moment-card-featured) .moment-media {
    min-height: 190px;
  }

  .hero-stats,
  .team-grid,
  .hall-grid,
  .album-grid,
  .album-vote-grid,
  .course-detail-grid,
  .grid.three,
  .grid.two,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-box,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 64px 0;
  }
}
