:root {
  --bg: #fff7eb;
  --bg-soft: #fffdf8;
  --surface: rgba(255, 250, 242, 0.92);
  --surface-strong: #fff8ef;
  --ink: #201814;
  --muted: #6e5a51;
  --line: rgba(32, 24, 20, 0.18);
  --accent: #f36c21;
  --accent-deep: #db5d17;
  --accent-soft: #ffb37f;
  --shadow: 0 26px 70px rgba(107, 67, 35, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at 15% 24%, rgba(255, 195, 148, 0.42), transparent 20%),
    radial-gradient(circle at 85% 72%, rgba(255, 198, 128, 0.25), transparent 18%),
    linear-gradient(180deg, #fffdf9 0%, #fff8ec 50%, #fff5e6 100%);
}

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

a {
  color: inherit;
}

.site-shell {
  overflow: hidden;
}

.panel {
  position: relative;
  min-height: 100vh;
  padding: 2rem clamp(1rem, 3vw, 3rem) 4rem;
}

.hero,
.gift-page {
  max-width: 1280px;
  margin: 0 auto;
}

.hero__glow {
  position: absolute;
  z-index: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.6;
}

.hero__glow--left {
  top: 4rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(255, 173, 112, 0.78), transparent 68%);
}

.hero__glow--right {
  right: -10rem;
  bottom: 4rem;
  background: radial-gradient(circle, rgba(255, 224, 181, 0.88), transparent 68%);
}

.masthead,
.hero__layout,
.gift-page__top,
.gift-page__layout {
  position: relative;
  z-index: 1;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.masthead__side {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.masthead__side p,
.masthead__side span {
  margin: 0;
}

.masthead__side span {
  color: var(--muted);
  line-height: 1.5;
}

.masthead__side--right {
  text-align: right;
}

.masthead__brand {
  padding: 0 1.6rem;
  color: var(--accent);
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.masthead__link {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  padding-top: 2rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 31rem;
  padding: clamp(1rem, 2vw, 2rem) 0;
}

.eyebrow,
.gift__label,
.gift-highlight__eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  line-height: 0.95;
}

h1 {
  max-width: 8ch;
  font-size: clamp(3.4rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.hero__content .button {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.7rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(243, 108, 33, 0.22);
  outline-offset: 3px;
}

.button--primary {
  color: #fff9f4;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8a35 100%);
  box-shadow: 0 18px 34px rgba(243, 108, 33, 0.26);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 22px 40px rgba(243, 108, 33, 0.32);
}

.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: 0.92fr 1fr 0.88fr;
  gap: 1rem;
  min-height: 42rem;
  padding: 0;
}

.collage__item {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(80, 50, 32, 0.14);
  background: #eedfce;
}

.collage__item img {
  height: 100%;
  object-fit: cover;
}

.collage__item--portrait {
  grid-row: 1 / span 2;
  transform: translateY(1rem);
}

.collage__item--wide {
  grid-column: 2;
  min-height: 14rem;
  margin: 0;
}

.collage__item--group {
  grid-column: 1 / span 2;
  min-height: 13rem;
  width: 100%;
}

.collage__item--baby {
  grid-column: 2;
  grid-row: 2 / span 2;
  margin-left: 0;
}

.gift-page {
  display: grid;
  gap: 2rem;
}

.gift-page__top {
  max-width: 38rem;
  padding-top: 0.4rem;
}

.gift-page__title {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.3rem);
}

.gift-page__intro,
.gift__lead,
.gift__text,
.detail-list,
.gift-highlight p {
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.8;
  color: var(--muted);
}

.gift-page__intro {
  margin: 1.2rem 0 0;
  max-width: 34rem;
}

.gift-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.4rem, 3vw, 2rem);
  align-items: start;
}

.gift__details,
.gift-highlight {
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(32, 24, 20, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.detail-list {
  margin: 0;
  padding-left: 1.2rem;
}

.detail-list strong {
  color: var(--ink);
}

.gift__lead,
.gift__text {
  margin: 0 0 1rem;
}

.gift__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@media (max-width: 1080px) {
  .hero__layout,
  .gift-page__layout {
    grid-template-columns: 1fr;
  }

  .collage {
    min-height: 38rem;
  }
}

@media (max-width: 820px) {
  .masthead {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .masthead__side,
  .masthead__side--right {
    text-align: center;
  }

  .masthead__brand {
    padding: 0;
  }

  .panel {
    padding-top: 1rem;
  }
}

@media (max-width: 720px) {
  .panel {
    padding: 1rem 1rem 3rem;
  }

  .masthead {
    gap: 0.7rem;
    padding: 0.9rem 0;
  }

  .masthead__side {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .masthead__brand {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero__layout {
    gap: 1.2rem;
    padding-top: 1.2rem;
  }

  h1,
  .gift-page__title {
    max-width: none;
    font-size: clamp(2.7rem, 11vw, 4.2rem);
  }

  .button {
    width: 100%;
  }

  .collage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(13rem, auto));
    min-height: auto;
    gap: 0.85rem;
  }

  .collage__item--portrait,
  .collage__item--wide,
  .collage__item--group,
  .collage__item--baby {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    margin: 0;
    min-height: 13rem;
    transform: none;
  }

  .gift__actions {
    flex-direction: column;
  }
}

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

  .button,
  .reveal {
    transition: none;
  }
}
