/* Typography and spacing corrections shared by every homepage section. */
html { scroll-padding-top: 5.5rem; }
section[id], main[id] { scroll-margin-top: 0; }
body { -webkit-text-size-adjust: 100%; }

h1, h2, h3, .hero-card-title, .contact-panel-title {
  text-align: left;
  word-break: normal;
  overflow-wrap: normal;
  font-kerning: normal;
}
.hero-title {
  font-size: clamp(4rem, 8.5vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 10ch;
  text-wrap: balance;
}
.section-title, .uhlone-title, .experience-title,
.service-offering-title, .contact-title {
  font-size: clamp(2.65rem, 4.8vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: pretty;
  max-width: 18ch;
  margin: 0;
}
.service-offering-title.letter-reveal { text-wrap: pretty; max-width: 23ch; }
.rooms-header .section-title { max-width: 20ch; }
.gallery-section .section-title { max-width: 22ch; }
.contact-title { max-width: 14ch; }
.gear-title { max-width: 15ch; }
.hero-card-title, .contact-panel-title { line-height: 1.25; letter-spacing: -0.01em; }
.room-title { line-height: 1.2; letter-spacing: -0.015em; }
.service-feature-title, .offering-title { line-height: 1.2; letter-spacing: -0.01em; }
.uhlone-caption-name, .room-lightbox-header p { line-height: 1.05; letter-spacing: -0.025em; }

.eyebrow, .eyebrow-dark, .gallery-eyebrow, .uhlone-eyebrow {
  line-height: 1.6;
  margin-bottom: 1.25rem;
  letter-spacing: 0.2em;
}
.hero-card-eyebrow, .room-number, .contact-note, .footer-meta { line-height: 1.65; }
.hero-body, .studio-body, .uhlone-body, .experience-body,
.service-offering-body, .gear-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  text-wrap: pretty;
  max-width: 58ch;
}
.hero-body, .studio-body, .service-offering-body, .uhlone-body, .experience-body, .gear-body { margin-top: 1.5rem; }
.service-feature-body, .offering-body { line-height: 1.7; }
.service-feature-body { color: rgba(244,234,214,0.72); }
.contact-note { letter-spacing: 0.16em; }

.hero-grid, .studio-grid, .uhlone-grid, .experience-grid,
.gear-grid, .contact-grid, .service-offering-lower {
  gap: clamp(2rem, 4vw, 4rem);
}
.hero-grid > *, .studio-grid > *, .uhlone-grid > *, .experience-grid > *,
.gear-grid > *, .contact-grid > *, .service-offering-lower > *,
.rooms-header > *, .service-feature-grid > *, .offerings-grid > * { min-width: 0; }
.studio-grid { align-items: center; }
.section-photo {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(244,234,214,0.14);
  background: var(--color-charcoal);
}
.section-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.section-photo figcaption {
  padding: 0.95rem 1.25rem;
  color: var(--color-stone);
  font-size: 0.7rem;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service-offering-section > .container { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.service-offering-lower { grid-column: 1 / -1; }
.service-photo { margin: 0; }
.service-photo img { object-position: center 60%; }
.rooms-header { display: grid; gap: 2rem; align-items: end; }
.rooms-subtitle { max-width: 42ch; font-size: 1rem; line-height: 1.8; }
.gear-visual { min-height: 0; }
.gear-visual img { position: absolute; inset: 0; }
.hero-ctas { flex-wrap: wrap; }
.primary-cta, .secondary-cta { line-height: 1.5; text-align: center; min-height: 48px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.logo-link { flex-shrink: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.gallery-item figcaption { line-height: 1.6; letter-spacing: 0.14em; }

/* Keep text readable throughout scroll and entrance animations. */
.js .block-reveal, .js .block-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
.mobile-menu-overlay { overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu-headline { line-height: 1.02; letter-spacing: -0.025em; }
.mobile-menu-links a { line-height: 1.05; letter-spacing: -0.025em; }

@media (min-width: 768px) {
  .hero-grid, .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr); }
  .studio-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .service-offering-section > .container { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .rooms-header { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); }
  .service-offering-lower { grid-template-columns: minmax(0, 1fr); }
  .service-offering-body { max-width: 72ch; }
}
@media (min-width: 1024px) {
  .uhlone-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .gear-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .experience-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .desktop-nav { gap: clamp(0.85rem, 1.65vw, 1.5rem); }
  .nav-link { letter-spacing: 0.18em; }
  .section-pad, #studio.section-pad { padding-block: 6rem; }
  .offerings-grid { grid-template-columns: 1fr; }
  .offering-card { display: grid; grid-template-columns: 1.5rem 1fr; column-gap: 1rem; }
  .offering-icon { grid-row: span 2; margin: 0.15rem 0 0; }
  .offering-body { margin-top: 0.5rem; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 5.25rem; }
  .hero-title { font-size: clamp(3.8rem, 16vw, 6rem); }
  .section-title, .uhlone-title, .experience-title,
  .service-offering-title, .contact-title {
    font-size: clamp(2.5rem, 9vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  .section-pad, #studio.section-pad { padding-block: 4rem; }
  .studio-grid, .rooms-header { grid-template-columns: 1fr; }
  .service-offering-section > .container { grid-template-columns: 1fr; }
  .service-photo img { aspect-ratio: 4 / 3; }
  .hero-body, .studio-body, .uhlone-body, .experience-body,
  .service-offering-body, .gear-body { font-size: 1rem; line-height: 1.75; }
  .eyebrow, .eyebrow-dark, .gallery-eyebrow, .uhlone-eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; }
  .hero-card-eyebrow { font-size: 0.68rem; letter-spacing: 0.18em; }
  .room-number { font-size: 0.68rem; letter-spacing: 0.16em; }
  .contact-grid { padding-block: 4rem; }
  .section-photo figcaption { letter-spacing: 0.08em; }
}
@media (prefers-reduced-motion: reduce) {
  .animate-rise, .animate-rise-delay { animation: none; }
}
