/* ============================================================================
   Hearth & Crumb — token system
   Concept: "The Crust Line" — the Maillard browning arc (pale dough to deep
   mahogany crust) as the brand gradient, plus a single cherry-glaze accent.
   Every component below reads these custom properties; no raw colors in markup.
   ========================================================================== */

@font-face {
  font-family: "Lora";
  src: url("./fonts/lora-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("./fonts/lora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("./fonts/lora-600italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("./fonts/karla-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("./fonts/karla-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("./fonts/karla-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("./fonts/karla-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- color: HSL components (h s% l%), composed via hsl(var(--x)) ---- */
  --background: 32 45% 97%;
  --background-alt: 28 38% 92%;
  --surface: 34 50% 98%;
  --foreground: 18 30% 13%;
  --muted: 24 14% 42%;
  --muted-foreground: 24 12% 38%;
  --border: 26 20% 86%;

  --primary: 18 55% 26%;
  --primary-glow: 24 58% 40%;
  --primary-foreground: 32 45% 97%;

  --accent: 350 72% 50%;
  --accent-glow: 350 78% 62%;
  --accent-foreground: 32 45% 97%;

  /* ---- gradients (the Maillard / crust-line arc) ---- */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  --gradient-subtle: linear-gradient(180deg, hsl(var(--background)), hsl(var(--background-alt)));
  --gradient-crust: linear-gradient(100deg, hsl(38 55% 82%) 0%, hsl(var(--primary-glow)) 48%, hsl(var(--primary)) 100%);
  --gradient-accent-wash: radial-gradient(circle at 20% 15%, hsl(var(--accent) / 0.22), transparent 55%);

  /* ---- brand-tinted shadows ---- */
  --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.35);
  --shadow-glow: 0 0 40px hsl(var(--accent) / 0.22);
  --shadow-soft: 0 2px 14px hsl(var(--foreground) / 0.08);
  --shadow-card: 0 1px 2px hsl(var(--foreground) / 0.06), 0 10px 28px -14px hsl(var(--primary) / 0.28);
  --shadow-fold: 4px 6px 0 hsl(var(--primary) / 0.14), 0 18px 40px -16px hsl(var(--foreground) / 0.35);

  /* ---- radius scale (one scale, site-wide) ---- */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* ---- spacing rhythm ---- */
  --space-3xs: 0.375rem;
  --space-2xs: 0.75rem;
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: 2.5rem;
  --space-lg: 4rem;
  --space-xl: 6.5rem;
  --space-2xl: 9rem;

  /* ---- type ---- */
  --font-display: "Lora", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 65ch;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-med: 340ms;
}

/* the wow moment: box lid unfolds open on mount */
@keyframes lid-open {
  from { transform: rotate(-9deg) translate(-10px, 10px); box-shadow: 1px 2px 0 hsl(var(--primary) / 0.1), 0 6px 14px -6px hsl(var(--foreground) / 0.25); }
  to { transform: rotate(0deg) translate(0, 0); box-shadow: var(--shadow-fold); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rail-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

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

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100dvh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  margin: 0;
  color: hsl(var(--foreground));
}

p { margin: 0; }

.measure { max-width: var(--measure); }

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

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--accent));
}

section { position: relative; }

/* ---------------------------------------------------------------------------
   Buttons — one identity per CTA intent, defined once, bespoke per intent
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

/* order-intent — primary action site-wide */
.btn--order {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-elegant);
}
.btn--order:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--order:active { transform: translateY(0); }

/* quiet secondary — internal navigation intent */
.btn--quiet {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}
.btn--quiet:hover { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.06); }

/* on dark grounds (statement break, footer band) */
.btn--onprimary {
  background: hsl(var(--surface));
  color: hsl(var(--primary));
  box-shadow: var(--shadow-soft);
}
.btn--onprimary:hover { background: hsl(var(--surface) / 0.9); transform: translateY(-2px); }

/* ---------------------------------------------------------------------------
   Demo attribution banner (compliance)
   ------------------------------------------------------------------------ */
.demo-banner {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: center;
  font-size: 0.78rem;
  padding: 0.55rem 1rem;
}

/* ---------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: hsl(var(--background) / 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2xs);
  gap: var(--space-sm);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: hsl(var(--foreground));
  min-width: 0;
  flex-shrink: 1;
}
.nav__brand img { width: 34px; height: 34px; flex-shrink: 0; }
.nav__brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: hsl(var(--muted));
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .nav__brand { font-size: 0.94rem; }
  .nav__brand small { display: none; }
  .nav__row { gap: var(--space-2xs); }
  .nav__cta.btn { padding: 0.7rem 1.05rem; font-size: 0.85rem; }
}
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav__links a { color: hsl(var(--muted-foreground)); transition: color var(--dur-fast) var(--ease-out); position: relative; }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 2px; background: hsl(var(--accent));
  transition: right var(--dur-med) var(--ease-out);
}
.nav__links a:hover { color: hsl(var(--primary)); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }
.nav__links a[aria-current="page"] { color: hsl(var(--primary)); }
@media (min-width: 860px) { .nav__links { display: flex; } }
.nav__cta { flex-shrink: 0; }

/* mobile menu toggle */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  cursor: pointer;
}
@media (min-width: 860px) { .nav__toggle { display: none; } }
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-xs) var(--space-sm) var(--space-sm);
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { padding: 0.5rem 0; font-weight: 500; color: hsl(var(--foreground)); }
.nav__mobile-cta.btn { justify-content: center; margin-top: 0.4rem; }
@media (min-width: 860px) { .nav__mobile { display: none !important; } }

/* ---------------------------------------------------------------------------
   Hero — full-bleed photo + folded box-lid copy card (the wow moment)
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 88dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__figure { position: absolute; inset: 0; }
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, hsl(var(--foreground) / 0.62) 0%, hsl(var(--foreground) / 0.08) 45%, hsl(var(--foreground) / 0.28) 100%);
}
.hero__card {
  position: relative;
  z-index: 2;
  margin: var(--space-sm);
  margin-bottom: var(--space-lg);
  max-width: 620px;
  background: hsl(var(--surface));
  border-radius: 4px var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transform-origin: top left;
  animation: lid-open 560ms var(--ease-out) 120ms both;
}
.hero__card::before {
  /* the folded lid-flap corner */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 34px 34px 0 0;
  border-color: hsl(var(--primary-glow) / 0.55) transparent transparent transparent;
  border-radius: 4px 0 0 0;
}
@media (min-width: 700px) {
  .hero__card { margin: var(--space-lg); margin-bottom: var(--space-xl); padding: var(--space-lg) var(--space-lg) var(--space-xl); }
}
.hero__headline {
  font-size: clamp(2.3rem, 5.6vw, 3.7rem);
  max-width: 13ch;
}
.hero__sub {
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  max-width: 42ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; margin-top: var(--space-2xs); }

/* ---------------------------------------------------------------------------
   Promise strip — hairline icon-row, no cards
   ------------------------------------------------------------------------ */
.promise {
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
}
.promise__row {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .promise__row { grid-template-columns: repeat(3, 1fr); } }
.promise__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-sm);
  border-top: 1px solid hsl(var(--border));
}
@media (min-width: 760px) {
  .promise__item { border-top: none; border-left: 1px solid hsl(var(--border)); }
  .promise__item:first-child { border-left: none; }
}
.promise__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.promise__item h3 { font-size: 1.02rem; font-weight: 700; font-family: var(--font-body); margin-bottom: 0.3rem; }
.promise__item p { color: hsl(var(--muted-foreground)); font-size: 0.94rem; }

/* ---------------------------------------------------------------------------
   Menu bento — asymmetric grid, real imagery per tile
   ------------------------------------------------------------------------ */
.bento-menu { padding-block: var(--space-xl); }
.bento-menu__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-md); flex-wrap: wrap; }
.bento-menu__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 16ch; }
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
}
@media (min-width: 760px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(180px, 1fr)); gap: var(--space-sm); }
  .bento-grid__tile--lg { grid-column: span 2; grid-row: span 2; }
  .bento-grid__tile--sm { grid-column: span 2; grid-row: span 1; }
}
.bento-grid__tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 220px;
  display: block;
  animation: rise-in 460ms var(--ease-out) both;
}
.bento-grid__tile:nth-child(1) { animation-delay: 40ms; }
.bento-grid__tile:nth-child(2) { animation-delay: 100ms; }
.bento-grid__tile:nth-child(3) { animation-delay: 160ms; }
.bento-grid__tile:nth-child(4) { animation-delay: 220ms; }
.bento-grid__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.bento-grid__tile:hover img { transform: scale(1.05); }
.bento-grid__tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, hsl(var(--foreground) / 0.72) 0%, transparent 42%);
}
.bento-grid__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: var(--space-sm);
  color: hsl(var(--surface));
}
.bento-grid__label strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.bento-grid__label span { display: block; font-size: 0.86rem; color: hsl(var(--surface) / 0.82); margin-top: 0.15rem; }

/* ---------------------------------------------------------------------------
   Vertical process rail — verb labels, not step numbers
   ------------------------------------------------------------------------ */
.rail { padding-block: var(--space-xl); background: hsl(var(--background-alt)); }
.rail__inner { max-width: 1000px; margin-inline: auto; }
.rail__head { text-align: center; margin-bottom: var(--space-lg); }
.rail__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.rail__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}
@media (min-width: 820px) { .rail__list { grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); } }
.rail__list::before {
  content: "";
  position: absolute;
  left: 19px; top: 10px; bottom: 10px; width: 2px;
  background: hsl(var(--border));
  transform-origin: top;
  animation: rail-grow 0.9s var(--ease-out) both;
}
@media (min-width: 820px) {
  .rail__list::before { left: 0; right: 0; top: 19px; bottom: auto; height: 2px; width: auto; }
}
.rail__step { position: relative; padding-left: 3.2rem; padding-bottom: var(--space-lg); }
@media (min-width: 820px) { .rail__step { padding-left: 0; padding-top: 3.4rem; padding-bottom: 0; text-align: center; } }
.rail__step:last-child { padding-bottom: 0; }
.rail__marker {
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: hsl(var(--surface));
  border: 2px solid hsl(var(--primary));
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 820px) { .rail__marker { left: 50%; transform: translateX(-50%); } }
.rail__step h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.rail__step p { color: hsl(var(--muted-foreground)); max-width: 46ch; font-size: 0.94rem; }
@media (min-width: 820px) { .rail__step p { margin-inline: auto; } }

/* ---------------------------------------------------------------------------
   Full-bleed color-field statement break
   ------------------------------------------------------------------------ */
.statement {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  padding: var(--space-2xl) var(--space-sm);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.statement::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-accent-wash);
  pointer-events: none;
}
.statement__text {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.32;
}
.statement__cite {
  position: relative;
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: hsl(var(--primary-foreground) / 0.75);
}

/* ---------------------------------------------------------------------------
   Craft narrative split — image-left / text-right (the one split use)
   ------------------------------------------------------------------------ */
.narrative { padding-block: var(--space-xl); }
.narrative__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}
@media (min-width: 860px) { .narrative__row { grid-template-columns: 1fr 1fr; gap: var(--space-lg); } }
.narrative__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.2;
}
.narrative__figure img { width: 100%; height: 100%; object-fit: cover; }
.narrative__copy .eyebrow { display: block; margin-bottom: var(--space-2xs); }
.narrative__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: var(--space-xs); max-width: 14ch; }
.narrative__copy p { color: hsl(var(--muted-foreground)); max-width: 48ch; }
.narrative__copy p + p { margin-top: var(--space-xs); }
@media (min-width: 860px) {
  .narrative__row--flip .narrative__figure { order: 2; }
  .narrative__row--flip .narrative__copy { order: 1; }
}

/* ---------------------------------------------------------------------------
   Profile panel (about page) — full-bleed image, overlay card
   ------------------------------------------------------------------------ */
.profile {
  position: relative;
  min-height: 62dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.profile__figure { position: absolute; inset: 0; }
.profile__figure img { width: 100%; height: 100%; object-fit: cover; }
.profile__figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, hsl(var(--foreground) / 0.6), transparent 55%);
}
.profile__card {
  position: relative;
  z-index: 2;
  margin: var(--space-sm);
  margin-bottom: var(--space-lg);
  background: hsl(var(--surface));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elegant);
  padding: var(--space-md);
  max-width: 560px;
}
@media (min-width: 860px) { .profile__card { margin: var(--space-lg); } }
.profile__card h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: var(--space-xs); }
.profile__card p { color: hsl(var(--muted-foreground)); }

/* ---------------------------------------------------------------------------
   Closing CTA band
   ------------------------------------------------------------------------ */
.closing-band {
  background: hsl(var(--background-alt));
  padding: var(--space-xl) var(--space-sm);
  text-align: center;
}
.closing-band__panel {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.closing-band__panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.closing-band__panel p { color: hsl(var(--muted-foreground)); max-width: 48ch; }

/* ---------------------------------------------------------------------------
   Promise/credentials strip (shop/about reuse)
   ------------------------------------------------------------------------ */
.creds {
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}
.creds__row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .creds__row { grid-template-columns: repeat(3, 1fr); } }
.creds__item {
  padding: var(--space-md) var(--space-sm);
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}
@media (min-width: 760px) {
  .creds__item { border-top: none; border-left: 1px solid hsl(var(--border)); }
  .creds__item:first-child { border-left: none; }
}
.creds__item strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.3rem; }
.creds__item span { color: hsl(var(--muted-foreground)); font-size: 0.92rem; }

/* ---------------------------------------------------------------------------
   Page intro (shop/about/contact headers)
   ------------------------------------------------------------------------ */
.page-intro {
  padding: var(--space-xl) var(--space-sm) var(--space-md);
  text-align: center;
}
.page-intro h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); max-width: 20ch; margin-inline: auto; }
.page-intro p { color: hsl(var(--muted-foreground)); max-width: 52ch; margin: var(--space-xs) auto 0; }

/* ---------------------------------------------------------------------------
   Shop grid — real product imagery, no placeholders
   ------------------------------------------------------------------------ */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding-block: var(--space-md) var(--space-xl);
}
@media (min-width: 640px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
.shop-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: hsl(var(--surface));
  box-shadow: var(--shadow-card);
  animation: rise-in 460ms var(--ease-out) both;
}
.shop-card:nth-child(1) { animation-delay: 30ms; }
.shop-card:nth-child(2) { animation-delay: 80ms; }
.shop-card:nth-child(3) { animation-delay: 130ms; }
.shop-card:nth-child(4) { animation-delay: 180ms; }
.shop-card:nth-child(5) { animation-delay: 230ms; }
.shop-card:nth-child(6) { animation-delay: 280ms; }
.shop-card__figure { aspect-ratio: 4 / 3.1; overflow: hidden; }
.shop-card__figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.shop-card:hover .shop-card__figure img { transform: scale(1.05); }
.shop-card__body { padding: var(--space-sm); display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.shop-card__body h3 { font-size: 1.15rem; }
.shop-card__body p { color: hsl(var(--muted-foreground)); font-size: 0.92rem; flex: 1; }
.shop-card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; }
.shop-card__price { font-family: var(--font-display); font-weight: 600; color: hsl(var(--primary)); font-size: 1.05rem; }

/* ---------------------------------------------------------------------------
   Contact page — form + info rail
   ------------------------------------------------------------------------ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-md) 0 var(--space-xl);
}
@media (min-width: 900px) { .contact-split { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-rail { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-rail__item { display: flex; gap: var(--space-xs); align-items: flex-start; }
.contact-rail__item strong { display: block; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.2rem; }
.contact-rail__item span, .contact-rail__item a { color: hsl(var(--muted-foreground)); }
.contact-rail__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.contact-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 2.6;
  margin-top: var(--space-sm);
}
.contact-figure img { width: 100%; height: 100%; object-fit: cover; }

.form {
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--space-xs); }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: hsl(var(--foreground)); }
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 0.85rem; color: hsl(var(--muted-foreground)); }
.form__status { font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form__status[data-state="ok"] { color: hsl(var(--primary)); }
.form__status[data-state="err"] { color: hsl(var(--accent)); }

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */
.footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: var(--space-lg) var(--space-sm) var(--space-md);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
}
.footer__brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.08rem; }
.footer__brand img { width: 28px; height: 28px; }
.footer address { font-style: normal; color: hsl(var(--background) / 0.65); font-size: 0.92rem; line-height: 1.7; }
.footer nav { display: flex; gap: var(--space-sm); flex-wrap: wrap; font-size: 0.92rem; }
.footer nav a { color: hsl(var(--background) / 0.75); }
.footer nav a:hover { color: hsl(var(--background)); }
.footer__legal {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid hsl(var(--background) / 0.15);
  font-size: 0.82rem;
  color: hsl(var(--background) / 0.55);
}
.footer__legal a { color: hsl(var(--background) / 0.8); text-decoration: underline; text-underline-offset: 2px; }
