/* ============================================
   Кристина Козлова — стилист-визажист
   Editorial / refined / luxury beauty aesthetic
   VERSION: 9 — maxw 860px
   ============================================ */
   ============================================ */

/* ---------- Tokens ---------- */
:root {
  --c-cream:        #f4ede4;
  --c-cream-2:      #ebe2d4;
  --c-paper:        #faf6f0;
  --c-ink:          #1c1614;
  --c-ink-soft:     #3a322d;
  --c-mute:         #7a6f66;
  --c-rule:         #d6cabb;
  --c-blush:        #c89a8a;
  --c-blush-deep:   #8a5a4d;
  --c-gold:         #b89968;

  --ff-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 860px;
  --pad:  clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
em, .italic { font-style: italic; font-family: var(--ff-display); font-weight: 400; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 16px 28px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-dark {
  background: var(--c-ink);
  color: var(--c-paper);
}
.btn-dark:hover { background: var(--c-blush-deep); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid var(--c-ink);
  color: var(--c-ink);
}
.btn-ghost:hover { background: var(--c-ink); color: var(--c-paper); }

.btn-sm { padding: 10px 20px; font-size: 12px; }

.btn-link {
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .14em;
  font-weight: 500;
  padding-bottom: 4px;
}
.btn-link:hover { color: var(--c-blush-deep); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-blush-deep);
  margin: 0 0 24px;
}
.eyebrow-light { color: var(--c-cream-2); }

.section-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--c-ink);
}
.section-title em { color: var(--c-blush-deep); }
.section-title--light { color: var(--c-paper); }
.section-title--light em { color: var(--c-blush); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-lead { color: var(--c-mute); max-width: 56ch; font-size: 17px; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--c-rule); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
}
.logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--c-ink);
  color: var(--c-paper);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  font-style: italic;
}
.logo-name {
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .02em;
  font-weight: 500;
}

.nav-main {
  display: flex;
  gap: 36px;
}
.nav-main a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-main a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-blush-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.nav-main a:hover { color: var(--c-blush-deep); }
.nav-main a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--c-ink);
  transition: all .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 var(--pad) 28px;
  gap: 16px;
  border-top: 1px solid var(--c-rule);
}
.nav-mobile a {
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-rule);
}
.nav-mobile.open { display: flex; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 9vw, 130px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 80% 10%, rgba(200,154,138,.18), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(184,153,104,.12), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-text { max-width: 600px; }
.display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--c-ink);
}
.display span { display: block; }
.display .italic {
  font-style: italic;
  color: var(--c-blush-deep);
  padding-left: clamp(40px, 7vw, 90px);
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--c-ink-soft);
  margin: 0 0 36px;
  max-width: 28ch;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--c-rule);
  padding-top: 24px;
  max-width: 480px;
}
.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta strong {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 28px;
  color: var(--c-blush-deep);
  font-weight: 400;
}
.hero-meta span {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-mute);
}

.hero-photos {
  position: relative;
  height: clamp(440px, 60vw, 640px);
}
.hero-photo {
  position: absolute;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(28,22,20,.35);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero-photo:hover img { transform: scale(1.04); }

.hp-a { top: 0; left: 8%; width: 58%; height: 78%; }
.hp-b { bottom: 0; right: 0; width: 46%; height: 56%; }
.hp-c { bottom: 12%; left: 0; width: 32%; height: 40%; z-index: 2; }

.hero-stamp {
  position: absolute;
  top: -8px;
  right: 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 18px 22px;
  background: var(--c-paper);
  border: 1px solid var(--c-blush);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  justify-content: center;
  font-family: var(--ff-display);
  color: var(--c-blush-deep);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  z-index: 3;
  animation: spin-slow 30s linear infinite;
}
.hero-stamp .big {
  font-size: 32px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}
@keyframes spin-slow {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

/* ============================================
   ABOUT
   ============================================ */
/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--c-cream);
}

.about-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-blush-deep);
  margin-bottom: 28px;
}
.about-eyebrow .line {
  width: 48px; height: 1px;
  background: var(--c-blush-deep);
  flex-shrink: 0;
}

.about .section-title {
  max-width: 24ch;
  margin-bottom: 48px;
}

/* Row: photos left, text right */
.about-inner {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  align-items: flex-start;
}

/* Photos column */
.about-photos {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-photos > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 16px 32px -16px rgba(28,22,20,.25);
}
.about-photos-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about-photos-small img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 12px 24px -12px rgba(28,22,20,.22);
}

/* Text column */
.about-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--c-ink-soft);
  padding-top: 8px;
}
.about-text p { margin: 0; }
.signature {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 26px;
  color: var(--c-blush-deep);
  margin-top: 8px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--c-paper);
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 10vw, 140px);
}
.service {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.service--reverse {
  grid-template-columns: 1fr 1.1fr;
}
.service--reverse .service-img { order: 2; }
.service--reverse .service-body { order: 1; }

.service-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.service:hover .service-img img { transform: scale(1.05); }
.service-num {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--c-paper);
  color: var(--c-blush-deep);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 32px;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
}

.service-body h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  margin: 0 0 28px;
  letter-spacing: -0.005em;
}
.service-body h3 small {
  display: block;
  font-size: .5em;
  font-family: var(--ff-body);
  font-style: normal;
  color: var(--c-mute);
  letter-spacing: .04em;
  margin-top: 8px;
  text-transform: lowercase;
}
.service-lead {
  color: var(--c-ink-soft);
  margin: 0 0 28px;
  font-size: 16px;
}

.price-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-rule);
  margin-bottom: 32px;
}
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-rule);
}
.price-list li span {
  color: var(--c-ink-soft);
  font-size: 15px;
}
.price-list li b {
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

/* ============================================
   WHY ME
   ============================================ */
.why {
  padding: clamp(80px, 12vw, 150px) 0;
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-2) 100%);
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.why-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  background: var(--c-paper);
  border-radius: 4px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(28,22,20,.2);
}
.why-img {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
}
.why-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.why-num {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  color: var(--c-blush-deep);
  margin-bottom: 6px;
}
.why-text h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.why-text p {
  margin: 0;
  font-size: 15px;
  color: var(--c-ink-soft);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--c-paper);
}

.gallery {
  column-count: 3;
  column-gap: clamp(12px, 1.5vw, 22px);
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(12px, 1.5vw, 22px);
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-cream);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .9s var(--ease), filter .4s var(--ease);
  filter: saturate(.96);
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28,22,20,.5));
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}
.gallery-item:hover::after { opacity: 1; }

.gallery-cat-heading {
  column-span: all;
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--c-ink);
  margin: clamp(28px, 4vw, 48px) 0 clamp(10px, 1.5vw, 16px);
}
.gallery-cat-heading:first-child { margin-top: 0; }

@media (max-width: 900px) {
  .gallery { column-count: 2; }
}
@media (max-width: 520px) {
  .gallery { column-count: 1; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 9, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lb-image {
  max-width: 92vw;
  max-height: 88vh;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 24px;
  display: grid; place-items: center;
  transition: background .25s var(--ease);
  backdrop-filter: blur(8px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 24px; right: 24px; font-size: 32px; line-height: 1; }
.lb-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: .1em;
  opacity: .8;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--c-ink);
  color: var(--c-paper);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(200,154,138,.18), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(184,153,104,.10), transparent 70%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.contact-text p {
  font-size: 17px;
  color: var(--c-cream-2);
  max-width: 44ch;
  margin: 0;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border: 1px solid rgba(244,237,228,.18);
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 24px;
  transition: all .3s var(--ease);
}
.cb-arrow {
  transition: transform .35s var(--ease);
  color: var(--c-blush);
}
.contact-btn:hover {
  background: var(--c-paper);
  color: var(--c-ink);
  border-color: var(--c-paper);
}
.contact-btn:hover .cb-arrow {
  transform: translateX(8px);
  color: var(--c-blush-deep);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--c-cream);
  padding: 36px 0;
  border-top: 1px solid var(--c-rule);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-size: 16px;
}
.footer-meta {
  font-size: 13px;
  color: var(--c-mute);
  margin: 0;
}
.footer-top {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  border-bottom: 1px solid var(--c-rule);
  padding-bottom: 4px;
  transition: color .25s var(--ease);
}
.footer-top:hover { color: var(--c-blush-deep); }

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-stamp { animation: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .nav-main { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-row > .btn { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-photos { height: 70vw; max-height: 560px; }

  .about-inner { flex-direction: column; }
  .about-photos { flex: none; width: 100%; }

  .service,
  .service--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service--reverse .service-img { order: 0; }
  .service--reverse .service-body { order: 0; }
  .service-img { aspect-ratio: 4/3; }

  .why-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .why-card {
    grid-template-columns: 90px 1fr;
    gap: 18px;
    padding: 18px;
  }
  .display .italic { padding-left: 24px; }
  .hero-meta { gap: 18px; }
  .hero-meta strong { font-size: 22px; }
  .hero-stamp { width: 100px; height: 100px; right: 0; }
  .hero-stamp .big { font-size: 24px; }

  .footer-row { justify-content: center; text-align: center; }

  .contact-btn { padding: 18px 22px; font-size: 20px; }

  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 18px; }
  .lb-close { width: 44px; height: 44px; font-size: 26px; top: 16px; right: 16px; }
}



@media (max-width: 360px) {
  .nav-row { gap: 10px; }
  .nav-row > .search-trigger { display: none; }
  .logo-name { font-size: 13px; line-height: 1.15; }
}
