/* =============================================================
   MAPLE HEAD SPA — ABOUT PAGE STYLES
============================================================= */

/* === REVEAL ANIMATIONS === */
.reveal       { opacity: 0; transform: translateY(28px);  transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-36px); transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft); }
.reveal-left.in-view  { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px);  transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft); }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }

/* === IMAGE TILES GRID === */
.tiles {
  margin-top: 94px; background: var(--cream);
  padding: clamp(6px,1vw,10px);
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: clamp(6px,1vw,12px);
}
.tile {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--beige); display: flex; align-items: center; justify-content: center;
  text-align: center;
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft);
}
.tile.in-view { opacity: 1; transform: translateY(0) scale(1); }
.tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 50%);
  opacity: 0; transition: opacity .6s var(--ease-soft); pointer-events: none; z-index: 2;
}
.tile:hover::before { opacity: 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-soft); }
.tile:hover img { transform: scale(1.06); }
.tile-label {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(11px,1.4vw,16px); letter-spacing: .32em; text-transform: uppercase;
  color: var(--text-dark); line-height: 1.4;
  transition: letter-spacing .6s var(--ease-soft); padding: 0 8px;
}
.tile:hover .tile-label { letter-spacing: .38em; }
.tile-olive  { background: var(--olive); }  .tile-olive .tile-label  { color: #F2ECDC; }
.tile-cream  { background: var(--cream-2); }
.tile-beige  { background: var(--beige); }
.tile-tan    { background: var(--tan); }
.tile-mauve  { background: var(--mauve); }  .tile-mauve .tile-label  { color: #F2ECDC; }
.tile-deep   { background: var(--deep-brown); } .tile-deep .tile-label { color: #F2ECDC; }
.tile-logo   { background: var(--olive); padding: 14%; }
.tile-logo img { width: 100%; height: auto; object-fit: contain; transition: transform 1s var(--ease-soft); }
.tile-logo:hover img { transform: scale(1.06) rotate(-1deg); }

/* === ABOUT SECTION === */
.about {
  background: var(--ivory);
  padding: clamp(60px,10vw,110px) clamp(24px,8%,120px) clamp(50px,8vw,90px);
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px,6vw,80px); align-items: center;
}
.about-left     { text-align: center; }
.about-eyebrow  {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(14px,1.6vw,18px); letter-spacing: .42em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 22px;
}
.about-logo {
  width: clamp(180px,22vw,260px); height: auto; margin: 0 auto;
  animation: gentleFloat 7s ease-in-out infinite;
}
@keyframes gentleFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.about-right h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px,2.6vw,34px); line-height: 1.25;
  letter-spacing: .02em; color: var(--deep-brown); margin-bottom: 24px;
}
.about-right h1 em { font-style: italic; color: var(--bronze-d); }
.about-right p {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(14px,1.4vw,16px); line-height: 1.85;
  color: var(--text-dark); margin-bottom: 18px; max-width: 520px;
}
.about-right p:last-child { margin-bottom: 0; }

/* === APPROACH === */
.approach-wrap  { background: var(--ivory); padding: 0 clamp(24px,8%,120px); }
.approach {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px,5vw,70px); align-items: center;
  border-top: 1px solid rgba(80,50,30,.12);
  padding: clamp(50px,6vw,60px) 0 clamp(50px,6vw,70px);
}
.approach-img {
  aspect-ratio: 4/3;
  background-image: url('../images/maple-spa-botanical-scalp-treatment.png');
  background-size: cover; background-position: center;
  background-color: var(--mauve); overflow: hidden; position: relative;
}
.approach-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.1));
}
.approach-right h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px,3.2vw,40px); letter-spacing: .22em; text-transform: uppercase;
  color: var(--deep-brown); margin-bottom: 24px;
}
.approach-right p {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(14px,1.4vw,16px); line-height: 1.85;
  color: var(--text-dark); max-width: 560px;
}

/* === FEATURES === */
.features {
  background: var(--ivory);
  padding: clamp(50px,7vw,70px) clamp(24px,8%,120px) clamp(60px,8vw,90px);
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: clamp(30px,4vw,50px); position: relative;
}
.features::before {
  content: ""; position: absolute;
  left: clamp(24px,8%,120px); right: clamp(24px,8%,120px);
  top: 0; height: 1px; background: rgba(80,50,30,.12);
}
.feature { text-align: center; position: relative; padding: 0 16px; }
.feature + .feature::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px; background: rgba(80,50,30,.18);
}
.feature-icon { width: 34px; height: 34px; margin: 0 auto 22px; color: var(--deep-brown); transition: transform .6s var(--ease-soft); }
.feature:hover .feature-icon { transform: scale(1.08) rotate(-3deg); }
.feature h3 {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(12px,1.3vw,14px); letter-spacing: .28em; text-transform: uppercase;
  color: var(--deep-brown); margin-bottom: 14px;
}
.feature p {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(13px,1.3vw,14px); line-height: 1.7; color: var(--text-dark);
}

/* === CTA BANNER === */
.cta {
  position: relative; overflow: hidden;
  min-height: clamp(320px,40vw,420px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; background: #d9c7ae;
  padding: clamp(60px,8vw,90px) 24px;
}
.cta-bg {
  position: absolute; inset: 0;
  background-image: url('../images/maple-spa-steam-therapy-cta.png');
  background-size: cover; background-position: center;
  animation: ctaDrift 20s ease-in-out infinite alternate; will-change: transform;
}
@keyframes ctaDrift { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
.cta-inner { position: relative; z-index: 2; max-width: 560px; }
.cta-inner p {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(13px,1.4vw,15px); line-height: 1.85;
  color: var(--text-dark); margin-bottom: 22px;
}
.cta-divider {
  width: 36px; height: 1px; background: var(--deep-brown);
  margin: 0 auto 22px; transform: scaleX(0);
  transition: transform 1.2s .3s var(--ease-soft);
}
.cta.in-view .cta-divider { transform: scaleX(1); }
.cta-title {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(17px,2.2vw,22px); letter-spacing: .34em; text-transform: uppercase;
  color: var(--deep-brown); margin-bottom: 30px;
}
.btn-book {
  display: inline-block;
  background: var(--deep-brown); color: var(--ivory);
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(11px,1.2vw,13px); letter-spacing: .32em; text-transform: uppercase;
  padding: 16px 38px; border: 1px solid var(--deep-brown);
  position: relative; overflow: hidden;
  transition: color .4s var(--ease-soft), transform .4s var(--ease-soft), letter-spacing .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.btn-book::before {
  content: ""; position: absolute; inset: 0; background: var(--ivory);
  transform: translateX(-101%); transition: transform .5s var(--ease-soft); z-index: 0;
}
.btn-book span { position: relative; z-index: 1; }
.btn-book:hover::before { transform: translateX(0); }
.btn-book:hover { color: var(--deep-brown); transform: translateY(-2px); letter-spacing: .36em; box-shadow: 0 12px 30px -10px rgba(74,46,31,.4); }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .about { padding-left: 6%; padding-right: 6%; gap: 50px; }
  .approach-wrap { padding: 0 6%; }
  .features { padding-left: 6%; padding-right: 6%; }
  .features::before { left: 6%; right: 6%; }
}
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2,1fr); gap: 8px; padding: 8px; }
  .about { grid-template-columns: 1fr; padding: clamp(60px,9vw,80px) 6% clamp(40px,6vw,60px); gap: 40px; text-align: center; }
  .about-right p { margin-left: auto; margin-right: auto; }
  .approach { grid-template-columns: 1fr; gap: 32px; padding: clamp(45px,6vw,60px) 0; text-align: center; }
  .approach-right p { margin: 0 auto; }
  .features { grid-template-columns: repeat(2,1fr); row-gap: 50px; padding: clamp(50px,7vw,70px) 6%; }
  .feature + .feature::before { display: none; }
  .feature:nth-child(2)::before { content: ""; display: block; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: rgba(80,50,30,.18); }
}
@media (max-width: 640px) {
  .about { padding: 70px 24px 50px; gap: 30px; }
  .approach-wrap { padding: 0 24px; }
  .features { padding: 50px 24px 60px; }
  .features::before { left: 24px; right: 24px; }
}
@media (max-width: 520px) {
  .tiles { margin-top: 82px; }
  .features { grid-template-columns: 1fr; row-gap: 40px; }
  .feature { padding: 0; }
  .feature + .feature { padding-top: 30px; border-top: 1px solid rgba(80,50,30,.15); }
  .feature + .feature::before, .feature:nth-child(2)::before { display: none; }
  .about-logo { width: 200px; }
  .btn-book { padding: 14px 28px; }
}
@media (max-width: 380px) { .tiles { gap: 5px; padding: 5px; } }
