:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --sheet: #fffbf3;
  --ink: #272d25;
  --muted: #535b4d;
  --green: #324434;
  --green-deep: #243529;
  --mist: #e4e8da;
  --line: #d5cfc2;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--green-deep); }
img { display: block; max-width: 100%; height: auto; }
button, select, input { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #966035; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 3.2vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.wrap { width: min(1280px, calc(100% - 6rem)); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: 12px; left: 12px; background: var(--sheet); padding: .5rem 1rem; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 88px; gap: 1.4rem; border-bottom: 1px solid var(--line); }
.brand { font: bold clamp(.88rem, 1.55vw, 1.15rem)/1.1 var(--serif); display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; white-space: nowrap; }
.brand small { display: block; margin-top: .28rem; color: var(--muted); font: 600 .64rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .13em; }
.monogram { display: grid; place-items: center; background: var(--green); color: var(--sheet); width: 43px; height: 43px; border-radius: 50%; font: italic 1.55rem/1 var(--serif); }
.site-nav, .languages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem clamp(.6rem, 1.8vw, 1.5rem); }
.site-nav a, .languages a { font-size: .85rem; font-weight: 650; text-decoration: none; padding-block: .45rem; }
.site-nav a[aria-current], .site-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.languages { gap: .12rem; flex-wrap: nowrap; }
.languages a { display: inline-grid; min-width: 32px; place-items: center; border-radius: 50%; padding: .32rem; }
.languages a[aria-current] { background: var(--green); color: var(--sheet); }
.languages a:hover:not([aria-current]) { background: var(--mist); }
.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.4rem, 5vw, 4.5rem); }
.hero-picture { width: 100%; height: 100%; max-height: 560px; min-height: 380px; aspect-ratio: 4/3; object-fit: cover; border-radius: 50% 50% 0 0 / 18% 18% 0 0; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--green); font-size: .74rem; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .95rem; }
.eyebrow::before { content: ''; width: 1.8rem; height: 1px; background: currentColor; flex: none; }
.hero h1 { font-size: clamp(3.1rem, 6.5vw, 6.6rem); letter-spacing: -.059em; line-height: .92; }
.hero h1 span { display: block; }
.tagline { margin-top: 1.2rem; font: italic clamp(1.18rem, 2.25vw, 2rem)/1.18 var(--serif); color: var(--green); }
.hero-description { margin-top: 1.25rem; max-width: 40ch; color: var(--muted); }
.hero-actions { display: flex; gap: .85rem 1.25rem; flex-wrap: wrap; align-items: center; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: .7rem; border: 1px solid var(--green); border-radius: 4px; padding: .55rem .9rem; background: var(--green); color: var(--sheet); font-weight: 650; font-size: .86rem; line-height: 1.4; text-decoration: none; }
.button:hover { color: #fff; background: var(--green-deep); }
.text-action { font-weight: 650; font-size: .88rem; color: var(--green); }
.catalog-band { background: var(--mist); padding: clamp(1.15rem, 3vw, 2.2rem); border-block: 1px solid #c9d0bd; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; }
.catalog-heading h2 { font-size: clamp(1.65rem, 3.4vw, 2.6rem); }
.catalog-heading p { margin-top: .45rem; color: var(--muted); }
.catalog-form { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.catalog-form select { background: var(--sheet); border: 1px solid #818b78; border-radius: 4px; padding: .55rem .6rem; min-height: 44px; color: var(--ink); max-width: 100%; }
.category-buttons { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 1.25rem 0 0; gap: .45rem; }
.category-buttons a { display: inline-flex; gap: .5rem; align-items: center; min-height: 40px; border: 1px solid #a4ac99; border-radius: 4px; padding: .32rem .67rem; font-weight: 650; font-size: .8rem; text-decoration: none; }
.category-buttons a:hover { background: var(--sheet); }
.journal-section, .home-categories { margin-block: clamp(3.2rem, 6.6vw, 6.5rem); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: 1.45rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.35vw, 2.1rem); }
.story { background: var(--sheet); border: 1px solid var(--line); min-width: 0; }
.story > a { display: flex; height: 100%; flex-direction: column; color: var(--ink); text-decoration: none; }
.story img { width: 100%; aspect-ratio: 7/4; background: var(--mist); object-fit: cover; }
.story-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .55rem; padding: clamp(1rem, 2vw, 1.5rem); }
.story-category { font-size: .71rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--green); }
.story-body p { color: var(--muted); font-size: .91rem; }
.story-link { margin-top: auto; padding-top: .35rem; font-size: .81rem; font-weight: 700; }
.story a:hover h3, .story a:hover .story-link { text-decoration: underline; }
.featured-grid .story:first-child { grid-column: 1 / -1; }
.featured-grid .story:first-child > a { display: grid; grid-template-columns: 1.25fr .75fr; }
.featured-grid .story:first-child img { height: 100%; max-height: 420px; }
.featured-grid .story:first-child .story-body { justify-content: center; padding: clamp(1.25rem, 4vw, 3.5rem); }
.featured-grid .story:first-child h3 { font-size: clamp(1.75rem, 3.25vw, 3rem); }
.featured-grid .story:first-child .story-link { margin-top: .6rem; }
.category-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.category-tiles a { display: grid; align-content: start; gap: .48rem; border: 1px solid var(--line); background: var(--sheet); padding: 1.2rem; text-decoration: none; }
.category-tiles strong { font-family: var(--serif); font-size: 1.22rem; line-height: 1.1; }
.category-tiles span { color: var(--muted); font-size: .88rem; }
.category-tiles a:hover strong { text-decoration: underline; }
.index-page, .narrow, .detail-wrap { margin-block: clamp(2.5rem, 5vw, 5rem); }
.narrow { max-width: 740px; }
.page-title { max-width: 790px; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.page-title h1, .detail-heading h1 { font-size: clamp(2.55rem, 5.65vw, 5rem); letter-spacing: -.055em; overflow-wrap: anywhere; }
.page-title > p:last-child, .detail-heading > p:last-child { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted); margin-top: .85rem; }
.category-section { margin-top: 3rem; }
.category-section h2, .guide-groups h2 { margin-bottom: .8rem; }
.guide-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem; }
.guide-groups h2 a { text-decoration: none; }
.guide-groups h2 a:hover { text-decoration: underline; }
.guide-list, .breadcrumbs, .related ul { list-style: none; margin: 0; padding: 0; }
.guide-list { border-top: 1px solid var(--line); }
.guide-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.guide-list strong { font-family: var(--serif); font-size: 1.24rem; line-height: 1.15; }
.guide-list a span span { display: block; font-size: .9rem; color: var(--muted); margin-top: .25rem; }
.guide-list a:hover strong { text-decoration: underline; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--muted); margin-bottom: 1.6rem; font-size: .83rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: .5rem; }
.detail-wrap { max-width: 880px; }
.detail-heading { margin-bottom: clamp(1.5rem, 3vw, 2.6rem); }
.detail-image { margin-bottom: 2.2rem; }
.detail-image img { width: 100%; }
.prose { max-width: 70ch; }
.prose section + section { margin-top: 2rem; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.prose p { margin-block: .75rem; }
.related { margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.related li { margin-top: .65rem; }
.fit-form { display: grid; gap: 1rem; background: var(--mist); padding: clamp(1rem, 4vw, 2rem); }
.fit-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fit-inputs label { display: grid; gap: .25rem; font-weight: 650; }
.fit-inputs input { min-width: 0; border: 1px solid #818b78; border-radius: 4px; padding: .6rem; background: var(--sheet); }
.fit-form button { justify-self: start; }
.fit-form output { font-weight: 650; min-height: 1.5em; }
.calculator-note { margin-block: 1.5rem; }
.footer { margin-top: 4rem; background: var(--green-deep); color: var(--sheet); padding-block: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.footer p { color: #e0e4d9; margin-top: .35rem; font-size: .88rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; align-items: center; }
.footer a { color: var(--sheet); font-size: .88rem; }
.footer a span { margin-left: .35rem; }
@media (max-width: 1100px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding-block: 1rem .55rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; min-width: 0; }
  .languages { grid-row: 1; grid-column: 2; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
  .hero-picture { min-height: 0; max-height: 440px; aspect-ratio: 1.55; }
  .hero h1 { font-size: clamp(3.05rem, 10.5vw, 5.9rem); }
  .featured-grid .story:first-child > a { grid-template-columns: 1fr; }
  .guide-groups { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 2rem); }
  .catalog-form { width: 100%; }
  .catalog-form select { flex: 1; min-width: 8rem; }
  .story-grid { grid-template-columns: 1fr; }
  .category-tiles a { padding: .75rem; overflow-wrap: anywhere; }
  .site-nav a, .languages a { font-size: .79rem; }
  .site-nav { column-gap: .7rem; row-gap: 0; }
  .monogram { width: 35px; height: 35px; }
  .fit-inputs { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .brand { font-size: .8rem; gap: .45rem; }
  .monogram { width: 31px; height: 31px; }
  .languages a { min-width: 27px; }
}
