/* ==========================================================
   TOKENS
   ========================================================== */
:root {
  --cream: #FFF9F1;
  --paper: #FBF0E1;
  --ink: #2B1A12;
  --muted: #6E5A4C;
  --maroon: #7C1F3E;
  --gold: #C08A34;
  --teal: #2F8F86;
  --terracotta: #C1652F;
  --line: #E9D9C2;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Caveat', cursive;

  --container: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* Soft warm background wash */
.bg-wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 500px at 15% -5%, rgba(192,138,52,0.12), transparent 60%),
    radial-gradient(ellipse 800px 600px at 100% 15%, rgba(124,31,62,0.08), transparent 55%),
    radial-gradient(ellipse 700px 500px at 0% 80%, rgba(47,143,134,0.07), transparent 55%);
}

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  padding: 22px 24px;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.nav__logo-dot { color: var(--maroon); }
.nav__back {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__back:hover { color: var(--maroon); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 0;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--terracotta);
  margin: 0 0 4px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.5vw, 3.1rem);
  line-height: 1.18;
  margin: 0 0 30px;
  color: var(--maroon);
}
.hero__amp {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: 0.85em;
  margin: 4px 0;
}
.heart { font-size: 0.75em; }

.hero__intro {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.hero__intro p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 18px;
}

.hero__photo {
  margin: 44px 0 0;
  border-radius: 22px 22px 4px 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(43, 26, 18, 0.35);
  position: relative;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 22px 22px 4px 4px;
  pointer-events: none;
}
.hero__photo img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 25%;
}

/* ==========================================================
   THREAD DIVIDER — signature element
   ========================================================== */
.thread-divider {
  max-width: 300px;
  margin: 56px auto;
  height: 30px;
  color: var(--gold);
  opacity: 0.65;
}
.thread-divider svg { width: 100%; height: 100%; }

/* ==========================================================
   CONTENT
   ========================================================== */
.content-block {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  color: var(--teal);
  text-align: center;
  margin: 0 0 36px;
}

.text-col {
  max-width: 600px;
  margin: 0 auto;
}
.text-col p {
  margin: 0 0 20px;
  color: var(--ink);
}
.text-col p:last-child { margin-bottom: 0; }

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--maroon);
}

.ps-block { margin-top: 8px; text-align: center; }
.ps {
  color: var(--muted);
  font-size: 0.98rem;
}
.signoff {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: var(--maroon);
  margin-top: 6px;
}
.signoff span { color: var(--gold); }

/* ==========================================================
   PHOTOS
   ========================================================== */
figure { margin: 0; }
figure img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 45px -22px rgba(43, 26, 18, 0.4);
}
figcaption {
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

.photo-pair {
  max-width: var(--container);
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
/* Ceremony pair: show each photo in full, no cropping */
.photo-pair__item--tall img { width: 100%; height: auto; }

/* Offset pair (the two "brothers" shots): match heights exactly,
   scale each photo to fit fully within that shared height, no cropping */
.photo-pair--offset {
  align-items: stretch;
}
.photo-pair--offset .photo-pair__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}
.photo-pair--offset .photo-pair__item img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.photo-full {
  max-width: 920px;
  margin: 48px auto;
  padding: 0 24px;
  text-align: center;
}
.photo-full img {
  max-height: 560px;
  object-fit: cover;
  width: 100%;
}

.photo-center {
  max-width: 460px;
  margin: 36px auto;
}
.photo-center img { width: 100%; height: auto; }

.gallery-grid {
  max-width: var(--container);
  margin: 36px auto 44px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid__item img {
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 28px -16px rgba(43, 26, 18, 0.4);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding: 28px 24px 40px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer__top {
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 640px) {
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair--offset .photo-pair__item { height: 380px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .signoff { font-size: 1.8rem; }
}

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