/* ============ Cuticle — premium soch brendi ============ */
:root {
  --bg: #14100c;
  --bg-2: #1c1611;
  --cream: #f4ece0;
  --cream-2: #e9dcc8;
  --text: #f4ece0;
  --muted: #b8a993;
  --gold: #d8b36a;
  --gold-2: #f0d595;
  --line: rgba(216, 179, 106, .22);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
em { font-style: italic; color: var(--gold); }
section { position: relative; padding: clamp(80px, 12vw, 150px) clamp(16px, 5vw, 80px); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(16px, 5vw, 80px);
  transition: background .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(20, 16, 12, .94);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.logo { display: block; }
.logo img { height: 64px; width: auto; transition: height .4s; }
.nav.scrolled .logo img { height: 50px; }
@media (max-width: 560px) { .logo img { height: 50px; } .nav.scrolled .logo img { height: 42px; } }
.nav-links { display: flex; gap: 30px; align-items: center; font-size: 14px; }
.nav-links a { position: relative; color: var(--muted); transition: color .3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 9px 20px; border: 1px solid var(--gold); border-radius: 99px; color: var(--gold) !important; }
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger.open span:first-child { top: 19px; transform: rotate(45deg); }
.burger.open span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 99px; font-weight: 600; font-size: 15px;
  transition: transform .4s var(--ease), box-shadow .4s, background .3s, color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--bg); box-shadow: 0 10px 30px -10px rgba(216, 179, 106, .6); }
.btn-gold:hover { box-shadow: 0 18px 40px -12px rgba(216, 179, 106, .8); }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
  padding-top: 130px; overflow: hidden;
  background: radial-gradient(ellipse at 75% 40%, #2b2017 0%, var(--bg) 60%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.hero-content { position: relative; z-index: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: 12px; color: var(--gold); margin: 0 0 18px; font-weight: 600; }
.hero-title { font-size: clamp(48px, 8vw, 112px); font-weight: 500; letter-spacing: -.01em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.ready .hero-title .line > span { transform: none; }
.ready .hero-title .line:nth-child(2) > span { transition-delay: .15s; }
.hero-sub { max-width: 520px; color: var(--muted); font-size: 18px; margin: 26px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photos { position: relative; height: min(640px, 75vh); z-index: 1; }
.hp {
  position: absolute; object-fit: cover; border-radius: 200px 200px 24px 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(60px) scale(.95);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
  will-change: transform;
}
.ready .hp { opacity: 1; transform: none; }
.hp1 { width: 58%; height: 88%; left: 20%; top: 4%; z-index: 2; }
.hp2 { width: 36%; height: 50%; left: 0; bottom: 0; border-radius: 24px; transition-delay: .2s; z-index: 3; border: 6px solid var(--bg); }
.hp3 { width: 34%; height: 46%; right: 0; top: 0; border-radius: 24px 24px 200px 200px; transition-delay: .35s; z-index: 1; }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 20px; transform: translateX(-50%); z-index: 3; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; background: var(--gold); border-radius: 3px; transform: translateX(-50%); animation: scrollDot 2s infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 100% { opacity: 0; top: 24px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); white-space: nowrap; }
.marquee-track i { color: var(--gold); font-style: normal; font-size: .6em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heading ---------- */
.section-head { max-width: 760px; margin: 0 auto clamp(50px, 7vw, 90px); text-align: center; }
.section-head h2 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 500; }
.lead { color: var(--muted); font-size: 18px; margin-top: 22px; }

/* ---------- Reveal animations ---------- */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.in { opacity: 1 !important; transform: none !important; }

/* ---------- Cuticle explainer ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1100px; margin: 0 auto; }
.compare-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.good-card { border-color: rgba(216, 179, 106, .55); box-shadow: 0 30px 70px -40px rgba(216, 179, 106, .5); }
.compare-card h3 { font-size: 32px; margin-bottom: 18px; }
.compare-card ul { list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); display: grid; gap: 8px; }
.good-card li { color: var(--cream-2); }
.strand { width: 100%; height: auto; overflow: visible; }
.strand .core { fill: #3a2c1f; }
.strand.good .core { fill: #6b4b2a; }
.strand .scale { fill: none; stroke-width: 2; stroke-linecap: round; transform-box: fill-box; transform-origin: 0% 50%; transition: transform 1.2s var(--ease), opacity .8s; }
.strand.bad .scale { stroke: #8a7a66; }
.strand.good .scale { stroke: var(--gold-2); }
.strand.good.in-view .scale { animation: shimmer 3s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1250px; margin: 0 auto; }
.product { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transform-style: preserve-3d; transition: transform .25s ease-out, border-color .4s, opacity 1.1s var(--ease); }
.product:hover { border-color: var(--gold); }
.product-img { aspect-ratio: 4/3.3; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product-img img { transform: scale(1.08); }
.product-body { padding: 26px 28px 30px; }
.product-body h3 { font-size: 30px; margin-bottom: 10px; }
.product-body p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.tag { display: inline-block; font-size: 12px; letter-spacing: .1em; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--gold); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1200px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; position: relative; }
.step { text-align: center; padding: 10px; }
.step-icon { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg-2); transition: transform .5s var(--ease), border-color .4s; }
.step:hover .step-icon { transform: translateY(-6px) rotate(-6deg); border-color: var(--gold); }
.step-icon svg { width: 40px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.step.in .step-icon svg { stroke-dashoffset: 0; }
.step h3 { font-size: 28px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Gallery ---------- */
.masonry { columns: 4 240px; column-gap: 18px; max-width: 1400px; margin: 0 auto; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--bg-2); }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; filter: saturate(.92); }
.masonry figure:hover img { transform: scale(1.06); filter: saturate(1.1); }
.masonry figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(20, 16, 12, .6)); opacity: 0; transition: opacity .5s; }
.masonry figure:hover::after { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 8, 6, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; padding: 16px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 12px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox button { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: var(--text); font-size: 42px; cursor: pointer; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-size: 28px; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 14px 0 0; animation: fadeUp .5s var(--ease); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; text-align: center; }
.contact-bg { position: absolute; inset: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.contact-inner { position: relative; max-width: 1000px; margin: 0 auto; }
.contact h2 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 500; margin-bottom: 50px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { background: rgba(28, 22, 17, .92); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; display: grid; gap: 6px; transition: transform .4s var(--ease), border-color .4s; }
a.ccard:hover { transform: translateY(-5px); border-color: var(--gold); }
.ccard span { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.ccard b { font-weight: 600; font-size: 16px; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 34px clamp(16px, 5vw, 80px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .burger { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px; font-size: 22px;
    background: var(--bg); clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
    visibility: hidden;
  }
  .nav-links.open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-photos { height: 420px; }
  .scroll-hint { display: none; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .product-grid, .steps, .contact-cards { grid-template-columns: 1fr; }
  .compare-card { padding: 24px 18px; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry figure { margin-bottom: 10px; }
}

