/* ============================================
   Design tokens
   ============================================ */
:root {
  --bg:           #fad5d8;
  --surface:      #f5c6ca;
  --surface-alt:  #efb8bd;
  --primary:      #7a2028;
  --primary-dark: #5a1620;
  --text:         #7a2028;
  --muted:        #a84d55;
  --border:       #e8b0b5;
  --white:        #fef5f5;
  --accent:       #c27a80;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
  --white-subtle: rgba(254, 245, 245, 0.6);
  --white-ghost:  rgba(254, 245, 245, 0.08);
}

/* ============================================
   Reset & base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   Focus styles
   ============================================ */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 3px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  border-radius: 3rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.18s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
}

.btn--secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn--secondary:hover {
  background-color: var(--surface);
}

.btn--white {
  background-color: var(--white);
  color: var(--primary);
}

.btn--white:hover {
  background-color: var(--bg);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid var(--white-subtle);
}

.btn--outline-white:hover {
  border-color: var(--white);
  background-color: var(--white-ghost);
}

.btn__icon {
  width: 1.0625rem;
  height: 1.0625rem;
  flex-shrink: 0;
}

/* ============================================
   Site header
   ============================================ */
.site-header {
  padding: 1.25rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--bg);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--border);
}

.site-header__inner {
  max-width: 70rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__logo-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.site-header__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.3);
}

.site-header__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--primary);
}

.site-header__tagline {
  font-size: 0.6563rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.1875rem;
  white-space: nowrap;
}

.site-header__handle {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.18s ease;
}

.site-header__handle:hover {
  color: var(--primary);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  max-width: 70rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 2.875rem;
  line-height: 1.12;
  color: var(--primary);
}

.hero__sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 26rem;
  margin-top: 1.125rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__media {
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: var(--surface);
  flex-shrink: 0;
}

.hero__image {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: center 25%;
}

@media (min-width: 640px) {
  .hero__headline {
    font-size: 3.5rem;
  }
  .hero__image {
    height: 28rem;
  }
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: center;
    padding: 3rem 2rem 5rem;
    gap: 3.5rem;
  }

  .hero__content {
    flex: 1 1 52%;
  }

  .hero__headline {
    font-size: 3.75rem;
  }

  .hero__media {
    flex: 0 0 40%;
    border-radius: 1.5rem;
  }

  .hero__image {
    height: 36rem;
    object-position: center 22%;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 3.5rem 2rem 6rem;
    gap: 5rem;
  }

  .hero__headline {
    font-size: 4.75rem;
  }

  .hero__image {
    height: 44rem;
  }
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
  padding: 0 1.25rem 4rem;
  max-width: 70rem;
  margin: 0 auto;
}

.gallery__grid {
  columns: 2;
  column-gap: 0.625rem;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 0.625rem;
  border-radius: 0.875rem;
  overflow: hidden;
  background-color: var(--surface);
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .gallery {
    padding: 0 2rem 5rem;
  }

  .gallery__grid {
    columns: 3;
    column-gap: 0.875rem;
  }

  .gallery__item {
    margin-bottom: 0.875rem;
    border-radius: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    column-gap: 1.125rem;
  }

  .gallery__item {
    margin-bottom: 1.125rem;
    border-radius: 1.25rem;
  }
}

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background-color: var(--primary);
  padding: 4.5rem 1.25rem;
  text-align: center;
}

.cta-band__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.cta-band__eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.875rem;
}

.cta-band__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 2.375rem;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band__sub {
  font-size: 0.9375rem;
  color: var(--accent);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .cta-band {
    padding: 6rem 2rem;
  }

  .cta-band__heading {
    font-size: 3.125rem;
  }
}

/* ============================================
   Site footer
   ============================================ */
.site-footer {
  background-color: var(--primary-dark);
  padding: 2.25rem 1.25rem;
  text-align: center;
}

.site-footer__inner {
  max-width: 70rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1875rem;
}

.site-footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 0.375rem;
}

.site-footer__copy {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.75;
}

.site-footer__credit {
  font-size: 0.6875rem;
  color: var(--accent);
  opacity: 0.4;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ============================================
   Reveal animations
   ============================================ */
.js-reveal {
  opacity: 0;
  transform: translateY(1.375rem);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero stagger */
.hero__headline.js-reveal   { transition-delay: 0.1s; }
.hero__sub.js-reveal        { transition-delay: 0.2s; }
.hero__actions.js-reveal    { transition-delay: 0.3s; }
.hero__media.js-reveal      { transition-delay: 0.15s; }

/* Gallery stagger */
.gallery__item.js-reveal:nth-child(2) { transition-delay: 0.08s; }
.gallery__item.js-reveal:nth-child(3) { transition-delay: 0.16s; }
.gallery__item.js-reveal:nth-child(4) { transition-delay: 0.06s; }
.gallery__item.js-reveal:nth-child(5) { transition-delay: 0.14s; }
.gallery__item.js-reveal:nth-child(6) { transition-delay: 0.22s; }

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

  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: background-color 0.1s ease, color 0.1s ease, border-color 0.1s ease;
  }

  .btn:hover {
    transform: none;
  }

  .gallery__item img {
    transition: none;
  }
}
