@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-display: block;
  font-weight: 200 800;
  src: url('/assets/fonts/newsreader-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --paper: #f8f3e7;
  --paper-deep: #efe7d7;
  --ink: #172018;
  --ink-soft: #455048;
  --green: #2d5836;
  --green-dark: #20452a;
  --lavender: #7d6594;
  --rule: rgba(23, 32, 24, 0.22);
  --display: 'Newsreader', 'Iowan Old Style', 'AppleMyungjo', 'Noto Serif KR', Batang, serif;
  --body: system-ui, sans-serif;
  --page-pad: clamp(1.5rem, 4.8vw, 4.75rem);
  --max-page: 100rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px dotted var(--lavender);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--paper);
  background: var(--green-dark);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header,
.site-footer,
main {
  width: min(100%, var(--max-page));
  margin-inline: auto;
}

.site-header {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  padding-inline: clamp(1.5rem, 2.5vw, 2.5rem);
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.28rem, 1.8vw, 1.65rem);
  font-weight: 520;
  letter-spacing: 0.24em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(36rem, 49%) minmax(0, 1fr);
  min-height: max(39rem, calc(100svh - 10.1rem));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 5.6vw, 6rem) var(--page-pad);
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 420;
  letter-spacing: -0.035em;
}

h1 {
  max-width: none;
  margin-bottom: clamp(1.4rem, 2.1vw, 2rem);
  font-size: clamp(3rem, 4.35vw, 4.7rem);
  line-height: 1.02;
  text-wrap: balance;
}

.hero-deck {
  max-width: 34rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.75rem);
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.35vw, 1.22rem);
  line-height: 1.75;
  word-break: keep-all;
}

.primary-link {
  width: min(100%, 23rem);
  min-height: 4.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.35rem 1rem 1.55rem;
  color: #fffdf7;
  background: var(--green);
  border: 1px solid var(--green);
  font-size: 1.08rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.primary-link:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.primary-link svg {
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.destination-note {
  width: min(100%, 23rem);
  margin: 1.1rem 0 0;
  color: var(--lavender);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.hero-media {
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  animation: image-arrival 720ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

.site-footer {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem var(--page-pad);
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.simple-page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.simple-main {
  width: min(100% - 3rem, 48rem);
  margin-inline: auto;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.simple-main h1 {
  max-width: none;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.simple-main h2 {
  margin: 3rem 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.simple-main p,
.simple-main li {
  color: var(--ink-soft);
}

.simple-main .primary-link {
  margin-top: 2.5rem;
}

.simple-back {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--green-dark);
  font-weight: 700;
}

.contact-address {
  margin-top: 2.5rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--rule);
  font-size: 1.15rem;
}

@keyframes image-arrival {
  from {
    opacity: 0.45;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1023px) {
  .site-header {
    min-height: 4.5rem;
  }

  .wordmark {
    font-size: 1.22rem;
    letter-spacing: 0.2em;
  }

  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .hero-media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero-media img {
    object-position: 55% center;
  }

  .hero-copy {
    padding-block: 3.25rem 3.5rem;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2.65rem, 8.5vw, 3.5rem);
    line-height: 1.03;
  }

  .hero-deck {
    font-size: 1rem;
  }

  .destination-note {
    width: 100%;
  }

  .primary-link {
    min-height: 4.25rem;
  }

  .simple-main {
    width: min(100% - 3rem, 48rem);
    padding-block: 3.5rem 5rem;
  }
}

@media (max-width: 559px) {
  .hero-media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 560px) and (max-width: 1023px) {
  h1 {
    max-width: 16ch;
  }
}

@media (max-width: 360px) {
  .site-footer {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
