:root {
  --bg: #f6f1e8;
  --panel: #fffdf8;
  --ink: #151515;
  --muted: #5a625d;
  --green: #2f4f45;
  --orange: #b86b4f;
  --gold: #c8a45c;
  --line: rgba(21, 21, 21, 0.09);
  --shadow: 0 16px 42px rgba(21, 21, 21, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans KR", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(201, 110, 82, 0.12), transparent 32%),
    radial-gradient(circle at 10% 16%, rgba(49, 93, 82, 0.1), transparent 28%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(27, 31, 36, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 31, 36, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 74%);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button, input { font: inherit; }

.page {
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.site-header {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 10px 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: grid;
  gap: 2px;
}

.brand-mark {
  font-weight: 800;
  letter-spacing: -0.06em;
  font-size: 1.9rem;
}

.brand-copy,
.eyebrow,
.copyright,
.search-form input,
.help-panel span,
.feature-stat span,
.world-card p,
.news-card p,
.hero-text,
.help-copy p,
blockquote p,
blockquote cite {
  color: var(--muted);
}

.brand-copy,
.eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-weight: 600;
  padding: 8px 0;
}

.menu-toggle {
  display: none;
}

.search-form {
  justify-self: end;
}

.search-form input {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.62);
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
  min-height: 78vh;
  align-items: stretch;
}

.hero-visual {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
}

.hero-media,
.card-image,
.sector-visual,
.news-image {
  background-size: cover;
  background-position: center;
  border-radius: 30px;
}

.hero-media {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.02), rgba(255, 250, 243, 0.35)),
    url("/assets/hero-pattern.svg");
  border: 1px solid var(--line);
  box-shadow: none;
  min-height: 640px;
  position: relative;
}

.hero-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.8);
  border-radius: 0;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.hero-note span {
  color: var(--muted);
}

.hero-divider {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.hero-list li {
  padding: 14px 10px 12px 0;
  border-right: 1px solid var(--line);
}

.hero-list li:last-child {
  border-right: 0;
}

.hero-list span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--gold);
}

.hero-list strong {
  display: block;
  margin-top: 10px;
  font-size: 0.98rem;
}

.hero-list p {
  font-size: 0.92rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 14px;
  padding: 18px 0 10px 16px;
  border-radius: 0;
  background: transparent;
  border-left: 1px solid var(--line);
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.85;
  max-width: 7ch;
}

h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.9rem);
  line-height: 0.95;
}

h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
}

p {
  margin: 0;
  line-height: 1.7;
}

.hero-text {
  max-width: 40ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.primary-btn,
.ghost-btn,
.text-link,
.sector-tab {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--green), #3f7867);
  color: #fff;
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.6);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover,
.sector-tab:hover,
.world-card:hover {
  transform: translateY(-1px);
}

.section {
  margin-top: 30px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.section-rule {
  border-bottom: 1px solid var(--line);
}

.world-grid,
.news-grid,
.quote-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.world-card,
.news-card,
.sector-panel,
.featured-section,
.help-section,
blockquote {
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--line);
  box-shadow: none;
}

.world-card,
.news-card {
  border-radius: 0;
  padding: 12px 8px 10px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.world-card.active {
  outline: 2px solid rgba(49, 93, 82, 0.3);
}

.card-image,
.news-image {
  min-height: 240px;
  margin-bottom: 16px;
}

.hotel {
  background-image: linear-gradient(135deg, rgba(49, 93, 82, 0.08), rgba(255, 250, 243, 0.1)), url("/assets/products/notebook.svg");
}

.hygiene {
  background-image: linear-gradient(135deg, rgba(201, 110, 82, 0.12), rgba(255, 250, 243, 0.1)), url("/assets/products/desk-pad.svg");
}

.prevention {
  background-image: linear-gradient(135deg, rgba(214, 167, 75, 0.14), rgba(255, 250, 243, 0.1)), url("/assets/products/stand.svg");
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
}

.sector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.sector-tab {
  background: rgba(255, 255, 255, 0.55);
}

.sector-tab.active {
  background: var(--ink);
  color: #fff;
}

.sector-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  border-radius: 0;
}

.sector-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 22px 16px 18px 0;
  border-right: 1px solid var(--line);
}

.sector-visual {
  min-height: 340px;
  background-image:
    linear-gradient(150deg, rgba(49, 93, 82, 0.14), rgba(201, 110, 82, 0.12)),
    url("/assets/products/gift-set.svg");
  border-left: 0;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  background: rgba(49, 93, 82, 0.08);
}

.news-image {
  min-height: 180px;
}

.one { background-image: url("/assets/products/envelopes.svg"); }
.two { background-image: url("/assets/products/gift-set.svg"); }
.three { background-image: url("/assets/products/tabs.svg"); }

.news-card a {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
}

.featured-section {
  margin-top: 28px;
  padding: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 0;
}

.feature-copy {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 20px 16px 20px 0;
  border-right: 1px solid var(--line);
}

.feature-panel {
  display: grid;
  gap: 12px;
  padding: 20px 0 20px 16px;
}

.feature-stat {
  border-radius: 0;
  padding: 18px;
  background: rgba(49, 93, 82, 0.045);
}

.feature-stat strong {
  display: block;
  margin-bottom: 6px;
}

.help-section {
  margin-top: 28px;
  padding: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: center;
}

.help-copy {
  display: grid;
  gap: 14px;
  padding: 20px 16px 20px 0;
  border-right: 1px solid var(--line);
}

.help-panel {
  padding: 20px 0 20px 16px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(49, 93, 82, 0.08), rgba(201, 110, 82, 0.08));
  display: grid;
  gap: 10px;
}

.testimonials {
  margin-top: 28px;
}

blockquote {
  margin: 0;
  border-radius: 0;
  padding: 18px 14px;
  display: grid;
  gap: 14px;
}

blockquote p {
  font-size: 1.02rem;
}

blockquote cite {
  font-style: normal;
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 30px;
  padding: 18px 4px 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.footer-brand,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.copyright {
  font-size: 0.9rem;
}

:focus-visible {
  outline: 3px solid rgba(201, 110, 82, 0.45);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .world-grid,
  .news-grid,
  .quote-grid,
  .featured-section,
  .help-section,
  .sector-panel {
    grid-template-columns: 1fr;
  }

  .site-header {
    justify-items: start;
  }

  .search-form {
    justify-self: stretch;
    width: 100%;
  }

  .search-form input {
    width: 100%;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-list {
    grid-template-columns: 1fr;
  }

  .hero-list li,
  .feature-copy,
  .feature-panel,
  .help-copy,
  .help-panel,
  .sector-copy {
    border-right: 0;
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 700px) {
  .page {
    width: min(100% - 20px, 1240px);
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    padding: 11px 15px;
    font-weight: 700;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    padding-top: 8px;
  }

  .main-nav.open {
    display: flex;
  }

  .hero-copy,
  .featured-section,
  .help-section,
  .sector-panel {
    padding: 18px;
  }

  h1 {
    max-width: 8ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
