@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@400;500;700;800&family=Nanum+Myeongjo:wght@400;700&display=swap');

:root { --font-gothic: 'Gothic A1'; --font-myeongjo: 'Nanum Myeongjo'; }

:root {
  --cream: #f6f1e7;
  --cream-deep: #efe7d6;
  --paper: #fffdf8;
  --ink: #2b3327;
  --ink-soft: #56604c;
  --muted: #8b9180;
  --line: #e4dcc9;
  --laurel: #5f7553;
  --laurel-deep: #3f4f37;
  --laurel-soft: #e8eede;
  --clay: #b3754d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px rgba(63, 79, 55, 0.12);
  --shadow-soft: 0 10px 26px rgba(63, 79, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(95, 117, 83, 0.12), transparent 30rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--font-gothic), ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--laurel-deep);
  color: var(--paper);
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-gothic), system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--laurel);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ---------- Masthead (two-row magazine head) ---------- */
.masthead {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.7), transparent);
  border-bottom: 1px solid var(--line);
}

.masthead-top {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wordmark-leaf {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--laurel-soft);
  color: var(--laurel-deep);
}

.wordmark-text strong {
  display: block;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.wordmark-text small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.masthead-kicker {
  margin: 0;
  color: var(--laurel-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.masthead-nav {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 13px 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.masthead-nav a:hover {
  color: var(--laurel-deep);
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Lead band ---------- */
.lead {
  text-align: center;
  padding: 70px 0 40px;
}

.lead h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.32;
}

.lead-lede {
  max-width: 600px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.8;
}

.lead-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.lead-tags span {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.lead-visual {
  margin: 42px auto 0;
  height: clamp(200px, 34vw, 360px);
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(43, 51, 39, 0.04), rgba(43, 51, 39, 0.16)),
    url("/images/laurelguide-lead.jpg") center / cover no-repeat,
    linear-gradient(135deg, #eef0e2, #f3ebd9 60%, #e7ddc7);
  box-shadow: var(--shadow);
}

/* ---------- Section heading ---------- */
.band-heading {
  margin-bottom: 26px;
}

.band-heading h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}

.band-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.situation,
.recent,
.method {
  padding: 56px 0;
}

/* ---------- Situation grid (signature) ---------- */
.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.situation-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.situation-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--laurel);
}

.situation-label {
  display: inline-block;
  color: var(--laurel-deep);
  background: var(--laurel-soft);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.situation-card h3 {
  margin: 14px 0 8px;
  font-size: 1.24rem;
}

.situation-card > p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.66;
}

.mini-checks {
  list-style: none;
  margin: 16px 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mini-checks li,
.decision-list li,
.article-content ul li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.mini-checks li::before,
.decision-list li::before,
.article-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 15px;
  height: 9px;
  border-left: 2px solid var(--laurel);
  border-bottom: 2px solid var(--laurel);
  transform: rotate(-45deg);
}

.situation-count {
  display: inline-block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- Decision checklist block (signature) ---------- */
.checklist-block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
  margin: 12px 0;
  padding: 40px;
  background: var(--laurel-soft);
  border: 1px solid #d8e1cb;
  border-radius: 22px;
}

.checklist-intro h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}

.checklist-intro p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.decision-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.decision-list li {
  background: var(--paper);
  border: 1px solid #dbe3cd;
  border-radius: var(--radius-sm);
  padding: 16px 18px 16px 42px;
  font-weight: 600;
  color: var(--ink);
}

.decision-list li::before {
  left: 18px;
  top: 1.25em;
}

/* ---------- Recent guides ---------- */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.recent-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.recent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.recent-chip {
  align-self: flex-start;
  color: var(--clay);
  border: 1px solid #e6d6c5;
  background: #fbf3ea;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.recent-card strong {
  font-size: 1.18rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.recent-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.96rem;
}

.recent-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- Method ---------- */
.method h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 20px;
}

.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.principle-list li {
  position: relative;
  padding: 18px 20px 18px 50px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  line-height: 1.7;
}

.principle-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--laurel);
}

/* ---------- Footer ---------- */
.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 40px auto 0;
  padding: 32px 0 56px;
  border-top: 2px solid var(--laurel-soft);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.footer-desc {
  margin: 8px 0 18px;
  max-width: 460px;
  line-height: 1.6;
  font-size: 0.92rem;
}

.footer-disclosure {
  display: inline-block;
  margin: 0;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--laurel-soft);
  color: var(--laurel-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- Article (single column, no rail) ---------- */
.article-shell {
  max-width: 760px;
  padding: 36px 0 80px;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--laurel-deep);
}

.article-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 5vw, 52px);
  box-shadow: var(--shadow-soft);
}

.article-chip {
  display: inline-block;
  color: var(--laurel-deep);
  background: var(--laurel-soft);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.article-head h1 {
  margin: 16px 0 0;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.32;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-box {
  margin: 28px 0 8px;
  padding: 22px 24px;
  background: var(--laurel-soft);
  border: 1px solid #d8e1cb;
  border-radius: var(--radius);
}

.summary-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--laurel-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.summary-box p {
  margin: 0;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.72;
}

.article-content {
  margin-top: 30px;
  color: #303a2c;
  font-size: 1.05rem;
  line-height: 1.86;
}

.article-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--laurel-soft);
}

.article-content p {
  margin: 0 0 18px;
}

.article-content a {
  color: var(--laurel-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--laurel);
  text-underline-offset: 3px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.article-content blockquote {
  margin: 26px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--laurel);
  background: #fbf9f2;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--laurel-deep);
  font-family: var(--font-myeongjo), serif;
  font-size: 1.2rem;
  line-height: 1.7;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.96rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.article-content th,
.article-content td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.article-content th:last-child,
.article-content td:last-child {
  border-right: 0;
}

.article-content tbody tr:last-child td {
  border-bottom: 0;
}

.article-content th {
  background: var(--laurel-soft);
  color: var(--laurel-deep);
  font-weight: 800;
}

.faq-section,
.source-note {
  margin-top: 40px;
}

.faq-section h2,
.source-note h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 8px;
}

.faq-section details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--laurel);
  font-weight: 800;
}

.faq-section details[open] summary::before {
  content: "–";
}

.faq-section details p,
.source-note p {
  color: var(--ink-soft);
  line-height: 1.74;
}

.faq-section details p {
  margin: 10px 0 0 1.2em;
}

.source-note {
  padding: 22px 24px;
  background: #faf7ef;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.article-foot {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--laurel-deep);
  font-weight: 800;
}

.back-link::before {
  content: "←";
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .situation-grid,
  .recent-grid {
    grid-template-columns: 1fr;
  }

  .checklist-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
  }
}

@media (max-width: 520px) {
  .masthead-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .masthead-nav {
    gap: 16px 22px;
    justify-content: flex-start;
  }

  .lead {
    padding: 48px 0 30px;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
