html {
  scroll-behavior: smooth;
}

:root {
  --paper: #FAF7F0;
  --ink: #262220;
  --muted: #6E655C;
  --accent: #3B5F41;
  --accent-soft: #EDF1E9;
  --rule: #E4DED2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  margin: 0;
  font-weight: 500;
}

a {
  color: inherit;
}

.section-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}
.nav-name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
}
.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 28px 50px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap-reverse;
  align-items: center;
}
.hero-text {
  flex: 1 1 380px;
  min-width: 260px;
}
.hero-text h1 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 16.5px;
  color: #3A342F;
  margin: 0 0 26px;
  max-width: 480px;
}
.hero-photo {
  flex: 0 0 190px;
}
.polaroid {
  width: 190px;
  height: 230px;
  background: #fff;
  padding: 10px 10px 24px;
  border: 1px solid var(--rule);
  box-shadow: 0 6px 18px rgba(38, 34, 32, 0.08);
  transform: rotate(-3deg);
}
.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.polaroid.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
}
.polaroid.no-photo::after {
  content: "photo coming soon";
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 4px;
  text-decoration: none;
}
.btn:hover {
  background: #2E4A34;
}

/* Sections */
section {
  padding: 54px 0;
}
section.alt {
  background: var(--accent-soft);
}
section h2 {
  font-size: 28px;
  margin-bottom: 6px;
}
.section-note {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 30px;
}

.entry-list {
  display: flex;
  flex-direction: column;
}
.entry {
  display: block;
  text-decoration: none;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.entry:last-child {
  border-bottom: 1px solid var(--rule);
}
.entry h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 5px;
}
.entry:hover h3 {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}
.entry-desc {
  font-size: 14.5px;
  color: #3A342F;
  margin: 0;
  max-width: 560px;
}

/* Footer */
footer {
  padding: 50px 0 70px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-inner h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.footer-inner p {
  margin: 2px 0;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 540px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .polaroid {
    transform: rotate(-2deg);
  }
}
