/* 약초마을 메인. 큰 명조 헤드라인, 넓은 여백, 편집형 2단 */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f8f5f1;
  --about: #f6f3ec;
  --card: #fbf8f3;
  --ink: #26241f;
  --muted: #8a847c;
  --line: #ebe5dd;
  --point: #b0662f;
  --mari: #f5ddb0;
  --magn: #f0dde4;
  --sage: #dfe7da;
  --sky: #dfe6ec;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --serif: "Noto Serif KR", "AppleMyungjo", "Nanum Myeongjo", serif;
  --en: "Cormorant Garamond", "Times New Roman", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1918; --soft: #22201e; --about: #1a1918; --card: #242220; --ink: #ede8e1; --muted: #a59e95; --line: #35312d;
    --point: #e3a06c; --mari: #4b3d25; --magn: #45343b; --sage: #2f3a2e; --sky: #2c343a;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .about h2,
  :root:not([data-theme="light"]) .biz h3 { color: var(--ink); }
  :root:not([data-theme="light"]) .about .eyebrow,
  :root:not([data-theme="light"]) .about .lead,
  :root:not([data-theme="light"]) .biz .en-s,
  :root:not([data-theme="light"]) .biz p { color: var(--muted); }
}
:root[data-theme="dark"] {
  --bg: #1a1918; --soft: #22201e; --about: #1a1918; --card: #242220; --ink: #ede8e1; --muted: #a59e95; --line: #35312d;
  --point: #e3a06c; --mari: #4b3d25; --magn: #45343b; --sage: #2f3a2e; --sky: #2c343a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 15.5px; line-height: 1.85;
  word-break: keep-all; overflow-wrap: anywhere; letter-spacing: -0.01em;
}
img { max-width: 100%; }
picture { display: contents; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--point); outline-offset: 4px; }
.wrap {
  max-width: 1480px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-family: var(--en); font-style: italic; font-size: 19px; color: var(--point); letter-spacing: 0.01em; line-height: 1.2; }
h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.4; letter-spacing: -0.03em; margin: 12px 0 0; text-wrap: balance; }
h2 em { font-style: normal; color: var(--point); }
.lead { color: var(--muted); max-width: 32em; margin: 18px 0 0; }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: transparent; }
header.top { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 6; color: #fff; background: linear-gradient(180deg, rgba(10,14,10,.55), rgba(10,14,10,.12) 70%, transparent); border-bottom: 0; }
header.top.solid { position: fixed; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 18px; flex-wrap: wrap; }
.logo, nav a, .lang-sw { white-space: nowrap; overflow-wrap: normal; }
.logo { display: flex; align-items: baseline; gap: 12px; line-height: 1; }
.logo .ko { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: 0.3em; }
.logo .en { display: none; }
nav ul { list-style: none; display: flex; gap: 4px 30px; margin: 0; padding: 0; flex-wrap: wrap; font-size: 14px; font-weight: 400; }
nav a { position: relative; padding: 4px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; border-bottom: 1px solid currentColor; transition: right .25s ease; }
nav a:hover::after { right: 0; }
.right { display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap; }
.lang-sw { display: flex; align-items: center; gap: 6px; font-size: 12.5px; letter-spacing: 0.08em; color: inherit; opacity: .85; }
.lang-sw a { padding: 4px 2px; }
.lang-sw a:hover, .lang-sw a[aria-current="page"] { opacity: 1; font-weight: 500; }

.hero { position: relative; width: 100%; aspect-ratio: auto; height: auto; min-height: calc(100vw * 338 / 1024); color: #fff; display: flex; align-items: flex-end; background: #243028; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,18,14,.58) 0%, rgba(12,18,14,.26) 36%, rgba(12,18,14,0) 58%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 88px; padding-bottom: 32px; }
.hero-copy { max-width: 26rem; }
.hero h1, .hero .lead, .vision h2, .vision .lead { text-shadow: 0 1px 14px rgba(0,0,0,.35), 0 0 2px rgba(0,0,0,.25); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.5vw, 54px); line-height: 1.22; letter-spacing: -0.02em; margin: 0; color: #fff; }
.hero .lead { color: rgba(255,255,255,.92); font-size: 14.5px; max-width: 22em; margin-top: 12px; line-height: 1.65; }
.btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.88); color: #fff; font-size: 14px; }
.btn:hover { background: #fff; color: #1c1a17; }
.badges { list-style: none; display: flex; flex: none; flex-wrap: wrap; gap: 18px; margin: 0 0 6px; padding: 0; }
.badges li { display: flex; align-items: center; gap: 0; flex: none; text-align: left; }
.badges img { width: 92px; height: 92px; flex: none; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.95); box-shadow: 0 6px 18px rgba(0,0,0,.28); position: relative; z-index: 1; }
.badges span { display: grid; gap: 1px; line-height: 1.2; white-space: nowrap; margin-left: -10px; padding: 8px 14px 9px 18px; background: rgba(18, 22, 16, .42); border-radius: 10px; }
.badges b { font-weight: 400; font-size: 12px; }
.badges strong { font-family: var(--serif); font-weight: 500; font-size: 18px; }
.badges small { font-family: var(--en); font-style: italic; font-size: 14px; opacity: .95; }

section.sec { padding-block: 72px 80px; background: var(--about); }
.about { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 28px 36px; align-items: start; }
.about .stick { position: sticky; top: 96px; }
.about .eyebrow { color: #7d7a6e; }
.about h2 { font-size: clamp(28px, 2.4vw, 38px); color: #1c1b18; line-height: 1.35; }
.about .lead { color: #8a857e; }
.biz { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.biz li { display: grid; align-content: start; gap: 0; min-width: 0; background: var(--card); overflow: hidden; }
.biz img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; display: block; align-self: start; background: transparent; }
.biz .en-s { font-family: var(--en); font-style: italic; color: #9a958c; font-size: 15px; line-height: 1.2; margin: 14px 14px 0; }
.biz h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 6px 14px 0; letter-spacing: -0.02em; color: #2a2824; }
.biz p { margin: 8px 14px 16px; color: #8e8982; font-size: 13px; line-height: 1.65; }
:root[data-theme="dark"] .about h2,
:root[data-theme="dark"] .biz h3 { color: var(--ink); }
:root[data-theme="dark"] .about .eyebrow,
:root[data-theme="dark"] .about .lead,
:root[data-theme="dark"] .biz .en-s,
:root[data-theme="dark"] .biz p { color: var(--muted); }

.vision { position: relative; color: #fff; background: #102018; }
.vision-bg { position: relative; aspect-ratio: auto; min-height: max(320px, calc(100vw * 351 / 1024)); height: auto; display: flex; align-items: center; }
.vision-copy.wrap { width: 100%; max-width: none; padding-left: max(36px, env(safe-area-inset-left, 0px)); padding-right: max(36px, env(safe-area-inset-right, 0px)); }
.vision-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.vision-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,14,.46) 0%, rgba(16,24,14,.14) 26%, rgba(16,24,14,0) 46%); pointer-events: none; }
.vision-copy { position: relative; z-index: 1; padding-block: 64px 56px; }
.vision h2 { max-width: 12em; }
.vision .eyebrow { color: #f0d7b4; }
.vision h2 { color: #fff; margin-top: 6px; font-size: clamp(26px, 2.5vw, 40px); }
.vision .lead { color: rgba(255,255,255,.92); margin-top: 6px; max-width: 36em; }
.vision > .wrap { max-width: none; width: 100%; padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
.plan { position: relative; z-index: 1; list-style: none; margin: 10px 0 0; padding: 0 0 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.plan li { position: relative; aspect-ratio: auto; min-height: 150px; height: auto; display: grid; align-content: start; gap: 2px; padding: 18px 20px; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.plan li::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,10,8,.78) 0%, rgba(6,10,8,.42) 38%, rgba(6,10,8,.08) 68%); }
.plan svg, .plan .st, .plan b, .plan p { position: relative; z-index: 1; }
.plan svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plan .st { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: rgba(255,255,255,.8); }
.plan b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.plan p { margin: 0; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.7; }

footer { background: var(--soft); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
footer .wrap { padding-block: 48px 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; }
.flinks { grid-column: 1 / -1; display: flex; gap: 22px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.flinks .priv { font-weight: 700; }
footer dl { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 0; line-height: 1.9; }
footer dl > div { display: flex; gap: 6px; }
footer dd { margin: 0; color: var(--ink); opacity: .8; }
.flogo { font-family: var(--serif); font-size: 16px; letter-spacing: 0.3em; color: var(--ink); text-align: right; }
.cline { grid-column: 1 / -1; font-family: var(--en); font-size: 13px; }

.rise { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.rise.pre { transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { .rise, .rise.pre { transition: none; transform: none; } }

html[lang="en"] .hero h1,
html[lang="en"] h2,
html[lang="en"] .biz h3,
html[lang="en"] .plan b,
html[lang="en"] .badges strong,
html[lang="en"] .logo .ko,
html[lang="en"] .flogo { font-family: var(--en); letter-spacing: -0.01em; }
html[lang="en"] .hero h1 { font-weight: 500; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.1; }
html[lang="en"] h2 { font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; }
html[lang="en"] .biz h3 { font-size: 22px; font-weight: 500; }
html[lang="en"] .plan b { font-size: 22px; font-weight: 500; }
html[lang="en"] .logo .ko,
html[lang="en"] .flogo { letter-spacing: 0.04em; font-weight: 500; }
html[lang="en"] .logo .ko { font-size: 24px; }
html[lang="en"] .logo .en,
html[lang="en"] .biz .en-s { font-family: var(--sans); font-style: normal; font-size: 12.5px; }

@media (max-width: 1100px) {
  .biz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vision-bg { aspect-ratio: auto; min-height: max(300px, calc(100vw * 351 / 1024)); align-items: center; }
  .plan li { aspect-ratio: auto; min-height: 190px; }
}
@media (max-width: 960px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .about .stick { position: static; }
  .hero-inner { flex-wrap: wrap; }
  .hero { aspect-ratio: auto; height: auto; min-height: 460px; }
}
@media (max-width: 720px) {
  header.top .wrap { padding-block: 12px; gap: 8px; flex-wrap: nowrap; }
  .logo .ko { font-size: 18px; letter-spacing: 0.08em; }
  .right { gap: 12px; flex-wrap: nowrap; }
  nav ul { gap: 2px 12px; font-size: 13px; flex-wrap: nowrap; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; height: auto; aspect-ratio: auto; }
  .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-position: center 40%; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 84px; padding-bottom: 28px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 15.5px; }
  .hero::after { background: linear-gradient(180deg, rgba(12,18,14,.28) 0%, rgba(12,18,14,.08) 28%, rgba(12,18,14,.55) 100%); }
  .badges { flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; }
  .badges img { width: 68px; height: 68px; }
  .badges strong { font-size: 16px; }
  section.sec { padding-block: 68px 56px; }
  .about { gap: 28px; }
  .biz { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vision-bg { min-height: 360px; aspect-ratio: auto; align-items: center; }
  .vision-bg img { object-position: center 40%; }
  .vision-copy.wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .vision-bg::after { background: linear-gradient(180deg, rgba(16,24,14,.18) 0%, rgba(16,24,14,.42) 45%, rgba(16,24,14,.42) 75%, rgba(16,24,14,.2) 100%); }
  .vision-copy { padding-block: 56px 40px; }
  .vision h2 { font-size: 28px; }
  .vision .lead { font-size: 14.5px; }
  .vision > .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .plan { margin-top: 12px; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
  .plan li { aspect-ratio: auto; min-height: 200px; padding: 18px 16px; }
  .plan b { font-size: 20px; }
  .plan p { font-size: 13.5px; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 36px 48px; }
  footer dl { gap: 6px 0; }
  footer dl > div { flex-basis: 100%; align-items: baseline; }
  footer dt { white-space: nowrap; }
  footer dd { min-width: 0; }
  .flogo { text-align: left; }
  html[lang="en"] .hero h1 { font-size: 30px; }
  html[lang="en"] .logo .ko { font-size: 17px; }
}
@media (max-width: 380px) {
  header.top .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .right { gap: 10px; }
  nav ul { gap: 2px 10px; font-size: 12.5px; }
  .lang-sw { font-size: 11.5px; gap: 4px; }
  html[lang="en"] .logo .ko { font-size: 16px; }
  html[lang="en"] nav ul { font-size: 12px; }
}
