* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  --ink: #17372d;
  --gold: #f4c54e;
  --paper: #f7f4e8;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 system-ui, "Microsoft YaHei", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid #c17814;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.top {
  max-width: 1200px;
  margin: auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 800;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 0 28px 48px;
}
.hero {
  background: #183c32;
  color: #fff9e6;
  border-radius: 8px 72px 8px 8px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}
h1 {
  font-size: clamp(27px, 3.4vw, 46px);
  line-height: 1.35;
  margin: 12px 0 20px;
}
h2 {
  font-size: 28px;
  line-height: 1.4;
}
h3 {
  font-size: 22px;
  line-height: 1.45;
  margin: 12px 0;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 700;
}
.hero .eyebrow {
  color: var(--gold);
}
.cta {
  display: inline-block;
  background: var(--gold);
  color: #183c32;
  padding: 12px 22px;
  font-weight: 700;
  border-radius: 4px;
}
.hero-art {
  position: relative;
}
.hero-art img {
  border-radius: 50% 50% 8px 8px;
}
.hero-art span {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: var(--gold);
}
.topics {
  padding: 30px 0;
}
.section-head {
  border-bottom: 2px solid var(--ink);
  margin-bottom: 22px;
}
.feature {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 36px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #c9cfc1;
}
.feature:nth-of-type(even) {
  grid-template-columns: 1fr 40%;
}
.feature:nth-of-type(even) > a {
  order: 2;
}
.feature img {
  border-radius: 6px 36px 6px 6px;
  width: 100%;
}
.tag {
  font-size: 13px;
  font-weight: 700;
  background: #e9dba7;
  padding: 4px 12px;
}
.films {
  font-weight: 700;
}
.more {
  text-decoration: underline;
  font-weight: 700;
}
.method {
  background: #e7e9d8;
  padding: 30px;
}
.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
footer {
  background: #183c32;
  color: #fff9e6;
  padding: 32px max(28px, calc((100% - 1144px)/2));
}
.article-page {
  max-width: 850px;
}
.article-page article {
  background: #fffdf5;
  padding: clamp(20px, 5vw, 48px);
}
.article-image {
  width: 100%;
  margin: 28px 0;
  border-radius: 8px;
}
.intro {
  font-size: 19px;
}
@media (max-width: 700px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }
  main {
    padding: 0 16px 30px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
    border-radius: 8px 40px 8px 8px;
  }
  .feature, .feature:nth-of-type(even), .notes {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature:nth-of-type(even) > a {
    order: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  transform: translateY(-200%);
  padding: 10px 16px;
  background: #fff;
  color: #17372d;
  z-index: 10;
}
.skip-link:focus {
  transform: none;
}
.hero > *, .feature > *, .notes > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 380px) {
  .hero, .method {
    padding: 16px;
  }
  nav {
    gap: 12px;
  }
}
