/* Studio Savannah – About page refinements (loaded after styles.css) */

/* 1. Hero: text and photo share one optical centre line and column grid */
@media (min-width: 768px) {
  header.about-hero {
    align-items: center;
  }
}
header.about-hero img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* 2. Background: sticky photo beside long text */
.about-story {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4rem;
}
@media (min-width: 768px) {
  .about-story { flex-direction: row; align-items: flex-start; gap: 4rem; }
  .about-story__photo { position: sticky; top: 9.5rem; }
}
@media (min-width: 1024px) {
  .about-story { gap: 6rem; }
}

/* Pull quotes (shared) */
blockquote.pullquote {
  margin: 0;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.4;
  font-size: clamp(22px, 2.3vw, 29px);
  font-style: italic;
  font-weight: normal;
  text-wrap: balance;
}
blockquote.pullquote::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  margin-bottom: 1.5rem;
}
blockquote.pullquote p { margin: 0; font-family: inherit; font-style: inherit; font-size: inherit; line-height: inherit; color: inherit; }
.about-story blockquote.pullquote { margin: 2.75rem 0; max-width: 560px; }
.about-story blockquote.pullquote::before { margin-bottom: 1.25rem; }

/* 3. Two places: dark landscape panels with light text, justified blocks */
.places-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
div.absolute.left-1\/2.top-0.bottom-0 { display: none !important; }
.places-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  padding: 3rem 1.75rem;
  background-size: cover;
  background-position: center;
}
.places-ch { background-image: linear-gradient(rgba(74,80,64,0.66), rgba(74,80,64,0.74)), url('switzerland-lake-alps-view-from-pilatus-1400.jpg'); }
.places-cb { background-image: linear-gradient(rgba(74,80,64,0.66), rgba(74,80,64,0.74)), url('costa-blanca-coast-cliffs-turquoise-bay-1066.jpg'); }
.places-col h3 { margin: 0; color: #F2EFE9; }
.places-col p {
  margin: 0;
  color: rgba(242, 239, 233, 0.94);
  text-align: left;
}
@media (min-width: 768px) {
  .places-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 0; }
  .places-col { padding: 3.5rem 2.25rem; }
}
@media (min-width: 1024px) {

  .places-col { padding: 4rem 2.5rem; }
}

/* 4. Why section: centered tailored olive box */
section.why-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  section.why-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
.why-box {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  background-color: #4A5040 !important;
  color: #F2EFE9;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* 5. What you can expect: quiet hairline instead of numerals & olive palette support */
.expect-rule {
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(173, 165, 154, 0.8);
  margin-bottom: 1.25rem;
}
.expect-section.bg-brand-olive .expect-col {
  border-color: rgba(242, 239, 233, 0.18);
}
.expect-section.bg-brand-olive .expect-rule {
  background: rgba(242, 239, 233, 0.5);
}

/* 6. Landscape band + calmer closing */
.about-band { width: 100%; max-width: 1024px; margin: 0 auto; padding: 0 1.5rem; box-sizing: border-box; }
.about-band img {
  display: block;
  width: 100%;
  height: clamp(200px, 28vw, 340px);
  object-fit: cover;
  object-position: center 45%;
}
section.about-closing { padding-top: 5rem; padding-bottom: 6rem; }
@media (min-width: 768px) {
  section.about-closing { padding-top: 6.5rem; padding-bottom: 8rem; }
}
section.about-closing p.font-normal { max-width: 34rem; text-wrap: balance; }

/* Review fixes: calmer line breaks, mobile reading comfort */
.why-box h2,
section.about-closing h2 {
  text-wrap: balance;
}
section.about-closing h2 {
  max-width: 48rem;
}
@media (max-width: 767px) {
  .why-box p {
    text-align: left;
  }
}

/* Why box: avoid a single orphan word on the last line */
.why-box p {
  text-wrap: pretty;
}

/* About (phones): even padding in the "Why" box, and the three working principles as a slider */
.step-nav { display: none; }
@media (max-width: 767px) {
  .why-box { padding: 3.5rem 2rem; box-sizing: border-box; }

  section.expect-section .expect-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  section.expect-section .expect-grid::-webkit-scrollbar { display: none; }
  section.expect-section .expect-col {
    flex: 0 0 100%;
    box-sizing: border-box;
    scroll-snap-align: center;
    padding: 0;
    border-top: none;
  }
  .step-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 40px;
  }
  .step-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 239, 233, 0.45);
    background: transparent;
    color: #F2EFE9;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.25s ease, background-color 0.25s ease;
  }
  .step-btn:hover { background-color: rgba(242, 239, 233, 0.1); }
  .step-btn:focus-visible { outline: 1px solid #F2EFE9; outline-offset: 3px; }
  .step-btn[disabled] { opacity: 0.3; cursor: default; }
  .step-btn svg { width: 18px; height: 18px; }
  .step-count {
    min-width: 52px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(242, 239, 233, 0.8);
    font-variant-numeric: tabular-nums;
  }
}
