:root {
  color-scheme: light;
  --base: #f8f8f4;
  --ink: #191d2c;
  --subtle: #4c5365;
  --rule: #c7cad5;
  --navy: #2634ae;
  --panel: #f5edaa;
  --panel-ink: #171d49;
  --grid: #2634ae19;
  --page: 84rem;
  --type: "Aptos", "Segoe UI", sans-serif;
  --display: "Aptos Display", "Aptos", "Arial", sans-serif;
  font: 100%/1.55 var(--type);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--base); }
.edition-homi { --navy:#1c5a49; --panel:#dceadb; --panel-ink:#123428; --grid:#1c5a491b; }
.edition-nest { --navy:#603e83; --panel:#ede2f5; --panel-ink:#342046; --grid:#603e831b; }
.edition-dwell { --navy:#3c4b5a; --panel:#dce6ea; --panel-ink:#182d37; --grid:#3c4b5a1b; }
.edition-deco { --navy:#993854; --panel:#f6dce1; --panel-ink:#492134; --grid:#9938541b; }
main { min-height: 65vh; }
img { display: block; max-width: 100%; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: .25rem; }
p,h1,h2,h3 { margin: 0; }
h1,h2,h3 { font-family: var(--display); line-height: 1.06; text-wrap: balance; }
.shell { width: min(var(--page), calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.ad-slot { display: flex; justify-content: safe center; padding-block: 50px; overflow-x: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 10; padding: .75rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead { border-top: .35rem solid var(--navy); border-bottom: 1px solid var(--rule); }
.masthead-inner { min-height: 5.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.brand, .footer-logo { display: inline-block; }
.brand img { width: 8.65rem; height: auto; }
.category-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.2vw, 2.1rem); }
.category-nav a, .category-control nav a { font-size: .97rem; text-decoration: none; font-weight: 690; }
.category-nav a:hover, .category-nav a[aria-current], .category-control nav a[aria-current] { color: var(--navy); text-decoration: underline; }
.category-control { display: none; }

.opening { padding-top: clamp(2.5rem, 6.4vw, 6.2rem); }
.edition-intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(13rem, .8fr); gap: 1rem 3rem; align-items: end; border-bottom: 2px solid var(--ink); padding-bottom: 1.12rem; }
.edition-intro h1 { font-size: clamp(2.75rem, 6.35vw, 6.4rem); font-weight: 740; letter-spacing: -.071em; line-height: .95; }
.edition-intro p { max-width: 30ch; color: var(--subtle); font-size: clamp(1.03rem, 1.5vw, 1.27rem); line-height: 1.34; }
.feature { margin-top: 1rem; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1rem; }
.feature-image { display: block; overflow: hidden; background: var(--panel); }
.cover { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--panel); }
.feature-image .cover { height: 100%; }
.feature-copy { display: flex; justify-content: center; align-items: start; flex-direction: column; padding: clamp(1.45rem, 4vw, 3.9rem); gap: 1.05rem; color: var(--panel-ink); background-color: var(--panel); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; }
.feature-copy h2 { font-size: clamp(1.8rem, 3.7vw, 3.9rem); letter-spacing: -.051em; }
.feature-copy h2 a { text-decoration: none; }
.feature-copy > p:not(.label) { max-width: 38ch; }
.label { color: var(--navy); font-size: .82rem; line-height: 1.35; text-transform: uppercase; font-weight: 760; letter-spacing: .075em; }
.action { background: var(--navy); color: white; font-size: .94rem; font-weight: 720; text-decoration: none; padding: .6rem .95rem; }
.action:hover { background: var(--ink); color: white; }
.edition-homi .feature { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.edition-homi .feature-image { grid-column: 2; grid-row: 1; }
.edition-homi .feature-copy { grid-column: 1; grid-row: 1; }
.edition-nest .edition-intro { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.edition-nest .feature { grid-template-columns: repeat(2,minmax(0,1fr)); }
.edition-dwell .feature-copy { color: white; background-color: #273a48; background-image: linear-gradient(#ffffff16 1px, transparent 1px), linear-gradient(90deg, #ffffff16 1px, transparent 1px); }
.edition-dwell .feature-copy .label, .edition-dwell .feature-copy a:hover { color: #e1eff4; }
.edition-dwell .feature-copy .action { background: #e1eff4; color: #273a48; }
.edition-dwell .feature-copy .action:hover { background: white; color: #273a48; }
.edition-deco .feature { gap: 0; }
.edition-deco .feature-copy { border: 1px solid #b5798c; }

.shelf { padding-top: clamp(2.7rem, 5.6vw, 5.8rem); scroll-margin-top: 1rem; }
.shelf-head { display: flex; justify-content: space-between; gap: .65rem 1rem; align-items: baseline; flex-wrap: wrap; border-top: 2px solid var(--ink); padding-block: .75rem 1rem; }
.shelf-head h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); letter-spacing: -.048em; }
.line-link { color: var(--navy); font-size: .98rem; font-weight: 690; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2.1vw, 2rem); }
.dispatch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.7rem, 1.4vw, 1rem); }
.card { min-width: 0; border-bottom: 1px solid var(--rule); }
.card > a { display: block; height: 100%; text-decoration: none; }
.card > a:hover h3 { text-decoration: underline; }
.card-body { padding-block: .78rem 1rem; }
.card h3 { font-size: clamp(1.22rem, 2.12vw, 1.9rem); letter-spacing: -.025em; margin-top: .29rem; }
.dispatch-grid h3 { font-size: clamp(1.18rem, 1.8vw, 1.55rem); }
.card-description { color: var(--subtle); margin-top: .5rem; line-height: 1.42; }

.breadcrumbs { margin-block: 1.35rem 1.7rem; font-size: .93rem; color: var(--subtle); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .15rem .65rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .65rem; color: var(--navy); }
.listing h1, .legal h1 { font-size: clamp(2.65rem, 6vw, 5.65rem); letter-spacing: -.065em; }
.listing-intro { margin-block: .75rem 1.7rem; max-width: 55ch; color: var(--subtle); font-size: 1.18rem; }
.listing .card-grid { padding-top: 1.12rem; border-top: 2px solid var(--ink); }
.story-head { width: min(64rem, 100%); margin: clamp(1.3rem, 5vw, 4.1rem) auto clamp(1.3rem, 4vw, 3rem); }
.story-head h1 { font-size: clamp(2.4rem, 5.8vw, 5.35rem); letter-spacing: -.062em; margin-top: .45rem; }
.standfirst { margin-top: .85rem; color: var(--subtle); max-width: 60ch; font-size: clamp(1.13rem, 2.15vw, 1.55rem); }
.story-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1rem; color: var(--subtle); font-size: .94rem; }
.feature-story > .cover { width: min(100%, 64rem); margin-inline: auto; }
.reading-layout { width: min(100%, 64rem); margin: clamp(1.7rem, 5vw, 4rem) auto 0; border-top: 1px solid var(--rule); padding-top: 1.1rem; }
.prose { width: min(100%, 68ch); margin-inline: auto; font: clamp(1.08rem, 1.65vw, 1.24rem)/1.68 Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); letter-spacing: -.041em; margin: 1.55em 0 .43em; }
.prose h3 { font-size: 1.32em; margin: 1.28em 0 .35em; }
.prose p + p, .prose ul, .prose ol, .prose dl, .prose table { margin-top: .9em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .4em; }
.prose dd { margin: 0 0 .7em; }
.prose dt { font-weight: bold; }
.prose a { color: var(--navy); }
.prose blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 2px solid var(--navy); }
.table-scroll { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--type); font-size: .9em; }
.prose th, .prose td { border: 1px solid var(--rule); text-align: left; padding: .4rem .55rem; overflow-wrap: anywhere; }
.prose th { background: var(--panel); }
.legal { padding-block: clamp(2rem, 6vw, 4.8rem) 0; }
.legal h1 { margin-bottom: .5em; }
.effective { font: .94rem/1.4 var(--type); color: var(--subtle); }
.effective + p { margin-top: 1.1rem; }
.footer { border-top: 2px solid var(--navy); margin-top: clamp(3.4rem, 7vw, 7rem); background: #eeeef0; }
.footer-inner { padding-block: 1.5rem 2.15rem; display: grid; grid-template-columns: minmax(11rem, 1fr) auto auto; gap: 1rem 2rem; align-items: start; }
.footer nav { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.footer a, .footer p { font-size: .95rem; color: var(--subtle); }
.footer a:hover { color: var(--navy); }

@media (max-width: 66rem) {
  .dispatch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > a { grid-column: 2; }
}

@media (max-width: 48rem) {
  .masthead-inner { min-height: 4.35rem; }
  .brand img { width: 7.2rem; }
  .category-nav { display: none; }
  .category-control { display: block; }
  .category-control summary { min-height: 44px; display: flex; gap: .6rem; align-items: center; cursor: pointer; list-style: none; padding: .42rem .62rem; border: 1px solid var(--rule); font-weight: 700; }
  .category-control summary::-webkit-details-marker { display: none; }
  .category-control summary span { width: .55rem; height: .55rem; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); }
  .category-control[open] summary span { transform: rotate(225deg) translateY(-2px); }
  .category-control nav { position: absolute; right: 0; top: calc(100% - .15rem); z-index: 3; min-width: min(17rem, 100%); display: grid; background: var(--base); border: 1px solid var(--rule); box-shadow: 0 .6rem 1.75rem #20223826; }
  .category-control nav a { min-height: 44px; padding: .52rem .8rem; }
  .category-control nav a + a { border-top: 1px solid var(--rule); }
  .edition-intro, .feature, .edition-homi .feature, .edition-nest .feature { grid-template-columns: 1fr; }
  .edition-intro { padding-bottom: .88rem; gap: .8rem; }
  .feature { gap: 0; }
  .edition-homi .feature-image, .edition-homi .feature-copy { grid-column: auto; grid-row: auto; }
  .feature-image .cover { height: auto; }
  .feature-copy { gap: .68rem; }
  .dispatch-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > a { grid-column: auto; }
}

@media (max-width: 26rem) {
  .shell { width: calc(100% - 1.5rem); }
  .front .card-description { display: none; }
  .listing .card-grid { grid-template-columns: 1fr; }
}
