/* SALT& — styles. Colours are pulled from the SALT& logo (tomato-red bun, ink line drawing) on a soft cream base. */
:root {
  --cream: #fff8ee;
  --cream-2: #fbeedd;
  --paper: #fffdf8;
  --ink: #3a2a22;
  --ink-soft: #6e5a4e;
  --red: #e2533f;
  --red-deep: #c63f2c;
  --pink: #f9dcd4;
  --butter: #f7e4b6;
  --sage: #e2ebd8;
  --crust: #c9803f;
  --radius-lg: 32px;
  --radius: 22px;
  --shadow: 0 10px 30px -12px rgba(110, 64, 32, .28);
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-hand: "Gaegu", "Fredoka", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 238, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1.5px dashed rgba(201, 128, 63, .3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--pink); }
.brand-word { font-family: var(--font-hand); font-size: 1.9rem; line-height: 1; letter-spacing: .02em; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: background-color .2s ease, transform .15s ease;
}
.nav-list a:hover { background: var(--pink); }
.nav-list a:active { transform: scale(.94); }

/* Shared */
.eyebrow {
  display: inline-block; margin-bottom: .9em;
  font-family: var(--font-hand); font-size: 1.35rem; color: var(--red-deep);
  background: var(--paper); border: 1.5px solid var(--pink);
  padding: 2px 14px; border-radius: 999px;
}
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-sub { color: var(--ink-soft); }
.note { color: var(--ink-soft); font-size: .95rem; }

/* Buttons — soft squish on press */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px;
  border-radius: 999px; border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  text-decoration: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .18s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 5px 0 var(--ink); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn-soft { background: var(--paper); color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.btn-soft:hover { background: var(--butter); transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px) scale(1.04, .92); box-shadow: 0 1px 0 var(--ink); transition-duration: .08s; }
.btn .ig { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; padding: clamp(36px, 7vw, 88px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1;
}
.hero::before { width: 520px; height: 520px; right: -140px; top: -120px; background: var(--pink); opacity: .55; }
.hero::after { width: 300px; height: 300px; left: -120px; bottom: -80px; background: var(--butter); opacity: .55; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { display: flex; align-items: flex-end; gap: .12em; margin: 0 0 .1em; }
.hero-name { font-size: clamp(4rem, 15vw, 7.6rem); letter-spacing: -.02em; line-height: .9; }
.hero-name .amp { color: var(--red); }
.bread-buddy { width: clamp(70px, 16vw, 112px); height: auto; margin-bottom: .2em; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}
.tagline { font-family: var(--font-hand); font-size: clamp(1.7rem, 4vw, 2.1rem); color: var(--red-deep); margin-bottom: .4em; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 1.6em; }

.hero-photo { position: relative; margin: 0; justify-self: center; width: min(100%, 520px); }
.photo-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 3px solid var(--ink); background: var(--cream-2);
  box-shadow: 10px 10px 0 var(--pink), var(--shadow);
}
.hero-photo .photo-frame { border-radius: 46% 54% 40% 60% / 42% 40% 60% 58%; aspect-ratio: 1; }
.hero-photo .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute; left: -6px; bottom: 6%;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 18px; font-family: var(--font-hand); font-size: 1.35rem;
  transform: rotate(-6deg); box-shadow: 3px 3px 0 var(--ink);
}

/* Hero: just the logo on white */
.hero-logo { background: var(--cream); min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 96px 16px 64px; }
.big-logo { width: min(80vw, 380px); height: auto; mix-blend-mode: multiply; animation: logo-in .9s ease both; }
@keyframes logo-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Milk bread menu button */
.bread-btn {
  position: fixed; top: 12px; right: 12px; z-index: 60;
  width: 76px; height: 60px; padding: 4px; border: 0; background: transparent; cursor: pointer;
  -webkit-tap-highlight-color: transparent; border-radius: 20px;
}
.bread-btn svg { display: block; width: 100%; height: 100%; transform-origin: 50% 100%; animation: wiggle 5s ease-in-out infinite; }
.bread-btn:hover svg { animation: wiggle 1s ease-in-out infinite; }
.bread-btn .bun { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 3.6s ease-in-out infinite; }
.bread-btn .eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 5.2s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1, 1); }
  50% { transform: scale(1.035, .965); }
}
@keyframes blink {
  0%, 40%, 44%, 86%, 89%, 92%, 100% { transform: scaleY(1); }
  42%, 87.5%, 90.5% { transform: scaleY(.1); }
}
.bread-btn.squish svg { animation: squish .55s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes squish {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.28, .68); }
  55% { transform: scale(.9, 1.14); }
  78% { transform: scale(1.06, .95); }
  100% { transform: scale(1, 1); }
}
@keyframes wiggle {
  0%, 84%, 100% { transform: rotate(0); }
  88% { transform: rotate(-6deg); }
  92% { transform: rotate(5deg); }
  96% { transform: rotate(-2deg); }
}
.menu-panel {
  position: fixed; top: 82px; right: 14px; z-index: 59; min-width: 210px; padding: 10px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--pink);
  transform-origin: top right; animation: pop .28s cubic-bezier(.3, 1.5, .5, 1);
}
.menu-panel[hidden] { display: none; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel a {
  display: block; padding: 10px 16px; border-radius: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--pink); }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* Simple hero: logo + name (unused) */
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(24px, 6vw, 56px); }
.logo-stage { position: relative; width: clamp(150px, 40vw, 190px); aspect-ratio: 1; margin-bottom: 26px; }
.logo-stage img { width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); animation: bob 3.4s ease-in-out infinite; transform-origin: 50% 90%; }
.flake { position: absolute; width: 11px; height: 11px; background: #fff; border: 1.5px solid #c4a98e; border-radius: 2px; animation: twinkle 2.8s ease-in-out infinite; }
.f1 { top: 4%; left: -10%; }
.f2 { top: 16%; right: -14%; animation-delay: .9s; width: 8px; height: 8px; }
.f3 { bottom: 14%; left: -16%; animation-delay: 1.6s; width: 7px; height: 7px; }
.f4 { bottom: 2%; right: -8%; animation-delay: 2.2s; }
@keyframes twinkle {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(.7); opacity: .35; }
  50% { transform: translateY(-9px) rotate(45deg) scale(1); opacity: 1; }
}
.hero-center .hero-name { display: block; margin: 0 0 28px; }
.hero-center .btn-row { justify-content: center; }
@media (max-width: 560px) { .hero-center .btn-row { width: 100%; } }

/* Photo tilt on hover (pointer devices only) */
.tilt { transition: transform .45s cubic-bezier(.25, 1.4, .5, 1); }
@media (hover: hover) {
  .tilt:hover { transform: rotate(-2deg) scale(1.02); }
  .tilt-r:hover { transform: rotate(2deg) scale(1.02); }
}

/* Bread cards */
.bread { background: var(--cream); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--cream); border-radius: var(--radius-lg); padding: 14px 14px 22px; border: 2px solid var(--cream-2); }
.card:nth-child(4n+1) { background: #fff1ec; }
.card:nth-child(4n+2) { background: #fdf3df; }
.card:nth-child(4n+3) { background: #f3f6ec; }
.card:nth-child(4n+4) { background: #f8eef4; }
.card-photo { border-radius: var(--radius); overflow: hidden; border: 2.5px solid var(--ink); aspect-ratio: 4 / 5; background: var(--cream-2); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 6px 0; }
.card-body h3 { margin-bottom: .25em; }
.card-body p { margin: 0; color: var(--ink-soft); }
.card-body .badge {
  display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: .78rem; font-weight: 700; letter-spacing: .03em;
}

.flavours { margin-top: 56px; text-align: center; }
.flavours h3 { font-family: var(--font-hand); font-size: 1.8rem; font-weight: 700; color: var(--red-deep); }
.chips { list-style: none; padding: 0; margin: 18px auto 20px; max-width: 860px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li {
  padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: var(--cream); border: 1.5px solid var(--cream-2);
}
.chips li:nth-child(3n+1) { background: #fff1ec; border-color: var(--pink); }
.chips li:nth-child(3n+2) { background: #fdf3df; border-color: var(--butter); }
.chips li:nth-child(3n) { background: #f3f6ec; border-color: var(--sage); }

/* About */
.about-grid { display: grid; gap: 44px; align-items: center; }
.about-photo { margin: 0; justify-self: center; width: min(100%, 420px); }
.about-photo .photo-frame { aspect-ratio: 720 / 950; box-shadow: -10px 10px 0 var(--butter), var(--shadow); }
.about-photo .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { max-width: 54ch; }

/* Visit */
.visit { background: var(--cream); }
.visit-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.visit-card {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: 6px 6px 0 var(--pink);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.visit-card:nth-child(2) { box-shadow: 6px 6px 0 var(--butter); }
.visit-card:nth-child(3) { box-shadow: 6px 6px 0 var(--sage); }
.visit-card address { font-style: normal; font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.visit-card .btn { margin-top: auto; }
.hours { border-collapse: collapse; width: 100%; margin-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 5px 0; border-bottom: 1px dashed rgba(58, 42, 34, .15); font-size: 1rem; }
.hours th { font-weight: 600; }
.hours td { text-align: right; }

/* Footer */
.site-footer { background: var(--cream); color: var(--ink); padding: 48px 0 40px; text-align: center; border-top: 1.5px dashed rgba(201, 128, 63, .3); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-inner img { width: 64px; height: 64px; mix-blend-mode: multiply; }
.site-footer p { margin: 0; }
.site-footer .small { font-size: .88rem; opacity: .8; }
.site-footer a { color: var(--red-deep); }

/* Gentle reveal (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.cards .card.reveal:nth-child(2) { transition-delay: .08s; }
.cards .card.reveal:nth-child(3) { transition-delay: .16s; }
.cards .card.reveal:nth-child(4) { transition-delay: .24s; }

/* Layout */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; }
}
@media (max-width: 560px) {
  .header-inner { min-height: 60px; }
  .brand img { width: 38px; height: 38px; }
  .brand-word { display: none; }
  .eyebrow { font-size: 1.05rem; padding: 2px 12px; }
  .nav-list a { padding: 8px 10px; font-size: .9rem; }
  .btn-row .btn { flex: 1 1 140px; }
  .hero-photo { width: calc(100% - 10px); justify-self: start; }
}

/* Reduced motion: drop ambient/looping motion, keep tap feedback */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .big-logo, .bread-buddy, .logo-stage img, .flake { animation: none; }
  .bread-btn svg, .bread-btn:hover svg { animation: none; } /* blink + gentle breathe stay: tiny, low-motion */
  .bread-btn.squish svg { animation: squish .55s cubic-bezier(.3, 1.4, .5, 1); }
  .tilt, .btn, .nav-list a { transition: none; }
  .tilt:hover, .tilt-r:hover, .btn:hover { transform: none; }
}
