/* WordPress integration layer. The visual system remains in relaunch.css and atelier.css. */
html { scroll-behavior: smooth; }
body.tami-alpine-theme { margin: 0; }
.admin-bar .site-header { top: 32px; }
.admin-bar .menu-panel { top: calc(var(--header) + 32px); }
.tami-fallback, .tami-noscript { padding: 8rem 6vw; font-family: system-ui, sans-serif; }
#tami-wordpress-form { min-height: 460px; }
#tami-wordpress-form .gform_wrapper { width: 100%; }
#tami-wordpress-form .gform_heading { display: none; }
#tami-wordpress-form .gform_fields { display: grid; gap: 1.2rem; }
#tami-wordpress-form input:not([type="checkbox"]):not([type="radio"]),
#tami-wordpress-form textarea,
#tami-wordpress-form select {
  width: 100%; padding: 1rem 0; border: 0; border-bottom: 1px solid rgba(38,59,52,.32);
  border-radius: 0; color: inherit; background: transparent; font: inherit;
}
#tami-wordpress-form .gform_button {
  min-height: 48px; padding: .9rem 1.5rem; border: 0; border-radius: 999px;
  color: #fff; background: #19372f; font: 700 .72rem/1 "DM Sans", sans-serif;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
#tami-wordpress-form .validation_message,
#tami-wordpress-form .gfield_validation_message { color: #8b352e; }

.managed-page-hero {
  min-height: 42vh;
  padding: clamp(10rem, 18vw, 15rem) clamp(1.25rem, 6vw, 7rem) clamp(4rem, 8vw, 8rem);
  color: #173c34;
  background: #f5f1e9;
}
.managed-page-hero.has-image {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.managed-page-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,35,29,.08), rgba(12,35,29,.76));
}
.managed-page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.managed-page-hero > div { position: relative; z-index: 1; max-width: 72rem; }
.managed-page-hero h1 { max-width: 16ch; margin: 0; font-size: clamp(3.4rem,8vw,8rem); line-height: .92; }
.managed-page-hero p:last-child { max-width: 50rem; font-size: clamp(1rem,1.5vw,1.25rem); }
.managed-page-content { max-width: 74rem; margin: 0 auto; color: #263b34; }
.managed-page-content > :first-child { margin-top: 0; }
.managed-page-content h2 { font-size: clamp(2.2rem,5vw,4.8rem); }
.managed-page-content h3 { font-size: clamp(1.6rem,3vw,2.8rem); }
.managed-page-content a { text-decoration: underline; text-underline-offset: .18em; }
.managed-landing-hero .button { margin-top: 1.5rem; }
.managed-landing-intro {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
  max-width: 92rem;
  margin: 0 auto;
}
.managed-landing-answer {
  position: sticky;
  top: calc(var(--header) + 2rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 1.5rem;
  color: #173c34;
  background: #dcebe5;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}
.managed-landing-answer > :first-child,
.managed-landing-answer > :last-child { margin-block: 0; }
.managed-landing-sections { display: grid; gap: clamp(4rem, 9vw, 9rem); }
.managed-landing-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}
.managed-landing-section.image_right .managed-landing-section-media { order: 2; }
.managed-landing-section.full_width { grid-template-columns: 1fr; }
.managed-landing-section-media { min-height: min(60vw, 38rem); overflow: hidden; border-radius: 45% 45% 1.5rem 1.5rem; }
.managed-landing-section-media img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.managed-landing-section-copy { max-width: 42rem; }
.managed-landing-section-copy h2 { margin-top: .3rem; font-size: clamp(2.4rem, 5.2vw, 5.2rem); line-height: .96; }
.managed-landing-section-copy p,
.managed-landing-section-copy li { line-height: 1.65; }
.managed-landing-offers { overflow: hidden; }
.managed-landing-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  color: #173c34;
  background: #dcebe5;
}
.managed-landing-empty h2 { max-width: 16ch; margin: 0 auto 1.25rem; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .96; }
.managed-landing-empty > p:not(.eyebrow) { max-width: 46rem; margin: 0 auto 2rem; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.65; }
.managed-landing-faq { max-width: 92rem; margin: 0 auto; }
.managed-landing-faq-list { border-top: 1px solid rgba(38,59,52,.2); }
.managed-landing-faq-list details { border-bottom: 1px solid rgba(38,59,52,.2); }
.managed-landing-faq-list summary { padding: 1.4rem 0; cursor: pointer; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; }
.managed-landing-faq-list details > div { max-width: 52rem; padding: 0 0 1.5rem; line-height: 1.65; }
.managed-landing-final { padding: clamp(5rem, 12vw, 11rem) 6vw; text-align: center; color: #fff; background: #173c34; }
.managed-landing-final h2 { max-width: 18ch; margin: .4rem auto 2rem; font-size: clamp(2.8rem, 7vw, 7rem); line-height: .94; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .menu-panel { top: calc(var(--header) + 46px); }
  .managed-landing-intro,
  .managed-landing-section { grid-template-columns: 1fr; }
  .managed-landing-answer { position: static; }
  .managed-landing-section.image_right .managed-landing-section-media { order: 0; }
  .managed-landing-section-media { min-height: 110vw; border-radius: 42% 42% 1.2rem 1.2rem; }
}
