:root {
  --purple-900: #2b123f;
  --purple-800: #3c1760;
  --purple-700: #55208d;
  --purple-600: #7b34c7;
  --purple-400: #684887;
  --purple-300: #d8b9ff;
  --cream: #fff8ec;
  --butter: #ffd76d;
  --cocoa: #3c2119;
  --brownie: #21100c;
  --ink: #201326;
  --muted: #6e5d72;
  --white: #ffffff;
  --line: rgba(43, 18, 63, 0.14);
  --shadow: 0 24px 60px rgba(43, 18, 63, 0.18);
  --page-max: 1260px;
  --content-max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, var(--purple-900), var(--purple-800) 50%, var(--purple-900));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(60, 23, 96, 0.94);
  color: var(--white);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

main {
  width: min(100%, var(--page-max));
  margin-inline: auto;
  background: var(--cream);
  display: flow-root;
}

.brand img {
  width: clamp(160px, 19vw, 250px);
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.94rem;
  font-weight: 800;
}

.main-nav a,
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.header-cta,
.button {
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
}

.header-cta {
  padding: 0 19px;
  background: var(--butter);
  color: var(--purple-900);
}

.hero {
  position: relative;
  /* min-height: calc(100svh - 82px); */
  min-height: 64svh;
  padding: clamp(20px, 3vw, 38px) clamp(18px, 4vw, 58px) 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 60px);
  /* padding: clamp(36px, 6vw, 82px) clamp(18px, 5vw, 76px) 42px; */
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 215, 109, 0.54), transparent 24%),
    linear-gradient(135deg, var(--purple-400), var(--purple-600) 58%, #a950d5);
  color: var(--white);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--butter);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.weekly h2,
.order h2 {
  margin: 0;
  line-height: 0.83;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(3.2rem, 7vw, 5rem);
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.9);
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 24px;
  border: 2px solid transparent;
}

.link-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.primary {
  background: var(--butter);
  color: var(--purple-900);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 360px;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(700px, 104%);
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow);
  border: 12px solid rgba(255, 255, 255, 0.2);
}

.notice-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--purple-900);
  color: var(--white);
  font-size: clamp(0.86rem, 1.5vw, 1rem);
  font-weight: 950;
  text-align: center;
}

.notice-band span {
  padding: 18px 10px;
  background: var(--purple-900);
}

.section,
.weekly,
.order {
  width: min(var(--content-max), calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: clamp(46px, 6vw, 78px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(22px, 6vw, 82px);
  align-items: end;
}

.section h2,
.weekly h2,
.order h2 {
  color: var(--purple-900);
  font-size: clamp(2.2rem, 4.7vw, 4.45rem);
}

.intro p:last-child,
.weekly-copy p,
.custom-copy p,
.order p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.bakery-story {
  width: min(var(--content-max), calc(100% - 36px));
  margin: -28px auto 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bakery-story figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(43, 18, 63, 0.08);
}

.bakery-story img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.bakery-story figcaption {
  padding: 12px 14px 14px;
  color: var(--purple-900);
  font-size: 0.92rem;
  font-weight: 950;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(43, 18, 63, 0.08);
}

.product-art {
  position: relative;
  height: 240px;
  background: #f7edff;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 22px;
}

.product-content h3,
.custom-flow h3 {
  margin: 10px 0 8px;
  color: var(--purple-900);
  font-size: 1.35rem;
}

.product-content p,
.custom-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--purple-900);
  color: var(--white);
  font-size: 0.73rem;
  font-weight: 950;
  text-transform: uppercase;
}

.weekly {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  margin-bottom: 34px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.weekly-image img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.box-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.box-option {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--purple-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--purple-900);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.box-option.is-active {
  background: var(--purple-900);
  border-color: var(--purple-900);
  color: var(--white);
}

.box-note {
  margin-bottom: 0;
  font-weight: 800;
}

.custom {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 6vw, 72px);
}

.custom-flow {
  position: relative;
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.custom-flow::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--purple-700), var(--butter));
}

.custom-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 0 0 34px;
}

.custom-flow li:last-child {
  padding-bottom: 0;
}

.custom-flow span {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--purple-700);
  color: var(--purple-900);
  box-shadow: 0 0 0 8px var(--cream);
}

.custom-flow svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.custom-flow div {
  padding-top: 8px;
  border-bottom: 1px solid var(--line);
}

.custom-flow h3 {
  margin-top: 0;
}

.custom-flow p {
  padding-bottom: 26px;
}

.custom-flow li:last-child div {
  border-bottom: 0;
}

.order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(34px, 6vw, 62px);
  margin-bottom: 50px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  color: var(--white);
}

.order h2,
.order p {
  color: var(--white);
}

.order p {
  margin-bottom: 0;
  opacity: 0.88;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  font-weight: 900;
}

.contact-details a,
.site-footer a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 44px 18px;
  background: var(--purple-900);
  color: var(--white);
  text-align: center;
}

.site-footer img {
  width: min(164px, 54vw);
  height: auto;
}

.site-footer p {
  margin: 0;
  max-width: 650px;
  opacity: 0.88;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro,
  .weekly,
  .custom {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 18px;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .bakery-story {
    grid-template-columns: 1fr;
    margin-top: -12px;
  }

  .order {
    display: block;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    min-height: 74px;
  }

  .brand img {
    width: 150px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.84rem;
  }

  .main-nav {
    gap: 18px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 24px 18px 26px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .hero-text {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-visual {
    min-height: 0;
    overflow: hidden;
  }

  .hero-visual img {
    width: min(78%, 265px);
    border-width: 7px;
  }

  .notice-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .weekly,
  .order {
    width: min(100% - 28px, var(--content-max));
  }

  .weekly,
  .order {
    padding: 24px;
  }

  .button {
    width: 100%;
  }
}
