:root {
  --background: #f7f2e9;
  --surface: #fffdf8;
  --foreground: #382e29;
  --muted: #695d56;
  --accent: #7f443f;
  --border: #d9cbbd;
  --focus: #235d70;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1.1rem;
  border-radius: 0.5rem;
  background: var(--foreground);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  padding: clamp(4rem, 10vw, 7rem) 1.25rem clamp(3rem, 7vw, 5rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(2.75rem, 8vw, 5.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.introduction {
  max-width: 37rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.preview-note {
  display: flex;
  width: fit-content;
  max-width: 40rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  margin: 2rem auto 0;
  padding: 0.8rem 1.1rem;
  border: 1px solid #d8b98d;
  border-radius: 0.65rem;
  background: #fff7e9;
  color: #604b31;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.year-navigation {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  min-height: 5.25rem;
  padding: 0.75rem 1rem;
  border-block: 1px solid var(--border);
  background: rgb(255 253 248 / 0.96);
  box-shadow: 0 3px 12px rgb(56 46 41 / 0.06);
  font-family: Arial, Helvetica, sans-serif;
}

.year-navigation span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.year-navigation a {
  display: inline-flex;
  min-width: 5rem;
  min-height: 3.25rem;
  justify-content: center;
  align-items: center;
  border: 1px solid #bea99a;
  border-radius: 999px;
  background: var(--surface);
  color: #663530;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.gallery-shell {
  width: min(100% - 2.5rem, 72rem);
  margin: 0 auto;
}

.year-section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  border-bottom: 1px solid var(--border);
}

.year-heading {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  max-width: 56rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.year-heading > p {
  margin: 0;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.year-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.year-heading div p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.photo-placeholder {
  position: relative;
  display: flex;
  min-height: clamp(22rem, 46vw, 34rem);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border: 1px solid rgb(77 59 48 / 0.18);
  border-radius: 1rem;
  box-shadow: 0 14px 35px rgb(73 54 43 / 0.09);
  color: rgb(61 48 42 / 0.82);
  text-align: center;
}

.photo-placeholder::before {
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgb(61 48 42 / 0.32);
  border-radius: 0.65rem;
  content: "";
}

.photo-placeholder strong,
.photo-placeholder span {
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
}

.photo-placeholder strong {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.photo-placeholder span {
  margin-top: 0.4rem;
  font-size: 1rem;
}

.photo-placeholder:nth-child(5) {
  grid-column: 1 / -1;
  width: min(100%, 48rem);
  margin-inline: auto;
}

.tone-gold {
  background: linear-gradient(145deg, #e8c88b, #f5e7c8);
}

.tone-sage {
  background: linear-gradient(145deg, #b9c9b1, #e2e8d4);
}

.tone-rose {
  background: linear-gradient(145deg, #edc8c0, #f5e3d9);
}

.tone-sky {
  background: linear-gradient(145deg, #b9cbd1, #e1e8e5);
}

.tone-clay {
  background: linear-gradient(145deg, #cfaa91, #ecddd0);
}

.back-to-top {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  color: #663530;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 750;
  text-underline-offset: 0.25em;
}

.coming-soon {
  padding: clamp(4rem, 9vw, 7rem) 1rem;
  text-align: center;
}

.coming-soon > p:first-child {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 2rem;
}

.coming-soon h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
}

.coming-soon > p:last-child {
  margin: 0.8rem auto 0;
  color: var(--muted);
}

footer {
  padding: 3.5rem 1.25rem 4rem;
  background: #3e332e;
  color: #fffaf2;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 700px) {
  .gallery-shell {
    width: min(100% - 2rem, 72rem);
  }

  .year-heading,
  .placeholder-grid {
    grid-template-columns: 1fr;
  }

  .year-heading {
    gap: 0.8rem;
  }

  .photo-placeholder,
  .photo-placeholder:nth-child(5) {
    grid-column: auto;
    width: auto;
    min-height: min(108vw, 30rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
