@font-face {
  font-family: "Fraunces";
  src: url("./assets/fonts/fraunces-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("./assets/fonts/fraunces-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Taste-board color story: cream / blush / coral / peach / ink */
  --cream: #fff7f2;
  --blush: #f0c3d0;
  --coral: #e88974;
  --peach: #f3b39a;
  --ink: #2b1f24;
  --espresso: #2a211c;
  --white: #ffffff;
  --page: #fcf8f5;
  --page-warm: #fff1ea;
  --header: #f3c8d4;
  --footer: #e9b9c8;
  --text: #2b1f24;
  --text-muted: #6b575f;
  --line: #ecd8dc;
  --accent: #c45a48;
  --focus: #8c2f76;
  --shadow: 0 22px 48px rgb(74 40 48 / 0.12);
  --content: 1100px;
  --header-height: 72px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--page);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.preview-chip {
  margin: 0;
  padding: 0.4rem 0.75rem;
  background: color-mix(in srgb, var(--peach) 28%, var(--cream));
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.desktop-only {
  display: none !important;
}

.mobile-only {
  display: initial;
}

p.mobile-only,
a.mobile-only {
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  min-height: var(--header-height);
  background: color-mix(in srgb, var(--header) 94%, transparent);
  border-bottom: 1px solid rgb(255 255 255 / 0.4);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  width: min(100% - 1.25rem, var(--content));
  min-height: var(--header-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "menu brand status";
  align-items: center;
  gap: 0.65rem;
}

.menu-button {
  grid-area: menu;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--espresso);
  font-weight: 600;
  cursor: pointer;
}

.menu-icon {
  width: 18px;
  height: 12px;
  background:
    linear-gradient(var(--espresso), var(--espresso)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--espresso), var(--espresso)) 0 5px / 100% 2px no-repeat,
    linear-gradient(var(--espresso), var(--espresso)) 0 10px / 100% 2px no-repeat;
}

.brand-link {
  grid-area: brand;
  justify-self: center;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgb(255 255 255 / 0.95);
  box-shadow: 0 8px 20px rgb(42 33 28 / 0.1);
}

.brand-link img {
  width: 78%;
  height: auto;
  object-fit: contain;
}

.primary-navigation {
  display: none;
}

.header-status {
  grid-area: status;
  justify-self: end;
  margin: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blush) 55%, white);
  color: var(--espresso);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Hero — premium bakery wash, no florals */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100dvh - var(--header-height) - 2rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 95% 70% at 50% 35%, rgb(255 255 255 / 0.55), transparent 62%),
    linear-gradient(
      165deg,
      #fffaf6 0%,
      color-mix(in srgb, var(--blush) 42%, #fffaf7) 38%,
      color-mix(in srgb, var(--peach) 34%, white) 68%,
      #ffe8dc 100%
    );
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.62;
}

.hero-glow-a {
  width: min(78vw, 560px);
  aspect-ratio: 1;
  top: -14%;
  right: -12%;
  background: color-mix(in srgb, var(--coral) 48%, transparent);
}

.hero-glow-b {
  width: min(68vw, 480px);
  aspect-ratio: 1;
  bottom: -16%;
  left: -14%;
  background: color-mix(in srgb, var(--blush) 58%, transparent);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image: radial-gradient(circle at 1px 1px, rgb(42 33 28 / 0.2) 0.55px, transparent 0.65px);
  background-size: 3px 3px;
  pointer-events: none;
}

.hero-stage {
  width: min(100% - 1.5rem, 420px);
  margin: 0 auto;
  padding: 2.75rem 0 3.25rem;
  display: grid;
  gap: 1.35rem;
  justify-items: center;
  text-align: center;
}

.hero-copy {
  width: 100%;
  text-align: center;
}

.hero-brand-card {
  width: min(100%, 260px);
  padding: 1.15rem 1.1rem 1rem;
  border: 1px solid rgb(42 33 28 / 0.06);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.92);
  box-shadow: var(--shadow);
}

.hero-brand-card img {
  width: min(100%, 170px);
  margin-inline: auto;
  aspect-ratio: 1184 / 1168;
  object-fit: contain;
}

.brand-card-tagline {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--espresso);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 8vw, 2.85rem);
  line-height: 1.02;
}

h1 .mobile-only {
  display: inline;
}

h1 .desktop-only {
  display: none;
}

.hero-summary {
  margin: 0.9rem auto 0;
  max-width: 30ch;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-actions {
  margin-top: 1.35rem;
  width: 100%;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  background: var(--espresso);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link {
  color: var(--espresso);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgb(42 33 28 / 0.35);
  text-underline-offset: 0.28em;
}

.text-link:hover {
  text-decoration-color: var(--espresso);
}

/* Drop */
.drop-section {
  position: relative;
  width: 100%;
  background: var(--page);
}

.drop-curve {
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--page);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.section-inner {
  width: min(100% - 1.5rem, var(--content));
  margin-inline: auto;
  padding: 2.5rem 0 4rem;
}

.drop-section .section-inner {
  width: min(100% - 1.25rem, var(--content));
}

.drop-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.drop-intro-main .status-pill,
.drop-intro-main .section-lede {
  display: none;
}

h2 {
  font-size: clamp(1.75rem, 6vw, 2.1rem);
  line-height: 1.1;
}

.status-pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-pill.hot {
  background: var(--coral);
  color: var(--white);
}

.status-pill.soft {
  background: #fde2e2;
  color: #b85b6a;
}

/* One continuous peach→coral stage (mobile); coral→cream plane (desktop) */
.drop-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 1.15rem;
  justify-items: center;
  padding: 2.1rem 1.35rem;
  min-height: 260px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 20%, rgb(255 255 255 / 0.28), transparent 55%),
    linear-gradient(180deg, #f7c4b0 0%, #f0a08c 48%, #e88974 100%);
  box-shadow: var(--shadow);
  text-align: center;
}

.drop-stage-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, rgb(255 255 255 / 0.35), transparent 42%),
    radial-gradient(circle at 80% 80%, rgb(255 247 242 / 0.25), transparent 40%);
}

.drop-stage-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image: radial-gradient(circle at 1px 1px, rgb(42 33 28 / 0.22) 0.55px, transparent 0.65px);
  background-size: 3px 3px;
}

.drop-logo-sticker {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 14px 30px rgb(42 33 28 / 0.14);
}

.drop-logo-sticker img {
  width: 86px;
  margin-inline: auto;
}

.drop-stage-copy {
  position: relative;
  z-index: 1;
  color: var(--espresso);
}

.drop-stage-copy h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.drop-stage-copy p,
.mobile-drop-copy {
  margin: 0 auto;
  max-width: 26ch;
  color: color-mix(in srgb, var(--espresso) 82%, transparent);
}

.checkout-cta {
  margin: 1rem auto 0.75rem;
  max-width: 20rem;
  text-decoration: none;
}

.checkout-cta[hidden] {
  display: none !important;
}

/* Lower sections */
.status-section {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.availability-section {
  width: 100%;
  background: var(--page-warm);
}

.status-grid,
.availability-grid {
  display: grid;
  gap: 1.75rem;
  padding-block: 3.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-copy h2,
.availability-grid h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 7vw, 2.8rem);
}

.status-copy > p:last-child,
.availability-copy p {
  max-width: 38ch;
  color: var(--text-muted);
}

.state-controls {
  display: grid;
  gap: 0.65rem;
}

.state-controls button {
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.state-controls button[aria-pressed="true"] {
  border-color: var(--coral);
  background: color-mix(in srgb, var(--blush) 34%, white);
}

.availability-copy {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.75);
}

.site-footer {
  width: 100%;
  padding: 2.75rem 0;
  background: var(--footer);
}

.footer-shell {
  width: min(100% - 1.25rem, var(--content));
  margin-inline: auto;
  display: grid;
  gap: 1.2rem;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: grid;
  grid-auto-flow: column;
  gap: 0.8rem;
  align-items: center;
}

.footer-brand img {
  width: 52px;
  border-radius: 12px;
  background: var(--white);
}

.footer-brand span,
.footer-note {
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 899px) {
  .primary-navigation {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0.75rem;
    right: 0.75rem;
    display: none;
    padding: 0.75rem;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .primary-navigation[data-open="true"] {
    display: grid;
  }

  .primary-navigation a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
  }
}

/* Desktop — centered premium bakery composition */
@media (min-width: 900px) {
  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: initial !important;
  }

  a.desktop-only,
  p.desktop-only {
    display: inline-block !important;
  }

  a.button-primary.desktop-only {
    display: inline-flex !important;
  }

  .menu-button {
    display: none;
  }

  .header-inner {
    width: min(100% - 3rem, 1200px);
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "nav brand status";
  }

  .primary-navigation {
    grid-area: nav;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-self: start;
  }

  .primary-navigation a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--espresso);
  }

  .brand-link {
    width: 62px;
    height: 62px;
  }

  .header-status {
    background: var(--espresso);
    color: var(--white);
    font-size: 0.78rem;
    padding-inline: 1rem;
  }

  .hero-wash {
    background:
      radial-gradient(ellipse 70% 55% at 50% 42%, rgb(255 255 255 / 0.7), transparent 60%),
      radial-gradient(ellipse 90% 70% at 12% 20%, rgb(240 195 208 / 0.55), transparent 50%),
      radial-gradient(ellipse 85% 65% at 88% 75%, rgb(232 137 116 / 0.28), transparent 52%),
      linear-gradient(180deg, #fffaf6 0%, #ffe9de 48%, #f8d5c6 100%);
  }

  .hero-stage {
    width: min(100% - 3rem, 720px);
    padding: 5rem 0 6rem;
    gap: 1.6rem;
  }

  .hero-brand-card {
    width: 210px;
    padding: 1.2rem;
    border-radius: 28px;
    background: var(--white);
  }

  .hero-brand-card img {
    width: 160px;
  }

  h1 {
    font-size: clamp(3.5rem, 5.2vw, 4.8rem);
    line-height: 0.98;
  }

  h1 .desktop-only {
    display: inline !important;
  }

  h1 .mobile-only {
    display: none !important;
  }

  .hero-summary {
    max-width: 38ch;
    font-size: 1.12rem;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.4rem;
  }

  .button-primary {
    width: auto;
    min-width: 240px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
  }

  .text-link.desktop-only {
    color: var(--espresso);
    text-decoration-color: rgb(42 33 28 / 0.4);
  }

  .drop-curve {
    display: none;
  }

  .section-inner {
    width: min(100% - 3rem, 1100px);
    padding: 5.5rem 0 6rem;
  }

  .drop-intro {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .drop-intro-main {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
  }

  .drop-intro-main .status-pill,
  .drop-intro-main .section-lede {
    display: block;
  }

  .drop-intro-main .status-pill {
    display: inline-flex;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.86rem;
    background: #f8ddd8;
    color: #b85b6a;
  }

  .section-lede {
    margin: 0;
    max-width: 42ch;
    color: var(--text-muted);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.55;
  }

  h2 {
    font-size: clamp(3rem, 4.4vw, 4rem);
  }

  /* Desktop: the stage IS the coral→cream plane (no nested white card) */
  .drop-stage {
    grid-template-columns: minmax(200px, 280px) 1fr;
    align-items: center;
    justify-items: stretch;
    gap: 2rem;
    min-height: 340px;
    padding: 2.5rem 3rem;
    border-radius: 40px;
    background:
      radial-gradient(ellipse 55% 110% at 100% 50%, rgb(255 250 246 / 0.98) 0%, transparent 54%),
      linear-gradient(105deg, #e58570 0%, #ef9d86 34%, #f5c0ab 62%, #fff5ef 100%);
    text-align: left;
  }

  .drop-logo-sticker {
    width: 168px;
    height: 168px;
    justify-self: center;
    padding: 0.9rem;
  }

  .drop-logo-sticker img {
    width: 108px;
  }

  .drop-stage-copy {
    max-width: 28rem;
    justify-self: center;
    padding: 0 1rem 0 0;
    text-align: center;
  }

  .drop-stage-copy h3 {
    font-size: 2rem;
  }

  .drop-stage-copy p {
    margin-bottom: 1.1rem;
    max-width: 34ch;
  }

  .drop-stage-copy .text-link {
    color: var(--espresso);
    text-decoration-color: rgb(42 33 28 / 0.4);
  }

  .status-grid,
  .availability-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 3rem;
    padding-block: 5rem;
  }

  .availability-grid {
    align-items: start;
  }

  .footer-shell {
    width: min(100% - 3rem, 1100px);
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: left;
  }

  .footer-brand {
    justify-self: start;
  }

  .footer-note {
    justify-self: end;
    margin: 0;
    text-align: right;
  }
}

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

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