/* Studio location pages (/westwood/, /west-hollywood/, /culver-city/).
   Builds on style.css tokens (--bg, --r) and the site's white-card language. */

.loc-page .loc-section {
  padding: 100px 16px 0;
  background: var(--bg);
}
.loc-page .loc-section .wrap { max-width: 1920px; margin: 0 auto; }
.loc-page .loc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.loc-page .loc-head .sec-title { font-size: clamp(32px, 4vw, 56px); font-weight: 300; color: #1a1612; }
.loc-page .loc-head-link { font-size: 13px; font-weight: 300; color: rgba(26, 22, 18, 0.45); white-space: nowrap; transition: color 0.2s; }
.loc-page .loc-head-link:hover { color: #1a1612; }
.loc-page .loc-lead { max-width: 680px; margin-top: 12px; font-size: 14px; font-weight: 300; line-height: 1.7; color: rgba(26, 22, 18, 0.6); }

/* hero: the site default pins content to the bottom (built for the taller home hero);
   a location hero has less copy, so center it vertically */
.loc-page .hero--static .hero-left { justify-content: center; padding-top: 52px; padding-bottom: 52px; }

/* hero: two actions side by side */
.loc-page .hero-actions-inner .loc-hero-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loc-page .loc-hero-offer { font-size: 13px; font-weight: 300; color: rgba(26, 22, 18, 0.55); text-align: center; }
.loc-page .loc-hero-offer a { color: #1a1612; text-decoration: underline; text-underline-offset: 3px; }
.loc-page .hero-btn--ghost { background: transparent; }

/* about: white card, text beside a photo (same shape as .cert-career-card) */
.loc-page .loc-about {
  display: grid;
  /* photo column ~40%: close to square, so a 4:5 portrait keeps its subject when cropped */
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  /* grows with width so the photo slot stays near square on wide screens */
  min-height: clamp(460px, 34vw, 640px);
}
.loc-page .loc-about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 56px);
}
.loc-page .loc-about-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #99ad7a;
}
.loc-page .loc-about-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.12;
  color: #1a1612;
  text-wrap: balance;
}
.loc-page .loc-about-text p:not(.loc-about-eyebrow) {
  max-width: 560px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(26, 22, 18, 0.65);
}
.loc-page .loc-about-photo { position: relative; min-height: 320px; }
.loc-page .loc-about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }

/* essentials: info card + map */
.loc-page .loc-essentials { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; }
.loc-page .loc-info {
  background: #fff;
  border-radius: var(--r);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.loc-page .loc-info-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; }
.loc-page .loc-info-row svg { width: 20px; height: 20px; stroke: rgba(26, 22, 18, 0.45); fill: none; stroke-width: 1.6; margin-top: 2px; }
.loc-page .loc-info-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0.4);
  margin-bottom: 6px;
}
.loc-page .loc-info-value { font-size: 15px; font-weight: 400; line-height: 1.55; color: #1a1612; }
.loc-page .loc-info-value a { color: inherit; }
.loc-page .loc-info-value a:hover { color: #99ad7a; }
.loc-page .loc-info-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 14px; font-weight: 300; color: rgba(26, 22, 18, 0.7); }
.loc-page .loc-info-hours dt { color: #1a1612; font-weight: 400; }
.loc-page .loc-info-hours dd { margin: 0; }
.loc-page .loc-info-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.loc-page .loc-map {
  position: relative;
  min-height: 380px;
  border-radius: var(--r);
  overflow: hidden;
  background: #e8e3da;
}
.loc-page .loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.35) sepia(0.12); }

/* gallery: the studio photos are all 4:5 portraits, so a uniform grid */
.loc-page .loc-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.loc-page .loc-shot { position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r); overflow: hidden; background: #e8e3da; }
.loc-page .loc-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.loc-page .loc-shot:hover img { transform: scale(1.03); }
.loc-page .loc-shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(243, 240, 235, 0.88);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 400;
  color: #1a1612;
}

/* amenities */
.loc-page .loc-amenities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.loc-page .loc-amenity { background: #fff; border-radius: var(--r); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.loc-page .loc-amenity svg { width: 22px; height: 22px; stroke: #99ad7a; fill: none; stroke-width: 1.6; }
.loc-page .loc-amenity h3 { font-size: 15px; font-weight: 500; color: #1a1612; }
.loc-page .loc-amenity p { font-size: 13px; font-weight: 300; line-height: 1.6; color: rgba(26, 22, 18, 0.65); }

/* first visit: a real sequence, so numbered */
.loc-page .loc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.loc-page .loc-step { background: #fff; border-radius: var(--r); padding: 26px 24px; counter-increment: step; }
.loc-page .loc-step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #dcccac;
  font-size: 13px;
  font-weight: 500;
  color: #1a1612;
}
.loc-page .loc-step h3 { font-size: 15px; font-weight: 500; color: #1a1612; margin-bottom: 8px; }
.loc-page .loc-step p { font-size: 13px; font-weight: 300; line-height: 1.65; color: rgba(26, 22, 18, 0.65); }

/* other studios */
.loc-page .loc-others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-bottom: 100px; }
.loc-page .loc-other {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  background: #fff;
  border-radius: var(--r);
  padding: 14px;
  color: #1a1612;
  transition: box-shadow 0.2s;
}
.loc-page a.loc-other:hover { box-shadow: 0 0 0 1px #99ad7a; }
.loc-page .loc-other img { width: 140px; height: 110px; object-fit: cover; border-radius: 12px; display: block; }
.loc-page .loc-other h3 { font-size: 18px; font-weight: 400; margin-bottom: 6px; }
.loc-page .loc-other p { font-size: 13px; font-weight: 300; color: rgba(26, 22, 18, 0.6); line-height: 1.5; }
.loc-page .loc-other span { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #99ad7a; }

@media (max-width: 1200px) {
  .loc-page .loc-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .loc-page .loc-essentials { grid-template-columns: 1fr; }
  .loc-page .loc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-page .loc-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .loc-page .loc-section { padding-top: 56px; }
  .loc-page .loc-head { margin-bottom: 16px; }
  .loc-page .loc-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .loc-page .loc-others { grid-template-columns: 1fr; padding-bottom: 75px; }
  .loc-page .loc-about { grid-template-columns: 1fr; min-height: 0; }
  /* in-flow image on phones: no absolute positioning, so iOS always paints it */
  .loc-page .loc-about-photo { order: -1; min-height: 0; max-width: 100%; }
  .loc-page .loc-about-photo img { position: static; aspect-ratio: 16 / 10; height: auto; object-position: center 40%; }
  .loc-page .loc-about-text { padding: 24px 20px 28px; gap: 12px; }
  .loc-page .loc-map { min-height: 300px; }
}
@media (max-width: 480px) {
  .loc-page .loc-gallery { gap: 10px; }
  .loc-page .loc-amenities { grid-template-columns: 1fr; }
  .loc-page .loc-info-actions,
  .loc-page .hero-actions-inner .loc-hero-links { grid-template-columns: 1fr; }
  .loc-page .loc-other { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .loc-page .loc-other img { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .loc-page .loc-shot img { transition: none; }
  .loc-page .loc-shot:hover img { transform: none; }
}
