:root {
    color-scheme: light;
    --night: #191713;
    --night-deep: #12110e;
    --night-card: #28231c;
    --night-line: #493e30;
    --paper: #f6f2e9;
    --card: #fffdf8;
    --ink: #241d16;
    --muted: #62574c;
    --light: #fff8ea;
    --soft: #cec3b3;
    --line: #e5ddd0;
    --gold: #e0be76;
    --gold-ink: #78531f;
    --display: "Cormorant Garamond", Georgia, serif;
    --body: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -.025em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #936025; outline-offset: 5px; }
.site-header a:focus-visible, .blog-lead a:focus-visible, .article-header a:focus-visible, .site-footer a:focus-visible {
    outline-color: var(--gold);
}
.skip-link {
    position: fixed;
    z-index: 2;
    top: 8px;
    left: 8px;
    transform: translateY(calc(-100% - 12px));
    padding: 10px 14px;
    background: var(--card);
}
.skip-link:focus { transform: none; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.reading-width { width: min(704px, calc(100% - 80px)); margin-inline: auto; }
.site-header, .site-footer { background: var(--night-deep); color: var(--light); }
.site-header { border-bottom: 1px solid #352d23; }
.header-inner, .footer-inner, .site-nav, .footer-links { display: flex; align-items: center; }
.header-inner, .footer-inner { justify-content: space-between; gap: 24px; }
.header-inner { min-height: 76px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--light);
    font: 700 29px/1 var(--display);
    text-decoration: none;
    white-space: nowrap;
}
.brand > span > span, .site-footer .brand span { color: var(--gold); }
.brand img { object-fit: contain; }
.site-nav { gap: clamp(18px, 3.4vw, 44px); font-size: 14px; font-weight: 600; }
.site-nav a { padding-block: 10px; color: var(--soft); text-decoration: none; }
.site-nav a:hover, .site-nav .current { color: var(--gold); }
.site-nav .current { text-decoration: underline; text-underline-offset: 7px; }
.site-nav .contact-link { border: 1px solid #69573a; padding-inline: 18px; color: var(--light); }
.blog-lead, .article-header {
    background: radial-gradient(ellipse at 85% 0%, #2d2519 0, transparent 49%), var(--night);
    color: var(--light);
}
.blog-lead { padding: 54px 0 64px; }
.lead-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}
.lead-heading h1 { font-size: clamp(52px, 7.2vw, 104px); }
.lead-heading em { color: var(--gold); font-weight: 600; }
.lead-heading p { max-width: 31ch; margin-bottom: 7px; color: var(--soft); font-size: clamp(16px, 1.65vw, 19px); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 15px;
    border: 1px solid #68594a;
    border-radius: 40px;
    color: var(--light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.topics a:hover { background: var(--night-card); border-color: var(--gold); }
.topics [aria-current="page"], .topics [aria-current="page"]:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.feature {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    margin-top: 29px;
    border: 1px solid var(--night-line);
    background: var(--night-card);
}
.feature-photo { min-width: 0; min-height: 340px; position: relative; background: #594b3a; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(26px, 4.4vw, 65px); }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; color: var(--soft); font-size: 13px; }
.story-meta > span, .story-meta > a, .story-topic { color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.story-meta time { border-left: 1px solid #6d5c44; padding-left: 14px; }
.feature-copy h2 { font-size: clamp(37px, 4.1vw, 59px); margin-top: 16px; overflow-wrap: anywhere; }
.feature-copy p { margin-top: 14px; color: var(--soft); }
.gold-button, .dark-button, .outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.gold-button { color: var(--night-deep); background: var(--gold); }
.gold-button:hover { background: #f2d697; }
.feature-copy .gold-button { margin-top: 24px; }
.listing { padding: 54px 0 65px; }
.listing h2 { margin-bottom: 23px; font-size: clamp(37px, 4vw, 52px); }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.story-card { border: 1px solid var(--line); background: var(--card); }
.story-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.story-photo { aspect-ratio: 16 / 8.5; overflow: hidden; background: #ddd4c5; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.story-link:hover .story-photo img { transform: scale(1.035); }
.story-link:hover h3 { color: var(--gold-ink); }
.story-copy { display: flex; flex: 1; flex-direction: column; padding: 25px 29px 28px; }
.story-topic { color: var(--gold-ink); }
.story-copy h3 { margin-top: 10px; font-size: clamp(29px, 3.1vw, 41px); overflow-wrap: anywhere; }
.story-intro { margin: 12px 0 18px; color: var(--muted); }
.read-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; color: var(--gold-ink); font-size: 14px; font-weight: 700; }
.site-footer { padding: 34px 0; }
.site-footer .brand { gap: 5px; }
.site-footer p { margin-top: 7px; color: var(--soft); font-size: 14px; }
.footer-links { flex-wrap: wrap; gap: 12px 27px; }
.footer-links a { color: var(--soft); font-size: 14px; text-underline-offset: 4px; }
.footer-links a:last-child { color: var(--gold); }
.article-header { padding-top: 34px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: 14px; text-underline-offset: 5px; }
.article-heading { max-width: 860px; margin: 38px auto 32px; text-align: center; }
.article-heading .story-meta { justify-content: center; }
.article-heading h1 { margin-top: 15px; font-size: clamp(47px, 6.1vw, 88px); overflow-wrap: anywhere; }
.article-heading p { max-width: 61ch; margin: 19px auto 0; color: var(--soft); font-size: clamp(17px, 1.7vw, 20px); }
.article-cover { width: 100%; height: auto; aspect-ratio: 1200 / 580; max-height: 580px; object-fit: cover; background: #594b3a; }
.article-body { padding-block: 41px 57px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; overflow-wrap: anywhere; }
.article-body h2 { margin: 35px 0 13px; font-size: clamp(29px, 3.4vw, 41px); }
.article-body > :first-child { margin-top: 0; }
.article-body p + p, .article-body ul + p { margin-top: 14px; }
.article-body ul { padding-left: 24px; margin: 11px 0 0; }
.article-body li::marker { color: var(--gold-ink); }
.article-body li + li { margin-top: 4px; }
.article-photo { margin: 27px 0 22px; }
.article-photo img { width: 100%; height: auto; border: 1px solid var(--line); background: var(--card); }
.article-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.article-next { margin-top: 39px; border: 1px solid var(--line); background: var(--card); padding: clamp(18px, 3.4vw, 29px); }
.article-next h2 { margin-top: 0; font-size: 33px; }
.article-next p { color: var(--muted); }
.action-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.dark-button { background: var(--night); color: var(--light); }
.dark-button:hover { background: #392e21; }
.outline-button { border-color: #b4a189; }
.outline-button:hover { background: #efe6d7; }
.related { padding-top: 36px; border-top: 1px solid var(--line); }
.problem { min-height: 47vh; padding-block: 65px; }
.problem h1 { margin-bottom: 18px; font-size: clamp(40px, 6vw, 70px); }

@media (max-width: 850px) {
    .wrap, .reading-width { width: min(1200px, calc(100% - 48px)); }
    .reading-width { max-width: 704px; }
    .feature-photo { min-height: 340px; }
    .lead-heading { gap: 16px; }
    .lead-heading p { max-width: 26ch; }
}
@media (max-width: 650px) {
    .wrap, .reading-width { width: calc(100% - 36px); }
    .header-inner { min-height: 66px; gap: 12px; }
    .brand { gap: 6px; font-size: 23px; }
    .brand img { width: 26px; height: 26px; }
    .site-nav { gap: 13px; font-size: 13px; }
    .site-nav .contact-link { border: 0; padding-inline: 0; }
    .blog-lead { padding: 35px 0 39px; }
    .lead-heading { display: block; margin-bottom: 18px; }
    .lead-heading h1 { font-size: clamp(48px, 10vw, 66px); }
    .lead-heading p { max-width: 43ch; margin: 12px 0 0; }
    .topics { gap: 7px; }
    .topics a { padding-inline: 11px; font-size: 13px; }
    .feature { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
    .feature-photo { min-height: 0; aspect-ratio: 16 / 10; }
    .feature-copy { padding: 23px 21px 25px; }
    .feature-copy h2 { margin-top: 10px; }
    .feature-copy p { margin-top: 9px; }
    .feature-copy .gold-button { margin-top: 17px; }
    .listing { padding-block: 34px 40px; }
    .listing h2 { margin-bottom: 16px; }
    .story-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .story-copy { padding: 19px 21px 21px; }
    .article-header { padding-top: 21px; }
    .article-heading { margin-block: 25px 24px; text-align: left; }
    .article-heading .story-meta { justify-content: start; }
    .article-heading h1 { font-size: clamp(41px, 9vw, 58px); }
    .article-heading p { margin: 12px 0 0; }
    .article-cover { aspect-ratio: 4 / 3; }
    .article-body { padding-block: 29px 38px; }
    .footer-inner { align-items: start; flex-direction: column; gap: 17px; }
}
@media (max-width: 380px) {
    .header-inner { flex-wrap: wrap; gap: 1px 12px; padding-block: 10px; }
    .site-nav { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .story-photo img { transition: none; }
}
