/* ==========================================================================
   VERDE HAIR LOUNGE - home.css
   Homepage sections. Currently: Hero only.
   Further sections (intro, portfolio, Aveda, team, experience, reviews,
   FAQ, final CTA) will be added section by section after approval.
   ========================================================================== */


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

/* Full-bleed image */
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media img { object-fit: cover; object-position: center; }

/* Scrim: darker on the left where the text sits, lifting at the bottom,
   leaving the salon visible on the right */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(13, 31, 22, 0.88) 0%,
      rgba(13, 31, 22, 0.55) 32%,
      rgba(13, 31, 22, 0.18) 62%,
      rgba(13, 31, 22, 0.06) 100%
    ),
    linear-gradient(
      to top,
      rgba(13, 31, 22, 0.42) 0%,
      rgba(13, 31, 22, 0) 42%
    );
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(8rem, 19vh, 12rem) clamp(3rem, 6vh, 5rem);
  padding-left: clamp(1.5rem, 10vw, 12rem);
  padding-right: var(--gutter);
  max-width: 52rem;
}

.hero__eyebrow {
  color: var(--color-gold);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-5);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--color-cream);
}
.hero__line { display: block; }

.hero__text {
  margin-top: var(--space-m);
  max-width: 38rem;
  color: rgba(245, 241, 231, 0.92);
  font-size: var(--step-1);
  line-height: 1.55;
  font-weight: 400;
}

.hero__actions {
  margin-top: var(--space-l);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}


/* ==========================================================================
   HERO: load reveal
   Runs only when JS is present and motion is allowed. Without JS the
   content is visible by default, so nothing is ever hidden behind a
   broken animation.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js .hero__eyebrow,
  .js .hero__line,
  .js .hero__text,
  .js .hero__actions {
    opacity: 0;
    animation: heroReveal 0.95s var(--ease) forwards;
  }
  .js .hero__eyebrow      { animation-delay: 0.15s; }
  .js .hero__line:nth-child(1) { animation-delay: 0.30s; }
  .js .hero__line:nth-child(2) { animation-delay: 0.42s; }
  .js .hero__line:nth-child(3) { animation-delay: 0.54s; }
  .js .hero__text         { animation-delay: 0.68s; }
  .js .hero__actions      { animation-delay: 0.82s; }
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(1.4rem); }
  to   { opacity: 1; transform: none; }
}


/* ==========================================================================
   HERO: mobile
   Closes the gap under the header, returns the block to the gutter, and
   brings the headline down to a size that fits small screens cleanly.
   ========================================================================== */

@media (max-width: 768px) {
  .hero__inner {
    padding-block: clamp(6rem, 15vh, 9.5rem) 3rem;
    padding-left: var(--gutter);
  }
  .hero__title {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    line-height: 1.12;
  }
  .hero__eyebrow {
    letter-spacing: 0.16em;
  }
}

@media (max-width: 480px) {
  .hero__eyebrow-suffix { display: none; }
}


/* ==========================================================================
   INTRODUCTION
   ========================================================================== */

.intro {
  background: var(--color-cream);
  padding-block: var(--section-y);
}
.intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.intro__title {
  font-size: var(--step-3);
  margin-top: var(--space-sm);
  max-width: 16ch;
}
.intro__rule {
  margin-block: var(--space-m);
}
.intro__lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--color-ink);
}
.intro__text p + p {
  margin-top: var(--space-sm);
}
.intro__text .link-arrow {
  margin-top: var(--space-l);
}
.intro__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 880px) {
  .intro__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
  .intro__media { transition-delay: 0.12s; }
}

/* Shorter viewports: ease the section padding without crowding it */
@media (max-height: 800px) {
  .intro { padding-block: clamp(4rem, 9vh, 6.5rem); }
}


/* ==========================================================================
   PORTFOLIO SHOWCASE
   ========================================================================== */

.portfolio {
  background: var(--color-verde);
  padding-block: var(--section-y);
}
.portfolio__head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.portfolio__title {
  color: var(--color-cream);
  font-size: var(--step-3);
  margin-top: var(--space-sm);
}
.portfolio__intro {
  margin-top: var(--space-sm);
  color: rgba(245, 241, 231, 0.82);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-s);
  margin-top: var(--space-xl);
}
.portfolio__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-m);
}
.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.portfolio__item:hover img { transform: scale(1.05); }
.portfolio__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(13, 31, 22, 0.65), transparent);
  pointer-events: none;
}
.portfolio__tag {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 1;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--color-cream);
}
.portfolio__cta {
  margin-top: var(--space-xl);
  text-align: center;
}

@media (min-width: 600px) {
  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-m);
  }
}
@media (min-width: 960px) {
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio__item:nth-child(3n + 2) { transform: translateY(2.5rem); }
}


/* ==========================================================================
   AVEDA
   ========================================================================== */

.aveda {
  background: var(--color-cream);
  padding-block: var(--section-y);
}
.aveda__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.aveda__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.aveda__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aveda__title {
  font-size: var(--step-3);
  margin-top: var(--space-sm);
  max-width: 18ch;
}
.aveda__lead {
  font-size: var(--step-1);
  line-height: 1.5;
  margin-top: var(--space-m);
}
.aveda__text p + p { margin-top: var(--space-sm); }
.aveda__creds {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-s) var(--space-l);
  margin-top: var(--space-l);
}
.aveda__creds li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-ink);
}
.aveda__creds li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid rgba(176, 143, 74, 0.45);
  background: rgba(198, 161, 91, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2 L6 10 L11 4' fill='none' stroke='%23b08f4a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.85rem no-repeat;
}
.aveda__text .link-arrow { margin-top: var(--space-l); }

@media (min-width: 880px) {
  .aveda__inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
  .aveda__text { transition-delay: 0.12s; }
}
@media (max-height: 800px) {
  .aveda { padding-block: clamp(4rem, 9vh, 6.5rem); }
}


/* ==========================================================================
   TEAM
   ========================================================================== */

.team {
  background: var(--color-cream-deep);
  padding-block: var(--section-y);
}
.team__head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.team__title {
  font-size: var(--step-3);
  margin-top: var(--space-sm);
}
.team__intro {
  margin-top: var(--space-sm);
  color: var(--color-muted);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-l) var(--space-m);
  margin-top: var(--space-xl);
  max-width: 30rem;
  margin-inline: auto;
}
/* lone fifth card: centre it on its own row at the same width as the pairs */
.team__member:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - (var(--space-m) / 2));
}
.team__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease);
}
.team__member:hover .team__photo img { transform: scale(1.04); }
.team__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.15;
  color: var(--color-verde);
  margin-top: var(--space-s);
}
.team__role {
  margin-top: 0.15rem;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--color-gold-ink);
}
.team__cta {
  margin-top: var(--space-xl);
  text-align: center;
}

@media (min-width: 768px) {
  .team__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: none;
  }
  .team__member:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
}

@media (max-height: 800px) {
  .team { padding-block: clamp(4rem, 9vh, 6.5rem); }
}

/* ==========================================================================
   SALON EXPERIENCE
   ========================================================================== */

.experience {
  background: var(--color-verde);
  color: var(--color-cream);
  padding-block: var(--section-y);
}
.experience__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.experience__title {
  font-size: var(--step-3);
  color: var(--color-cream);
  margin-top: var(--space-sm);
}
.experience__intro {
  margin-top: var(--space-sm);
  color: var(--color-cream);
  opacity: 0.82;
  max-width: 34rem;
}
.experience__list {
  margin-top: var(--space-l);
  display: grid;
  gap: var(--space-m);
}
.experience__item h3 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--color-gold);
}
.experience__item p {
  margin-top: 0.3rem;
  color: var(--color-cream);
  opacity: 0.8;
  max-width: 30rem;
}
.experience__cta { margin-top: var(--space-l); }
.experience__media {
  display: grid;
  gap: var(--space-m);
}
.experience__media figure { margin: 0; }
.experience__media img {
  width: 100%;
  display: block;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}
.experience__media .is-main { aspect-ratio: 4 / 3; }
.experience__media .is-sub { aspect-ratio: 3 / 2; }

@media (min-width: 880px) {
  .experience__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-height: 800px) {
  .experience { padding-block: clamp(4rem, 9vh, 6.5rem); }
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */

.reviews {
  background: var(--color-cream);
  padding-block: clamp(5rem, 13vh, 9rem);
  overflow: hidden;
}

/* Header: small, set to one side rather than a centred banner */
.reviews__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-s) var(--space-l);
  max-width: 60rem;
}
.reviews__title {
  font-size: var(--step-3);
  line-height: 1.05;
}
.reviews__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-muted);
  font-size: var(--step--1);
}
.reviews__rating .stars {
  color: var(--color-gold);
  letter-spacing: 0.12em;
  font-size: var(--step-0);
}

/* Featured quote: the focal point */
.reviews__feature {
  position: relative;
  max-width: 40rem;
  margin: clamp(3rem, 7vh, 5.5rem) auto clamp(3rem, 8vh, 6rem);
  padding-top: clamp(2.5rem, 6vh, 4rem);
  text-align: center;
}
.reviews__mark {
  position: absolute;
  top: clamp(-1.5rem, -1vh, -0.5rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.32;
  pointer-events: none;
}
.reviews__feature blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.5rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--color-verde);
  margin: 0;
}
.reviews__feature figcaption {
  margin-top: var(--space-m);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

/* Shared attribution styling */
.reviews__name {
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-ink);
}
.reviews__meta {
  font-size: var(--step--2, 0.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Supporting quotes: staggered, no boxes */
.reviews__spread {
  display: grid;
  gap: clamp(2.5rem, 6vh, 4.5rem);
  max-width: 64rem;
  margin-inline: auto;
}
.reviews__quote {
  margin: 0;
  max-width: 30rem;
  padding-left: var(--space-m);
  border-left: 1px solid var(--color-gold);
}
.reviews__quote blockquote {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--color-ink);
  margin: 0 0 var(--space-s);
}
.reviews__quote figcaption {
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-ink);
}
.reviews__cta {
  margin-top: clamp(3rem, 7vh, 5rem);
  text-align: center;
}

/* Editorial composition on wider screens: vary position and scale */
@media (min-width: 820px) {
  .reviews__top { padding-left: clamp(0rem, 3vw, 3rem); }
  .reviews__spread {
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    row-gap: clamp(3rem, 7vh, 5rem);
  }
  .reviews__quote--a {
    grid-column: 1 / 7;
  }
  .reviews__quote--b {
    grid-column: 8 / 13;
    margin-top: clamp(3rem, 8vh, 6rem);
    text-align: right;
    padding-left: 0;
    padding-right: var(--space-m);
    border-left: 0;
    border-right: 1px solid var(--color-gold);
    margin-left: auto;
  }
  .reviews__quote--c {
    grid-column: 3 / 10;
    margin-top: clamp(1rem, 3vh, 2.5rem);
    justify-self: center;
    max-width: 34rem;
  }
  .reviews__quote--c blockquote { font-size: var(--step-2); }
}

@media (max-height: 800px) {
  .reviews { padding-block: clamp(4rem, 9vh, 6.5rem); }
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  background: var(--color-cream-deep);
  padding-block: clamp(5rem, 13vh, 9rem);
}
.faq__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vh, 4rem);
}

/* Image-led intro panel */
.faq__aside {
  max-width: 32rem;
}
.faq__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-l);
}
.faq__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.faq__title {
  font-size: var(--step-3);
  line-height: 1.08;
  margin-top: var(--space-sm);
}
.faq__lead {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  max-width: 26rem;
}
.faq__contact {
  margin-top: var(--space-l);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.faq__phone {
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--color-gold-ink);
}

/* Questions */
.faq__item {
  border-top: 1px solid rgba(122, 95, 41, 0.28);
}
.faq__item:last-child {
  border-bottom: 1px solid rgba(122, 95, 41, 0.28);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-m);
  padding: var(--space-m) 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--color-verde);
  transition: color 0.25s var(--ease);
}
.faq__item summary:hover { color: var(--color-gold-ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-size: var(--step-2);
  line-height: 1;
  color: var(--color-gold);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__item summary:focus-visible {
  outline: 2px solid var(--color-gold-ink);
  outline-offset: 4px;
  border-radius: 2px;
}
.faq__answer {
  padding: 0 0 var(--space-m);
  max-width: 40rem;
  color: var(--color-muted);
}
.faq__answer p { margin: 0; }
.faq__answer a { color: var(--color-gold-ink); text-decoration: underline; }

@media (min-width: 900px) {
  .faq__inner {
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
  }
  .faq__aside {
    position: sticky;
    top: 6rem;
  }
}

@media (max-height: 800px) {
  .faq { padding-block: clamp(4rem, 9vh, 6.5rem); }
}


/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  color: var(--color-cream);
  padding-block: clamp(5rem, 14vh, 9rem);
}
.final-cta__bg,
.final-cta__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.final-cta__bg { z-index: -2; }
.final-cta__bg img { object-fit: cover; object-position: center; }
.final-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(13, 31, 22, 0.82), rgba(13, 31, 22, 0.9));
}
.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: auto;
}
.final-cta__title {
  font-size: var(--step-4);
  color: var(--color-cream);
  margin-top: var(--space-sm);
}
.final-cta__text {
  margin-top: var(--space-m);
  color: var(--color-cream);
  opacity: 0.86;
  font-size: var(--step-1);
}
.final-cta__actions {
  margin-top: var(--space-l);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: center;
}
.final-cta__phone {
  display: inline-block;
  margin-top: var(--space-m);
  color: var(--color-cream);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  opacity: 0.86;
}
.final-cta__phone:hover { opacity: 1; }
.final-cta__note {
  margin-top: var(--space-m);
  font-size: var(--step--2, 0.75rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cream);
  opacity: 0.62;
}

/* ==========================================================================
   SERVICES (homepage overview)
   ========================================================================== */

.services {
  background: var(--color-cream-deep);
  padding-block: clamp(5rem, 13vh, 9rem);
}
.services__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vh, 4rem);
}
.services__intro {
  max-width: 26rem;
}
.services__title {
  font-size: var(--step-3);
  line-height: 1.08;
  margin-top: var(--space-sm);
}
.services__lead {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  max-width: 24rem;
}
.services__intro .link-arrow {
  margin-top: var(--space-l);
}

.services__list {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-m);
  padding: clamp(1.05rem, 2.6vh, 1.5rem) 0;
  border-top: 1px solid rgba(122, 95, 41, 0.28);
  color: var(--color-verde);
}
.service-row:last-child {
  border-bottom: 1px solid rgba(122, 95, 41, 0.28);
}
.service-row__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.2;
  transition: color 0.25s var(--ease);
}
.service-row__desc {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--step--1);
  color: var(--color-muted);
}
.service-row__arrow {
  flex: none;
  color: var(--color-gold);
  transition: transform 0.3s var(--ease);
}
.service-row:hover .service-row__name { color: var(--color-gold-ink); }
.service-row:hover .service-row__arrow { transform: translateX(0.4rem); }
.service-row:focus-visible {
  outline: 2px solid var(--color-gold-ink);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (min-width: 900px) {
  .services__inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
  }
}