/* TRUCCO — boutique salon identity · © Amina Javed */

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

:root {
  --white: #fffcfb;
  --snow: #faf7f6;
  --blush: #f6ecec;
  --blush-deep: #ecd9d9;
  --petal: #e8caca;
  --rose: #c99a9a;
  --mauve: #8f7178;
  --ink: #3a3133;
  --ink-soft: #6b5d60;
  --gold: #c4a882;
  --wa: #1f9d58;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section: clamp(5rem, 12vw, 9rem);
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --max: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.photo-warm {
  filter: saturate(1.14) contrast(1.06) brightness(1.05) sepia(0.06);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--blush-deep); color: var(--ink); }

/* ── Arrival ── */

.arrival {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.arrival-mark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--ink);
  opacity: 0;
  animation: arriveText 1.2s var(--ease) 0.2s forwards;
}

.arrival-line {
  width: 1px;
  height: 0;
  background: var(--petal);
  animation: arriveLine 1s var(--ease) 0.5s forwards;
}

.arrival.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes arriveText {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes arriveLine {
  to { height: 48px; }
}

/* ── Top nav ── */

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.4rem var(--gutter);
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.4s;
}

.top.solid {
  background: rgba(255, 252, 251, 0.72);
  backdrop-filter: blur(20px) saturate(1.2);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(236, 217, 217, 0.5);
}

.top-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  justify-self: start;
}

.top-nav {
  display: flex;
  gap: 2.25rem;
  justify-self: center;
}

.top-nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s;
}

.top-nav a:hover { color: var(--ink); }

.top-cta {
  justify-self: end;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1.2rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 100px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.top-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(58, 49, 51, 0.12);
}

.top-menu {
  display: none;
  justify-self: end;
  width: 40px;
  height: 40px;
  position: relative;
}

.top-menu span,
.top-menu::before,
.top-menu::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s;
}

.top-menu span { top: 50%; transform: translateY(-50%); }
.top-menu::before { top: 13px; }
.top-menu::after { bottom: 13px; }

.panel {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: rgba(255, 252, 251, 0.96);
  backdrop-filter: blur(24px);
  padding: 5rem 2.5rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
}

.panel.open { transform: translateY(0); }

.panel-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink-soft);
}

.panel nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.panel nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
}

.panel-wa {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--wa);
}

@media (max-width: 900px) {
  .top-nav, .top-cta { display: none; }
  .top-menu { display: block; }
}

/* ── Buttons ── */

.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.85rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(58, 49, 51, 0.14);
}

.btn-line {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--petal);
  padding-bottom: 0.25rem;
  transition: color 0.3s, border-color 0.3s;
}

.btn-line:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ── Welcome ── */

.welcome {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: calc(var(--section) * 0.7) var(--gutter) var(--section);
  overflow: hidden;
}

.welcome-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(246, 236, 236, 0.9) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 75%, rgba(236, 217, 217, 0.45) 0%, transparent 55%),
    var(--white);
  z-index: 0;
}

.welcome-inner,
.welcome-visual {
  position: relative;
  z-index: 1;
}

.welcome-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 1.75rem;
}

.welcome-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.welcome-title .row { display: block; }

.welcome-title .italic {
  font-style: italic;
  color: var(--rose);
  padding-left: clamp(0.5rem, 4vw, 3rem);
}

.welcome-lead {
  max-width: 420px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 2.25rem;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2rem;
}

.welcome-note {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mauve);
}

.visual-frame {
  border-radius: 280px 280px 24px 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(143, 113, 120, 0.14);
  background: var(--blush);
}

.visual-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.visual-caption {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mauve);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--petal), transparent);
  animation: scrollPulse 2.2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 900px) {
  .welcome {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
  }
  .welcome-lead,
  .welcome-actions { margin-left: auto; margin-right: auto; justify-content: center; }
  .welcome-visual { max-width: 380px; margin: 0 auto; order: -1; }
  .welcome-title .italic { padding-left: 0; }
}

/* ── Moment band ── */

.moment {
  position: relative;
  height: clamp(420px, 65vh, 720px);
  overflow: hidden;
  background: var(--ink);
}

.moment-track {
  display: flex;
  height: 100%;
  animation: momentDrift 36s linear infinite;
  width: max-content;
}

.moment-slide {
  flex: 0 0 100vw;
  height: 100%;
}

.moment-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.moment-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.moment-copy p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 252, 251, 0.92);
  text-align: center;
  padding: 0 2rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

@keyframes momentDrift {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-100vw); }
  66%, 94% { transform: translateX(-200vw); }
  100% { transform: translateX(0); }
}

/* ── Story sections ── */

.story-section {
  padding: var(--section) var(--gutter);
}

.story-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 1.25rem;
}

.story-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.story-section h2 em {
  font-style: italic;
  color: var(--rose);
}

.section-intro {
  max-width: var(--max);
  margin: 0 auto 3.5rem;
}

.section-intro.center { text-align: center; }

.section-intro p {
  margin-top: 1.25rem;
  max-width: 480px;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1.02rem;
}

.section-intro.center p { margin-left: auto; margin-right: auto; }

.section-intro .btn-line { margin-top: 1.75rem; }

/* Experience */

.experience { background: var(--snow); }

.story-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.story-copy p {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 1.02rem;
}

.story-aside {
  margin-top: 2rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve) !important;
}

.story-photo {
  background: var(--blush);
  border-radius: 200px 200px 20px 20px;
}

.story-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 200px 200px 20px 20px;
  box-shadow: 0 32px 64px rgba(143, 113, 120, 0.12);
}

/* Services */

.services { background: var(--white); }

.service-flow {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 7rem);
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-index {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--blush-deep);
  line-height: 1;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 0.65rem;
}

.service-body p {
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 420px;
}

.service-row figure {
  background: var(--blush);
  border-radius: 16px;
  overflow: hidden;
  min-height: 220px;
}

.service-row figure img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(143, 113, 120, 0.1);
}

/* Artists */

.artists {
  background: linear-gradient(180deg, var(--blush) 0%, var(--white) 100%);
}

.artist-row {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.artist { text-align: center; }

.artist-portrait {
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 16px 40px rgba(143, 113, 120, 0.12);
  background: var(--blush-deep);
}

.artist-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.7s var(--ease);
}

.artist:hover .artist-portrait img { transform: scale(1.04); }

.artist h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.artist p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Transform */

.transform { background: var(--white); }

.transform-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.transform-copy p {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 440px;
}

.tier-list {
  list-style: none;
  margin: 2rem 0 2.5rem;
  border-top: 1px solid var(--blush-deep);
}

.tier-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--blush-deep);
  font-size: 0.95rem;
}

.tier-list li span {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.tier-list li strong {
  font-weight: 500;
  color: var(--mauve);
}

.tier-list li.highlight {
  background: var(--blush);
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-bottom-color: transparent;
}

.transform-photo {
  background: var(--blush);
  border-radius: 24px;
  overflow: hidden;
}

.transform-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(143, 113, 120, 0.14);
}

/* Rituals */

.rituals { background: var(--snow); }

.ritual-list {
  max-width: 720px;
  margin: 0 auto;
}

.ritual {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--blush-deep);
}

.ritual.featured {
  padding: 2.25rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-bottom: 0.5rem;
}

.ritual h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.ritual p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 380px;
}

.ritual span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--rose);
  white-space: nowrap;
}

/* Testimony */

.testimony {
  background: var(--blush);
  text-align: center;
}

.testimony-inner {
  max-width: 720px;
  margin: 0 auto;
}

.testimony blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  margin: 1rem 0 1.25rem;
}

.testimony footer {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve);
}

.testimony-more {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(143, 113, 120, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.testimony-more p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.testimony-more cite {
  font-style: normal;
  color: var(--mauve);
  font-size: 0.82rem;
}

/* Instagram */

.social { background: var(--white); }

.ig-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
}

.ig-grid a {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
}

.ig-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s;
  filter: saturate(1.05) brightness(1.02);
}

.ig-grid a:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* Book */

.book { background: var(--snow); }

.book-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.book-copy h2 { margin-bottom: 1rem; }

.book-copy > p {
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.book-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.book-details strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.book-details span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.book-copy .btn-fill { margin-right: 1rem; margin-bottom: 1rem; }

.book-map {
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(143, 113, 120, 0.1);
  border: 1px solid var(--blush-deep);
}

.book-map iframe { width: 100%; height: 100%; border: 0; }

/* Fade in */

.fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.fade.vis {
  opacity: 1;
  transform: none;
}

/* Footer & FAB */

.foot {
  padding: 2rem var(--gutter);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  border-top: 1px solid var(--blush-deep);
}

.foot a {
  color: var(--mauve);
  transition: color 0.3s;
}

.foot a:hover { color: var(--ink); }

.wa-pill {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 400;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 8px 28px rgba(31, 157, 88, 0.28);
  transition: transform 0.35s var(--ease);
}

.wa-pill:hover { transform: scale(1.06); }

.concept-tag {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve);
  pointer-events: none;
}

.concept-tag span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
  animation: blink 2.4s ease infinite;
}

@keyframes blink {
  50% { opacity: 0.35; }
}

/* Responsive */

@media (max-width: 900px) {
  .story-grid,
  .transform-layout,
  .book-layout { grid-template-columns: 1fr; }

  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-index { font-size: 2rem; }

  .artist-row { grid-template-columns: 1fr; max-width: 280px; }

  .ig-grid { grid-template-columns: repeat(3, 1fr); }

  .ritual { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 520px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .moment-track { animation: none; }
  .fade { opacity: 1; transform: none; }
}
