@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/rubik-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #071d39;
  --navy-soft: #12365d;
  --cream: #fff8ea;
  --cream-deep: #f5ead3;
  --white: #ffffff;
  --pink: #d80b57;
  --pink-dark: #b60748;
  --yellow: #ffd12e;
  --teal: #077887;
  --teal-light: #dff6f5;
  --green: #08783f;
  --ink: #132235;
  --muted: #526174;
  --line: #d8d3c7;
  --error: #b42318;
  --focus: #006bd6;
  --shadow-hard: 8px 8px 0 var(--navy);
  --shadow-soft: 0 24px 70px rgba(7, 29, 57, 0.15);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shell: 1200px;
  --header-height: 82px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Rubik", "Arial Hebrew", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

button,
input {
  font-family: inherit;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input {
  font-size: 1rem;
}

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

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--focus);
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  border: 3px solid var(--navy);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 5px;
  margin-inline-end: 10px;
  background: var(--yellow);
  border-radius: 99px;
  vertical-align: middle;
  transform: rotate(-2deg);
}

.eyebrow-pink {
  color: var(--pink-dark);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 248, 234, 0.94);
  border-block-end: 1px solid rgba(7, 29, 57, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand strong {
  color: var(--pink);
  font-weight: 900;
}

.brand-castle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 7px);
  align-items: end;
  gap: 2px;
  width: 31px;
  height: 31px;
  padding: 7px 4px 4px;
  background: var(--teal);
  border: 2px solid var(--navy);
  border-radius: 7px 7px 10px 10px;
  box-shadow: 3px 3px 0 var(--yellow);
}

.brand-castle::before,
.brand-castle::after,
.brand-castle span::before {
  content: "";
  position: absolute;
  inset-block-start: -5px;
  width: 7px;
  height: 8px;
  background: var(--teal);
  border: 2px solid var(--navy);
  border-block-end: 0;
}

.brand-castle::before { inset-inline-start: 2px; }
.brand-castle::after { inset-inline-end: 2px; }
.brand-castle span:first-child::before { inset-inline-start: 10px; }

.brand-castle > span {
  display: block;
  height: 10px;
  background: var(--cream);
  border-radius: 4px 4px 1px 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-inline-start: auto;
}

.main-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -8px;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.button-navy {
  color: var(--white);
  background: var(--navy);
  box-shadow: 4px 4px 0 var(--yellow);
}

.button-primary {
  color: var(--white);
  background: var(--pink);
  box-shadow: 6px 6px 0 var(--yellow);
}

.button-primary:hover {
  background: var(--pink-dark);
  box-shadow: 8px 8px 0 var(--yellow);
}

.button-outline {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
  box-shadow: 4px 4px 0 var(--yellow);
}

.button-outline:hover {
  color: var(--white);
  background: var(--navy);
}

.button:disabled {
  color: #cbd1d8;
  background: #48566a;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: 78px 0 88px;
  overflow: hidden;
  background:
    linear-gradient(112deg, transparent 0 68%, rgba(255, 209, 46, 0.22) 68% 71%, transparent 71%),
    var(--cream);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 22px;
  background: var(--navy);
  clip-path: polygon(0 65%, 8% 40%, 16% 70%, 25% 35%, 35% 68%, 45% 38%, 55% 70%, 65% 34%, 75% 66%, 85% 40%, 93% 70%, 100% 42%, 100% 100%, 0 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 64px;
}

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

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 4.65rem;
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: 0;
}

.hero h1 > span {
  display: block;
}

.hero h1 > span:nth-child(2) {
  color: var(--teal);
}

.hero h1 > strong {
  position: relative;
  display: inline-block;
  margin-block-start: 15px;
  padding: 3px 14px 8px;
  color: var(--pink);
  background: var(--yellow);
  border: 4px solid var(--navy);
  box-shadow: var(--shadow-hard);
  transform: rotate(-1deg);
  letter-spacing: 0;
}

.hero h1 > strong::before {
  content: "";
  position: absolute;
  inset: -15px -18px;
  z-index: -1;
  border: 3px solid var(--pink);
  border-radius: 52% 48% 47% 53%;
  transform: rotate(2deg);
}

.hero-lead {
  max-width: 545px;
  margin: 34px 0 0;
  color: #344457;
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-block-start: 30px;
}

.offer-caveat {
  max-width: 565px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 16px 16px 0;
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: 42px 18px 46px 18px;
  box-shadow: 14px 14px 0 var(--teal);
  transform: rotate(1.2deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12px -24px -22px 30px;
  z-index: -1;
  background: var(--yellow);
  border: 4px solid var(--navy);
  border-radius: 35px;
  transform: rotate(-3deg);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 25px 9px 32px 9px;
}

.hero-visual figcaption {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 4px 8px;
  color: var(--navy);
  font-size: 0.86rem;
}

.hero-visual figcaption strong {
  font-size: 1.03rem;
}

.hero-stamp {
  position: absolute;
  inset-block-start: -47px;
  inset-inline-end: -28px;
  z-index: 3;
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--white);
  background: var(--pink);
  border: 4px solid var(--navy);
  border-radius: 48% 52% 46% 54%;
  box-shadow: 6px 6px 0 var(--yellow);
  transform: rotate(7deg);
}

.hero-stamp span {
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stamp strong {
  font-size: 2rem;
  line-height: 1.05;
}

.confetti i {
  position: absolute;
  z-index: 0;
  display: block;
  width: 13px;
  height: 28px;
  background: var(--pink);
  border-radius: 2px;
  transform: rotate(24deg);
  opacity: 0.86;
}

.confetti i:nth-child(1) { inset-block-start: 12%; inset-inline-start: 4%; background: var(--teal); transform: rotate(-28deg); }
.confetti i:nth-child(2) { inset-block-start: 22%; inset-inline-start: 48%; background: var(--yellow); transform: rotate(54deg); }
.confetti i:nth-child(3) { inset-block-start: 70%; inset-inline-start: 2%; height: 14px; transform: rotate(68deg); }
.confetti i:nth-child(4) { inset-block-start: 12%; inset-inline-end: 4%; background: var(--yellow); transform: rotate(-12deg); }
.confetti i:nth-child(5) { inset-block-start: 58%; inset-inline-end: 2%; background: var(--teal); transform: rotate(42deg); }
.confetti i:nth-child(6) { inset-block-start: 82%; inset-inline-end: 42%; height: 14px; background: var(--pink); transform: rotate(-61deg); }

.deal-ribbon {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: var(--navy);
  padding: 30px 0 34px;
}

.deal-grid {
  display: grid;
  grid-template-columns: auto 34px auto 34px auto minmax(235px, 1fr);
  align-items: center;
  gap: 20px;
}

.deal-number {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deal-number strong {
  color: var(--yellow);
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1;
}

.deal-number span {
  color: #eef7ff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.deal-symbol {
  color: var(--pink);
  font-size: 2.3rem;
  font-weight: 900;
  text-align: center;
}

.deal-price {
  display: grid;
  align-items: center;
}

.deal-price > span {
  color: #bcd0e6;
  font-size: 0.76rem;
  font-weight: 700;
}

.deal-price strong {
  color: var(--white);
  font-size: 3.2rem;
  line-height: 1;
}

.deal-price small {
  color: var(--yellow);
  font-size: 1.3rem;
}

.deal-pickup {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--yellow);
  color: var(--navy);
  border: 3px solid var(--white);
  border-radius: 12px;
  transform: rotate(-0.5deg);
}

.deal-pickup .icon {
  width: 36px;
  height: 36px;
  stroke-width: 1.6;
}

.deal-pickup span {
  display: grid;
  font-size: 0.76rem;
  line-height: 1.4;
}

.deal-pickup strong {
  font-size: 1.02rem;
}

.builder-section {
  padding: 112px 0 120px;
  background:
    linear-gradient(90deg, rgba(8, 127, 142, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(8, 127, 142, 0.055) 1px, transparent 1px),
    var(--cream);
  background-size: 42px 42px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 64px;
  margin-block-end: 58px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.package-builder {
  display: grid;
  gap: 50px;
}

.builder-step,
.event-details {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.builder-step > legend,
.event-details legend {
  float: none;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
}

.builder-step > legend span,
.event-details legend span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--pink);
  border: 3px solid var(--navy);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--yellow);
  font-size: 1rem;
}

.step-description {
  clear: both;
  max-width: 620px;
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-bar {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: 22px;
}

.filter-button {
  min-height: 44px;
  padding: 8px 15px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 99px;
  font-weight: 750;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--white);
  background: var(--navy);
}

.product-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-grid-food {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-option {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 14px 24px 14px 14px;
  box-shadow: 5px 5px 0 rgba(7, 29, 57, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-option:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 rgba(7, 29, 57, 0.25);
}

.product-option[hidden],
.product-option.is-filter-hidden {
  display: none !important;
}

.product-option input {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.product-option:has(input:focus-visible) {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.product-option:has(input:checked) {
  border-color: var(--pink);
  box-shadow: 7px 7px 0 var(--yellow);
  transform: translateY(-3px) rotate(-0.4deg);
}

.product-option.selection-rejected {
  border-color: var(--error);
  box-shadow: 7px 7px 0 var(--yellow);
}

.product-option.selection-rejected .select-label {
  color: var(--white);
  background: var(--error);
  border-color: var(--error);
}

.product-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
  border-block-end: 3px solid var(--navy);
}

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

.product-body {
  min-height: 135px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 16px 18px;
}

.product-body > strong {
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

.product-body > small {
  margin-block-start: 5px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 600;
}

.price-tag {
  display: inline-block;
  margin-block-start: auto;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.4;
}

.price-tag.included {
  color: #07502d;
  background: #d5f3e2;
}

.price-tag.upgrade {
  color: #6d3500;
  background: #ffdfa0;
}

.select-label {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--navy);
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 850;
}

.product-option:has(input:checked) .select-label {
  color: var(--white);
  background: var(--pink);
  border-color: var(--pink);
}

.product-option:has(input:checked) .select-label::before {
  content: "✓";
  margin-inline-end: 5px;
}

.food-option .product-body {
  min-height: 108px;
}

.event-details {
  padding: 28px;
  background: var(--teal-light);
  border: 3px solid var(--navy);
  border-radius: var(--radius-md);
  box-shadow: 7px 7px 0 var(--navy);
}

.event-details legend {
  float: none;
  padding-inline: 8px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 14px;
  margin-block-start: 20px;
}

.field-grid label {
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 800;
}

.required-text,
.optional-text {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
}

.field-grid input {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 8px;
}

.field-grid input:focus {
  border-color: var(--focus);
}

.field-grid input::placeholder {
  color: #6a7481;
  opacity: 1;
}

.field-help {
  color: var(--muted);
  font-size: 0.65rem;
}

.field-error {
  color: var(--error);
  font-size: 0.72rem;
  font-weight: 750;
}

.field-grid input[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.12);
}

.field-grid label:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.field-grid #event-date { grid-column: 1; grid-row: 2; direction: ltr; text-align: right; }
.field-grid #event-date-help { grid-column: 1; grid-row: 3; }
.field-grid #event-date-error { grid-column: 1; grid-row: 4; }
.field-grid label:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.field-grid #event-city { grid-column: 2; grid-row: 2; }
.field-grid #event-city-error { grid-column: 2; grid-row: 3; }
.field-grid label:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.field-grid #customer-name { grid-column: 3; grid-row: 2; }

.builder-summary {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, auto);
  align-items: center;
  gap: 28px;
  padding: 26px 30px;
  color: var(--white);
  background: var(--navy);
  border: 3px solid var(--navy);
  border-radius: 16px;
  box-shadow: 9px 9px 0 var(--teal);
}

.summary-kicker,
.selection-status,
.builder-disclaimer,
.form-error {
  margin: 0;
}

.error-links a {
  color: inherit;
  font-weight: 850;
  text-underline-offset: 3px;
}

.summary-kicker {
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 800;
}

.selection-status {
  margin-block-start: 4px;
  color: #eef5fc;
  font-size: 0.9rem;
}

.summary-price {
  display: grid;
  min-width: 150px;
  padding-inline: 24px;
  border-inline: 1px solid #415773;
  text-align: center;
}

.summary-price span {
  color: #bdcada;
  font-size: 0.68rem;
  font-weight: 650;
}

.summary-price strong {
  color: var(--yellow);
  font-size: 2.15rem;
  line-height: 1.1;
}

.button-submit {
  min-width: 250px;
}

.builder-disclaimer {
  grid-column: 1 / -1;
  color: #bdcada;
  font-size: 0.7rem;
  text-align: center;
}

.form-error {
  grid-column: 1 / -1;
  padding: 12px 14px;
  color: #6d1009;
  background: #ffe2de;
  border: 2px solid #ff8d80;
  border-radius: 7px;
  font-weight: 750;
}

.cakes-callout {
  padding: 0 0 118px;
  background: var(--cream);
}

.cakes-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
  padding: 45px;
  background: var(--yellow);
  border: 4px solid var(--navy);
  box-shadow: 12px 12px 0 var(--pink);
}

.cakes-grid figure {
  margin: 0;
  aspect-ratio: 1 / 0.72;
  border: 4px solid var(--navy);
  transform: rotate(1.5deg);
  overflow: hidden;
}

.cakes-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cakes-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: 3rem;
  line-height: 1.05;
}

.cakes-grid p:not(.eyebrow) {
  max-width: 580px;
  margin: 20px 0 24px;
  color: #25384c;
}

.how-section {
  position: relative;
  padding: 112px 0 126px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.how-section::before {
  content: "";
  position: absolute;
  inset-block-start: -240px;
  inset-inline-end: -180px;
  width: 520px;
  height: 520px;
  border: 70px solid rgba(8, 127, 142, 0.2);
  border-radius: 50%;
}

.section-heading-light {
  position: relative;
  z-index: 1;
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light .eyebrow {
  color: var(--yellow);
}

.section-heading-light > p {
  color: #c7d5e4;
}

.process-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 2px solid #38506c;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 34px 30px;
  border-inline-end: 2px solid #38506c;
}

.process-list li:first-child {
  border-inline-end: 0;
}

.process-list li > span {
  color: var(--yellow);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.process-list h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.3rem;
}

.process-list p {
  margin: 10px 0 0;
  color: #c7d5e4;
  font-size: 0.9rem;
}

.faq-section {
  padding: 118px 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 85px;
}

.faq-intro {
  position: sticky;
  inset-block-start: calc(var(--header-height) + 34px);
}

.faq-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.faq-intro p:not(.eyebrow) {
  margin: 22px 0;
  color: var(--muted);
}

.text-link-dark {
  color: var(--pink-dark);
}

.faq-list {
  border-block-start: 3px solid var(--navy);
}

.faq-list details {
  border-block-end: 2px solid #dfe3e8;
}

.faq-list summary {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 20px 0 20px 54px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--pink);
}

.faq-list details p {
  max-width: 680px;
  margin: -3px 0 25px;
  padding-inline-end: 2px;
  color: var(--muted);
}

.contact-section {
  padding: 90px 0;
  color: var(--white);
  background: var(--teal);
  border-block: 6px solid var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 85px;
}

.contact-section .eyebrow {
  color: var(--white);
}

.contact-section h2 {
  margin: 0;
  font-size: 4rem;
  line-height: 1;
}

.contact-section p:not(.eyebrow) {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--white);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-person {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  color: var(--navy);
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--yellow);
  text-decoration: none;
  transition: transform 160ms ease;
}

.contact-person:hover {
  transform: translateX(-4px);
}

.contact-person span {
  font-weight: 850;
}

.contact-person strong {
  color: var(--pink-dark);
  font-size: 1.15rem;
}

.phone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-block-start: 8px;
}

.phone-row a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-weight: 750;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 64px 0 25px;
  color: var(--white);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr;
  gap: 70px;
}

.brand-footer {
  color: var(--white);
}

.footer-brand p {
  max-width: 340px;
  margin: 18px 0 0;
  color: #bccbdd;
  font-size: 0.85rem;
}

.footer-nav,
.social-links {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-nav a,
.social-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #eef4fa;
  font-size: 0.84rem;
  font-weight: 650;
  text-underline-offset: 4px;
}

.legal-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-block-start: 46px;
  padding-block-start: 20px;
  border-block-start: 1px solid #364a62;
  color: #aab9ca;
  font-size: 0.68rem;
}

.legal-row p {
  margin: 0;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: 3.85rem;
  }

  .deal-grid {
    grid-template-columns: auto 24px auto 24px auto;
  }

  .deal-pickup {
    grid-column: 1 / -1;
    min-height: 60px;
    justify-content: center;
  }

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

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

  .field-grid label:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .field-grid #event-date { grid-column: 1; grid-row: 2; }
  .field-grid #event-date-help { grid-column: 1; grid-row: 3; }
  .field-grid #event-date-error { grid-column: 1; grid-row: 4; }
  .field-grid label:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .field-grid #event-city { grid-column: 2; grid-row: 2; }
  .field-grid #event-city-error { grid-column: 2; grid-row: 3; }
  .field-grid label:nth-of-type(3) { grid-column: 1; grid-row: 5; }
  .field-grid #customer-name { grid-column: 1; grid-row: 6; }

  .builder-summary {
    grid-template-columns: 1fr auto;
  }

  .button-submit {
    grid-column: 1 / -1;
  }

  .summary-price {
    border-inline-end: 1px solid #415773;
    border-inline-start: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 70px 0 90px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-visual {
    width: min(94%, 720px);
    margin-inline: auto;
  }

  .section-heading,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-grid {
    gap: 45px;
  }

  .faq-intro {
    position: static;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    border-inline-end: 0;
    border-block-end: 2px solid #38506c;
  }

  .process-list li:last-child {
    border-block-end: 0;
  }

  .cakes-grid {
    gap: 42px;
  }

  .contact-grid {
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .social-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body {
    padding-block-end: 74px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header .button-small {
    min-width: 44px;
    width: 44px;
    padding: 8px;
    box-shadow: 3px 3px 0 var(--yellow);
    font-size: 0;
  }

  .site-header .button-small .icon {
    width: 22px;
    height: 22px;
  }

  .brand {
    font-size: 1.04rem;
  }

  .brand-castle {
    transform: scale(0.9);
  }

  .hero {
    padding-block-start: 54px;
    background:
      linear-gradient(116deg, transparent 0 72%, rgba(255, 209, 46, 0.19) 72% 75%, transparent 75%),
      var(--cream);
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.01;
  }

  .hero h1 > strong {
    margin-block-start: 17px;
    border-width: 3px;
    box-shadow: 6px 6px 0 var(--navy);
  }

  .hero-lead {
    margin-block-start: 30px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .hero-grid {
    gap: 60px;
  }

  .hero-visual {
    width: calc(100% - 8px);
    padding: 9px 9px 0;
    border-width: 3px;
    border-radius: 25px 10px 28px 10px;
    box-shadow: 8px 8px 0 var(--teal);
  }

  .hero-visual::before {
    inset: 9px -12px -13px 18px;
    border-width: 3px;
  }

  .hero-visual figcaption {
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding-inline: 5px;
  }

  .hero-stamp {
    inset-block-start: -40px;
    inset-inline-end: -8px;
    width: 90px;
    border-width: 3px;
  }

  .hero-stamp strong {
    font-size: 1.7rem;
  }

  .deal-ribbon {
    padding-block-start: 36px;
  }

  .deal-grid {
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: 12px;
  }

  .deal-number {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .deal-number strong {
    font-size: 3.7rem;
  }

  .deal-number span {
    font-size: 0.75rem;
  }

  .deal-symbol:nth-of-type(2) {
    display: none;
  }

  .deal-price {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-block: 8px;
    padding-block: 16px;
    border-block: 1px solid #3f526c;
  }

  .deal-price strong {
    font-size: 3.5rem;
  }

  .deal-pickup {
    grid-row: 3;
  }

  .builder-section,
  .faq-section,
  .how-section {
    padding: 82px 0;
  }

  .section-heading {
    margin-block-end: 43px;
  }

  .section-heading h2,
  .faq-intro h2 {
    font-size: 2.45rem;
  }

  .builder-step > legend,
  .event-details legend {
    font-size: 1.35rem;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 0 8px;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .product-grid,
  .product-grid-food {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-option {
    border-width: 2px;
  }

  .product-body {
    min-height: 132px;
    padding: 14px 12px 15px;
  }

  .product-body > strong {
    font-size: 0.98rem;
  }

  .product-body > small {
    font-size: 0.66rem;
  }

  .price-tag {
    font-size: 0.62rem;
  }

  .select-label {
    inset-block-start: 7px;
    inset-inline-end: 7px;
    min-height: 30px;
    padding: 4px 7px;
    border-width: 1px;
    font-size: 0.61rem;
  }

  .event-details {
    padding: 22px 16px;
    box-shadow: 5px 5px 0 var(--navy);
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .field-grid label:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .field-grid #event-date { grid-column: 1; grid-row: 2; }
  .field-grid #event-date-help { grid-column: 1; grid-row: 3; }
  .field-grid #event-date-error { grid-column: 1; grid-row: 4; }
  .field-grid label:nth-of-type(2) { grid-column: 1; grid-row: 5; margin-block-start: 6px; }
  .field-grid #event-city { grid-column: 1; grid-row: 6; }
  .field-grid #event-city-error { grid-column: 1; grid-row: 7; }
  .field-grid label:nth-of-type(3) { grid-column: 1; grid-row: 8; margin-block-start: 6px; }
  .field-grid #customer-name { grid-column: 1; grid-row: 9; }

  .builder-summary {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 23px 18px;
    box-shadow: 6px 6px 0 var(--teal);
  }

  .summary-price {
    min-width: 0;
    padding: 14px 0;
    border-inline: 0;
    border-block: 1px solid #415773;
    text-align: start;
  }

  .button-submit {
    grid-column: auto;
    min-width: 0;
    width: 100%;
  }

  .builder-disclaimer,
  .form-error {
    grid-column: auto;
  }

  .cakes-callout {
    padding-block-end: 82px;
  }

  .cakes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 25px 20px 31px;
    box-shadow: 7px 7px 0 var(--pink);
  }

  .cakes-grid h2 {
    font-size: 2.35rem;
  }

  .contact-section {
    padding: 76px 0;
  }

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

  .contact-section h2 {
    font-size: 3rem;
  }

  .contact-person {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .social-links {
    grid-column: auto;
  }

  .legal-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-cta {
    position: fixed;
    inset-inline: 12px;
    inset-block-end: 10px;
    z-index: 60;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    color: var(--white);
    background: var(--green);
    border: 3px solid var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(7, 29, 57, 0.32);
    font-size: 0.93rem;
    font-weight: 850;
    text-decoration: none;
  }

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

  body:has(.form-error:not([hidden])) .mobile-cta {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 2.55rem;
  }

  .product-body {
    min-height: 142px;
  }

  .deal-number strong {
    font-size: 3.3rem;
  }

  .faq-list summary {
    padding-inline-start: 48px;
    font-size: 1rem;
  }
}

@media (max-width: 340px) {
  .brand-text {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .button,
  .product-option,
  .filter-button,
  .contact-person,
  .event-details {
    border: 2px solid ButtonText;
  }

  .product-option:has(input:checked) {
    outline: 4px solid Highlight;
  }

  .price-tag,
  .select-label {
    border: 1px solid ButtonText;
  }
}
