:root {
  --black: #050505;
  --ink: #111111;
  --paper: #f6f6f3;
  --white: #ffffff;
  --line: #d7d7d2;
  --mid: #797975;
  --soft: #ecece8;
  --serif: "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 78px;
  --shell: min(1400px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--black);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.topline {
  height: 27px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: #c9c9c6;
  font-size: 9px;
  letter-spacing: .28em;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-h);
  background: rgba(246, 246, 243, .96);
  border-bottom: 1px solid rgba(5, 5, 5, .14);
  backdrop-filter: blur(16px);
}
.header-inner {
  position: relative;
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.wordmark,
.footer-wordmark {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: .28em;
  padding-left: .28em;
}
.header-contact {
  justify-self: end;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.menu-button {
  justify-self: start;
  width: 48px;
  height: 48px;
  border: 0;
  padding: 14px 8px;
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 28px;
  height: 1px;
  margin: 7px 0;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.menu-open .menu-button span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-button span:last-child { transform: translateY(-4px) rotate(-45deg); }
.site-nav {
  position: fixed;
  z-index: 90;
  inset: calc(var(--header-h) + 27px) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.site-nav a {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.1;
}
.menu-open .site-nav { opacity: 1; visibility: visible; transform: translateY(0); }

.eyebrow {
  margin: 0 0 22px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .24em;
}
.eyebrow.light { color: #cfcfca; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 27px);
  min-height: calc(100svh - var(--header-h) - 27px);
  display: grid;
  grid-template-columns: 53% 47%;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.hero-image {
  grid-column: 2;
  background-image: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.08) 28%, rgba(5,5,5,0) 55%), url("../images/chi-hero-mono.webp");
  background-position: center 27%;
  background-size: cover;
  filter: contrast(1.05);
  transition: filter .8s ease;
}
.hero:hover .hero-image {
  background-image: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.08) 28%, rgba(5,5,5,0) 55%), url("../images/chi-hero.webp");
}
.hero-copy {
  position: absolute;
  z-index: 2;
  width: min(760px, 49vw);
  left: max(40px, calc((100vw - min(1400px, calc(100vw - 80px))) / 2));
  top: 50%;
  transform: translateY(-50%);
}
.hero h1,
.intro-section h2,
.section-head h2,
.services-title h2,
.market-copy h2,
.contact-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
}
.hero h1 { font-size: clamp(64px, 8.2vw, 150px); line-height: .86; }
.hero-lead {
  max-width: 580px;
  margin: 34px 0 0;
  color: #d1d1cd;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button-light { background: var(--white); color: var(--black); }
.button-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.button-dark { width: 100%; background: var(--black); color: var(--white); }
.button-dark:hover { background: transparent; color: var(--black); border-color: var(--black); }
.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.text-link span { font-size: 15px; }
.light-link { color: var(--white); }
.hero-index {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  color: #d0d0cc;
  font-size: 9px;
  letter-spacing: .22em;
}

.intro-section { padding: 150px 0; background: var(--paper); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2.25fr;
  gap: 70px;
  align-items: start;
}
.intro-content { max-width: 980px; }
.intro-content h2 { font-size: clamp(52px, 6.2vw, 105px); line-height: .94; }
.intro-lead {
  margin: 50px 0 22px;
  max-width: 820px;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.4;
}
.intro-content > p:last-child { max-width: 720px; color: #50504d; }

.portfolio-section { padding-top: 40px; }
.section-head { padding: 90px 0 105px; border-top: 1px solid var(--line); }
.section-head h2 { font-size: clamp(60px, 7vw, 116px); line-height: .92; }
.brand-feature {
  min-height: 860px;
  display: grid;
  grid-template-columns: 58% 42%;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-media { position: relative; min-height: 780px; overflow: hidden; background: #ddd; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .55s ease, transform .75s ease; }
.brand-feature:hover .feature-media img { filter: grayscale(0%); transform: scale(1.015); }
.media-label {
  position: absolute;
  left: 26px;
  bottom: 24px;
  padding: 8px 11px;
  background: rgba(255,255,255,.9);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}
.feature-copy {
  padding: clamp(56px, 7vw, 120px);
  align-self: center;
}
.brand-name {
  margin: 0 0 64px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 80px);
  letter-spacing: .04em;
}
.brand-name.light { color: var(--white); }
.feature-copy h3,
.beauty-heading h3 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}
.feature-copy h3 { font-size: clamp(44px, 5vw, 78px); line-height: .95; }
.feature-copy > p:not(.eyebrow) { color: #4d4d49; font-size: 18px; }
.stat-row {
  margin: 48px 0 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-row div { padding: 24px 12px 24px 0; border-right: 1px solid var(--line); }
.stat-row div:last-child { border-right: 0; padding-left: 18px; }
.stat-row div:nth-child(2) { padding-left: 18px; }
.stat-row strong { display: block; font-family: var(--serif); font-size: 31px; font-weight: 400; }
.stat-row span { display: block; margin-top: 4px; color: var(--mid); font-size: 10px; letter-spacing: .08em; }
.feature-copy small { display: block; margin-top: 28px; color: var(--mid); font-size: 10px; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 120px 0;
  background: var(--line);
}
.product-card { background: var(--paper); }
.product-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--white); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-image img { transform: scale(1.02); }
.product-copy { padding: 36px 36px 44px; }
.product-copy h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.05; }
.product-copy > p:not(.eyebrow) { color: #555550; }
details { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 18px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 22px; color: var(--mid); font-size: 13px; }

.beauty-feature { padding: 138px 0; background: var(--black); color: var(--white); }
.beauty-heading { padding-bottom: 88px; }
.beauty-heading .brand-name { margin-bottom: 34px; }
.beauty-heading h3 { font-size: clamp(60px, 8vw, 130px); line-height: .9; }
.beauty-grid { display: grid; gap: 120px; }
.beauty-card {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.beauty-card.reverse { grid-template-columns: .92fr 1.08fr; }
.beauty-card.reverse .beauty-photo { order: 2; }
.beauty-card.reverse .beauty-copy { order: 1; }
.beauty-photo { position: relative; aspect-ratio: 1 / 1.04; overflow: hidden; background: #151515; }
.beauty-photo img { width: 100%; height: 100%; object-fit: cover; transition: filter .55s ease, transform .7s ease; }
.beauty-photo:hover img { transform: scale(1.015); }
.beauty-photo span {
  position: absolute;
  right: 18px;
  top: 14px;
  font-family: var(--serif);
  font-size: 18px;
}
.beauty-copy h4 { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(42px, 4.4vw, 70px); font-weight: 400; line-height: .96; }
.beauty-copy > p:not(.eyebrow) { color: #b9b9b5; font-size: 18px; }
.beauty-copy ul { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid #40403d; }
.beauty-copy li { padding: 15px 0; border-bottom: 1px solid #40403d; color: #deded9; font-size: 12px; letter-spacing: .05em; }
.shade-gallery {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #3b3b38;
}
.shade-gallery figure { margin: 0; background: #f6f6f3; color: var(--ink); }
.shade-gallery img { aspect-ratio: 2.25 / 1; object-fit: cover; filter: grayscale(100%); transition: filter .4s ease; }
.shade-gallery figure:hover img { filter: grayscale(0%); }
.shade-gallery figcaption { min-height: 85px; padding: 22px 24px; color: #595955; font-size: 12px; }
.shade-gallery figcaption span { display: block; margin-bottom: 7px; color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: .18em; }

.services-section { padding: 150px 0; background: var(--paper); }
.services-section .shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.services-title h2 { font-size: clamp(52px, 6vw, 94px); line-height: .94; }
.service-list { border-top: 1px solid var(--ink); }
.service-list article {
  display: grid;
  grid-template-columns: 60px 180px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-list span { font-size: 10px; letter-spacing: .12em; }
.service-list h3 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.service-list p { margin: 4px 0 0; color: #61615d; font-size: 14px; }

.market-section {
  position: relative;
  min-height: 840px;
  display: grid;
  grid-template-columns: 52% 48%;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.market-art { min-height: 840px; }
.market-art img { width: 100%; height: 100%; object-fit: cover; }
.market-copy {
  width: auto;
  margin: 0;
  padding: 120px clamp(40px, 7vw, 120px);
  align-self: center;
}
.market-copy h2 { font-size: clamp(54px, 6.5vw, 106px); line-height: .92; }
.market-copy > p:not(.eyebrow) { max-width: 660px; color: #bdbdb8; font-size: 18px; }
.market-points { margin-top: 50px; border-top: 1px solid #3b3b38; }
.market-points div { padding: 22px 0; border-bottom: 1px solid #3b3b38; }
.market-points strong { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.market-points span { color: #a8a8a4; font-size: 12px; }

.contact-section { padding: 150px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 120px; }
.contact-intro h2 { font-size: clamp(58px, 7vw, 112px); line-height: .9; }
.contact-intro > p:not(.eyebrow,.contact-location) { max-width: 520px; margin: 34px 0; color: #565652; font-size: 18px; }
.contact-email { display: inline-block; border-bottom: 1px solid currentColor; font-size: 15px; }
.contact-location { margin-top: 18px; color: var(--mid); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label span { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-bottom-width: 2px; }
.full-field { grid-column: 1 / -1; }
.form-status { min-height: 20px; margin: 0; color: var(--mid); font-size: 12px; }

.site-footer { padding: 70px 0 28px; background: var(--black); color: var(--white); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; }
.footer-wordmark { font-size: clamp(56px, 8vw, 122px); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 18px 70px; padding-top: 18px; }
.footer-links a { color: #c8c8c3; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-bottom { margin-top: 70px; padding-top: 24px; border-top: 1px solid #333330; display: flex; justify-content: space-between; gap: 30px; color: #777773; font-size: 9px; letter-spacing: .07em; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 48px, 980px); }
  .hero { grid-template-columns: 44% 56%; }
  .hero-copy { width: min(600px, 56vw); }
  .brand-feature { grid-template-columns: 1fr 1fr; min-height: auto; }
  .feature-media { min-height: 660px; }
  .feature-copy { padding: 64px 44px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row div, .stat-row div:nth-child(2), .stat-row div:last-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-row div:last-child { border-bottom: 0; }
  .services-section .shell { grid-template-columns: 1fr; gap: 65px; }
  .contact-grid { gap: 70px; }
}

@media (max-width: 820px) {
  :root { --header-h: 66px; --shell: calc(100vw - 36px); }
  .topline { letter-spacing: .18em; }
  .header-contact { display: none; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .wordmark { font-size: 25px; }
  .hero {
    min-height: calc(100vh - var(--header-h) - 27px);
    min-height: calc(100svh - var(--header-h) - 27px);
    grid-template-columns: 1fr;
  }
  .hero-image {
    grid-column: 1;
    background-image: linear-gradient(0deg, #050505 0%, rgba(5,5,5,.3) 45%, rgba(5,5,5,.02) 72%), url("../images/chi-hero-mono.webp");
    background-position: center 25%;
  }
  .hero:hover .hero-image { background-image: linear-gradient(0deg, #050505 0%, rgba(5,5,5,.3) 45%, rgba(5,5,5,.02) 72%), url("../images/chi-hero.webp"); }
  .hero-copy { left: 22px; right: 22px; bottom: 62px; top: auto; transform: none; width: auto; }
  .hero h1 { font-size: clamp(58px, 17vw, 105px); }
  .hero-lead { margin-top: 20px; font-size: 16px; max-width: 480px; }
  .hero-actions { margin-top: 25px; gap: 20px; }
  .hero-index { right: 18px; bottom: 20px; }
  .intro-section { padding: 100px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-content h2 { font-size: clamp(50px, 13vw, 88px); }
  .intro-lead { margin-top: 34px; font-size: 21px; }
  .section-head { padding: 70px 0 78px; }
  .section-head h2 { font-size: clamp(54px, 14vw, 92px); }
  .brand-feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 520px; }
  .feature-copy { padding: 64px 24px 78px; }
  .brand-name { margin-bottom: 42px; }
  .collection-grid { grid-template-columns: 1fr; padding: 80px 0; }
  .beauty-feature { padding: 95px 0; }
  .beauty-heading { padding-bottom: 60px; }
  .beauty-card, .beauty-card.reverse { grid-template-columns: 1fr; gap: 42px; }
  .beauty-card.reverse .beauty-photo, .beauty-card.reverse .beauty-copy { order: initial; }
  .beauty-grid { gap: 90px; }
  .shade-gallery { grid-template-columns: 1fr; margin-top: 90px; }
  .services-section { padding: 100px 0; }
  .service-list article { grid-template-columns: 42px 1fr; }
  .service-list p { grid-column: 2; }
  .market-section { grid-template-columns: 1fr; }
  .market-art { min-height: 470px; }
  .market-copy { padding: 82px 24px 95px; }
  .contact-section { padding: 100px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 70px; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 540px) {
  :root { --shell: calc(100vw - 28px); }
  .topline { font-size: 8px; white-space: nowrap; overflow: hidden; }
  .site-nav { inset: calc(var(--header-h) + 27px) 0 0; }
  .hero-copy { left: 15px; right: 15px; }
  .hero h1 { font-size: clamp(54px, 17vw, 80px); }
  .button { width: 100%; }
  .hero-actions { align-items: stretch; }
  .hero-actions .text-link { width: fit-content; }
  .feature-media { min-height: 430px; }
  .feature-copy h3 { font-size: 45px; }
  .product-copy { padding: 28px 22px 36px; }
  .product-copy h3 { font-size: 32px; }
  .beauty-heading h3 { font-size: 56px; }
  .beauty-photo { aspect-ratio: 4 / 5; }
  .beauty-copy h4 { font-size: 42px; }
  .shade-gallery img { aspect-ratio: 1.6 / 1; }
  .services-title h2, .market-copy h2, .contact-intro h2 { font-size: 54px; }
  .service-list article { gap: 12px; }
  .contact-form { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 18px 35px; }
}

@media (hover: none) {
  .hero .hero-image {
    background-image: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.08) 28%, rgba(5,5,5,0) 55%), url("../images/chi-hero.webp");
  }
  .feature-media img, .shade-gallery img { filter: grayscale(0%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
