/* =========================================================
   (주)올어바웃팜 — All about Farm
   Design System v2.0  (디자인 토큰 / 컴포넌트 / 반응형)
   ========================================================= */

/* ---------- 디자인 토큰 ---------- */
:root {
  --c-text: #1b211a;
  --c-text-soft: #5a6157;
  --c-text-faint: #8b9186;
  --c-line: #e7e8e2;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f6f1;
  --c-bg-deep: #eef1ea;
  --c-accent: #3f6f3a;        /* 허브 그린 */
  --c-accent-dark: #2c4f29;
  --c-accent-soft: #eef3ec;
  --c-accent-glow: rgba(63,111,58,.16);
  --c-ink: #161b15;           /* 푸터/딥 섹션 */

  --font-head: "Quicksand", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", "Quicksand", sans-serif;

  --maxw: 1160px;
  --measure: 720px;
  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(20,30,18,.05);
  --shadow: 0 10px 30px rgba(20,30,18,.09);
  --shadow-lg: 0 24px 60px rgba(20,30,18,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 리셋 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.22; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 92px 0; position: relative; }
.section--soft { background: var(--c-bg-soft); }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.measure { max-width: var(--measure); }
.measure.center { margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 12px; }

/* ---------- 섹션 헤더 (eyebrow + 제목 + 설명) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; font-size: 12px; color: var(--c-accent);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--c-accent); border-radius: 2px;
}
.center .eyebrow::before, .eyebrow.center::before { display: none; }
.sec-head { margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; max-width: 760px; }
.sec-head h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3.6vw, 40px);
}
.sec-head .desc { margin-top: 16px; color: var(--c-text-soft); font-size: 17px; }

.section h2 { font-size: clamp(26px, 3.6vw, 40px); }
.section .desc { color: var(--c-text-soft); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px var(--c-accent-glow); }
.btn-ghost { background: transparent; color: var(--c-text); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--c-accent-dark); border-color: #fff; transform: translateY(-2px); }
.btn-on-accent { background: #fff; color: var(--c-accent-dark); }
.btn-on-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 36px; height: 36px; transition: filter .3s var(--ease); }
.brand .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -.02em; transition: color .3s var(--ease); }

.gnb ul { list-style: none; display: flex; gap: 28px; }
.gnb a {
  font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: var(--c-text-soft); padding: 8px 0; position: relative; white-space: nowrap;
  transition: color .2s;
}
.gnb a:hover { color: var(--c-accent); }
.gnb a[aria-current="page"] { color: var(--c-text); }
.gnb a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--c-accent); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border: none; background: transparent; color: var(--c-text-soft);
  display: grid; place-items: center; cursor: pointer; border-radius: 50%; transition: all .2s;
}
.icon-btn:hover { background: var(--c-accent-soft); color: var(--c-accent); }
.icon-btn svg { width: 21px; height: 21px; }
.nav-toggle { display: none; }

/* 히어로 위 투명 헤더 (HOME) */
.site-header.is-transparent {
  background: transparent; border-color: transparent; backdrop-filter: none;
}
.site-header.is-transparent .brand-name,
.site-header.is-transparent .gnb a,
.site-header.is-transparent .icon-btn { color: #fff; }
.site-header.is-transparent .brand img { filter: brightness(0) invert(1); }
.site-header.is-transparent .gnb a[aria-current="page"]::after { background: #fff; }
.site-header.is-transparent .icon-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.site-header.is-transparent.scrolled {
  background: rgba(255,255,255,.97); border-color: var(--c-line); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.site-header.is-transparent.scrolled .brand-name,
.site-header.is-transparent.scrolled .gnb a,
.site-header.is-transparent.scrolled .icon-btn { color: var(--c-text-soft); }
.site-header.is-transparent.scrolled .brand-name { color: var(--c-text); }
.site-header.is-transparent.scrolled .brand img { filter: none; }
.site-header.is-transparent.scrolled .gnb a[aria-current="page"]::after { background: var(--c-accent); }

/* 본문이 고정 헤더에 가리지 않도록 */
.has-fixed-header { padding-top: var(--header-h); }

/* 검색창 */
.search-bar { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  display: none; border-bottom: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow-sm); }
.search-bar.open { display: block; }
.search-bar .container { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.search-bar input { flex: 1; font: inherit; padding: 11px 16px; border: 1px solid var(--c-line); border-radius: 999px; }
.search-bar input:focus { outline: none; border-color: var(--c-accent); }
.search-bar button { font: inherit; font-weight: 600; padding: 11px 22px; border: none; border-radius: 999px; background: var(--c-accent); color: #fff; cursor: pointer; }

/* ---------- 히어로 (HOME) ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: grid; place-items: center; text-align: center; color: #fff;
  background: #2a2a2a center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,28,16,.55) 0%, rgba(18,28,16,.4) 45%, rgba(18,28,16,.7) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 24px; max-width: 880px; }
.hero .kicker {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  font-size: 13px; opacity: .9; margin-bottom: 22px;
}
.hero h1 {
  font-weight: 300; font-size: clamp(40px, 7vw, 76px); letter-spacing: .01em; line-height: 1.1;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero .sub {
  margin-top: 20px; font-family: var(--font-head); font-size: clamp(15px, 2.2vw, 21px);
  font-weight: 400; letter-spacing: .2em; text-transform: uppercase; opacity: .94;
}
.hero .hero-desc { margin: 24px auto 0; max-width: 540px; color: rgba(255,255,255,.88); font-size: 16px; }
.hero .btn-row { margin-top: 36px; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px;
}
.scroll-cue::before {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  background: #fff; border-radius: 2px; transform: translateX(-50%);
  animation: scrollcue 1.6s var(--ease) infinite;
}
@keyframes scrollcue { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* ---------- 페이지 헤더 (히어로 없는 페이지) ---------- */
.page-head {
  position: relative; padding: 88px 0 64px; text-align: center;
  background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line); overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(540px 220px at 80% -20%, var(--c-accent-glow), transparent 70%),
    radial-gradient(440px 200px at 0% 120%, var(--c-accent-glow), transparent 70%);
}
.page-head .container { position: relative; }
.page-head .eyebrow { justify-content: center; }
.page-head .eyebrow::before { display: none; }
.page-head h1 { margin-top: 14px; font-weight: 300; font-size: clamp(32px, 5vw, 52px); letter-spacing: .02em; }
.page-head .lead { margin: 18px auto 0; max-width: 660px; color: var(--c-text-soft); font-size: 17px; }

/* ---------- 통계 band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 4.4vw, 50px); color: var(--c-accent); line-height: 1; letter-spacing: -.02em; }
.stat .num small { font-size: .5em; font-weight: 600; }
.stat .label { margin-top: 12px; font-size: 14px; color: var(--c-text-soft); }
.stats-band { background: var(--c-ink); color: #fff; }
.stats-band .stat .num { color: #fff; }
.stats-band .stat .label { color: rgba(255,255,255,.7); }
.stats-band .stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }

/* ---------- 회사 개요 (About) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.fact-list { list-style: none; margin-top: 24px; display: grid; gap: 0; }
.fact-list li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--c-line); }
.fact-list li:last-child { border-bottom: 1px solid var(--c-line); }
.fact-list .k { font-family: var(--font-head); font-weight: 700; color: var(--c-text); min-width: 96px; font-size: 14px; letter-spacing: .04em; }
.fact-list .v { color: var(--c-text-soft); }

/* ---------- 4대 사업영역 (Pillars) ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pillar {
  position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--c-accent); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar:hover::before { transform: scaleY(1); }
.pillar .num { position: absolute; top: 26px; right: 30px; font-family: var(--font-head); font-weight: 700; font-size: 38px; color: var(--c-bg-deep); line-height: 1; }
.pillar .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; margin-bottom: 20px; }
.pillar .ico svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 20px; }
.pillar .en { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-faint); }
.pillar p { margin-top: 14px; color: var(--c-text-soft); font-size: 15px; }

/* ---------- 카드 그리드 (아이콘 카드) ---------- */
.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icard {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.icard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icard .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; margin-bottom: 18px; }
.icard .ico svg { width: 26px; height: 26px; }
.icard h3 { font-size: 18px; color: var(--c-text); }
.icard p { margin-top: 10px; color: var(--c-text-soft); font-size: 15px; }

/* ---------- 탐색 이미지 카드 (홈 바로가기) ---------- */
.explore { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.nav-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); }
.nav-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.nav-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,22,14,0) 30%, rgba(16,22,14,.78)); }
.nav-card .lbl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 16px; color: #fff; }
.nav-card .lbl b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.nav-card .lbl span { font-size: 11.5px; opacity: .82; letter-spacing: .08em; text-transform: uppercase; }
.nav-card:hover img { transform: scale(1.08); }

/* ---------- 핵심 가치 (브랜드) ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value-card {
  position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card .ico { width: 52px; height: 52px; border-radius: 13px; background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; margin-bottom: 18px; }
.value-card .ico svg { width: 27px; height: 27px; }
.value-card h3 { font-size: 20px; color: var(--c-accent-dark); }
.value-card h3 .en { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-faint); margin-top: 4px; }
.value-card p { margin-top: 12px; color: var(--c-text-soft); font-size: 15px; }
.value-card .stack > * + * { margin-top: 6px; }

/* ---------- 특징 카드 (이미지 + 텍스트) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 80px; }
.feature .feature-img { position: relative; }
.feature .feature-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; }
.feature .step-tag { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
.feature h3 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 8px; }
.feature .bullets { list-style: none; margin-top: 18px; }
.feature .bullets li { position: relative; padding-left: 30px; margin-top: 12px; color: var(--c-text-soft); }
.feature .bullets li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6f3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.feature.reverse .feature-img { order: 2; }

/* ---------- 타임라인 (End-to-End 프로세스) ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 8px; }
.tl-step { position: relative; padding: 0 14px; text-align: center; }
.tl-step::before {
  content: ""; position: absolute; top: 26px; left: 50%; right: -50%; height: 2px; background: var(--c-line); z-index: 0;
}
.tl-step:last-child::before { display: none; }
.tl-dot {
  position: relative; z-index: 1; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-accent); color: var(--c-accent);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.tl-step.core .tl-dot { background: var(--c-accent); color: #fff; box-shadow: 0 8px 20px var(--c-accent-glow); }
.tl-step h4 { font-size: 16px; }
.tl-step p { margin-top: 8px; font-size: 13.5px; color: var(--c-text-soft); }
.tl-note { margin-top: 36px; text-align: center; color: var(--c-text-soft); }

/* ---------- 목차 칩 (브랜드) ---------- */
.toc-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.toc-chips a {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--c-accent-dark);
  background: var(--c-accent-soft); padding: 8px 16px; border-radius: 999px; transition: all .2s;
}
.toc-chips a:hover { background: var(--c-accent); color: #fff; }

/* ---------- 갤러리 (웰니스) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- TECHNOLOGY: 프로세스 / 타일 / 효과 ---------- */
.subhead { margin-top: 56px; margin-bottom: 8px; }
.subhead h2 { font-size: clamp(22px, 3vw, 30px); }
.subhead.center { text-align: center; }

.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 28px; }
.flow-step { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; position: relative; }
.flow-step .n { font-family: var(--font-head); font-weight: 700; color: var(--c-accent); font-size: 13px; }
.flow-step strong { display: block; margin-top: 6px; font-family: var(--font-head); font-size: 15px; }
.flow-step span { display: block; margin-top: 6px; color: var(--c-text-soft); font-size: 13px; line-height: 1.5; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .ico { width: 46px; height: 46px; border-radius: 11px; background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; margin-bottom: 16px; }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 17px; color: var(--c-accent-dark); }
.tile p { margin-top: 10px; color: var(--c-text-soft); font-size: 14.5px; }

.effects { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.effect { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.effect:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.effect .ico { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; }
.effect .ico svg { width: 24px; height: 24px; }
.effect h3 { font-size: 17px; color: var(--c-accent-dark); }
.effect p { margin-top: 8px; font-size: 13.5px; color: var(--c-text-soft); }

/* ---------- 특허 카드 ---------- */
.patent-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.patent {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px;
  position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.patent:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.patent .badge {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent);
  background: var(--c-accent-soft); padding: 5px 12px; border-radius: 999px;
}
.patent .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.patent h3 { margin-top: 16px; font-size: 19px; line-height: 1.4; }
.patent .area { margin-top: 14px; color: var(--c-text-soft); font-size: 14.5px; }

/* ---------- 콜아웃 / CTA band ---------- */
.callout {
  padding: 40px; text-align: center; background: var(--c-accent); color: #fff; border-radius: var(--radius);
}
.callout p + p { margin-top: 6px; }
.callout .en { font-family: var(--font-head); opacity: .92; margin-top: 14px; letter-spacing: .04em; }

.cta-band { position: relative; background: var(--c-ink); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 0%, rgba(63,111,58,.4), transparent 70%);
}
.cta-band .container { position: relative; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); }
.cta-band p { margin: 16px auto 0; max-width: 560px; color: rgba(255,255,255,.82); }
.cta-band .btn-row { margin-top: 32px; justify-content: center; }

/* ---------- CONTACT ---------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.info-stack { display: grid; gap: 22px; }
.info-card { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; background: #fff; }
.info-card h2 { font-size: 19px; }
.info-card .row { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; }
.info-card .row .ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; }
.info-card .row .ico svg { width: 19px; height: 19px; }
.info-card .row .k { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--c-text-faint); letter-spacing: .04em; }
.info-card .row .v { color: var(--c-text); }
.partner-list { list-style: none; margin-top: 8px; }
.partner-list li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--c-line); color: var(--c-text-soft); }
.partner-list li:first-child { border-top: none; }
.partner-list li b { color: var(--c-text); font-weight: 700; }
.partner-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }

.form-card { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 34px; background: #fff; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 22px; }
.form-card .desc { margin-top: 8px; color: var(--c-text-soft); }
.field { margin-top: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; font: inherit; padding: 13px 15px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-glow); }
.field textarea { min-height: 140px; resize: vertical; }
.form-card .btn { margin-top: 22px; width: 100%; }
.form-status { margin-top: 14px; font-size: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--c-accent-dark); }
.form-status.err { color: #b3261e; }

/* ---------- 푸터 (다단) ---------- */
.site-footer { background: var(--c-ink); color: #aeb4a8; padding: 64px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-brand .f-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand .f-logo img { width: 38px; height: 38px; filter: brightness(0) invert(1); }
.footer-brand .f-logo span { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; }
.footer-brand p { line-height: 1.8; max-width: 320px; }
.footer-col h4 { font-family: var(--font-head); color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #aeb4a8; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col .line { line-height: 1.9; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #7d8378; font-size: 13px; }

/* ---------- 스크롤 등장 모션 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 980px) {
  .gnb { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--c-line);
    transform: translateY(-130%); transition: transform .3s var(--ease); box-shadow: var(--shadow); }
  .gnb.open { transform: translateY(0); }
  .gnb ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .gnb li { width: 100%; }
  .gnb a { display: block; padding: 15px 28px; font-size: 15px; color: var(--c-text-soft); }
  .gnb a[aria-current="page"]::after { display: none; }
  .gnb a[aria-current="page"] { color: var(--c-accent); }
  .nav-toggle { display: grid; }
  /* 투명 헤더라도 모바일 메뉴는 흰 배경이므로 글자색 보정 */
  .site-header.is-transparent .gnb a { color: var(--c-text-soft); }
  .site-header.is-transparent .gnb a[aria-current="page"] { color: var(--c-accent); }

  .split, .feature, .feature.reverse, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media, .feature.reverse .feature-img { order: 0; }
  .pillars, .values, .patent-cards { grid-template-columns: 1fr; }
  .icards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stats-band .stat + .stat { border-left: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .explore { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: 1fr 1fr; }
  .effects { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  /* 타임라인 → 세로 */
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 420px; margin: 0 auto; }
  .tl-step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; text-align: left; padding: 0 0 28px; }
  .tl-step .tl-dot { margin: 0; }
  .tl-step::before { top: 54px; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; }
  .tl-step:last-child::before { display: none; }
  .tl-step h4, .tl-step p { grid-column: 2; }

  /* flow → 2열 */
  .flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .icards, .tiles, .effects { grid-template-columns: 1fr; }
  .explore { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero .btn-row { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero .btn-row .btn { width: auto; }
}
