/* ==========================================================================
   AILO Corporate C05 — 들녘푸드
   원형 C 분할 대형 사진형(글 40% + 사진 60%) · Pretendard + Plus Jakarta Sans(eyebrow·숫자) · 브라운 1색 + 웜 그레이
   ========================================================================== */
:root {
  --ailo-bg: #ffffff;
  --ailo-fg: #1d1915;
  --ailo-muted: #57504a;
  --ailo-line: rgba(29, 25, 21, .12);
  --ailo-accent: #6b4f3a;
  --ailo-accent-ink: #ffffff;
  --ailo-header-h: 84px;
  --ailo-eyebrow-size: 14px;
  --c05-warm: #f6f2ec;
  --c05-dark: #2b221b;
  --c05-sand: #d9c4a8;
  --c05-en: "Plus Jakarta Sans", var(--ailo-font);
}
body { font-size: 17px; }
.ailo-eyebrow { font-family: var(--c05-en); letter-spacing: .12em; }
.ailo-title { font-size: clamp(30px, 2.1vw + 16px, 48px); }

/* Header */
.hd { position: sticky; top: 0; z-index: 100; height: var(--ailo-header-h); background: #fff; border-bottom: 1px solid var(--ailo-line); transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .16); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--ailo-accent); }
.logo__mark { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logo__ko { font-size: 22px; font-weight: 800; color: var(--ailo-fg); letter-spacing: -.03em; }
.logo__en { font-family: var(--c05-en); font-size: 13px; font-weight: 600; color: var(--ailo-muted); letter-spacing: .04em; }
.logo--light, .logo--light .logo__ko { color: #fff; }
.logo--light .logo__en { color: rgba(255, 255, 255, .6); }
.hd__mega { flex: 1; justify-content: center; }
@media (min-width: 992px) { .hd__mega { display: flex; } }
.hd__util { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hd__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; margin-right: 4px; background: var(--ailo-accent); color: #fff; border-radius: 4px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.hd__cta:hover { background: #563f2e; color: #fff; }
.mnav { background: var(--c05-warm); }
.mnav__in { display: flex; flex-direction: column; padding: calc(var(--ailo-header-h) + 20px) var(--ailo-gutter) 16px; }
.mnav__in a { padding: 17px 0; border-bottom: 1px solid var(--ailo-line); font-size: 22px; font-weight: 700; }
.mnav__in .mnav__cta { margin-top: 24px; border: 0; text-align: center; background: var(--ailo-accent); color: #fff; border-radius: 4px; font-size: 17px; }
.mnav__note { padding: 8px var(--ailo-gutter) 40px; font-size: 16px; color: var(--ailo-muted); }

/* 버튼 */
.bt { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 4px; font-size: 16px; font-weight: 700; transition: background-color .2s, border-color .2s, color .2s; }
.bt--fill { background: var(--ailo-accent); color: #fff; }
.bt--fill:hover { background: #563f2e; color: #fff; }
.bt--line { border-color: rgba(29, 25, 21, .3); }
.bt--line:hover { border-color: var(--ailo-fg); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); min-height: clamp(600px, calc(100svh - var(--ailo-header-h)), 880px); background: var(--c05-warm); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 72px) clamp(48px, 6vw, 96px) max(var(--ailo-gutter), calc((100vw - var(--ailo-max)) / 2 + var(--ailo-gutter))); }
.hero__title { font-size: clamp(36px, 3.6vw + 10px, 72px); font-weight: 800; line-height: 1.16; letter-spacing: -.04em; }
.hero__title em { font-style: normal; color: var(--ailo-accent); }
.hero__lead { margin-top: 24px; font-size: clamp(17px, .3vw + 15px, 19px); line-height: 1.75; color: var(--ailo-muted); max-width: 30em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ailo-line); font-size: 15px; color: var(--ailo-muted); }
.hero__facts b { display: block; font-family: var(--c05-en); font-size: 28px; color: var(--ailo-fg); font-weight: 700; line-height: 1.2; }
.hero__media { position: relative; margin: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__card { position: absolute; left: 32px; bottom: 32px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; border-radius: 6px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .25); font-size: 15px; font-weight: 600; line-height: 1.45; }
.hero__card-k { font-family: var(--c05-en); font-size: 20px; font-weight: 700; color: var(--ailo-accent); padding-right: 16px; border-right: 1px solid var(--ailo-line); }

/* 원재료 흐름 */
.strip { background: var(--ailo-accent); color: #fff; padding: 18px 0; }
.strip .ailo-marquee__track { --ailo-marquee-gap: 56px; font-size: 18px; font-weight: 600; }
.strip span::before { content: "·"; margin-right: 56px; opacity: .5; }

/* 섹션 */
.sec { padding: clamp(72px, 8vw, 128px) 0; }
.sec--warm { background: var(--c05-warm); }
.head-side { margin: 0; max-width: 28em; }

/* Story */
.story__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
.story__img { margin: 0; }
.story__img img { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 6px; }
.values { margin-top: 36px; border-top: 1px solid var(--ailo-fg); }
.values li { display: grid; grid-template-columns: 52px 1fr; padding: 22px 0; border-bottom: 1px solid var(--ailo-line); }
.values em { font-style: normal; font-family: var(--c05-en); font-weight: 700; color: var(--ailo-accent); font-size: 15px; padding-top: 3px; }
.values h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.values p { font-size: 16px; color: var(--ailo-muted); line-height: 1.65; }

/* Business */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.biz__item { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: 6px; overflow: hidden; }
.biz__item img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.biz__txt { padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; }
.biz__no { font-family: var(--c05-en); font-size: 14px; font-weight: 700; color: var(--ailo-accent); }
.biz__txt h3 { font-size: 22px; font-weight: 800; margin: 6px 0 10px; }
.biz__txt p { font-size: 16px; line-height: 1.65; color: var(--ailo-muted); flex: 1; }
.lnk { align-self: flex-start; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--ailo-accent); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.lnk::after { content: " \2192"; }

/* Numbers */
.nums { background: var(--c05-dark); color: #fff; padding: clamp(56px, 6vw, 96px) 0; }
.nums__in { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; align-items: end; }
.nums .ailo-eyebrow { color: var(--c05-sand); }
.nums__ttl { font-size: clamp(28px, 1.6vw + 18px, 40px); font-weight: 800; letter-spacing: -.02em; }
.nums__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.nums__list li { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 6px; }
.nums__list .k { font-size: 15px; color: rgba(255, 255, 255, .72); }
.nums__list .v { font-family: var(--c05-en); font-size: clamp(36px, 2.4vw + 14px, 56px); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nums__list .v small { font-family: var(--ailo-font); font-size: .36em; margin-left: 4px; color: var(--c05-sand); }
.nums__list .s { font-size: 14px; color: rgba(255, 255, 255, .62); }

/* Origin */
.origin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.origin__item img { width: 100%; height: auto; aspect-ratio: 9 / 11; object-fit: cover; border-radius: 6px; margin-bottom: 22px; }
.origin__k { font-family: var(--c05-en); font-size: 14px; font-weight: 700; color: var(--ailo-accent); letter-spacing: .04em; }
.origin__item h3 { font-size: 22px; font-weight: 800; margin: 6px 0 10px; }
.origin__item p:last-child { font-size: 16px; line-height: 1.7; color: var(--ailo-muted); }

/* Products */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.prod__img { margin: 0 0 16px; overflow: hidden; border-radius: 6px; background: #ebe4da; }
.prod__img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ailo-ease); }
.prod:hover .prod__img img { transform: scale(1.05); }
.prod__cat { font-size: 14px; font-weight: 700; color: var(--ailo-accent); }
.prod h3 { font-size: 19px; font-weight: 700; margin: 4px 0; }
.prod p { font-size: 15px; color: var(--ailo-muted); }

/* News */
.news { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.news__hd .ailo-more { margin-top: 24px; }
.news__list { border-top: 1px solid var(--ailo-fg); }
.news__row { display: grid; grid-template-columns: 130px 84px 1fr; align-items: center; gap: 16px; padding: 24px 4px; border-bottom: 1px solid var(--ailo-line); transition: background-color .2s; }
.news__row:hover { background: var(--c05-warm); }
.news__row time { font-family: var(--c05-en); font-size: 15px; color: var(--ailo-muted); font-variant-numeric: tabular-nums; }
.news__cat { justify-self: start; font-size: 14px; font-weight: 700; color: var(--ailo-accent); }
.news__row h3 { font-size: 18px; font-weight: 600; line-height: 1.45; }
.news__row:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* Partners */
.partners { padding: 40px 0; border-top: 1px solid var(--ailo-line); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; }
.contact__side { position: relative; isolation: isolate; color: #fff; display: flex; align-items: flex-end; min-height: 620px; }
.contact__side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact__side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 22, 16, .3), rgba(30, 22, 16, .82)); }
.contact__txt { padding: clamp(40px, 5vw, 80px); max-width: 640px; margin-left: auto; width: 100%; }
.contact .ailo-eyebrow { color: var(--c05-sand); }
.contact__ttl { font-size: clamp(28px, 2vw + 16px, 46px); font-weight: 800; line-height: 1.26; letter-spacing: -.025em; margin-bottom: 14px; }
.contact__txt > p { font-size: 17px; color: rgba(255, 255, 255, .85); }
.contact__info { margin-top: 26px; display: grid; gap: 10px; font-size: 17px; }
.contact__info i { width: 24px; color: var(--c05-sand); }
.contact__body { background: var(--c05-warm); padding: clamp(40px, 5vw, 80px); display: flex; align-items: center; }
.cform { width: 100%; max-width: 600px; display: grid; gap: 18px; }
.cform__ttl { font-size: 24px; font-weight: 800; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #d8cfc4; border-radius: 4px; background: #fff; font: inherit; font-size: 16px; font-weight: 400; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ailo-accent); box-shadow: 0 0 0 3px rgba(107, 79, 58, .15); }
.agree { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.agree input { width: 18px; height: 18px; accent-color: var(--ailo-accent); }
.agree a { color: var(--ailo-accent); text-decoration: underline; }
.cform .bt { justify-self: start; border: 0; }

/* Footer */
.ft { background: #1c1712; color: #b9b0a6; padding: 64px 0 40px; font-size: 15px; }
.ft__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ft__motto { font-family: var(--c05-en); font-size: 15px; color: var(--c05-sand); }
.ft__mid { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 28px 0; }
.ft__info { line-height: 1.9; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: start; }
.ft__nav a:hover, .ft__nav strong { color: #fff; }
.ft__copy { font-size: 14px; color: #857c72; }

/* 반응형 */
@media (max-width: 1279.98px) { .hd__cta { display: none; } }
@media (max-width: 1199.98px) { .biz__item { grid-template-columns: 1fr; } .biz__item img { min-height: 0; aspect-ratio: 16 / 9; height: auto; } }
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 68px; }
  .logo__en, .hd .ailo-sitemap-btn { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 48px var(--ailo-gutter); }
  .hero__media { min-height: 420px; }
  .story__grid, .news, .contact { grid-template-columns: 1fr; }
  .nums__in { grid-template-columns: 1fr; }
  .nums__list { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .nums__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .origin { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .prods { grid-template-columns: repeat(3, 1fr); }
  .contact__side { min-height: 480px; }
  .contact__txt { margin-left: 0; }
}
@media (max-width: 767.98px) {
  .biz, .origin { grid-template-columns: 1fr; }
  .prods { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .news__row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .news__row h3 { grid-column: 1 / -1; }
  .news__row time { order: 2; }
}
@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .hero__media { min-height: 320px; }
  .hero__card { left: 16px; right: 16px; bottom: 16px; }
  .nums__list li { padding: 0 12px; }
  .cform__row { grid-template-columns: 1fr; }
  .cform .bt { width: 100%; justify-content: center; }
  .contact__txt, .contact__body { padding: 48px var(--ailo-gutter); }
}
