/* ============== Fashion House Парушев — shared shell ============== */
:root {
  --bg:        #F8F5F0;
  --surface:   #FFFFFF;
  --fg:        #1E1E1E;
  --muted:     #6B6864;
  --border:    rgba(30,30,30,0.12);
  --hairline:  rgba(30,30,30,0.18);
  --gold:      #B89B5E;
  --burgundy:  #5E1F28;
  --sand:      #EFEAE2;

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --max:  1440px;
  --pad:  clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 11px;
  color: var(--muted);
  display: inline-block;
}
.eyebrow--gold { color: var(--gold); }

.hairline { height: 1px; background: var(--hairline); width: 100%; }
.hairline--gold { background: var(--gold); height: 1px; }

/* ============== NAV ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--pad);
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  background: transparent;
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease, color 0.35s ease;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.nav.is-scrolled {
  background: rgba(248,245,240,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px var(--pad);
  border-bottom-color: var(--border);
  color: var(--fg);
}
/* Inner pages: nav-on-light by default (no hero behind it) */
body.page-inner .nav {
  background: rgba(248,245,240,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  color: var(--fg);
}
body.page-inner .nav.is-scrolled { padding: 16px var(--pad); }

/* WordPress admin bar — keep fixed nav below the toolbar */
body.admin-bar .nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .nav {
    top: 46px;
  }
}

/* Logged-in homepage preview: readable nav before scroll */
body.admin-bar.home .nav {
  background: rgba(248, 245, 240, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  color: var(--fg);
}

/* wp_nav_menu() wraps items in <li> */
.nav__links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.site-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}
.site-logo--nav {
  height: 44px;
  max-width: min(200px, 34vw);
}
.site-logo-stack--nav {
  position: relative;
  display: inline-block;
  height: 44px;
  width: 124px;
  max-width: min(200px, 34vw);
  flex: 0 0 auto;
}
.site-logo-stack--nav img {
  position: absolute;
  top: 0;
  left: 0;
  height: 44px;
  width: auto;
  max-width: min(200px, 34vw);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.site-logo--on-dark {
  opacity: 0;
  visibility: hidden;
}
.site-logo--on-light {
  opacity: 1;
  visibility: visible;
}
body.home .nav:not(.is-scrolled) .site-logo--on-dark {
  opacity: 1;
  visibility: visible;
}
body.home .nav:not(.is-scrolled) .site-logo--on-light {
  opacity: 0;
  visibility: hidden;
}
body.admin-bar.home .nav:not(.is-scrolled) .site-logo--on-dark {
  opacity: 0;
  visibility: hidden;
}
body.admin-bar.home .nav:not(.is-scrolled) .site-logo--on-light {
  opacity: 1;
  visibility: visible;
}
.site-logo--footer {
  height: 52px;
  max-width: 220px;
  margin-bottom: 10px;
  opacity: 0.92;
}
.footer__brand-link {
  display: inline-block;
  line-height: 0;
}
.nav > nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 1.8vw, 28px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__links a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.nav__links a:hover::after,
.nav__links a.is-current::after,
.nav__links .current-menu-item > a::after,
.nav__links .current_page_item > a::after { transform: scaleX(1); }
.nav__links a.is-current,
.nav__links .current-menu-item > a,
.nav__links .current_page_item > a { color: var(--gold); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  flex: 0 0 auto;
  min-width: 0;
}

.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: inherit;
  transition: color 0.25s ease;
}

.nav__cart:hover,
.nav__cart:focus-visible {
  color: var(--gold);
  outline: none;
}

.nav__cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav__cart-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nav__cart-count {
  position: absolute;
  top: 5px;
  right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid currentColor;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.nav__lang-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid currentColor;
}

.nav__lang-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 36px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: inherit;
  opacity: 0.55;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nav__lang-item + .nav__lang-item a {
  border-left: 1px solid currentColor;
}

.nav__lang-item.is-active a {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

body.page-inner .nav__lang-item.is-active a,
.nav.is-scrolled .nav__lang-item.is-active a {
  background: rgba(30, 30, 30, 0.06);
}

.nav__lang-item a:hover,
.nav__lang-item a:focus-visible {
  opacity: 1;
  color: var(--gold);
  outline: none;
}

.nav__lang--header {
  flex-shrink: 0;
}

.nav__cta {
  padding: 12px 18px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
  flex: 0 0 auto;
  white-space: nowrap;
}
.nav.is-scrolled .nav__cta:hover,
body.page-inner .nav__cta:hover { background: var(--fg); color: var(--bg); }
.nav__cta:hover { background: #fff; color: var(--fg); }

.nav__burger {
  display: none;
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  position: relative;
  color: inherit;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 60;
}
.nav__burger span {
  position: absolute;
  left: 6px; right: 6px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 18px; }
.nav__burger span:nth-child(3) { top: 23px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

body.menu-open .nav__burger {
  opacity: 0;
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1280px) and (min-width: 961px) {
  .nav__links { gap: clamp(8px, 1vw, 14px); }
  .nav__links a {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .nav__cta {
    padding: 10px 12px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .site-logo--nav,
  .site-logo-stack--nav img {
    height: 36px;
    max-width: 150px;
  }
  .site-logo-stack--nav {
    height: 36px;
    width: 100px;
    max-width: 150px;
  }
}

@media (max-width: 1100px) {
  .nav > nav { display: none; }
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: block; }
  .nav.is-scrolled,
  body.home .nav { color: var(--fg); }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    overflow: hidden;
  }
  body.menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu__top {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: clamp(20px, 4vw, 28px) var(--pad);
    border-bottom: 1px solid var(--hairline);
  }

  .nav__lang--mobile {
    flex: 0 0 auto;
  }

  .nav__lang--mobile .nav__lang-list {
    border-color: var(--hairline);
  }

  .nav__lang--mobile .nav__lang-item a {
    color: var(--fg);
    border-color: var(--hairline);
  }

  .nav__lang--mobile .nav__lang-item + .nav__lang-item a {
    border-left-color: var(--hairline);
  }

  .mobile-menu__back {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: transparent;
    border: 0;
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding: 6px 0;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  .mobile-menu__back:hover { color: var(--gold); }

  .mobile-menu__back-icon {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
  }
  .mobile-menu__back-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 9px;
    height: 9px;
    border-left: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
  }

  .mobile-menu__links {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 3.5vh, 30px);
    padding: clamp(32px, 6vh, 56px) var(--pad) clamp(48px, 8vh, 72px);
  }

  .mobile-menu__links a {
    font-family: var(--font-display);
    font-size: clamp(26px, 6vw, 40px);
    font-weight: 400;
    color: var(--fg);
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-align: center;
  }
  .mobile-menu__links a.is-current { color: var(--gold); }

  .mobile-menu__cta {
    display: inline-block;
    margin-top: clamp(8px, 2vh, 16px);
    padding: 16px 32px;
    border: 1px solid var(--fg);
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
  }
  .mobile-menu__cta:hover {
    background: var(--fg);
    color: var(--bg);
  }
}
body.admin-bar .mobile-menu {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .mobile-menu {
    top: 46px;
  }
}
@media (min-width: 1101px) { .mobile-menu { display: none; } }

/* ============== SECTION SCAFFOLD ============== */
section { position: relative; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 160px) var(--pad);
}
.section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 56px;
}
.section-head .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  font-weight: 400;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.01em;
}
.section-head .line {
  flex: 1;
  height: 1px;
  background: var(--hairline);
  margin-bottom: 12px;
}

/* Collections — always 2-up (theme + CMS page content) */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
}

.collections-grid > p,
.collections-grid > div:not(.collection) {
  margin: 0;
}

.collections-grid > p:has(> .collection),
.collections-grid > div:has(> .collection):not(.collection) {
  display: contents;
}

.collections-grid > .collection,
.collections-grid > p > .collection,
.collections-grid > div > .collection {
  display: block;
  min-width: 0;
}

@media (max-width: 540px) {
  .collections-grid {
    grid-template-columns: 1fr;
  }
}

/* ============== PAGE HEADER (inner pages) ============== */
.page-header {
  background: var(--bg);
  padding: clamp(140px, 22vh, 220px) var(--pad) clamp(60px, 10vh, 110px);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.page-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.page-header__crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.page-header__crumbs a { color: var(--muted); }
.page-header__crumbs a:hover { color: var(--gold); }
.page-header__crumbs .sep { margin: 0 12px; opacity: 0.5; }
.page-header__crumbs .here { color: var(--gold); }

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 130px);
  line-height: 0.96;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
.page-header h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.page-header__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 8px;
}
@media (max-width: 820px) {
  .page-header__inner { grid-template-columns: 1fr; }
}

/* ============== FOOTER ============== */
.footer {
  background: var(--fg);
  color: rgba(248,245,240,0.7);
  padding: 56px var(--pad) 36px;
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248,245,240,0.14);
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--bg);
  margin: 0 0 10px;
}
.footer__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer__statement {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  max-width: 36ch;
  color: rgba(248,245,240,0.5);
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  font-family: var(--font-display);
  font-size: 17px;
  color: rgba(248,245,240,0.8);
  transition: color 0.3s ease;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.45);
}
@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============== SCROLL REVEAL ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2,0.7,0.2,1), transform 0.9s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============== BUTTONS / SHARED CTAS ============== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--fg);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn--gold { border-color: var(--gold); color: var(--gold); }
.btn--gold:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--bg); }

/* ============== UTILITY ============== */
.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.55;
  color: var(--fg);
  max-width: 60ch;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
