* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dot-color: #fc6464;
  --salmon-color: rgba(244, 73, 105, 0.9);
  --almost-black: rgba(0, 0, 0, 0.72);
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #f8f5ef;
  color: #222;
  line-height: 1;
  padding-bottom: 130px;
}

main {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

main.page-is-ready {
  opacity: 1;
  transform: translateY(0);
}

main.page-is-transitioning {
  opacity: 0;
  transform: translateY(-10px);
}

.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em;
  gap: 1px;
}

.site-header__socials {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.site-header__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__social-icon:hover {
  transform: scale(1.08);
  opacity: 0.85;
}

.site-header__social-icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.branding title {
    font-family: "Bodoni Moda", serif;
    font-size: 4.5rem;
    margin-bottom: 1px;
}

.branding h1 {
  font-family: "Playfair", serif;
  font-size: 72px;
  font-style: bold;
  font-weight: 900;
  font-variation-settings: 'opsz' 16;
  margin-bottom: 1px;
}

.site-header .site-title-link,
.site-header .site-title-link:visited,
.site-header .site-title-link:hover,
.site-header .site-title-link:active,
.site-header .site-title-link:focus {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.branding h3 {
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.48em;
  padding: 15px 0;
  margin-bottom: 1px;
  color: #949090;
}

.top-nav {
  font-weight: 200;
  font-style: normal;
  font-size: 14px;
  display: flex;
  gap: 30px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  color: #000000;
}

.top-nav a {
  flex: 0 1 auto;
  white-space: nowrap;
  font-size: clamp(0.72rem, 2.2vw, 0.95rem);
}

.top-nav a {
  text-align: center;
  text-decoration: none;
  color: #949090;
  letter-spacing: 0.10em;
  font-weight: 500;
  padding: 1px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.top-nav a:hover {
  color: #000000;
  border-color: var(--dot-color);
}

.top-nav a[aria-current="page"] {
  color: #000000;
  border-color: rgba(252, 100, 100, 0.55);
}

.quote-rotator {
  position: relative;
  width: 100%;
  min-height: 80px;
  padding-top: 30px;
  display: grid;
  place-items: center;
  text-align: center;
}

.quote-rotator {
  position: relative;
  width: 100%;
  min-height: 80px;
  display: grid;
  place-items: center;
  text-align: center;
}

.quote-rotator__pair {
  display: grid;
  gap: 4px;
  justify-items: center;
  width: 100%;
}

.quote-rotator__line {
  max-width: 1400px;
  font-size: clamp(2.0rem, 2.0vw, 4rem);
  font-style: normal;
  font-weight: 300;
  color: #38322d;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.quote-rotator__line strong {
  color: var(--dot-color);
  font-weight: 300;
  font-style: italic;
}

.hero-content strong {
  color: var(--dot-color);
  font-style: italic;
  font-weight: 300;
}

.hero-content super-strong {
  color: var(--dot-color);
  font-style: italic;
  font-weight: 600;
}

.quote-rotator__line.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.hero {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 32px;
  padding: 0px 48px 0;
}

.hero-content {
  max-width: 700px;
  align-self: center;
  text-align: center;
}

.hero-content p {
  font-size: 1.2rem;
  color: #555;
}

.hero-content .small {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-align: center;
  line-height: 1.5;
  color: #949090;
}


.hero-content .small-content {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.5;
  color: #080808;
}

.hero-content .small-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.58em;
  text-align: center;
  line-height: 1.5;
  color: var(--almost-black);
}

.hero-content .small-title::after {
  content: ".";
  font-weight: 900;
  color: var(--salmon-color);
  margin-left: 0.4em;
}

.brand-tagline {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 4.25rem;
  width: 100%;
  z-index: 21;
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}

.brand-tagline--inline {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: auto;
  z-index: auto;
  margin: 100px auto 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}

@media (max-height: 760px) {
  .brand-tagline {
    position: relative;
    bottom: auto;
    margin: 0.5rem 0 0;
  }
}

.about-intro {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
}

.about-intro__image {
  flex: 0 0 360px;
}

.about-intro__image .branding__image {
  width: min(100%, 360px);
  height: auto;
  display: block;
}

.about-intro__copy {
  flex: 1 1 0;
  max-width: 700px;
  min-height: clamp(300px, 34vw, 420px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding-left: 32px;
}

.about-intro__copy .small-title,
.about-intro__copy .small-content {
  display: block;
  text-align: left;
  color:var(--almost-black);
}

.about-intro__copy .small-title {
  margin-bottom: 18px;
}

.about-intro__copy .small-content {
  font-size: clamp(0.92rem, 0.94vw, 1rem);
  line-height: 1.5;
}

.about-intro__table {
  width: 100%;
  border-collapse: collapse;
}

.about-intro__table td {
  vertical-align: top;
  text-align: left;
  padding: 0.25rem 1.0rem;
}

.programs-table {
  width: 100%;
  border-collapse: collapse;
}

.programs-table td {
  vertical-align: top;
  text-align: left;
  padding: 0.25rem 0;
}

.programs-table tr td:first-child {
  font-weight: 700;
  font-size: larger;
  width: 30%;
}

.programs-table tr td:last-child {
  width: 70%;
  font-size: 1.15rem;
  line-height: 1.6;
}

.programs-intro-copy {
  font-size: 1.15rem;
  line-height: 1.6;
}

.about-intro__image {
  width: 360px;
  vertical-align: top;
}

.brand-grid {
  width: min(100%, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.brand-grid__item {
  padding: 12px;
  aspect-ratio: 1 / 1;
  min-height: unset;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 50, 45, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 1.0);
}

.brand-grid__image {
  display: block;
  width: 70%;
  height: 70%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: grayscale(100%);
}

.brand-grid__item--large {
  padding: 10px;
  aspect-ratio: 1 / 1;
  min-height: unset;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 50, 45, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 1.0);
}


.brand-grid__image--large {
  width: 80%;
  height: 80%;
}

/* Responsive column counts so items don't become too narrow on small screens */
@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.bottom-banner.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.services-copy .small-title,
.services-copy .small {
  display: block;
}

.services-copy .small-title {
  margin-bottom: 0.75rem;
}

.hero-content.services-copy {
  max-width: 1100px;
  padding-left: clamp(1.5rem, 5vw, 4rem);
}


.hero-content.services-intro {
  text-align: left;
  max-width: 1100px;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.hero-content.services-copy.left-justified {
  text-align: left;
}


.hero-content.services-copy.left-justified .small-title,
.hero-content.services-copy.left-justified .small {
  text-align: left;
  font-weight: 500;
}

.services-copy .small {
  font-size: clamp(1.0rem, 1.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.5;
  color:rgba(0, 0, 0, 1)
}

.programs-text {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(0, 0, 0, 1);
}

/* bottom-banner eyebrow/tagline removed — not present in templates */


/* page-content removed — not used in current templates */

.contact-card {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(56, 50, 45, 0.12);
  text-align: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 36px rgba(56, 50, 45, 0.08);
}

.contact-card form label {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.5em;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  text-align: left;
}

.contact-card form input,
.contact-card form textarea {
  width: 100%;
  font-size: 1rem;
  line-height: 1.6;
  padding: 18px 18px;
  min-height: 58px;
  border: 1px solid rgba(56, 50, 45, 0.18);
  border-radius: 18px;
  background: rgba(248, 245, 239, 0.92);
  color: #38322d;
  box-sizing: border-box;
}

.contact-card form textarea {
  min-height: 180px;
  resize: none;
}

.contact-card form button,
.contact-card form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 18px 28px;
  margin-top: 18px;
  border: none;
  border-radius: 16px;
  background: #38322d;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-card form button:hover,
.contact-card form input[type="submit"]:hover {
  background: #000;
  transform: translateY(-1px);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 1);
  transform: scale(1.1);
}

.social-icon img {
  width: 24px;
  height: 24px;
}

.contact-card .small-title {
  display: block;
  margin-bottom: 20px;
  text-align: left;
}

.contact-intro {
  margin-bottom: -50px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-align: left;
  color: #38322d;
}

/* connect-link utilities removed — not used in markup */

/* contact-email-link removed — not used */

/* Contact form styles removed — no contact form present in current pages */

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    gap: 24px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero {
    gap: 48px;
    padding: 48px 24px;
  }

  .about-intro {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .about-intro__table,
  .about-intro__table tr,
  .about-intro__table td {
    display: block;
    width: 100%;
  }

  .about-intro__table td {
    padding: 0;
  }

  .about-intro__image,
  .about-intro__copy {
    flex: none;
    width: 100%;
    max-width: 700px;
  }

  .about-intro__image {
    margin: 0 auto 8px;
  }

  .about-intro__image .branding__image {
    margin: 0 auto;
    max-width: min(100%, 320px);
  }

  .about-intro__copy {
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .about-intro__copy,
  .about-intro__copy .small-title,
  .about-intro__copy .small-content {
    text-align: center;
  }

  .about-intro__copy .small-content {
    font-size: clamp(0.9rem, 3.2vw, 1rem);
    line-height: 1.7;
  }

  .quote-rotator {
    min-height: 180px;
  }

  .bottom-banner {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  }
}
