/* Ocean / sport direction: bold typography, electric lime and deep blue. */
:root {
  --ink: #073f65;
  --text: #102f45;
  --muted: #566f80;
  --accent: #d5ff48;
  --pale: #edf5fa;
  --line: #d4e3ed;
}
body {
  background: #f8fbfd;
}
.header {
  height: 88px;
  padding-inline: max(6%, calc((100% - 1408px) / 2));
  background: #fffefc;
  border-bottom: 0;
  box-shadow: 0 2px 18px #082f4910;
}
.brand-mark {
  color: #078ab0;
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.brand small {
  color: #557b91;
}
.header nav {
  margin-left: auto;
  flex-shrink: 0;
}
.header nav a.active:after {
  background: #0098ba;
  height: 4px;
  bottom: 17px;
  border-radius: 4px;
}
.header > .phone-button {
  background: var(--accent);
  border: 0;
  border-radius: 30px;
  color: #123d48;
}
.section {
  max-width: none;
  padding: 88px max(6%, calc((100% - 1408px) / 2));
}
.intro {
  max-width: none;
  padding: 0 0 64px;
}
.hero-stage {
  background: #063954;
  color: white;
  position: relative;
  overflow: hidden;
  padding: 64px 6% 0;
}
.hero-stage:before {
  content: "";
  position: absolute;
  right: -130px;
  top: -240px;
  width: 640px;
  height: 640px;
  border: 1px solid #5bb8d342;
  border-radius: 50%;
  box-shadow:
    0 0 0 85px #5bb8d30b,
    0 0 0 170px #5bb8d308;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  max-width: 1408px;
  margin: 0 auto 42px;
  align-items: center;
  gap: 48px;
}
.hero-copy .eyebrow {
  color: #a3e3ef;
  letter-spacing: 2px;
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}
.hero-copy h1 {
  font-size: clamp(46px, 5.6vw, 86px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1.18;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-copy h1 > span {
  color: var(--accent);
}
.hero-aside p {
  color: #d6e9f0;
  font-size: 18px;
}
.hero-aside .text-link {
  background: var(--accent);
  color: #163b40;
  border: 0;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 5px 5px 0 #ffffff24;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.text-link:hover {
  transform: translateY(-3px);
  box-shadow: 7px 8px 0 #ffffff24;
}
.hero-photo {
  max-width: 1408px;
  margin: auto;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 40px #0002;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 1080/251;
  object-fit: cover;
  display: block;
}
.hero-photo figcaption {
  background: #087898;
  color: white;
  padding: 14px 25px;
  font-size: 14px;
  font-weight: 600;
}
.intro-bottom,
.info-strip {
  margin-left: auto;
  margin-right: auto;
  width: 88%;
  max-width: 1408px;
}
.intro-bottom {
  padding: 70px 0 40px;
  gap: 65px;
}
.eyebrow {
  color: #067c9b;
  font-weight: 800;
}
h2 {
  font-weight: 850;
  font-size: clamp(32px, 3.4vw, 49px);
  letter-spacing: -2px;
}
.intro-bottom h2 {
  line-height: 1.28;
}
.cafe-links a {
  border: 1px solid #cbdfe9;
  background: #fff;
  padding: 10px 18px;
  border-radius: 28px;
  transition: transform 0.2s;
}
.cafe-links a:hover {
  transform: translateY(-3px);
}
.info-strip {
  border: 0;
  border-radius: 16px;
  padding: 26px 30px;
  background: #e5f1f7;
  gap: 30px;
  grid-template-columns: 1fr 1.3fr;
}
.info-strip > div > span {
  font-weight: 700;
  color: #537184;
}
.phone-button {
  background: #fff;
  border-color: #aacbdc;
  box-shadow: 0 3px 0 #b8d2df55;
  transition:
    background 0.2s,
    transform 0.2s;
}
.phone-button:hover {
  background: var(--accent);
  border-color: #8caf34;
}
.info-strip p .phone-button span {
  color: var(--ink);
}
.catch-section {
  background: #082f49;
  color: white;
  position: relative;
  border-top: 8px solid #0c819e;
  padding-inline: max(6%, calc((100% - 1408px) / 2));
}
.catch-section .eyebrow {
  color: #94dcee;
}
.catch-section .section-heading > p {
  color: #bbd3e1;
}
.heading-dot {
  color: #00a8bd;
}
.catch-section .heading-dot {
  color: var(--accent);
}
.catch-grid {
  gap: 28px 22px;
}
.catch-card {
  display: block;
  background: #fff;
  color: #14334a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px #0002;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
  position: relative;
  min-width: 0;
}
.catch-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 30px #0004;
}
.catch-card .thumbnail {
  aspect-ratio: 4/3;
  background: #dceaf2;
}
.catch-card h3 {
  margin: 18px 18px 10px;
  font-size: 17px;
  min-height: 5.1em;
}
.catch-card time {
  display: block;
  margin: 0 18px 20px;
  color: #5b7281;
  font-size: 14px;
}
.catch-card:first-child:before {
  content: "최신 조황";
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #133c46;
  font-size: 13px;
  font-weight: 800;
  border-radius: 6px;
  padding: 5px 11px;
  z-index: 1;
}
.catch-section .outline {
  border-color: #88aebe;
  color: white;
  border-radius: 30px;
  padding: 14px 32px;
}
.catch-section .outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #153b44;
}
.feed-status {
  border-radius: 14px;
}
.more-wrap {
  margin-top: 44px;
}
.directions {
  background: #f8fbfd;
}
.video-section {
  border-bottom: 1px solid var(--line);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px #0c48640a;
}
.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #082f49;
}
.video-card h3 {
  margin: 18px 20px 6px;
  font-size: 18px;
  line-height: 1.6;
}
.video-card h3 a:hover {
  color: #067c9b;
  text-decoration: underline;
}
.video-card > p {
  margin: 0 20px 20px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 650px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
.location-layout {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 38px #0c486414;
  background: #fff;
  border: 1px solid #d4e4ee;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}
.location-layout > * {
  min-width: 0;
}
.location-info {
  background: #fff;
  padding: 42px;
  overflow-wrap: anywhere;
}
.location-label {
  display: inline-block;
  background: #e3f3f6;
  color: #07708d;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 700;
}
.location-info h3 {
  font-size: 32px;
}
.map-links a {
  background: #edf5f9;
  border: 0;
  border-radius: 6px;
  padding: 9px 12px;
}
.map-links a:hover {
  background: #d5ff48;
}
footer {
  background: #05283d;
  padding-inline: max(6%, calc((100% - 1408px) / 2));
  border-top: 4px solid #0a819c;
}
footer .phone-button {
  background: #16465e;
  border-color: #456f85;
}
footer .phone-button:hover {
  background: #28647e;
}
.button:focus-visible,
.catch-card:focus-visible {
  outline: 3px solid #ffae42;
  outline-offset: 5px;
}
@media (min-width: 1600px) {
  .hero-stage {
    padding-left: max(6%, calc((100% - 1408px) / 2));
    padding-right: max(6%, calc((100% - 1408px) / 2));
  }
}
@media (max-width: 1100px) {
  .hero-copy h1 {
    font-size: 62px;
  }
  .hero-aside {
    max-width: 260px;
  }
  .info-strip {
    grid-template-columns: 1fr;
  }
  .location-info {
    padding: 28px;
  }
}
@media (max-width: 650px) {
  .header {
    height: auto;
    min-height: 110px;
  }
  .header nav a.active:after {
    bottom: 0;
  }
  .hero-stage {
    padding: 42px 6% 0;
  }
  .hero-copy {
    margin-bottom: 30px;
  }
  .hero-copy h1 {
    font-size: 46px;
    letter-spacing: -2.5px;
  }
  .hero-copy .eyebrow {
    font-size: 12px;
  }
  .hero-aside {
    max-width: none;
    margin-top: 25px;
  }
  .hero-aside p {
    font-size: 15px;
  }
  .hero-aside .text-link {
    font-size: 14px;
    padding: 12px 18px;
  }
  .hero-photo {
    border-radius: 12px 12px 0 0;
    margin-left: -6.82%;
    margin-right: -6.82%;
    max-width: none;
  }
  .hero-photo figcaption {
    padding: 10px 6%;
    font-size: 12px;
  }
  .intro-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 30px;
  }
  .intro-bottom h2 {
    font-size: 34px;
  }
  .cafe-links {
    gap: 10px;
    flex-wrap: wrap;
  }
  .cafe-links a {
    font-size: 14px;
    padding: 8px 12px;
  }
  .info-strip {
    padding: 20px;
    gap: 18px;
  }
  .intro {
    padding-bottom: 42px;
  }
  .section:not(.intro) {
    padding: 52px 6%;
  }
  .catch-grid {
    gap: 18px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catch-card {
    border-radius: 10px;
  }
  .catch-card h3 {
    font-size: 14px;
    margin: 12px 12px 8px;
    min-height: 5.1em;
  }
  .catch-card time {
    font-size: 12px;
    margin: 0 12px 14px;
  }
  .catch-card:first-child:before {
    font-size: 12px;
    top: 8px;
    left: 8px;
    padding: 3px 7px;
  }
  .location-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .location-info {
    padding: 26px;
  }
  .map-links {
    gap: 12px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before {
    transition: none !important;
    animation: none !important;
  }
}
/* Place the existing panorama behind the introduction, with a readable overlay. */
.hero-stage {
  isolation: isolate;
  min-height: 560px;
  padding-top: 110px;
  padding-bottom: 110px;
  display: flex;
  align-items: center;
}
.hero-stage:before {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(
    90deg,
    rgba(3, 29, 47, 0.83),
    rgba(3, 37, 57, 0.48) 60%,
    rgba(3, 29, 47, 0.7)
  );
  z-index: 1;
}
.hero-stage .hero-copy {
  z-index: 2;
  width: 100%;
  margin: 0 auto;
}
.hero-stage .hero-photo {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 0;
  overflow: hidden;
}
.hero-stage .hero-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transform: scale(1.45);
}
.hero-stage .hero-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #052e48b3;
  padding: 12px 6%;
  color: white;
}
.hero-stage .eyebrow {
  color: #d8f5ff;
}
.hero-stage .hero-aside p {
  color: #fff;
  text-shadow: 0 2px 8px #001b30;
}
.hero-stage h1 {
  text-shadow: 0 3px 20px #00233755;
}
@media (max-width: 650px) {
  .hero-stage {
    min-height: 570px;
    padding: 56px 6% 82px;
  }
  .hero-stage:before {
    background: linear-gradient(180deg, #031d2fd9, #0325397a 70%, #031d2fc9);
  }
  .hero-stage .hero-photo img {
    object-position: 45% center;
  }
  .hero-stage .hero-photo figcaption {
    font-size: 12px;
  }
}

/* Keep the call action visible at tablet and mobile widths. */
@media (max-width: 1100px) {
  .header > .phone-button {
    display: inline-flex;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    box-shadow: none;
  }

  .header > .phone-button span {
    display: none;
  }
}
.footer-stats {
  text-align: right;
}
.visitor-counter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #cadcdd;
}
.visitor-counter strong {
  margin-left: 7px;
  color: var(--accent);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
#visitor-status:empty {
  display: none;
}
@media (max-width: 650px) {
  .footer-stats { text-align: left; }
  .visitor-counter { justify-content: flex-start; margin-top: 20px; }
}

/* Keep the mobile logo, navigation and call action on one row. */
@media (max-width: 650px) {
  html {
    scroll-padding-top: 80px;
  }

  .header {
    height: 72px;
    min-height: 72px;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
  }

  .header .brand {
    gap: 5px;
    font-size: clamp(12px, 3.5vw, 18px);
    flex-shrink: 0;
  }

  .header .brand-mark {
    font-size: 30px;
    width: 30px;
    height: 30px;
  }

  .header .brand small {
    font-size: 7px;
    letter-spacing: 1.4px;
    margin-top: 4px;
  }

  .header nav {
    width: auto;
    margin-left: auto;
    gap: clamp(8px, 2vw, 16px);
    flex-shrink: 0;
  }

  .header nav a {
    font-size: clamp(11px, 3vw, 14px);
    white-space: nowrap;
    padding: 0;
    min-height: 44px;
  }

  .header nav a.active:after {
    bottom: 10px;
  }

}

@media (max-width: 360px) {
  .header {
    gap: 4px;
    padding: 0 8px;
  }

  .header .brand {
    font-size: 12px;
    gap: 3px;
  }

  .header .brand-mark {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

  .header .brand small {
    font-size: 6px;
    letter-spacing: 1px;
  }
}

/* Give both contact numbers the same button dimensions. */
.location-info dd .phone-button {
  width: 180px;
  max-width: 100%;
  min-height: 44px;
  justify-content: center;
}

.location-info .contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.location-info .contact-phones .phone-button {
  flex: 1 1 180px;
  min-width: min(100%, 180px);
  flex-wrap: wrap;
  white-space: normal;
  margin-bottom: 0;
}

@media (max-width: 650px) {
  .location-info .contact-phones .phone-button {
    flex: 1 1 10em;
    min-width: min(100%, 10em);
    padding: 8px 4px;
    gap: 4px;
    font-size: clamp(11px, 3vw, 14px);
  }

  .location-info .contact-phones .phone-button svg {
    width: 16px;
    height: 16px;
  }
}

/* Keep provider details readable without enlarging the surrounding grid. */
#map .root_daum_roughmap .wrap_controllers {
  height: auto;
  min-height: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#map .root_daum_roughmap .wrap_controllers .wrap_btn_roadview {
  margin-left: auto;
}
