:root {
  color-scheme: light;
  --paper: #f8f5ec;
  --card: #fdfbf5;
  --cream: #f0e7d1;
  --line: #ded9c9;
  --olive: #293e31;
  --ink: #223326;
  --body: #455044;
  --muted: #586556;
  --accent: #e9be73;
  --display: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #987337;
  outline-offset: 3px;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: pretty; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: 1.09; }
h2 { font-size: clamp(2.05rem, 4.4vw, 3.45rem); }
p { color: var(--body); }
ul { padding-left: 1.25rem; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: -100px; padding: .7rem 1rem; background: var(--card); }
.skip:focus { top: .6rem; left: .6rem; }

.header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 2.5vw, 2.4rem); min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .64rem; flex-shrink: 0; font-size: .97rem; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; }
.brand strong { font-weight: 530; }
.main-nav, .header-tools, .language { display: flex; align-items: center; }
.main-nav { gap: clamp(.7rem, 2.1vw, 2rem); font-size: .9rem; font-weight: 590; }
.main-nav > a, .main-nav > details > summary { color: var(--body); padding: .6rem .1rem; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a[aria-current], .main-nav summary:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .35em; }
.header-tools { gap: .75rem; }
.language { border: 1px solid var(--line); border-radius: 100px; padding: 3px; flex-shrink: 0; font-size: .875rem; font-weight: 700; background: var(--card); }
.language a { padding: .24rem .46rem; border-radius: 100px; }
.language a[aria-current] { color: var(--card); background: var(--olive); }

.dropdown { position: relative; }
.dropdown summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .55rem; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: ''; border-bottom: 1.5px solid; border-right: 1.5px solid; width: .42rem; height: .42rem; transform: translateY(-2px) rotate(45deg); }
.dropdown[open] summary::after { transform: translateY(2px) rotate(225deg); }
.dropdown-panel { position: absolute; z-index: 4; top: calc(100% + .25rem); left: 0; width: min(300px, 86vw); max-height: min(72vh, 590px); overflow-y: auto; overscroll-behavior: contain; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .65rem; box-shadow: 0 12px 30px #293e3120; }
.dropdown-links { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.dropdown-panel a { display: block; min-height: 42px; padding: .58rem .6rem; border-radius: 7px; }
.dropdown-panel a:hover { background: var(--cream); }
.dropdown-index { font-weight: 760; margin-bottom: .35rem; border-bottom: 1px solid var(--line); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid transparent; border-radius: 7px; padding: .64rem 1.12rem; font-size: .9rem; font-weight: 670; line-height: 1.3; text-align: center; transition: background-color .16s ease, color .16s ease; }
.button.primary, .button.header-cta { background: var(--olive); color: var(--card); }
.button.primary:hover, .button.header-cta:hover { background: #3b5442; }
.button.header-cta { min-height: 40px; padding-inline: .85rem; white-space: nowrap; }
.button.secondary { color: var(--olive); border-color: #a7ac98; background: transparent; }
.button.secondary:hover { background: #e9e6d7; }
.button.light { color: var(--olive); background: #f1d59f; }
.button.light:hover { background: #fae6be; }
.eyebrow { display: inline-block; color: #405944; font-size: .875rem; letter-spacing: .055em; font-weight: 750; }

.hero { display: grid; grid-template-columns: 1fr 1fr; margin-top: 27px; min-height: clamp(435px, 39vw, 555px); overflow: hidden; border-radius: 23px; background: var(--cream); }
.hero-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2.1rem, 5vw, 4.8rem); }
.hero h1 { margin: .64rem 0 1.34rem; line-height: .92; letter-spacing: -.06em; font-size: clamp(3.6rem, 6.9vw, 7.3rem); }
.hero h1 i { display: block; font-weight: 400; color: #405a44; }
.hero-intro { max-width: 43ch; font-size: 1.025rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.hero-media { min-width: 0; position: relative; background: #d7c59f; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% 54%; }

.section { margin-block: clamp(2.8rem, 6vw, 5.1rem); scroll-margin-top: 1.4rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.3rem; margin-bottom: 1.4rem; }
.section-heading .button { flex-shrink: 0; }
.section-heading p { margin-top: .6rem; max-width: 66ch; }
.category-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .65rem; }
.category-tile { display: grid; align-content: start; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.category-target { display: flex; min-height: 79px; align-items: center; gap: .42rem; flex-direction: column; justify-content: center; padding: .62rem .34rem .28rem; font-size: .88rem; text-align: center; line-height: 1.25; font-weight: 720; overflow-wrap: anywhere; border-radius: 11px 11px 0 0; }
.category-target svg { flex: none; color: #42614a; }
.category-target:hover { background: #e8eddf; }
.category-advice { text-align: center; font-size: .875rem; line-height: 1.3; padding: .48rem .28rem .65rem; color: #4d5a4d; text-decoration: underline; text-underline-offset: .18em; border-radius: 0 0 11px 11px; }
.category-advice:hover { color: var(--ink); background: #eee9da; }

.guide-banner { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; padding: clamp(1.6rem, 4vw, 3.1rem); border-radius: 16px; background: var(--olive); color: #f6efdf; }
.guide-banner h2 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
.guide-banner p { color: #e9ebdf; margin-top: .55rem; }
.guide-banner .button { flex-shrink: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.article-card { border: 1px solid var(--line); border-radius: 13px; background: var(--card); overflow: hidden; }
.article-cover { display: block; overflow: hidden; background: var(--cream); }
.article-cover img { aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: cover; transition: transform .22s ease; }
.article-cover:hover img { transform: scale(1.035); }
.article-card-text { padding: 1.05rem 1.15rem 1.28rem; }
.article-card h3 { margin: .27rem 0 .55rem; font-family: var(--display); font-size: clamp(1.43rem, 2.6vw, 1.93rem); letter-spacing: -.037em; line-height: 1.1; font-weight: 400; }
.article-card h3 a:hover, .article-card .eyebrow:hover { text-decoration: underline; text-underline-offset: .17em; }

.breadcrumbs { padding-block: 1rem; font-size: .875rem; color: var(--muted); }
.breadcrumbs ol { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .6rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: .6rem; color: #7b7a68; }
.breadcrumbs a, .footer-links a:hover, .related-links a { text-decoration: underline; text-underline-offset: .18em; }
.index, .detail { padding-bottom: clamp(2rem, 5vw, 4rem); }
.intro-panel { background: var(--cream); border-radius: 18px; padding: clamp(1.5rem, 4.8vw, 3.6rem); margin-bottom: 1.55rem; }
.intro-panel h1, .detail h1 { font-size: clamp(2.6rem, 6.3vw, 5.35rem); overflow-wrap: break-word; }
.intro-panel p, .detail-intro p { max-width: 66ch; margin-top: .75rem; }
.intro-panel .button { margin-top: 1.2rem; }
.index section > h2 { margin-bottom: 1.05rem; }
.guide-search { padding-block: .5rem 1.1rem; }
.guide-search label { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 680; }
.guide-search input { min-height: 46px; width: min(100%, 470px); border: 1px solid #aaa99b; border-radius: 6px; background: var(--card); color: var(--ink); padding: .6rem .85rem; font: inherit; }
.guide-search [role=status]:not(:empty) { margin-top: .6rem; }
.guide-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.guide-card a { display: grid; align-content: start; gap: .32rem; height: 100%; padding: 1.05rem; background: var(--card); border-radius: 11px; border: 1px solid var(--line); }
.guide-card a:hover { background: #ecf0e5; border-color: #a1ae9c; }
.guide-card strong { line-height: 1.3; }
.guide-card a > span:last-child { color: var(--body); }
.detail-intro { margin: 1.05rem 0 1.6rem; max-width: 940px; }
.detail-intro h1 { margin-top: .38rem; }
.detail-intro p { font-size: 1.1rem; }
.detail-image { aspect-ratio: 2.4; width: min(100%, 990px); height: auto; object-fit: cover; border-radius: 15px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 680px) minmax(220px, 310px); align-items: start; gap: clamp(1.3rem, 5vw, 4.5rem); margin-top: 2rem; }
.prose { font-size: 1.05rem; line-height: 1.74; }
.prose.narrow { max-width: 70ch; }
.prose h2 { font-size: clamp(1.7rem, 4vw, 2.35rem); margin-bottom: .65rem; }
.prose section + section, .prose .lead + section { margin-top: 1.65rem; }
.prose .lead { font-size: 1.15rem; }
.checklist { padding-left: 1.24rem; margin-top: .65rem; color: var(--body); }
.checklist li + li { margin-top: .35rem; }
.sidebar { display: grid; gap: .75rem; }
.sidebar section { padding: 1.12rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.sidebar h2 { font-size: 1.56rem; margin: 0 0 .65rem; }
.sidebar .button { margin-top: .75rem; }
.related-links { padding-left: 1.15rem; }
.related-links li + li { margin-top: .42rem; }

.footer { border-top: 1px solid var(--line); background: #efecdF; }
.footer-inner, .footer-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.15rem; }
.footer-inner { padding-block: 1.65rem; }
.footer-links { gap: .5rem 1.1rem; font-size: .9rem; color: var(--body); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner .header-cta { display: none; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 30px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .1rem .5rem; padding-block: .65rem .35rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .4rem; padding-top: .2rem; }
  .main-nav > a, .main-nav > details > summary { min-height: 44px; display: flex; align-items: center; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 16px; border-radius: 15px; }
  .hero-text { padding: clamp(1.2rem, 5.5vw, 2.1rem); }
  .hero h1 { font-size: clamp(2.8rem, 10.7vw, 5.3rem); margin-bottom: 1rem; }
  .hero-media { aspect-ratio: 1.67; }
  .hero-media img { object-position: 54% 55%; }
  .section-heading { align-items: start; flex-direction: column; gap: .75rem; }
  .category-grid, .article-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-card-text { padding: .8rem; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-image { aspect-ratio: 1.55; }
}
@media (max-width: 480px) {
  .main-nav { font-size: .875rem; }
  .guide-banner { align-items: start; flex-direction: column; }
  .article-grid, .guide-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
