:root {
  --bg-cream: #f5f2e9;
  --bg-warm: #f0dcc9;
  --ink: #1f302b;
  --muted: #5a6d66;
  --card: #fff8ee;
  --line: #d8c7b2;
  --accent: #d3603f;
  --accent-dark: #a13a22;
  --leaf: #4f7262;
  --shadow: 0 18px 45px rgba(52, 42, 32, 0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 8%, #ffe5c9 0, transparent 36%),
    radial-gradient(circle at 84% 24%, #d7eadf 0, transparent 34%),
    linear-gradient(150deg, var(--bg-cream), var(--bg-warm));
  min-height: 100vh;
}

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

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(31, 48, 43, 0.12);
  background: rgba(250, 245, 237, 0.86);
  backdrop-filter: blur(8px);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: clamp(50px, 5vw, 66px);
  height: clamp(50px, 5vw, 66px);
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(31, 48, 43, 0.15);
  background: #fff;
  box-shadow: 0 6px 14px rgba(49, 39, 31, 0.12);
}

.brand-text {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

main {
  width: min(1120px, 94vw);
  margin: 0 auto;
  padding-block: 2rem 4rem;
}

.hero,
.panel,
.gallery-section {
  animation: rise-up 750ms ease both;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.3rem, 3vw, 2.8rem);
  align-items: center;
}

.hero-copy {
  background: rgba(255, 251, 244, 0.8);
  border: 1px solid rgba(31, 48, 43, 0.14);
  border-radius: 28px;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  color: var(--leaf);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.15;
}

h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 6vw, 3.8rem);
}

.lead {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.notice {
  margin-top: 1.2rem;
  background: #fff6ea;
  border: 1px solid #ebcfad;
  border-left: 6px solid var(--accent);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.notice p {
  margin: 0;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(40, 28, 24, 0.16);
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-ghost {
  border-color: rgba(31, 48, 43, 0.3);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(79, 114, 98, 0.14);
}

.hero-photo {
  margin: 0;
  border-radius: 42% 58% 53% 47% / 38% 33% 67% 62%;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 248, 237, 0.8);
}

.hero-photo img {
  width: 100%;
  height: clamp(360px, 44vw, 610px);
  object-fit: cover;
}

.panel {
  margin-top: 2rem;
  background: rgba(255, 249, 240, 0.84);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1rem, 2.2vw, 1.7rem);
}

.panel h2,
.gallery-section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  margin: 0;
}

.panel p {
  margin: 0.85rem 0 0;
}

.gallery-section {
  margin-top: 2.2rem;
}

.section-intro {
  margin-top: 0.6rem;
  color: var(--muted);
}

.gallery-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(31, 48, 43, 0.15);
  box-shadow: 0 10px 22px rgba(47, 40, 33, 0.12);
  transform: translateY(20px);
  opacity: 0;
  animation: lift-in 600ms ease forwards;
}

.photo-card:nth-child(1) {
  animation-delay: 40ms;
}

.photo-card:nth-child(2) {
  animation-delay: 90ms;
}

.photo-card:nth-child(3) {
  animation-delay: 130ms;
}

.photo-card:nth-child(4) {
  animation-delay: 170ms;
}

.photo-card:nth-child(5) {
  animation-delay: 210ms;
}

.photo-card:nth-child(6) {
  animation-delay: 250ms;
}

.photo-card:nth-child(7) {
  animation-delay: 290ms;
}

.photo-card:nth-child(8) {
  animation-delay: 330ms;
}

.photo-card:nth-child(9) {
  animation-delay: 370ms;
}

.photo-card:nth-child(10) {
  animation-delay: 410ms;
}

.photo-card:nth-child(11) {
  animation-delay: 450ms;
}

.photo-card:nth-child(12) {
  animation-delay: 490ms;
}

.photo-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 280ms ease;
}

.photo-card:hover img,
.photo-card:focus-within img {
  transform: scale(1.05);
}

.site-footer {
  margin-top: 1.4rem;
  padding: 1.4rem clamp(1rem, 3vw, 2.5rem) 2rem;
  border-top: 1px solid rgba(31, 48, 43, 0.16);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

@keyframes rise-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lift-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-photo img {
    height: clamp(320px, 58vw, 520px);
  }

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

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

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    font-size: 1.15rem;
  }

  .hero-copy {
    padding: 1rem;
    border-radius: 20px;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
