:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5f6f65;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #dedbd2;
  --green: #2f6f4e;
  --blue: #245d8f;
  --amber: #b46d20;
  --coral: #c84f3a;
  --mint: #dcefe5;
  --sky: #dfeefa;
  --sun: #f6e6bd;
  --rose: #f6d8d1;
  font-family: "Pretendard", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -48px;
  z-index: 10;
  background: var(--ink);
  color: white;
  padding: 10px 12px;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 240px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: #34453a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover,
.nav a.active {
  background: var(--mint);
  color: #153b28;
}

.hero,
.section-hero,
.content-band,
.cta-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
  padding: 46px 0 36px;
}

.hero-copy {
  padding: 18px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.16;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #304039;
  font-size: 20px;
  line-height: 1.65;
}

.summary {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 760;
}

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

.button.secondary {
  border-color: var(--line);
  background: white;
  color: #24352c;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 8px 11px;
  color: #415348;
  font-size: 13px;
  font-weight: 650;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(58, 48, 32, 0.16);
}

.section-hero {
  padding: 72px 0 34px;
}

.section-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.content-band {
  padding: 42px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

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

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-panel {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.home-panel:first-child {
  grid-column: 1 / -1;
}

.home-panel h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.home-panel h3 a {
  text-decoration: none;
}

.home-panel p {
  margin: 0;
  color: #4a5a51;
  line-height: 1.75;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf7;
  padding: 0 11px;
  color: #34453a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.route-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
  text-decoration: none;
}

.route-card:nth-child(3n + 1) {
  background: linear-gradient(180deg, white, var(--mint));
}

.route-card:nth-child(3n + 2) {
  background: linear-gradient(180deg, white, var(--sky));
}

.route-card:nth-child(3n) {
  background: linear-gradient(180deg, white, var(--sun));
}

.route-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.route-card strong {
  font-size: 23px;
}

.route-card p {
  margin: 0;
  color: #4a5a51;
  line-height: 1.65;
}

.post-list {
  display: grid;
  gap: 12px;
}

.post-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 20px;
}

.post-card-main {
  min-width: 0;
}

.post-card-meta,
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.post-card-meta a,
.post-category {
  color: var(--amber);
  text-decoration: none;
}

.post-card h3 {
  margin: 10px 0;
  font-size: 22px;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card p {
  max-width: 760px;
  margin: 0;
  color: #4a5a51;
  line-height: 1.7;
}

.inline-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.inline-tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf7;
  padding: 6px 9px;
  color: #415348;
  font-size: 12px;
  font-weight: 700;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: white;
  padding: 20px;
  color: var(--muted);
}

.post-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.post-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}

.post-category {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
}

.post-page h1 {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
}

.post-meta {
  margin-top: 22px;
}

.post-content {
  padding-top: 34px;
  font-size: 18px;
  line-height: 1.85;
}

.post-content h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 28px;
}

.post-content p,
.post-content ul {
  margin: 0 0 24px;
}

.post-content ul {
  padding-left: 22px;
}

.post-content li + li {
  margin-top: 8px;
}

.post-footer {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 24px;
}

.article-layout,
.split-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.44fr) minmax(0, 1fr);
  gap: 28px;
}

.article-layout aside {
  border-top: 3px solid var(--green);
  padding-top: 18px;
}

.article-layout aside p,
.split-band p,
.text-panel p,
.cta-band p {
  color: var(--muted);
  line-height: 1.75;
}

.article-stack {
  display: grid;
  gap: 12px;
}

.text-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
}

.split-band {
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-band p {
  margin: 0;
  font-size: 18px;
}

.cta-band {
  margin-top: 10px;
  margin-bottom: 56px;
  border-radius: 8px;
  background: #17231d;
  color: white;
  padding: 30px;
}

.cta-band p {
  max-width: 760px;
  color: #d8e3dc;
}

.cta-band .button.primary {
  margin-top: 10px;
  background: white;
  color: #17231d;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 860px) {
  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .hero-visual {
    order: -1;
  }

  .card-grid,
  .home-grid,
  .article-layout,
  .split-band {
    grid-template-columns: 1fr;
  }

  .home-panel:first-child {
    grid-column: auto;
  }

  .route-card {
    min-height: 168px;
  }

  .post-card {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero,
  .section-hero,
  .content-band,
  .cta-band,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .nav a {
    padding: 0 9px;
  }

  .lead {
    font-size: 17px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}
