:root {
  --canvas: #f2f0ea;
  --paper: #fffefb;
  --ink: #171714;
  --muted: #6d6b64;
  --line: rgba(23, 23, 20, 0.16);
  --yellow: #ffd32a;
  --yellow-soft: #fff3b0;
  --orange: #f6532f;
  --green: #15734c;
  --green-soft: #e8f3ed;
  --white: #fff;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Fluid fit: scales with both width and height so any browser size fills cleanly */
  --page-gutter: clamp(12px, 2.4vw, 24px);
  --page-max: 1200px;
  --topbar-h: clamp(56px, 8svh, 72px);
  --section-pad: clamp(48px, 10svh, 120px);
  --space-xs: clamp(6px, 0.8vw, 10px);
  --space-sm: clamp(10px, 1.2vw, 16px);
  --space-md: clamp(16px, 2vw, 28px);
  --space-lg: clamp(24px, 3vw, 42px);
  --radius: clamp(8px, 1vw, 12px);
  --shadow-shift: clamp(6px, 0.9vw, 12px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Continuous type scale across resolutions (not discrete breakpoint jumps) */
  font-size: clamp(14px, 0.22vw + 13.2px, 17px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* Kill double-tap zoom on mobile (not inherited: must cover all nodes).
   Pinch-to-zoom still works. */
*,
*::before,
*::after {
  touch-action: manipulation;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

[hidden] {
  display: none !important;
}

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

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

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

.wrap {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

section {
  scroll-margin-top: calc(var(--topbar-h) + 6px);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.045em;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--topbar-h);
  border-bottom: 1px solid transparent;
  background: rgba(242, 240, 234, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
  padding-top: env(safe-area-inset-top, 0);
}

.topbar.scrolled {
  border-color: var(--line);
  background: rgba(255, 254, 251, 0.95);
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 -2px 0 rgba(23, 23, 20, 0.12);
  transition: transform 300ms var(--ease);
}

.brand:hover .brand-dot {
  transform: scale(1.18) rotate(20deg);
}

.brand-name {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.topnav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.topnav a:hover {
  color: var(--ink);
}

.topnav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Buttons */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease,
    transform 180ms var(--ease), box-shadow 180ms ease;
}

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

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn[aria-busy="true"]::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: button-spin 650ms linear infinite;
}

.btn-solid {
  color: var(--white);
  background: var(--ink);
}

.btn-solid:hover {
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(246, 83, 47, 0.22);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.btn-line {
  border-color: var(--ink);
  background: transparent;
}

.btn-line:hover {
  color: var(--white);
  background: var(--ink);
}

.btn-small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  transition: transform 180ms var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero: fills available viewport on any resolution */
.hero {
  min-height: calc(100svh - var(--topbar-h));
  min-height: calc(100dvh - var(--topbar-h));
  padding: clamp(12px, 2.5svh, 32px) 0 clamp(28px, 5svh, 56px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: calc(100svh - var(--topbar-h) - clamp(40px, 8svh, 88px));
  min-height: calc(100dvh - var(--topbar-h) - clamp(40px, 8svh, 88px));
  display: grid;
  /* Always two columns on desktop/tablet landscape: image sits beside copy */
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 2.5vw, 32px);
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 4svh, 42px) clamp(0px, 1.2vw, 18px) clamp(12px, 2.5svh, 28px) 0;
  min-height: 0;
}

.hero-kicker,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(12px, 2.5svh, 24px);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  max-width: 6.2ch;
  margin-bottom: clamp(14px, 2.8svh, 30px);
  font-size: clamp(42px, 7.2vw + 1.2vh, 128px);
  font-weight: 800;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--orange);
}

.hero-sub {
  max-width: 42ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
}

.hero-sub strong {
  color: var(--ink);
  font-weight: 800;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats {
  max-width: 580px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: auto 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  min-width: 0;
  padding-right: 18px;
}

.hero-stats div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  margin-bottom: 3px;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.04em;
  transition: color 180ms ease, transform 180ms var(--ease);
}

.hero-stats div:hover dt {
  color: var(--orange);
  transform: translateY(-2px);
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.hero-showcase {
  position: relative;
  min-width: 0;
  width: 100%;
  align-self: stretch;
  /* Guarantee visible height so the image isn't collapsed beside the copy */
  min-height: clamp(360px, 70svh, 820px);
}

.showcase-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1a1a18;
  box-shadow: 0 clamp(16px, 3vw, 32px) clamp(32px, 6vw, 80px) rgba(23, 23, 20, 0.15);
}

.showcase-rotator {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.showcase-photo,
.showcase-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.showcase-photo {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease);
  pointer-events: none;
}

.showcase-photo.is-leaving {
  z-index: 1;
  opacity: 0;
}

.showcase-photo.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.showcase-photo img {
  object-fit: cover;
  /* Bias up/left so chalkboard ($N/TRAY) stays in the cover crop (1:1 masters) */
  object-position: left 20% top 12%;
  transition: transform 700ms var(--ease);
}

/* Soft hold-frame while chalk price image swaps: never flash the dark card bg */
.showcase-photo > img.chalk-hold,
.order-tray-photo > img.chalk-hold {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 1;
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: none !important;
}

.showcase-photo > img.chalk-hold {
  object-position: left 20% top 12%;
}

.order-tray-photo > img.chalk-hold {
  object-position: center;
}

.showcase-photo > img.chalk-hold.is-fading,
.order-tray-photo > img.chalk-hold.is-fading {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-photo > img.chalk-hold,
  .order-tray-photo > img.chalk-hold {
    transition: none;
  }
}

.hero-showcase:hover .showcase-photo.is-active img {
  transform: scale(1.018);
}

@media (prefers-reduced-motion: reduce) {
  .showcase-photo {
    transition: none;
  }

  .hero-showcase:hover .showcase-photo.is-active img {
    transform: none;
  }
}

.showcase-price {
  display: none !important;
}

.showcase-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(23, 23, 20, 0.24);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: tag-in 600ms 450ms var(--ease) both;
}

@keyframes tag-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Proof strip */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-row p {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 26px 22px;
  transition: background 180ms ease;
}

.trust-row p:first-child {
  padding-left: 0;
}

.trust-row p + p {
  border-left: 1px solid var(--line);
}

.trust-row p:hover {
  background: var(--yellow-soft);
}

.trust-row strong {
  font-size: 13px;
  font-weight: 800;
}

.trust-row span {
  color: var(--muted);
  font-size: 11px;
}

/* Section headers */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 50px;
}

.section-head.left {
  display: block;
}

.section-head h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(36px, 5.5vw + 1vh, 88px);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.section-head p {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Bundles: deliberately a list, not a row of generic SaaS cards */
.prices {
  padding: var(--section-pad) 0;
}

.price-grid {
  border-top: 1px solid var(--ink);
}

.dozen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 0;
  margin-top: 8px;
}

.price-card.compact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  min-height: 0;
}

.price-card.compact:hover {
  padding-inline: 16px;
}

.price-card.compact .price-big {
  font-size: clamp(28px, 4vw, 40px);
}

.price-card.compact .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 800px) {
  .dozen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .dozen-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(180px, 0.8fr) minmax(220px, 1.3fr) 150px 150px;
  gap: 22px;
  align-items: center;
  padding: 26px 12px;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms var(--ease), background 220ms ease;
}

.price-card:hover {
  padding-inline: 20px;
  background: var(--paper);
}

/* Left accent bar wipes in on hover, making the editorial list feel selectable */
.price-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 220ms var(--ease);
}

.price-card:hover::before {
  transform: scaleY(1);
}

.price-card.featured {
  background: var(--yellow);
}

.price-card.featured:hover {
  background: #ffda4d;
}

.pack-index {
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  transition: color 220ms ease;
}

.price-card:hover .pack-index {
  color: var(--orange);
}

.pack-title {
  min-width: 0;
}

.price-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
}

.pack-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.featured .pack-note,
.featured .price-per {
  color: rgba(23, 23, 20, 0.65);
}

.pack-detail {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.pack-detail li + li {
  margin-top: 4px;
}

.price-block {
  text-align: right;
}

.price-big {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.price-per {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.price-card .btn {
  justify-self: end;
}

.stock-note {
  width: fit-content;
  margin: 28px 0 0;
  padding: 10px 12px;
  border-left: 4px solid var(--orange);
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

/* Pickup */
.pickup {
  padding: var(--section-pad) 0;
  color: var(--white);
  background: var(--ink);
}

.pickup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(min(100%, 280px), 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.pickup .section-label,
.pickup .section-head p {
  color: rgba(255, 255, 255, 0.58);
}

.pickup .section-head {
  margin-bottom: 44px;
}

.pickup .section-head h2 {
  max-width: 8ch;
}

.day-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.day-card {
  padding: 24px 20px 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transition: padding 180ms var(--ease), color 180ms ease;
}

.day-card + .day-card {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.day-card:hover {
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--yellow);
}

.day-name {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.day-time {
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.day-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.loc-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.loc-pin {
  color: var(--yellow);
}

.loc-text {
  display: grid;
}

.loc-text strong {
  font-size: 13px;
}

.loc-text span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.pickup .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.pickup .btn-ghost:hover {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.steps-card {
  padding: 40px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 18px 18px 0 var(--orange);
}

.steps-title {
  margin-bottom: 32px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(23, 23, 20, 0.22);
  font-size: 14px;
  font-weight: 700;
}

.steps li span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.steps li:hover span {
  color: var(--yellow);
  background: var(--ink);
  transform: rotate(-8deg);
}

/* Order */
.order {
  padding: var(--section-pad) 0;
  background: var(--paper);
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(min(100%, 320px), 1.22fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.order-copy {
  position: sticky;
  top: 112px;
}

.order-copy h2 {
  max-width: 7ch;
  margin-bottom: 22px;
  font-size: clamp(52px, 6.5vw, 82px);
  font-weight: 800;
  line-height: 0.88;
  text-transform: uppercase;
}

.order-copy > p {
  max-width: 37ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
}

.order-tray-note {
  width: min(100%, clamp(180px, 38vw, 380px));
  max-width: none;
}

.order-tray-rotator {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1a1a18;
  aspect-ratio: 1;
}

.order-tray-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease);
  pointer-events: none;
}

.order-tray-photo.is-leaving {
  z-index: 1;
  opacity: 0;
}

.order-tray-photo.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.order-tray-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms var(--ease);
}

.order-tray-note:hover .order-tray-photo.is-active img {
  transform: scale(1.025);
}

@media (prefers-reduced-motion: reduce) {
  .order-tray-photo {
    transition: none;
  }

  .order-tray-note:hover .order-tray-photo.is-active img {
    transform: none;
  }
}

.order-tray-note p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.order-tray-note strong {
  color: var(--ink);
}

.order-form {
  display: grid;
  gap: 22px;
  padding: 38px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--canvas);
  box-shadow: 14px 14px 0 var(--yellow);
}

.picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.picker-dozen {
  margin-top: 16px;
}

.picker legend,
.field-label,
.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bundle-opt {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 112px;
  align-content: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.bundle-opt:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.bundle-opt input,
.seg-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bundle-opt::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.bundle-opt:has(input:checked) {
  border-color: var(--ink);
  background: var(--yellow);
}

.bundle-opt:has(input:checked)::before {
  border: 4px solid var(--ink);
  animation: radio-pop 240ms var(--ease);
}

@keyframes radio-pop {
  0% { transform: scale(0.5); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.bo-name {
  font-size: 14px;
  font-weight: 800;
}

.bo-eggs {
  color: var(--muted);
  font-size: 10px;
}

.bo-price {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
}

.field-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
}

.delivery-loc-row {
  grid-template-columns: 1.4fr 1fr 0.7fr;
  margin-top: 12px;
}

.field {
  min-width: 0;
}

.stepper {
  min-height: 54px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}

.step-btn {
  height: 100%;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}

.step-btn:hover {
  background: var(--yellow);
}

.step-value {
  text-align: center;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
}

.step-value.bump {
  animation: value-pop 260ms var(--ease);
}

@keyframes value-pop {
  40% { transform: scale(1.2); }
}

.seg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.seg-opt {
  position: relative;
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.seg-opt:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.seg-opt:has(input:checked) {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.seg-day {
  font-size: 12px;
  font-weight: 800;
}

.seg-hours {
  color: var(--muted);
  font-size: 9px;
}

.seg-opt:has(input:checked) .seg-hours {
  color: rgba(255, 255, 255, 0.6);
}

.field input {
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  /* 16px minimum: iOS Safari zooms the page when focused inputs are <16px */
  font-size: 16px;
  font-weight: 600;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--yellow);
}

.field.error input {
  border-color: #c93636;
  background: #fff4f4;
}

.field-error {
  margin: 7px 0 0;
  color: #b32323;
  font-size: 11px;
  font-weight: 700;
}

.field-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field.shake {
  animation: shake 350ms ease;
}

.order-summary {
  margin: 0;
  padding: 14px;
  border-left: 4px solid var(--orange);
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.order-summary.bump {
  animation: summary-bump 280ms var(--ease);
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.form-note {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.delivery-note {
  max-width: 37ch;
  margin: -16px 0 30px;
  padding-left: 14px;
  border-left: 3px solid #1da74b;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.delivery-note b {
  color: var(--ink);
}

.delivery-note a {
  color: #14863a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.delivery-note a:hover {
  color: #1da74b;
}

/* Confirmation */
.done {
  padding: 80px 0;
  background: var(--green-soft);
}

.done-card {
  max-width: 920px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: center;
  margin-inline: auto;
  padding: 40px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--green);
  animation: done-in 450ms var(--ease) both;
}

.done-side {
  text-align: left;
}

.done-check {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
}

.done-side h2 {
  margin-bottom: 10px;
  font-size: 42px;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.done-side p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.done-hint {
  margin-top: 12px !important;
  font-size: 10px !important;
}

.receipt {
  margin: 0 0 16px;
  border-top: 1px solid var(--ink);
}

.receipt > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.receipt dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.receipt dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.receipt-total dd {
  font-family: var(--display);
  font-size: 24px;
  color: var(--orange);
}

.done-actions {
  display: grid;
  gap: 10px;
}

.btn-wa {
  color: var(--white);
  background: #1da74b;
}

.btn-wa:hover {
  background: #14863a;
}

.pay-perk {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.done-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* FAQ */
.faq {
  padding: var(--section-pad) 0;
}

.faq .section-head {
  grid-template-columns: 1fr;
}

.faq-grid {
  max-width: 920px;
  margin-left: auto;
  border-top: 1px solid var(--ink);
}

.faq details {
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 24px 50px 24px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.025em;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: center / 18px 18px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M9 2.5v13M2.5 9h13' stroke='%23171714' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E");
  transition: transform 220ms var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  max-width: 70ch;
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 14px;
  animation: faq-in 240ms var(--ease);
}

/* Footer */
.foot {
  padding: 64px 0 26px;
  color: var(--white);
  background: var(--ink);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.foot-tag {
  max-width: 32ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.55;
}

.foot-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.foot-h {
  margin: 0 0 4px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot-col p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.foot-col a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.foot-col a:hover {
  color: var(--yellow);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  flex-wrap: wrap;
}

.foot-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.foot-legal a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  text-decoration: none;
}

.foot-legal a:hover {
  color: var(--yellow);
}

/* Sticky mobile conversion bar */
.mobile-cta {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 11px 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  color: var(--white);
  background: rgba(23, 23, 20, 0.96);
  box-shadow: 0 18px 50px rgba(23, 23, 20, 0.28);
  transform: translateY(140%);
  transition: transform 320ms var(--ease);
}

.mobile-cta.show {
  transform: translateY(0);
}

.mobile-cta-text {
  display: grid;
}

.mobile-cta-text strong {
  font-size: 13px;
}

.mobile-cta-text span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.mobile-cta .btn {
  color: var(--ink);
  background: var(--yellow);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy > * {
  animation: intro-up 700ms var(--ease) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 50ms; }
.hero-copy > *:nth-child(2) { animation-delay: 110ms; }
.hero-copy > *:nth-child(3) { animation-delay: 170ms; }
.hero-copy > *:nth-child(4) { animation-delay: 230ms; }
.hero-copy > *:nth-child(5) { animation-delay: 290ms; }

.hero-showcase {
  animation: image-in 900ms 120ms var(--ease) both;
}

@keyframes intro-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translateY(0);
  }
}

@keyframes summary-bump {
  45% { transform: translateX(4px); }
}

@keyframes shake {
  25% { transform: translateX(-5px); }
  55% { transform: translateX(4px); }
  80% { transform: translateX(-2px); }
}

@keyframes done-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
}

@keyframes button-spin {
  to { transform: rotate(360deg); }
}

/* Responsive: fluid first; breakpoints only change layout structure */
/* Stack hero only on narrower screens so image stays beside copy on desktop */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 0;
  }

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

  .hero-showcase {
    min-height: 0;
    width: 100%;
  }

  .showcase-card {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: min(70svh, 640px);
    min-height: clamp(260px, 48svh, 520px);
  }

  .price-card {
    grid-template-columns: 50px 1fr 1fr minmax(100px, 120px);
  }

  .price-card .btn {
    grid-column: 2 / -1;
    justify-self: stretch;
  }

  .pickup-grid,
  .order-grid {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 56px);
  }

  .order-copy {
    position: static;
    display: grid;
    grid-template-columns: 1fr minmax(140px, 320px);
    gap: clamp(20px, 3vw, 36px);
    align-items: end;
  }

  .order-copy > p {
    grid-column: 1;
  }

  .order-tray-note {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - (var(--page-gutter) * 2), var(--page-max));
  }

  .topbar {
    height: var(--topbar-h);
  }

  .topnav {
    display: none;
  }

  .topbar-inner {
    gap: 12px;
  }

  .topbar-inner > .btn {
    margin-left: auto;
  }

  .brand-name {
    font-size: clamp(16px, 4.5vw, 20px);
  }

  .hero {
    padding-top: clamp(8px, 2svh, 16px);
  }

  .hero-copy {
    min-height: 0;
    padding-right: 0;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw + 1vh, 104px);
  }

  .hero-sub {
    font-size: clamp(14px, 3.6vw, 16px);
  }

  .hero-stats {
    padding-top: clamp(12px, 2.5svh, 20px);
  }

  .hero-stats div {
    padding-right: 10px;
  }

  .hero-stats div + div {
    padding-left: 10px;
  }

  .hero-stats dd {
    font-size: 9px;
  }

  .showcase-card {
    position: relative;
    inset: auto;
    aspect-ratio: 3 / 4;
    max-height: min(62svh, 560px);
    min-height: clamp(220px, 42svh, 480px);
  }

  .showcase-tag {
    top: clamp(10px, 3vw, 14px);
    right: clamp(10px, 3vw, 14px);
  }

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

  .trust-row p {
    padding: clamp(14px, 3vw, 20px) clamp(10px, 2.5vw, 14px);
  }

  .trust-row p:first-child {
    padding-left: clamp(10px, 2.5vw, 14px);
  }

  .trust-row p:nth-child(3) {
    border-left: 0;
  }

  .trust-row p:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: clamp(12px, 2.5vw, 20px);
  }

  .section-head h2 {
    font-size: clamp(36px, 11vw + 1vh, 72px);
  }

  .prices,
  .pickup,
  .order,
  .faq {
    padding-block: var(--section-pad);
  }

  .price-card {
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    padding: 22px 5px;
  }

  .price-card:hover {
    padding-inline: 8px;
  }

  .pack-detail {
    grid-column: 2 / -1;
  }

  .price-block {
    grid-column: 3;
    grid-row: 1;
  }

  .price-big {
    font-size: clamp(28px, 8vw, 38px);
  }

  .price-card .btn {
    grid-column: 2 / -1;
  }

  .pickup-grid {
    gap: clamp(28px, 5vw, 46px);
  }

  .day-cards {
    grid-template-columns: 1fr;
  }

  .day-card + .day-card {
    padding-left: 0;
    border-left: 0;
  }

  .loc-card {
    grid-template-columns: auto 1fr;
  }

  .loc-card .btn {
    grid-column: 1 / -1;
  }

  .steps-card {
    padding: clamp(20px, 4vw, 28px) clamp(16px, 3.5vw, 24px);
    box-shadow: var(--shadow-shift) var(--shadow-shift) 0 var(--orange);
  }

  .order-copy {
    display: block;
  }

  .order-copy h2 {
    font-size: clamp(40px, 12vw + 1vh, 76px);
  }

  .order-tray-note {
    max-width: none;
  }

  .order-form {
    padding: clamp(16px, 3.5vw, 24px) clamp(12px, 3vw, 18px);
    box-shadow: var(--shadow-shift) var(--shadow-shift) 0 var(--yellow);
  }

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

  .bundle-opt {
    min-height: clamp(88px, 18svh, 104px);
    padding: 10px;
  }

  .bo-name {
    font-size: 12px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .delivery-loc-row {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-loc-row .field:last-child {
    grid-column: 1 / -1;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }

  .done-card {
    grid-template-columns: 1fr;
    gap: clamp(18px, 3vw, 30px);
    padding: clamp(18px, 3.5vw, 28px) clamp(14px, 3vw, 20px);
    box-shadow: var(--shadow-shift) var(--shadow-shift) 0 var(--green);
  }

  .done-row {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 3vw, 28px) clamp(12px, 2.5vw, 20px);
    padding-bottom: 28px;
  }

  .foot-brand-col {
    grid-column: 1 / -1;
  }

  .foot-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .mobile-cta {
    display: flex;
  }
}

/* Extra-narrow phones / landscape short viewports */
@media (max-width: 400px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-stats div + div {
    padding-left: 0;
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

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

@media (max-height: 700px) and (min-width: 901px) {
  .hero-grid {
    min-height: calc(100dvh - var(--topbar-h) - 24px);
  }

  .hero-showcase {
    min-height: calc(100dvh - var(--topbar-h) - 48px);
  }

  .hero-copy {
    padding-block: 12px;
  }

  .hero h1 {
    font-size: clamp(40px, 6.5vh + 2vw, 96px);
    margin-bottom: 12px;
  }
}

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

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