:root { --hf-margin: clamp(24px, 7vw, 120px); }
@media (max-width: 1024px) { :root { --hf-margin: clamp(20px, 5vw, 60px); } }
@media (max-width: 768px) { :root { --hf-margin: clamp(16px, 4vw, 24px); } }

/* ==========================================================================
   S.I.S CANONICAL HEADER & FOOTER DESIGN SYSTEM
   Consistent typography, layout, animations & responsiveness for all pages
   ========================================================================== */

/* ---------- Header ---------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--hf-margin);
  background: color-mix(in oklab, var(--charcoal, #2A2723) 35%, transparent);
  box-shadow: none;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s, box-shadow 0.4s;
}

#site-header.is-scrolled {
  background: color-mix(in oklab, var(--charcoal, #2A2723) 92%, transparent);
  box-shadow: 0 8px 32px color-mix(in oklab, var(--charcoal, #2A2723) 8%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#site-header.is-hidden {
  transform: translateY(-100%);
}

.menu-btn {
  justify-self: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  position: relative;
  z-index: 110;
  background: none;
  border: 0;
  padding: 6px 0;
}

.menu-btn span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--warm-white, #F3EFE7);
  transition: background 0.3s ease, transform 0.3s ease;
}

.menu-btn:hover span {
  background: #FFFFFF;
}

.logo-wrap {
  position: relative;
  width: 80px;
  height: 32px;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100px;
  width: 100px;
  max-width: none;
  pointer-events: auto;
}

.header-cta {
  justify-self: end;
}

/* ---------- Buttons & Sweep Effects ---------- */
.btn-sweep {
  position: relative;
  display: inline-block;
  border-radius: 4px;
}

.btn-sweep button,
.btn-sweep a {
  outline: none !important;
}

.btn-sweep .btn-sweep-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 4px;
  overflow: hidden;
}

.btn-sweep .btn-sweep-shine span {
  position: absolute;
  background: var(--interactive, #A21C40);
}

.btn-sweep.on-dark .btn-sweep-shine span {
  background: var(--text-on-dark, #F3EFE7);
}

.btn-sweep.on-fill .btn-sweep-shine span {
  background: #FFFFFF;
}

.btn-sweep .btn-sweep-shine .side-top {
  top: 0;
  left: 0;
  height: 1.5px;
  width: 0;
  transition: width 0.22s ease;
}

.btn-sweep .btn-sweep-shine .side-right {
  top: 0;
  right: 0;
  width: 1.5px;
  height: 0;
  transition: height 0.22s ease;
}

.btn-sweep .btn-sweep-shine .side-bottom {
  bottom: 0;
  right: 0;
  height: 1.5px;
  width: 0;
  transition: width 0.22s ease;
}

.btn-sweep .btn-sweep-shine .side-left {
  bottom: 0;
  left: 0;
  width: 1.5px;
  height: 0;
  transition: height 0.22s ease;
}

.btn-sweep:hover .side-top { width: 100%; transition-delay: 0s; }
.btn-sweep:hover .side-right { height: 100%; transition-delay: 0.22s; }
.btn-sweep:hover .side-bottom { width: 100%; transition-delay: 0.44s; }
.btn-sweep:hover .side-left { height: 100%; transition-delay: 0.66s; }

button.btn, a.btn {
  margin: 0;
  border-radius: 3px !important;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-position 0.5s, box-shadow 0.3s, transform 0.15s, border-color 0.2s, opacity 0.2s, color 0.2s;
  background-size: 200% auto;
  background-position: left center;
  font-family: var(--font-sans, 'Familjen Grotesk', -apple-system, sans-serif);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  font-weight: 700;
  text-decoration: none;
}

.btn-sm {
  padding: 10px 22px !important;
  font: 700 0.75rem/1 var(--font-sans, 'Familjen Grotesk', sans-serif);
}

.btn-lg {
  padding: 18px 38px !important;
  font: 700 0.875rem/1 var(--font-sans, 'Familjen Grotesk', sans-serif);
}

.btn-accent {
  background-image: linear-gradient(45deg, #7A1631 0%, #A21C40 51%, #7A1631 100%);
  color: var(--text-on-dark, #F3EFE7) !important;
  border: 0;
  box-shadow: 0 0 14px -6px rgba(162, 28, 64, 0.75);
}

.btn-accent:hover {
  background-position: right center;
  color: #FFFFFF !important;
  opacity: 1 !important;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--structure, #6E6F71);
  color: var(--text-primary, #2A2723);
}

.btn-secondary.on-dark {
  border-color: rgba(243, 239, 231, 0.35);
  color: var(--text-on-dark, #F3EFE7);
}

.btn-secondary:hover {
  border-color: var(--interactive, #A21C40);
  color: var(--interactive, #A21C40);
}

.btn-secondary.on-dark:hover {
  border-color: var(--text-on-dark, #F3EFE7);
  color: #FFFFFF;
}

.btn:active {
  transform: scale(0.97);
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--charcoal, #2A2723) 96%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 32px;
  left: var(--hf-margin);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  background: none;
  border: 0;
  padding: 6px 0;
}

.mobile-menu-close span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--warm-white, #F3EFE7);
  transition: transform 0.25s ease;
}

.mobile-menu-close span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu-close:hover span {
  background: #FFFFFF;
}

.mobile-link {
  font-family: var(--font-display, 'Faculty Glyphic', Georgia, serif);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-on-dark-muted, #CFC5B4);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-link:hover {
  color: var(--warm-white, #F3EFE7);
  transform: translateX(4px);
  opacity: 1;
}

.mobile-link.is-current {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--interactive, #A21C40);
}

/* ==========================================================================
   CANONICAL S.I.S QUOTE SECTION (STANDALONE INTERSTITIAL FOR ALL PAGES)
   ========================================================================== */
.sis-quote-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background-color: #1D1A18;
  background-image: radial-gradient(circle at 50% 50%, rgba(162, 28, 64, 0.14) 0%, transparent 68%),
                    radial-gradient(rgba(243, 239, 231, 0.035) 1px, transparent 0);
  background-size: 100% 100%, 24px 24px;
  color: var(--text-on-dark, #F3EFE7);
  padding: clamp(96px, 14vh, 144px) var(--margin-page, clamp(24px, 7vw, 120px));
  text-align: center;
  border-top: 1px solid rgba(162, 28, 64, 0.45);
  border-bottom: 1px solid rgba(243, 239, 231, 0.14);
  overflow: hidden;
  z-index: 5;
}

.sis-quote-inner {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sis-quote-rule {
  width: 52px;
  height: 2px;
  background: var(--interactive, var(--garnet, #A21C40));
  margin: 0 auto 32px;
  display: block;
}

.sis-quote-text {
  font-family: var(--font-display, 'Faculty Glyphic', Georgia, serif);
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--warm-white, #F3EFE7);
  margin: 0 0 24px;
  max-width: 980px;
}

.sis-quote-text em {
  font-family: var(--font-text, Georgia, serif);
  font-style: italic;
  color: var(--travertine, #E3D9C6);
}

.sis-quote-author {
  display: block;
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--limestone, #CFC5B4);
}

/* ==========================================================================
   CANONICAL CLOSING CALL-TO-ACTION (sits above the footer; sized by its content, not full height)
   ========================================================================== */
.sis-cta-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: var(--travertine, #E3D9C6);
  border-bottom: 1px solid var(--border-subtle, #CFC5B4);
  padding: clamp(72px, 11vh, 112px) var(--margin-page, clamp(24px, 7vw, 120px));
  text-align: center;
  z-index: 5;
}
.sis-cta-inner { max-width: 820px; margin: 0 auto; }
.sis-cta-section .eyebrow { display: block; color: var(--text-secondary, #5B544B); text-align: center; margin: 0; }
.sis-cta-section h2 {
  font: var(--text-display-md, 400 2.4rem/1.15 'Faculty Glyphic', Georgia, serif);
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  letter-spacing: -0.015em;
  color: var(--text-primary, #2A2723);
  margin: 14px 0 18px;
}
.sis-cta-section h2 em { font-style: italic; font-family: var(--font-display, 'Faculty Glyphic', Georgia, serif); }
.sis-cta-section p {
  font: var(--text-body, 400 1rem/1.6 sans-serif);
  font-size: 1.08rem;
  color: var(--text-secondary, #5B544B);
  max-width: 660px;
  margin: 0 auto 30px;
}
/* long quote headings: wider measure and a slightly smaller size so they stay within three lines */
.sis-cta-section.is-quote .sis-cta-inner { max-width: 1060px; }
.sis-cta-section.is-quote h2 { font-size: clamp(1.5rem, 2.45vw, 2.2rem); line-height: 1.22; }
.sis-cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Canonical Footer (Viewport Fit Architecture) ---------- */
footer,
footer#contact {
  background: var(--surface-dark, #2A2723);
  color: var(--text-on-dark, #F3EFE7);
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (min-width: 1025px) {
  footer,
  footer#contact {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.footer-cta {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: clamp(56px, 9vh, 96px) var(--hf-margin) clamp(48px, 8vh, 88px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid color-mix(in oklab, white 14%, transparent);
  border-top: none;
}

.footer-cta .eyebrow {
  display: block;
  color: var(--interactive, #A21C40);
  margin-bottom: 6px;
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-cta h3 {
  font-family: var(--font-display, 'Faculty Glyphic', Georgia, serif);
  font-size: clamp(1.35rem, 1.85vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-on-dark, #F3EFE7);
  margin: 0 0 6px;
  max-width: 540px;
  text-wrap: balance;
}

.footer-cta p {
  font-family: var(--font-text, 'Familjen Grotesk', Georgia, serif);
  font-style: italic;
  font-size: clamp(0.82rem, 0.92vw, 0.92rem);
  line-height: 1.45;
  color: var(--text-on-dark-muted, #CFC5B4);
  margin: 0;
  max-width: 660px;
  text-wrap: balance;
}

.footer-cta .btn {
  padding: 11px 24px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.footer-cols {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: clamp(16px, 2.6vh, 36px) var(--hf-margin);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  align-content: center;
  align-items: start;
  gap: clamp(24px, 3.5vw, 56px);
}

.footer-brand img {
  height: 130px;
  width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin: -42px 0 -42px -20px;
  display: block;
}

.footer-brand p {
  font-family: var(--font-text, 'Familjen Grotesk', Georgia, serif);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-on-dark-muted, #CFC5B4);
  margin: 0 0 14px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(243, 239, 231, 0.25);
  border-radius: 50%;
  color: var(--text-on-dark, #F3EFE7);
  transition: border-color 0.25s, color 0.25s, transform 0.2s, background-color 0.2s;
  text-decoration: none;
}

.footer-social a:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  opacity: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col .eyebrow {
  color: var(--text-on-dark-muted, #CFC5B4);
  margin-bottom: 4px;
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-on-dark, #F3EFE7);
  width: fit-content;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  position: relative;
}

.footer-col a:hover {
  color: #FFFFFF;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-col a.is-current {
  color: var(--interactive, #A21C40);
}

.footer-contact {
  font-family: var(--font-text, 'Familjen Grotesk', Georgia, serif);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-on-dark-muted, #CFC5B4);
}

.footer-phone {
  font-family: var(--font-mono, 'Familjen Grotesk', monospace);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-on-dark, #F3EFE7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: #FFFFFF;
  opacity: 1;
}

.footer-legal {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: clamp(10px, 1.5vh, 16px) var(--hf-margin);
  border-top: 1px solid color-mix(in oklab, white 14%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal span {
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-on-dark-muted, #CFC5B4);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-on-dark-muted, #CFC5B4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
  opacity: 1;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  footer,
  footer#contact {
    min-height: auto !important;
    display: block !important;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px !important;
    padding: 36px var(--hf-margin) !important;
  }
  .footer-cta {
    padding: 56px var(--hf-margin) 44px !important;
  }
  .footer-legal {
    padding: 14px var(--hf-margin) !important;
  }
}

@media (max-width: 768px) {
  #site-header {
    padding: 16px var(--hf-margin) !important;
  }
  .mobile-menu-close {
    top: 24px;
    left: var(--hf-margin);
  }
  .footer-cols {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-cta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding: 48px var(--hf-margin) 40px !important;
  }
  .footer-legal {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 14px var(--hf-margin) !important;
  }
}

/* ---------- Brand Modal System ---------- */
.sis-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(42, 39, 35, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.sis-modal-overlay.open,
.sis-modal-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.sis-modal-dialog {
  max-width: 600px;
  width: 100%;
  background: var(--warm-white, #F3EFE7);
  border: 1px solid var(--border-subtle, #CFC5B4);
  padding: 34px;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.35s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.sis-modal-overlay.open .sis-modal-dialog,
.sis-modal-overlay.is-open .sis-modal-dialog {
  transform: scale(1);
}
.sis-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: var(--travertine, #E3D9C6);
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--charcoal, #2A2723);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s;
}
.sis-modal-close:hover {
  background: var(--garnet, #A21C40);
  color: #FFFFFF;
}


/* ==========================================================================
   NARRATIVE PHOTO INTERSTITIAL (FULL VIEWPORT)
   ========================================================================== */
@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.kb-slow img { animation: kenburns 20s var(--ease-cinematic, cubic-bezier(0.16, 1, 0.3, 1)) infinite alternate; }

.people-interstitial {
  position: relative;
  min-height: clamp(340px, 52vh, 520px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: clamp(48px, 8vh, 80px) var(--hf-margin);
  z-index: 5;
}
@media (min-width: 1025px) {
  .people-interstitial {
    min-height: clamp(340px, 52vh, 520px);
  }
}
.people-interstitial-media {
  position: absolute;
  inset: 0;
}
.people-interstitial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.people-interstitial-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,20,15,0.72) 0%, rgba(23,20,15,0.55) 45%, rgba(23,20,15,0.82) 100%);
  z-index: 1;
}
.people-interstitial-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}
.people-interstitial p {
  font-family: var(--font-display, 'Faculty Glyphic', Georgia, serif);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--warm-white, #F3EFE7);
  margin: 0;
  text-wrap: balance;
}

/* ==== CANONICAL LOCK (generated: header, menu and footer look the same on every page) ==== */
html body #site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--hf-margin);
  background: color-mix(in oklab, var(--charcoal, #2A2723) 35%, transparent);
  box-shadow: none;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s, box-shadow 0.4s;
}
html body #site-header.is-scrolled {
  background: color-mix(in oklab, var(--charcoal, #2A2723) 92%, transparent);
  box-shadow: 0 8px 32px color-mix(in oklab, var(--charcoal, #2A2723) 8%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
html body #site-header.is-hidden {
  transform: translateY(-100%);
}
html body .menu-btn {
  justify-self: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  position: relative;
  z-index: 110;
  background: none;
  border: 0;
  padding: 6px 0;
}
html body .menu-btn span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--warm-white, #F3EFE7);
  transition: background 0.3s ease, transform 0.3s ease;
}
html body .menu-btn:hover span {
  background: #FFFFFF;
}
html body .logo-wrap {
  position: relative;
  width: 80px;
  height: 32px;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
html body .logo-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
html body .logo-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100px;
  width: 100px;
  max-width: none;
  pointer-events: auto;
}
html body .header-cta {
  justify-self: end;
}

html body #site-header .btn-sweep {
  position: relative;
  display: inline-block;
  border-radius: 4px;
}
html body #site-header .btn-sweep button,
html body #site-header .btn-sweep a {
  outline: none !important;
}
html body #site-header .btn-sweep .btn-sweep-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 4px;
  overflow: hidden;
}
html body #site-header .btn-sweep .btn-sweep-shine span {
  position: absolute;
  background: var(--interactive, #A21C40);
}
html body #site-header .btn-sweep.on-dark .btn-sweep-shine span {
  background: var(--text-on-dark, #F3EFE7);
}
html body #site-header .btn-sweep.on-fill .btn-sweep-shine span {
  background: #FFFFFF;
}
html body #site-header .btn-sweep .btn-sweep-shine .side-top {
  top: 0;
  left: 0;
  height: 1.5px;
  width: 0;
  transition: width 0.22s ease;
}
html body #site-header .btn-sweep .btn-sweep-shine .side-right {
  top: 0;
  right: 0;
  width: 1.5px;
  height: 0;
  transition: height 0.22s ease;
}
html body #site-header .btn-sweep .btn-sweep-shine .side-bottom {
  bottom: 0;
  right: 0;
  height: 1.5px;
  width: 0;
  transition: width 0.22s ease;
}
html body #site-header .btn-sweep .btn-sweep-shine .side-left {
  bottom: 0;
  left: 0;
  width: 1.5px;
  height: 0;
  transition: height 0.22s ease;
}
html body #site-header .btn-sweep:hover .side-top { width: 100%; transition-delay: 0s; }
html body #site-header .btn-sweep:hover .side-right { height: 100%; transition-delay: 0.22s; }
html body #site-header .btn-sweep:hover .side-bottom { width: 100%; transition-delay: 0.44s; }
html body #site-header .btn-sweep:hover .side-left { height: 100%; transition-delay: 0.66s; }
html body #site-header button.btn,
html body #site-header a.btn {
  margin: 0;
  border-radius: 3px !important;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-position 0.5s, box-shadow 0.3s, transform 0.15s, border-color 0.2s, opacity 0.2s, color 0.2s;
  background-size: 200% auto;
  background-position: left center;
  font-family: var(--font-sans, 'Familjen Grotesk', -apple-system, sans-serif);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  font-weight: 700;
  text-decoration: none;
}
html body #site-header .btn-sm {
  padding: 10px 22px !important;
  font: 700 0.75rem/1 var(--font-sans, 'Familjen Grotesk', sans-serif);
}
html body #site-header .btn-lg {
  padding: 18px 38px !important;
  font: 700 0.875rem/1 var(--font-sans, 'Familjen Grotesk', sans-serif);
}
html body #site-header .btn-accent {
  background-image: linear-gradient(45deg, #7A1631 0%, #A21C40 51%, #7A1631 100%);
  color: var(--text-on-dark, #F3EFE7) !important;
  border: 0;
  box-shadow: 0 0 14px -6px rgba(162, 28, 64, 0.75);
}
html body #site-header .btn-accent:hover {
  background-position: right center;
  color: #FFFFFF !important;
  opacity: 1 !important;
}
html body #site-header .btn-secondary {
  background: transparent;
  border: 1px solid var(--structure, #6E6F71);
  color: var(--text-primary, #2A2723);
}
html body #site-header .btn-secondary.on-dark {
  border-color: rgba(243, 239, 231, 0.35);
  color: var(--text-on-dark, #F3EFE7);
}
html body #site-header .btn-secondary:hover {
  border-color: var(--interactive, #A21C40);
  color: var(--interactive, #A21C40);
}
html body #site-header .btn-secondary.on-dark:hover {
  border-color: var(--text-on-dark, #F3EFE7);
  color: #FFFFFF;
}
html body #site-header .btn:active {
  transform: scale(0.97);
}

html body footer#contact .btn-sweep {
  position: relative;
  display: inline-block;
  border-radius: 4px;
}
html body footer#contact .btn-sweep button,
html body footer#contact .btn-sweep a {
  outline: none !important;
}
html body footer#contact .btn-sweep .btn-sweep-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 4px;
  overflow: hidden;
}
html body footer#contact .btn-sweep .btn-sweep-shine span {
  position: absolute;
  background: var(--interactive, #A21C40);
}
html body footer#contact .btn-sweep.on-dark .btn-sweep-shine span {
  background: var(--text-on-dark, #F3EFE7);
}
html body footer#contact .btn-sweep.on-fill .btn-sweep-shine span {
  background: #FFFFFF;
}
html body footer#contact .btn-sweep .btn-sweep-shine .side-top {
  top: 0;
  left: 0;
  height: 1.5px;
  width: 0;
  transition: width 0.22s ease;
}
html body footer#contact .btn-sweep .btn-sweep-shine .side-right {
  top: 0;
  right: 0;
  width: 1.5px;
  height: 0;
  transition: height 0.22s ease;
}
html body footer#contact .btn-sweep .btn-sweep-shine .side-bottom {
  bottom: 0;
  right: 0;
  height: 1.5px;
  width: 0;
  transition: width 0.22s ease;
}
html body footer#contact .btn-sweep .btn-sweep-shine .side-left {
  bottom: 0;
  left: 0;
  width: 1.5px;
  height: 0;
  transition: height 0.22s ease;
}
html body footer#contact .btn-sweep:hover .side-top { width: 100%; transition-delay: 0s; }
html body footer#contact .btn-sweep:hover .side-right { height: 100%; transition-delay: 0.22s; }
html body footer#contact .btn-sweep:hover .side-bottom { width: 100%; transition-delay: 0.44s; }
html body footer#contact .btn-sweep:hover .side-left { height: 100%; transition-delay: 0.66s; }
html body footer#contact button.btn,
html body footer#contact a.btn {
  margin: 0;
  border-radius: 3px !important;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-position 0.5s, box-shadow 0.3s, transform 0.15s, border-color 0.2s, opacity 0.2s, color 0.2s;
  background-size: 200% auto;
  background-position: left center;
  font-family: var(--font-sans, 'Familjen Grotesk', -apple-system, sans-serif);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  font-weight: 700;
  text-decoration: none;
}
html body footer#contact .btn-sm {
  padding: 10px 22px !important;
  font: 700 0.75rem/1 var(--font-sans, 'Familjen Grotesk', sans-serif);
}
html body footer#contact .btn-lg {
  padding: 18px 38px !important;
  font: 700 0.875rem/1 var(--font-sans, 'Familjen Grotesk', sans-serif);
}
html body footer#contact .btn-accent {
  background-image: linear-gradient(45deg, #7A1631 0%, #A21C40 51%, #7A1631 100%);
  color: var(--text-on-dark, #F3EFE7) !important;
  border: 0;
  box-shadow: 0 0 14px -6px rgba(162, 28, 64, 0.75);
}
html body footer#contact .btn-accent:hover {
  background-position: right center;
  color: #FFFFFF !important;
  opacity: 1 !important;
}
html body footer#contact .btn-secondary {
  background: transparent;
  border: 1px solid var(--structure, #6E6F71);
  color: var(--text-primary, #2A2723);
}
html body footer#contact .btn-secondary.on-dark {
  border-color: rgba(243, 239, 231, 0.35);
  color: var(--text-on-dark, #F3EFE7);
}
html body footer#contact .btn-secondary:hover {
  border-color: var(--interactive, #A21C40);
  color: var(--interactive, #A21C40);
}
html body footer#contact .btn-secondary.on-dark:hover {
  border-color: var(--text-on-dark, #F3EFE7);
  color: #FFFFFF;
}
html body footer#contact .btn:active {
  transform: scale(0.97);
}

html body .mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--charcoal, #2A2723) 96%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}
html body .mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
html body .mobile-menu-close {
  position: absolute;
  top: 32px;
  left: var(--hf-margin);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  background: none;
  border: 0;
  padding: 6px 0;
}
html body .mobile-menu-close span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--warm-white, #F3EFE7);
  transition: transform 0.25s ease;
}
html body .mobile-menu-close span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
html body .mobile-menu-close span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
html body .mobile-menu-close:hover span {
  background: #FFFFFF;
}
html body .mobile-link {
  font-family: var(--font-display, 'Faculty Glyphic', Georgia, serif);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-on-dark-muted, #CFC5B4);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}
html body .mobile-link:hover {
  color: var(--warm-white, #F3EFE7);
  transform: translateX(4px);
  opacity: 1;
}
html body .mobile-link.is-current {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--interactive, #A21C40);
}

html body footer,
html body footer#contact {
  background: var(--surface-dark, #2A2723);
  color: var(--text-on-dark, #F3EFE7);
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
@media (min-width: 1025px) {
  html body footer,
  html body footer#contact {
      min-height: 100vh;
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
}
html body .footer-cta {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: clamp(56px, 9vh, 96px) var(--hf-margin) clamp(48px, 8vh, 88px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid color-mix(in oklab, white 14%, transparent);
  border-top: none;
}
html body .footer-cta .eyebrow {
  display: block;
  color: var(--interactive, #A21C40);
  margin-bottom: 6px;
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
html body .footer-cta h3 {
  font-family: var(--font-display, 'Faculty Glyphic', Georgia, serif);
  font-size: clamp(1.35rem, 1.85vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-on-dark, #F3EFE7);
  margin: 0 0 6px;
  max-width: 540px;
  text-wrap: balance;
}
html body .footer-cta p {
  font-family: var(--font-text, 'Familjen Grotesk', Georgia, serif);
  font-style: italic;
  font-size: clamp(0.82rem, 0.92vw, 0.92rem);
  line-height: 1.45;
  color: var(--text-on-dark-muted, #CFC5B4);
  margin: 0;
  max-width: 660px;
  text-wrap: balance;
}
html body .footer-cta .btn {
  padding: 11px 24px;
  font-size: 0.78rem;
  white-space: nowrap;
}
html body .footer-cols {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: clamp(16px, 2.6vh, 36px) var(--hf-margin);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  align-content: center;
  align-items: start;
  gap: clamp(24px, 3.5vw, 56px);
}
html body .footer-brand img {
  height: 130px;
  width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin: -42px 0 -42px -20px;
  display: block;
}
html body .footer-brand p {
  font-family: var(--font-text, 'Familjen Grotesk', Georgia, serif);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-on-dark-muted, #CFC5B4);
  margin: 0 0 14px;
  max-width: 300px;
}
html body .footer-social {
  display: flex;
  gap: 10px;
}
html body .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(243, 239, 231, 0.25);
  border-radius: 50%;
  color: var(--text-on-dark, #F3EFE7);
  transition: border-color 0.25s, color 0.25s, transform 0.2s, background-color 0.2s;
  text-decoration: none;
}
html body .footer-social a:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  opacity: 1;
}
html body .footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html body .footer-col .eyebrow {
  color: var(--text-on-dark-muted, #CFC5B4);
  margin-bottom: 4px;
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
html body .footer-col a {
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-on-dark, #F3EFE7);
  width: fit-content;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  position: relative;
}
html body .footer-col a:hover {
  color: #FFFFFF;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
html body .footer-col a.is-current {
  color: var(--interactive, #A21C40);
}
html body .footer-contact {
  font-family: var(--font-text, 'Familjen Grotesk', Georgia, serif);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-on-dark-muted, #CFC5B4);
}
html body .footer-phone {
  font-family: var(--font-mono, 'Familjen Grotesk', monospace);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-on-dark, #F3EFE7);
  text-decoration: none;
  transition: color 0.2s ease;
}
html body .footer-phone:hover {
  color: #FFFFFF;
  opacity: 1;
}
html body .footer-legal {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: clamp(10px, 1.5vh, 16px) var(--hf-margin);
  border-top: 1px solid color-mix(in oklab, white 14%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
html body .footer-legal span {
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-on-dark-muted, #CFC5B4);
}
html body .footer-legal-links {
  display: flex;
  gap: 20px;
}
html body .footer-legal-links a {
  font-family: var(--font-sans, 'Familjen Grotesk', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-on-dark-muted, #CFC5B4);
  text-decoration: none;
  transition: color 0.2s ease;
}
html body .footer-legal-links a:hover {
  color: #FFFFFF;
  opacity: 1;
}
@media (max-width: 1024px) {
  html body footer,
  html body footer#contact {
      min-height: auto !important;
      display: block !important;
    }
  html body .footer-cols {
      grid-template-columns: 1fr 1fr !important;
      gap: 36px !important;
      padding: 36px var(--hf-margin) !important;
    }
  html body .footer-cta {
      padding: 56px var(--hf-margin) 44px !important;
    }
  html body .footer-legal {
      padding: 14px var(--hf-margin) !important;
    }
}
@media (max-width: 768px) {
  html body #site-header {
      padding: 16px var(--hf-margin) !important;
    }
  html body .mobile-menu-close {
      top: 24px;
      left: var(--hf-margin);
    }
  html body .footer-cols {
      grid-template-columns: 1fr !important;
      gap: 28px !important;
    }
  html body .footer-cta {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 20px !important;
      padding: 48px var(--hf-margin) 40px !important;
    }
  html body .footer-legal {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 12px !important;
      padding: 14px var(--hf-margin) !important;
    }
}

/* neutralise page-level header variants (fixed height, light background, hairline) */
html body #site-header {
  height: auto;
  min-height: 0;
  justify-content: normal;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html body #site-header.is-scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
html body #site-header .logo-wrap { width: 80px; height: 32px; }
html body #site-header .btn-accent,
html body footer#contact .btn-accent { background-color: #A21C40; }
html body footer#contact .eyebrow { line-height: 1.4; }
html body footer#contact .footer-legal span,
html body footer#contact .footer-legal-links a { line-height: normal; }

/* ==== END CANONICAL LOCK ==== */
