/* aiyammy.com — "AI를 맛있게 차려 주는 집": the page reads like a small restaurant's menu
   (오늘의 메뉴 · 레시피 · 맛보기 · 셰프 · 포장). Brand: deep navy table, 얌얌이 yellow,
   sky blue, coral. Display: Black Han Sans, body: Noto Sans KR. Mobile first, one column
   that opens into two on wide screens. Deliberately single-theme (the brand is dark). */
:root {
  --navy: #10141c;
  --navy-2: #182033;
  --plate: #1f2839;
  --line: #2e3850;
  --fg: #f4f5f8;
  --muted: #a7b0c0;
  --yellow: #ffc547;
  --yellow-deep: #f2a91a;
  --sky: #5cc8ff;
  --coral: #ff7a59;
  --ink: #141922;
  --display: "Black Han Sans", "Noto Sans KR", sans-serif;
  --body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}

/* top bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(16, 20, 28, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--navy); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-family: var(--display); font-size: 1.35rem; }
.brand img { width: 40px; height: 40px; }
.brand b { color: var(--yellow); font-weight: 400; }
.bar nav { display: flex; gap: 18px; font-size: 0.95rem; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover { color: var(--fg); }
@media (max-width: 620px) { .bar nav .opt { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--yellow); color: var(--ink); }
.btn.ghost { border-color: var(--line); color: var(--fg); }
.btn .tri { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: 56px 72px; }
.hero::after { content: ""; position: absolute; inset: auto -20% -40% 30%; height: 80%; background: radial-gradient(closest-side, rgba(255, 197, 71, 0.18), transparent); pointer-events: none; }
.hero .wrap { display: grid; gap: 28px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 820px) { .hero .wrap { grid-template-columns: 1.25fr 1fr; } }
.kicker { font-weight: 700; color: var(--yellow); letter-spacing: 0.06em; font-size: 0.9rem; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 11vw, 5.6rem); line-height: 1.02; margin: 10px 0 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34ch; margin: 0 0 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .chef { position: relative; justify-self: center; width: min(420px, 82vw); }
.hero .chef img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); animation: float 4.5s ease-in-out infinite; }
.hero .bubble { position: absolute; top: 4%; left: -6%; background: var(--fg); color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: 18px 18px 18px 4px; font-size: 0.95rem; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
@keyframes float { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -14px; rotate: 2deg; } }
@media (prefers-reduced-motion: reduce) { .hero .chef img { animation: none; } .btn { transition: none; } html { scroll-behavior: auto; } }

/* menu sections */
section.menu { padding-block: 64px; border-top: 1px dashed var(--line); }
.menu-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.menu-head .tag { font-family: var(--display); color: var(--ink); background: var(--yellow); padding: 2px 12px; border-radius: 8px; font-size: 1rem; }
.menu-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0; line-height: 1.15; text-wrap: balance; }
.menu-head p { flex-basis: 100%; color: var(--muted); margin: 6px 0 0; max-width: 60ch; }

/* recipe steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 92px; gap: 6px 14px; align-items: start; min-width: 0; }
.step .no { font-family: var(--display); color: var(--yellow); font-size: 2.4rem; line-height: 1; }
.step img { grid-row: span 3; width: 92px; height: 92px; object-fit: contain; }
.step h3 { margin: 0; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* tasting */
.tasting { display: grid; gap: 18px; }
@media (min-width: 820px) { .tasting { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; } .tasting .short { grid-row: span 2; } }
.shot { margin: 0; background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; color: var(--muted); font-size: 0.93rem; }
.shot.short img { aspect-ratio: 9 / 16; object-fit: cover; }
.row2 { display: grid; gap: 18px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }

/* chef */
.chef-card { display: grid; gap: 24px; align-items: center; background: linear-gradient(135deg, var(--plate), var(--navy-2)); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
@media (min-width: 820px) { .chef-card { grid-template-columns: 1fr 1.2fr; } }
.poses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.poses figure { margin: 0; text-align: center; color: var(--muted); font-size: 0.85rem; }
.poses img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.chef-card p { color: var(--muted); max-width: 52ch; }
.chef-card strong { color: var(--fg); }

/* takeout + channels */
.takeout { display: grid; gap: 18px; }
@media (min-width: 820px) { .takeout { grid-template-columns: 1.3fr 1fr; } }
.ticket { background: var(--yellow); color: var(--ink); border-radius: 28px; padding: 30px; position: relative; overflow: hidden; }
.ticket h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; margin: 6px 0 10px; line-height: 1.2; }
.ticket p { margin: 0 0 14px; max-width: 40ch; }
.ticket .soon { display: inline-block; background: var(--ink); color: var(--yellow); font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; }
.ticket img { position: absolute; right: -18px; bottom: -22px; width: 150px; opacity: 0.95; }
.channels { display: grid; gap: 12px; align-content: start; }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--plate); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 700; }
.channel:hover { border-color: var(--yellow); }
.channel .dot { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; }
.channel small { display: block; color: var(--muted); font-weight: 400; }
.channel.off { opacity: 0.55; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--plate); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--yellow); font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 0 0 14px; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer.site a { color: var(--muted); }

/* documents (about / privacy / terms) */
.doc { padding-block: 40px 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 6vw, 2.8rem); margin: 0 0 6px; line-height: 1.15; }
.doc h2 { font-size: 1.15rem; margin: 2em 0 0.5em; }
.doc p, .doc li { max-width: 65ch; }
.doc .note { color: var(--muted); font-size: 0.92rem; }
.doc .en { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 8px; }
.doc .lead-img { width: 140px; margin-bottom: 8px; }

footer.site .yt-note { margin-top: 10px; font-size: 0.85rem; line-height: 1.6; }
footer.site .yt-note a { color: var(--sky); }
