:root {
  --color-bg: #f2f4ef;
  --color-surface: #ffffff;
  --color-soft: #dce2d6;
  --color-text: #151815;
  --color-sub: #5e665e;
  --color-line: #c8cec6;
  --color-primary: #204b35;
  --color-accent: #c7ff3d;
  --color-signal: #ff6b4a;
  --color-dark: #111713;
  --font-heading: Pretendard, SUIT, "Noto Sans KR", Arial, sans-serif;
  --font-body: Pretendard, SUIT, "Noto Sans KR", Arial, sans-serif;
  --container: 1180px;
  --pad-x: clamp(24px, 5vw, 72px);
  --section-y: clamp(88px, 10vw, 150px);
  --gap-lg: clamp(44px, 7vw, 92px);
  --gap-md: 32px;
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --border: 1px solid color-mix(in srgb, var(--color-line), transparent 12%);
  --shadow-soft: 0 28px 70px rgba(17, 23, 19, .12);
  --shadow-hover: 0 24px 54px rgba(17, 23, 19, .18);
  --hero-ratio: 16 / 9;
  --card-ratio: 4 / 3;
  --space-ratio: 16 / 10;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; background: var(--color-soft); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--color-signal); outline-offset: 4px; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  background: var(--color-accent);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  color: var(--color-surface);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(242, 244, 239, .92);
  color: var(--color-text);
  border-bottom: var(--border);
  backdrop-filter: blur(14px);
}
.brand-mark {
  font-weight: 600;
  letter-spacing: .34em;
  font-size: 20px;
}
.site-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.site-nav a { border-bottom: 1px solid transparent; }
.site-nav a:hover { border-color: currentColor; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: var(--border);
  background: color-mix(in srgb, var(--color-surface), transparent 82%);
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}
.hero picture,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.36), rgba(0,0,0,.05) 48%, rgba(0,0,0,.08));
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  padding: 15vh var(--pad-x) 10vh;
  color: white;
}
.eyebrow, .section-kicker, .product-code {
  margin: 0 0 16px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--color-accent); }
.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(46px, 7.8vw, 112px);
  line-height: 1.08;
  letter-spacing: .16em;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-subtitle {
  margin: 12px 0 34px;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: .28em;
}
.hero-actions, .section-heading, .pulse-tabs, .site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.button, .text-button {
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-weight: 700;
}
.button.primary { background: var(--color-accent); color: var(--color-dark); border-color: var(--color-accent); }
.button.secondary { background: rgba(255,255,255,.08); color: white; }
.button:hover, .text-button:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.button:active, .text-button:active { transform: translateY(0); }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--color-dark);
  color: white;
  border-top: 1px solid rgba(255,255,255,.16);
}
.principle {
  min-height: 92px;
  padding: 24px var(--pad-x);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 18px;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,.18);
}
.principle span { color: var(--color-accent); font-size: 24px; }
.principle small { grid-column: 2; color: rgba(255,255,255,.68); line-height: 1.5; }

.section {
  padding: var(--section-y) var(--pad-x);
  max-width: calc(var(--container) + var(--pad-x) * 2);
  margin: 0 auto;
}
.section-heading {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px;
}
.section-heading h2,
.filter-copy h2,
.service-copy h2,
.contact-section h2 {
  margin: 0;
  max-width: 720px;
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.12;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.section-heading p,
.filter-copy p,
.service-copy p {
  max-width: 430px;
  margin: 0;
  color: var(--color-sub);
}
.compact { display: block; max-width: 780px; }

.product-stage {
  display: grid;
  grid-template-columns: 1.15fr .9fr .78fr;
  gap: var(--gap-md);
  align-items: end;
}
.product-panel {
  display: grid;
  gap: 22px;
  border-top: 1px solid var(--color-text);
  padding-top: 18px;
}
.product-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.product-panel.frame { transform: translateY(42px); }
.product-panel.desk { transform: translateY(-26px); }
.product-panel.desk img { aspect-ratio: 1 / 1; }
.product-panel h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; }
.product-panel p { margin: 0; color: var(--color-sub); }
.text-button {
  margin-top: 16px;
  padding: 8px 14px;
  color: var(--color-primary);
  background: transparent;
}

.filter-section {
  display: grid;
  grid-template-columns: minmax(280px, .34fr) minmax(0, 1fr);
  gap: var(--gap-lg);
  align-items: center;
  padding: var(--section-y) var(--pad-x);
  background: var(--color-dark);
  color: white;
}
.filter-section .section-kicker { color: var(--color-accent); }
.filter-section p { color: rgba(255,255,255,.72); }
.filter-section img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
}

.pulse-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0;
  border: var(--border);
  background: var(--color-surface);
}
.pulse-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}
.pulse-panel {
  padding: 34px;
  display: grid;
  align-content: space-between;
  border-left: var(--border);
}
.pulse-tabs {
  display: grid;
  gap: 10px;
}
.pulse-tabs button {
  width: 100%;
  padding: 12px 14px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}
.pulse-tabs button[aria-selected="true"] {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.pulse-content h3 { margin: 10px 0 14px; font-size: 30px; line-height: 1.2; word-break: keep-all; }
.pulse-content p { color: var(--color-sub); }
.pulse-mode { color: var(--color-signal) !important; font-weight: 700; }

.material-grid {
  display: grid;
  grid-template-columns: .88fr 1.16fr .96fr;
  gap: 2px;
}
.material-grid figure {
  margin: 0;
  background: var(--color-surface);
  border: var(--border);
}
.material-grid img {
  width: 100%;
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
}
.material-grid figcaption {
  display: grid;
  gap: 8px;
  padding: 24px;
  min-height: 132px;
}
.material-grid span { color: var(--color-sub); }

.circularity {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 0;
  background: var(--color-soft);
}
.circularity img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.service-copy { padding: clamp(48px, 7vw, 92px); align-self: center; }
.service-copy ol {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  border-top: var(--border);
}
.service-copy li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: var(--border);
}
.service-copy span { color: var(--color-signal); font-weight: 700; }

.journal-list {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: var(--gap-md);
}
.journal-item {
  display: grid;
  gap: 16px;
  border-top: var(--border);
  padding-top: 18px;
}
.journal-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.journal-item span { color: var(--color-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.journal-item strong { font-size: clamp(22px, 3vw, 34px); line-height: 1.22; word-break: keep-all; }

.contact-section {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: var(--gap-lg);
  padding: var(--section-y) var(--pad-x);
  background: var(--color-dark);
  color: white;
}
.contact-section .section-kicker { color: var(--color-accent); }
.faq { margin-top: 42px; border-top: 1px solid rgba(255,255,255,.18); }
.faq details { border-bottom: 1px solid rgba(255,255,255,.18); }
.faq summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
}
.faq p { margin: 0 0 22px; color: rgba(255,255,255,.72); }
.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
}
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.84); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: rgba(255,255,255,.08);
  color: white;
}
.contact-form select option { color: var(--color-text); }
.contact-form .is-invalid {
  border-color: var(--color-signal);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-signal), transparent 68%);
}
.form-status { min-height: 24px; margin: 0; color: var(--color-accent); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px var(--pad-x);
  background: #0b0f0d;
  color: white;
  border-top: 1px solid rgba(255,255,255,.16);
}
.site-footer strong { letter-spacing: .28em; }
.site-footer span { color: rgba(255,255,255,.62); }

.product-dialog {
  width: min(880px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius-md);
  padding: 0;
  color: var(--color-text);
  background: var(--color-surface);
  box-shadow: var(--shadow-hover);
}
.product-dialog::backdrop { background: rgba(10, 14, 12, .68); }
.product-dialog[open] {
  display: grid;
  grid-template-columns: .95fr 1fr;
}
.product-dialog img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}
.product-dialog > div { padding: 42px; }
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  cursor: pointer;
}
.dialog-points { padding-left: 18px; color: var(--color-sub); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    padding: 24px;
    background: var(--color-surface);
    color: var(--color-text);
    border: var(--border);
    box-shadow: var(--shadow-soft);
  }
  .site-header.is-open .site-nav { display: grid; }
  .principles, .product-stage, .filter-section, .pulse-shell, .material-grid, .circularity, .journal-list, .contact-section {
    grid-template-columns: 1fr;
  }
  .principle { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .product-panel.frame, .product-panel.desk { transform: none; }
  .pulse-panel { border-left: 0; border-top: var(--border); }
  .pulse-visual img { min-height: 420px; }
  .circularity img { min-height: 360px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  :root { --pad-x: 22px; --section-y: 76px; }
  .hero { min-height: 88vh; align-items: end; }
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.08) 62%); }
  .hero-copy { padding-top: 28vh; }
  .hero h1 { font-size: clamp(42px, 14vw, 66px); letter-spacing: .14em; }
  .hero-subtitle { letter-spacing: .16em; }
  .section-heading { margin-bottom: 44px; }
  .product-panel { min-width: 78vw; scroll-snap-align: start; }
  .product-stage {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
  }
  .pulse-panel, .contact-form, .material-grid figcaption { padding: 24px; }
  .product-dialog[open] { grid-template-columns: 1fr; }
  .product-dialog img { min-height: 280px; max-height: 42vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
