* {

  box-sizing: border-box;

}

body {

  margin: 0;

  background: #faf6f0;

  color: #303b36;

  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 #ad536e;

  outline-offset: 4px;

}

img {

  display: block;

  width: 100%;

  height: auto;

}

header,main,footer {

  max-width: 1200px;

  margin: auto;

  padding: 24px;

}

header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  border-bottom: 1px solid #ded6ce;

}

.brand {

  display: flex;

  align-items: center;

  gap: 12px;

  font-weight: 800;

  font-size: 22px;

}

.brand img {

  width: 48px;

}

nav {

  display: flex;

  flex-wrap: wrap;

  gap: 18px;

  font-size: 14px;

}

.hero {

  display: grid;

  grid-template-columns: .85fr 1.15fr;

  gap: 42px;

  align-items: center;

  padding: 40px 0;

}

.hero img {

  border-radius: 120px 12px 12px 12px;

}

.eyebrow {

  letter-spacing: .16em;

  font-size: 13px;

  color: #91516a;

  font-weight: 700;

}

h1 {

  font-size: clamp(30px,4vw,55px);

  line-height: 1.22;

  margin: 12px 0;

}

h2 {

  font-size: 28px;

  line-height: 1.4;

}

h3 {

  line-height: 1.5;

}

.lead {

  color: #515e55;

}

.button {

  display: inline-block;

  background: #8e465e;

  color: white;

  padding: 10px 22px;

  border-radius: 5px;

  font-weight: 650;

}

.section {

  padding: 30px 0;

  border-top: 1px solid #ded6ce;

}

.gallery {

  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 22px;

}

.tile {

  background: #fffaf6;

  border: 1px solid #e8ddd5;

  padding: 14px;

}

.tile img {

  aspect-ratio: 5/3;

  object-fit: cover;

}

.tile h3 {

  margin: 8px 0;

}

.tile p {

  margin: 8px 0;

}

.split {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 30px;

}

.note {

  background: #e8ece3;

  padding: 24px;

}

.article {

  max-width: 850px;

  margin: auto;

}

.article h1 {

  font-size: clamp(28px,4vw,45px);

}

.article img {

  border-radius: 12px;

}

.article p {

  margin: 16px 0;

}

footer {

  border-top: 1px solid #ded6ce;

  font-size: 14px;

  color: #515e55;

}

@media (max-width:760px) {

  header {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero,.split {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  header,main,footer {
    padding: 18px;
  }
  .hero {
    padding: 20px 0;
  }

}

@media (max-width:440px) {

  .gallery {
    grid-template-columns: 1fr;
  }

}

/* Current navigation and narrow viewport safeguards */
nav a[aria-current="page"] {
  color: #8e465e;
  font-weight: 700;
  text-decoration: underline;
}
.hero > *, .split > *, .tile {
  min-width: 0;
}
