:root {
  --black: #0E0B10;          /* page black, a touch warmer than pure */
  --onyx: #17131C;           /* deep aubergine-black */
  --white: #FFFFFF;
  --ivory: #F5F3F0;
  --line: #E2DDD6;
  --champagne: #BFA27A;      /* gold accent */
  --champagne-light: #D9C29B;
  --gold-deep: #8C7350;
  --ink: #17131C;
  --muted: #645C6B;
  --on-dark: #F3EFE9;
  --on-dark-muted: #A79FAE;
  --line-dark: rgba(191, 162, 122, .25);

  --display: 'Oswald', 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Futura', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gold { color: var(--champagne); }

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
}

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--champagne);
  text-align: center;
}

.title {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: .01em;
  color: var(--white);
  text-align: center;
  text-wrap: balance;
  margin-top: 10px;
}
.title.dark { color: var(--ink); }

.title-intro {
  max-width: 36rem;
  margin: 16px auto 0;
  text-align: center;
  color: var(--on-dark-muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s, color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 18px 34px; font-size: 1rem; }
.btn-gold { background: var(--champagne); color: var(--black); }
.btn-gold:hover { background: var(--champagne-light); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--onyx); }

/* little play-triangle, as on the reference */
.tri {
  width: 0; height: 0;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ---------- Parallax ---------- */

[data-speed] { translate: 0 var(--py, 0px); will-change: translate; }

/* ---------- Placeholders ---------- */

.ph {
  position: relative;
  background:
    radial-gradient(ellipse 60% 45% at 50% 32%, rgba(217, 194, 155, .28), transparent 70%),
    linear-gradient(160deg, #3A3040 0%, #241D29 55%, #1A151E 100%);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  max-width: 90%;
  padding: 4px 10px;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--champagne-light);
  background: rgba(14, 11, 16, .55);
  border: 1px solid var(--line-dark);
}
/* a soft head-and-shoulders silhouette so the boxes read as "model photo" */
.ph::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 62%;
  aspect-ratio: 1 / 1.15;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.10) 0 21%, transparent 21.5%),
    radial-gradient(ellipse 50% 34% at 50% 100%, rgba(255,255,255,.08) 0 99%, transparent 100%);
}
.ph-circle::before { display: none; }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--champagne);
  color: var(--black);
  text-align: center;
  font-size: .875rem;
  font-weight: 500;
  padding: 9px var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 11, 16, .97);
  color: var(--on-dark);
  transition: box-shadow .3s;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(14, 11, 16, .88); backdrop-filter: blur(12px); }
}
.site-header.is-compact { box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 14px;
  transition: padding .3s;
}
/* compact state once the page scrolls: tighter bar, smaller logo */
.header-top .brand { grid-column: 2; }
.is-compact .header-top { padding-top: 10px; padding-bottom: 6px; }
.is-compact .brand-mark { width: 24px; height: 24px; }
.is-compact .brand-word { font-size: 1.125rem; }
.is-compact .brand-sub { display: none; }
.is-compact .nav-inner { padding-top: 9px; padding-bottom: 10px; }
.brand-mark, .brand-word, .nav-inner { transition: width .3s, height .3s, font-size .3s, padding .3s; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on-dark);
}
.brand-mark { width: 34px; height: 34px; fill: var(--champagne); flex: none; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-word {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .24em;
  margin-right: -.24em;
}
.brand-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .5em;
  margin-top: 7px;
  margin-right: -.5em;
  text-transform: uppercase;
  color: var(--champagne-light);
}
.brand-sub::before, .brand-sub::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--champagne);
  opacity: .7;
}

.nav { border-top: 1px solid rgba(255, 255, 255, .06); }
.nav-inner {
  display: flex;
  justify-content: center;
  gap: 8px 34px;
  flex-wrap: wrap;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
}
.nav a {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s;
}
.nav a:hover { color: var(--champagne); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(520px, 44vw, 640px);
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(100deg, var(--black) 0%, var(--black) 52%, #3B3022 72%, var(--gold-deep) 88%, var(--champagne) 100%);
}

.hero-collage {
  grid-column: 1;
  position: relative;
  align-self: stretch;
  min-height: 100%;
}
.ph-polaroid {
  position: absolute;
  width: min(78%, 300px);
  aspect-ratio: 4 / 5;
  border: 10px solid var(--white);
  border-bottom-width: 34px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.ph-polaroid::after { bottom: -26px; color: var(--muted); background: none; border: 0; }
.ph-tilt-a { top: 6%; left: 18%; transform: rotate(8deg); }
.ph-tilt-b { bottom: -4%; left: -4%; transform: rotate(-10deg); z-index: 1; }
.ph-tilt-c { top: 7%; right: 12%; width: min(66%, 260px); transform: rotate(-7deg); z-index: 2; }

.hero-copy {
  grid-column: 2;
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(48px, 6vw, 80px) 12px;
}
.hero-title {
  font-size: clamp(4.5rem, 11vw, 10rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
}

.hero-feature {
  grid-column: 3;
  position: relative;
  align-self: end;
  height: 100%;
}
.ph-portrait {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% + 80px);
  background:
    radial-gradient(ellipse 55% 40% at 55% 62%, rgba(255, 240, 214, .22), transparent 70%),
    linear-gradient(180deg, rgba(14,11,16,.15) 0%, rgba(14,11,16,.55) 100%);
  border-left: 1px solid rgba(217, 194, 155, .25);
}
.ph-portrait::before { width: 80%; }
.ph-portrait::after { bottom: 104px; } /* clear of the 80px parallax drift */
.ph-circle {
  position: absolute;
  left: 4%;
  bottom: 12%;
  width: clamp(130px, 13vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--champagne);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  z-index: 3;
}
.ph-circle::after { bottom: 50%; transform: translate(-50%, 50%); }

/* ---------- Trust bar ---------- */

.trust { background: var(--white); }
.trust-list {
  list-style: none;
  margin: 0 auto;
  padding-top: 22px;
  padding-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-evenly;
  gap: 16px 24px;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--black);
  flex: none;
}
.trust-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-icon svg.fill { fill: var(--champagne); stroke: none; width: 28px; height: 28px; }

/* ---------- Collection ---------- */

.collection {
  background: var(--black);
  padding: var(--section-y) 0;
}

.cards {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--white);
  padding: 8px 8px 22px;
  text-align: center;
  transition: transform .3s;
}
.card:hover { transform: translateY(-4px); }
.ph-card { aspect-ratio: 4 / 5; }
.card h3 {
  margin-top: 16px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
}
.card p {
  margin: 6px auto 0;
  max-width: 22ch;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Hair types ---------- */

.hair-types {
  background: var(--white);
  padding: var(--section-y) 0;
}
.types {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.type {
  border-bottom: 3px solid var(--line);
  padding-bottom: 22px;
  transition: border-color .3s;
}
.type:hover { border-color: var(--champagne); }
.ph-type { aspect-ratio: 1; }
.ph-type::before { display: none; }

/* texture hints so each placeholder reads as its hair type */
.ph-tex-straight,
.ph-tex-closure {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 3px, transparent 3px 11px),
    linear-gradient(160deg, #3A3040 0%, #1A151E 100%);
}
.ph-tex-closure {
  background:
    repeating-linear-gradient(45deg, rgba(217, 194, 155, .10) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(217, 194, 155, .10) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 3px, transparent 3px 11px),
    linear-gradient(160deg, #3A3040 0%, #1A151E 100%);
}
.ph-tex-wavy {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='18'%3E%3Cpath d='M0 9 Q12 0 24 9 T48 9' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='3'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #3A3040 0%, #1A151E 100%);
}
.ph-tex-curly {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='13' cy='13' r='7' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='3'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #3A3040 0%, #1A151E 100%);
}

.type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.type-tags span {
  padding: 3px 9px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--champagne);
}
.type h3 {
  margin-top: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--ink);
}
.type h3 + p {
  margin-top: 6px;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: var(--on-dark-muted);
  font-size: .875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.brand-sm .brand-mark { width: 24px; height: 24px; }
.brand-sm .brand-word { font-size: 1.0625rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a {
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  color: var(--on-dark);
}
.footer-nav a:hover { color: var(--champagne); }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list { grid-template-columns: repeat(2, auto); justify-content: center; column-gap: 48px; }
}

@media (max-width: 860px) {
  /* hero stacks: copy first, then portrait with one polaroid */
  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "copy copy" "collage feature";
    background: linear-gradient(180deg, var(--black) 0%, var(--black) 55%, #3B3022 78%, var(--gold-deep) 100%);
  }
  .hero-copy { grid-area: copy; grid-column: auto; padding: 40px var(--gutter) 24px; }
  .hero-collage { grid-area: collage; grid-column: auto; min-height: 320px; }
  .hero-feature { grid-area: feature; grid-column: auto; min-height: 320px; }
  .ph-tilt-a, .ph-tilt-c { display: none; }
  .ph-tilt-b { left: 12%; bottom: 8%; width: 76%; }
  .ph-circle { left: auto; right: 6%; top: 6%; bottom: auto; width: 132px; }
  .ph-circle::after { font-size: .5rem; letter-spacing: .1em; padding: 3px 6px; }
  /* stacked hero: layers sit close together, so keep them still */
  .hero [data-speed] { translate: none; }

}

@media (max-width: 640px) {
  .types { gap: 20px 12px; }
  .type h3 { font-size: 1rem; }
  .type h3 + p { font-size: .8125rem; }
  .type-tags span { font-size: .5625rem; padding: 2px 6px; }
  .header-top { grid-template-columns: 1fr; justify-items: center; padding-top: 16px; padding-bottom: 10px; }
  .header-top .brand { grid-column: auto; }
  html { scroll-padding-top: 110px; }

  /* nav becomes a swipeable row instead of wrapping into a tall block */
  .nav-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 26px;
  }
  .nav-inner::-webkit-scrollbar { display: none; }

  .announce { font-size: .8125rem; }
  .trust-list { grid-template-columns: 1fr 1fr; column-gap: 16px; justify-content: stretch; }
  .trust-list li { font-size: .9375rem; gap: 10px; }
  .trust-icon { width: 42px; height: 42px; }
  .trust-icon svg { width: 20px; height: 20px; }

  .cards { gap: 12px; }
  .card { padding: 6px 6px 16px; }
  .card h3 { font-size: 1.0625rem; margin-top: 12px; }
  .card p { font-size: .8125rem; }
  .ph::after { font-size: .5625rem; letter-spacing: .12em; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  [data-speed] { translate: none; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Private preview lock ---------- */

.lock-screen { display: none; }
.locked body > :not(.lock-screen) { display: none !important; }
.locked .lock-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 16px;
  text-align: center;
  background: var(--black);
  color: var(--on-dark);
}
.lock-screen svg { width: 40px; height: 40px; fill: var(--champagne); margin-bottom: 20px; }
.lock-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: .24em;
  margin-right: -.24em;
  text-transform: uppercase;
}
.lock-note { margin-top: 10px; color: var(--on-dark-muted); letter-spacing: .04em; }
