/* ==========================================================================
   AILO SmallBiz S02 — 밀담베이커리
   원형: 빈티지 종이·스탬프(크라프트지, 괘선 장부, 원형 도장, 가격 태그, 폴라로이드) / 타이포: Gaegu 포인트 + Noto Serif Display + Pretendard / 컬러: 버터 #f3d27a · 크러스트 브라운 #3b2414 · 도장 잉크 #9c3a1f
   ========================================================================== */
:root {
  --ailo-bg: #f7eedb;
  --ailo-fg: #3b2414;
  --ailo-muted: #7a5b40;
  --ailo-line: rgba(59, 36, 20, .22);
  --ailo-accent: #9c3a1f;
  --ailo-header-h: 84px;
  --s02-butter: #f3d27a;
  --s02-butter-soft: #faefc9;
  --s02-crust: #a8672e;
  --s02-kraft: #d9b98c;
  --s02-ink: #9c3a1f;
  --s02-paper: #fffaf0;
  --s02-hand: "Pretendard Variable", Pretendard, sans-serif;
  --s02-hand-keep: "Gaegu", "Pretendard Variable", cursive;
  --s02-serif: "Noto Serif Display", "Times New Roman", serif;
  --s02-sec: clamp(72px, 10vw, 128px);
  --s02-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body {
  background-color: var(--ailo-bg);
  background-image: var(--s02-noise);
  font-size: 16px;
  font-variant-numeric: lining-nums;
}
::selection { background: var(--s02-butter); color: var(--ailo-fg); }

/* ---------- 공통 조각 ---------- */
.sec { padding-block: var(--s02-sec); position: relative; }
.sec-hd { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-hd--left { text-align: left; }
.sec-hd__no {
  font-family: var(--s02-serif); font-style: italic; font-weight: 500;
  color: var(--s02-ink); font-size: 1.05rem; letter-spacing: .04em; margin-bottom: 6px;
}
.sec-hd h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2;
}
.sec-hd__note {
  font-family: var(--s02-hand); font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ailo-muted); margin-top: 8px;
}
.sec-hd:not(.sec-hd--left) h2::after {
  content: ""; display: block; width: 120px; height: 10px; margin: 14px auto 0;
  background: radial-gradient(circle, var(--s02-crust) 2px, transparent 2.5px) 0 50% / 12px 10px repeat-x;
  opacity: .6;
}

.btn-stamp {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 20px; border: 2px solid var(--s02-ink); border-radius: 6px;
  background: var(--s02-ink); color: var(--s02-paper); font-weight: 700; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ailo-fg); transition: transform .2s var(--ailo-ease), box-shadow .2s var(--ailo-ease);
}
.btn-stamp:hover, .btn-stamp:focus-visible { color: var(--s02-paper); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ailo-fg); }
.btn-stamp:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ailo-fg); }
.btn-stamp--lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-line {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 6px;
  border: 2px dashed var(--ailo-fg); font-weight: 700; transition: background .2s;
}
.btn-line:hover, .btn-line:focus-visible { background: var(--s02-butter-soft); }

/* ---------- Header ---------- */
.hd {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 238, 219, .94);
  backdrop-filter: blur(6px);
  border-bottom: 2px dashed var(--ailo-line);
  transition: box-shadow .3s;
}
.hd.is-scrolled { box-shadow: 0 6px 18px -12px rgba(59, 36, 20, .5); }
.hd__in { display: flex; align-items: center; gap: 24px; min-height: var(--ailo-header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__seal { width: 56px; height: 56px; color: var(--s02-ink); filter: url(#ink); transition: transform .5s var(--ailo-ease); }
.logo:hover .logo__seal { transform: rotate(-20deg); }
.logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo__txt b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; }
.logo__txt small { font-family: var(--s02-hand); font-size: 1rem; color: var(--ailo-muted); }
.gnb { display: flex; gap: 6px; margin-left: auto; }
.gnb a { padding: 8px 12px; font-weight: 600; border-radius: 4px; position: relative; }
.gnb a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 6px;
  background: var(--s02-butter); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ailo-ease);
}
.gnb a:hover::after, .gnb a:focus-visible::after { transform: scaleX(1); }
.hd__cta { display: flex; align-items: center; gap: 10px; }
.btn-tel { display: inline-flex; align-items: center; gap: 6px; font-family: var(--s02-serif); font-weight: 800; padding: 8px 6px; }
.btn-tel i { color: var(--s02-ink); }
.btn-tel:hover { color: var(--s02-ink); }
.hd .ailo-burger { color: var(--ailo-fg); margin-left: 4px; }

.mnav { background: var(--ailo-bg) var(--s02-noise); }
.mnav__in { min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--ailo-header-h) + 24px) 24px 40px; gap: 4px; }
.mnav__hi { font-family: var(--s02-hand); font-size: 1.4rem; color: var(--s02-ink); margin-bottom: 12px; }
.mnav__in > a:not(.btn-stamp) {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font-size: 1.5rem; font-weight: 800;
  border-bottom: 1px dashed var(--ailo-line);
}
.mnav__in > a span { font-family: var(--s02-serif); font-style: italic; font-size: 1rem; color: var(--s02-crust); }
.mnav__in .btn-stamp { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; color: var(--ailo-muted); margin-bottom: 22px; }
.open-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 10px; border-radius: 999px;
  background: #2f6b3a; color: #fff; font-size: 0.875rem; font-weight: 700;
}
.open-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b8f5a4; box-shadow: 0 0 0 3px rgba(184, 245, 164, .35); }
.open-pill.is-closed { background: #6b5847; }
.open-pill.is-closed::before { background: #d8c6b4; box-shadow: none; }
.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 900; line-height: 1.08; letter-spacing: -.045em;
}
.hero h1 em {
  font-style: normal; position: relative; color: var(--s02-ink); white-space: nowrap;
  background: linear-gradient(transparent 62%, var(--s02-butter) 62%, var(--s02-butter) 92%, transparent 92%);
}
.hero__lead { max-width: 30em; margin: 26px 0 32px; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--ailo-muted); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hand { margin-top: 30px; font-family: var(--s02-hand-keep); font-size: 1.35rem; color: var(--s02-crust); transform: rotate(-2deg); }

.hero__photo { position: relative; padding: 18px; }
.photo-card {
  background: var(--s02-paper); padding: 14px 14px 52px; transform: rotate(2.5deg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .05), 0 22px 40px -22px rgba(59, 36, 20, .6);
  position: relative;
}
.photo-card::before, .photo-card::after {
  content: ""; position: absolute; width: 96px; height: 28px; background: rgba(243, 210, 122, .78);
  top: -12px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 50%);
}
.photo-card::after { display: none; }
.photo-card img { aspect-ratio: 9 / 11; height: auto; }
.photo-card figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--s02-hand); font-size: 1.3rem; }

.stamp {
  position: absolute; display: grid; place-items: center; text-align: center; border-radius: 50%;
  color: var(--s02-ink); border: 3px solid currentColor; outline: 1.5px solid currentColor; outline-offset: -10px;
  filter: url(#ink); mix-blend-mode: multiply;
}
.stamp--today {
  width: 150px; height: 150px; left: -28px; bottom: 40px; transform: rotate(-14deg);
  background: rgba(255, 250, 240, .35); align-content: center; gap: 0;
  animation: s02-thump 1s .6s var(--ailo-ease) both;
}
.stamp__top, .stamp__bot { font-family: var(--s02-serif); font-weight: 800; font-size: 0.8125rem; letter-spacing: .18em; }
.stamp__bot { font-family: var(--s02-hand); font-size: 1.05rem; letter-spacing: .1em; }
.stamp--today strong { font-family: var(--s02-serif); font-size: 2.1rem; font-weight: 800; line-height: 1; margin: 2px 0; }
@keyframes s02-thump {
  0% { opacity: 0; transform: rotate(-14deg) scale(1.8); }
  60% { opacity: 1; transform: rotate(-14deg) scale(.92); }
  100% { opacity: 1; transform: rotate(-14deg) scale(1); }
}

.ribbon {
  margin-top: clamp(56px, 8vw, 96px); background: var(--ailo-fg); color: var(--s02-butter);
  padding: 14px 0; transform: rotate(-1.2deg); width: 104%; margin-left: -2%;
  font-family: var(--s02-hand); font-size: 1.4rem; font-weight: 700;
  --ailo-marquee-gap: 28px; --ailo-marquee-speed: 40s;
}
.ribbon i { font-style: normal; color: var(--s02-kraft); }

/* ---------- Oven ledger ---------- */
.ledger {
  max-width: 880px; margin-inline: auto; background: var(--s02-paper);
  border: 1px solid var(--ailo-line); box-shadow: 8px 8px 0 var(--s02-kraft);
  padding: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px) 84px;
  background-image: linear-gradient(90deg, transparent 62px, rgba(156, 58, 31, .35) 62px, rgba(156, 58, 31, .35) 63px, transparent 63px);
}
.ledger__head {
  display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 4px;
  border-bottom: 3px double var(--ailo-fg); font-family: var(--s02-serif); font-weight: 800; letter-spacing: .14em; font-size: 0.8125rem;
}
.ledger__now { font-family: var(--ailo-font); letter-spacing: 0; font-weight: 600; color: var(--ailo-muted); }
.ledger__now b { font-family: var(--s02-serif); color: var(--s02-ink); font-size: 1.15rem; }
.bake li {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--ailo-line);
}
.bake time { font-family: var(--s02-serif); font-weight: 800; font-size: 1.2rem; }
.bake__name { font-weight: 700; font-size: 1.08rem; }
.bake__name small { display: inline-block; margin-left: 6px; font-family: var(--s02-hand); font-size: 1.05rem; font-weight: 400; color: var(--ailo-muted); }
.bake__state {
  min-width: 88px; text-align: center; padding: 4px 10px; font-size: 0.875rem; font-weight: 800;
  border: 2px solid currentColor; border-radius: 4px; color: var(--ailo-muted); opacity: .7;
}
.bake li.is-done .bake__state {
  color: var(--s02-ink); opacity: 1; transform: rotate(-6deg); filter: url(#ink);
  border-radius: 999px; background: rgba(156, 58, 31, .06);
}
.bake li.is-done time, .bake li.is-done .bake__name { color: var(--ailo-muted); }
.bake li.is-soon { background: linear-gradient(90deg, var(--s02-butter-soft), transparent); }
.bake li.is-soon .bake__state { color: #fff; background: #2f6b3a; border-color: #2f6b3a; opacity: 1; animation: s02-blink 1.6s ease-in-out infinite; }
.bake li.is-off .bake__state { border-style: dashed; }
@keyframes s02-blink { 50% { opacity: .55; } }
.ledger__foot { margin-top: 16px; font-family: var(--s02-hand); font-size: 1.15rem; color: var(--ailo-muted); }

/* ---------- About ---------- */
.about { background: linear-gradient(transparent, rgba(217, 185, 140, .25)); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.letter {
  position: relative; background: var(--s02-paper); padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(84px, 9vw, 120px);
  transform: rotate(-1.5deg); box-shadow: 0 24px 40px -28px rgba(59, 36, 20, .7);
  background-image: repeating-linear-gradient(transparent 0 33px, rgba(59, 36, 20, .14) 33px 34px);
  background-position: 0 14px;
  font-family: var(--s02-hand); font-size: clamp(1.2rem, 1.8vw, 1.38rem); line-height: 34px;
}
.letter p + p { margin-top: 17px; }
.letter__to { font-weight: 700; color: var(--s02-ink); }
.letter__sign { text-align: right; }
.letter__sign b { font-size: 1.6em; color: var(--s02-ink); }
.letter__pic {
  position: absolute; width: 120px; height: 120px; left: 26px; bottom: -34px; transform: rotate(-6deg);
  border: 6px solid #fff; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5);
}
.promise li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px dashed var(--ailo-line); }
.promise li:last-child { border-bottom: 1px dashed var(--ailo-line); }
.promise__seal {
  flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  border: 2.5px solid var(--s02-ink); outline: 1px solid var(--s02-ink); outline-offset: -7px;
  color: var(--s02-ink); font-family: var(--s02-serif); font-weight: 800; font-size: 1.6rem; filter: url(#ink);
  transform: rotate(-10deg); background: rgba(243, 210, 122, .35);
}
.promise li:nth-child(2) .promise__seal { transform: rotate(8deg); }
.promise__seal small { font-size: 0.875rem; margin-left: 1px; }
.promise h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.promise p { color: var(--ailo-muted); }

/* ---------- Menu ---------- */
.tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); margin-bottom: clamp(48px, 6vw, 80px); }
.tag-card {
  position: relative; background: var(--s02-kraft); padding: 34px 14px 16px;
  clip-path: polygon(14% 0, 86% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
  transition: transform .3s var(--ailo-ease);
  background-image: var(--s02-noise);
}
.tag-card:nth-child(2) { transform: translateY(18px); }
.tag-card:hover { transform: translateY(-6px) rotate(-1deg); }
.tag-card:nth-child(2):hover { transform: translateY(10px) rotate(1deg); }
.tag-card__hole {
  position: absolute; top: 11px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--ailo-bg); box-shadow: inset 0 0 0 2px rgba(59, 36, 20, .3);
}
.tag-card img { aspect-ratio: 5 / 4; height: auto; filter: sepia(.18) saturate(1.05); }
.tag-card__body { background: var(--s02-paper); padding: 18px 18px 20px; position: relative; }
.best {
  position: absolute; top: -16px; right: 12px; padding: 4px 10px; font-family: var(--s02-serif); font-weight: 800; font-size: 0.8125rem;
  letter-spacing: .1em; color: var(--s02-ink); border: 2px solid currentColor; background: var(--s02-paper); transform: rotate(5deg); filter: url(#ink);
}
.tag-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.tag-card p { color: var(--ailo-muted); font-size: 1rem; min-height: 3.2em; }
.price { display: block; margin-top: 12px; font-family: var(--s02-serif); font-size: 1.7rem; font-weight: 800; color: var(--s02-ink); }
.price small { font-family: var(--ailo-font); font-size: .9rem; margin-left: 2px; }

.board {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px);
  background: var(--s02-paper); padding: clamp(28px, 5vw, 56px); border: 2px solid var(--ailo-fg);
  outline: 1px solid var(--ailo-fg); outline-offset: -10px; position: relative;
}
.board h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding-bottom: 8px; margin: 0 0 6px; border-bottom: 2px solid var(--ailo-fg); font-size: 1.25rem; font-weight: 900;
}
.board h3:not(:first-child) { margin-top: 34px; }
.board h3 i { font-family: var(--s02-serif); font-weight: 500; font-size: 1rem; color: var(--s02-crust); }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; }
.price-list li::after { content: none; }
.price-list span { order: 1; }
.price-list b { order: 3; font-family: var(--s02-serif); font-weight: 800; }
.price-list li::before {
  content: ""; order: 2; flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(59, 36, 20, .35); transform: translateY(-4px);
}
.price-list em {
  font-style: normal; font-family: var(--s02-hand); font-size: .95rem; color: #fff; background: var(--s02-ink);
  padding: 0 6px; border-radius: 3px; margin-left: 4px;
}
.board__memo { margin-top: 26px; padding: 14px 16px; background: var(--s02-butter-soft); font-family: var(--s02-hand); font-size: 1.2rem; transform: rotate(-1deg); }

.coupon {
  margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center;
  padding: clamp(22px, 4vw, 36px); background: var(--s02-butter); border-radius: 14px; position: relative;
  -webkit-mask: radial-gradient(circle 12px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.coupon h3 { font-family: var(--s02-hand); font-size: 2rem; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
.coupon__try { display: block; margin-top: 4px; font-weight: 700; color: var(--s02-ink); }
.coupon__grid { display: grid; grid-template-columns: repeat(5, 54px); gap: 10px; }
.coupon__grid button {
  width: 54px; height: 54px; border-radius: 50%; border: 2px dashed rgba(59, 36, 20, .45); background: rgba(255, 250, 240, .6);
  position: relative; transition: transform .15s;
}
.coupon__grid button:hover { transform: scale(1.06); }
.coupon__grid button.is-gift::before { content: "🍞"; font-size: 1.3rem; position: absolute; inset: 0; display: grid; place-items: center; opacity: .5; }
.coupon__grid button.is-on::after {
  content: "밀담"; position: absolute; inset: -2px; border-radius: 50%; display: grid; place-items: center;
  border: 3px solid var(--s02-ink); color: var(--s02-ink); font-family: var(--s02-hand); font-weight: 700; font-size: 1.05rem;
  background: rgba(156, 58, 31, .1); transform: rotate(-16deg); filter: url(#ink); animation: s02-press .35s var(--ailo-ease);
}
.coupon__grid button.is-on.is-gift::before { opacity: 0; }
@keyframes s02-press { from { transform: rotate(-16deg) scale(1.6); opacity: 0; } }

/* ---------- Gallery (polaroid) ---------- */
.gallery { background: var(--ailo-fg) var(--s02-noise); color: var(--s02-paper); }
.gallery .sec-hd__no { color: var(--s02-butter); }
.gallery .sec-hd__note { color: var(--s02-kraft); }
.gallery .sec-hd h2::after { background-image: radial-gradient(circle, var(--s02-butter) 2px, transparent 2.5px); }
.polas { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 34px); }
.pola {
  background: var(--s02-paper); color: var(--ailo-fg); padding: 10px 10px 44px; position: relative;
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .7); transition: transform .3s var(--ailo-ease);
}
.pola:nth-child(odd) { transform: rotate(-2.5deg); }
.pola:nth-child(even) { transform: rotate(2deg) translateY(12px); }
.pola:nth-child(3n) { transform: rotate(-1deg) translateY(-6px); }
.pola:hover { transform: rotate(0) scale(1.05); z-index: 2; }
.pola::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 22px; margin-left: -35px;
  background: rgba(243, 210, 122, .75); transform: rotate(-3deg);
}
.pola img { aspect-ratio: 1; height: auto; }
.pola figcaption { position: absolute; left: 8px; right: 8px; bottom: 10px; text-align: center; font-family: var(--s02-hand); font-size: 1.15rem; line-height: 1.1; }

/* ---------- Reviews ---------- */
.notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.note {
  margin: 0; padding: 26px 22px 22px; background: #fffdf6; position: relative;
  background-image: repeating-linear-gradient(transparent 0 29px, rgba(70, 120, 170, .22) 29px 30px);
  background-position: 0 60px; box-shadow: 0 14px 22px -16px rgba(59, 36, 20, .7); transform: rotate(-1.5deg);
}
.note::before {
  content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e46a4b, #9c3a1f); box-shadow: 0 3px 4px rgba(0, 0, 0, .3);
}
.note--b { transform: rotate(1.5deg) translateY(20px); background-color: #fdf3cf; }
.note--c { transform: rotate(-.5deg); }
.note--d { transform: rotate(2deg) translateY(12px); background-color: #f9e7d8; }
.stars { color: #d79a1e; font-size: 0.8125rem; letter-spacing: 2px; margin-bottom: 12px; }
.note p { font-family: var(--s02-hand); font-size: 1.28rem; line-height: 30px; }
.note cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.875rem; font-weight: 700; color: var(--ailo-muted); }

/* ---------- News (소식지) ---------- */
.news { padding-top: 0; }
.paper-news { max-width: 980px; margin-inline: auto; background: var(--s02-paper); border-top: 6px solid var(--ailo-fg); padding: 0 clamp(20px, 4vw, 44px) clamp(10px, 2vw, 20px); box-shadow: 0 30px 50px -40px rgba(59, 36, 20, .8); }
.paper-news__mast {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 20px 0 16px; border-bottom: 3px double var(--ailo-fg);
  font-family: var(--s02-serif); font-style: italic; font-size: .9rem; color: var(--ailo-muted);
}
.paper-news__mast span:last-child { text-align: right; }
.paper-news__mast h2 { font-family: var(--s02-serif); font-style: normal; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--ailo-fg); letter-spacing: -.02em; }
.paper-news__list li { display: flex; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--ailo-line); }
.paper-news__list li:last-child { border-bottom: 0; }
.date-stamp {
  flex: 0 0 84px; height: 84px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  border: 2px solid var(--s02-ink); color: var(--s02-ink); font-family: var(--s02-serif); font-weight: 800; font-size: 0.8125rem; letter-spacing: .1em;
  transform: rotate(-8deg); filter: url(#ink);
}
.date-stamp b { font-size: 1.35rem; letter-spacing: 0; line-height: 1; }
.paper-news__list li:nth-child(2) .date-stamp { transform: rotate(6deg); }
.paper-news__list a { display: block; }
.paper-news__list h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; transition: color .2s; }
.paper-news__list a:hover h3 { color: var(--s02-ink); text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 5px; }
.paper-news__list p { color: var(--ailo-muted); }

/* ---------- Hours + Visit ---------- */
.visit { background: rgba(217, 185, 140, .28); }
.visit__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.hours { position: relative; }
.open-stamp {
  position: absolute; right: 0; top: -8px; width: 150px; height: 150px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  border: 4px solid currentColor; outline: 2px solid currentColor; outline-offset: -12px; color: var(--ailo-muted);
  transform: rotate(12deg); filter: url(#ink); background: rgba(255, 250, 240, .4);
}
.open-stamp.is-open { color: #2f6b3a; }
.open-stamp.is-closed { color: var(--s02-ink); }
.open-stamp__en { font-family: var(--s02-serif); font-weight: 800; font-size: 0.8125rem; letter-spacing: .2em; }
.open-stamp strong { font-size: 1.35rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.2; }
.open-stamp__sub { font-size: 0.875rem; font-weight: 700; padding-inline: 18px; line-height: 1.3; }
.hours__tbl { width: 100%; margin-top: 30px; border-collapse: collapse; font-size: 1.05rem; background: var(--s02-paper); }
.hours__tbl th, .hours__tbl td { padding: 13px 18px; border-bottom: 1px solid var(--ailo-line); }
.hours__tbl th { width: 64px; font-weight: 900; }
.hours__tbl td { font-family: var(--s02-serif); font-weight: 600; }
.hours__tbl tr[data-day="1"] td { font-family: var(--ailo-font); color: var(--s02-ink); font-weight: 700; }
.hours__tbl tr.is-today { background: var(--s02-butter); }
.hours__tbl tr.is-today th::after { content: "오늘"; margin-left: 6px; font-family: var(--s02-hand); font-size: .95rem; color: var(--s02-ink); }
.hours__memo { margin-top: 16px; font-family: var(--s02-hand); font-size: 1.2rem; color: var(--ailo-muted); }

.map-box {
  position: relative; aspect-ratio: 16 / 10; border: 2px solid var(--ailo-fg); overflow: hidden;
  background-color: #efe2c4;
  background-image:
    linear-gradient(rgba(59, 36, 20, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 36, 20, .08) 1px, transparent 1px),
    radial-gradient(circle at 78% 22%, rgba(122, 160, 96, .45) 0 60px, transparent 61px),
    radial-gradient(circle at 15% 80%, rgba(122, 160, 96, .35) 0 46px, transparent 47px);
  background-size: 28px 28px, 28px 28px, 100% 100%, 100% 100%;
}
.map-box__road { position: absolute; background: #fffaf0; border: 2px dashed rgba(59, 36, 20, .3); }
.map-box__road--a { left: -5%; right: -5%; top: 46%; height: 34px; transform: rotate(-8deg); }
.map-box__road--b { top: -5%; bottom: -5%; left: 38%; width: 30px; transform: rotate(14deg); }
.map-box__label { position: absolute; left: 10%; top: 18%; padding: 4px 10px; background: var(--s02-paper); border: 1px solid var(--ailo-line); font-size: 0.875rem; font-weight: 700; }
.map-box__pin { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; color: var(--s02-ink); animation: s02-bob 2.2s ease-in-out infinite; }
.map-box__pin i { font-size: 3rem; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .25)); }
.map-box__pin b { margin-top: 4px; padding: 2px 10px; background: var(--ailo-fg); color: var(--s02-butter); font-family: var(--s02-hand); font-size: 1.15rem; border-radius: 4px; }
@keyframes s02-bob { 50% { transform: translate(-50%, calc(-100% - 8px)); } }
.map-box__btns { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.btn-map {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; background: var(--s02-paper); border: 2px solid var(--ailo-fg);
  font-size: .9rem; font-weight: 700; box-shadow: 2px 2px 0 var(--ailo-fg); transition: transform .15s;
}
.btn-map:hover, .btn-map:focus-visible { transform: translate(-1px, -1px); background: var(--s02-butter); }
.way__info { margin: 22px 0 0; }
.way__info > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--ailo-line); }
.way__info dt { font-weight: 800; }
.way__info dt i { color: var(--s02-ink); width: 18px; }
.way__info dd { margin: 0; color: var(--ailo-muted); }

/* ---------- Reserve slip ---------- */
.slip {
  max-width: 960px; margin-inline: auto; background: var(--s02-paper); padding: clamp(26px, 5vw, 56px);
  position: relative; box-shadow: 0 30px 60px -40px rgba(59, 36, 20, .9);
  border-top: 14px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--s02-kraft) 0 14px, transparent 14px 22px) 14;
}
.slip__hd { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 3px double var(--ailo-fg); }
.slip__hd h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: 6px; }
.slip__hd p:not(.sec-hd__no) { color: var(--ailo-muted); }
.slip__no { flex-shrink: 0; text-align: right; font-size: 0.875rem; color: var(--ailo-muted); }
.slip__no b { font-family: var(--s02-serif); font-size: 1.1rem; color: var(--ailo-fg); }
.slip__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
.fld--full { grid-column: 1 / -1; }
.fld label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; }
.fld input, .fld select, .fld textarea {
  width: 100%; border: 0; border-bottom: 2px solid var(--ailo-fg); background: transparent; padding: 10px 2px;
  font-family: var(--s02-hand); font-size: 1.3rem; color: var(--ailo-fg); border-radius: 0;
}
.fld select { font-family: var(--ailo-font); font-size: 1rem; }
.fld textarea { background-image: repeating-linear-gradient(transparent 0 37px, var(--ailo-line) 37px 38px); border: 1px solid var(--ailo-line); padding: 6px 10px; line-height: 38px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; background-color: var(--s02-butter-soft); border-color: var(--s02-ink); }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(122, 91, 64, .55); }
.slip__ft { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ailo-muted); max-width: 520px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--s02-ink); flex-shrink: 0; }
.agree a { text-decoration: underline; color: var(--ailo-fg); }

/* ---------- Footer ---------- */
.ft { background: #2a190d var(--s02-noise); color: #e7d6bb; padding: clamp(48px, 6vw, 72px) 0; }
.ft__in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 48px; align-items: center; }
.ft__brand { display: flex; align-items: center; gap: 14px; }
.ft .logo__seal { width: 84px; height: 84px; color: var(--s02-butter); }
.ft__bye { font-family: var(--s02-hand); font-size: 1.4rem; color: var(--s02-butter); }
.ft__info p { font-size: 0.9375rem; line-height: 1.8; }
.ft__info b { color: #fff; }
.ft__links { display: flex; gap: 18px; margin: 8px 0; font-size: .9rem; }
.ft__links a:hover { color: var(--s02-butter); }
.ft__links strong { color: #fff; }
.ft__copy { opacity: .7; }
.ft__sns { display: flex; gap: 10px; }
.ft__sns a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed rgba(243, 210, 122, .6); color: var(--s02-butter); transition: background .2s, color .2s; }
.ft__sns a:hover, .ft__sns a:focus-visible { background: var(--s02-butter); color: var(--ailo-fg); }

/* ---------- Mobile bottom bar ---------- */
.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .btn-tel span { display: none; }
  .notes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 68px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .gnb, .hd__cta { display: none; }
  .hd .ailo-burger { margin-left: auto; }
  .logo__seal { width: 46px; height: 46px; }
  .hero__grid, .about__grid, .visit__grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 520px; margin-inline: auto; width: 100%; }
  .stamp--today { left: -6px; width: 124px; height: 124px; }
  .stamp--today strong { font-size: 1.7rem; }
  .tags { grid-template-columns: 1fr 1fr; }
  .tag-card:nth-child(2) { transform: none; }
  .tag-card:nth-child(3) { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
  .polas { grid-template-columns: repeat(3, 1fr); }
  .coupon { grid-template-columns: 1fr; }
  .ft__in { grid-template-columns: 1fr; text-align: left; }

  .mbar {
    display: grid; grid-template-columns: 1fr 1.2fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 105;
    background: var(--ailo-fg); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    border-top: 3px dashed var(--s02-kraft);
  }
  .mbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px;
    color: var(--s02-butter); font-weight: 700; font-size: 0.875rem; border-radius: 8px;
  }
  .mbar a i { font-size: 1.1rem; }
  .mbar a.is-main { background: var(--s02-ink); color: var(--s02-paper); }
  html.nav-open .mbar { display: none; }
}
@media (max-width: 575.98px) {
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero__btns > * { flex: 1 1 100%; justify-content: center; }
  .hero__photo { padding: 14px 6px; }
  .stamp--today { width: 104px; height: 104px; left: -2px; bottom: 74px; outline-offset: -8px; }
  .stamp--today strong { font-size: 1.4rem; }
  .stamp__top { font-size: 0.875rem; }
  .ribbon { font-size: 1.15rem; }
  .bake li { grid-template-columns: 50px 1fr auto; gap: 10px; }
  .bake time { font-size: 1.02rem; }
  .bake__name { font-size: .98rem; line-height: 1.35; }
  .bake__state { min-width: 0; padding: 3px 7px; font-size: 0.875rem; }
  .bake__name small { display: block; margin: 0; }
  .ledger { background-image: none; padding: 18px; box-shadow: 5px 5px 0 var(--s02-kraft); }
  .letter { transform: none; }
  .tags { grid-template-columns: 1fr; }
  .tag-card:nth-child(3) { max-width: none; }
  .board { grid-template-columns: 1fr; outline-offset: -7px; }
  .board h3:not(:first-child), .board__col + .board__col h3:first-child { margin-top: 30px; }
  .coupon__grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .coupon__grid button { width: 100%; height: auto; aspect-ratio: 1; }
  .coupon__grid button.is-on::after { font-size: 0.875rem; }
  .polas { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .notes { grid-template-columns: 1fr; gap: 24px; }
  .note, .note--b, .note--c, .note--d { transform: rotate(0); }
  .paper-news__mast { grid-template-columns: 1fr; text-align: center; }
  .paper-news__mast span { display: none; }
  .paper-news__list li { gap: 14px; align-items: flex-start; }
  .date-stamp { flex-basis: 64px; height: 64px; font-size: 0.875rem; }
  .date-stamp b { font-size: 1.05rem; }
  .open-stamp { position: relative; top: auto; right: auto; margin: 6px 0 -10px auto; width: 128px; height: 128px; }
  .hours__tbl { margin-top: 0; }
  .map-box { aspect-ratio: 4 / 5; }
  .way__info > div { grid-template-columns: 1fr; gap: 2px; }
  .slip__hd { flex-direction: column; }
  .slip__no { display: none; }
  .slip__grid { grid-template-columns: 1fr; }
  .slip__ft .btn-stamp { width: 100%; }
}
@media (hover: none) {
  .tag-card:hover, .pola:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon .ailo-marquee__track { animation: none; }
}
