@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/great-vibes.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500i.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #ffd6e8;
  --cream-deep: #ffc2de;
  --paper: rgba(255, 252, 254, 0.92);
  --blush: #ffd6e8;
  --blush-deep: #ff8fbf;
  --rose: #ff8fbf;
  --rose-deep: #d6457f;
  --button: #e75a97;
  --lavender: #e6d9ff;
  --lavender-deep: #cbb6f2;
  --lilac: #8d3d68;
  --sky: #cfe8ff;
  --sky-deep: #7fb6f5;
  --outline: #5a8fd8;
  --outline-ink: #1f4f86;
  --ink: #3a2433;
  --muted: #5c4554;
  --line: rgba(90, 50, 80, 0.16);
  --shadow: 0 18px 50px rgba(215, 100, 150, 0.14);
  --radius: 28px;
  --script: "Great Vibes", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito", "Segoe UI", sans-serif;
  --header: 4.5rem;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  background-color: #ffd6e8;
  background-image:
    radial-gradient(920px 560px at 0% 0%, #ffb3d4 0%, transparent 58%),
    radial-gradient(860px 520px at 100% 0%, #9dcbff 0%, transparent 54%),
    radial-gradient(740px 540px at 72% 38%, #d2c0ff 0%, transparent 56%),
    linear-gradient(165deg, #ffd6e8 0%, #cfe8ff 46%, #e6d9ff 100%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; }

a { color: var(--lilac); }

a:hover { color: var(--rose-deep); }

h1, h2, h3, .wordmark, .thanks h3, .letter .script, .site-footer .script { color: var(--rose-deep); }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 20;
}
.skip:focus { top: 0.75rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lilac);
}

h1, h2, h3, .script {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.7rem 4vw;
  background: rgba(255, 214, 232, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--rose-deep);
  line-height: 0.8;
}
.wordmark span {
  font-family: var(--script);
  font-size: 2.15rem;
  font-weight: 400;
}
.wordmark small {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-left: 0.15rem;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 20px rgba(120, 86, 104, 0.1);
  display: grid;
  gap: 5px;
  place-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--rose-deep);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.5rem 4vw 1.2rem;
  background: rgba(255, 214, 232, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-nav.is-open { display: grid; gap: 0.3rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  padding: 0.75rem 0.2rem;
  min-height: 44px;
}
.nav-order { display: inline-flex; }
section, [id] { scroll-margin-top: 5.2rem; }

.hero {
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding: 1.2rem 0 2.5rem;
  overflow: hidden;
}
.hero h1 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3.6rem, 16vw, 7.6rem);
  color: var(--rose-deep);
  margin: 0;
  padding-top: 0.12em;
  line-height: 1.05;
}
.hero .eyebrow {
  margin-bottom: 0.9rem;
  line-height: 1.5;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0.6rem 0 0;
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  background: var(--button);
  color: white;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.button:hover { background: var(--rose-deep); color: white; }
.button.secondary {
  background: white;
  color: var(--outline-ink);
  box-shadow: inset 0 0 0 2px var(--outline);
}
.button.secondary:hover { background: var(--sky); color: var(--outline-ink); }
.button.small { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.95rem; }
.button:disabled { opacity: 0.65; cursor: progress; }

.cloud {
  position: absolute;
  z-index: 0;
  width: 150px;
  height: 48px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 12px 28px rgba(90, 143, 216, 0.16);
  pointer-events: none;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud::before { width: 58px; height: 58px; left: 22px; top: -28px; }
.cloud::after { width: 78px; height: 78px; right: 18px; top: -42px; }
.cloud-a { width: 190px; height: 58px; top: 8%; right: 3%; }
.cloud-b { width: 130px; height: 42px; top: auto; bottom: 6%; left: 2%; }
.cloud-c { width: 110px; height: 36px; bottom: 10%; right: 22%; top: auto; opacity: 0.95; }
.cloud-d { width: 150px; top: 14%; left: auto; right: 8%; }
#creations .cloud-d { top: 18px; right: 6%; }
@media (max-width: 759px) {
  .hero .cloud-a,
  .hero .cloud-b,
  .hero .cloud-d { display: none; }
  .hero .cloud-c {
    display: block;
    top: auto;
    bottom: 0.4rem;
    right: -18px;
    width: 88px;
    height: 30px;
  }
}
.hero > :not(.cloud),
section > .wrap { position: relative; z-index: 1; }
#creations, #about, #order, #cakes, #ideas, #how {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 0.8rem;
  align-items: end;
}
.hero-photos figure { margin: 0; }
.hero-photos img, .creation img, .shot img, .idea-visual img, .sketch {
  width: 100%;
  display: block;
  object-fit: cover;
}
.frame {
  background: white;
  border-radius: 32px 32px 26px 26px;
  padding: 0.55rem 0.55rem 0.7rem;
  box-shadow: var(--shadow);
}
.frame img { border-radius: 26px 26px 18px 18px; aspect-ratio: 3/4; }
.frame figcaption, .creation figcaption, .idea p, .shot + p { color: var(--muted); }
.frame figcaption {
  margin: 0.55rem 0.35rem 0.15rem;
  font-size: 0.92rem;
}
.hero-photos figure:first-child { transform: rotate(-1.5deg); }
.hero-photos figure:last-child { transform: rotate(2deg); margin-bottom: 1.4rem; }

.ribbon {
  display: flex;
  gap: 0.8rem 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.9rem 1rem 1.3rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

section { padding: 2.6rem 0; }
section h2 {
  font-size: clamp(2.3rem, 6vw, 3.5rem);
  margin: 0.2rem 0 0.6rem;
}
.section-intro { max-width: 40rem; color: var(--muted); margin-top: 0; }

.creation-grid, .idea-grid, .cake-list { display: grid; gap: 1.1rem; }
.creation {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.creation img { aspect-ratio: 4/5; }
.creation figcaption { padding: 1rem 1.1rem 1.2rem; }
.creation h3 { margin: 0.2rem 0; font-size: 1.8rem; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.1rem 0.65rem;
  border-radius: 999px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge.quiet { background: var(--lavender); color: var(--lilac); }
.badge.sea { background: var(--sky); color: var(--outline-ink); }

.cake {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius);
  padding: 0.8rem;
  box-shadow: 0 10px 30px rgba(120, 86, 104, 0.06);
}
.cake-copy h3 { margin: 0.25rem 0; font-size: 2rem; }
.price {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--sky);
  color: var(--outline-ink);
  font-weight: 800;
  font-size: 0.92rem;
}
.gallery { display: flex; gap: 0.55rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.2rem; }
.shot {
  flex: 0 0 78%;
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 22px;
  position: relative;
  cursor: zoom-in;
}
.shot img { border-radius: 22px; aspect-ratio: 4/5; background: var(--cream-deep); }
.shot[data-placeholder]::after,
.idea-visual[data-placeholder]::after {
  content: "Sample";
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rose-deep);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pampers {
  margin: 0.4rem 0;
  padding: 1.1rem 1.1rem 0.3rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 214, 232, 0.8), rgba(230, 217, 255, 0.45));
}
.pampers h3 { margin: 0.2rem 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.pampers > p { margin-top: 0.2rem; }

.price-note {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-top: 1.2rem;
  padding: 1.1rem 1.15rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffd6e8, #e6d9ff 46%, #cfe8ff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8), 0 12px 30px rgba(140, 90, 110, 0.08);
}
.price-note p { margin: 0; }
.price-note-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--rose);
}
.price-note-short { margin: 0 0 1rem; }

.idea {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(120, 86, 104, 0.08);
  display: flex;
  flex-direction: column;
}
.idea-visual { position: relative; background: var(--cream-deep); }
.idea-visual img, .sketch { aspect-ratio: 4/5; }
.idea-body { padding: 0.95rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.idea h3 { margin: 0; font-size: 1.7rem; }
.idea p { margin: 0; }
.swatches { display: flex; gap: 0.35rem; }
.swatches i {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(62, 49, 72, 0.08);
}
.palette {
  min-height: 180px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
}
.palette span { min-height: 92px; }
.idea .button { margin-top: auto; align-self: flex-start; }
.idea-note {
  background: rgba(255,253,251,0.72);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: var(--muted);
}

.about-grid, .order-layout { display: grid; gap: 1.3rem; }
.portrait {
  border-radius: 46% 46% 38% 38% / 34% 34% 42% 42%;
  padding: 0.7rem;
  background: linear-gradient(160deg, #ffd6e8, #e6d9ff 55%, #cfe8ff);
  box-shadow: var(--shadow);
}
.portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 32%;
  border-radius: inherit;
  display: block;
  background: white;
}
.letter {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}
.letter .script { font-family: var(--script); font-size: 2.4rem; color: var(--rose-deep); margin: 0; }
.letter p { margin: 0.8rem 0; }

.steps { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  background: rgba(255,253,251,0.75);
  border-radius: 22px;
  padding: 0.9rem;
}
.steps span {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blush);
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: 1.3rem;
}
.steps li:nth-child(2) span { background: var(--lavender); color: var(--lilac); }
.steps li:nth-child(3) span { background: var(--sky); color: var(--outline-ink); }
.steps li:nth-child(4) span { background: #ffd6e8; color: var(--lilac); }

.order-card, .thanks {
  background: var(--paper);
  border-radius: 32px;
  padding: 1.1rem 1rem 1.3rem;
  box-shadow: var(--shadow);
}
form { display: grid; gap: 0.85rem; }
label, .check, .radio { font-weight: 700; }
.field { display: grid; gap: 0.3rem; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
.help, .error { font-weight: 600; font-size: 0.92rem; }
.help { color: var(--muted); }
.error { color: #8d2d42; min-height: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c46b7c; }
.checks, .radios { display: grid; gap: 0.45rem; border: 0; margin: 0; padding: 0; }
.check, .radio { display: flex; gap: 0.6rem; align-items: center; font-weight: 700; min-height: 44px; }
.check input, .radio input { width: 1.15rem; height: 1.15rem; accent-color: var(--rose-deep); }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status { min-height: 1.4rem; font-weight: 700; }
.thanks[hidden] { display: none; }
.thanks h3 { font-family: var(--script); font-size: 2.6rem; color: var(--rose-deep); margin: 0.2rem 0 0.4rem; font-weight: 400; }

.site-footer {
  padding: 2.2rem 0 2.8rem;
  color: var(--muted);
}
.site-footer .script { font-family: var(--script); font-size: 2.6rem; color: var(--rose-deep); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.1rem; }
.site-footer a { font-weight: 700; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(48, 36, 52, 0.72);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  z-index: 30;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: min(82vh, 900px); border-radius: 18px; }
.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: white;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (min-width: 760px) {
  .hero-photos figure:first-child img, .creation img { aspect-ratio: 4/5; }
  .creation-grid, .idea-grid { grid-template-columns: 1fr 1fr; }
  .cake { grid-template-columns: 240px 1fr; align-items: center; padding: 1rem; }
  .shot { flex-basis: 46%; }
  .about-grid, .order-layout { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    align-items: center;
    gap: 0.3rem;
  }
  .site-nav a { padding: 0.4rem 0.7rem; }
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    min-height: calc(100svh - var(--header));
    padding-top: 1rem;
  }
  .idea-grid { grid-template-columns: repeat(3, 1fr); }
  .order-layout { grid-template-columns: 0.8fr 1.2fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
