
:root {
  --bg: #f5f5f5;
  --white: #ffffff;
  --surface-muted: #eeeeee;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --border: #dcdcdc;
  --accent: #8a8a8a;
  --accent-deep: #5a5a5a;
  --footer: #111111;
  --footer-fg: #b0b0b0;
  --font: "Montserrat", "Segoe UI", "Noto Sans KR", system-ui, sans-serif;
}
html:not([lang="en"]) .lang-en { display: none !important; }
html:not([lang="ko"]) .lang-ko { display: none !important; }
html:not([lang="vi"]) .lang-vi { display: none !important; }
html:not([lang="zh-CN"]) .lang-zh-CN { display: none !important; }
html:not([lang="zh-TW"]) .lang-zh-TW { display: none !important; }
html:not([lang="ja"]) .lang-ja { display: none !important; }
html:not([lang="id"]) .lang-id { display: none !important; }
html:not([lang="ms"]) .lang-ms { display: none !important; }
html:not([lang="th"]) .lang-th { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: 92%; max-width: 1100px; margin: 0 auto; }

header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo img {
  height: 44px;
  width: auto;
  max-width: min(64vw, 240px);
  object-fit: contain;
}
@media (min-width: 640px) {
  .logo img { height: 48px; max-width: 280px; }
}
@media (min-width: 920px) {
  .logo img { height: 56px; max-width: 300px; }
}
@media (min-width: 1280px) {
  .logo img { height: 64px; max-width: 380px; }
}
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-links { display: flex; gap: 0.15rem; }
.nav-links a {
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav-links a:hover { background: var(--surface-muted); color: var(--ink); }
#lang-selector {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6b6b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
#lang-selector:focus { border-color: var(--accent); }
.menu-btn {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hero-inner { text-align: center; padding: 4rem 0 4.5rem; }
.brand-name {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-name .y { color: var(--accent); }
.brand-rule {
  width: 12rem;
  height: 1px;
  margin: 0.75rem auto;
  background: rgba(26,26,26,0.25);
}
.hero-box {
  display: inline-block;
  margin: 1.75rem auto 0;
  padding: 2rem 4.5rem;
  min-width: min(92vw, 32rem);
  background: linear-gradient(180deg, #6a6e76 0%, #4a4e56 48%, #3a3e46 100%);
  border: 1px solid #8a8e96;
  border-radius: 1rem;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 12px 36px rgba(0,0,0,0.24);
}
.hero-slogan {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #f2f3f5;
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.hero-slogan-line {
  display: block;
  text-align: center;
}
.hero-sub {
  margin: 1.35rem auto 0;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: clamp(0.72rem, 1.55vw, 1.0rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-sub-line {
  display: block;
  text-align: center;
}
@media (max-width: 720px) {
  .hero-box {
    padding: 1.5rem 2.25rem;
    min-width: min(92vw, 24rem);
  }
}
@media (max-width: 480px) {
  .hero-box {
    padding: 1.25rem 1.35rem;
    min-width: 0;
    max-width: 100%;
  }
  .hero-slogan {
    font-size: 1.15rem;
    gap: 0.25rem;
  }
  .hero-sub {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    padding: 0 0.25rem;
  }
}

section { padding: 4rem 0; }
.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.offerings-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.offerings-title .bar {
  width: 3rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
}
@media (min-width: 640px) {
  .offerings-title {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
  }
  .offerings-title .bar {
    width: 3px;
    height: 0.95em;
  }
}
.section-lead {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
h2.section-title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #b0b0b0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.card-media {
  aspect-ratio: 4/3;
  background: var(--surface-muted);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body { padding: 1rem 1.15rem 1.25rem; }
.card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.card-rule {
  margin-top: 0.7rem;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0.18);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.card:hover .card-rule { transform: scaleX(1); }
.card p {
  margin: 0.7rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

#partnership {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.sourcing {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.step {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  list-style: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.step:hover {
  transform: translateY(-2px);
  border-color: #b0b0b0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.step-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.step-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent);
  flex-shrink: 0;
}
.step-n {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.step h3 {
  margin: 0.7rem 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.step .card-rule {
  /* Inherit width and transition from standard .card-rule */
}
.step:hover .card-rule {
  transform: scaleX(1);
}
.step p {
  margin: 0.7rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
ol.cards { padding: 0; margin: 2.5rem 0 0; }

.inquiry {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
}
.inquiry-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .inquiry-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3.5rem;
  }
}
.inquiry-copy { padding-top: 0.25rem; }
.inquiry-lead {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.inquiry-sub {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}
.form-card {
  max-width: none;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--ink);
}
.form-group input { height: 2.75rem; }
.form-group textarea { min-height: 7rem; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 100%;
  padding: 0 1.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
}
.btn:hover { background: #000; }
#formStatus {
  display: none;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

footer {
  background: var(--footer);
  color: var(--footer-fg);
  padding: 2.5rem 0;
}
.footer-info { font-size: 0.875rem; line-height: 1.7; }
.footer-info p { margin: 0 0 0.5rem; }
.footer-info strong { color: #fff; }
.footer-copyright {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
}

/* Seyeon navigation and preferences. The compact breakpoint leaves room for all nine labels. */
html { color-scheme: light; scroll-padding-top: 110px; }
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15171b; --white: #202329; --surface-muted: #292d34;
  --ink: #f1f2f4; --ink-soft: #d0d3d9; --muted: #a4aab3;
  --border: #414650; --accent: #aeb4be; --accent-deep: #c7cbd2;
}
header { background: var(--white); }
html[data-theme="dark"] .logo { background: #fff; border-radius: 6px; }
html[data-theme="dark"] .brand-rule { background: var(--border); }
html[data-theme="dark"] .btn { color: #15171b; }
html[data-theme="dark"] .btn:hover { background: #d0d3d9; }
.nav-container { position: relative; }
.nav-right, .nav-controls { display: flex; align-items: center; gap: .75rem; }
.nav-right { flex-shrink: 0; }
.language-control { position: relative; }
#lang-selector { display: none; }
#lang-toggle, #theme-toggle {
  min-height: 44px; border: 1px solid var(--border); border-radius: 6px;
  background: var(--white); color: var(--ink-soft); cursor: pointer;
}
#lang-toggle { padding: .45rem .75rem; font-size: .875rem; font-weight: 600; max-width: 180px; }
#lang-toggle::after { content: ' ▾'; }
#theme-toggle { width: 44px; flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; }
#theme-toggle svg { width: 22px; height: 22px; }
#theme-toggle .sun, html[data-theme="dark"] #theme-toggle .moon { display: none; }
html[data-theme="dark"] #theme-toggle .sun { display: block; }
.menu-btn { color: var(--ink-soft); flex-shrink: 0; }
#lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 245px;
  max-height: min(70vh, 480px); overflow-y: auto; padding: .4rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 6px;
  box-shadow: 0 8px 24px #0002;
}
#lang-menu button { display: block; width: 100%; min-height: 44px; text-align: start; padding: .5rem .75rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
#lang-menu button:hover, #lang-menu button[aria-pressed="true"] { background: var(--surface-muted); }
.language-group + .language-group { border-top: 1px solid var(--border); margin-top: .3rem; padding-top: .3rem; }
:is(button, a, select):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.nav-links { display: flex; }
.menu-btn { display: none; }
@media (max-width: 1199px) {
  .menu-btn { display: inline-flex; }
  .nav-controls { display: none; position: absolute; top: 100%; right: 0; width: min(340px, 92vw); max-height: calc(100dvh - 90px); overflow-y: auto; padding: .75rem; background: var(--white); border: 1px solid var(--border); border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px #0002; }
  .nav-controls.open { display: flex; flex-direction: column; align-items: stretch; }
  .nav-links { display: flex; flex-direction: column; }
  .nav-links a { min-height: 44px; padding: .65rem .75rem; white-space: normal; }
  #lang-toggle, #lang-menu { display: none !important; }
  #lang-selector { display: block; min-height: 44px; width: 100%; font-size: 1rem; }
  .language-control { padding-top: .75rem; border-top: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .nav-container, .nav-right { gap: 8px; }
  .logo { min-width: 0; }
  .logo img { max-width: 100%; height: auto; max-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Keep submission feedback readable in either theme. */
#formStatus[data-state="sending"] { color: var(--ink-soft); }
#formStatus[data-state="success"] { color: #166534; }
#formStatus[data-state="error"] { color: #b91c1c; }
html[data-theme="dark"] #formStatus[data-state="success"] { color: #86efac; }
html[data-theme="dark"] #formStatus[data-state="error"] { color: #fca5a5; }
.btn:disabled { cursor: wait; opacity: .65; }
