:root {
  color-scheme: light;
  --navy: #081f52;
  --ink: #10203a;
  --muted: #4d5c71;
  --blue: #0033a0;
  --gold: #ffd16a;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f5f6fa; font: 1rem/1.65 system-ui, sans-serif; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #bf850d; outline-offset: 4px; }
.shell { width: min(100% - 32px, 1040px); margin-inline: auto; }
.site-header { background: var(--navy); color: white; border-bottom: 4px solid var(--gold); }
.header-inner, .site-header nav, .site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.15rem; }
.header-inner { justify-content: space-between; padding-block: 1rem; }
.site-header a { color: white; font-weight: 650; }
.site-header a[aria-current="page"] { color: var(--gold); }
.brand { text-decoration: none; }
main { padding-block: clamp(1.75rem, 5vw, 4rem); }
h1, h2 { line-height: 1.15; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); letter-spacing: -.045em; margin: 0; }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: -.025em; }
.intro { margin-bottom: 1.6rem; }
.intro p, .card-copy > p:last-child, figcaption { color: var(--muted); }
.posts { display: grid; gap: 1rem; }
.card { background: white; border: 1px solid #dce2ee; border-radius: .9rem; overflow: hidden; }
.card-copy { padding: clamp(1.15rem, 4vw, 2rem); }
.card-copy h2 { margin: .55rem 0; }
.card-copy h2 a { color: inherit; }
.card-copy > p:last-child { margin-bottom: 0; }
.meta { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 650; }
.featured img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; display: block; }
.story { max-width: 760px; margin-inline: auto; font-size: 1.06rem; }
.story h1 { margin-block: .5rem 1.1rem; }
.story h2 { margin-top: 1.7rem; }
.back { display: inline-block; margin-bottom: 1rem; font-weight: 650; }
figure { margin: 1.6rem 0; }
figure img { display: block; width: min(100%, 520px); height: auto; border-radius: .8rem; }
figcaption { font-size: .9rem; margin-top: .5rem; }
.estimate { margin-top: 2rem; }
.estimate a { display: inline-block; border-radius: .55rem; background: var(--gold); color: var(--navy); padding: .65rem 1rem; font-weight: 750; }
.site-footer { padding-block: 1.2rem 2rem; border-top: 1px solid #dce2ee; }
@media (min-width: 680px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
}
