:root {
  --ink: #2a2218;
  --forest: #3d4f3a;
  --moss: #5b6f52;
  --clay: #c46a3a;
  --clay-deep: #a3532b;
  --gold: #d7a35a;
  --sand: #f3eadc;
  --paper: #f7f1e6;
  --cream: #fffaf2;
  --muted: #6d6458;
  --line: rgba(42, 34, 24, 0.1);
  --shadow: 0 18px 40px rgba(42, 34, 24, 0.1);
  --radius: 1.4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 163, 90, 0.12), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(196, 106, 58, 0.08), transparent 24%),
    var(--paper);
  line-height: 1.7;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  object-fit: cover;
}

h1,
h2,
h3,
.brand-name,
.hero-title,
.section-title,
.welcome-line,
.footer-brand {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hand-note {
  font-family: "Caveat", cursive;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--clay);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.hand-note-dark {
  color: var(--clay-deep);
}

.hand-note-light {
  color: #e8c48a;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--clay);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-nav {
  padding: 0.85rem 0;
  background: rgba(247, 241, 230, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background: rgba(255, 250, 242, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(42, 34, 24, 0.05);
}

.brand-mark {
  color: var(--forest);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 600;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: 0.55rem 0.85rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--clay-deep);
}

.nav-cta {
  margin-left: 0.55rem;
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.toggler-lines,
.toggler-lines::before,
.toggler-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.toggler-lines::before,
.toggler-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.toggler-lines::before {
  top: -7px;
}

.toggler-lines::after {
  top: 7px;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.78rem 1.4rem;
  border: 0;
}

.btn-clay {
  background: var(--clay);
  color: #fff;
}

.btn-clay:hover,
.btn-clay:focus {
  background: var(--clay-deep);
  color: #fff;
}

.btn-soft {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(42, 34, 24, 0.12);
}

.btn-soft:hover,
.btn-soft:focus {
  background: var(--sand);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(91, 111, 82, 0.16), transparent 32%),
    radial-gradient(circle at 10% 80%, rgba(196, 106, 58, 0.1), transparent 28%);
}

.hero-title {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  margin-bottom: 1.1rem;
}

.hero-lead {
  max-width: 36rem;
  font-size: 1.12rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.photo-cluster {
  position: relative;
  min-height: 30rem;
}

.polaroid {
  position: absolute;
  margin: 0;
  background: #fff;
  padding: 0.55rem 0.55rem 1.6rem;
  box-shadow: var(--shadow);
  border-radius: 0.4rem;
}

.polaroid img {
  width: 100%;
  height: 100%;
  border-radius: 0.2rem;
}

.polaroid-one {
  width: 58%;
  height: 13.5rem;
  top: 0;
  left: 0;
  transform: rotate(-6deg);
  z-index: 2;
}

.polaroid-two {
  width: 42%;
  height: 16rem;
  top: 1.5rem;
  right: 0.4rem;
  transform: rotate(7deg);
  z-index: 3;
}

.polaroid-three {
  width: 48%;
  height: 11rem;
  top: 15.2rem;
  left: 8%;
  transform: rotate(3deg);
  z-index: 1;
}

.note-card {
  position: absolute;
  right: 4%;
  bottom: 0.4rem;
  width: min(16.5rem, 72%);
  background: #fff7e8;
  border-radius: 0.3rem 1.2rem 0.4rem 1.1rem;
  padding: 1.1rem 1.15rem 0.9rem;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  z-index: 4;
}

.note-card p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.note-sign {
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  color: var(--clay);
  margin-top: 0.7rem;
}

.welcome-bar {
  padding: 2.2rem 0 2.6rem;
  border-top: 1px dashed rgba(42, 34, 24, 0.12);
  border-bottom: 1px dashed rgba(42, 34, 24, 0.12);
}

.welcome-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.welcome-line {
  margin: 0;
  font-size: 1.35rem;
  font-style: italic;
}

.section {
  padding: 6rem 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin-bottom: 1rem;
}

.section-copy {
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section-copy-narrow,
.section-head {
  max-width: 38rem;
}

.section-head {
  margin-bottom: 2.4rem;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 26rem;
  border-radius: 1.6rem 0.5rem 1.8rem 0.8rem;
  box-shadow: var(--shadow);
}

.photo-caption {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  background: rgba(255, 250, 242, 0.92);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.value-list li {
  padding: 0.85rem 0;
  border-top: 1px dashed rgba(42, 34, 24, 0.12);
  color: var(--muted);
}

.value-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.programs-section {
  background: var(--sand);
}

.program-card {
  background: var(--cream);
  border-radius: 1.5rem 0.7rem 1.5rem 0.9rem;
  padding: 1.6rem;
  height: 100%;
  box-shadow: 0 10px 28px rgba(42, 34, 24, 0.05);
}

.program-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.program-card p {
  margin: 0;
  color: var(--muted);
}

.tilt-left {
  transform: rotate(-0.6deg);
}

.tilt-right {
  transform: rotate(0.7deg);
}

.program-card:hover {
  transform: rotate(0deg) translateY(-4px);
}

.letter-card {
  background: #fffdf8;
  border-radius: 0.4rem 1.4rem 0.5rem 1.2rem;
  padding: 2.1rem 2rem 1.7rem;
  box-shadow: var(--shadow);
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    rgba(42, 34, 24, 0.05) 32px
  );
}

.letter-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.letter-card p {
  color: var(--muted);
}

.letter-close {
  margin: 1.3rem 0 1.1rem;
}

.text-link {
  color: var(--clay-deep);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--forest);
}

.notify-section {
  padding-top: 0;
}

.notify-panel {
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 1.8rem 0.8rem 1.6rem 1rem;
  padding: 2.3rem;
  box-shadow: var(--shadow);
}

.notify-form .form-label {
  font-weight: 700;
  font-size: 0.88rem;
}

.notify-form .form-control {
  background: #fff;
  border: 1px solid rgba(42, 34, 24, 0.12);
  color: var(--ink);
  border-radius: 0.9rem;
  padding: 0.82rem 0.95rem;
}

.notify-form .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(196, 106, 58, 0.18);
  border-color: var(--clay);
}

.notify-form .col-md-2 .btn {
  margin-top: 1.85rem;
}

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: rgba(91, 111, 82, 0.12);
  color: var(--forest);
  font-weight: 700;
}

.site-footer {
  background: #2d261d;
  color: rgba(255, 250, 242, 0.72);
  padding: 4rem 0 1.6rem;
}

.footer-brand {
  font-size: 1.7rem;
  color: #fffaf2;
  margin-bottom: 0.75rem;
}

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 250, 242, 0.5);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 250, 242, 0.8);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 250, 242, 0.08);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.22s;
}

.delay-3 {
  animation-delay: 0.32s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--cream);
    margin-top: 0.8rem;
    padding: 0.85rem;
    border-radius: 1.1rem;
    border: 1px solid var(--line);
  }

  .nav-cta {
    margin: 0.45rem 0 0.2rem;
    display: inline-block;
  }

  .photo-cluster {
    min-height: 28rem;
  }

  .notify-form .col-md-2 .btn {
    margin-top: 0;
  }

  .about-photo img {
    height: 20rem;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 8rem;
  }

  .photo-cluster {
    min-height: 26rem;
  }

  .polaroid-one,
  .polaroid-two,
  .polaroid-three {
    position: relative;
    width: 78%;
    height: 11rem;
    top: auto;
    left: auto;
    right: auto;
    margin-bottom: -2.4rem;
  }

  .polaroid-two {
    margin-left: auto;
  }

  .note-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 2.8rem;
  }

  .notify-panel,
  .letter-card {
    padding: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .program-card {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
