:root {
  --apf-red: #e0402f;
  --apf-red-dark: #b62e20;
  --apf-cream: #fff6ec;
  --apf-cream-2: #fdeddb;
  --apf-cream-line: #f4d9bf;
  --apf-green: #4c9a5a;
  --apf-green-soft: #d9edd6;
  --apf-ink: #38241d;
  --apf-ink-soft: #6c5348;
  --apf-white: #fffdfb;
  --apf-shadow: 0 12px 30px rgba(176, 60, 40, 0.14);
  --apf-radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--apf-ink);
  background: var(--apf-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Baloo 2", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--apf-ink);
}

p { margin: 0 0 1rem; }

a { color: var(--apf-red-dark); }

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

.apf-shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.apf-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--apf-ink);
  color: var(--apf-white);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.apf-skip:focus { top: 12px; }

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

/* Header */
.apf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 246, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--apf-cream-line);
}
.apf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 14px;
}
.apf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--apf-ink);
  text-decoration: none;
}
.apf-brand-mark { color: var(--apf-red); display: inline-flex; }
.apf-brand-text { letter-spacing: 0.2px; }

.apf-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  border: 2px solid var(--apf-cream-line);
  background: var(--apf-white);
  border-radius: 12px;
  cursor: pointer;
}
.apf-nav-bars,
.apf-nav-bars::before,
.apf-nav-bars::after {
  display: block;
  width: 20px;
  height: 2.4px;
  background: var(--apf-ink);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.apf-nav-bars::before,
.apf-nav-bars::after { content: ""; position: relative; }
.apf-nav-bars::before { top: -6px; }
.apf-nav-bars::after { top: 3.6px; }
.apf-nav-toggle[aria-expanded="true"] .apf-nav-bars { background: transparent; }
.apf-nav-toggle[aria-expanded="true"] .apf-nav-bars::before { transform: translateY(6px) rotate(45deg); }
.apf-nav-toggle[aria-expanded="true"] .apf-nav-bars::after { transform: translateY(-3.6px) rotate(-45deg); }

.apf-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--apf-cream);
  border-bottom: 2px solid var(--apf-cream-line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.apf-nav.apf-open { max-height: 320px; }
.apf-nav-list {
  list-style: none;
  margin: 0;
  padding: 10px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.apf-nav-list a {
  display: block;
  padding: 12px 10px;
  font-weight: 600;
  color: var(--apf-ink);
  text-decoration: none;
  border-radius: 10px;
}
.apf-nav-list a:hover { background: var(--apf-cream-2); color: var(--apf-red-dark); }

/* Buttons */
.apf-btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.apf-btn:active { transform: translateY(1px); }
.apf-btn-solid {
  background: var(--apf-red);
  color: var(--apf-white);
  box-shadow: var(--apf-shadow);
}
.apf-btn-solid:hover { background: var(--apf-red-dark); }
.apf-btn-ghost {
  background: transparent;
  color: var(--apf-red-dark);
  border: 2px solid var(--apf-red);
}
.apf-btn-ghost:hover { background: var(--apf-cream-2); }

/* Hero */
.apf-hero {
  background: linear-gradient(160deg, var(--apf-cream) 0%, var(--apf-cream-2) 100%);
  padding: 48px 0 56px;
}
.apf-hero-inner {
  display: grid;
  gap: 30px;
  align-items: center;
}
.apf-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apf-green);
  background: var(--apf-green-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.apf-hero-copy h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
.apf-lead { font-size: 1.1rem; color: var(--apf-ink-soft); max-width: 34ch; }
.apf-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.apf-hero-art {
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 16px 26px rgba(176, 60, 40, 0.16));
}

/* Kitchen */
.apf-kitchen { padding: 56px 0; }
.apf-kitchen-inner { display: grid; gap: 34px; }
.apf-kitchen-lead h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.apf-kitchen-lead p { color: var(--apf-ink-soft); max-width: 60ch; }
.apf-kitchen-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.apf-kitchen-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--apf-white);
  border: 2px solid var(--apf-cream-line);
  border-radius: var(--apf-radius);
  padding: 16px 18px;
}
.apf-point-ic { font-size: 1.6rem; line-height: 1; }
.apf-kitchen-points strong { display: block; font-family: "Baloo 2", sans-serif; }
.apf-kitchen-points span { color: var(--apf-ink-soft); font-size: 0.95rem; }

/* Section head */
.apf-section-head { text-align: center; max-width: 56ch; margin: 0 auto 34px; }
.apf-section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.apf-section-head p { color: var(--apf-ink-soft); }

/* Menu cards */
.apf-menu {
  padding: 56px 0;
  background:
    radial-gradient(circle at 12% 0%, var(--apf-green-soft) 0, transparent 30%),
    var(--apf-cream-2);
}
.apf-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.apf-card {
  background: var(--apf-white);
  border: 2px solid var(--apf-cream-line);
  border-radius: var(--apf-radius);
  padding: 24px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.apf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--apf-shadow);
  border-color: var(--apf-red);
}
.apf-card-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--apf-cream-2);
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.apf-card h3 { font-size: 1.25rem; }
.apf-card p { color: var(--apf-ink-soft); margin: 0; font-size: 0.97rem; }

/* Order */
.apf-order { padding: 56px 0; }
.apf-order-inner { display: grid; gap: 30px; }
.apf-order-copy h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.apf-order-copy p { color: var(--apf-ink-soft); max-width: 52ch; }
.apf-order-info {
  background: var(--apf-ink);
  color: var(--apf-cream);
  border-radius: 22px;
  padding: 26px 24px;
}
.apf-info-row {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 246, 236, 0.16);
}
.apf-info-row:first-child { padding-top: 0; }
.apf-info-k { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--apf-green-soft); }
.apf-info-v { font-family: "Baloo 2", sans-serif; font-size: 1.1rem; }
.apf-info-btn { margin-top: 20px; width: 100%; text-align: center; }

/* Contact */
.apf-contact {
  padding: 60px 0;
  background: linear-gradient(150deg, var(--apf-red) 0%, var(--apf-red-dark) 100%);
  color: var(--apf-cream);
  text-align: center;
}
.apf-contact h2 { color: var(--apf-white); font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.apf-contact p { color: rgba(255, 246, 236, 0.92); max-width: 48ch; margin-left: auto; margin-right: auto; }
.apf-contact-mail { margin: 22px 0 10px; }
.apf-contact-mail a {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  color: var(--apf-white);
  background: rgba(255, 253, 251, 0.14);
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid rgba(255, 253, 251, 0.4);
}
.apf-contact-mail a:hover { background: rgba(255, 253, 251, 0.24); }
.apf-contact-addr {
  font-style: normal;
  color: rgba(255, 246, 236, 0.9);
  margin-top: 8px;
}

/* Footer */
.apf-footer {
  background: var(--apf-ink);
  color: var(--apf-cream);
  padding: 34px 0;
}
.apf-footer-inner {
  display: grid;
  gap: 18px;
}
.apf-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.apf-brand-mark-sm { color: var(--apf-red); }
.apf-footer-legal p { margin: 0 0 4px; font-size: 0.9rem; color: rgba(255, 246, 236, 0.82); }
.apf-footer-addr { font-weight: 600; color: var(--apf-cream) !important; }
.apf-footer-legal a { color: var(--apf-green-soft); }

/* Reveal animation */
.apf-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.apf-reveal.apf-in { opacity: 1; transform: none; }

/* Responsive */
@media (min-width: 720px) {
  .apf-cards { grid-template-columns: repeat(2, 1fr); }
  .apf-kitchen-points { grid-template-columns: repeat(3, 1fr); }
  .apf-footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .apf-footer-legal { text-align: right; }
}

@media (min-width: 900px) {
  .apf-nav-toggle { display: none; }
  .apf-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
  }
  .apf-nav-list {
    flex-direction: row;
    padding: 0;
    gap: 6px;
  }
  .apf-nav-list a { padding: 8px 14px; }
  .apf-hero-inner { grid-template-columns: 1.15fr 0.85fr; }
  .apf-hero-art { max-width: 360px; }
  .apf-cards { grid-template-columns: repeat(3, 1fr); }
  .apf-order-inner { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .apf-kitchen-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apf-reveal { transition: none; opacity: 1; transform: none; }
  .apf-btn, .apf-card { transition: none; }
}
