* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f0e8;
  color: #35252c;
  font: 16px/1.85 system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid #bb5262;
}

.wrap {
  width: min(1160px, 92%);
  margin: auto;
}

header {
  border-bottom: 1px solid #dcc7bd;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 23px;
  font-weight: 750;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #54263c;
  color: #fff4e9;
  margin: 32px 0;
}

.hero div {
  padding: clamp(24px,5vw,65px);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: clamp(30px,4vw,49px);
  line-height: 1.25;
  margin: 12px 0 20px;
}

h2 {
  line-height: 1.4;
}

h3 {
  margin: 0;
}

.kicker {
  letter-spacing: .15em;
  font-size: 12px;
  font-weight: bold;
}

.section {
  margin: 42px 0;
}

.index {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
}

.rail {
  border-top: 4px solid #a74659;
  padding-top: 15px;
}

.story {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  border-bottom: 1px solid #d9c5bb;
  padding: 20px 0;
}

.story img {
  width: 100%;
  height: auto;
  align-self: start;
}

.story p {
  margin: 5px 0;
}

.tag {
  color: #8b3043;
  font-size: 13px;
  font-weight: bold;
}

.feature {
  background: #eedbd4;
  padding: 25px;
}

.article {
  max-width: 820px;
  margin: 35px auto;
}

.article img {
  width: 100%;
  height: auto;
}

footer {
  background: #352333;
  color: #f8e8dd;
  padding: 35px 0;
  margin-top: 40px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  z-index: 5;
}

@media(max-width: 700px) {
  .hero,.index {
    grid-template-columns: 1fr;
  }

  .story {
    grid-template-columns: 110px 1fr;
    gap: 12px;
  }

  nav {
    font-size: 14px;
  }


}

/* Layout and accessibility refinements */
.hero > div, .index > div, .story > div { min-width: 0; }
.hero img { display: block; min-height: 0; }
.article figure { margin: 0 0 24px; }
.article figcaption { font-size: 14px; color: #62454f; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.story a:focus-visible { outline-offset: 4px; }
@media (max-width: 420px) {
  .story { grid-template-columns: 1fr; }
  .story img { aspect-ratio: 800 / 460; object-fit: cover; }
  .hero img { height: auto; }
}
