@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #242823;
  --secondary: #737770;
  --line: #e6e7e0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

body {
  margin: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
}

button,
a {
  touch-action: manipulation;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

::selection {
  background: #dce6cf;
  color: #242823;
}

:focus-visible {
  outline: 2px solid #526343;
  outline-offset: 6px;
  border-radius: 3px;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 56px;
  row-gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-block;
  border: 0;
  background: none;
  padding: 8px 0;
  color: #7a7d76;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 160ms;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link[aria-current="page"],
.nav-link[aria-current="location"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.section-page {
  margin-top: 50px;
  padding-bottom: 64px;
}

.section-page h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero {
  text-align: left;
  padding: 100px 0 120px;
}

.dashboard-clock {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.dashboard-clock time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.dashboard-date {
  color: var(--secondary);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.dashboard-time {
  font-size: clamp(56px, 7.4vw, 94px);
  font-variant-numeric: tabular-nums;
}

.explore {
  padding: 12px 0 72px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.area {
  min-width: 0;
  scroll-margin-top: 34px;
}

.area-link {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border-radius: 13px;
}

.area-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1.27;
  min-height: 265px;
  overflow: hidden;
  border-radius: 13px;
}

.project-art {
  color: #63745c;
  background: #e6ebdf;
}

.project-name {
  position: absolute;
  left: 25px;
  top: 45px;
  color: #394b37;
  font-size: clamp(38px, 4vw, 57px);
  line-height: 0.99;
  letter-spacing: -0.06em;
  font-weight: 550;
}

.project-name > span:first-child {
  display: block;
}

.signal {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  bottom: 27px;
}

.signal-grid {
  stroke: #bccbb0;
  stroke-width: 0.6;
  opacity: 0.5;
}

.signal-line {
  stroke: #6f8960;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.psat-art {
  color: #827b8e;
  background: #eeebf2;
}

.psat-words {
  position: absolute;
  top: 50px;
  left: 26px;
  color: #4a4259;
  font-size: clamp(34px, 3.6vw, 49px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 550;
}

.psat-words > span {
  color: #a096b2;
}

.roadmap-art {
  color: #8c836f;
  background-color: #f1eee6;
  background-image: radial-gradient(#d3ccbb 0.75px, transparent 0.75px);
  background-size: 15px 15px;
}

.roadmap-drawing {
  position: absolute;
  left: 0;
  top: 40px;
  width: 100%;
  height: auto;
}

.map-path {
  stroke: #a4ad8f;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.map-junction {
  fill: #879773;
}

.map-node {
  fill: #f9f8f3;
  stroke: #c7cdbb;
}

.map-node-primary {
  fill: #d5dec7;
  stroke: #acbb97;
}

.map-text {
  fill: #758166;
  font-family: inherit;
  font-size: 11px;
  text-anchor: middle;
  letter-spacing: -0.02em;
}

.map-text-primary {
  fill: #4e623d;
  font-weight: 500;
}

.map-node-small {
  fill: #eeeee4;
  stroke-dasharray: 3 3;
}

.map-plus {
  stroke: #8b9a77;
  stroke-width: 1.2;
  stroke-linecap: round;
}

.area-heading {
  margin: 20px 0 0;
  font-size: 22px;
  letter-spacing: -0.045em;
  font-weight: 550;
  line-height: 1.4;
}

.info-dialog {
  position: fixed;
  width: min(380px, calc(100% - 40px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 35px;
  color: var(--ink);
  background: var(--paper);
}

.info-dialog::backdrop {
  background: #22282345;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #7a8173;
  font-size: 26px;
  line-height: 1;
  border-radius: 50%;
}

.dialog-close:hover {
  background: #e9ece2;
}

.info-dialog h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.05em;
  line-height: 1.4;
  word-break: keep-all;
}

#dialog-description {
  margin: 0;
  color: #62695b;
  font-size: 14px;
  line-height: 1.9;
  word-break: keep-all;
}

@media (min-width: 1450px) {
  .hero {
    padding-top: 125px;
    padding-bottom: 145px;
  }
}

@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .area-grid {
    gap: 21px;
  }

  .area-art {
    aspect-ratio: 1.05;
  }

  .project-name {
    left: 20px;
    top: 45px;
    font-size: 48px;
  }

  .psat-words {
    left: 20px;
    top: 45px;
    font-size: 42px;
  }

  .roadmap-drawing {
    top: 50px;
  }
}

@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 40px);
    max-width: 480px;
  }

  .site-header {
    min-height: 64px;
  }

  .navigation {
    gap: clamp(7px, 1.8vw, 12px);
  }

  .nav-link {
    font-size: 12px;
    padding-block: 16px;
  }

  .hero {
    padding: 66px 0 90px;
  }

  .area-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .area-art {
    aspect-ratio: 1.32;
    min-height: 270px;
  }

  .project-name {
    top: 45px;
    left: 27px;
    font-size: clamp(52px, 14vw, 65px);
  }

  .signal {
    bottom: 31px;
  }

  .psat-words {
    top: 46px;
    left: 27px;
    font-size: clamp(47px, 12.5vw, 60px);
  }

  .roadmap-drawing {
    top: 40px;
  }

  .area-heading {
    font-size: 23px;
  }
}

@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .navigation {
    gap: 8px;
  }

  .nav-link {
    font-size: 11px;
  }

  .psat-words {
    font-size: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
