:root {
  --cream: #faf6ef;
  --cream-soft: #fdfaf5;
  --ink: #3b3128;
  --muted: #7d7166;
  --line: #e6dccc;
  --terracotta: #b05e3d;
  --terracotta-deep: #96482a;
  --olive: #7b7b5b;
  --blush: #f1e6d8;
  --white: #fffdf9;
  --shadow: 0 30px 70px rgba(59, 49, 40, 0.14);
  --serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  --script: "Caveat", "Nanum Pen Script", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    "Pretendard",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    system-ui,
    sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- header ---------- */

.site-header {
  background: var(--cream);
}

.top-note {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 18px;
  padding: 11px 18px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.top-note a {
  border-bottom: 1px solid rgba(255, 253, 249, 0.6);
  transition: border-color 160ms ease;
}

.top-note a:hover {
  border-color: var(--white);
}

.brand-row {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 40px 20px 20px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

.brand-row p {
  margin: 0;
  color: var(--terracotta);
  font-family: var(--script);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 58px);
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--terracotta);
}

.main-nav a::after {
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terracotta);
  content: "";
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) 24px 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--terracotta);
  font-family: var(--script);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero h1,
.feature-band h2,
.section-heading h2,
.topic-panel h2,
.manifesto h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.005em;
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 88px);
}

.hero-lede {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 34px;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.button.primary {
  background: var(--terracotta);
  color: var(--white);
}

.button.primary:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
}

.button.ghost {
  background: transparent;
  color: var(--terracotta);
}

.button.ghost:hover {
  background: var(--blush);
}

/* arched photo collage */

.image-collage {
  position: relative;
  min-height: 640px;
}

.photo {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-large {
  right: 4%;
  top: 12px;
  width: 62%;
  height: 560px;
  border-radius: 999px 999px 0 0;
}

.photo-small {
  width: 42%;
  height: 270px;
  border: 10px solid var(--cream);
  border-radius: 18px;
}

.photo-small.top {
  left: 0;
  top: 26px;
  border-radius: 999px 999px 18px 18px;
}

.photo-small.bottom {
  left: 12%;
  bottom: 0;
}

/* ---------- feature band ---------- */

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr) auto;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(48px, 6vw, 84px) max(24px, calc((100vw - 1240px) / 2));
  background: var(--olive);
  color: var(--cream-soft);
}

.feature-band .eyebrow {
  color: #e9e4cd;
}

.feature-band h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 50px);
}

.feature-band p:not(.eyebrow) {
  margin: 0;
  color: #eee9d8;
  font-size: 17px;
}

.feature-band a {
  justify-self: end;
  padding: 13px 28px;
  border: 1px solid rgba(253, 250, 245, 0.7);
  border-radius: 999px;
  color: var(--cream-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 180ms ease;
}

.feature-band a:hover {
  background: var(--cream-soft);
  color: var(--olive);
}

/* ---------- sections ---------- */

.section-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 124px) 24px 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-bottom: 48px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 62px);
}

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

.article-card {
  background: transparent;
  border: none;
  transition: transform 220ms ease;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
  box-shadow: 0 18px 44px rgba(59, 49, 40, 0.12);
}

.article-card div {
  padding: 26px 10px 0;
  text-align: center;
}

.category {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

.article-card p:not(.category) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- category strip ---------- */

.category-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1240px;
  margin: clamp(76px, 9vw, 124px) auto 0;
  padding: 0 24px;
  gap: 24px;
}

.topic-panel {
  min-height: 330px;
  padding: 38px 32px;
  border: none;
  border-radius: 26px;
  background: var(--blush);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.topic-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(59, 49, 40, 0.1);
}

.topic-panel:nth-child(2) {
  background: #e9e6d4;
}

.topic-panel:nth-child(3) {
  background: #f3ead9;
}

.topic-panel span {
  color: var(--terracotta);
  font-family: var(--script);
  font-size: 54px;
}

.topic-panel h2 {
  margin: 64px 0 14px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.topic-panel p {
  margin: 0;
  color: var(--muted);
}

/* ---------- manifesto ---------- */

.manifesto {
  margin-top: clamp(76px, 9vw, 124px);
  padding: clamp(70px, 9vw, 130px) 24px;
  background:
    linear-gradient(rgba(250, 246, 239, 0.9), rgba(250, 246, 239, 0.92)),
    url("photo/03.jpg") center / cover;
  text-align: center;
}

.manifesto h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(34px, 5vw, 68px);
}

.manifesto p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 18.5px;
}

/* ---------- archive ---------- */

.archive {
  padding-bottom: clamp(76px, 9vw, 124px);
}

.archive-list {
  border-top: 1px solid var(--line);
}

.archive-list a {
  display: grid;
  grid-template-columns: 150px 1fr 90px;
  gap: 24px;
  align-items: center;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.archive-list a:hover {
  background: var(--cream-soft);
}

.archive-list span {
  color: var(--terracotta);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.archive-list strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.archive-list em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  text-align: right;
}

.archive-empty {
  margin: 0;
  padding: 64px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 20px;
  text-align: center;
}

/* ---------- footer ---------- */

.site-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 70px 24px 60px;
  background: var(--ink);
  color: var(--cream-soft);
  text-align: center;
}

.site-footer .brand-name {
  font-size: 32px;
  letter-spacing: 0.16em;
}

.site-footer p {
  margin: 0;
  color: #c9bfb2;
  font-family: var(--script);
  font-size: 21px;
}

.site-footer > a:last-child {
  margin-top: 18px;
  padding: 12px 26px;
  border: 1px solid rgba(253, 250, 245, 0.5);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.site-footer > a:last-child:hover {
  background: var(--cream-soft);
  color: var(--ink);
}

.footer-info {
  display: grid;
  justify-items: center;
  gap: 5px;
  max-width: 660px;
  margin-top: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(253, 250, 245, 0.16);
}

.footer-info p {
  margin: 0;
  font-family: inherit;
  font-size: 13.5px;
  color: #b3a89a;
}

.footer-info .footer-about {
  margin-bottom: 6px;
  color: #e6ddd0;
  font-size: 14.5px;
}

.footer-links {
  margin-top: 6px !important;
}

.footer-links a {
  margin: 0 9px;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(253, 250, 245, 0.35);
  color: #ddd3c5;
  transition: 160ms ease;
}

.footer-links a:hover {
  color: var(--white);
  border-color: var(--white);
}

.footer-info .footer-disclaimer {
  margin-top: 10px;
  font-size: 12.5px;
  color: #978b7d;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .main-nav {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .hero,
  .feature-band,
  .article-grid,
  .category-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .image-collage {
    min-height: 560px;
  }

  .feature-band a {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .top-note {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .brand-row {
    padding-top: 26px;
  }

  .main-nav {
    gap: 14px 18px;
    font-size: 11.5px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .image-collage {
    min-height: 440px;
  }

  .photo-large {
    right: 0;
    width: 72%;
    height: 360px;
  }

  .photo-small {
    width: 48%;
    height: 190px;
    border-width: 7px;
  }

  .photo-small.bottom {
    left: 6%;
  }

  .feature-band,
  .section-wrap,
  .category-strip {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading {
    display: block;
  }

  .archive-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .archive-list em {
    text-align: left;
  }
}
