/* ==========================================================================
   Silent Bubble Diving Club — silentbubble.cn
   Bioluminescent neon-green theme · glass controls · auto dark mode
   ========================================================================== */

:root {
  --bg: #ffffff;
  --soft: #f5f5f7;
  --tile: #f5f5f7;
  --tile-2: #ffffff;
  --ink: #141a12;
  --muted: #5f6b5c;
  --dim: #8a948a;
  --line: rgba(20, 26, 18, 0.1);
  --line-soft: rgba(20, 26, 18, 0.06);

  --neon: #c8ff00;
  --neon-ink: #4d7c0f;
  --neon-strong: #65a30d;
  --accent-2: #0d9488;
  --grad-a: #65a30d;
  --grad-b: #0d9488;
  --hero-grad-a: #c8ff00;
  --hero-grad-b: #4dffa6;

  --header: rgba(251, 251, 253, 0.62);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-line: rgba(20, 26, 18, 0.14);
  --glass-hi: rgba(255, 255, 255, 0.5);
  --glass-primary: rgba(200, 255, 0, 0.32);
  --glass-primary-line: rgba(101, 163, 13, 0.5);
  --primary-ink: #1c2600;
  --glow: rgba(150, 210, 0, 0.35);

  --dot-ring: #ffffff;
  --footer: #f5f5f7;
  --scroll-thumb: rgba(101, 163, 13, 0.45);
  --scroll-thumb-hover: rgba(101, 163, 13, 0.7);

  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --hc-dur: 6.5s;
}

html[data-theme="dark"] {
  --bg: #060906;
  --soft: #0b100b;
  --tile: #11170f;
  --tile-2: #161d13;
  --ink: #f1f7ea;
  --muted: #a9b4a4;
  --dim: #798477;
  --line: rgba(220, 255, 180, 0.14);
  --line-soft: rgba(220, 255, 180, 0.08);

  --neon: #c8ff00;
  --neon-ink: #c8ff00;
  --neon-strong: #d6ff4d;
  --accent-2: #39ffa0;
  --grad-a: #c8ff00;
  --grad-b: #39ffa0;

  --header: rgba(6, 9, 6, 0.55);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-line: rgba(255, 255, 255, 0.18);
  --glass-hi: rgba(255, 255, 255, 0.12);
  --glass-primary: rgba(200, 255, 0, 0.14);
  --glass-primary-line: rgba(200, 255, 0, 0.5);
  --primary-ink: #dcff66;
  --glow: rgba(200, 255, 0, 0.28);

  --dot-ring: #060906;
  --footer: #0b100b;
  --scroll-thumb: rgba(200, 255, 0, 0.4);
  --scroll-thumb-hover: rgba(200, 255, 0, 0.65);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) transparent;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .4s, color .4s;
}

::selection { background: rgba(200, 255, 0, 0.35); color: var(--ink); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 980px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
strong { font-weight: 600; }
button { font-family: inherit; }

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.grad {
  background: linear-gradient(96deg, var(--grad-a) 0%, var(--grad-b) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nowrap { white-space: nowrap; }

/* ---------- Glass buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  color: var(--ink);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease), color .25s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: var(--glass-primary);
  border-color: var(--glass-primary-line);
  color: var(--primary-ink);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--glass-primary);
  border-color: var(--neon-strong);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 6px 26px var(--glow);
}

.btn-ghost:hover { border-color: var(--neon-strong); box-shadow: inset 0 1px 0 var(--glass-hi), 0 6px 22px var(--glow); }

/* hero sits on photography in both themes: keep one high-contrast glass recipe */
.hero .btn-primary {
  background: rgba(9, 14, 5, 0.55);
  border-color: rgba(200, 255, 0, 0.6);
  color: #d9ff60;
}
.hero .btn-primary:hover {
  background: rgba(200, 255, 0, 0.2);
  border-color: var(--neon);
  color: #eaffa8;
}

.btn-sm { padding: 6px 14px; font-size: 12px; font-weight: 600; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 17px;
  font-weight: 500;
  color: var(--neon-ink);
  transition: gap .2s, color .2s;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 8px; text-decoration: underline; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--header);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .4s;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 52px;
  width: min(1080px, calc(100% - 48px));
}

.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.brand-logo { width: auto; height: 26px; flex: none; transition: filter .4s; }
html[data-theme="dark"] .brand-logo,
html[data-theme="dark"] .about-logo { filter: invert(1) brightness(1.35); }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-size: 13px; font-weight: 600; white-space: nowrap; }
.brand-text em {
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 1px;
  white-space: nowrap;
}
.site-header .brand-text em { display: none; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 12px;
  color: var(--muted);
  transition: color .2s;
}
.nav a:hover { color: var(--neon-ink); }

.theme-toggle {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.theme-toggle:hover { border-color: var(--neon-strong); box-shadow: 0 0 18px var(--glow); transform: rotate(15deg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .ic-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: block; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: none; }

.nav-cta { margin-left: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
}
.site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 6px 24px 22px;
  background: var(--header);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:not(.btn) {
  padding: 13px 2px;
  color: var(--ink);
  font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 16px; align-self: flex-start; }

/* ---------- Hero + carousel ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #000;
}

.hero-bg { position: absolute; inset: 0; outline: none; }
.hero-bg:focus-visible { outline: 2px solid var(--neon); outline-offset: -4px; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.hero-slide.is-active img { animation: kenburns 9s var(--ease) forwards; }
.hero-slide[data-bright] img { filter: brightness(.78) saturate(1.05); }

@keyframes kenburns {
  from { transform: scale(1.1); }
  to { transform: scale(1.0); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.42) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.26) 42%, rgba(0, 0, 0, 0.74) 100%);
}

.hero-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }

.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  border: 1px solid rgba(200, 255, 140, 0.4);
  background: radial-gradient(circle at 32% 30%, rgba(230, 255, 190, 0.6), rgba(200, 255, 0, 0.08) 46%, rgba(255, 255, 255, 0.02) 72%);
  box-shadow: inset 0 0 8px rgba(200, 255, 0, 0.22), 0 0 10px rgba(200, 255, 0, 0.12);
  opacity: 0;
  animation: rise linear infinite;
  will-change: transform, opacity;
}

@keyframes rise {
  0%   { transform: translate3d(0, 0, 0) scale(.85); opacity: 0; }
  10%  { opacity: var(--o, .4); }
  70%  { opacity: var(--o, .4); }
  100% { transform: translate3d(var(--drift, 30px), -112vh, 0) scale(1.06); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 150px;
  padding-bottom: 130px;
  width: min(960px, calc(100% - 48px));
  margin-inline: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: 16px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--glow);
  flex: none;
}

.hero h1 {
  font-size: clamp(42px, 6.4vw, 80px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f5f5f7;
  margin-bottom: 18px;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.hero .grad {
  background: linear-gradient(96deg, var(--hero-grad-a) 0%, var(--hero-grad-b) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  color: #f5f5f7;
  opacity: 0.94;
  margin-bottom: 10px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 17px;
  color: rgba(245, 245, 247, 0.72);
  max-width: 640px;
  margin-bottom: 34px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero .link-arrow { color: rgba(245, 245, 247, 0.94); }
.hero .link-arrow:hover { color: var(--neon); text-decoration: none; }

/* carousel controls */

.hero-carousel-ui {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 14px;
}
html.js .hero-carousel-ui { display: flex; }

.hc-dots { display: flex; align-items: center; gap: 8px; }

.hc-dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: width .35s var(--ease), background .3s;
}
.hc-dot::before { content: ""; position: absolute; inset: -9px -3px; }
.hc-dot:hover { background: rgba(255, 255, 255, 0.75); }
.hc-dot.is-active { width: 34px; background: rgba(255, 255, 255, 0.28); }
.hc-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--neon);
  box-shadow: 0 0 12px rgba(200, 255, 0, 0.6);
  transform-origin: left center;
  animation: hc-progress var(--hc-dur) linear forwards;
}
.hero-bg.is-paused ~ .hero-carousel-ui .hc-dot.is-active::after,
.hero.is-paused .hc-dot.is-active::after { animation-play-state: paused; }

@keyframes hc-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hc-caption {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 30px;
  display: none;
  align-items: baseline;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 14, 8, 0.35);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  color: #f5f5f7;
  max-width: min(46vw, 420px);
}
html.js .hc-caption { display: inline-flex; }
.hc-caption strong { font-size: 13px; font-weight: 600; white-space: nowrap; }
.hc-caption span { font-size: 11px; color: rgba(245, 245, 247, 0.66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-caption.swap { animation: cap-in .5s var(--ease); }
@keyframes cap-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.hc-count {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 36px;
  display: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(245, 245, 247, 0.7);
  font-variant-numeric: tabular-nums;
}
html.js .hc-count { display: block; }
.hc-count b { color: var(--neon); font-weight: 600; }

/* ---------- Stats band ---------- */

.stats-band {
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  transition: background .4s;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 56px 0;
}

.hero-stats li {
  padding: 4px 36px;
  border-left: 1px solid var(--line-soft);
}
.hero-stats li:first-child { border-left: none; padding-left: 0; }

.hero-stats strong {
  display: block;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.hero-stats strong.txt { font-size: 24px; padding: 9px 0 10px; color: var(--neon-ink); }
.hero-stats span { font-size: 13px; color: var(--muted); line-height: 1.55; display: block; }

/* ---------- Sections common ---------- */

.section {
  position: relative;
  padding: 120px 0;
  scroll-margin-top: 60px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.kicker .dot { background: var(--neon-strong); }
html[data-theme="dark"] .kicker .dot { background: var(--neon); }

.section h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.section-head {
  max-width: 840px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-sub {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
  max-width: 700px;
  margin-inline: auto;
  text-wrap: balance;
}

/* ---------- About ---------- */

.about { padding-top: 100px; }
.about .stats-band { margin-bottom: 56px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.about-copy .kicker { margin-bottom: 12px; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p { color: var(--muted); margin-bottom: 18px; font-size: 17px; line-height: 1.65; }
.about-copy > p strong { color: var(--ink); font-weight: 600; }

.about-copy .slogan {
  margin-top: 30px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.about-card {
  border-radius: var(--radius);
  background: var(--tile);
  border: 1px solid var(--line-soft);
  padding: 42px 38px;
  overflow: hidden;
  transition: background .4s;
}

.about-logo { width: 200px; height: auto; margin-bottom: 26px; transition: filter .4s; }

.about-card-title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 26px;
}
.about-card-title small {
  font-size: 11px;
  font-weight: 500;
  color: var(--dim);
  letter-spacing: 0.14em;
}

.about-list { border-top: 1px solid var(--line); }
.about-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.about-list li span {
  flex: none;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neon-ink);
  border: 1px solid var(--glass-primary-line);
  background: var(--glass-primary);
  padding: 2px 10px;
  border-radius: 980px;
}

.about-systems { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.about-systems b {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--tile-2);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 8px;
}

/* ---------- Values bento ---------- */

.values { padding-top: 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--tile);
  border: 1px solid var(--line-soft);
  padding: 38px 34px;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .4s;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-primary-line);
  box-shadow: 0 14px 40px var(--glow);
}

.span3 { grid-column: span 3; }
.span2 { grid-column: span 2; }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--neon-ink);
  background: var(--tile-2);
  border: 1px solid var(--line-soft);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 22px;
}
.icon-box svg { width: 24px; height: 24px; }

.bento-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.bento-card p { font-size: 15px; color: var(--muted); line-height: 1.55; }

.pill-line { display: flex; flex-wrap: wrap; gap: 7px; }
.pill-line span {
  font-size: 12.5px;
  color: var(--ink);
  background: var(--tile-2);
  border: 1px solid var(--line-soft);
  border-radius: 980px;
  padding: 3px 12px;
  white-space: nowrap;
  line-height: 1.6;
}

/* ---------- Courses / timeline ---------- */

.courses { padding-top: 0; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 96px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: var(--line);
}

.tl-item { position: relative; }
.tl-item .dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--dot-ring);
  transition: transform .3s var(--ease), border-color .3s;
}
.tl-item:hover .dot { transform: translateY(-3px); border-color: var(--neon-strong); }

.tl-item:last-child .dot {
  border: none;
  background: var(--neon);
  color: #16200a;
  box-shadow: 0 0 0 6px var(--dot-ring), 0 0 26px var(--glow);
}

.tl-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.tl-item em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-ink);
  margin-bottom: 10px;
}
.tl-item p { font-size: 13px; color: var(--dim); line-height: 1.6; }

.direction-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.direction-head h3 { font-size: 24px; font-weight: 600; }
.direction-head p { font-size: 14px; color: var(--dim); }

.direction-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 70px;
}

.direction-card {
  border-radius: 20px;
  background: var(--tile);
  border: 1px solid var(--line-soft);
  padding: 28px 24px;
  transition: transform .3s var(--ease), border-color .3s, background .4s;
}
.direction-card:hover { transform: translateY(-4px); border-color: var(--glass-primary-line); }
.direction-card em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--neon-ink);
  display: block;
  margin-bottom: 12px;
}
.direction-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.direction-card p { font-size: 12.5px; color: var(--dim); line-height: 1.6; }

.systems-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 8px;
}
.systems-row span {
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--dim);
  transition: color .25s, text-shadow .25s;
}
.systems-row span:hover { color: var(--neon-ink); text-shadow: 0 0 18px var(--glow); }
.systems-row i { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

/* ---------- Cert band ---------- */

.cert {
  background: #000;
  padding: 110px 0;
  overflow: hidden;
}
html[data-theme="dark"] .cert { background: #030503; border-block: 1px solid var(--line-soft); }

.cert-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.cert .kicker { color: #86868b; }
.cert .kicker .dot { background: var(--neon); }
.cert h2 { color: #f5f5f7; margin-bottom: 24px; }
.cert-copy > p { color: #a1a1a6; font-size: 17px; line-height: 1.6; margin-bottom: 30px; max-width: 480px; }
.cert .link-arrow { color: var(--neon); }
.cert .link-arrow:hover { text-decoration: underline; }

.cert-facts { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cert-facts li {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.cert-facts .no {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--neon);
  padding-top: 3px;
  flex: none;
}
.cert-facts h3 { font-size: 17px; font-weight: 600; color: #f5f5f7; margin-bottom: 4px; }
.cert-facts p { font-size: 13.5px; color: #86868b; }

/* ---------- Services ---------- */

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

.service-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--tile);
  border: 1px solid var(--line-soft);
  padding: 38px 34px 34px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .4s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-primary-line);
  box-shadow: 0 14px 40px var(--glow);
}

.service-card .no {
  position: absolute;
  top: 38px;
  right: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
}
.service-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.55; margin-bottom: 24px; }
.service-card .link-arrow { margin-top: auto; font-size: 15px; }

/* ---------- Trips banner ---------- */

.trips { padding: 0 0 120px; }

.trip-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line-soft);
}
.trip-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.trip-banner:hover img { transform: scale(1.03); }

.trip-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.3) 48%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
}

.trip-content {
  position: relative;
  z-index: 1;
  padding: 56px;
  max-width: 620px;
}
.trip-content .kicker { color: #d2d2d7; }
.trip-content .kicker .dot { background: var(--neon); }
.trip-content h2 { color: #f5f5f7; font-size: clamp(30px, 3.4vw, 44px); }
.trip-content > p { color: rgba(245, 245, 247, 0.78); font-size: 16px; margin-bottom: 24px; max-width: 480px; }

.trip-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.trip-tags span {
  font-size: 13px;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 980px;
  padding: 5px 14px;
}

/* ---------- Contact ---------- */

.contact { padding: 0 0 120px; }

.contact-panel {
  border-radius: var(--radius);
  background: var(--tile);
  border: 1px solid var(--line-soft);
  padding: clamp(40px, 5.5vw, 76px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  transition: background .4s;
}

.contact-head .kicker { margin-bottom: 12px; }
.contact-head h2 { margin-bottom: 14px; }
.contact-head > p { color: var(--muted); font-size: 17px; margin-bottom: 30px; max-width: 420px; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-info {
  display: grid;
  gap: 26px;
  align-content: start;
  border-left: 1px solid var(--line);
  padding-left: 56px;
}
.info-item h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin-bottom: 7px;
}
.info-item p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.info-item a { color: var(--neon-ink); }
.info-item a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer);
  border-top: 1px solid var(--line);
  padding: 48px 0 0;
  font-size: 12px;
  color: var(--muted);
  transition: background .4s;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  padding-bottom: 40px;
}

.footer-brand .brand-logo { height: 32px; }
.footer-brand .brand-text strong { font-size: 14px; }
.footer-brand p { margin-top: 16px; color: var(--dim); font-size: 12.5px; letter-spacing: 0.04em; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-content: start;
  padding-top: 4px;
}
.footer-nav a { font-size: 12.5px; color: var(--muted); transition: color .2s; }
.footer-nav a:hover { color: var(--neon-ink); text-decoration: underline; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
}
.footer-bottom p { font-size: 12px; color: var(--dim); line-height: 1.6; }
.footer-bottom .icp { color: var(--muted); }

/* ---------- One-screen paging ---------- */

.screen { position: relative; }
.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 88% 6%, rgba(101, 163, 13, 0.07), transparent 70%),
    radial-gradient(46% 40% at 6% 96%, rgba(13, 148, 136, 0.06), transparent 72%);
}
html[data-theme="dark"] .screen::before {
  background:
    radial-gradient(58% 46% at 88% 6%, rgba(200, 255, 0, 0.06), transparent 70%),
    radial-gradient(46% 40% at 6% 96%, rgba(57, 255, 160, 0.05), transparent 72%);
}
.hero::before, .trips::before { display: none; }
.screen:not(.hero) > * { position: relative; z-index: 1; }

html:not(.paged) { scroll-snap-type: y proximity; }
html:not(.paged) .screen {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 64px;
}
html:not(.paged) .hero { scroll-margin-top: 0; }

html.paged { scroll-snap-type: none; scroll-behavior: auto; }
html.paged .screen:not(.hero) {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
html.paged .section { padding: clamp(56px, 8vh, 96px) 0; }
html.paged .about { padding: clamp(48px, 7vh, 84px) 0; }
html.paged .about .stats-band { margin-bottom: clamp(24px, 4vh, 44px); }
html.paged .hero-stats { padding: clamp(14px, 2.4vh, 26px) 0; }
html.paged .section h2 { font-size: clamp(30px, 5.4vh, 50px); }
html.paged .section-head { margin-bottom: clamp(26px, 4.4vh, 56px); }
html.paged .section-sub { font-size: clamp(15px, 2.3vh, 19px); }
html.paged .about-grid { gap: clamp(32px, 4.5vw, 72px); }
html.paged .about-copy h2 { margin-bottom: clamp(14px, 2.6vh, 28px); }
html.paged .about-copy > p { font-size: clamp(14px, 2vh, 17px); margin-bottom: clamp(10px, 1.7vh, 16px); }
html.paged .about-copy .slogan { margin-top: clamp(14px, 2.6vh, 26px); }
html.paged .about-card { padding: clamp(22px, 3.4vh, 42px) clamp(24px, 2.8vw, 38px); }
html.paged .bento { gap: clamp(12px, 1.9vh, 20px); }
html.paged .bento-card { padding: clamp(18px, 3vh, 38px) clamp(20px, 2.6vw, 34px); }
html.paged .timeline { margin-bottom: clamp(30px, 5vh, 72px); }
html.paged .tl-item .dot {
  width: clamp(42px, 6vh, 54px);
  height: clamp(42px, 6vh, 54px);
  margin-bottom: clamp(12px, 2vh, 20px);
}
html.paged .direction-card { padding: clamp(14px, 2.4vh, 28px) clamp(16px, 1.9vw, 24px); }
html.paged .systems-row { padding: clamp(12px, 2.2vh, 26px) 8px; }
html.paged .cert { padding: clamp(56px, 8vh, 110px) 0; }
html.paged .cert-facts li { padding: clamp(14px, 2.4vh, 24px) 0; }
html.paged .service-card { padding: clamp(20px, 3.2vh, 38px) clamp(22px, 2.6vw, 34px) clamp(18px, 3vh, 34px); }
html.paged .trips { display: flex; padding: clamp(56px, 8vh, 96px) 0; }
html.paged .trips .wrap { flex: 1; display: flex; }
html.paged .trip-banner { flex: 1; min-height: 0; }
html.paged .screen.screen-end { justify-content: flex-end; }
html.paged .screen-end .contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vh, 84px) 0 clamp(24px, 4vh, 48px);
}
html.paged .contact-panel { padding: clamp(26px, 4.6vh, 76px); }
html.paged .site-footer { padding-top: clamp(22px, 3.4vh, 48px); }
html.paged .footer-grid { padding-bottom: clamp(18px, 3vh, 40px); }

@media (min-width: 901px) and (max-width: 1080px) {
  html.paged .timeline { grid-template-columns: repeat(6, 1fr); row-gap: 0; }
  html.paged .timeline::before { display: block; }
  html.paged .tl-item h3 { font-size: 15px; }
  html.paged .tl-item p { font-size: 12px; }
  html.paged .direction-grid { grid-template-columns: repeat(5, 1fr); }
  html.paged .direction-card { padding: 12px 14px; }
  html.paged .direction-card p { font-size: 11.5px; }
}

@media (min-width: 901px) and (max-height: 860px) {
  html.paged .hero-stats { padding: 12px 0; }
  html.paged .hero-stats strong { font-size: 26px; }
  html.paged .hero-stats strong.txt { font-size: 19px; padding: 4px 0 5px; }
  html.paged .hero-stats span { font-size: 12px; line-height: 1.45; }
  html.paged .about .stats-band { margin-bottom: 20px; }
  html.paged .about-logo { height: 104px; width: auto; }
  html.paged .about-list li { padding: 8px 0; }
  html.paged .about-card { padding: 20px 26px; }
  html.paged .about-copy > p { line-height: 1.55; }
  html.paged .section-head { margin-bottom: 20px; }
  html.paged .timeline { margin-bottom: 24px; }
  html.paged .systems-row { padding: 10px 8px; }
}

.nav a[aria-current="true"] { color: var(--neon-ink); }
html[data-theme="dark"] .nav a[aria-current="true"] { color: var(--neon); }

.pager {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 13px;
}
html.paged .pager { display: flex; }
.pager button {
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.pager button::after {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translate(6px, -50%);
  padding: 4px 12px;
  border-radius: 980px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
}
.pager button:hover::after, .pager button:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.pager button:hover { border-color: var(--neon-strong); }
.pager button.is-active {
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 12px var(--glow);
  transform: scale(1.3);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .direction-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .timeline::before { display: none; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 44px; }
  .cert-grid { gap: 48px; }
  .hc-caption { max-width: 34vw; }
}

/* Tablet & phone: photo-first hero, compact cards, natural scrolling */
@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .theme-toggle { margin-left: auto; }
  .nav-toggle { display: flex; margin-left: 0; }
  .site-header.menu-open .mobile-menu { display: flex; }

  .hero { min-height: 0; display: block; background: var(--bg); }
  .hero-bg { position: relative; inset: auto; margin-top: 52px; aspect-ratio: 4 / 3; overflow: hidden; }
  .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--img, none) center / cover no-repeat;
    filter: blur(26px) brightness(.55) saturate(1.15);
    transform: scale(1.2);
  }
  .hero-slide img { position: relative; z-index: 1; object-fit: contain; transform: none; }
  .hero-slide.is-active img { animation: none; }
  .hero-slide[data-bright] img { filter: none; }
  .hero-scrim { display: none; }
  .hero-bubbles { inset: 52px 0 auto 0; height: 75vw; }
  .bubble { animation-name: rise-m; }

  .hero-inner {
    flex: none;
    width: calc(100% - 40px);
    padding: 24px 0 6px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }
  .hero-eyebrow { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
  .hero h1 { font-size: clamp(30px, 7.4vw, 44px); color: var(--ink); text-shadow: none; margin-bottom: 12px; }
  .hero .grad { background: linear-gradient(96deg, var(--grad-a) 0%, var(--grad-b) 100%); -webkit-background-clip: text; background-clip: text; }
  .hero-sub { font-size: 14px; color: var(--ink); opacity: .88; text-shadow: none; margin-bottom: 8px; }
  .hero-desc { font-size: 14px; color: var(--muted); line-height: 1.65; text-shadow: none; margin-bottom: 18px; max-width: none; }
  .hero-actions { justify-content: flex-start; gap: 16px; }
  .hero .btn-primary { background: var(--glass-primary); border-color: var(--glass-primary-line); color: var(--primary-ink); }
  .hero .btn-primary:hover { border-color: var(--neon-strong); color: var(--primary-ink); box-shadow: inset 0 1px 0 var(--glass-hi), 0 6px 26px var(--glow); }
  .hero .link-arrow { color: var(--neon-ink); font-size: 14px; }
  .hero .link-arrow:hover { color: var(--neon-strong); }

  .hero-carousel-ui { top: calc(52px + 75vw - 33px); bottom: auto; gap: 10px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45)); }
  .hc-dots { gap: 7px; }
  .hc-dot { background: rgba(255, 255, 255, .55); }
  .hc-dot.is-active { width: 24px; }
  .hc-caption { left: 12px; top: 64px; bottom: auto; transform: none; max-width: calc(100vw - 110px); padding: 6px 12px; background: rgba(10, 14, 8, .55); }
  .hc-caption.swap { animation: cap-in .5s var(--ease); }
  .hc-caption strong { font-size: 12px; }
  .hc-caption span { font-size: 10px; }
  .hc-count {
    display: block !important;
    right: 12px;
    top: 64px;
    bottom: auto;
    font-size: 11px;
    color: #f5f5f7;
    padding: 5px 10px;
    border-radius: 980px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(10, 14, 8, .55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .section { padding: clamp(44px, 7vw, 72px) 0; }
  .kicker { font-size: clamp(12px, 1.8vw, 15px); margin-bottom: 8px; }
  .section h2 { font-size: clamp(24px, 4.6vw, 34px); margin-bottom: 10px; }
  .section-head { margin-bottom: clamp(20px, 3.4vw, 32px); }
  .section-sub { font-size: clamp(13px, 2vw, 16px); }

  .about { padding-top: 0; }
  .about .stats-band { margin-bottom: clamp(24px, 4vw, 40px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 16px; padding: 22px 0; }
  .hero-stats li { padding: 2px 20px; }
  .hero-stats li:nth-child(odd) { border-left: none; padding-left: 0; }
  .hero-stats strong { font-size: clamp(26px, 4.6vw, 34px); margin-bottom: 4px; }
  .hero-stats strong.txt { font-size: clamp(15px, 2.6vw, 19px); padding: 5px 0 6px; }
  .hero-stats span { font-size: 12px; line-height: 1.5; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-copy h2 { margin-bottom: 14px; }
  .about-copy > p { font-size: clamp(13.5px, 2vw, 16px); line-height: 1.7; margin-bottom: 12px; }
  .about-copy .slogan { margin-top: 16px; font-size: 14px; letter-spacing: .08em; }
  .about-card { max-width: none; padding: 20px 22px; border-radius: 20px; }
  .about-logo { width: 108px; margin-bottom: 12px; }
  .about-card-title { font-size: 16px; margin-bottom: 12px; }
  .about-list li { padding: 9px 0; font-size: 13px; gap: 10px; }
  .about-systems { margin-top: 14px; gap: 6px; }
  .about-systems b { font-size: 10.5px; padding: 3px 9px; }

  .values, .courses { padding-top: 0; }
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .span3, .span2 { grid-column: auto; }
  .bento-card:nth-child(3) { grid-column: 1 / -1; }
  .bento-card { padding: clamp(14px, 2.6vw, 24px) clamp(14px, 2.4vw, 22px); border-radius: 18px; }
  .icon-box { width: clamp(32px, 4.6vw, 42px); height: clamp(32px, 4.6vw, 42px); border-radius: 10px; margin-bottom: 10px; }
  .icon-box svg { width: clamp(17px, 2.6vw, 22px); height: clamp(17px, 2.6vw, 22px); }
  .bento-card h3 { font-size: clamp(15px, 2.4vw, 19px); margin-bottom: 5px; }
  .bento-card p { font-size: clamp(12px, 1.8vw, 14px); line-height: 1.55; }
  .pill-line { gap: 6px; }
  .pill-line span { font-size: 11.5px; padding: 2px 10px; }

  .timeline { grid-template-columns: 1fr; gap: 0; margin-bottom: clamp(26px, 4.4vw, 44px); }
  .tl-item { display: grid; grid-template-columns: clamp(38px, 6vw, 50px) 1fr; column-gap: 14px; padding-bottom: clamp(14px, 2.6vw, 24px); }
  .tl-item::before {
    content: "";
    position: absolute;
    left: calc(clamp(38px, 6vw, 50px) / 2 - .5px);
    top: calc(clamp(38px, 6vw, 50px) + 4px);
    bottom: 2px;
    width: 1px;
    background: var(--line);
  }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-item:last-child::before { display: none; }
  .tl-item .dot {
    grid-row: span 4;
    margin-bottom: 0;
    width: clamp(38px, 6vw, 50px);
    height: clamp(38px, 6vw, 50px);
    font-size: 14px;
    box-shadow: 0 0 0 4px var(--dot-ring);
  }
  .tl-item h3 { font-size: clamp(14px, 2.2vw, 17px); }
  .tl-item em { font-size: 9.5px; margin-bottom: 4px; }
  .tl-item p { font-size: clamp(11.5px, 1.8vw, 13px); }
  .direction-head { margin-bottom: 14px; gap: 10px; }
  .direction-head h3 { font-size: 18px; }
  .direction-head p { font-size: 12px; }
  .direction-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); }
  .direction-card { padding: 14px 16px; border-radius: 16px; }
  .direction-card:last-child { grid-column: 1 / -1; }
  .direction-card em { font-size: 9.5px; margin-bottom: 6px; }
  .direction-card h4 { font-size: 14px; margin-bottom: 4px; }
  .direction-card p { font-size: 11.5px; line-height: 1.5; }
  .systems-row { flex-wrap: wrap; justify-content: center; gap: 10px 16px; padding: 14px 4px; }
  .systems-row i { display: none; }
  .systems-row span { font-size: 12px; letter-spacing: .1em; }

  .cert { padding: clamp(40px, 6.4vw, 64px) 0; }
  .cert-grid { grid-template-columns: 1fr; gap: 24px; }
  .cert h2 { margin-bottom: 12px; }
  .cert-copy > p { font-size: 13.5px; line-height: 1.65; margin-bottom: 14px; max-width: none; }
  .cert-facts li { padding: 13px 0; gap: 14px; }
  .cert-facts h3 { font-size: 15px; }
  .cert-facts p { font-size: 12.5px; }

  .service-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card {
    display: grid;
    grid-template-columns: clamp(34px, 5vw, 44px) 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px 18px;
    border-radius: 18px;
  }
  .service-card .icon-box { grid-row: 1 / span 3; margin-bottom: 0; }
  .service-card .no { top: 14px; right: 16px; font-size: 11px; }
  .service-card h3 { font-size: 16px; margin-bottom: 4px; }
  .service-card p { font-size: 13px; margin-bottom: 8px; }
  .service-card .link-arrow { font-size: 13px; }

  .trips { padding: 0 0 clamp(40px, 6.4vw, 64px); }
  .trip-banner { display: block; min-height: 0; border-radius: 20px; }
  .trip-banner img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .trip-banner:hover img { transform: none; }
  .trip-overlay { display: none; }
  .trip-content { padding: 18px 20px 20px; max-width: none; background: var(--tile); }
  .trip-content .kicker { color: var(--muted); }
  .trip-content .kicker .dot { background: var(--neon-strong); }
  html[data-theme="dark"] .trip-content .kicker .dot { background: var(--neon); }
  .trip-content h2 { color: var(--ink); font-size: clamp(21px, 3.4vw, 28px); margin-bottom: 8px; }
  .trip-content > p { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 14px; max-width: none; }
  .trip-tags { gap: 6px; margin-bottom: 16px; }
  .trip-tags span { font-size: 11.5px; color: var(--ink); border-color: var(--line); background: var(--tile-2); padding: 3px 10px; }

  .contact { padding: 0 0 clamp(36px, 5.6vw, 56px); }
  .contact-panel { grid-template-columns: 1fr; gap: 22px; padding: clamp(20px, 3.6vw, 36px); border-radius: 20px; }
  .contact-head h2 { margin-bottom: 10px; }
  .contact-head > p { font-size: 13.5px; margin-bottom: 16px; max-width: none; }
  .contact-actions { gap: 10px; }
  .contact-info {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .contact-info .info-item:first-child { grid-column: 1 / -1; }
  .info-item h3 { font-size: 11px; margin-bottom: 4px; }
  .info-item p { font-size: 13px; line-height: 1.6; }

  .site-footer { padding-top: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 22px; }
  .footer-brand p { margin-top: 8px; }
  .footer-nav { gap: 6px 16px; }
  .footer-bottom { padding: 14px 0 18px; }
}

@keyframes rise-m {
  0%   { transform: translate3d(0, 0, 0) scale(.85); opacity: 0; }
  10%  { opacity: var(--o, .4); }
  70%  { opacity: var(--o, .4); }
  100% { transform: translate3d(var(--drift, 30px), -78vw, 0) scale(1.06); opacity: 0; }
}

@media (max-width: 640px) {
  html:not(.paged) { scroll-snap-type: none; }
  .wrap { width: calc(100% - 32px); }
  .hero-inner { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(28px, 8.6vw, 36px); }
  .hero-actions { gap: 12px; }
  .btn { font-size: 15px; padding: 10px 20px; }
  .link-arrow { font-size: 14px; }
  .hero-stats strong { font-size: 26px; }
  .hero-stats strong.txt { font-size: 15px; padding: 4px 0 5px; }
  .hero-stats span { font-size: 11.5px; }
  .section-head { text-align: left; }
  .section-sub { margin-inline: 0; }
  .contact-info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-bottom p { font-size: 10.5px; }
  .brand-text strong { font-size: 12.5px; }
  .site-footer .brand-text em { font-size: 8px; }
  .mobile-menu a:not(.btn) { font-size: 16px; padding: 12px 2px; }
}

@media (max-width: 400px) {
  .hero-actions { display: grid; grid-template-columns: auto auto; gap: 12px 18px; justify-content: start; align-items: center; }
  .hero-actions .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bubble { animation: none !important; }
  .hero-slide.is-active img { animation: none; transform: scale(1); }
  .hc-dot.is-active::after { animation: none; transform: scaleX(1); }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Focus ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--neon-strong);
  outline-offset: 3px;
  border-radius: 6px;
}
html[data-theme="dark"] a:focus-visible,
html[data-theme="dark"] button:focus-visible { outline-color: var(--neon); }
