:root {
  --red: #c4121a;
  --navy: #1f3a4d;
  --paper: #fffdf8;
  --ink: #222;
  --muted: #555;
  --page: #e9dcc8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.archive-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 1.6rem;
  background: #1c1612;
  color: #f4ece3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.archive-bar a {
  color: #ffd5c8;
  text-decoration: none;
  white-space: nowrap;
}

.archive-bar a:hover,
.archive-bar a:focus {
  text-decoration: underline;
}

.wrap {
  width: min(1040px, calc(100% - 2.4rem));
  margin: 1.4rem auto 2.8rem;
  background: var(--paper);
  border: 1px solid #d8c4b2;
  box-shadow: 0 8px 28px rgba(60, 40, 20, 0.12);
}

.slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #111;
}

.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slider img.is-on {
  opacity: 1;
}

.slider-nav {
  position: absolute;
  z-index: 2;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.slider-nav button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.slider-nav button[aria-current="true"] {
  background: #fff;
}

.content {
  padding: 0.6rem 2.2rem 2.2rem;
  text-align: center;
}

.logo {
  width: min(420px, 70%);
  height: auto;
  margin: 0.5rem auto 0;
}

h1 {
  margin: 0.35rem 0 0.4rem;
  color: var(--red);
  font-size: 2.15rem;
}

.mosaic {
  display: block;
  width: min(640px, 100%);
  height: auto;
  margin: 0.5rem auto 1.1rem;
  border: 4px solid var(--navy);
}

.lede,
.designers,
.address {
  margin: 0.55rem auto;
  max-width: 46rem;
  font-size: 1.12rem;
  line-height: 1.5;
}

.address {
  color: var(--navy);
  font-weight: bold;
}

.note {
  margin: 1.1rem auto 0;
  max-width: 46rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  color: var(--muted);
}

.note a {
  color: var(--red);
}

nav.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.3rem;
  margin: 1.2rem 0 0.2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

nav.page-nav a {
  color: var(--navy);
}

.blog {
  border-top: 1px solid #e6d5c4;
  margin-top: 1.6rem;
  padding-top: 0.5rem;
  text-align: left;
}

.blog h2 {
  text-align: center;
  color: var(--red);
  font-size: 1.55rem;
}

.post {
  margin: 0 auto 2.2rem;
  max-width: 46rem;
}

.post h3 {
  margin-bottom: 0.2rem;
  color: var(--navy);
}

.posted {
  margin: 0 0 0.8rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

.post p {
  line-height: 1.55;
  font-size: 1.02rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 0.9rem 0;
}

.gallery img,
.post-hero {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #d8c4b2;
}

.post-hero {
  margin: 0.5rem 0 0.9rem;
}

.price {
  font-weight: bold;
  color: var(--red);
}

@media (max-width: 900px) {
  .wrap {
    width: min(1040px, calc(100% - 1rem));
    margin: 0.7rem auto 1.5rem;
  }

  .slider {
    height: 58vw;
    min-height: 220px;
    max-height: 420px;
  }

  .content {
    padding: 0.3rem 1rem 1.4rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
