/* LOA International — theme */
:root {
  /* 청록 계열은 로고색 #446069 에서 뽑음 */
  --logo: #446069;
  --ink: #15292f;
  --teal: #2b4950;
  --teal-2: #446069;
  --gold: #c39a52;
  --gold-soft: #e7d3ab;
  --cream: #f7f3ec;
  --bg: #ffffff;
  --text: #1c2b2e;
  --muted: #5e6d70;
  --line: #e6e0d5;
  --radius: 16px;
  --container: 1180px;
  --header-h: 76px;
  --sans: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* Language switch: show only the active language */
html[data-lang="en"] body [lang="ko"],
html[data-lang="ko"] body [lang="en"] { display: none !important; }
html[data-lang="ko"] body { word-break: keep-all; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
ol, ul { list-style: none; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px; border: 1.5px solid var(--gold); background: var(--gold); color: #fff; font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(195, 154, 82, .35); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); box-shadow: none; }
.btn-small { padding: 9px 20px; font-size: .9rem; }

/* Logo */
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.logo--footer img { height: auto; width: 190px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15,42,46,.06); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: none; font: 600 .75rem/1 var(--sans); letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.lang-switch button.active { background: var(--ink); color: #fff; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 6px 9px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Common text */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
html[data-lang="ko"] .eyebrow { letter-spacing: .12em; }
.section { padding: 120px 0; }
.section h2 { font: 600 clamp(2rem, 4vw, 2.9rem)/1.15 var(--serif); letter-spacing: -.01em; margin: 14px 0 20px; color: var(--ink); }
html[data-lang="ko"] .section h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.02em; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose { color: var(--muted); font-size: 1.04rem; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 110px) 0 110px; background: radial-gradient(1200px 600px at 85% 0%, var(--teal-2), transparent 60%), linear-gradient(160deg, var(--teal) 0%, var(--ink) 70%); }
.hero-bg { position: absolute; right: -6vw; bottom: -5vw; width: min(64vw, 900px); height: auto; opacity: .06; pointer-events: none; user-select: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { font: 500 clamp(2.6rem, 5.6vw, 4.6rem)/1.05 var(--serif); letter-spacing: -.015em; margin: 22px 0 24px; }
.hero h1 em { color: var(--gold); }
html[data-lang="ko"] .hero h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.2; letter-spacing: -.03em; }
html[data-lang="ko"] .hero h1 em { font-style: normal; }
.hero .lead { color: rgba(255,255,255,.78); max-width: 560px; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-points { display: grid; gap: 14px; }
.hero-points li { padding: 22px 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); color: rgba(255,255,255,.72); font-size: .95rem; }
.hero-points strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 4px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.about-block { padding: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.about-block--accent { background: var(--cream); border-color: transparent; }
.about-block h2 { font-size: clamp(1.7rem, 3vw, 2.2rem) !important; }

.history { margin-top: 96px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 40px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); }
.timeline-year { font: 600 1.6rem/1.2 var(--serif); color: var(--gold); }
html[data-lang="ko"] .timeline-year { font-family: var(--sans); font-size: 1.2rem; font-weight: 700; }
.timeline h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--ink); }
.timeline p { color: var(--muted); }

/* Brands */
.section-cream { background: var(--cream); }
.section-note { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 6px; vertical-align: middle; }
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 128px; padding: 20px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.brand:hover { transform: translateY(-4px); border-color: var(--gold-soft); box-shadow: 0 14px 34px rgba(15,42,46,.08); }
.brand span { font: 600 1.55rem/1.1 var(--serif); color: var(--ink); }
.brand small { margin-top: 6px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.brand--direct::after { content: ""; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,42,46,.08); }
.product-icon { width: 52px; height: 52px; padding: 10px; border-radius: 14px; background: var(--cream); fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.product-card h3 { font: 600 1.6rem/1.2 var(--serif); color: var(--ink); margin-bottom: 10px; }
.product-card p { color: var(--muted); font-size: .96rem; }
.product-brands { margin-top: auto; padding-top: 18px; font-size: .82rem !important; color: var(--teal) !important; font-weight: 500; }
.products-more { margin-top: 36px; padding: 18px 24px; border-radius: 12px; background: var(--cream); color: var(--muted); font-size: .95rem; text-align: center; }

/* Wholesale */
.section-dark { background: linear-gradient(160deg, var(--ink), var(--teal)); color: #fff; }
.section-dark h2 { color: #fff !important; }
.section-dark .lead { color: rgba(255,255,255,.75); }
.section-dark .eyebrow { color: var(--gold-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 34px 30px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.step-no { display: block; font: 600 2.4rem/1 var(--serif); color: var(--gold); margin-bottom: 18px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { color: rgba(255,255,255,.72); font-size: .96rem; }
.steps a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(195,154,82,.6); }
.app-banner { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--radius); background: rgba(195,154,82,.12); border: 1px solid rgba(195,154,82,.35); }
.app-banner h3 { font-size: 1.35rem; }
.app-banner p { color: rgba(255,255,255,.72); }
.steps b { color: #fff; font-weight: 600; }
.app-code { margin-top: 10px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft) !important; }
.app-code b { margin-left: 6px; padding: 3px 10px; border-radius: 6px; background: rgba(255,255,255,.1); color: #fff; font: 600 .95rem/1.4 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.web-order { margin-top: 20px; text-align: center; font-size: .95rem; color: rgba(255,255,255,.7); }
.web-order a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(195,154,82,.6); }
.web-order a:hover { color: var(--gold-soft); }
.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: #0b1d20; border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; transition: border-color .2s; }
.store-btn:hover { border-color: var(--gold); }
.store-btn svg { width: 24px; height: 24px; fill: currentColor; }
.store-btn span { display: flex; flex-direction: column; font-weight: 600; line-height: 1.15; }
.store-btn small { font-size: .62rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { display: grid; gap: 22px; margin-top: 28px; }
.contact-list dt { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list dd { font-size: 1.12rem; color: var(--ink); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold); }
.chip { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .78rem; vertical-align: middle; }
.inquiry { padding: 40px; border-radius: var(--radius); background: var(--cream); display: grid; gap: 16px; }
.inquiry h3 { font: 600 1.7rem/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
html[data-lang="ko"] .inquiry h3 { font-family: var(--sans); font-size: 1.3rem; font-weight: 700; }
.inquiry label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.inquiry input, .inquiry textarea { width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 400 1rem/1.4 var(--sans); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.inquiry input:focus, .inquiry textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195,154,82,.18); }
.inquiry input.invalid { border-color: #c0392b; }
.inquiry textarea { resize: vertical; }
.inquiry .btn { justify-self: start; }
.form-status { min-height: 1.4em; font-size: .9rem; color: var(--teal); }
.form-status.error { color: #c0392b; }
.map { margin-top: 64px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--cream); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: .93rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-address { margin-top: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .82rem; opacity: .7; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-points { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(15,42,46,.08); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .site-nav a.btn { justify-content: center; margin: 14px 24px 18px; border-top: 0; }
  .header-tools { margin-left: auto; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: calc(var(--header-h) + 72px) 0 80px; }
  .hero-points { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .steps { grid-template-columns: 1fr; }
  .about-block { padding: 30px 24px; }
  .history { grid-template-columns: 1fr; gap: 16px; margin-top: 72px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 34px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand { min-height: 104px; }
  .brand span { font-size: 1.35rem; }
  .product-grid { grid-template-columns: 1fr; }
  .inquiry { padding: 28px 22px; }
  .map { height: 300px; margin-top: 48px; }
  .footer-links { text-align: left; }
}
