@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --slate: #596f7a;
  --banner: #01405a;
  --button: #164b60;
  --ink: #07131e;
  --paper: #fcfcfc;
  --cream: #f7f3eb;
  --border: #e5dcd1;
  --olive: #586d33;
  --muted: #505e66;
  --light-text: #f8f6ee;
  --radius: 8px;
  --container: 1600px;
  --footer-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--slate); font-family: 'Inter', Arial, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex: none; }
h1, h2, h3, p { margin-top: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #f9cfa1; outline-offset: 5px; }
.paper :focus-visible, input:focus-visible, textarea:focus-visible, .category-card:focus-visible, .article-card:focus-visible { outline-color: var(--banner); }
.container { width: min(calc(100% - 88px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 4px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header, .site-footer { color: var(--light-text); background: var(--banner); }
.header-inner { width: min(calc(100% - 56px), 1660px); min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-inline: auto; }
.brand { display: inline-flex; flex: none; align-items: center; min-width: 200px; text-decoration: none; }
.brand img { width: 230px; height: 68px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 42px); }
.main-nav a { position: relative; padding: 25px 0; white-space: nowrap; text-decoration: none; font-size: 16px; font-weight: 500; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 17px; height: 2px; background: #c5db94; transform: scaleX(0); transition: transform .18s ease; }
.main-nav a:hover::after, .main-nav a[aria-current='page']::after { transform: scaleX(1); }
.menu-toggle { display: none; color: var(--light-text); background: transparent; border: 1px solid #d7e3ea77; border-radius: 6px; padding: 8px 11px; align-items: center; gap: 8px; }
.site-footer { margin-top: auto; }
.footer-inner { min-height: var(--footer-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 16px; padding-block: 20px; }
.footer-inner p { margin-bottom: 0; }
.footer-inner nav { display: flex; gap: 26px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.domain-sale-banner { display: flex; align-items: center; justify-content: center; min-height: var(--footer-height); padding-block: 12px; background: #ffeb00; color: #000; text-align: center; }
.domain-sale-banner p { margin: 0; font-size: clamp(14px, 1.45vw, 22px); line-height: 1.35; font-weight: 750; text-wrap: balance; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

.home-intro { padding-block: 34px 26px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.07fr; gap: clamp(28px, 5vw, 76px); align-items: stretch; }
.intro-copy { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding-block: 4px 0; }
.hero-heading { font-size: clamp(32px, 3.3vw, 52px); line-height: 1.2; font-weight: 650; letter-spacing: -.045em; margin-bottom: 24px; }
.hero-heading span { display: block; margin-bottom: clamp(14px, 1.3vw, 21px); white-space: nowrap; }
.hero-heading span:last-child { margin-bottom: 0; font-size: .94em; }
.search-form { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); min-height: 58px; overflow: hidden; }
.search-form svg { width: 24px; height: 24px; margin: 16px 0 16px 17px; color: #10191d; }
.search-form input { min-width: 0; width: 100%; border: 0; outline: none; background: transparent; padding: 14px 16px; font-size: 15px; color: var(--ink); }
.search-form input::placeholder { color: #585a5d; opacity: 1; }
.search-form:focus-within { outline: 3px solid var(--cream); outline-offset: 4px; }
.search-form button { flex: none; background: var(--button); color: white; font-size: 17px; font-weight: 600; border: 0; border-radius: 7px; padding-inline: 26px; transition: background .15s ease; }
.search-form button:hover { background: #0a3648; }
.category-stack { display: grid; grid-template-rows: repeat(4, 1fr); gap: 7px; }
.category-card { display: grid; grid-template-columns: 16.8% 40.2% 43%; border: 1px solid var(--border); overflow: hidden; background: var(--paper); border-radius: var(--radius); height: clamp(108px, 7.6vw, 124px); color: var(--ink); text-decoration: none; transition: box-shadow .18s ease, transform .18s ease; }
.category-card:hover { transform: translateX(3px); box-shadow: 0 4px 14px #13263126; }
.category-icon { width: 100%; height: 100%; object-fit: cover; background: var(--olive); }
.category-copy { align-self: center; padding: 12px 13px 12px 21px; }
.category-copy h2 { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.18; letter-spacing: -.035em; margin-bottom: 9px; font-weight: 650; }
.category-copy p { font-size: clamp(12px, .92vw, 14px); line-height: 1.6; margin: 0; }
.category-scene { position: relative; overflow: hidden; min-height: 100%; background: #fce5c4; }
.category-scene img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 28% center; }
.category-scene svg { position: absolute; right: 13px; top: calc(50% - 12px); width: 24px; height: 24px; color: #41612b; filter: drop-shadow(0 0 3px #fff6df); }

.featured-section { border-top: 1px solid #d7d2cb; padding-block: 20px 30px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: clamp(23px, 2.1vw, 30px); font-weight: 650; letter-spacing: -.035em; line-height: 1.35; }
.view-all { color: var(--banner); background: var(--cream); display: inline-flex; align-items: center; gap: 12px; padding: 5px 9px 5px 12px; border-radius: 5px; white-space: nowrap; text-decoration: none; font-size: 16px; }
.view-all:hover { background: white; }
.view-all svg { width: 18px; height: 18px; }
.article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.article-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); min-width: 0; transition: transform .18s ease, box-shadow .18s ease; }
a.article-card:hover { transform: translateY(-3px); box-shadow: 0 7px 18px #172f3a2b; }
.article-card > img { width: 100%; aspect-ratio: 1.63; object-fit: cover; }
.article-card .article-copy { padding: 15px 16px 17px; }
.article-card h3 { margin: 0; font-size: clamp(15px, 1.3vw, 20px); font-weight: 600; letter-spacing: -.025em; line-height: 1.35; }
.article-card p { margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.page-top { padding-block: 30px 28px; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; font-size: 13px; margin-bottom: 26px; color: var(--cream); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-hidden] { opacity: .7; }
.page-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--cream); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px; }
.page-title { font-size: clamp(34px, 4vw, 58px); line-height: 1.1; letter-spacing: -.045em; font-weight: 650; margin-bottom: 18px; }
.page-lead { font-size: clamp(21px, 2.1vw, 29px); font-weight: 500; letter-spacing: -.025em; line-height: 1.35; margin-bottom: 14px; }
.page-description { color: var(--cream); font-size: 16px; max-width: 560px; line-height: 1.8; margin-bottom: 0; }
.category-cover { border: 1px solid var(--border); border-radius: var(--radius); width: 100%; aspect-ratio: 2.25; object-fit: cover; object-position: left center; }
.topic-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 22px 0 0; }
.topic-tags li { border: 1px solid #e5dcd166; border-radius: 30px; color: var(--cream); font-size: 12px; padding: 6px 12px; }
.collection-section { border-top: 1px solid #d7d2cb; padding-block: 27px 48px; }
.collection-section .section-heading { margin-bottom: 22px; align-items: end; }
.collection-section .section-heading p { margin: 7px 0 0; color: var(--cream); font-size: 14px; }
.collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.article-card[id] { scroll-margin-top: 30px; }
.article-card:target { outline: 3px solid #f9cfa1; outline-offset: 5px; }
.article-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.article-meta a { font-size: 11px; color: var(--banner); font-weight: 600; }
.status-label { display: inline-block; border: 1px solid #d5dcc5; background: #f1f3e9; color: #42552b; border-radius: 4px; font-size: 10px; font-weight: 600; padding: 3px 7px; letter-spacing: .025em; }
.status-published { border-color: #c5d8df; background: #e8eef0; color: var(--banner); }
.article-read-link { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; margin-top: 13px; color: var(--banner); font-size: 13px; font-weight: 600; text-decoration: none; }
.article-read-link:hover { text-decoration: underline; }
.main-nav a[aria-current='true']::after { transform: scaleX(1); }
.collection-grid .article-copy { padding: 21px 22px 24px; }
.collection-grid .article-card h3 { font-size: 20px; }
.collection-note { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid #e5dcd16b; padding-top: 28px; margin-top: 36px; color: var(--cream); }
.collection-note p { margin: 0; font-size: 14px; }
.text-link { font-size: 14px; font-weight: 500; white-space: nowrap; }

.directory-header { max-width: 780px; margin-bottom: 28px; }
.directory-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.directory-search { width: min(100%, 620px); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 25px 0; }
.filter-button { border: 1px solid #f7f3eb77; border-radius: 6px; background: transparent; color: white; padding: 9px 14px; font-size: 13px; font-weight: 500; }
.filter-button:hover { background: #ffffff16; }
.filter-button[aria-pressed='true'] { background: var(--cream); color: var(--banner); border-color: var(--cream); }
.results-count { color: var(--cream); font-size: 13px; margin: 0; }
.no-results { text-align: center; padding: 54px 25px; background: var(--cream); border-radius: 8px; color: var(--ink); }
.no-results h2 { font-size: 25px; margin-bottom: 12px; }
.no-results p { color: var(--muted); margin-bottom: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--button); color: white; border: 1px solid var(--button); padding: 12px 20px; font-size: 14px; font-weight: 600; text-decoration: none; }
.button:hover { background: #0a3648; }
.button-secondary { background: transparent; color: var(--banner); }
.button-secondary:hover { background: #e5eae7; }

.about-intro { max-width: 850px; padding-bottom: 10px; }
.about-intro .page-description { max-width: 760px; font-size: 18px; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.paper { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(25px, 3.3vw, 48px); }
.paper h2 { font-size: 28px; letter-spacing: -.035em; line-height: 1.25; margin-bottom: 18px; }
.paper p { color: #33434b; font-size: 15px; line-height: 1.85; }
.paper p:last-child { margin-bottom: 0; }
.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li { padding: 18px 0; border-top: 1px solid #ded9d0; }
.value-list li:first-child { padding-top: 0; border-top: 0; }
.value-list li:last-child { padding-bottom: 0; }
.value-list h3 { margin-bottom: 4px; font-size: 16px; font-weight: 600; }
.value-list p { font-size: 14px; margin-bottom: 0; }
.contact-section { margin-bottom: 50px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; }
.contact-details { margin-top: 30px; }
.contact-details dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 22px; margin-bottom: 5px; font-weight: 600; }
.contact-details dd { margin: 0; font-size: 15px; }
.contact-trap { display: none; }
.contact-status { margin: 18px 0 0; padding: 14px 16px; background: #edf0e6; border: 1px solid #d5dcc5; border-radius: 5px; color: #17313b; font-size: 14px !important; line-height: 1.7; }
.contact-status.is-error { background: #f6e8df; border-color: #bc9476; color: #6b311d; }
#contact-send-button:disabled { opacity: .7; cursor: progress; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea { display: block; width: 100%; border: 1px solid #b3bdbd; background: white; color: var(--ink); border-radius: 5px; padding: 11px 12px; font-size: 14px; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12px !important; margin: 0 0 17px; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.message-review { margin-top: 22px; border-top: 1px solid #cbd0c8; padding-top: 22px; }
.message-review h3 { font-size: 18px; margin-bottom: 10px; }
.message-review pre { font: inherit; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; padding: 17px; border-radius: 5px; border: 1px solid var(--border); }
.copy-status { font-size: 12px; color: #33434b; }
.noscript-notice { background: var(--cream); padding: 14px 24px; text-align: center; font-size: 14px; }

@media (min-width: 1650px) {
  .home-intro { padding-top: 43px; padding-bottom: 32px; }
  .category-card { height: 126px; }
  .hero-heading { font-size: 54px; }
  .hero-heading span { margin-bottom: 24px; }
}

@media (max-width: 1200px) {
  .container { width: calc(100% - 56px); }
  .header-inner { gap: 25px; }
  .brand { min-width: 170px; }
  .brand img { width: 200px; }
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 14px; }
  .intro-grid { gap: 30px; grid-template-columns: .95fr 1.05fr; }
  .hero-heading { font-size: 3.3vw; }
  .category-copy { padding: 13px 12px 13px 17px; }
  .category-copy h2 { font-size: 17px; }
  .category-copy p { font-size: 12px; }
  .category-card { height: 108px; }
  .search-form input { font-size: 13px; padding-inline: 12px; }
  .search-form button { padding-inline: 20px; font-size: 15px; }
}

@media (max-width: 950px) {
  .header-inner { flex-wrap: wrap; gap: 0; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; width: 100%; flex-direction: column; gap: 0; align-items: stretch; padding: 2px 0 16px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 15px; border-top: 1px solid #d7e3ea24; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current='page'] { background: #ffffff12; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-copy { padding: 0; }
  .hero-heading { font-size: clamp(30px, 4.3vw, 42px); margin-bottom: 22px; }
  .hero-heading span { margin-bottom: 12px; }
  .search-form { max-width: 620px; }
  .search-form input { font-size: 15px; }
  .category-card { grid-template-columns: 104px minmax(0, 1fr) 39%; height: 108px; }
  .category-copy h2 { font-size: 20px; }
  .category-copy p { font-size: 13px; }
  .category-stack { gap: 9px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .article-card h3 { font-size: 17px; }
  .page-intro-grid { gap: 30px; }
  .category-cover { aspect-ratio: 1.5; }
  .contact-section { grid-template-columns: .8fr 1.2fr; gap: 30px; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 32px); min-height: 70px; }
  .brand img { width: 190px; height: 60px; }
  .brand { min-width: 0; }
  .menu-toggle { font-size: 13px; padding: 7px 8px; }
  .menu-toggle svg { width: 18px; height: 18px; }
  .home-intro { padding-top: 27px; padding-bottom: 25px; }
  .intro-grid { gap: 27px; }
  .hero-heading { font-size: clamp(24px, 6.35vw, 38px); letter-spacing: -.04em; line-height: 1.35; }
  .hero-heading span { margin-bottom: 10px; }
  .hero-heading span:last-child { font-size: .88em; }
  .search-form { min-height: 52px; }
  .search-form svg { width: 20px; height: 20px; margin: 15px 0 15px 12px; }
  .search-form input { padding: 12px 10px; font-size: 12px; }
  .search-form button { font-size: 14px; padding-inline: 15px; }
  .category-card { grid-template-columns: 70px minmax(0, 1fr) 26%; height: 104px; }
  .category-copy { padding: 12px 10px 12px 13px; }
  .category-copy h2 { font-size: 16px; line-height: 1.2; margin-bottom: 6px; }
  .category-copy p { font-size: 10.5px; line-height: 1.55; }
  .category-scene img { object-position: 25% center; }
  .category-scene svg { right: 7px; width: 19px; height: 19px; top: calc(50% - 9px); }
  .featured-section { padding-block: 20px 27px; }
  .section-heading { gap: 12px; align-items: center; margin-bottom: 15px; }
  .section-heading h2 { font-size: 21px; max-width: 245px; }
  .view-all { font-size: 12px; gap: 4px; padding: 6px 5px 6px 8px; }
  .view-all svg { width: 15px; }
  .article-grid { gap: 12px; }
  .article-card > img { aspect-ratio: 1.25; }
  .article-card .article-copy { padding: 12px; }
  .article-card h3 { font-size: 13px; line-height: 1.4; }
  :root { --footer-height: 74px; }
  .footer-inner { font-size: 12px; gap: 14px; }
  .domain-sale-banner { padding-block: 8px; }
  .domain-sale-banner p { font-size: clamp(12px, 3.35vw, 15px); }
  .footer-inner nav { gap: 12px; }
  .page-top { padding-top: 22px; }
  .breadcrumbs { font-size: 11px; margin-bottom: 23px; }
  .page-intro-grid { grid-template-columns: 1fr; gap: 25px; }
  .page-title { font-size: 37px; margin-bottom: 16px; }
  .page-lead { font-size: 23px; }
  .page-description { font-size: 15px; }
  .category-cover { aspect-ratio: 2.05; }
  .topic-tags { margin-top: 18px; }
  .topic-tags li { font-size: 11px; padding: 5px 9px; }
  .collection-section { padding-block: 23px 30px; }
  .collection-section .section-heading { display: block; }
  .collection-section .section-heading h2 { max-width: none; font-size: 24px; }
  .collection-section .section-heading p { font-size: 13px; }
  .collection-grid { grid-template-columns: 1fr; gap: 20px; }
  .collection-grid .article-card > img { aspect-ratio: 1.9; }
  .collection-grid .article-copy { padding: 20px; }
  .collection-grid .article-card h3 { font-size: 20px; }
  .collection-note { display: block; }
  .collection-note p { margin-bottom: 14px; }
  .directory-toolbar { margin-top: 23px; gap: 15px; }
  .filter-row { gap: 7px; margin-block: 22px; }
  .filter-button { font-size: 11px; padding: 8px 10px; }
  .about-intro .page-description { font-size: 16px; }
  .about-layout { grid-template-columns: 1fr; gap: 18px; margin-bottom: 22px; }
  .paper { padding: 25px 22px; }
  .paper h2 { font-size: 25px; }
  .contact-section { grid-template-columns: 1fr; gap: 32px; margin-bottom: 30px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 370px) {
  .brand img { width: 163px; }
  .category-card { grid-template-columns: 61px minmax(0, 1fr) 22%; }
  .category-copy h2 { font-size: 15px; }
  .category-copy p { font-size: 10px; }
  .section-heading h2 { font-size: 19px; }
  .footer-inner { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
