/* ==========================================================================
   Skip The Prep — styles
   Mobile-first. Breakpoints: 640px (large phone / small tablet), 960px (desktop)
   ========================================================================== */

:root {
  /* Brand */
  --orange: #f15626;
  --orange-dark: #d8431a;   /* hover/pressed state for orange buttons */
  --cream: #fef5e4;
  --ink: #2b1f1a;           /* headings + body copy */
  --ink-muted: #5c4a40;     /* secondary copy (7.7:1 on cream) */
  --surface: #fffdf8;       /* cards */
  --line: rgba(43, 31, 26, 0.1);

  /* "Frozen" accent — used sparingly */
  --ice: #8fd3f4;
  --ice-soft: #e3f4fc;
  --ice-ink: #0b5c7d;

  /* Platform brand colors */
  --tokopedia: #00aa5b;
  --shopee: #ee4d2d;
  --whatsapp: #25d366;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(43, 31, 26, 0.06), 0 2px 6px rgba(43, 31, 26, 0.06);
  --shadow: 0 2px 4px rgba(43, 31, 26, 0.05), 0 8px 24px rgba(43, 31, 26, 0.09);
  --shadow-lg: 0 4px 8px rgba(43, 31, 26, 0.06), 0 14px 36px rgba(43, 31, 26, 0.13);

  --gutter: 20px;
  --maxw: 1080px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  padding: 14px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.brand img {
  width: auto;
  height: 64px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  /* 19px bold = WCAG "large text", so white on #f15626 (3.4:1) passes AA */
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(241, 86, 38, 0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 8px 22px rgba(241, 86, 38, 0.42);
}

.btn-light {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(43, 31, 26, 0.2);
}

.btn-light:hover {
  background: #fff;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-sm {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(241, 86, 38, 0.3);
}

.btn-block {
  width: 100%;
}

/* ---------- "Frozen" badge ---------- */

.badge-frozen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: var(--ice-soft);
  color: var(--ice-ink);
  border: 1px solid rgba(143, 211, 244, 0.9);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-frozen svg {
  width: 16px;
  height: 16px;
  color: #3aa6d8;
}

/* ---------- Hero ---------- */

.hero {
  padding: 16px 0 48px;
}

.hero-inner {
  display: grid;
  gap: 32px;
}

.hero-copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.hero h1 {
  font-size: clamp(2.375rem, 9vw, 3.75rem);
}

.hero h1 .accent {
  /* Only used at display sizes (38px+), where orange-on-cream passes as large text */
  color: var(--orange);
}

.hero .lede {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 34ch;
}

.hero-cta {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 6px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #f6e3c7;
}

/* ---------- Sections ---------- */

.section {
  padding: 56px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section h2 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
}

/* ---------- Pouch highlights (chips) ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.chip {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* ---------- Menu ---------- */

.menu {
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Photos are shot on the same cream as the page, so the plates sit directly on it */
.dish {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dish img {
  flex: none;
  width: 120px;
  height: 120px;
}

.dish-body {
  display: grid;
  gap: 4px;
}

.dish h3 {
  font-size: 1.25rem;
}

.dish p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ---------- Heat it your way ---------- */

.section-heat {
  background: var(--surface);
}

.heat {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.heat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--cream);
}

.heat-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
}

.heat-icon svg {
  width: 26px;
  height: 26px;
}

.heat-body {
  display: grid;
  gap: 2px;
}

.heat h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 1.1875rem;
}

.heat-time {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--ice-ink);
  background: var(--ice-soft);
  padding: 2px 10px;
  border-radius: 999px;
}

.heat p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.heat strong {
  color: var(--ink);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  /* 28px+ bold white on orange = large text, passes AA */
  color: #fff;
  font-size: clamp(1.75rem, 6.5vw, 2.5rem);
  max-width: 18ch;
}

.cta-band .flake {
  position: absolute;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.cta-band .flake-1 {
  width: 140px;
  height: 140px;
  top: -36px;
  right: -30px;
}

.cta-band .flake-2 {
  width: 90px;
  height: 90px;
  bottom: -24px;
  left: -18px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 32px 0 40px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.site-footer a {
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Order page
   ========================================================================== */

.order-main {
  padding: 16px 0 48px;
}

.order-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.order-head {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.order-head h1 {
  font-size: clamp(2rem, 8vw, 2.75rem);
}

.order-head p {
  color: var(--ink-muted);
  font-size: 1.0625rem;
  max-width: 30ch;
}

.platforms {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform {
  --brand: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 16px 18px 16px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.platform:hover,
.platform:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.platform:active {
  transform: scale(0.985);
  box-shadow: var(--shadow-sm);
}

.platform--tokopedia { --brand: var(--tokopedia); }
.platform--shopee    { --brand: var(--shopee); }
.platform--whatsapp  { --brand: var(--whatsapp); }

.platform-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
}

.platform-icon svg {
  width: 30px;
  height: 30px;
}

/* Tokopedia's official icon is full-color, so it sits on a white tile instead of a green one */
.platform--tokopedia .platform-icon {
  background: #fff;
  border: 1px solid var(--line);
}

.platform-icon img {
  width: 44px;
  height: 44px;
}

.platform-text {
  flex: 1;
  display: grid;
  gap: 2px;
  min-width: 0;
}

.platform-name {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.platform-sub {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.platform-arrow {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--ink-muted);
  transition: transform 0.15s ease;
}

.platform:hover .platform-arrow {
  transform: translate(2px, -2px);
}

.order-foot {
  margin-top: 28px;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 8px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Very small phones (≤ 360px) ---------- */

@media (max-width: 360px) {
  :root {
    --gutter: 16px;
  }

  .brand img {
    height: 56px;
  }

  .dish img {
    width: 100px;
    height: 100px;
  }

  .btn {
    padding-left: 20px;
    padding-right: 20px;
  }

  .platform {
    gap: 12px;
    padding-left: 12px;
    padding-right: 14px;
  }

  .platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .platform-icon svg {
    width: 26px;
    height: 26px;
  }

  .platform-icon img {
    width: 38px;
    height: 38px;
  }
}

/* ---------- ≥ 640px ---------- */

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }

  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    width: auto;
  }

  .hero-cta .btn {
    width: auto;
  }

  .menu {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .dish {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .dish img {
    width: 100%;
    max-width: 260px;
    height: auto;
  }

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

  .heat-item {
    flex-direction: column;
  }

  .cta-band {
    padding: 56px 40px;
  }
}

/* ---------- ≥ 960px ---------- */

@media (min-width: 960px) {
  .site-header {
    padding: 22px 0;
  }

  .brand img {
    height: 80px;
  }

  .hero {
    padding: 32px 0 72px;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 56px;
  }

  .section {
    padding: 72px 0;
  }

  .order-main {
    padding-top: 40px;
  }
}

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