/* Shared interior-page palette: quiet paper, fine borders and mountain accents. */
.subpage {
  background: #faf9fc;
  color: #3a3348;
}
.subpage .scroll-bg-global {
  opacity: 1;
  transition: none;
  background:
    radial-gradient(ellipse at 12% 22%, rgba(209, 190, 236, .16), transparent 60%),
    radial-gradient(ellipse at 88% 74%, rgba(241, 203, 210, .12), transparent 62%),
    #faf9fc;
}
.subpage :is(.about-bg, .about-orb, .about-card-overlay, .about-corner,
.privacy-bg, .privacy-orb, .contact-form-bg, .contact-form-orb, .thanks-bg) { display: none; }
.subpage :is(.about-section, .privacy-section, .contact-form-section, .thanks-shell) {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.subpage .section-title {
  font-family: inherit;
  font-size: clamp(1.875rem, 2.5vw, 2.25rem);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: .15em;
  color: #51445f;
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
.subpage .section-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #c9a2b8, #ab9bc6, #a0b7cf);
  box-shadow: none;
  animation: none;
}
.subpage :is(.about-card, .privacy-card, .contact-form-card, .thanks-card, .company-card) {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(113, 97, 137, .15);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(38, 29, 55, .04);
  backdrop-filter: none;
}
.subpage .about-card:hover { transform: none; background: #fff; border-color: #c5b8d1; }
.subpage :is(.about-icon, .privacy-icon, .thanks-icon) {
  background: rgba(151, 131, 177, .1);
  color: #75658e;
  border-radius: 6px;
  box-shadow: none;
}
.subpage .about-card:hover .about-icon { transform: none; }
.subpage :is(.about-label, .privacy-title, .thanks-title) { color: #51445f; }
.subpage .privacy-text { color: #514b5d; line-height: 1.95; }
.subpage :is(.back-button, .submit-button, .btn-primary) {
  background:
    linear-gradient(rgba(24, 20, 39, .4), rgba(24, 20, 39, .6)),
    url("../assets/images/philosophy-mountainside-v1.png") center 65% / cover;
  color: #fff;
  border: 1px solid #343044;
  border-radius: 4px;
  box-shadow: none;
  text-decoration: none;
}
.subpage :is(.back-button, .submit-button, .btn-primary):hover {
  transform: none;
  border-color: #b5a1c5;
}
.subpage :is(.back-button-bg, .back-button-glow, .submit-button-bg, .submit-button-shine, .submit-button-glow) { display: none; }
.subpage :is(.form-input, .form-textarea) {
  border: 1px solid #d7cfdf;
  border-radius: 4px;
  background: #fff;
  color: #3a3348;
}
.subpage :is(.form-input, .form-textarea):focus {
  border-color: #8e789f;
  box-shadow: 0 0 0 3px rgba(142, 120, 159, .12);
  outline: none;
}
.subpage .form-checkbox { accent-color: #75658e; }
.subpage :is(.form-icon, .privacy-link) { color: #75658e; }
.subpage .required { color: #9e526e; }
.subpage .privacy-link:hover { color: #51445f; }
.subpage :is(.back-button, .submit-button, .btn-primary, .btn-secondary):focus-visible {
  outline: 2px solid #a89abd;
  outline-offset: 4px;
}
.subpage .thanks-panel { background: #f8f5fb; border-color: #e2dae9; box-shadow: none; border-radius: 6px; }
.subpage .thanks-panel strong { color: #75658e; }
.subpage .btn-secondary { color: #75658e; border-color: #cfc3db; background: transparent; border-radius: 4px; }
.subpage .footer-company:hover, .subpage .footer-links:hover { transform: none; }
/* Legacy company URL keeps its content with the same shared chrome and typography. */
.subpage.legacy-company :is(h1, h2) {
  background: none !important;
  color: #51445f;
  -webkit-text-fill-color: currentColor;
  font-family: inherit;
  font-size: 2rem;
}
.subpage.legacy-company .company-card { transform: none !important; }
@media (max-width: 600px) {
  .subpage :is(.contact-form-card, .thanks-card) { padding: 1.5rem; }
  .subpage .thanks-grid { grid-template-columns: 1fr; }
}

/* Compact shared panorama: enough atmosphere without delaying the page content. */
.subpage-hero {
  position: relative;
  z-index: 1;
  min-height: 280px;
  height: clamp(280px, 34vh, 360px);
  display: grid;
  place-items: center;
  padding: 5rem 1.5rem 2rem;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(25, 21, 43, .24), rgba(25, 21, 43, .42)),
    url("../assets/images/vto_hero.webp") center 48% / cover;
}
.subpage .subpage-hero h1,
.subpage.legacy-company .subpage-hero h1 {
  margin: 0 0 1rem;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: inherit;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 300;
  letter-spacing: .15em;
  line-height: 1.3;
}
.subpage-hero p { font-size: .85rem; line-height: 1.8; letter-spacing: .06em; color: #eee7f4; }
.subpage :is(.about-section, .privacy-section, .contact-form-section, .thanks-shell),
.subpage.legacy-company #about { padding-top: 3rem; }
@media (max-width: 600px) {
  .subpage-hero { min-height: 240px; height: 240px; padding-top: 5rem; }
  .subpage-hero p { font-size: .78rem; }
}

.subpage-hero { overflow: hidden; }
.subpage-hero-content { position: relative; z-index: 2; }
.subpage-hero .subpage-cloud {
  --cloud-tile-width: max(100vw, 60vh);
  opacity: .3;
  z-index: 1;
}
.subpage-cloud::before, .subpage-cloud::after { animation-duration: 80s; }

.subpage.legacy-company #about-bg { display: none; }
