:root {
  --ink: #14100f;
  --ink-soft: #4c403c;
  --cream: #fbf4e8;
  --cream-2: #f4e3cf;
  --porcelain: #fffaf4;
  --pink: #e9a9bd;
  --pink-soft: #f7d9e2;
  --cherry: #ae1730;
  --blue: #9bc7c9;
  --butter: #f2cf73;
  --lavender: #b7a7d6;
  --shadow: 0 20px 60px rgba(20, 16, 15, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  background: var(--pink);
  color: var(--ink);
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select,
input,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 44px);
  color: var(--porcelain);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 244, 232, 0.92);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(20, 16, 15, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.brand-name,
.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 250, 244, 0.36);
  border-radius: 999px;
  background: rgba(20, 16, 15, 0.18);
}

.is-scrolled .site-nav,
.is-open .site-nav {
  border-color: rgba(20, 16, 15, 0.12);
  background: rgba(255, 250, 244, 0.62);
}

.site-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover {
  background: rgba(255, 250, 244, 0.18);
}

.is-scrolled .site-nav a:hover,
.is-open .site-nav a:hover {
  background: var(--pink-soft);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(420px, 1.15fr);
  align-items: stretch;
  gap: clamp(22px, 4vw, 64px);
  padding-top: 88px;
  padding-bottom: 30px;
  background: var(--ink);
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax);
}

.hero::before {
  content: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  bottom: 0;
  z-index: 0;
  height: 22px;
  background: radial-gradient(circle at 12px 50%, var(--cream) 0 4px, transparent 4.5px) repeat-x;
  background-size: 24px 20px;
  opacity: 1;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  color: var(--porcelain);
  padding: 46px 0 84px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--cherry);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .kicker {
  color: var(--pink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 590px;
  margin-bottom: 24px;
  font-size: clamp(46px, 5.6vw, 80px);
  font-weight: 500;
}

h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4.6vw, 70px);
  font-weight: 500;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(27px, 3vw, 46px);
  font-weight: 500;
}

.hero-text {
  max-width: min(500px, 100%);
  color: rgba(255, 250, 244, 0.78);
  font-size: 18px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 21px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--cherry);
  color: #fff;
  box-shadow: 0 14px 34px rgba(174, 23, 48, 0.28);
}

.button-secondary {
  border-color: rgba(255, 250, 244, 0.38);
  color: var(--porcelain);
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 244, 0.14);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

.hero-image-wrap img {
  width: 100%;
  height: min(76vh, 760px);
  object-fit: cover;
  object-position: center right;
}

.cake-strip {
  overflow: hidden;
  border-top: 1px solid rgba(20, 16, 15, 0.1);
  border-bottom: 1px solid rgba(20, 16, 15, 0.1);
  background: var(--porcelain);
}

.strip-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2.6vw, 34px);
  font-style: italic;
  white-space: nowrap;
}

.strip-track span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 16px;
  border-radius: 50%;
  background: var(--cherry);
  vertical-align: middle;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(24px, 7vw, 96px);
  padding: clamp(74px, 10vw, 128px) 0;
}

.intro p:last-child {
  align-self: end;
  max-width: 570px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 24px);
}

.collection-section {
  position: relative;
  padding: clamp(68px, 9vw, 112px) 0;
  background: var(--porcelain);
}

.collection-section::before,
.studio::before,
.order::before {
  content: "";
  display: block;
  height: 18px;
  margin-bottom: clamp(48px, 6vw, 72px);
  background:
    radial-gradient(circle at 10px 50%, var(--pink) 0 5px, transparent 5.5px) repeat-x;
  background-size: 22px 18px;
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(20px, 3.4vw, 44px);
  align-items: stretch;
}

.gallery-feature,
.occasion-image,
.studio-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-2);
  box-shadow: var(--shadow);
}

.gallery-feature {
  position: relative;
}

.gallery-feature img,
.occasion-image img,
.studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-feature figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  max-width: calc(100% - 32px);
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(20, 16, 15, 0.72);
  color: var(--porcelain);
  backdrop-filter: blur(12px);
}

.gallery-feature figcaption span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mood-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mood-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 13px;
  min-height: 105px;
  align-content: center;
  border: 1px solid rgba(20, 16, 15, 0.13);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--cream);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mood-card:hover {
  background: #fff7f0;
  box-shadow: 0 12px 28px rgba(20, 16, 15, 0.08);
  transform: translateY(-2px);
}

.mood-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.mood-card small {
  grid-column: 2;
  color: var(--ink-soft);
}

.swatch {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border: 1px solid rgba(20, 16, 15, 0.16);
  border-radius: 50%;
}

.swatch-pink {
  background: var(--pink);
}

.swatch-red {
  background: var(--cherry);
}

.swatch-blue {
  background: var(--blue);
}

.swatch-black {
  background: var(--ink);
}

.occasions {
  padding: clamp(74px, 10vw, 128px) 0;
}

.occasion-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.occasion-copy {
  padding: clamp(22px, 3vw, 34px) 0;
}

.occasion-copy p,
.studio-copy p,
.order-copy p {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin-top: 7px;
  border: 3px solid var(--pink);
  border-radius: 50%;
  background: var(--cherry);
}

.occasion-image {
  aspect-ratio: 1.45 / 1;
}

.studio {
  padding: clamp(68px, 9vw, 116px) 0;
  background: var(--ink);
  color: var(--porcelain);
}

.studio::before {
  margin-bottom: clamp(54px, 7vw, 88px);
  background:
    radial-gradient(circle at 10px 50%, var(--butter) 0 5px, transparent 5.5px) repeat-x;
  background-size: 22px 18px;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.75fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.studio-copy .kicker {
  color: var(--pink);
}

.studio-copy p {
  color: rgba(255, 250, 244, 0.74);
}

.studio-image {
  aspect-ratio: 1.5 / 1;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.note-grid span {
  border: 1px solid rgba(255, 250, 244, 0.18);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(255, 250, 244, 0.06);
  color: rgba(255, 250, 244, 0.86);
  font-weight: 750;
}

.order {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(68px, 9vw, 118px) 0;
}

.order::before {
  grid-column: 1 / -1;
  margin-bottom: 0;
  background:
    radial-gradient(circle at 10px 50%, var(--blue) 0 5px, transparent 5.5px) repeat-x;
  background-size: 22px 18px;
}

.estimate {
  display: inline-grid;
  gap: 3px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(20, 16, 15, 0.12);
  border-radius: var(--radius);
  background: var(--porcelain);
}

.estimate span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(20, 16, 15, 0.12);
  border-radius: var(--radius);
  background: var(--porcelain);
  box-shadow: var(--shadow);
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 16, 15, 0.18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 13px 13px;
  letter-spacing: 0;
}

.order-form textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--cherry);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 44px);
  background: var(--ink);
  color: var(--porcelain);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 250, 244, 0.66);
}

.site-footer a {
  align-self: start;
  color: var(--pink);
  font-weight: 800;
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
      opacity 520ms ease var(--reveal-delay, 0ms),
      transform 620ms cubic-bezier(0.18, 0.86, 0.24, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .motion-ready [data-reveal="image"] {
    transform: translate3d(0, 28px, 0) scale(0.975);
  }

  .motion-ready [data-reveal="card"],
  .motion-ready [data-reveal="item"] {
    transform: translate3d(0, 18px, 0) scale(0.98);
  }

  .motion-ready [data-reveal="strip"] {
    transform: translate3d(0, 16px, 0);
  }

  .motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
  }

  .motion-ready .section-heading[data-reveal]::after {
    content: "";
    display: block;
    width: min(168px, 42vw);
    height: 1px;
    margin-top: 22px;
    background: currentColor;
    opacity: 0.28;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 620ms cubic-bezier(0.18, 0.86, 0.24, 1) calc(var(--reveal-delay, 0ms) + 120ms);
  }

  .motion-ready .section-heading[data-reveal].is-visible::after {
    transform: scaleX(1);
  }

  .motion-ready .gallery-feature.is-visible figcaption {
    animation: captionSettle 620ms cubic-bezier(0.18, 0.86, 0.24, 1) 180ms both;
  }

  @keyframes captionSettle {
    from {
      opacity: 0;
      transform: translate3d(0, 10px, 0);
    }

    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  .gallery-feature img,
  .occasion-image img,
  .studio-image img,
  .hero-image-wrap img {
    transition: transform 650ms ease;
  }

  .gallery-feature:hover img,
  .occasion-image:hover img,
  .studio-image:hover img,
  .hero-image-wrap:hover img {
    transform: scale(1.025);
  }
}

@media (max-width: 920px) {
  .site-header {
    color: var(--ink);
    background: rgba(251, 244, 232, 0.92);
    backdrop-filter: blur(18px);
    min-height: 74px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    position: absolute;
    top: 16px;
    right: 18px;
    margin-left: 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: none;
    border-radius: var(--radius);
    background: var(--porcelain);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    border-radius: var(--radius);
    padding: 13px 15px;
  }

  .hero,
  .intro,
  .gallery,
  .occasion-layout,
  .studio-grid,
  .order {
    grid-template-columns: 1fr;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 92px 18px 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 42px 0 20px;
  }

  .hero-image-wrap {
    border-radius: var(--radius);
  }

  .hero-image-wrap img {
    height: auto;
    max-height: none;
  }

  .intro {
    padding-top: 70px;
  }

  .gallery-feature {
    aspect-ratio: 1.3 / 1;
  }

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

  .studio-grid {
    gap: 34px;
  }

}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .brand-name {
    font-size: 16px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(31px, 8.7vw, 38px);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(29px, 8.6vw, 38px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  h3,
  p {
    overflow-wrap: anywhere;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .strip-track {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .strip-track::-webkit-scrollbar {
    display: none;
  }

  .mood-grid,
  .note-grid,
  .order-form {
    grid-template-columns: 1fr;
  }

  .mood-card small,
  .wide {
    grid-column: auto;
  }

  .occasion-image,
  .studio-image,
  .gallery-feature {
    aspect-ratio: 1 / 1;
  }

  .gallery-feature figcaption {
    position: static;
    max-width: 100%;
    border-radius: 0;
  }
}

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

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

}
