:root {
  --ink: #171514;
  --soft-ink: #413c38;
  --taupe: #8f8177;
  --mauve: #b79a9a;
  --rose: #d8c0b8;
  --oat: #ebe2d8;
  --ivory: #fbf8f4;
  --mist: #eceff0;
  --sage: #9da79f;
  --line: rgba(23, 21, 20, 0.14);
  --white: #fff;
  --shadow: 0 28px 80px rgba(34, 27, 22, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", Inter, system-ui, sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 26px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(251, 248, 244, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ivory);
  background: conic-gradient(from 210deg, var(--ink), var(--mauve), var(--taupe), var(--ink));
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.brand span:last-child { display: grid; gap: 2px; }
.brand strong { font-size: 18px; font-weight: 900; letter-spacing: .01em; }
.brand small { color: var(--taupe); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.7vw, 38px);
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 800;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
}

.header-cta,
.primary-button {
  color: var(--ivory);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(23,21,20,.18);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(96px, 11vw, 150px) clamp(18px, 4vw, 64px) clamp(42px, 6vw, 78px);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251,248,244,.96) 0%, rgba(251,248,244,.84) 36%, rgba(251,248,244,.22) 68%, rgba(251,248,244,.06) 100%),
    linear-gradient(180deg, rgba(251,248,244,.14), rgba(23,21,20,.18));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--taupe);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7.8vw, 124px);
  line-height: .92;
  font-weight: 400;
  letter-spacing: -.03em;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.24;
}

.hero-copy p,
.section-copy p,
.split-copy p,
.wide-copy p,
.card p,
.review-card p,
.footer-brand p,
.text-page p {
  color: var(--soft-ink);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.tone-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tone-bar span {
  display: grid;
  min-height: 96px;
  place-items: center;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tone-bar span:nth-child(1) { background: #f6eee6; }
.tone-bar span:nth-child(2) { background: #ead8d4; }
.tone-bar span:nth-child(3) { background: #d5c2b4; }
.tone-bar span:nth-child(4) { background: #bda9a0; }
.tone-bar span:nth-child(5) { background: #9b928d; color: var(--white); border-right: 0; }

.section,
.split-section,
.wide-section,
.cards-section,
.newsletter-section,
.page-hero,
.text-page {
  padding: clamp(76px, 9vw, 138px) clamp(18px, 4vw, 64px);
}

.section-copy { max-width: 920px; margin-bottom: 42px; }

.split-section {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(320px, .92fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.split-section.reverse { grid-template-columns: minmax(320px, .88fr) minmax(420px, 1.12fr); }

.image-frame {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: var(--oat);
}

.image-frame img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }

.feature-list,
.shade-list,
.values-list {
  display: grid;
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-list li,
.shade-list li,
.values-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px;
  background: rgba(255,255,255,.72);
}

.feature-list b,
.shade-list b,
.values-list b { font-size: 15px; }
.feature-list span,
.shade-list span,
.values-list span { color: var(--soft-ink); line-height: 1.58; }

.cards-section { background: var(--mist); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 330px;
  padding: 28px;
  background: var(--ivory);
  border: 1px solid rgba(23,21,20,.1);
  border-radius: 10px;
}

.card .chip {
  display: inline-flex;
  width: 54px;
  height: 54px;
  margin-bottom: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.chip.milk { background: #f7eee7; }
.chip.mauve { background: #c9a8a8; }
.chip.taupe { background: #9b8b81; }
.chip.greige { background: #817b76; }

.wide-section.dark {
  color: var(--ivory);
  background: var(--ink);
}

.wide-section.dark p { color: rgba(251,248,244,.68); }
.wide-photo { overflow: hidden; margin-top: 36px; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.wide-photo img { width: 100%; max-height: 680px; object-fit: cover; }

.page-hero {
  display: grid;
  grid-template-columns: minmax(320px, .84fr) minmax(420px, 1.16fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  min-height: 680px;
  background: linear-gradient(135deg, var(--ivory), var(--oat));
}

.page-hero img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.swatch {
  min-height: 260px;
  display: grid;
  align-content: end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.swatch small { color: var(--soft-ink); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.swatch b { margin-top: 8px; font-size: 22px; }
.swatch span { margin-top: 8px; color: var(--soft-ink); line-height: 1.5; }
.swatch.s1 { background: #f6eee8; }
.swatch.s2 { background: #ead6d1; }
.swatch.s3 { background: #d9c4b3; }
.swatch.s4 { background: #baa89d; }
.swatch.s5 { background: #a99791; }
.swatch.s6 { background: #c1a6aa; }
.swatch.s7 { background: #938c87; color: var(--white); }
.swatch.s7 span, .swatch.s7 small { color: rgba(255,255,255,.72); }
.swatch.s8 { background: #d8d3cd; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  min-height: 300px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.stars { margin-bottom: 28px; color: var(--taupe); font-weight: 900; letter-spacing: .08em; }
.review-card b { display: block; margin-top: 24px; font-size: 14px; }

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 430px);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  background: var(--oat);
}

.form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.form label { display: grid; gap: 8px; font-size: 13px; font-weight: 900; }
.form input, .form select {
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
}

.site-footer {
  padding: clamp(48px, 7vw, 84px) clamp(18px, 4vw, 64px) 28px;
  color: rgba(251,248,244,.74);
  background: #11100f;
}

.footer-brand {
  display: grid;
  grid-template-columns: minmax(240px,.72fr) minmax(300px,1.28fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(251,248,244,.14);
}

.site-footer .brand strong { color: var(--ivory); }
.site-footer .brand small { color: rgba(251,248,244,.56); }
.footer-brand p { margin: 0; color: rgba(251,248,244,.62); }

.footer-info { padding: 34px 0; border-bottom: 1px solid rgba(251,248,244,.14); }
.footer-info dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 34px;
  margin: 0;
}

.footer-info div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(251,248,244,.08);
}

.footer-info dt { color: rgba(251,248,244,.44); font-size: 13px; }
.footer-info dd { margin: 0; color: rgba(251,248,244,.72); font-size: 14px; line-height: 1.5; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: rgba(251,248,244,.44);
  font-size: 13px;
}

.footer-bottom nav { display: flex; gap: 18px; color: rgba(251,248,244,.62); }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .split-section,
  .split-section.reverse,
  .page-hero,
  .newsletter-section,
  .footer-brand,
  .footer-info dl {
    grid-template-columns: 1fr;
  }
  .cards,
  .review-grid,
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { grid-template-columns: 1fr auto; padding: 12px 14px; }
  .brand small { display: none; }
  .header-cta { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .hero,
  .section,
  .split-section,
  .wide-section,
  .cards-section,
  .newsletter-section,
  .page-hero,
  .text-page,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero { min-height: 760px; align-items: end; }
  .hero > img { object-position: 68% center; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(251,248,244,.94) 0%, rgba(251,248,244,.72) 58%, rgba(251,248,244,.12) 100%),
      linear-gradient(180deg, rgba(251,248,244,.08), rgba(251,248,244,.72));
  }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .hero-actions,
  .footer-bottom { flex-direction: column; }
  .primary-button,
  .secondary-button { width: 100%; }
  .tone-bar,
  .cards,
  .review-grid,
  .swatch-grid,
  .feature-list li,
  .shade-list li,
  .values-list li,
  .footer-info div { grid-template-columns: 1fr; }
  .image-frame img,
  .page-hero img { min-height: 340px; }
}

/* Reference remix redesign: diagnostic editorial commerce */
:root {
  --porcelain: #dce5e6;
  --umber: #4c3932;
  --clay: #ba9186;
  --veil: rgba(251, 248, 244, .78);
}

body {
  background:
    linear-gradient(90deg, rgba(23,21,20,.045) 1px, transparent 1px) 0 0 / 8.333vw 100%,
    var(--ivory);
}

.site-header {
  min-height: 68px;
  grid-template-columns: minmax(190px, .8fr) minmax(420px, 1.35fr) auto;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom-color: rgba(23,21,20,.2);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 0 50% 50% 50%;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 46%),
    conic-gradient(from 180deg, #171514, #8f8177, #d8c0b8, #171514);
}

.site-header nav {
  justify-content: start;
  gap: 0;
  border-left: 1px solid var(--line);
}

.site-header nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 clamp(14px, 2vw, 28px);
  border-right: 1px solid var(--line);
}

.header-cta,
.primary-button,
.secondary-button {
  border-radius: 0;
  min-height: 48px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.secondary-button {
  background: transparent;
}

.hero {
  min-height: calc(100vh - 68px);
  grid-template-columns: minmax(320px, .92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  padding: 0;
  background:
    linear-gradient(180deg, var(--ivory), #f1e6dc 64%, #e7d8ce);
}

.hero > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(66vw, 980px);
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  filter: saturate(.92) contrast(1.04);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(251,248,244,.98) 0%, rgba(251,248,244,.94) 33%, rgba(251,248,244,.34) 58%, rgba(251,248,244,.02) 100%);
}

.hero::before {
  content: "MILK / SHELL / OAT / MAUVE / GREIGE";
  position: absolute;
  left: clamp(18px, 4vw, 64px);
  bottom: 28px;
  z-index: 3;
  width: min(540px, calc(100% - 36px));
  padding-top: 16px;
  border-top: 1px solid rgba(23,21,20,.28);
  color: var(--taupe);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero-copy {
  align-self: end;
  width: min(720px, 100%);
  padding: clamp(110px, 13vw, 170px) 0 clamp(98px, 10vw, 138px) clamp(18px, 4vw, 64px);
}

h1 {
  max-width: 680px;
  font-size: clamp(66px, 9vw, 148px);
  line-height: .82;
}

.hero-copy p {
  max-width: 520px;
}

.tone-bar {
  position: relative;
  z-index: 3;
  grid-template-columns: 1.22fr .9fr 1.05fr .96fr 1.24fr;
  margin-top: -1px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.tone-bar span {
  min-height: 128px;
  justify-items: start;
  align-items: end;
  padding: 18px;
  border-right-color: rgba(23,21,20,.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -.02em;
  text-transform: none;
}

.split-section {
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  align-items: stretch;
  padding-top: clamp(88px, 11vw, 170px);
  padding-bottom: clamp(88px, 11vw, 170px);
}

.split-section > .image-frame {
  grid-column: 1 / span 7;
  grid-row: 1;
  border-radius: 0 42px 0 0;
}

.split-section > .split-copy {
  grid-column: 7 / -1;
  grid-row: 1;
  align-self: center;
  z-index: 2;
  padding: clamp(28px, 4vw, 58px);
  background: var(--veil);
  border: 1px solid rgba(23,21,20,.16);
  backdrop-filter: blur(16px);
}

.split-section.reverse > .split-copy {
  grid-column: 1 / span 6;
}

.split-section.reverse > .image-frame {
  grid-column: 6 / -1;
  border-radius: 42px 0 0 0;
}

.image-frame {
  border-radius: 0;
  box-shadow: none;
}

.image-frame img {
  min-height: 620px;
  filter: saturate(.94);
}

.feature-list,
.shade-list,
.values-list {
  border-color: rgba(23,21,20,.25);
  background: transparent;
}

.feature-list li,
.shade-list li,
.values-list li {
  background: transparent;
  border-top: 1px solid rgba(23,21,20,.18);
}

.cards-section {
  background:
    linear-gradient(180deg, var(--porcelain), #f6eee8);
  border-top: 1px solid rgba(23,21,20,.14);
  border-bottom: 1px solid rgba(23,21,20,.14);
}

.cards {
  gap: 0;
  border-top: 1px solid var(--ink);
}

.card {
  min-height: 430px;
  border: 0;
  border-right: 1px solid rgba(23,21,20,.24);
  border-radius: 0;
  background: transparent;
  padding: clamp(24px, 3.2vw, 44px);
}

.card:last-child { border-right: 0; }

.card::before {
  content: "0" counter(card);
  counter-increment: card;
  display: block;
  margin-bottom: 76px;
  color: var(--taupe);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
}

.cards { counter-reset: card; }
.card .chip { width: 84px; height: 84px; margin-bottom: 26px; }

.wide-section.dark {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(480px, 1.28fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 8.333vw 100%,
    #12100f;
}

.wide-photo {
  margin-top: 0;
  border-radius: 42px 0 0 0;
  box-shadow: none;
}

.wide-photo img {
  max-height: none;
  min-height: 680px;
  height: 72vh;
}

.page-hero {
  position: relative;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  min-height: 760px;
  padding-top: clamp(80px, 9vw, 136px);
  padding-bottom: clamp(70px, 8vw, 120px);
  background:
    linear-gradient(90deg, rgba(23,21,20,.05) 1px, transparent 1px) 0 0 / 8.333vw 100%,
    linear-gradient(135deg, var(--ivory), #efe3db 62%, var(--porcelain));
}

.page-hero > div {
  grid-column: 1 / span 5;
  z-index: 2;
  align-self: end;
  padding-bottom: 40px;
}

.page-hero > img {
  grid-column: 6 / -1;
  min-height: 620px;
  border-radius: 0 0 0 56px;
  box-shadow: none;
  object-fit: cover;
}

.page-hero::before {
  content: "NUDELAYER COLOR FILE";
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  top: 94px;
  z-index: 3;
  color: rgba(23,21,20,.45);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.swatch-grid {
  gap: 0;
  border: 1px solid rgba(23,21,20,.25);
}

.swatch {
  min-height: 340px;
  border: 0;
  border-right: 1px solid rgba(23,21,20,.22);
  border-bottom: 1px solid rgba(23,21,20,.22);
  border-radius: 0;
}

.review-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}

.review-card {
  grid-column: span 2;
  min-height: 360px;
  border: 0;
  border-right: 1px solid rgba(23,21,20,.22);
  border-bottom: 1px solid rgba(23,21,20,.22);
  border-radius: 0;
  background: rgba(255,255,255,.42);
}

.review-card:nth-child(1),
.review-card:nth-child(4) {
  grid-column: span 3;
}

.stars {
  color: var(--umber);
}

.newsletter-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(220,229,230,.9), transparent 24%),
    var(--oat);
  border-top: 1px solid rgba(23,21,20,.16);
}

.form {
  border-radius: 42px 0 42px 0;
  background: rgba(251,248,244,.74);
  backdrop-filter: blur(16px);
}

.form input,
.form select {
  border-radius: 0;
}

.site-footer {
  background:
    linear-gradient(90deg, rgba(251,248,244,.06) 1px, transparent 1px) 0 0 / 8.333vw 100%,
    #11100f;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero > img {
    width: 100%;
    clip-path: none;
    opacity: .42;
  }

  .hero-copy {
    padding-right: 18px;
  }

  .split-section,
  .split-section.reverse,
  .wide-section.dark,
  .page-hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .split-section > .image-frame,
  .split-section > .split-copy,
  .split-section.reverse > .image-frame,
  .split-section.reverse > .split-copy,
  .page-hero > div,
  .page-hero > img {
    grid-column: 1;
  }

  .split-section > .split-copy,
  .split-section.reverse > .split-copy {
    margin-top: -80px;
    width: calc(100% - 28px);
  }

  .cards,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .review-card,
  .review-card:nth-child(1),
  .review-card:nth-child(4) {
    grid-column: span 1;
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header nav { display: none; }
  .hero-copy { padding-left: 14px; padding-bottom: 90px; }
  h1 { font-size: 56px; }
  .tone-bar span { min-height: 78px; font-size: 25px; }
  .image-frame img,
  .page-hero > img,
  .wide-photo img {
    min-height: 390px;
    height: auto;
  }
  .card { min-height: 330px; }
}
