:root {
  --bg: #fbfbf8;
  --bg-alt: #f3f4ef;
  --ink: #23262a;
  --ink-soft: #565b60;
  --green: #1f4d3a;
  --green-dark: #143528;
  --line: #dfe1da;
  --white: #ffffff;
  --header-h: 64px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-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(--font); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #8cc63f; outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--white); color: var(--green); padding: 8px 14px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }
.lead { font-size: 1.2rem; max-width: 46em; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); background: rgba(16, 32, 26, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header-inner { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.brand img { width: 40px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; color: var(--white); text-decoration: none; font-size: 0.95rem; border-radius: 4px; }
.site-nav a:hover { background: rgba(255, 255, 255, 0.12); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); border-radius: 4px; padding: 8px 12px; font: inherit; font-size: 0.95rem; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -5px; } .nav-toggle-bars::after { top: 5px; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--green-dark); display: none; border-top: 1px solid rgba(255,255,255,0.15); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .site-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0; }
  /* Without JavaScript the menu stays visible as a wrapped row */
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { display: block; position: static; background: none; border: 0; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: flex-end; color: var(--white); background: var(--green-dark) url("assets/img/hero-poster.jpg") center / cover no-repeat; overflow: hidden; }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video.is-hidden { display: none; }
.hero-overlay { background: linear-gradient(180deg, rgba(10, 24, 18, 0.55) 0%, rgba(10, 24, 18, 0.62) 45%, rgba(10, 24, 18, 0.86) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 48px); padding-bottom: 96px; }
.hero-location { font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 18px; opacity: 0.92; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 4.4rem); font-weight: 700; max-width: 14em; margin-bottom: 22px; overflow-wrap: break-word; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 38em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 1rem; border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--white); color: var(--green-dark); }
.btn-primary:hover { background: #e9efe9; }
.btn-ghost { border-color: rgba(255,255,255,0.85); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.video-toggle { position: absolute; z-index: 3; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.5); color: var(--white); border: 1px solid rgba(255,255,255,0.6); border-radius: 4px; padding: 8px 12px; font: inherit; font-size: 0.85rem; cursor: pointer; }
.video-toggle-icon { width: 12px; height: 12px; display: inline-block; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.video-toggle[aria-pressed="true"] .video-toggle-icon { border: 0; border-left: 11px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@media (max-width: 600px) {
  .hero-content { padding-bottom: 88px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .video-toggle { right: 16px; bottom: auto; top: calc(var(--header-h) + 12px); }
  .hero-content { padding-top: calc(var(--header-h) + 72px); }
}
@media (max-width: 380px) {
  .header-inner { padding: 0 14px; }
  .brand { font-size: 0.95rem; gap: 8px; }
  .brand img { width: 32px; }
  .nav-toggle { padding: 7px 10px; }
}

/* Sections */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 28px; }
@media (max-width: 600px) { .section { padding: 64px 0; } .container { padding: 0 18px; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service { padding: 28px 28px 8px 0; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--line); }
.service h3 { font-size: 1.3rem; color: var(--green); margin-bottom: 12px; }
.service-note { font-size: 0.95rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 24px 0 8px; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
}
.flow { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.flow-title { font-size: 1rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 16px; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; counter-reset: step; }
.flow-steps li { counter-increment: step; font-weight: 600; color: var(--green-dark); display: inline-flex; align-items: center; }
.flow-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 0.8rem; margin-right: 8px; flex: none; }
.flow-steps li:not(:last-child)::after { content: "→"; margin: 0 14px; color: var(--ink-soft); font-weight: 400; }
@media (max-width: 600px) {
  .flow-steps { flex-direction: column; align-items: flex-start; }
  .flow-steps li:not(:last-child)::after { content: none; }
}
.retail-photos { margin: 56px 0 0; }
.retail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.retail-grid img { width: 100%; aspect-ratio: 379 / 549; object-fit: cover; border-radius: 3px; }
.retail-photos figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 700px) { .retail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Brands */
.brand-tag { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 8px; }
.brand-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.brand-feature h3, .brand-item h3 { font-size: 1.8rem; margin-bottom: 12px; }
.brand-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.plain-list { margin: 0 0 1em; padding-left: 1.1em; }
.text-link { font-weight: 600; }
.text-link.strong { font-size: 1.05rem; }
.brand-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-item { padding: 40px 40px 0 0; }
.brand-item + .brand-item { padding-left: 40px; border-left: 1px solid var(--line); }
@media (max-width: 860px) {
  .brand-feature { grid-template-columns: 1fr; gap: 28px; }
  .brand-pair { grid-template-columns: 1fr; }
  .brand-item, .brand-item + .brand-item { padding: 32px 0 0; border-left: 0; }
  .brand-item + .brand-item { margin-top: 32px; border-top: 1px solid var(--line); }
}

/* Documents */
.doc-group { border-top: 1px solid var(--line); margin-top: 8px; }
.doc-group:last-of-type { border-bottom: 1px solid var(--line); }
.doc-group summary { cursor: pointer; padding: 20px 0 20px 1.8em; position: relative; display: block; list-style: none; }
.doc-group summary .doc-count { margin-left: 12px; white-space: nowrap; }
.doc-group summary::-webkit-details-marker { display: none; }
.doc-group summary::before { content: "+"; position: absolute; left: 0; top: 22px; width: 1.2em; font-weight: 400; color: var(--green); font-size: 1.3rem; line-height: 1; }
.doc-group[open] summary::before { content: "−"; }
.doc-group-title { font-size: 1.25rem; font-weight: 700; }
.doc-count { color: var(--ink-soft); font-size: 0.95rem; }
.doc-list { list-style: none; margin: 0 0 16px; padding: 0; }
.doc-row { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.7fr) minmax(0, 1.2fr) auto; gap: 6px 20px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.doc-row:target { background: #e7efe6; }
.doc-name { font-weight: 600; overflow-wrap: anywhere; }
.doc-no { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.doc-link { font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) {
  .doc-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .doc-no, .doc-date { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; }
  .label { display: inline; }
}

/* Contact */
.contact-list { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.contact-list > div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
@media (max-width: 700px) { .contact-list { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--green-dark); color: #dfe8e2; padding: 40px 0; font-size: 0.95rem; }
.footer-inner p { margin: 0 0 6px; }
.footer-brand { font-weight: 700; color: var(--white); font-size: 1.05rem; }

/* Chungwoo Foods */
.chungwoo { padding-top: 48px; }
.chungwoo-head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.chungwoo-logo { width: 180px; height: auto; background: var(--white); padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; }
.chungwoo h3 { font-size: 1.8rem; }
.chungwoo h4 { font-size: 1.05rem; margin: 24px 0 8px; }
.chungwoo-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
.lead-sm { font-size: 1.15rem; font-weight: 600; color: var(--green-dark); }
.btn-solid { background: var(--green); color: var(--white); }
.btn-solid:hover { background: var(--green-dark); }
.chungwoo-products h4 { margin-top: 0; padding-bottom: 8px; }
.chungwoo-products h4 .doc-count { font-weight: 400; margin-left: 8px; }
.cw-cat { border-top: 1px solid var(--line); }
.cw-cat:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.cw-cat summary { cursor: pointer; padding: 14px 0 14px 1.8em; position: relative; list-style: none; }
.cw-cat summary::-webkit-details-marker { display: none; }
.cw-cat summary::before { content: "+"; position: absolute; left: 0; top: 12px; color: var(--green); font-size: 1.3rem; line-height: 1; }
.cw-cat[open] summary::before { content: "−"; }
.cw-cat-title { font-weight: 600; margin-right: 10px; }
.cw-list { list-style: none; margin: 0 0 16px; padding: 0 0 0 1.8em; columns: 2; column-gap: 24px; font-size: 0.95rem; }
.cw-list li { break-inside: avoid; padding: 3px 0; }
@media (max-width: 860px) { .chungwoo-body { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 420px) { .cw-list { columns: 1; } }

.contact-address { grid-column: 1 / -1; }
.map-link { display: inline-block; margin-top: 8px; font-size: 1rem; }
.map { margin-top: 32px; width: 100%; height: clamp(280px, 40vw, 460px); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.map { position: relative; }
.map iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; }
.map-fallback { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center; padding: 16px; color: var(--ink-soft); }

/* Consulting */
.sub-title { font-size: 1.15rem; margin-bottom: 16px; color: var(--green-dark); }
.consult-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 40px; }
.consult-list { margin: 0; border-top: 1px solid var(--line); }
.consult-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.consult-list dt { font-weight: 700; margin-bottom: 4px; }
.consult-list dd { margin: 0; color: var(--ink-soft); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 20px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-size: 0.85rem; font-weight: 600; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { display: block; }
.steps span { color: var(--ink-soft); }
.track { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.consult-note { margin-top: 32px; max-width: 60em; }
@media (max-width: 860px) { .consult-grid { grid-template-columns: 1fr; gap: 40px; } }
