/* ============================================================
   SOLENNE — hair · skin · beauty
   Editorial salon site: uppercase grotesque headings +
   italic serif accents, soft blush neutrals, oval imagery.
   ============================================================ */

:root {
  --ink: #3b3b3b;
  --gray: #787878;
  --gray-2: #a0a0a0;
  --line: #d8d8d8;
  --blush: #f3e8e7;
  --dark: #222;
  --darker: #232323;
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", serif;
  --ease: cubic-bezier(0.18, 0.71, 0.11, 1);
  --max: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

h1, h2 {
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.5px;
}
.muted { color: var(--gray-2); }
.small { font-size: 13px; }

.container { width: 92%; max-width: var(--max); margin: 0 auto; position: relative; }
.border { border-bottom: 1px solid var(--line); }
.border.light { border-color: #444; margin: 3.5rem 0 1.5rem; }
section { margin: 8rem 0; }
@media (max-width: 768px) { section { margin: 4.5rem 0; } }

.underline { position: relative; }
.underline::after {
  content: ""; position: absolute; left: 0; bottom: 6%;
  width: 100%; height: 2px; background: var(--ink);
}
.pill {
  display: inline-block; border: 1px solid #c8c8c8; border-radius: 5rem;
  padding: 0.55rem 1.8rem 0.4rem; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.5px; line-height: 1;
}

/* arrows */
.cta-arrow {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center; flex: none;
  transition: transform 0.3s var(--ease);
}
.cta-arrow.dark { width: 2.8rem; height: 2.8rem; }
.arrowlong {
  width: 4.6rem; height: 4.6rem; border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center; flex: none;
  transition: transform 0.3s var(--ease);
}

/* ============ HEADER ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 99;
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; gap: 2rem; }
.nav__logo { font-family: var(--serif); font-size: 26px; text-transform: none; font-weight: 400; letter-spacing: 0; }
.nav__logo i { font-style: italic; }
.nav__links { display: flex; gap: 2.6rem; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; top: 100%; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.3s;
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__cta {
  background: #333; color: #fff; border-radius: 5rem; padding: 0.9rem 1.9rem;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span { width: 26px; height: 2px; background: var(--ink); transition: transform 0.5s var(--ease); }

.nav.is--white { color: #fff; }
.nav.is--white .nav__burger span { background: #fff; }
.nav.is--white .nav__cta { background: #fff; color: var(--ink); }
.nav.is--scrolled { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is--scrolled .nav__cta { background: #333; color: #fff; }
.nav.is--scrolled .nav__burger span { background: var(--ink); }

/* ============ HERO ============ */
#intro {
  margin: 0; height: 100svh; min-height: 620px; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--blush);
}
.intro__image, .intro__image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__image img { height: 112%; }
.overlay { position: absolute; inset: 0; background: #000; opacity: 0.28; }
.intro__text { position: relative; z-index: 2; color: #fff; text-align: center; margin-bottom: 22vh; padding: 0 16px; }
.intro__text h1 { font-size: clamp(2.4rem, 5.4vw, 5.4rem); text-transform: none; font-weight: 600; }
.intro__text h1 .serif { font-size: 1.12em; }
.intro__text p { margin: 1.4rem auto 0; max-width: 400px; opacity: 0.92; }
.intro__cta {
  position: absolute; z-index: 2; bottom: 6%; left: 50%; transform: translateX(-50%);
  width: min(90%, 560px); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px);
  border-radius: 5rem; padding: 1.7rem 1rem; text-align: center;
  font-size: 13px; font-weight: 600; text-transform: uppercase; text-decoration: underline;
}
.intro__cta .cta-arrow { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); }
.intro__cta:hover .cta-arrow { transform: translateY(-50%) scale(1.08); }

/* ============ PROMISE ============ */
.promise__head h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.promise__head h2 .serif { font-size: 1.35em; }
.promise__desc { max-width: 350px; margin-top: 1.6rem; color: var(--gray); }
.promise__stage { position: relative; margin-top: 6rem; }
.promise__oval {
  width: min(68%, 700px); aspect-ratio: 0.82; margin: 0 auto;
  border-radius: 50%; overflow: hidden; position: relative;
}
.promise__oval img { width: 100%; height: 115%; }
.promise__float { position: absolute; width: clamp(120px, 15vw, 220px); z-index: 2; border-radius: 10px; }
.promise__float-1 { right: 4%; top: 8%; aspect-ratio: 0.8; }
.promise__float-2 { left: 10%; bottom: 4%; aspect-ratio: 0.8; }
.promise__row { display: flex; gap: 1.8rem; }
.promise__row-1 { position: absolute; inset: 0 auto auto 0; align-items: flex-start; }
.promise__row-2 { position: absolute; right: 0; bottom: 0; align-items: flex-end; }
.promise__item {
  background: #f5f5f5; border-radius: 14px; max-width: 285px;
  padding: 3.2rem 2.2rem 2.6rem; text-align: center;
}
.promise__row-1 .promise__item:first-child { margin-top: 3.5rem; }
.promise__row-2 .promise__item:last-child { margin-bottom: 3.5rem; }
.promise__icon {
  width: 6.2rem; height: 6.2rem; margin: 0 auto; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
}
.promise__item h3 { font-size: 17px; font-weight: 600; text-transform: uppercase; margin: 1.6rem auto 1rem; max-width: 70%; line-height: 1.2; }
.promise__item p { font-size: 14px; color: var(--gray); }

@media (max-width: 1020px) {
  .promise__stage { display: flex; flex-direction: column; gap: 1.5rem; }
  .promise__oval { width: 100%; aspect-ratio: 1.1; order: -1; }
  .promise__row { position: static; justify-content: center; flex-wrap: wrap; }
  .promise__row-1 .promise__item:first-child, .promise__row-2 .promise__item:last-child { margin: 0; }
  .promise__float { display: none; }
}

/* ============ RITUALS ============ */
.rituals__title { text-align: center; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 0.95; margin-bottom: 6rem; }
.rituals__title .serif { font-size: 1.32em; letter-spacing: -2px; }
.half { display: flex; align-items: stretch; min-height: 92vh; overflow: hidden; }
.half--flip { flex-direction: row-reverse; }
.half__img { width: 50%; position: relative; overflow: hidden; }
.half__img img { position: absolute; inset: 0; width: 100%; height: 112%; }
.half__content { width: 50%; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 3.5rem clamp(1.2rem, 4vw, 4rem); }
.half__text { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.half__text h3 { font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 400; line-height: 1; }
.half__text h3 .serif { font-size: 1.1em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; }
.service {
  border-radius: 14px; padding: 1.4rem 1.2rem; min-height: 21rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  transition: transform 0.35s var(--ease);
}
.service:hover { transform: translateY(-6px); }
.service__cat {
  align-self: flex-start; background: #fff; border-radius: 5rem;
  padding: 0.6rem 1.4rem 0.45rem; font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; line-height: 1;
}
.service__body h4 { font-size: 21px; font-weight: 500; line-height: 1.15; margin-bottom: 0.6rem; }
.service__body p { font-size: 13.5px; color: rgba(59, 59, 59, 0.72); }
.service__foot { display: flex; align-items: flex-end; justify-content: space-between; font-size: 13px; }
.service__foot b { font-weight: 600; font-size: 16px; white-space: nowrap; }
.half__note { font-size: 13px; text-transform: uppercase; max-width: 330px; color: var(--gray); }

@media (max-width: 860px) {
  .half, .half--flip { flex-direction: column; min-height: 0; }
  .half__img { width: 100%; height: 320px; }
  .half__img img { height: 120%; }
  .half__content { width: 100%; padding: 2rem 4%; }
  .half + .half { margin-top: 3rem; }
}

/* ============ ETHOS ============ */
#ethos { background: #f5f5f5; margin: 0; padding: 10rem 0 12rem; position: relative; }
.ethos__title { font-size: clamp(3rem, 9vw, 9.5rem); text-align: center; position: relative; }
.ethos__title::before {
  content: "ETHOS"; position: absolute; left: 6%; top: -1.2em;
  border: 1px solid var(--ink); border-radius: 5rem; opacity: 0.6;
  font-size: 12px; letter-spacing: 1px; padding: 0.6rem 3.2rem 0.45rem; font-weight: 500;
}
.ethos__title-2 { font-size: clamp(3rem, 9vw, 9.5rem); line-height: 0.9; margin-top: 0.4em; }
.ethos__title-2 .serif { text-transform: uppercase; }
@media (min-width: 861px) { .ethos__title-2 { transform: translateX(38%); } }
.ethos__image {
  width: min(40rem, 88%); border-radius: 8px; overflow: hidden;
  margin: -6% 0 0 8%; position: relative; z-index: 1; aspect-ratio: 1.25;
}
.ethos__image img { width: 100%; height: 115%; }
.ethos__items { display: flex; flex-direction: column; align-items: flex-end; gap: 3rem; margin-top: 3rem; }
.ethos__item { max-width: 520px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.ethos__item h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.05; }
.ethos__item p { font-size: 15px; }
.ethos__arrow {
  display: flex; align-items: center; gap: 1.2rem; margin-top: 4rem;
  font-size: 13px; font-weight: 600; text-transform: uppercase; text-decoration: underline;
}
@media (min-width: 861px) { .ethos__arrow { position: absolute; left: 5%; top: 44%; } }
.ethos__arrow:hover .arrowlong { transform: scale(1.08); }
@media (max-width: 860px) {
  #ethos { padding: 6rem 0 7rem; }
  .ethos__image { margin: 2rem auto 0; }
  .ethos__item { grid-template-columns: 1fr; }
  .ethos__items { align-items: flex-start; }
}

/* ============ OFFER ============ */
#offer { margin-bottom: 0; }
.offer__media { position: relative; min-height: 88vh; overflow: hidden; display: flex; }
.offer__media > img { position: absolute; inset: 0; width: 100%; height: 112%; }
.offer__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,0.42), rgba(0,0,0,0.06) 60%); }
.offer__text { position: relative; z-index: 2; color: #fff; align-self: flex-start; margin: 6rem 0 0 6%; }
.offer__text h3 { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 600; text-transform: uppercase; line-height: 0.92; }
.offer__text h3 i { font-size: 1.15em; font-weight: 400; }
.offer__text p { margin-top: 1.4rem; max-width: 360px; opacity: 0.9; }
.offer__cta {
  position: absolute; z-index: 2; right: 6%; top: 9rem; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-size: 13px; font-weight: 600; text-transform: uppercase; text-decoration: underline;
}
.offer__cta .arrowlong { background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); }
.offer__cta:hover .arrowlong { transform: scale(1.08); }
@media (max-width: 860px) {
  .offer__media { min-height: 70vh; }
  .offer__text { margin: 4rem 5% 0; }
  .offer__cta { top: auto; bottom: 3rem; right: 8%; }
}

/* ============ JOURNAL ============ */
#journal { background: var(--dark); color: #fff; margin: 0; padding: 8rem 0; }
.journal__head { text-align: center; margin-bottom: 4.5rem; }
.journal__head h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 0.9; }
.journal__head h2 .serif { font-size: 1.35em; }
.journal__head p { margin-top: 1.2rem; color: #9c9c9c; }
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.journal__card { background: #fff; color: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.journal__img { height: 15rem; overflow: hidden; }
.journal__img img { width: 100%; height: 100%; transform: scale(1.08); transition: transform 1s var(--ease); }
.journal__card:hover .journal__img img { transform: scale(1); }
.journal__text { padding: 1.8rem; display: flex; flex-direction: column; gap: 1.6rem; flex: 1; justify-content: space-between; }
.journal__text h3 { font-size: 17px; font-weight: 500; line-height: 1.35; }
.journal__meta { display: flex; justify-content: space-between; font-size: 12.5px; }
.journal__meta .underlined { text-decoration: underline; }
@media (max-width: 860px) { .journal__grid { grid-template-columns: 1fr; } }

/* ============ CONNECT ============ */
#connect { margin: 12rem 0 14rem; }
.connect__wrap { text-align: center; position: relative; }
.connect__title-1 {
  font-size: clamp(2.6rem, 5.6vw, 5.4rem); position: relative; z-index: 2;
  transform: translateY(0.55em); line-height: 0.9;
}
.connect__image {
  width: min(46rem, 82%); margin: 0 auto; aspect-ratio: 0.8;
  overflow: hidden; position: relative;
}
.connect__image img { width: 100%; height: 114%; }
.connect__title-2 {
  font-size: clamp(3rem, 6.4vw, 6.4rem); line-height: 0.7;
  position: relative; z-index: 2; transform: translateY(-0.5em);
}
.connect__socmed {
  margin: 2.5rem auto 0; max-width: 20rem; border: 1px solid #c8c8c8; border-radius: 5rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.6rem 0.55rem 2rem; font-size: 13px; font-weight: 600;
  text-transform: uppercase; text-decoration: underline;
}
.connect__socmed:hover .cta-arrow { transform: scale(1.08); }

/* ============ FOOTER ============ */
#footer { margin-top: 8rem; padding-bottom: 3rem; }
.footer__parallax { height: 82vh; overflow: hidden; position: relative; }
.footer__parallax img { width: 100%; height: 115%; filter: brightness(1.05); }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; padding: 4.5rem 0; }
.footer__links { display: grid; grid-template-columns: repeat(3, auto); gap: 2.5rem; align-content: start; font-size: 15px; }
.subtitle { font-size: 12px; text-transform: uppercase; color: var(--gray-2); margin-bottom: 1rem; letter-spacing: 0.5px; }
.footer__links li { margin-bottom: 0.5rem; }
.link { position: relative; }
.link::after {
  content: ""; position: absolute; left: 0; top: 100%; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.3s;
}
.link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.footer__email {
  background: var(--darker); color: #fff; text-align: center;
  padding: 4.5rem 3rem 2.5rem; margin-top: -34%;
}
.footer__email h5 { font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 600; text-transform: uppercase; line-height: 0.9; margin-bottom: 1.4rem; }
.footer__email .muted { max-width: 270px; margin: 0 auto; }
.footer__email input {
  width: 100%; margin: 2.8rem 0; background: none; border: 1px solid #4a4a4a;
  border-radius: 5rem; color: #fff; padding: 1.25rem 1.5rem; font: inherit; outline: none;
}
.footer__email input::placeholder { color: #fff; opacity: 0.5; text-transform: uppercase; font-size: 13px; font-weight: 600; }
.footer__submit { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; margin: 0 auto; color: #cfcfcf; font-size: 12.5px; text-transform: uppercase; }
.footer__submit .arrowlong { background: #787878; transition: background 0.6s var(--ease), transform 0.3s var(--ease); }
.footer__submit:hover .arrowlong { background: #fff; transform: scale(1.06); }
.footer__submit:hover .arrowlong svg path { fill: var(--darker); }
.footer__submit span { text-decoration: underline; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 13px; color: var(--gray); flex-wrap: wrap; }
.footer__logo { font-family: var(--serif); font-size: 24px; color: var(--ink); }
@media (max-width: 992px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__email { margin-top: -30%; }
  .footer__links { order: 2; grid-template-columns: 1fr 1fr; }
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ MOBILE NAV ============ */
@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: 0; background: #fff; color: var(--ink);
    flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
    font-size: 2rem; text-transform: none; font-weight: 400;
    transform: translateX(-100%); transition: transform 0.7s var(--ease); z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav.menu-open { color: var(--ink); }
  .nav.menu-open .nav__burger span { background: var(--ink); }
  .nav.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}
