:root {
  --bg: #e9f1f3;
  --bg-2: #d7e8ec;
  --ink: #10242b;
  --muted: #4d6670;
  --line: rgba(16, 36, 43, 0.12);
  --ocean: #0b6e7a;
  --ocean-deep: #084f58;
  --foam: #7fd0c7;
  --copper: #c65d2f;
  --steel: #2a3f4a;
  --surface: rgba(255, 255, 255, 0.72);
  --display: "Black Han Sans", "Space Grotesk", sans-serif;
  --sans: "Noto Sans KR", "Space Grotesk", sans-serif;
  --mono: "Space Grotesk", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(127, 208, 199, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(198, 93, 47, 0.12), transparent 45%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 40%, #f3f7f8);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 400;
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(233, 241, 243, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.logo-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.2rem 0.85rem 0.2rem 0.85rem;
  background: linear-gradient(135deg, var(--ocean), var(--foam));
  animation: spin-soft 10s linear infinite;
}

.logo-text {
  font-family: var(--display);
  font-size: 1.15rem;
}

.nav {
  display: flex;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--steel);
}

.nav a:hover {
  color: var(--ocean-deep);
}

.header-cta {
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-cta:hover {
  background: var(--ink);
  color: #fff;
}

/* Hero — full-bleed slide banner (3 images) */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 7.5rem clamp(1rem, 4vw, 2.5rem) 4.5rem;
  overflow: hidden;
  color: #f4fbfb;
  background: #08343a;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 6s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(115deg, rgba(8, 52, 58, 0.88) 0%, rgba(11, 110, 122, 0.52) 48%, rgba(16, 36, 43, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 52, 58, 0.35) 0%, transparent 40%, rgba(8, 52, 58, 0.45) 100%);
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 3;
  width: 100%;
  height: 140px;
  fill: var(--bg);
  pointer-events: none;
}

.hero-controls {
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: 8.5rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-nav {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(8, 52, 58, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-nav:hover {
  background: rgba(8, 52, 58, 0.75);
  border-color: #fff;
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  padding: 0 0.25rem;
}

.hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 1.5rem;
  background: var(--foam);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 40rem;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: clamp(0.78rem, 1.5vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--foam);
}

.hero h1 {
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  margin: 0 0 0.35em;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  animation: rise-in 0.9s ease both;
}

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(244, 251, 251, 0.9);
  max-width: 28rem;
  margin-bottom: 1.6rem;
  animation: rise-in 0.9s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
  animation: rise-in 0.9s ease 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--copper);
  color: #fff;
}

.btn-solid:hover {
  background: #a84c25;
}

.btn-line {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-line:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  animation: rise-in 0.9s ease 0.32s both;
}

.hero-meta dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.25rem;
}

.hero-meta dd {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Stats strip */
.strip {
  width: min(100% - 2rem, var(--max));
  margin: -1.5rem auto 0;
  position: relative;
  z-index: 2;
}

.strip ul {
  list-style: none;
  margin: 0;
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.strip li {
  text-align: center;
}

.strip strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--ocean-deep);
  line-height: 1.1;
}

.strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 1rem;
}

.section-head {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.section-head p {
  color: var(--muted);
}

.overview {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: end;
  padding-top: 4.5rem;
}

.section-rail h2 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

.overview-body p {
  font-size: 1.05rem;
  color: var(--muted);
}

.theme {
  display: inline-block;
  margin: 0;
  padding: 0.65rem 0;
  border-top: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  font-weight: 700;
  color: var(--ink);
}

/* Zones — horizontal band, not card grid like reference */
.zones {
  padding-bottom: 2rem;
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.zone {
  position: relative;
  padding: 1.8rem 1.35rem 2rem;
  min-height: 240px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}

.zone:last-child {
  border-right: 0;
}

.zone::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.zone:hover {
  color: #fff;
}

.zone:hover::before {
  transform: scaleX(1);
}

.zone--ocean:hover {
  background: var(--ocean);
}
.zone--ocean::before {
  background: var(--foam);
}

.zone--steel:hover {
  background: var(--steel);
}
.zone--steel::before {
  background: #8aa0ab;
}

.zone--space:hover {
  background: #1c3550;
}
.zone--space::before {
  background: #7eb6ff;
}

.zone--energy:hover {
  background: #8a3d1d;
}
.zone--energy::before {
  background: #ffb088;
}

.zone-no {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.55;
  margin-bottom: 2.2rem;
}

.zone h3 {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}

.zone p {
  margin: 0;
  font-size: 0.94rem;
  opacity: 0.85;
}

/* Schedule timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.timeline time {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ocean-deep);
}

.timeline strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Visit */
.visit {
  padding-bottom: 5rem;
}

.visit-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(11, 110, 122, 0.08), transparent 40%),
    rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.visit-panel h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.visit-panel > div > p {
  color: var(--muted);
}

.visit-notes {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.visit-notes li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.95rem;
}

.visit-map {
  min-height: 240px;
  display: grid;
  place-content: center;
  gap: 0.85rem;
  background:
    radial-gradient(circle at 30% 40%, rgba(127, 208, 199, 0.45), transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(198, 93, 47, 0.25), transparent 40%),
    linear-gradient(160deg, #0b6e7a, #084f58 60%, #2a3f4a);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.visit-map::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50% 40% 55% 45%;
  animation: spin-soft 20s linear infinite;
}

.visit-map span {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.88rem;
  font-weight: 700;
  width: fit-content;
  margin-inline: auto;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
}

/* Motion */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin-soft {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .nav,
  .header-cta {
    display: none;
  }

  .overview,
  .visit-panel,
  .zone-list,
  .strip ul,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .zone {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
  }

  .zone:last-child {
    border-bottom: 0;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero {
    align-items: center;
    padding-top: 6.5rem;
  }

  .hero-controls {
    left: clamp(1rem, 4vw, 2.5rem);
    right: auto;
    bottom: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
