:root {
  --ink: #183b33;
  --ink-soft: #506b63;
  --mint-50: #f2faf5;
  --mint-100: #ddf2e5;
  --mint-300: #a9d8bc;
  --green: #236b55;
  --green-dark: #164b3d;
  --orange: #f28b2d;
  --orange-dark: #c85e13;
  --cream: #fffaf0;
  --paper: #fffdf8;
  --white: #fff;
  --line: #d7e6dd;
  --shadow: 0 18px 50px rgba(38, 84, 68, .11);
  --shadow-soft: 0 8px 24px rgba(38, 84, 68, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(242, 139, 45, .10), transparent 19rem),
    radial-gradient(circle at 92% 13%, rgba(132, 201, 158, .16), transparent 24rem),
    var(--paper);
  font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}

img { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: var(--orange-dark); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(242, 139, 45, .55); outline-offset: 3px; }

.site-header, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand::before {
  content: "";
  width: 38px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--green) url('og-cover.png') center 31% / 150% auto no-repeat;
  box-shadow: 0 5px 14px rgba(35, 107, 85, .2);
}
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
nav a { color: var(--ink); font-size: .94rem; font-weight: 750; text-decoration: none; }

.hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: 70px 0 78px;
}
.hero:has(> :only-child) { min-height: auto; grid-template-columns: 1fr; padding: 70px 0 32px; }
.hero > :only-child { max-width: 760px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1, main > article > h1, main > h1 {
  margin: .3rem 0 1.15rem;
  font-size: clamp(2.55rem, 5.5vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: -.075em;
}
.hero-copy > p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--ink-soft); font-size: 1.07rem; }
.eyebrow, .tag {
  margin-bottom: .35rem;
  color: var(--orange-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .09em;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 12px 19px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #f6a33f);
  box-shadow: 0 9px 20px rgba(232, 123, 42, .24);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 25px rgba(232, 123, 42, .32); }
.text-link { font-weight: 800; text-decoration: none; }
.text-link::after { content: " →"; }

.hero-visual {
  position: relative;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 42px;
  background: rgba(255, 255, 255, .55);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.hero-visual::before, .hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
.hero-visual::before { width: 116px; height: 116px; right: -24px; top: -29px; background: #ffd98b; }
.hero-visual::after { width: 74px; height: 74px; left: -28px; bottom: 18px; background: var(--mint-300); }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; border-radius: 30px; object-fit: cover; }
.hero-label {
  position: absolute;
  left: -18px;
  bottom: 34px;
  padding: 10px 15px;
  border: 1px solid rgba(215, 230, 221, .85);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
  color: var(--green-dark);
  font-size: .85rem;
  font-weight: 850;
  transform: rotate(-1deg);
}
.quick-facts { display: flex; flex-wrap: wrap; gap: 16px 26px; margin: 32px 0 0; padding: 0; list-style: none; }
.quick-facts li { color: var(--ink-soft); font-size: .84rem; }
.quick-facts strong { display: block; color: var(--green-dark); font-size: 1.1rem; }

section { scroll-margin-top: 24px; }
main > section:not(.hero) { margin-top: 94px; }
.section-heading { max-width: 710px; margin-bottom: 28px; }
.section-heading p:last-child { color: var(--ink-soft); }
h2 { margin: .18rem 0 .7rem; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.25; letter-spacing: -.05em; }
h3 { margin: .1rem 0 .48rem; line-height: 1.4; letter-spacing: -.025em; }

.trust, .safety {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(169, 216, 188, .55);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--mint-50), var(--mint-100));
}
.trust::after, .safety::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
}
.grid3, .recipe-grid, .experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.recipe-grid { grid-template-columns: 1fr; }
.experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 article, .recipe-card, .experience-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  padding: 22px;
  box-shadow: 0 5px 18px rgba(38, 84, 68, .04);
}
.grid3 article p, .recipe-card > p:not(.tag), .experience-card p, .experience-card small { color: var(--ink-soft); }
.recipe-card { display: flex; flex-direction: column; min-height: 310px; transition: transform .2s ease, box-shadow .2s ease; }
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.recipe-card ul { margin: 10px 0 20px; padding-left: 1.25rem; }
.recipe-card a { margin-top: auto; font-weight: 850; }
.daily-date { margin: -12px 0 18px; color: var(--orange-dark); font-size: .9rem; font-weight: 850; }
.daily-card { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: 0 26px; align-content: start; overflow: hidden; border-color: rgba(242, 139, 45, .3); background: linear-gradient(155deg, #fff 58%, #fff4df); }
.daily-card > * { grid-column: 1; }
.daily-card .recipe-method { grid-column: 2; grid-row: 1 / span 8; margin-bottom: 0; }
.daily-card::after { content: "오늘"; position: absolute; right: -31px; top: 16px; width: 110px; padding: 4px 0; color: #fff; background: var(--orange); font-size: .7rem; font-weight: 900; text-align: center; transform: rotate(40deg); }
.daily-card small, .recipe-result-card small { display: block; margin-top: auto; color: var(--ink-soft); }
.daily-card p, .recipe-result-card p { color: var(--ink-soft); }
.recipe-materials {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(169, 216, 188, .62);
  border-radius: 14px;
  background: var(--mint-50);
  line-height: 1.65;
}
.recipe-method {
  margin: 0 0 14px;
  padding: 15px 16px 6px;
  border-radius: 16px;
  background: #fff9ee;
  color: var(--green-dark);
}
.recipe-steps {
  margin: 10px 0 12px;
  padding-left: 1.45rem;
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.7;
}
.recipe-steps li { margin-bottom: 9px; padding-left: 3px; }
.recipe-steps li::marker { color: var(--orange-dark); font-weight: 900; }
.step-count { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--orange); font-size: .72rem; vertical-align: middle; }
.daily-guide { margin: 10px 0 0; padding: 10px 12px; border-left: 4px solid var(--orange); border-radius: 8px; background: #fff7e9; font-size: .9rem; }
.recipe-allergen { margin: 2px 0 12px; }
.recipe-result-card { min-height: 0; }

.recipe-finder { display: grid; gap: 20px; padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: 26px; background: var(--mint-50); }
.filter-group { min-width: 0; }
.filter-label { margin: 0 0 8px; color: var(--green-dark); font-weight: 900; }
.filter-group .filters { margin: 0; }
.filter-scroll { max-height: 142px; overflow-y: auto; padding: 3px; scrollbar-color: var(--mint-300) transparent; }
.finder-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 4px; }
.active-filters { margin: 0; color: var(--green-dark); font-size: .92rem; font-weight: 800; }
.reset-button { border: 0; padding: 6px 0; color: var(--ink-soft); background: transparent; font: inherit; font-size: .86rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.reset-button:hover { color: var(--orange-dark); }

.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 14px; }
.filters button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: .92rem;
  font-weight: 750;
  cursor: pointer;
}
.filters button:hover { border-color: var(--green); }
.filters button[aria-pressed="true"] { border-color: var(--green); color: #fff; background: var(--green); }
.results-status { margin: 0 0 18px; color: var(--ink-soft); font-size: .9rem; }
.experience-card { display: flex; min-height: 300px; flex-direction: column; }
.experience-card p { margin: .4rem 0; }
.experience-card small { display: block; margin-top: 12px; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.load-more { background: var(--green); box-shadow: 0 9px 20px rgba(35, 107, 85, .2); }
.load-more[hidden] { display: none; }

main > article { max-width: 860px; padding: 58px 0 86px; }
main > h1 { margin-top: 58px; }
main > h1 ~ p, main > h1 ~ ol { max-width: 820px; }
main > article > p { font-size: 1.03rem; }
main > article > section, main > article > h2 { margin-top: 46px; }
main > article ol { padding-left: 1.45rem; }
main > article li { margin-bottom: .72rem; }

.story-hero { max-width: 850px; padding: 82px 0 34px; }
.story-hero h1 { margin: .3rem 0 1.15rem; font-size: clamp(2.7rem, 6vw, 5.2rem); line-height: 1.08; letter-spacing: -.075em; }
.story-hero > p:last-child { max-width: 720px; color: var(--ink-soft); font-size: 1.06rem; }
.story-library { margin-top: 64px; }
.story-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; max-width: 760px; padding: 7px; border-radius: 20px; background: var(--mint-100); }
.story-tabs button { min-height: 54px; border: 0; border-radius: 15px; color: var(--ink-soft); background: transparent; font: inherit; font-weight: 850; cursor: pointer; }
.story-tabs button span { display: inline-grid; min-width: 28px; height: 28px; margin-left: 6px; place-items: center; border-radius: 999px; background: rgba(255,255,255,.7); font-size: .78rem; }
.story-tabs button[aria-selected="true"] { color: var(--green-dark); background: #fff; box-shadow: var(--shadow-soft); }
.story-notice { max-width: 860px; margin: 18px 0 10px; padding: 13px 16px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; color: var(--ink-soft); background: #fff8ea; font-size: .9rem; }
.story-list { display: grid; gap: 14px; margin-top: 20px; }
.story-card { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 5px 18px rgba(38,84,68,.04); overflow: hidden; }
.story-card details[open] { box-shadow: var(--shadow-soft); }
.story-card summary { display: flex; min-height: 90px; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; }
.story-card summary::-webkit-details-marker { display: none; }
.story-card summary > span:first-child { display: grid; gap: 3px; }
.story-card summary small { color: var(--orange-dark); font-weight: 800; }
.story-card summary strong { font-size: 1.12rem; letter-spacing: -.025em; }
.story-card summary::after { content: "+"; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; color: #fff; background: var(--green); font-size: 1.25rem; line-height: 30px; text-align: center; }
.story-card details[open] summary::after { content: "−"; }
.story-body { padding: 6px clamp(22px,5vw,64px) 40px; border-top: 1px solid var(--line); }
.story-body p { max-width: 780px; margin: 1.35rem auto 0; color: #304f47; font-size: 1rem; line-height: 1.9; }
.story-body .story-disclaimer { margin-top: 2rem; padding: 13px 15px; border-radius: 12px; color: var(--ink-soft); background: var(--mint-50); font-size: .86rem; }

footer { margin-top: 100px; padding-top: 32px; padding-bottom: 42px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }
.skip { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 9px 12px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-soft); }
.skip:focus { top: 12px; }

@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 0 60px; }
  .hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 0; padding: 14px 0; align-items: flex-start; flex-direction: column; gap: 12px; overflow: hidden; }
  nav { width: 100%; gap: 8px 16px; overflow: visible; flex-wrap: wrap; padding-bottom: 3px; }
  nav a { white-space: nowrap; }
  .hero { grid-template-columns: 1fr; padding: 42px 0 48px; }
  .hero-visual { order: -1; width: min(100%, 520px); margin-inline: auto; border-radius: 28px; padding: 10px; overflow: hidden; transform: none; }
  .hero-visual img { border-radius: 21px; }
  .hero-label { left: 18px; bottom: 24px; }
  .hero h1, main > article > h1, main > h1 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .quick-facts { gap: 12px 22px; }
  main > section:not(.hero) { margin-top: 68px; }
  .grid3, .recipe-grid, .experience-grid { grid-template-columns: 1fr; }
  .trust, .safety { border-radius: 24px; }
  .recipe-card { min-height: 0; }
  .daily-card { display: flex; }
  .story-hero { padding-top: 54px; }
  .story-tabs { grid-template-columns: 1fr; }
  .story-card summary { align-items: flex-start; padding: 18px; }
  .story-body { padding: 4px 20px 30px; }
  footer { margin-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
