:root {
  --bg: #edf4f0;
  --bg-soft: #f6faf7;
  --surface: rgba(252, 255, 253, 0.9);
  --surface-strong: #fdfefd;
  --line: rgba(16, 64, 58, 0.12);
  --line-strong: rgba(16, 64, 58, 0.2);
  --text: #163731;
  --muted: #5f766f;
  --muted-strong: #39514b;
  --accent: #369687;
  --accent-deep: #1f6f63;
  --accent-soft: rgba(54, 150, 135, 0.12);
  --accent-soft-strong: rgba(54, 150, 135, 0.18);
  --success: #4b8268;
  --danger: #a24848;
  --shadow-xl: 0 28px 80px rgba(22, 55, 49, 0.16);
  --shadow-lg: 0 18px 48px rgba(22, 55, 49, 0.12);
  --shadow-md: 0 10px 26px rgba(22, 55, 49, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --page-x: clamp(18px, 4vw, 42px);
  --max: 1180px;
  --nav-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font-sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(54, 150, 135, 0.16), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(130, 177, 159, 0.15), transparent 18%),
    linear-gradient(180deg, #e8f1ed 0%, #eef5f1 32%, #f7faf8 100%);
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

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

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

.content-missing {
  opacity: 0.72;
}

.hidden {
  display: none !important;
}

main {
  position: relative;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: #f7fcfa;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 30, 28, 0.36) 0%, rgba(8, 30, 28, 0.18) 20%, rgba(8, 30, 28, 0.48) 100%),
    linear-gradient(90deg, rgba(9, 41, 38, 0.82) 0%, rgba(9, 41, 38, 0.54) 42%, rgba(9, 41, 38, 0.22) 100%);
}

.hero-topbar,
.hero-inner,
.section,
.bnav {
  position: relative;
  z-index: 2;
}

.hero-topbar,
.hero-inner,
.section {
  width: min(var(--max), calc(100vw - (var(--page-x) * 2)));
  margin: 0 auto;
}

.hero-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-top: calc(20px + var(--safe-t));
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
  letter-spacing: 0.08em;
}

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

.brand-kicker,
.hero-eyebrow,
.section-label,
.hero-side-kicker,
.hero-primary-kicker,
.detail-tag,
.pick-type {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-kicker,
.hero-eyebrow,
.hero-side-kicker {
  color: rgba(247, 252, 250, 0.74);
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
}

.hero-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.weather-chip,
.lang-picker {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(247, 252, 250, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.weather-chip {
  gap: 10px;
  padding: 0 16px;
}

.weather-chip-icon {
  color: rgba(247, 252, 250, 0.8);
}

.weather-chip-temp {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
}

.weather-chip-place {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 252, 250, 0.72);
}

.lang-picker {
  padding: 0 12px;
}

.lang-picker-select {
  appearance: none;
  border: 0;
  background: transparent;
  color: #f7fcfa;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
}

.hero-inner {
  min-height: calc(100svh - 86px - var(--safe-t));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  padding: 54px 0 calc(92px + var(--safe-b));
}

.hero-copy {
  max-width: 720px;
}

.hero-heading {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 8vw, 6.7rem);
  line-height: 0.88;
  font-weight: 600;
  letter-spacing: -0.04em;
  max-width: 9.6ch;
}

.hero-lead,
.hero-meta,
.section-text,
.gate-intro,
.gate-hint,
.open-sub,
.detail-value p,
.host-note,
.pick-text,
.gate-status-text,
.gate-fallback,
.gate-error-msg {
  color: rgba(247, 252, 250, 0.84);
  line-height: 1.7;
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 57ch;
  font-size: clamp(1rem, 1.8vw, 1.08rem);
}

.hero-meta {
  margin: 12px 0 0;
  max-width: 48ch;
  color: rgba(247, 252, 250, 0.66);
}

.hero-apartments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.apartment-pill {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(247, 252, 250, 0.1);
  border: 1px solid rgba(247, 252, 250, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.apartment-name {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.apartment-text {
  display: block;
  margin-top: 6px;
  color: rgba(247, 252, 250, 0.74);
  line-height: 1.55;
}

.hero-primary {
  margin-top: 26px;
  display: inline-grid;
  gap: 4px;
  min-width: 260px;
  padding: 16px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #f6fffc;
  box-shadow: var(--shadow-xl);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-primary:hover {
  transform: translateY(-1px);
}

.hero-primary-kicker {
  color: rgba(246, 255, 252, 0.72);
}

.hero-primary-label {
  font-size: 1.08rem;
  font-weight: 700;
}

.hero-side {
  align-self: center;
  justify-self: end;
  width: min(100%, 320px);
  display: grid;
  gap: 18px;
}

.hero-side-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(247, 252, 250, 0.04), rgba(247, 252, 250, 0.54), rgba(247, 252, 250, 0.04));
}

.hero-side-copy {
  padding-left: 18px;
  border-left: 1px solid rgba(247, 252, 250, 0.18);
}

.hero-side-title {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
}

.hero-side-text {
  margin: 10px 0 0;
  color: rgba(247, 252, 250, 0.72);
  line-height: 1.7;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(18px + var(--safe-b));
  transform: translateX(-50%);
  color: rgba(247, 252, 250, 0.68);
  animation: cueBob 2.3s ease-in-out infinite;
}

.hero-clock {
  position: absolute;
  left: var(--page-x);
  bottom: calc(24px + var(--safe-b));
  z-index: 3;
  display: inline-grid;
  gap: 2px;
  min-width: 112px;
  padding: 12px 16px 11px;
  border-radius: 18px;
  border: 1px solid rgba(247, 252, 250, 0.16);
  background: rgba(247, 252, 250, 0.12);
  color: #f7fcfa;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.hero-clock-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 252, 250, 0.68);
}

.hero-clock-time {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section {
  padding: 86px 0 0;
}

.section-last {
  padding-bottom: calc(70px + var(--nav-h) + var(--safe-b));
}

.section-head {
  max-width: 760px;
}

.section-label {
  color: var(--accent-deep);
  font-weight: 800;
}

.section-title {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-text {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 58ch;
}

.gate-panel {
  margin-top: 28px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 248, 0.96)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.gate-panel-copy {
  max-width: 720px;
}

.gate-status-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.gate-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(54, 150, 135, 0.45);
}

.gate-dot.closed {
  background: var(--accent-deep);
}

.gate-dot.unknown {
  background: rgba(54, 150, 135, 0.48);
}

.gate-dot.opening {
  background: var(--accent);
  animation: pulseDot 1.2s ease-in-out infinite;
}

.gate-dot.open {
  background: var(--success);
}

.gate-status-text {
  color: var(--muted-strong);
}

.gate-heading {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  font-weight: 600;
}

.gate-intro,
.gate-hint,
.open-sub,
.detail-value p,
.host-note,
.pick-text,
.gate-error-msg {
  color: var(--muted);
}

.gate-intro {
  margin: 10px 0 0;
  max-width: 54ch;
}

.gate-view {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 28px 0 8px;
  animation: viewIn 0.28s ease-out;
}

.slider-visual {
  position: relative;
  width: min(100%, 680px);
  height: 168px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(54, 150, 135, 0.06), rgba(54, 150, 135, 0.02)),
    var(--bg-soft);
  border: 1px solid rgba(54, 150, 135, 0.12);
  overflow: hidden;
}

.slider-track {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 34px;
  height: 6px;
  border-radius: 999px;
  background: rgba(34, 94, 86, 0.14);
}

.slider-post {
  position: absolute;
  top: 30px;
  bottom: 34px;
  width: 8px;
  border-radius: 999px;
  background: rgba(24, 55, 49, 0.22);
}

.slider-post-left {
  left: 44px;
}

.slider-post-right {
  right: 44px;
}

.slider-panel {
  position: absolute;
  top: 44px;
  bottom: 46px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.slider-panel-back {
  left: 110px;
  width: 210px;
  background:
    linear-gradient(180deg, rgba(54, 150, 135, 0.1), rgba(54, 150, 135, 0.03)),
    #eef6f3;
  border: 1px solid rgba(54, 150, 135, 0.1);
}

.slider-panel-front {
  left: 240px;
  width: 250px;
  background:
    linear-gradient(180deg, rgba(42, 126, 113, 0.92), rgba(31, 111, 99, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.slider-panel-front::before,
.slider-panel-back::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 12px,
      rgba(255, 255, 255, 0.04) 12px,
      rgba(255, 255, 255, 0.04) 26px
    );
}

.slider-opening .slider-panel-front {
  animation: slideGate 1.8s ease-in-out infinite alternate;
}

.slider-open .slider-panel-front {
  transform: translateX(120px);
}

.pin-wrap {
  position: relative;
  width: min(100%, 360px);
  cursor: text;
}

.pin-boxes {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.pin-box {
  width: 48px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.pin-box.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(54, 150, 135, 0.12);
  transform: translateY(-1px);
}

.pin-box.filled {
  border-color: rgba(22, 55, 49, 0.28);
}

.pin-real {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  caret-color: transparent;
}

.gate-cta,
.host-btn {
  border-radius: 999px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.gate-cta {
  width: min(100%, 360px);
  min-height: 56px;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #f7fcfa;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.gate-cta:hover:not(:disabled),
.host-btn:hover {
  transform: translateY(-1px);
}

.gate-cta:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.gate-opening-label,
.open-title {
  font-family: var(--font-serif);
}

.gate-opening-label {
  font-size: 2rem;
  color: var(--accent-deep);
}

.open-title {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
  text-align: center;
}

.gate-fallback {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}

.gate-fallback a {
  font-weight: 700;
  color: var(--accent-deep);
}

.details-sheet,
.rules-list,
.hosts-list,
.picks-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.detail-row,
.rule-row,
.host-row,
.pick-row {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.rule-row {
  align-items: start;
}

.rule-index {
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rule-title {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.rule-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-tag,
.pick-type {
  color: var(--accent-deep);
  font-weight: 800;
}

.detail-key strong,
.pick-title,
.host-name {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.detail-value strong {
  display: block;
  font-size: 1.02rem;
}

.detail-value p {
  margin: 6px 0 0;
  max-width: 58ch;
}

.info-code {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.copy-btn {
  margin-left: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.copy-btn.copied {
  border-color: rgba(75, 130, 104, 0.3);
  color: var(--success);
}

.host-row {
  align-items: center;
}

.host-note {
  margin: 6px 0 0;
}

.host-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.host-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent-deep);
  font-weight: 700;
}

.host-btn.disabled {
  border-color: var(--line-strong);
  color: var(--muted);
  background: transparent;
  cursor: default;
  pointer-events: none;
}

.host-btn-alt {
  background: var(--accent-soft);
  border-color: transparent;
}

.contact-email {
  margin-top: 18px;
}

.contact-email a {
  color: var(--muted);
}

.pick-row {
  align-items: start;
}

.pick-text {
  margin: 8px 0 0;
  max-width: 52ch;
}

.bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0;
  min-height: calc(var(--nav-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: rgba(247, 252, 250, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid transparent;
  transition: background 0.24s ease, border-color 0.24s ease;
}

.bnav.solid {
  background: rgba(247, 252, 250, 0.95);
  border-top-color: var(--line);
}

.bnav-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: rgba(22, 55, 49, 0.46);
  padding: 8px 6px;
  cursor: pointer;
}

.bnav-item span {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bnav-item.active {
  color: var(--accent-deep);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(0, -8px, 0);
  }
}

@keyframes cueBob {
  0%, 100% {
    opacity: 0.7;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.28;
    transform: translateX(-50%) translateY(5px);
  }
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.35);
  }
}

@keyframes slideGate {
  from {
    transform: translateX(18px);
  }
  to {
    transform: translateX(120px);
  }
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-side {
    justify-self: start;
    width: min(100%, 420px);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    color: var(--text);
    background: linear-gradient(180deg, #eef5f1 0%, #f7faf8 100%);
  }

  .hero-image,
  .hero-wash {
    inset: 0 0 auto;
    height: min(60svh, 460px);
  }

  .hero-image {
    transform: none;
    animation: none;
    object-position: center 42%;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(7, 30, 27, 0.26) 0%, rgba(7, 30, 27, 0.1) 38%, rgba(7, 30, 27, 0.48) 100%),
      linear-gradient(180deg, rgba(9, 41, 38, 0) 40%, rgba(9, 41, 38, 0.1) 100%);
  }

  .hero-topbar {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 4;
    width: min(var(--max), calc(100vw - (var(--page-x) * 2)));
    margin: 0;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: calc(18px + var(--safe-t));
  }

  .hero-tools {
    justify-content: space-between;
  }

  .weather-chip {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-copy {
    max-width: 76vw;
  }

  .weather-chip,
  .lang-picker,
  .hero-clock {
    background: rgba(247, 252, 250, 0.14);
    border-color: rgba(247, 252, 250, 0.18);
  }

  .hero-inner {
    min-height: 0;
    display: block;
    width: min(var(--max), calc(100vw - (var(--page-x) * 2)));
    padding: calc(min(60svh, 460px) + 26px) 0 calc(40px + var(--safe-b));
  }

  .hero-heading {
    max-width: 8ch;
    margin-top: 10px;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
    line-height: 0.94;
    color: var(--text);
  }

  .hero-eyebrow,
  .hero-side-kicker {
    color: var(--accent-deep);
  }

  .hero-lead,
  .hero-meta {
    color: var(--muted);
  }

  .hero-apartments {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .apartment-pill {
    background: rgba(255, 255, 255, 0.86);
    border-color: var(--line);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--shadow-md);
  }

  .apartment-name {
    color: var(--text);
  }

  .apartment-text {
    color: var(--muted);
  }

  .hero-primary {
    width: 100%;
    min-width: 0;
    margin-top: 22px;
  }

  .hero-side {
    width: auto;
    margin-top: 26px;
    gap: 12px;
    color: var(--text);
  }

  .hero-side-line {
    background: linear-gradient(90deg, rgba(31, 111, 99, 0.05), rgba(31, 111, 99, 0.28), rgba(31, 111, 99, 0.05));
  }

  .hero-side-copy {
    padding-left: 14px;
    border-left-color: rgba(31, 111, 99, 0.16);
  }

  .hero-side-title {
    color: var(--text);
    font-size: 1.7rem;
  }

  .hero-side-text {
    color: var(--muted);
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-top: 72px;
  }

  .hero-clock {
    left: var(--page-x);
    top: calc(min(60svh, 460px) - 88px);
    bottom: auto;
    min-width: 102px;
    padding: 10px 14px 9px;
  }

  .detail-row,
  .rule-row,
  .host-row,
  .pick-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .slider-visual {
    height: 140px;
  }

  .slider-post-left {
    left: 24px;
  }

  .slider-post-right {
    right: 24px;
  }

  .slider-track {
    left: 24px;
    right: 24px;
  }

  .slider-panel-back {
    left: 60px;
    width: 120px;
  }

  .slider-panel-front {
    left: 110px;
    width: 150px;
  }

  .slider-open .slider-panel-front {
    transform: translateX(64px);
  }

  @keyframes slideGate {
    from {
      transform: translateX(12px);
    }
    to {
      transform: translateX(64px);
    }
  }
}

@media (max-width: 520px) {
  .hero-image,
  .hero-wash {
    height: min(54svh, 360px);
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-inner {
    padding-top: calc(min(54svh, 360px) + 22px);
    padding-bottom: calc(32px + var(--safe-b));
  }

  .hero-primary {
    width: 100%;
  }

  .hero-clock {
    top: calc(min(54svh, 360px) - 82px);
  }

  .hero-tools {
    gap: 8px;
  }

  .weather-chip {
    padding: 0 13px;
  }

  .weather-chip-temp {
    font-size: 1.55rem;
  }

  .pin-box {
    width: 42px;
    height: 54px;
    font-size: 1.35rem;
  }

  .pin-boxes {
    gap: 8px;
  }

  .host-actions {
    width: 100%;
  }

  .host-btn {
    flex: 1 1 0;
    min-width: 0;
  }
}
