:root {
  color-scheme: light;
  --forest: #12382f;
  --pine: #1f4d3a;
  --ink: #171a18;
  --muted: #656b63;
  --line: #dfe5dd;
  --ivory: #faf8f2;
  --paper: #ffffff;
  --sand: #e8dfc9;
  --gold: #d8b56d;
  --clay: #b86b3b;
  --lake: #426f78;
  --mist: #edf4ee;
  --smoke: #101b17;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 22px 60px rgba(18, 56, 47, 0.12);
  --soft-shadow: 0 14px 36px rgba(18, 56, 47, 0.10);
  --deep-shadow: 0 32px 78px rgba(18, 56, 47, 0.18);
  --premium-shadow: 0 30px 90px rgba(9, 28, 24, 0.24);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1120px;
  --reader: 700px;
  --radius: 8px;
  --font: "Pretendard", "Noto Sans KR", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  background:
    linear-gradient(180deg, #faf8f2 0%, #f5efe3 46%, #edf3ee 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

main {
  overflow-x: clip;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(216, 181, 109, 0.78);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--forest);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 64px;
  border-bottom: 1px solid rgba(18, 56, 47, 0.07);
  background: rgba(250, 248, 242, 0.78);
  backdrop-filter: blur(22px) saturate(1.12);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(18, 56, 47, 0.12);
  background: rgba(250, 248, 242, 0.94);
  box-shadow: 0 12px 34px rgba(18, 56, 47, 0.08);
}

.header-inner,
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.header-inner > *,
.hero-grid > *,
.page-hero-grid > *,
.selector-grid > *,
.grid > *,
.editorial-band > *,
.principles > *,
.section-head > *,
.category-intro-grid > *,
.article-layout > *,
.footer-grid > * {
  min-width: 0;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: 0 0 auto;
  transition: transform 220ms var(--ease-out);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img {
  width: 178px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a,
.header-cta,
.menu-toggle,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 0 13px;
  color: #243029;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover {
  color: var(--forest);
  background: rgba(18, 56, 47, 0.06);
}

.main-nav a.is-active {
  color: var(--forest);
  background: rgba(216, 181, 109, 0.18);
}

.header-cta,
.button.primary {
  gap: 8px;
  padding: 0 17px;
  background: var(--forest);
  color: white;
  box-shadow: 0 10px 24px rgba(18, 56, 47, 0.18);
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease, background 220ms ease;
}

.header-cta:hover,
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(18, 56, 47, 0.22);
}

.header-cta svg {
  flex: 0 0 auto;
  transition: transform 220ms var(--ease-out);
}

.header-cta:hover svg {
  transform: translate(2px, -2px);
}

.button.secondary {
  padding: 0 17px;
  border: 1px solid rgba(18, 56, 47, 0.18);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button.secondary:hover {
  border-color: rgba(18, 56, 47, 0.32);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(18, 56, 47, 0.12);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 48px;
  border: 1px solid rgba(18, 56, 47, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: clamp(560px, 74svh, 760px);
  padding: 96px 0 92px;
  background: var(--smoke);
  color: white;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  top: -24px;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: -2;
  width: 100%;
  height: calc(100% + 48px);
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
  transform: translate3d(0, var(--hero-y, 0), 0);
  transform-origin: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 22, 18, 0.84) 0%, rgba(8, 22, 18, 0.66) 38%, rgba(8, 22, 18, 0.22) 72%, rgba(8, 22, 18, 0.48) 100%),
    linear-gradient(180deg, rgba(8, 22, 18, 0.12) 0%, rgba(8, 22, 18, 0.42) 72%, rgba(8, 22, 18, 0.78) 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(216, 181, 109, 0.62), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 42px;
  align-items: end;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: var(--pine);
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(42px, 4.1vw, 52px);
  line-height: 1.14;
  font-weight: 780;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #fffaf0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.06;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.24;
}

.lead {
  max-width: 600px;
  margin-bottom: 24px;
  color: #46534b;
  font-size: 17px;
  line-height: 1.62;
  text-wrap: pretty;
}

.hero .eyebrow {
  color: rgba(255, 250, 240, 0.92);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.hero .eyebrow::before {
  background: var(--gold);
}

.hero .lead {
  max-width: 650px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 18px;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero .button.primary {
  background: #fff8e8;
  color: var(--forest);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.10);
  color: white;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.hero-brief {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius);
  background: rgba(10, 28, 24, 0.40);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}

.hero-brief::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0.12), transparent);
}

.hero-brief span,
.hero-brief strong,
.hero-brief a {
  display: block;
}

.hero-brief span {
  margin-bottom: 12px;
  color: rgba(216, 181, 109, 0.88);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-brief strong {
  margin-bottom: 8px;
  color: #fffaf0;
  font-size: 23px;
  line-height: 1.18;
}

.hero-brief p {
  margin-bottom: 18px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 14px;
  line-height: 1.62;
}

.hero-brief a {
  color: #fff8e8;
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 56, 47, 0.10);
  border-radius: 16px;
  background: var(--mist);
  box-shadow: var(--shadow);
  transform: perspective(1300px) rotateY(-2deg) rotateX(1deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 600ms ease;
}

.hero-visual:hover img {
  transform: scale(1.045);
}

.hero-floating-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 210px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: rgba(18, 56, 47, 0.82);
  color: white;
  box-shadow: 0 18px 40px rgba(10, 28, 24, 0.24);
  backdrop-filter: blur(16px);
}

.hero-floating-panel strong,
.hero-floating-panel span {
  display: block;
}

.hero-floating-panel strong {
  font-size: 15px;
  line-height: 1.3;
}

.hero-floating-panel span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.hero-visual::after {
  display: none;
  content: "";
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 680px;
}

.signal {
  padding: 15px 16px;
  border: 1px solid rgba(18, 56, 47, 0.10);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 10px 26px rgba(18, 56, 47, 0.06);
}

.hero .signal {
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(12, 34, 29, 0.42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.signal strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.signal span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero .signal span {
  color: rgba(255, 250, 240, 0.68);
}

.selector-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 32px;
}

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

.selector-item {
  min-height: 142px;
  padding: 22px;
  border: 1px solid rgba(18, 56, 47, 0.10);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 48px rgba(18, 56, 47, 0.11);
  backdrop-filter: blur(18px);
  transition: transform 260ms var(--ease-out), border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.selector-item:hover {
  border-color: rgba(18, 56, 47, 0.28);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-6px) rotateX(0.8deg);
  box-shadow: 0 28px 66px rgba(18, 56, 47, 0.15);
}

.selector-item span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
}

.selector-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.25;
}

.selector-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: #f2efe4;
}

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

.section-head p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.category-card,
.article-card,
.policy-card,
.note-card {
  border: 1px solid rgba(18, 56, 47, 0.11);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.90) inset,
    0 18px 44px rgba(18, 56, 47, 0.07);
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 22px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.premium-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--gold), rgba(66, 111, 120, 0.72), transparent);
  opacity: 0.72;
  transform: scaleX(0.72);
  transform-origin: left center;
  transition: opacity 260ms ease, transform 320ms var(--ease-out);
}

.card-index {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(18, 56, 47, 0.26);
  font-size: 13px;
  font-weight: 850;
}

.category-signal {
  display: grid;
  gap: 3px;
  margin: 18px 0 16px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(18, 56, 47, 0.10);
}

.category-signal strong {
  color: var(--forest);
  font-size: 14px;
  line-height: 1.4;
}

.category-signal span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.category-card:hover,
.article-card:hover {
  border-color: rgba(18, 56, 47, 0.22);
  transform: translateY(-6px) rotateX(0.7deg);
  box-shadow: 0 26px 66px rgba(18, 56, 47, 0.15);
}

.magnetic-card.is-tilting,
[data-tilt-card].is-tilting {
  box-shadow: var(--premium-shadow);
}

.custom-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--forest);
  transition: transform 260ms var(--ease-out), color 260ms ease;
}

.category-card:hover .custom-icon,
.category-hero-panel:hover .custom-icon {
  color: var(--pine);
  transform: translate3d(0, -2px, 12px) scale(1.04);
}

.category-card:hover.premium-card::after {
  opacity: 1;
  transform: scaleX(1);
}

.category-card p,
.article-card p,
.policy-card p {
  color: var(--muted);
}

.article-card {
  transform-style: preserve-3d;
  overflow: hidden;
  will-change: transform;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease, border-color 260ms ease;
}

.article-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--mist);
  isolation: isolate;
}

.article-card-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 46%, rgba(11, 30, 25, 0.28));
  opacity: 0;
  transition: opacity 420ms ease;
}

.card-shine {
  position: absolute;
  inset: -45% 74% -45% -70%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.42) 45%, transparent 72%);
  opacity: 0;
  transform: translateX(-20%) skewX(-12deg);
  transition: opacity 520ms ease, transform 720ms var(--ease-out);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--mist);
  transition: transform 520ms ease, filter 520ms ease;
}

.article-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.03);
}

.article-card:hover .article-card-media::after {
  opacity: 1;
}

.article-card:hover .card-shine {
  opacity: 1;
  transform: translateX(220%) skewX(-12deg);
}

.article-card-body {
  padding: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--pine);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid rgba(31, 77, 58, 0.12);
  border-radius: 999px;
  background: rgba(237, 244, 238, 0.66);
}

.article-meta span + span {
  color: var(--clay);
  background: rgba(232, 223, 201, 0.52);
}

.article-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.36;
  text-wrap: balance;
}

.category-card h3,
.article-card h3,
.selector-item strong,
.selector-item p,
.text-link,
.breadcrumbs {
  overflow-wrap: anywhere;
}

.article-card p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.58;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--forest);
  font-size: 15px;
  font-weight: 750;
}

.text-link::after {
  width: 18px;
  height: 1px;
  content: "";
  background: currentColor;
  transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}

.text-link:hover {
  text-decoration: none;
}

.text-link:hover::after {
  transform: scaleX(1.45);
}

.editorial-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(18, 56, 47, 0.98), rgba(15, 48, 40, 0.96) 48%, rgba(66, 111, 120, 0.72));
  color: white;
  box-shadow: 0 26px 70px rgba(18, 56, 47, 0.18);
}

.editorial-band::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, var(--gold), rgba(255, 255, 255, 0.12), var(--lake));
}

.editorial-band p {
  color: rgba(255, 255, 255, 0.78);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.principles div {
  position: relative;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(250, 248, 242, 0.16);
  border-radius: var(--radius);
  background: rgba(250, 248, 242, 0.08);
  backdrop-filter: blur(12px);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 54px 0 32px;
  background:
    linear-gradient(135deg, #0b211c 0%, #12382f 58%, #24352f 100%);
  color: white;
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(216, 181, 109, 0.72), transparent);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(116px, 0.62fr) minmax(146px, 0.78fr) minmax(128px, 0.68fr);
  gap: 50px;
}

.footer-brand {
  max-width: 340px;
}

.footer-kicker {
  margin-bottom: 12px;
  color: rgba(216, 181, 109, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-logo {
  width: 164px;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.62;
}

.footer-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.64;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.footer-links strong {
  margin-bottom: 4px;
  color: white;
  font-size: 14px;
  line-height: 1.35;
}

.footer-links a {
  display: block;
  width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  line-height: 1.38;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms var(--ease-out);
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: white;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease, transform 180ms var(--ease-out);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 46px;
  background:
    linear-gradient(135deg, rgba(250, 248, 242, 0.96), rgba(237, 244, 238, 0.86) 52%, rgba(232, 223, 201, 0.48));
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(18, 56, 47, 0.16), transparent);
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(36px, 3.2vw, 46px);
  line-height: 1.18;
}

.page-hero .lead {
  margin-bottom: 0;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: end;
}

.category-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(18, 56, 47, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.category-hero-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--lake), transparent);
}

.category-hero-panel .custom-icon {
  margin-bottom: 18px;
}

.category-hero-panel strong,
.category-hero-panel span {
  display: block;
}

.category-hero-panel strong {
  color: var(--forest);
  font-size: 22px;
  line-height: 1.25;
}

.category-hero-panel span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.archive-grid {
  padding-bottom: 76px;
}

.category-intro {
  padding: 0 0 34px;
}

.category-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(18, 56, 47, 0.10);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(18, 56, 47, 0.06);
}

.category-intro h2 {
  margin-bottom: 0;
}

.category-intro ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-intro li {
  position: relative;
  padding-left: 24px;
  color: #37423b;
}

.category-intro li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reader)) 280px;
  gap: 54px;
  align-items: start;
  padding-bottom: 80px;
}

.article-hero-image {
  width: 100%;
  margin: 24px 0 36px;
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--forest);
  font-weight: 650;
}

.article-content h2 {
  margin-top: 38px;
  margin-bottom: 14px;
  font-size: 28px;
}

.article-content p {
  max-width: 680px;
  margin-bottom: 18px;
  color: #2f3933;
  line-height: 1.78;
}

.field-routine {
  margin: 38px 0 30px;
}

.field-routine > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.field-routine > div > div {
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(18, 56, 47, 0.11);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 248, 242, 0.72));
  box-shadow: 0 14px 36px rgba(18, 56, 47, 0.07);
}

.field-routine strong {
  display: block;
  margin-bottom: 9px;
  color: var(--forest);
  font-size: 15px;
  line-height: 1.35;
}

.field-routine > div p {
  margin-bottom: 0;
  color: #38433d;
  font-size: 15px;
  line-height: 1.7;
}

.application-note {
  margin: 36px 0 26px;
  padding: 26px 0 4px;
  border-top: 1px solid rgba(18, 56, 47, 0.12);
  border-bottom: 1px solid rgba(18, 56, 47, 0.10);
}

.application-note ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.application-note li {
  position: relative;
  padding-left: 24px;
  color: #2f3933;
  line-height: 1.72;
}

.application-note li strong,
.mistake-note li strong {
  color: var(--forest);
  font-weight: 780;
}

.application-note li span,
.mistake-note li span {
  display: block;
  margin-top: 3px;
}

.application-note li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--pine);
}

.mistake-note {
  margin: 34px 0 28px;
}

.mistake-note ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 20px 22px;
  border: 1px solid rgba(184, 107, 59, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  list-style: none;
}

.mistake-note li {
  position: relative;
  padding-left: 24px;
  color: #2f3933;
  line-height: 1.72;
}

.mistake-note li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--clay);
}

.scenario-note,
.quick-check,
.timing-note,
.article-callout {
  margin: 38px 0;
  padding: 24px;
  border: 1px solid rgba(18, 56, 47, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(237, 244, 238, 0.78), rgba(255, 255, 255, 0.88));
}

.scenario-note h2,
.quick-check h2,
.timing-note h2 {
  margin-bottom: 12px;
  font-size: 25px;
}

.article-callout h3 {
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 21px;
}

.scenario-note p,
.article-callout p {
  margin-bottom: 0;
}

.quick-check ul,
.timing-note ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-check li,
.timing-note li {
  padding: 14px 0 0;
  border-top: 1px solid rgba(18, 56, 47, 0.10);
}

.quick-check li:first-child,
.timing-note li:first-child {
  padding-top: 0;
  border-top: 0;
}

.quick-check strong,
.quick-check span {
  display: block;
}

.quick-check strong {
  margin-bottom: 4px;
  color: var(--forest);
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 22px;
  border: 1px solid rgba(18, 56, 47, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
}

.decision-table {
  width: 100%;
  margin: 28px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 56, 47, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
}

.decision-table th,
.decision-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(18, 56, 47, 0.10);
  text-align: left;
  vertical-align: top;
}

.decision-table th {
  color: var(--forest);
  font-size: 14px;
  font-weight: 750;
  background: #f4f1e8;
}

.decision-table tr:last-child td {
  border-bottom: 0;
}

.decision-table td {
  font-size: 15px;
  line-height: 1.58;
}

.checklist h2 {
  margin-top: 0;
}

.checklist ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 26px;
}

.checklist li::before {
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  content: "";
  background: var(--gold);
}

.sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.note-card {
  padding: 18px;
}

.note-card strong {
  display: block;
  margin-bottom: 8px;
}

.note-card p,
.note-card a {
  font-size: 15px;
}

.related-links {
  display: grid;
  gap: 11px;
}

.related-links a {
  display: block;
  color: #304039;
  font-weight: 680;
  line-height: 1.48;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  transition: color 180ms ease, transform 180ms var(--ease-out);
}

.related-links a:hover {
  color: var(--forest);
  transform: translateX(3px);
}

.static-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 34px;
  border-bottom: 1px solid rgba(18, 56, 47, 0.10);
  background:
    linear-gradient(135deg, rgba(250, 248, 242, 0.98), rgba(237, 244, 238, 0.88) 58%, rgba(232, 223, 201, 0.50));
}

.static-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(216, 181, 109, 0.48), transparent);
}

.static-hero-inner {
  position: relative;
  z-index: 1;
}

.static-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.12;
  text-wrap: balance;
}

.static-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
  color: #4d5a52;
  font-size: 18px;
  line-height: 1.72;
}

.static-page-shell {
  padding: 42px 0 78px;
  background:
    linear-gradient(180deg, rgba(250, 248, 242, 0.96), rgba(246, 241, 231, 0.92));
}

.static-content {
  max-width: 790px;
  margin: 0 auto;
}

.static-content > p:first-child {
  margin-bottom: 30px;
  color: #29332e;
  font-size: 20px;
  font-weight: 560;
  line-height: 1.78;
}

.static-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(18, 56, 47, 0.12);
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.26;
  text-wrap: balance;
}

.static-content p {
  margin-bottom: 18px;
  color: #2f3833;
  font-size: 18px;
  line-height: 1.84;
  text-wrap: pretty;
}

.email-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(18, 56, 47, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(18, 56, 47, 0.07);
  color: var(--forest);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out);
}

.email-link:hover {
  border-color: rgba(216, 181, 109, 0.72);
  box-shadow: 0 14px 34px rgba(18, 56, 47, 0.11);
  transform: translateY(-1px);
}

.policy-body {
  max-width: var(--reader);
  padding-bottom: 80px;
}

.policy-body h2 {
  margin-top: 36px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg {
    transition: transform 180ms linear;
  }

  .reveal-ready {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 640ms ease, transform 640ms var(--ease-out);
  }

  .reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-visual,
  .article-card,
  .category-card,
  .button,
  .header-cta {
    transition: transform 260ms var(--ease-out), box-shadow 260ms ease, border-color 260ms ease, background 260ms ease, opacity 640ms ease;
  }
}

@media (max-width: 980px) {
  .hero-content,
  .hero-grid,
  .page-hero-grid,
  .editorial-band,
  .article-layout,
  .category-intro-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.cols-4,
  .grid.cols-3,
  .principles,
  .field-routine > div,
  .selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav.open {
    position: fixed;
    inset: 64px 16px auto;
    display: grid;
    gap: 6px;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid rgba(18, 56, 47, 0.12);
    border-radius: 12px;
    background: rgba(250, 248, 242, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.open a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .hero-visual {
    transform: none;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.7;
  }

  .header-inner,
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header,
  .header-inner {
    min-height: 60px;
  }

  .brand img {
    width: 140px;
  }

  .hero {
    min-height: 0;
    padding: 72px 0 38px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 22, 18, 0.66) 0%, rgba(8, 22, 18, 0.68) 48%, rgba(8, 22, 18, 0.82) 100%);
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-content {
    gap: 20px;
  }

  .hero .lead {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.66;
  }

  .hero-brief {
    padding: 16px 17px;
    border-radius: var(--radius);
  }

  .hero-brief span {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .hero-brief strong {
    margin-bottom: 6px;
    font-size: 20px;
  }

  .hero-brief p {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-brief a {
    font-size: 13px;
  }

  .hero-floating-panel {
    position: static;
    min-width: 0;
    margin: 10px;
    padding: 13px 14px;
  }

  .hero h1,
  h1 {
    max-width: 100%;
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .page-hero h1 {
    font-size: clamp(28px, 7.4vw, 34px);
    line-height: 1.24;
  }

  h2 {
    font-size: 26px;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  h3 {
    font-size: 19px;
    line-height: 1.34;
    overflow-wrap: anywhere;
  }

  .lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.74;
    margin-bottom: 20px;
  }

  .eyebrow {
    gap: 7px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.42;
  }

  .eyebrow::before {
    width: 24px;
    flex: 0 0 24px;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .hero-brief {
    padding: 18px;
  }

  .hero-brief strong {
    font-size: 20px;
  }

  .selector-strip {
    margin-top: -26px;
    padding-bottom: 24px;
  }

  .selector-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .selector-item {
    min-height: 0;
    padding: 17px;
  }

  .selector-item span {
    margin-bottom: 10px;
  }

  .selector-item strong {
    font-size: 18px;
    line-height: 1.36;
  }

  .selector-item p {
    line-height: 1.64;
  }

  .signal-row,
  .grid.cols-4,
  .grid.cols-3,
  .principles,
  .field-routine > div,
  .checklist ul {
    grid-template-columns: 1fr;
  }

  .signal-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .signal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 12px 14px;
  }

  .signal strong {
    flex: 0 0 auto;
    font-size: 15px;
    line-height: 1.3;
  }

  .signal span {
    margin-top: 0;
    color: #536057;
    font-size: 13px;
    line-height: 1.42;
    text-align: right;
  }

  .hero .signal span {
    color: rgba(255, 250, 240, 0.70);
  }

  .page-hero {
    padding: 34px 0 28px;
  }

  .static-hero {
    padding: 34px 0 26px;
  }

  .static-hero h1 {
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.18;
  }

  .static-hero .lead {
    font-size: 16px;
    line-height: 1.68;
  }

  .static-page-shell {
    padding: 32px 0 56px;
  }

  .static-content > p:first-child {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.76;
  }

  .static-content h2 {
    margin-top: 28px;
    padding-top: 22px;
    font-size: 24px;
    line-height: 1.32;
  }

  .static-content p {
    font-size: 16px;
    line-height: 1.82;
  }

  .category-hero-panel,
  .category-intro-grid {
    padding: 20px;
  }

  .breadcrumbs {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.58;
  }

  .article-hero-image {
    margin: 10px 0 32px;
    border-radius: var(--radius);
  }

  .decision-table {
    display: block;
    overflow: visible;
  }

  .decision-table thead,
  .decision-table tbody,
  .decision-table tr,
  .decision-table th,
  .decision-table td {
    display: block;
    width: 100%;
  }

  .decision-table tr {
    border-bottom: 1px solid rgba(18, 56, 47, 0.10);
  }

  .decision-table tr:last-child {
    border-bottom: 0;
  }

  .decision-table th,
  .decision-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(18, 56, 47, 0.08);
  }

  .decision-table th:last-child,
  .decision-table td:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 46px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 22px;
  }

  .section-head p {
    margin-top: 10px;
    line-height: 1.68;
  }

  .editorial-band {
    gap: 22px;
    padding: 20px;
  }

  .article-card-body,
  .category-card {
    padding: 17px;
  }

  .category-card {
    min-height: 0;
  }

  .custom-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .category-card p,
  .article-card p {
    margin-bottom: 14px;
    line-height: 1.64;
  }

  .article-content h2 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.32;
  }

  .article-content p {
    max-width: none;
    margin-bottom: 17px;
    line-height: 1.82;
    text-wrap: pretty;
  }

  .field-routine {
    margin: 32px 0 24px;
  }

  .field-routine > div {
    gap: 10px;
    margin-top: 14px;
  }

  .field-routine > div > div {
    min-height: 0;
    padding: 16px;
  }

  .field-routine > div p {
    font-size: 15px;
    line-height: 1.72;
  }

  .article-card h3 {
    margin-bottom: 9px;
    font-size: 18px;
    line-height: 1.42;
    text-wrap: pretty;
  }

  .article-meta {
    gap: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.5;
  }

  .application-note {
    margin: 32px 0 24px;
    padding: 22px 0 2px;
  }

  .application-note ul {
    gap: 10px;
    margin: 14px 0 20px;
  }

  .application-note li,
  .mistake-note li,
  .checklist li {
    line-height: 1.76;
  }

  .mistake-note {
    margin: 30px 0 24px;
  }

  .mistake-note ul {
    gap: 10px;
    margin-top: 14px;
    padding: 17px;
  }

  .checklist {
    gap: 12px;
    margin: 26px 0;
    padding: 18px;
  }

  .checklist ul {
    gap: 9px;
  }

  .note-card {
    padding: 17px;
  }

  .note-card p,
  .note-card a {
    line-height: 1.66;
    overflow-wrap: anywhere;
  }

  .principles div {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(112px, 0.7fr));
    gap: 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding: 42px 0 30px;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-logo {
    width: 152px;
  }

  .site-footer p,
  .site-footer a {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-bottom: 30px;
  }

  .hero-brief {
    display: none;
  }
}

@media (max-width: 360px) {
  .header-inner,
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand img {
    width: 128px;
  }

  h1,
  .hero h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  .button {
    width: 100%;
  }

  .signal {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .signal span {
    text-align: left;
  }
}
