:root {
  --ink: #21302f;
  --muted: #65716f;
  --paper: #fffdf8;
  --soft: #f4efe6;
  --line: #ddd4c7;
  --leaf: #426b5f;
  --rose: #b85f58;
  --gold: #d8a64f;
  --sky: #d7e8ed;
  --shadow: 0 18px 45px rgba(57, 45, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(221, 212, 199, 0.72);
  backdrop-filter: blur(14px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--leaf);
  border-radius: 50%;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.82rem;
}

.site-header nav {
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 34px));
  display: grid;
  align-items: end;
  padding: clamp(90px, 12vh, 150px) clamp(18px, 4vw, 56px) clamp(38px, 8vh, 84px);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 36, 34, 0.76) 0%, rgba(24, 36, 34, 0.56) 42%, rgba(24, 36, 34, 0.1) 100%),
    linear-gradient(0deg, rgba(24, 36, 34, 0.52) 0%, rgba(24, 36, 34, 0) 45%);
}

.hero-copy {
  max-width: 720px;
  color: #fff;
}

.eyebrow,
.section-kicker,
.photo-date,
.post-meta {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3d78d;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 9vw, 7.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: #fff;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.intro,
.photo-section,
.posts-section,
.notes-section {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  background: var(--soft);
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.photo-card,
.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(57, 45, 32, 0.06);
  overflow: hidden;
}

.photo-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.photo-card.featured {
  grid-column: span 2;
}

.photo-card > div:last-child,
.post-card {
  padding: 18px;
}

.photo-card p,
.post-card p {
  margin: 0;
  color: var(--muted);
}

.photo-frame,
.placeholder-photo {
  aspect-ratio: 4 / 3;
  min-height: 180px;
}

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

.placeholder-photo {
  border-bottom: 1px solid var(--line);
}

.placeholder-photo.picnic {
  background:
    radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.9) 0 8%, transparent 9%),
    linear-gradient(135deg, rgba(216, 166, 79, 0.72), rgba(66, 107, 95, 0.72)),
    var(--sky);
}

.placeholder-photo.coast {
  background:
    linear-gradient(180deg, #cfe5ed 0 45%, #f1d8a9 46% 100%),
    var(--sky);
}

.placeholder-photo.cake {
  background:
    radial-gradient(circle at 52% 42%, #f4c8bb 0 22%, transparent 23%),
    linear-gradient(135deg, #faf1dd, #b85f58);
}

.posts-section {
  background: #f7faf9;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--leaf);
  font-weight: 800;
  text-decoration: none;
}

.post-card a:hover {
  text-decoration: underline;
}

.notes-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--leaf);
  color: #fff;
}

.notes-section .section-kicker {
  color: #f3d78d;
}

.note-list {
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .intro,
  .notes-section {
    grid-template-columns: 1fr;
  }

  .photo-grid,
  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(24, 36, 34, 0.78) 0%, rgba(24, 36, 34, 0.44) 100%),
      linear-gradient(0deg, rgba(24, 36, 34, 0.65) 0%, rgba(24, 36, 34, 0) 48%);
  }

  .section-heading {
    display: block;
  }

  .photo-grid,
  .post-list {
    grid-template-columns: 1fr;
  }

  .photo-card.featured {
    grid-column: span 1;
  }

  .site-footer {
    flex-direction: column;
  }
}
