:root {
  --cream: #f3e9d6;
  --cream-soft: #faf3e6;
  --cream-strong: #ead6b6;
  --latte: #d8bd95;
  --terracotta: #b06a44;
  --terracotta-dark: #8c4f32;
  --rust: #a4502f;
  --espresso: #41271c;
  --ink: rgba(65, 39, 28, 0.82);
  --ink-soft: rgba(65, 39, 28, 0.6);
  --line: rgba(65, 39, 28, 0.12);
  --white: #fffaf2;
  --shadow: 0 26px 60px rgba(65, 39, 28, 0.14);
  --shadow-soft: 0 14px 32px rgba(65, 39, 28, 0.1);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --content-width: min(1160px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--espresso);
  background:
    radial-gradient(circle at 12% 8%, rgba(234, 214, 182, 0.85), transparent 40%),
    radial-gradient(circle at 88% 92%, rgba(176, 106, 68, 0.14), transparent 34%),
    linear-gradient(180deg, #faf4e8 0%, var(--cream) 48%, #f1e5d2 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.55) 0 2px, transparent 2px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, rgba(65, 39, 28, 0.08) 0 1px, transparent 1px);
  background-size: 200px 200px, 160px 160px, 240px 240px;
}

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

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

.site-shell {
  position: relative;
  width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 48px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 0 12px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.78);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 38%;
  background: var(--cream-soft);
}

.brand-wordmark {
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.78);
}

.site-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: var(--terracotta);
  transform: translateY(-1px);
}

.nav-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.92rem;
}

/* ---------- Reveal motion ---------- */
body.has-motion .hero,
body.has-motion .section,
body.has-motion .story-strip,
body.has-motion .site-footer {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.has-motion .is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0 48px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--terracotta-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--terracotta);
  font-style: italic;
}

.hero-text,
.section-heading p,
.menu-card li,
.delivery-card p,
.site-footer p {
  line-height: 1.62;
  color: var(--ink);
}

.hero-text {
  max-width: 50ch;
  margin: 26px 0 0;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease,
    background-color 220ms ease, color 220ms ease;
}

.button:hover,
.button:focus-visible,
.delivery-card:hover,
.delivery-card:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.button-solid {
  color: var(--white);
  background: var(--espresso);
  border-color: transparent;
}

.button-solid:hover,
.button-solid:focus-visible {
  background: var(--terracotta);
}

.button-ghost {
  background: rgba(255, 250, 242, 0.64);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--white);
  background: var(--terracotta-dark);
  border-color: transparent;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.74);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hero visual + mascot */
.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-mascot-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hero-blob {
  position: absolute;
  width: min(96%, 460px);
  aspect-ratio: 1;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 250, 242, 0.95), transparent 60%),
    linear-gradient(150deg, var(--cream-strong), rgba(176, 106, 68, 0.28));
  box-shadow: var(--shadow);
  animation: blob-spin 22s linear infinite;
}

@keyframes blob-spin {
  0% { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
  50% { border-radius: 56% 44% 42% 58% / 44% 56% 44% 56%; }
  100% { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
}

.hero-mascot {
  position: relative;
  width: min(86%, 400px);
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 24px rgba(65, 39, 28, 0.16));
  animation: mascot-float 6.5s ease-in-out infinite;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 4px solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: var(--white);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-drink {
  top: 4%;
  right: -2%;
  width: 150px;
  height: 150px;
  transform: rotate(4deg);
}

.hero-card-sweet {
  bottom: 2%;
  left: -2%;
  width: 168px;
  height: 132px;
  transform: rotate(-5deg);
}

/* ---------- Story strip ---------- */
.story-strip {
  margin: 8px 0 22px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    100deg,
    rgba(255, 250, 242, 0.9),
    rgba(234, 214, 182, 0.66)
  );
}

.story-strip p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--espresso);
}

/* ---------- Sections ---------- */
.section {
  padding: 78px 0 0;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1.02rem;
}

/* ---------- Menu ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(243, 233, 214, 0.86)),
    radial-gradient(circle at top right, rgba(176, 106, 68, 0.14), transparent 38%);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.menu-card-accent {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(155deg, var(--terracotta-dark), var(--terracotta));
}

.menu-card-accent .menu-index {
  color: rgba(255, 250, 242, 0.85);
}

.menu-card-accent li {
  color: rgba(255, 250, 242, 0.9);
  border-color: rgba(255, 250, 242, 0.22);
}

.menu-index {
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  color: var(--terracotta);
}

.menu-card h3 {
  margin: 14px 0 16px;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
}

.menu-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.menu-card li {
  padding: 9px 0;
  font-size: 0.96rem;
  border-top: 1px dashed rgba(65, 39, 28, 0.16);
}

.menu-card li:first-child {
  border-top: none;
  padding-top: 0;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  margin-top: 36px;
}

.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: rgba(255, 250, 242, 0.85);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-wide {
  min-height: 440px;
  grid-row: span 2;
}

.gallery-tall {
  min-height: 440px;
}

.gallery-small {
  min-height: 260px;
}

/* ---------- Delivery ---------- */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.delivery-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(234, 214, 182, 0.82)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 40%);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.delivery-label,
.delivery-arrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.delivery-label {
  font-size: 0.72rem;
  opacity: 0.72;
}

.delivery-card strong {
  margin-top: auto;
  padding-top: 26px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 3vw, 3.2rem);
}

.delivery-card p {
  margin: 14px 0 0;
}

.delivery-arrow {
  margin-top: 18px;
  font-size: 0.78rem;
}

/* --- Brand-colored delivery cards --- */
.delivery-wolt {
  color: #012b36;
  border-color: transparent;
  background: linear-gradient(155deg, #00c2e8, #00a7d4);
}

.delivery-wolt p {
  color: rgba(1, 43, 54, 0.86);
}

.delivery-efood {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(155deg, #f5364a, #e4002b);
}

.delivery-efood p {
  color: rgba(255, 250, 242, 0.92);
}

.delivery-box {
  color: #2a1708;
  border-color: transparent;
  background: linear-gradient(155deg, #f0944a, #df7327);
}

.delivery-box p {
  color: rgba(42, 23, 8, 0.82);
}

.delivery-box .delivery-label,
.delivery-box .delivery-arrow {
  color: #2a1708;
  opacity: 0.85;
}

/* ---------- Social ---------- */
.social-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.95), rgba(216, 189, 149, 0.55)),
    radial-gradient(circle at bottom right, rgba(164, 80, 47, 0.16), transparent 36%);
}

.social-mascot {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 220px;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
}

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

.social-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  font-weight: 600;
  transition: transform 220ms ease, box-shadow 220ms ease,
    background-color 220ms ease, color 220ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--white);
  background: var(--espresso);
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 60px;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 242, 0.6);
}

.footer-mascot {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 38%;
  flex-shrink: 0;
  background: var(--cream-soft);
  border: 1px solid var(--line);
}

.footer-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}

.site-footer p {
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-visual {
    min-height: 480px;
  }

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

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

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

@media (max-width: 760px) {
  .site-shell {
    width: min(100vw - 24px, 100%);
  }

  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a {
    padding: 9px 10px;
  }

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

  .hero-visual {
    min-height: 360px;
    order: -1;
  }

  .hero-card-drink {
    width: 116px;
    height: 116px;
  }

  .hero-card-sweet {
    width: 128px;
    height: 104px;
  }

  .menu-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-wide,
  .gallery-tall,
  .gallery-small {
    min-height: 240px;
    grid-row: auto;
  }

  .social-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .social-links {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
