/* Earf's Family Kitchen (EARFS) site styles. Built from the approved design canvas.
   Every custom property here maps 1:1 to config/settings_schema.json and the theme's base CSS in Step 4.
   Source: Earf's Family Kitchen design system + owner-locked brief. No other Dolo brand values. */

:root {
  /* Color */
  --color-burnt-orange: #CC3103;
  --color-bright-orange: #D24404;
  --color-golden-yellow: #F19709;
  --color-warm-amber: #E48008;
  --color-cream: #FDF1DC;
  --color-white: #FFFFFF;
  --color-tan: #E9D7B5;
  --color-rust: #B52E0A;
  --color-dark-brown: #3A2307;
  --color-charcoal: #2E2E2E;
  --color-black: #000000;
  --color-scrim: rgba(58, 35, 7, 0.62);
  --color-field-border: rgba(58, 35, 7, 0.6);

  /* Type */
  --font-display: "Bebas Neue", Oswald, "Arial Narrow", sans-serif;
  --font-body: Lato, "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Caveat Brush", "Comic Sans MS", cursive;
  --fs-display-xl: clamp(3.5rem, 2rem + 6.4vw, 8rem);
  --fs-display-lg: clamp(2.75rem, 1.9rem + 3.6vw, 5rem);
  --fs-headline: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  --fs-title: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  --fs-tagline: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  --fs-callout: 1.5rem;
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-label: 0.8125rem;
  --fs-fine: 0.75rem;
  --lh-display: 0.92;
  --lh-body: 1.55;
  --tracking-display: 0.02em;
  --tracking-label: 0.14em;

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --section-pad: clamp(56px, 32px + 4vw, 112px);
  --page-gutter: clamp(16px, 8px + 2.4vw, 40px);
  --page-max: 1280px;

  /* Shape */
  --radius-none: 0px;
  --radius-sm: 6px;
  --radius-round: 999px;
  --border-frame: 14px;

  /* Elevation: warm and soft, never grey */
  --shadow-soft: 0 2px 0 rgba(58, 35, 7, 0.10), 0 14px 28px -16px rgba(58, 35, 7, 0.38);
  --shadow-lift: 0 3px 0 rgba(58, 35, 7, 0.14), 0 20px 36px -18px rgba(58, 35, 7, 0.45);
  --shadow-press: 0 1px 0 rgba(58, 35, 7, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;

  /* Focus */
  --focus-color: var(--color-dark-brown);
  --focus-ring: 3px solid var(--focus-color);
}

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

/* Base */
.ek, .ek * { box-sizing: border-box; }
.ek { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-dark-brown); -webkit-font-smoothing: antialiased; }
.ek img { max-width: 100%; height: auto; display: block; }
.ek :focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.ek .ek-on-accent :focus-visible, .ek .ek-on-accent:focus-visible { outline-color: var(--color-cream); }
.ek a { color: var(--color-burnt-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ek a:hover { color: var(--color-rust); }
.ek-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ek-paper {
  background-color: var(--color-cream);
  background-image:
    radial-gradient(circle at 30% 40%, rgba(233, 215, 181, 0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 70%, rgba(228, 128, 8, 0.07) 0 1px, transparent 1.6px);
  background-size: 7px 7px, 13px 13px;
}
.ek-wrap { width: 100%; max-width: var(--page-max); margin: 0 auto; padding-inline: var(--page-gutter); }
.ek-skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--color-dark-brown); color: var(--color-cream) !important; padding: 12px 16px; font-weight: 700; }
.ek-skip:focus { left: 8px; top: 8px; }

/* Type styles */
.ek-display-xl, .ek-display-lg, .ek-headline, .ek-title { font-family: var(--font-display); font-weight: 400; letter-spacing: var(--tracking-display); text-transform: uppercase; margin: 0; }
.ek-display-xl { font-size: var(--fs-display-xl); line-height: var(--lh-display); }
.ek-display-lg { font-size: var(--fs-display-lg); line-height: 0.95; }
.ek-headline { font-size: var(--fs-headline); line-height: 1.02; }
.ek-title { font-size: var(--fs-title); line-height: 1.08; }
.ek-tagline { font-family: var(--font-accent); font-size: var(--fs-tagline); line-height: 1.1; }
.ek-callout { font-family: var(--font-accent); font-size: var(--fs-callout); line-height: 1.15; }
.ek-body-lg { font-size: var(--fs-body-lg); line-height: 1.55; margin: 0; max-width: 60ch; }
.ek-body { font-size: var(--fs-body); line-height: var(--lh-body); margin: 0; max-width: 62ch; }
.ek-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; line-height: 1.3; margin: 0; }
.ek-fine { font-size: var(--fs-fine); line-height: 1.45; color: var(--color-charcoal); margin: 0; }
.ek-accent-text { color: var(--color-burnt-orange); }

/* Button */
.ek-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 12px 22px 10px; white-space: nowrap;
  font-family: var(--font-display); font-size: 22px; letter-spacing: 0.06em; line-height: 1;
  border-radius: var(--radius-sm); border: 2px solid var(--color-burnt-orange);
  cursor: pointer; text-decoration: none !important;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.ek-btn svg { width: 20px; height: 20px; flex: none; }
.ek-btn--primary { background: var(--color-burnt-orange); color: var(--color-cream) !important; box-shadow: var(--shadow-soft); }
.ek-btn--primary:hover, .ek-btn--primary.is-hover { background: var(--color-rust); border-color: var(--color-rust); color: var(--color-cream) !important; }
.ek-btn--primary:active, .ek-btn--primary.is-pressed { background: var(--color-rust); border-color: var(--color-rust); transform: translateY(2px); box-shadow: var(--shadow-press); }
.ek-btn--secondary { background: transparent; color: var(--color-burnt-orange) !important; }
.ek-btn--secondary:hover, .ek-btn--secondary.is-hover { background: var(--color-tan); color: var(--color-rust) !important; border-color: var(--color-rust); }
.ek-btn--secondary:active, .ek-btn--secondary.is-pressed { transform: translateY(2px); background: var(--color-tan); }
.ek-btn--ghost { background: transparent; border-color: transparent; color: var(--color-dark-brown) !important; text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 5px; padding-inline: 10px; }
.ek-btn--ghost:hover, .ek-btn--ghost.is-hover { color: var(--color-burnt-orange) !important; background: rgba(233, 215, 181, 0.6); }
.ek-btn--light { background: var(--color-cream); border-color: var(--color-cream); color: var(--color-dark-brown) !important; box-shadow: var(--shadow-soft); }
.ek-btn--light:hover, .ek-btn--light.is-hover { background: var(--color-golden-yellow); border-color: var(--color-golden-yellow); }
.ek-btn--light:active, .ek-btn--light.is-pressed { transform: translateY(2px); box-shadow: var(--shadow-press); }
.ek-btn--soon, .ek-btn:disabled, .ek-btn[aria-disabled="true"] {
  background: var(--color-tan); border: 2px dashed rgba(58, 35, 7, 0.45); color: var(--color-charcoal) !important; box-shadow: none; cursor: not-allowed; transform: none;
}
.ek-btn.is-focus { outline: var(--focus-ring); outline-offset: 3px; }
.ek-on-accent .ek-btn.is-focus { outline-color: var(--color-cream); }
.ek-btn--block { width: 100%; }
.ek-btn--sm { min-height: 44px; font-size: 19px; padding: 10px 14px 8px; }
.ek-btn[aria-busy="true"] { cursor: progress; background: var(--color-rust); border-color: var(--color-rust); position: relative; overflow: hidden; }
.ek-btn[aria-busy="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 40%; background: var(--color-golden-yellow); animation: ek-slide 1.1s var(--ease-out) infinite; }
@keyframes ek-slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* Brush banner */
.ek-banner { position: relative; display: inline-block; padding: 10px 34px 14px; color: var(--color-dark-brown); isolation: isolate; }
.ek-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-golden-yellow);
  clip-path: polygon(2% 18%, 8% 6%, 30% 10%, 52% 3%, 74% 9%, 96% 4%, 99% 26%, 97% 52%, 100% 78%, 93% 96%, 70% 90%, 48% 97%, 26% 91%, 6% 97%, 1% 74%, 3% 48%); }
.ek-banner--orange { color: var(--color-cream); }
.ek-banner--orange::before { background: var(--color-burnt-orange); }
.ek-banner--amber::before { background: var(--color-warm-amber); }
.ek-banner--tilt { transform: rotate(-2deg); }

/* Heart divider */
.ek-heart { display: flex; align-items: center; gap: var(--space-4); color: var(--color-burnt-orange); }
.ek-heart::before, .ek-heart::after { content: ""; flex: 1; height: 2px; background: currentColor; border-radius: 2px; }
.ek-heart svg { width: 22px; height: 20px; fill: currentColor; flex: none; }
.ek-heart--cream { color: var(--color-cream); }

/* Distressed print frame */
.ek-frame { background: var(--color-burnt-orange); padding: var(--border-frame); position: relative; }
.ek-frame__panel { background: var(--color-cream); position: relative;
  clip-path: polygon(0 0.8%, 3% 0, 20% 0.9%, 40% 0, 62% 0.8%, 85% 0, 100% 0.9%, 99.4% 20%, 100% 45%, 99.3% 70%, 100% 99.2%, 80% 100%, 58% 99.1%, 35% 100%, 12% 99.2%, 0 100%, 0.6% 75%, 0 50%, 0.7% 25%); }
.ek-edge-bottom { position: relative; }
.ek-edge-bottom::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px; background: var(--color-burnt-orange);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 96% 80%, 90% 50%, 83% 90%, 76% 60%, 68% 100%, 60% 55%, 52% 85%, 44% 50%, 37% 95%, 29% 60%, 21% 90%, 13% 50%, 6% 85%, 0 60%); }
.ek-edge-top { position: relative; }
.ek-edge-top::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; background: inherit;
  clip-path: polygon(0 40%, 6% 15%, 13% 50%, 21% 10%, 29% 40%, 37% 5%, 44% 50%, 52% 15%, 60% 45%, 68% 0, 76% 40%, 83% 10%, 90% 50%, 96% 20%, 100% 45%, 100% 100%, 0 100%); }

/* Icon circle */
.ek-icircle { width: 72px; height: 72px; border-radius: var(--radius-round); background: var(--color-dark-brown); color: var(--color-golden-yellow); display: grid; place-items: center; flex: none; }
.ek-icircle svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ek-icircle--sm { width: 52px; height: 52px; }
.ek-icircle--sm svg { width: 26px; height: 26px; }
.ek-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Photo slot (labelled, empty on purpose) */
.ek-slot { position: relative; background: repeating-linear-gradient(135deg, rgba(58, 35, 7, 0.05) 0 2px, transparent 2px 14px), var(--color-tan);
  border: 2px dashed rgba(58, 35, 7, 0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2);
  text-align: center; padding: var(--space-5); color: var(--color-dark-brown); width: 100%; }
.ek-slot svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ek-slot__label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ek-slot__desc { font-size: 14px; line-height: 1.4; max-width: 34ch; }
.ek-slot--r45 { aspect-ratio: 4 / 5; }
.ek-slot--r43 { aspect-ratio: 4 / 3; }
.ek-slot--r169 { aspect-ratio: 16 / 9; }
.ek-slot--r11 { aspect-ratio: 1 / 1; }

/* Delivery badges */
.ek-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border-radius: var(--radius-round); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ek-chip--soon { background: var(--color-golden-yellow); color: var(--color-dark-brown); }
.ek-chip--app { background: var(--color-white); color: var(--color-dark-brown); border: 1.5px solid rgba(58, 35, 7, 0.35); }
.ek-chip svg { width: 16px; height: 16px; }
.ek-dlv { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-sm); min-height: 112px; text-decoration: none !important; color: var(--color-dark-brown) !important; background: var(--color-white); position: relative; }
.ek-dlv__logo { width: 56px; height: 56px; border-radius: var(--radius-sm); border: 1.5px dashed rgba(58, 35, 7, 0.45); display: grid; place-items: center; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.15; color: var(--color-charcoal); background: var(--color-cream); }
.ek-dlv__name { font-family: var(--font-display); font-size: 36px; line-height: 1; letter-spacing: 0.02em; display: block; }
.ek-dlv__sub { font-size: 14px; line-height: 1.35; display: block; color: var(--color-charcoal); margin-top: 4px; }
.ek-dlv--soon { border: 2px dashed rgba(58, 35, 7, 0.45); background: rgba(255, 255, 255, 0.6); }
.ek-dlv--live { border: 3px solid var(--color-burnt-orange); box-shadow: var(--shadow-soft); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); cursor: pointer; }
.ek-dlv--live:hover, .ek-dlv--live.is-hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--color-rust); }
.ek-dlv--live:active, .ek-dlv--live.is-pressed { transform: translateY(1px); box-shadow: var(--shadow-press); }
.ek-dlv--live.is-focus { outline: var(--focus-ring); outline-offset: 3px; }
.ek-dlv__go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.06em; color: var(--color-burnt-orange); }

/* Flavor card */
.ek-flavor { background: var(--color-white); border: 2px solid var(--color-tan); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.ek-flavor .ek-slot { border-width: 0 0 2px; aspect-ratio: 4 / 3; }
.ek-flavor__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.ek-flavor__name { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: 0.02em; margin: 0; color: var(--color-dark-brown); }


/* Form fields */
.ek-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ek-field__label { font-size: 15px; font-weight: 700; color: var(--color-dark-brown); }
.ek-req { color: var(--color-burnt-orange); font-weight: 700; margin-left: 2px; }
.ek-input, .ek-select, .ek-textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: 400 16px/1.4 var(--font-body); color: var(--color-dark-brown);
  background: var(--color-white); border: 1.5px solid var(--color-field-border); border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.ek-input::placeholder, .ek-textarea::placeholder { color: rgba(58, 35, 7, 0.72); }
.ek-input:hover, .ek-select:hover, .ek-textarea:hover { border-color: var(--color-dark-brown); }
.ek-input:focus, .ek-select:focus, .ek-textarea:focus, .ek-input.is-focus, .ek-select.is-focus, .ek-textarea.is-focus { outline: none; border-color: var(--color-burnt-orange); box-shadow: 0 0 0 3px var(--color-cream), 0 0 0 6px var(--color-dark-brown); }
.ek-input[aria-invalid="true"], .ek-select[aria-invalid="true"], .ek-textarea[aria-invalid="true"] { border: 2px solid var(--color-rust); background: #FFFFFF; }
.ek-input:disabled, .ek-select:disabled, .ek-textarea:disabled { background: var(--color-tan); color: var(--color-charcoal); border-style: dashed; cursor: not-allowed; }
.ek-select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-dark-brown) 50%), linear-gradient(135deg, var(--color-dark-brown) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.ek-textarea { min-height: 120px; resize: vertical; }
.ek-hint { font-size: 14px; color: var(--color-charcoal); margin: 0; }
.ek-err { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; font-weight: 700; color: var(--color-rust); margin: 0; line-height: 1.35; }
.ek-err svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ek-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 16px; line-height: 1.4; }
.ek-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--color-burnt-orange); cursor: pointer; }
.ek-check input:focus-visible, .ek-check input.is-focus { outline: var(--focus-ring); outline-offset: 3px; }
.ek-check--error input { outline: 2px solid var(--color-rust); outline-offset: 2px; }

/* Alerts and panels */
.ek-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); border: 2px solid var(--color-rust); background: var(--color-white); color: var(--color-dark-brown); }
.ek-alert svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--color-rust); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ek-alert__title { font-weight: 700; margin: 0 0 4px; }
.ek-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-4); padding: var(--space-7) var(--space-6); }

/* Section header + page skeleton */
.ek-shell { position: relative; }
.ek-page { container-type: inline-size; container-name: page; width: 100%; }
.ek-section { padding-block: var(--section-pad); scroll-margin-top: 104px; }
.ek-section--tan { background: var(--color-tan); }
.ek-section--accent { background: var(--color-burnt-orange); color: var(--color-cream); }
.ek-section--accent a { color: var(--color-cream); }
.ek-section--accent a:hover { color: var(--color-cream); text-decoration-thickness: 3px; }

/* Announcement bar */
.ek-announce { background: var(--color-dark-brown); color: var(--color-cream); text-align: center; padding: 10px var(--page-gutter); font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; line-height: 1.4; }
.ek-announce p { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.ek-announce svg { width: 16px; height: 16px; fill: none; stroke: var(--color-golden-yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.ek-header { position: sticky; top: 0; z-index: 20; background: var(--color-cream); }
.ek-header__inner { display: flex; align-items: center; gap: var(--space-6); padding-block: 8px; }
.ek-header__logo { display: block; flex: none; }
.ek-header__logo img { width: 160px; }
.ek-nav { margin-left: auto; }
.ek-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.ek-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-dark-brown); text-decoration: none;
  background: linear-gradient(var(--color-burnt-orange), var(--color-burnt-orange)) 0 calc(100% - 6px) / 0 3px no-repeat; transition: background-size var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.ek-nav a:hover, .ek-nav a.is-hover { color: var(--color-burnt-orange); background-size: 100% 3px; }
.ek-header__cta { flex: none; }
.ek-burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 2px solid var(--color-dark-brown); border-radius: var(--radius-sm); background: transparent; color: var(--color-dark-brown); cursor: pointer; flex: none; padding: 0; }
.ek-burger svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* Hero */
.ek-hero { padding-block: clamp(32px, 16px + 3vw, 72px) clamp(64px, 40px + 4vw, 112px); overflow: hidden; }
.ek-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.ek-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.ek-hero__title { color: var(--color-dark-brown); }
.ek-hero__title span { display: block; }
.ek-hero__title .ek-accent-text { font-size: 1.32em; line-height: 0.86; }
.ek-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start; margin-top: var(--space-3); }
.ek-soon { display: flex; flex-direction: column; gap: 8px; }
.ek-soon__apps { display: flex; gap: 8px; margin: 0; align-items: center; flex-wrap: wrap; }
.ek-hero__media { position: relative; padding: 0 0 56px 56px; }
.ek-hero__media .ek-frame { transform: rotate(1.5deg); box-shadow: var(--shadow-lift); }
.ek-hero__media .ek-frame__panel { background: var(--color-golden-yellow); }
.ek-stamp { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius-round); background: var(--color-cream); border: 6px solid var(--color-burnt-orange); display: grid; place-items: center; box-shadow: var(--shadow-lift); }
.ek-stamp img { width: 82%; }


/* Hero, banner variant: landscape key art on top, headline and actions below */
.ek-hero--banner { padding-block: clamp(24px, 8px + 2.4vw, 48px) clamp(56px, 32px + 4vw, 96px); overflow: visible; }
.ek-hero__banner { position: relative; max-width: 1120px; margin: 0 auto; }
.ek-hero__banner .ek-frame { transform: rotate(-0.6deg); box-shadow: var(--shadow-lift); }
.ek-hero__banner .ek-frame__panel { background: var(--color-burnt-orange); }
.ek-photo--21 { aspect-ratio: 2 / 1; }
.ek-photo--hero { aspect-ratio: 1536 / 840; }
.ek-hero__banner .ek-stamp { left: auto; bottom: auto; right: -24px; top: -32px; width: 176px; }
.ek-hero__row { max-width: 1120px; margin: clamp(28px, 3vw, 44px) auto 0; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.ek-hero__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ek-hero--banner .ek-hero__title span { display: inline; }
.ek-hero--banner .ek-hero__title .ek-accent-text { font-size: 1em; line-height: inherit; }
.ek-hero--banner .ek-hero__ctas { margin-top: 0; }

/* What's a CatDog */
.ek-intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
.ek-intro__grid { align-items: center; }
.ek-intro__media { grid-column: 1 / span 6; grid-row: 1; }
.ek-intro__photo { transform: rotate(-1.5deg); box-shadow: var(--shadow-lift); border: 8px solid var(--color-white); }
.ek-intro__card { grid-column: 6 / span 7; grid-row: 1; margin-left: 24px; background: var(--color-white); border: 2px solid var(--color-tan); border-radius: var(--radius-sm); padding: clamp(24px, 3vw, 48px); box-shadow: var(--shadow-lift); display: flex; flex-direction: column; gap: var(--space-4); position: relative; z-index: 1; }

/* Flavors */
.ek-flavors__head { display: flex; align-items: center; justify-content: flex-start; gap: var(--space-5); margin-bottom: var(--space-7); flex-wrap: wrap; }

/* Product photos */
.ek-photo { width: 100%; height: auto; display: block; object-fit: cover; background: var(--color-golden-yellow); }
.ek-photo--45 { aspect-ratio: 4 / 5; }

/* Flavor picker (product showcase) */
.ek-picker { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ek-picker__stage .ek-frame { transform: rotate(-1deg); box-shadow: var(--shadow-lift); }
.ek-picker__stage .ek-frame__panel { background: var(--color-golden-yellow); }
.ek-picker__list { display: flex; flex-direction: column; gap: 14px; }
.ek-picker__tab { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; width: 100%; min-height: 44px; padding: 12px; text-align: left; font: inherit; color: var(--color-dark-brown); background: rgba(255, 255, 255, 0.55); border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.ek-picker__tab:hover { background: var(--color-white); border-color: rgba(58, 35, 7, 0.3); }
.ek-picker__tab:active { transform: translateY(1px); }
.ek-picker__tab[aria-selected="true"] { background: var(--color-white); border-color: var(--color-burnt-orange); box-shadow: var(--shadow-soft); }
.ek-picker__thumb { width: 96px; height: 120px; object-fit: cover; border-radius: 4px; background: var(--color-golden-yellow); }
.ek-picker__name { display: block; font-family: var(--font-display); font-size: 36px; line-height: 1; letter-spacing: 0.02em; }
.ek-picker__tab[aria-selected="true"] .ek-picker__name { color: var(--color-burnt-orange); }
.ek-picker__tag { display: block; font-family: var(--font-accent); font-size: 22px; line-height: 1.15; margin-top: 4px; color: var(--color-rust); }
.ek-picker__desc { display: block; font-size: 16px; line-height: 1.45; margin-top: 4px; }

/* Sides strip (no prices: they vary by channel and event) */
.ek-sides { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 2px solid rgba(58, 35, 7, 0.2); display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.ek-sides ul { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.ek-sides li { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.03em; line-height: 1; padding: 10px 20px 8px; border-radius: var(--radius-round); background: var(--color-cream); border: 2px solid rgba(58, 35, 7, 0.25); }

/* Catering */
.ek-cater__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ek-cater__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.ek-cater__events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); }
.ek-cater__events li, .ek-cater__serve li { display: flex; align-items: center; gap: var(--space-4); font-family: var(--font-display); font-size: 28px; line-height: 1.02; letter-spacing: 0.02em; }
.ek-cater__serve { list-style: none; margin: var(--space-6) 0 0; padding: var(--space-6) 0 0; border-top: 2px solid rgba(253, 241, 220, 0.45); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); }
.ek-cater__serve small { display: block; font-family: var(--font-body); font-size: 15px; letter-spacing: 0; line-height: 1.4; margin-top: 4px; }

/* Delivery section */
.ek-dlvsec__inner { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ek-dlvsec__tiles { display: grid; gap: var(--space-4); }

/* Footer */
.ek-footer { background: var(--color-burnt-orange); color: var(--color-cream); padding-block: var(--space-8) var(--space-6); }
.ek-footer a { color: var(--color-cream); }
.ek-footer a:hover { color: var(--color-cream); text-decoration-thickness: 3px; }
.ek-footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ek-footer__logo { display: block; background: var(--color-cream); padding: 18px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); transform: rotate(-1.5deg); }
.ek-footer__logo img { width: 180px; }
.ek-footer__contact { display: flex; flex-direction: column; gap: 6px; }
.ek-footer__phone { font-family: var(--font-display); font-size: 40px; letter-spacing: 0.03em; line-height: 1.1; display: inline-flex; align-items: center; min-height: 44px; }
.ek-footer__email { font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.ek-social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ek-social li { width: 48px; height: 48px; border-radius: var(--radius-round); border: 2px dashed rgba(253, 241, 220, 0.75); display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ek-footer__base { margin-top: var(--space-7); display: flex; flex-direction: column; gap: var(--space-4); }
.ek-footer__legal { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: 14px; }

/* Drawer */
.ek-drawer { position: fixed; inset: 0; z-index: 60; background: var(--color-scrim); display: flex; justify-content: flex-end; }
.ek-drawer__panel { width: min(360px, 88%); height: 100%; overflow-y: auto; background: var(--color-cream); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-5); box-shadow: var(--shadow-lift); animation: ek-in-right var(--dur-slow) var(--ease-out); }
.ek-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ek-drawer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ek-drawer__nav a { display: flex; align-items: center; min-height: 56px; font-family: var(--font-display); font-size: 40px; letter-spacing: 0.02em; color: var(--color-dark-brown); text-decoration: none; border-bottom: 2px solid var(--color-tan); }
.ek-drawer__nav a:hover { color: var(--color-burnt-orange); }
.ek-drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-3); }
@keyframes ek-in-right { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ek-in-up { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.ek-iconbtn { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: var(--radius-sm); border: 2px solid currentColor; background: transparent; color: inherit; cursor: pointer; padding: 0; flex: none; }
.ek-iconbtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* Landing: container-driven responsive rules (become media queries in the theme) */
@container page (max-width: 980px) {
  .ek-nav { display: none; }
  .ek-burger { display: inline-flex; }
  .ek-header__inner { gap: 8px; }
  .ek-header__cta { margin-left: auto; }
  .ek-hero__grid { grid-template-columns: 1fr; }
  .ek-hero__media { max-width: 560px; }
  .ek-intro__grid { display: flex; flex-direction: column; }
  .ek-intro__card { margin: -40px 16px 0; }
  .ek-intro__media { max-width: 560px; }
  .ek-picker { grid-template-columns: 1fr; }
  .ek-picker__stage { max-width: 560px; }
  .ek-cater__grid { grid-template-columns: 1fr; }
  .ek-dlvsec__inner { grid-template-columns: 1fr; }
  .ek-footer__grid { grid-template-columns: 1fr; justify-items: start; }
}
@container page (max-width: 560px) {
  .ek-header__logo img { width: 150px; }
  .ek-header__cta.ek-btn { font-size: 18px; padding: 10px 12px 8px; min-height: 44px; }
  .ek-burger { width: 44px; height: 44px; }
  .ek-hero__media { padding: 0 0 40px 28px; }
  .ek-stamp { width: 52%; border-width: 5px; }
  .ek-hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .ek-hero__banner .ek-stamp { width: 92px; right: -6px; top: -22px; border-width: 4px; }
  .ek-hero__banner .ek-frame { --border-frame: 8px; padding: 8px; }
  .ek-hero__ctas .ek-btn { width: 100%; }
  .ek-picker__tab { grid-template-columns: 72px 1fr; gap: 14px; padding: 10px; }
  .ek-picker__thumb { width: 72px; height: 90px; }
  .ek-picker__name { font-size: 30px; }
  .ek-sides li { font-size: 22px; }
  .ek-cater__events, .ek-cater__serve { grid-template-columns: 1fr; }
  .ek-cater__copy .ek-btn { width: 100%; }
  .ek-dlv { grid-template-columns: auto 1fr; }
  .ek-dlv > :last-child { grid-column: 1 / -1; }
  .ek-footer__legal { flex-direction: column; }
}

/* Catering modal */
.cm { font-family: var(--font-body); color: var(--color-dark-brown); }
.cm *, .cm *::before, .cm *::after { box-sizing: border-box; }
.cm__dialog { width: min(680px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--color-cream); border-radius: var(--radius-sm); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); position: relative; animation: ek-in-up var(--dur-slow) var(--ease-out); }
.cm__head { position: sticky; top: 0; z-index: 2; background: var(--color-burnt-orange); color: var(--color-cream); padding: 18px 20px 16px 28px; display: flex; align-items: flex-start; gap: 16px; }
.cm__head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: 0.03em; }
.cm__head p { margin: 6px 0 0; font-size: 16px; line-height: 1.4; }
.cm__draft { display: inline-block; margin-left: 10px; vertical-align: 8px; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; padding: 3px 8px; border-radius: var(--radius-round); background: var(--color-golden-yellow); color: var(--color-dark-brown); }
.cm__close { margin-left: auto; color: var(--color-cream); }
.cm__close:hover { background: rgba(253, 241, 220, 0.16); }
.cm__close:focus-visible { outline: 3px solid var(--color-cream); outline-offset: 2px; }
.cm__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 20px; }
.cm__reqnote { font-size: 14px; color: var(--color-charcoal); margin: 0; }
.cm__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.cm__full { grid-column: 1 / -1; }
.cm__actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; padding-top: 4px; }
.cm__fallback { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.cm__fallback a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 17px; }
.cm__helpline { font-size: 15px; margin: 0; text-align: center; }
@media (max-width: 640px) {
  .cm--overlay.cm--auto { padding: 0; place-items: stretch; }
  .cm--auto .cm__dialog { width: 100%; height: 100dvh; max-height: none; border-radius: 0; display: flex; flex-direction: column; }
  .cm--auto .cm__grid { grid-template-columns: 1fr; }
  .cm--auto .cm__head { padding: 14px 12px 12px 18px; }
  .cm--auto .cm__head h2 { font-size: 34px; }
  .cm--auto .cm__body { padding: 18px 18px 0; flex: 1; }
  .cm--auto .cm__actions { position: sticky; bottom: 0; background: var(--color-cream); margin: 0 -18px; padding: 12px 18px 18px; border-top: 2px solid var(--color-tan); }
  .cm--auto .cm__actions .ek-btn { flex: 1; }
}

/* Mobile: centered section layout (owner request 2026-10-02) */
@container page (max-width: 560px) {
  .ek-section, .ek-hero__row, .ek-footer { text-align: center; }
  .ek-body, .ek-body-lg { margin-inline: auto; }

  /* Hero */
  .ek-hero__row { justify-content: center; }
  .ek-hero__intro { align-items: center; width: 100%; }
  .ek-soon { align-items: stretch; }
  .ek-soon__apps { justify-content: center; }

  /* What's a CatDog */
  .ek-intro__media { margin-inline: auto; }
  .ek-intro__card { align-items: center; }
  .ek-intro__card .ek-heart { width: 100%; }

  /* Flavors */
  .ek-flavors__head { flex-direction: column; align-items: center; text-align: center; }
  .ek-picker__stage { margin-inline: auto; }
  .ek-picker__tab { text-align: left; }
  .ek-sides { flex-direction: column; justify-content: center; }
  .ek-sides ul { justify-content: center; }

  /* Catering */
  .ek-cater__copy { align-items: center; }
  .ek-cater__events { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
  .ek-cater__events li, .ek-cater__serve li { flex-direction: column; justify-content: flex-start; text-align: center; gap: var(--space-3); font-size: 24px; }
  .ek-cater__serve { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); }

  /* Order delivery */
  .ek-dlvsec__inner > div:first-child { align-items: center !important; }

  /* Footer */
  .ek-footer__grid { justify-items: center; }
  .ek-footer__contact { align-items: center; }
  .ek-social { justify-content: center; }
  .ek-footer__legal { align-items: center; }
}

/* Native dialogs (catering modal + mobile nav drawer) */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-cream); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
.cm-dialog { padding: 0; border: 0; background: transparent; width: min(680px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; overflow: visible; }
.cm-dialog::backdrop, .ek-drawer-dlg::backdrop { background: var(--color-scrim); }
.cm-dialog .cm__dialog { width: 100%; max-height: calc(100dvh - 48px); }
.cm-dialog[open] .cm__dialog { animation: ek-in-up var(--dur-slow) var(--ease-out); }
@media (max-width: 640px) {
  .cm-dialog { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
  .cm-dialog .cm__dialog { max-height: none; }
}
.ek-drawer-dlg { padding: 0; border: 0; margin: 0 0 0 auto; width: min(360px, 88%); height: 100dvh; max-height: 100dvh; max-width: none; background: transparent; }
.ek-drawer-dlg .ek-drawer__panel { width: 100%; height: 100%; }

/* Footer social badges (not links): one handle across platforms */
.ek-footer__social { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.ek-footer__social .ek-social li { border: 0; background: var(--color-cream); color: var(--color-burnt-orange); }
.ek-footer__social .ek-social svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ek-footer__handle { margin: 0; font-size: 17px; line-height: 1.4; }
.ek-footer__handle b { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: 0.03em; display: block; line-height: 1.05; }
@container page (max-width: 980px) { .ek-footer__social { align-items: flex-start; text-align: left; } }
@container page (max-width: 560px) { .ek-footer__social { align-items: center; text-align: center; } }
