/* ============================================================
   Jolie Femme — premium minimal boutique
   Palette: paper ivory · ink · brand gold
   ============================================================ */

:root {
  --paper: #f6f2ea;
  --paper-deep: #efe9dd;
  --ink: #191713;
  --ink-soft: #4d463c;
  --gold: #c09a45;
  --gold-deep: #a9853a;
  --hairline: rgba(25, 23, 19, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- paper grain over everything ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.055'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: var(--paper); }

a { color: inherit; text-decoration: none; }
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}
body.menu-open { overflow: hidden; }

/* ---- editorial type ---- */
.hero__headline,
.section-title,
.about__statement,
.contact__title,
.contact__phone,
.brand-word {
  font-family: "Arapey", Georgia, serif;
}

/* ---- brand lockup pieces ---- */
.brand-word {
  letter-spacing: 0.22em;
  font-weight: 400;
}
.brand-script {
  font-family: "Mrs Saint Delafield", cursive;
  color: var(--gold);
  font-weight: 400;
  margin-left: 0.08em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), padding 0.45s var(--ease);
}
.nav--scrolled {
  background: rgba(246, 242, 234, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--hairline);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.nav__brand { font-size: 1.05rem; display: inline-flex; align-items: center; }
.nav__brand .brand-script { font-size: 1.5em; line-height: 0; }
.nav__logo { height: 3.4rem; width: auto; display: block; }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

.nav__cta,
.nav__menu-btn,
.btn--gold {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(25, 23, 19, 0.34);
}

.nav__cta {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  background: #3b352c;
  padding: 0.55rem 1rem 0.5rem;
  border-radius: 999px;
  transition: background 0.3s var(--ease);
}
.nav__cta:hover { background: var(--gold-deep); }

.nav__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem 0.5rem;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.nav__menu-lines { display: inline-flex; flex-direction: column; gap: 4px; }
.nav__menu-lines i {
  display: block;
  width: 16px; height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
body.menu-open .nav__menu-lines i:first-child { transform: translateY(2.5px) rotate(45deg); }
body.menu-open .nav__menu-lines i:last-child  { transform: translateY(-2.5px) rotate(-45deg); }

/* ============================================================
   OVERLAY MENU
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: var(--paper-deep);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
body.menu-open .overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease);
}

.overlay__inner { text-align: center; padding: 2rem; }

.overlay__links { list-style: none; }
.overlay__links a {
  display: block;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.28;
  transition: color 0.3s var(--ease), letter-spacing 0.4s var(--ease);
}
.overlay__links a:hover { color: var(--gold-deep); letter-spacing: 0.02em; }

.overlay__links li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
body.menu-open .overlay__links li { opacity: 1; transform: none; }
body.menu-open .overlay__links li:nth-child(1) { transition-delay: 0.10s; }
body.menu-open .overlay__links li:nth-child(2) { transition-delay: 0.18s; }
body.menu-open .overlay__links li:nth-child(3) { transition-delay: 0.26s; }

.overlay__contact {
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease) 0.34s, transform 0.55s var(--ease) 0.34s;
}
body.menu-open .overlay__contact { opacity: 1; transform: none; }

.overlay__eyebrow {
  font-size: 0.7rem;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.overlay__phone { font-size: 1.6rem; color: var(--gold-deep); }
.overlay__minor {
  margin-top: 0.8rem;
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.overlay__minor a:hover { color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  padding: clamp(5.5rem, 10vh, 7rem) clamp(1.5rem, 5vw, 4.5rem) 4rem;
  background: linear-gradient(180deg, var(--paper) 0%, #f4efe5 100%);
  border-bottom: 1px solid var(--hairline);
}

.hero__panel--left { padding-right: clamp(1rem, 4vw, 4rem); }

.hero__headline {
  font-weight: 400;
  font-size: clamp(4rem, 11.5vw, 9.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.hero__headline em { font-style: normal; color: var(--gold); }

/* line-mask entrance */
.hero__headline .line { display: block; overflow: hidden; }
.hero__headline .line > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero__headline .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero__headline .line:nth-child(2) > span { animation-delay: 0.28s; }
.hero__headline .line:nth-child(3) > span { animation-delay: 0.41s; }
@keyframes rise { to { transform: translateY(0); } }

.hero__sub {
  margin-top: 1.6rem;
  max-width: 34ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-style: italic;
  color: var(--ink-soft);
  opacity: 0;
  animation: fade 1s var(--ease) 0.7s forwards;
}

.hero__cta-row {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  opacity: 0;
  animation: fade 1s var(--ease) 0.85s forwards;
}
@keyframes fade { to { opacity: 1; } }

/* fold hairline handled by hero background gradient */
.hero__fold { display: none; }

.hero__panel--right { display: grid; place-items: center; }
.hero__lockup {
  text-align: center;
  opacity: 0;
  animation: fade 1.2s var(--ease) 0.6s forwards;
}
.hero__logo {
  display: block;
  width: min(118%, 52rem);
  max-width: none;
  height: auto;
  margin-left: -9%;
  animation: logo-focus 11s var(--ease) 2s infinite;
  will-change: filter, opacity, transform;
}
@keyframes logo-focus {
  0%, 72%, 100% { filter: blur(0); opacity: 1; transform: scale(1); }
  76% { filter: blur(1.8px); opacity: 0.82; transform: scale(0.996); }
  81% { filter: blur(0); opacity: 1; transform: scale(1); }
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem 0.85rem;
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn--gold {
  background: var(--gold);
  color: #fffdf7;
}
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn--quiet {
  border: 0;
  border-radius: 0;
  padding: 0.4rem 0.1rem;
  color: var(--ink-soft);
}
.btn--quiet:hover { color: var(--ink); }

/* ============================================================
   SECTION PRIMITIVES
   ============================================================ */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow--gold { color: var(--gold-deep); }

.section-title {
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-top: 0.9rem;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 6vw, 6rem);
  max-width: 62rem;
  margin: 0 auto;
}

.services__intro {
  margin-top: 0.9rem;
  font-style: italic;
  color: var(--ink-soft);
}

.menu {
  margin-top: 3rem;
  border-top: 1px solid var(--hairline);
}

/* ---- category accordion ---- */
.cat { border-bottom: 1px solid var(--hairline); }

.cat__head {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1.35rem 0.2rem;
  background: none;
  border: 0;
  font-family: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.cat__num {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  min-width: 1.8rem;
}
.cat__name {
  font-family: "Arapey", Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  transition: color 0.3s var(--ease), transform 0.35s var(--ease);
}
.cat__head:hover .cat__name { color: var(--gold-deep); transform: translateX(0.22rem); }
.cat__icon {
  position: relative;
  width: 13px;
  height: 13px;
  margin-left: auto;
  align-self: center;
  flex: none;
}
.cat__icon::before,
.cat__icon::after {
  content: "";
  position: absolute;
  background: var(--ink-soft);
  transition: transform 0.4s var(--ease);
}
.cat__icon::before { left: 0; top: 6px; width: 13px; height: 1px; }
.cat__icon::after  { left: 6px; top: 0; width: 1px; height: 13px; }
.cat__head[aria-expanded="true"] .cat__icon::after { transform: scaleY(0); }

.cat__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s var(--ease);
}

.cat__list {
  list-style: none;
  padding: 0.25rem 0.2rem 1.5rem 2.9rem;
}
.cat__list--columns {
  columns: 2;
  column-gap: clamp(2rem, 8vw, 5rem);
}
.cat__list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1rem;
  break-inside: avoid;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.cat__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.92em;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--gold);
}
.cat__desc {
  display: block;
  margin-top: 0.18rem;
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: 0.78;
}

.cat__note {
  margin: -0.6rem 0.2rem 1.5rem 2.9rem;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 52ch;
}

.services__note {
  margin-top: 1.6rem;
  font-style: italic;
  color: var(--ink-soft);
}
.services__cta { margin-top: 2.4rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--paper-deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.about__inner {
  max-width: 54rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.5rem, 6vw, 4rem);
  text-align: center;
}
.about__statement {
  margin-top: 1.4rem;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.25;
}
.about__body {
  margin: 1.6rem auto 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================================
   LOCATION
   ============================================================ */
.location {
  padding: clamp(4.5rem, 10vh, 7rem) 1.5rem;
  border-bottom: 1px solid var(--hairline);
}
.location__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.location__body {
  max-width: 54ch;
  margin: 1.2rem auto 0;
  color: var(--ink-soft);
  line-height: 1.7;
}
.location__link {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}
.location__link:hover { color: var(--ink); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  text-align: center;
  padding: clamp(5.5rem, 14vh, 10rem) 1.5rem;
}
.contact__title {
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin-top: 1rem;
}
.contact__phone {
  display: inline-block;
  margin-top: 2rem;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  color: var(--gold-deep);
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact__phone:hover { color: var(--ink); border-color: var(--gold); }
.contact__hint {
  margin-top: 0.9rem;
  font-style: italic;
  color: var(--ink-soft);
}
.contact__alt {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 1rem;
}
.contact__alt a:hover { color: var(--ink); }
.contact__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.instagram-icon {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.instagram-icon__dot {
  fill: currentColor;
  stroke: none;
}
.contact__dot { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--hairline);
  text-align: center;
  padding: 3rem 1.5rem 2.6rem;
}
.footer__brand { font-size: 1.5rem; }
.footer__brand .brand-script { font-size: 1.5em; }
.footer__meta {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer__copy {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: rgba(77, 70, 60, 0.7);
}

/* ---- mobile conversion control ---- */
.mobile-book { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, var(--paper) 0%, #f4efe5 100%);
    padding-top: 6rem;
    row-gap: 3rem;
    align-content: center;
  }
  .hero__panel--right { display: none; }
  .nav__cta { display: none; }
  .cat__list { padding-left: 1.9rem; }
  .cat__note { margin-left: 1.9rem; }
}

@media (max-width: 520px) {
  body { padding-bottom: 4.75rem; }
  .nav { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero__headline { font-size: clamp(3.5rem, 20vw, 5rem); }
  .cat__head { gap: 0.75rem; }
  .cat__list--columns { columns: 1; }
  .overlay__minor { flex-direction: column; gap: 0.45rem; }
  .contact__phone { font-size: clamp(2.15rem, 12vw, 3rem); }
  .contact__dot { display: none; }
  .contact__alt { flex-direction: column; }
  .mobile-book {
    position: fixed;
    z-index: 30;
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.82rem 1rem;
    border-radius: 999px;
    color: #fffdf7;
    background: #3b352c;
    box-shadow: inset 0 1px rgba(255,255,255,0.3), inset 0 -1px rgba(0,0,0,0.3), 0 8px 28px rgba(25,23,19,0.18);
    font-size: 0.72rem;
    text-transform: uppercase;
  }
  .mobile-book strong { font-size: 0.72rem; font-weight: 500; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__headline .line > span { animation: none; transform: none; }
  .hero__sub, .hero__cta-row, .hero__lockup, .hero__logo { animation: none; opacity: 1; }
  .cat__name { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
