:root {
  color-scheme: light;
  --paper: #f3f1e9;
  --white: #fffcf4;
  --ink: #172d27;
  --deep: #102b24;
  --muted: #4d6258;
  --line: #cbcfc3;
  --lime: #dfefb1;
  font-family: "Inter", "Aptos", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #867027; outline-offset: 5px; }
.wrap { width: min(1220px, 100% - clamp(32px, 8vw, 112px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px; background: var(--white); z-index: 3; }
.skip:focus { transform: translateY(0); }
.top { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: grid; gap: 3px; text-decoration: none; }
.wordmark strong { font-size: 1.22rem; letter-spacing: -.055em; }
.wordmark span { color: var(--muted); font-size: .78rem; }
.top nav { display: flex; align-items: center; gap: clamp(13px, 2.7vw, 38px); font-size: .9rem; font-weight: 650; }
.top nav a { text-decoration: none; }
.top nav a:hover, .hero-link:hover { text-decoration: underline; }
.pill { display: inline-flex; align-items: center; justify-content: center; width: fit-content; background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: .78rem 1.15rem; font-weight: 700; font-size: .87rem; text-decoration: none; }
.pill:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 98px); padding: clamp(28px, 6vw, 80px); background: var(--deep); color: var(--white); border-radius: 22px; }
.hero h1, .article h1 { margin: 11px 0 19px; font-size: clamp(2.5rem, 6.2vw, 5.55rem); letter-spacing: -.078em; line-height: .98; overflow-wrap: anywhere; }
.eyebrow { margin: 0; color: inherit; font-size: .77rem; text-transform: uppercase; font-weight: 750; letter-spacing: .13em; }
.hero > div > .eyebrow { color: var(--lime); }
.intro { max-width: 41rem; margin: 0; font-size: clamp(1rem, 1.65vw, 1.3rem); line-height: 1.65; }
.hero .intro { color: #d6e1d7; }
.hero-actions, .article-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.primary { background: var(--lime); color: var(--deep); border-color: var(--lime); }
.primary:hover { background: var(--white); color: var(--deep); border-color: var(--white); }
.hero-link { font-size: .9rem; text-decoration: none; }
.profile { padding: clamp(23px, 3vw, 34px); border-radius: 13px; background: var(--lime); color: var(--deep); }
.profile h2 { margin: .75rem 0 1.35rem; max-width: 16ch; font-size: clamp(1.25rem, 2.7vw, 2.15rem); letter-spacing: -.048em; line-height: 1.13; }
.profile ul, .footer ul { list-style: none; padding: 0; margin: 0; }
.profile li a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: .77rem 0; border-top: 1px solid #a3b58d; text-decoration: none; font-size: .89rem; font-weight: 680; }
.profile a:hover { text-decoration: underline; }
.block { margin-block: clamp(46px, 8vw, 90px); scroll-margin-top: 20px; }
.block h2, .prompt h2 { font-size: clamp(1.7rem, 3.6vw, 3.15rem); letter-spacing: -.062em; line-height: 1.05; margin: 0 0 24px; }
.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; align-items: flex-start; min-height: 218px; border: 1px solid var(--line); background: var(--white); padding: 19px; border-radius: 12px; text-decoration: none; }
.card:hover { border-color: var(--deep); background: #e8eddc; }
.card h3 { margin: 0; font-size: 1.19rem; letter-spacing: -.04em; }
.card p { color: var(--muted); line-height: 1.55; margin: .7rem 0 1.25rem; font-size: .88rem; }
.card span { margin-top: auto; font-size: 1.22rem; }
.prompt { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding: 27px; margin-bottom: 56px; background: var(--lime); border-radius: 12px; }
.prompt h2 { margin-bottom: 8px; }
.prompt p { margin: 0; color: var(--muted); }
.prompt .pill { flex: none; }
.breadcrumb { display: flex; gap: 10px; padding-block: 22px; font-size: .85rem; color: var(--muted); }
.article { margin-bottom: clamp(42px, 8vw, 98px); border: 1px solid var(--line); background: var(--white); border-radius: 18px; overflow: hidden; }
.article-header { padding: clamp(24px, 6vw, 72px); background: var(--deep); color: var(--white); }
.article-header .intro { color: #d6e1d7; }
.article h1 { font-size: clamp(2.3rem, 5.9vw, 5rem); }
.article-content { max-width: 780px; padding: clamp(24px, 6vw, 72px); }
.article-content section + section { margin-top: 29px; }
.article-content h2 { margin: 0 0 .55rem; letter-spacing: -.04em; line-height: 1.2; }
.article-content p { margin: 0; line-height: 1.72; color: var(--muted); }
.footer { padding: 38px 0 25px; background: #e6e9db; }
.footer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.footer h2 { font-size: .95rem; margin: 0 0 11px; }
.footer li { margin-bottom: 8px; }
.footer a { font-size: .85rem; }
.footer-bottom, .footer-bottom div { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-bottom { justify-content: space-between; margin-top: 23px; padding-top: 19px; border-top: 1px solid var(--line); font-size: .86rem; }
@media (max-width: 850px) { .cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 650px) {
  .top { padding-block: 14px; align-items: flex-start; flex-direction: column; }
  .top nav { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .prompt { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 390px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
.contact-panel { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.contact-panel form { margin-top: 20px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.fields label { display: grid; gap: 7px; font-size: .88rem; font-weight: 650; }
.message-field { grid-column: 1 / -1; }
.fields input, .fields textarea { width: 100%; min-width: 0; border: 1px solid #a5b1a3; border-radius: 8px; padding: 10px; background: var(--white); color: var(--ink); font: inherit; }
.fields textarea { resize: vertical; }
.contact-panel button { color: var(--white); background: var(--deep); cursor: pointer; }
.contact-panel button:hover { color: var(--deep); background: var(--lime); }
.contact-panel .contact-status { margin-top: 16px; padding: 12px; border-radius: 8px; background: #e8eddc; color: var(--ink); }
@media (max-width: 500px) { .fields { grid-template-columns: 1fr; } }
