/* contact.html: page-specific rules plus any override of the shared core */

:root {
      --night: #3A3028;
      --moss: #8C9E8A;
      --sky: #DDD2C4;
      --shadow: #232323;
      --cream: #E8DDD0;
      --warm-white: #F2EAE0;
      --parchment: #EDE3D7;
      --stone: #DED2C3;
      --blush: #E4D8C9;
      --night-deep: #2A231D;
      --gold: #A0462A;
      --lightgrey: #ABA196;

      --font-display: 'Spectral', Georgia, serif;
      --font-body: 'DM Sans', system-ui, sans-serif;
      --nav-h: 72px;
      --max-w: 1320px;
      --t-hero: clamp(3.6rem, 6vw, 6.8rem);
      --t-4xl: clamp(2.8rem, 4.5vw, 4.8rem);
      --t-3xl: clamp(2.3rem, 3.6vw, 3.8rem);
      --t-2xl: clamp(1.7rem, 2.6vw, 2.6rem);
      --t-xl: clamp(1.35rem, 1.9vw, 1.85rem);
      --t-lg: 1.4rem;
      --t-base: 1.1875rem;
      --t-sm: 1rem;
      --t-xs: 0.75rem;
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --tr: 300ms var(--ease);
      --tr-slow: 600ms var(--ease)
    }

body {
      font-family: var(--font-body);
      font-size: var(--t-base);
      line-height: 1.72;
      color: var(--shadow);
      background: var(--cream);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden
    }

.eyebrow {
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 400;
      letter-spacing: .28em;
      text-transform: uppercase;
      color: var(--gold);
      display: flex;
      align-items: center;
      gap: .75rem;
      margin-bottom: 0.625rem
    }

#nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 900;
      height: var(--nav-h);
      transition: background var(--tr), box-shadow var(--tr)
    }

#nav.scrolled {
      background: rgba(250, 248, 245, .94);
      backdrop-filter: blur(14px);
      box-shadow: 0 1px 0 rgba(0, 0, 0, .08)
    }

#nav:not(.scrolled) .nav-logo img {
      filter: brightness(0) invert(1)
    }

#nav:not(.scrolled) .nav-links a {
      color: rgba(255, 255, 255, .88)
    }

#nav:not(.scrolled) .nav-links a:hover {
      color: #fff
    }

#nav:not(.scrolled) .nav-cta {
      background: rgba(255, 255, 255, .15);
      color: #fff !important;
      border-color: rgba(255, 255, 255, .35)
    }

#nav:not(.scrolled) .hamburger span {
      background: #fff
    }

.nav-logo img {
      height: 32px;
      width: auto;
      transition: opacity var(--tr)
    }

.nav-logo:hover img {
      opacity: .75
    }

.nav-dropdown {
      position: absolute;
      top: calc(100% + 18px);
      left: 50%;
      transform: translateX(-50%) translateY(8px);
      background: var(--warm-white);
      border: 1px solid var(--stone);
      border-radius: 10px;
      padding: .75rem 0;
      min-width: 230px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
      opacity: 0;
      pointer-events: none;
      transition: opacity 220ms var(--ease), transform 220ms var(--ease)
    }

.nav-dropdown-label {
      font-size: 0.65rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--moss);
      padding: 0.25rem 1.25rem 0.75rem;
      display: block;
      border-bottom: 1px solid var(--stone);
      margin-bottom: 0.5rem;
    }

.nav-dropdown a {
      display: block;
      padding: .6rem 1.25rem;
      font-size: 1.01rem;
      color: var(--shadow);
      transition: color var(--tr), padding-left var(--tr)
    }

.nav-dropdown a:hover {
      color: var(--night);
      padding-left: 1.5rem
    }

#nav:not(.scrolled) .nav-links>li>a.nav-active::after {
      background: #A0462A;
    }

.mobile-overlay {
      position: fixed;
      inset: 0;
      z-index: 950;
      background: var(--night-deep);
      display: flex;
      flex-direction: column;
      padding: 0 1.5rem 2rem;
      transform: translateX(100%);
      transition: transform 400ms var(--ease)
    }

.mobile-overlay .nav-logo img {
      filter: brightness(0) invert(1)
    }

.mobile-nav-sub {
      display: flex;
      flex-direction: column;
      padding-left: 1.25rem
    }

.mobile-nav-sub a {
      font-family: var(--font-body);
      font-size: .9rem;
      color: rgba(255, 255, 255, .55);
      padding: .3rem 0;
      border-bottom: none
    }

.mobile-cta a {
      display: block;
      text-align: center;
      background: var(--cream);
      color: var(--night);
      padding: 1rem;
      border-radius: 8px;
      font-size: .85rem
    }

.page-hero {
      position: relative;
      height: 100vh;
      min-height: 680px;
      display: flex;
      align-items: flex-end;
      padding-top: var(--nav-h);
      padding-bottom: clamp(4rem, 8vw, 7rem);
      overflow: hidden
    }

.hero-bg {
      position: absolute;
      inset: -15% 0;
      width: 100%;
      height: 130%;
      will-change: transform
    }

.hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 30%
    }

.hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, rgba(43, 34, 27, .82) 0%, rgba(43, 34, 27, .65) 50%, rgba(43, 34, 27, .2) 100%)
    }

.hero-inner {
      position: relative;
      z-index: 2;
      max-width: var(--max-w);
      width: 100%;
      margin: 0 auto;
      padding: 0 clamp(1.5rem, 4vw, 3.5rem)
    }

.hero-sub {
      max-width: 480px;
      font-size: 1.125rem;
      line-height: 1.7;
      color: rgba(255, 255, 255, .7);
      font-weight: 300;
      margin-bottom: 2rem
    }

.hero-scroll {
      position: absolute;
      bottom: 2.5rem;
      right: clamp(1.5rem, 4vw, 3.5rem);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: .5rem;
      z-index: 2
    }

.hero-scroll-line {
      width: 1px;
      height: 56px;
      background: rgba(255, 255, 255, .3);
      animation: scrollPulse 2s ease-in-out infinite
    }

.hero-scroll-text {
      font-size: .58rem;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .4);
      writing-mode: vertical-lr
    }

@keyframes scrollPulse {

      0%,
      100% {
        opacity: .3
      }

      50% {
        opacity: 1
      }
    }

.section {
      padding: clamp(3rem, 6vw, 5.5rem) 0
    }

.s-warm {
      background: var(--warm-white)
    }

.s-parchment {
      background: var(--parchment)
    }

.s-blush {
      background: var(--blush)
    }

.s-night {
      background: var(--night-deep);
      color: #fff
    }

.s-cream {
      background: var(--cream)
    }

.two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(3rem, 6vw, 7rem);
      align-items: start
    }

.sec-heading {
      font-family: var(--font-display);
      font-size: var(--t-3xl);
      font-weight: 300;
      color: var(--night);
      line-height: 1.1;
      margin-bottom: 1.5rem
    }

.sec-heading em {
      font-style: italic
    }

.body-text {
      font-size: 1.125rem;
      line-height: 1.75;
      color: #4a4a4a;
      font-weight: 300
    }

.body-text p+p {
      margin-top: 1.25rem
    }

.rule {
      width: 40px;
      height: 1px;
      background: var(--moss);
      margin: 2rem 0
    }

.svc-img-wrap {
      position: relative;
      border-radius: 8px;
      overflow: hidden;
      aspect-ratio: 4/5
    }

.svc-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center
    }

.cta-bar {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 3rem
    }

.cta-heading-el {
      font-family: var(--font-display);
      font-size: var(--t-4xl);
      font-weight: 300;
      color: #fff;
      line-height: 1.1
    }

.cta-heading-el em {
      font-style: italic;
      color: var(--sky)
    }

.btn-night {
      background: var(--night);
      color: #fff
    }

.btn-night:hover {
      background: var(--sky);
      color: var(--night)
    }

.btn-outline {
      background: transparent;
      color: var(--night);
      border: 1px solid var(--night)
    }

.btn-outline:hover {
      background: var(--sky);
      color: var(--night)
    }

.btn-gl {
      background: transparent;
      color: rgba(255, 255, 255, .75);
      border: 1px solid rgba(255, 255, 255, .25)
    }

.btn-gl:hover {
      background: rgba(255, 255, 255, .1);
      color: #fff
    }

.btn-moss {
      background: var(--moss);
      color: #fff
    }

.btn-moss:hover {
      background: #6a756e
    }

.footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 3rem;
      padding-bottom: 3rem;
      padding-bottom: 2.5rem
    }

.d1 {
      transition-delay: 80ms
    }

.d2 {
      transition-delay: 160ms
    }

.d3 {
      transition-delay: 240ms
    }

.d4 {
      transition-delay: 320ms
    }

@media(max-width:900px) {
      .nav-links {
        display: none
      }

      .hamburger {
        display: flex
      }

      .two-col,
      .cta-bar {
        grid-template-columns: 1fr
      }

      .svc-img-wrap {
        aspect-ratio: 16/9
      }
    }

@media(max-width:600px) {
      .footer-top {
        grid-template-columns: 1fr
      }
    }

.contact-grid {
      display: grid;
      grid-template-columns: 5fr 7fr;
      gap: clamp(3rem, 6vw, 7rem);
      align-items: start
    }

.contact-info {
      display: flex;
      flex-direction: column;
      gap: 1.5rem
    }

.contact-info-locations {
      display: inline-block;
      margin-top: .5rem;
      font-size: .84rem;
      color: var(--gold);
      text-decoration: none;
      border-bottom: 1px solid rgba(160, 70, 42, .4);
      transition: border-color .25s;
    }

.contact-info-locations:hover { border-color: var(--gold); }

.contact-info-item {
      padding: 1.25rem 0;
      border-top: 1px solid var(--stone)
    }

.contact-info-label {
      font-size: .65rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--night-deep);
      margin-bottom: .4rem
    }

.contact-info-value {
      font-size: 14px;
      color: var(--shadow);
      transition: color var(--tr)
    }

.contact-info-value:hover {
      color: var(--night)
    }

.contact-form-wrap {
      background: var(--parchment);
      border-radius: 10px;
      padding: 2.5rem
    }

.contact-form {
      display: flex;
      flex-direction: column;
      gap: 1.5rem
    }

.form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem
    }

.form-group {
      display: flex;
      flex-direction: column;
      gap: .5rem
    }

.form-label {
      font-size: .7rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--night-deep)
    }

.form-input {
      font-family: var(--font-body);
      font-size: .9rem;
      color: var(--shadow);
      background: var(--warm-white);
      border: 1px solid var(--stone);
      border-radius: 8px;
      padding: .85rem 1rem;
      outline: none;
      transition: border-color var(--tr), box-shadow var(--tr);
      width: 100%
    }

.form-input:focus {
      border-color: var(--night);
      box-shadow: 0 0 0 3px rgba(58, 48, 40, .1)
    }

.form-input::placeholder {
      color: #b0aba4
    }

.form-select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2378847C' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      cursor: pointer
    }

.form-textarea {
      resize: vertical;
      min-height: 120px
    }

.form-disclaimer {
      font-size: .72rem;
      color: #9a9a9a;
      line-height: 1.6
    }

@media(max-width:900px) {
      .contact-grid {
        grid-template-columns: 1fr
      }

      .form-row {
        grid-template-columns: 1fr
      }
    }

body,
    a,
    button {
      cursor: none !important;
    }

#custom-cursor {
      position: fixed;
      top: 0;
      left: 0;
      width: 44px;
      height: 44px;
      pointer-events: none;
      z-index: 99999;
      transform: translate(-50%, -50%) scale(0.7);
      opacity: 0;
      transition: opacity 200ms ease, transform 280ms cubic-bezier(.34, 1.56, .64, 1);
      filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
    }

#nav:not(.scrolled) .nav-logo-img {
      filter: brightness(0) invert(1);
    }

#nav .nav-tagline {
      display: none;
    }

#nav .nav-dropdown a {
      color: var(--shadow) !important;
    }

#nav .nav-dropdown a:hover {
      color: var(--night) !important;
    }

p {
      line-height: 1.72;
    }

.intro-label,
    .section-sub-label,
    .practice-sub-label {
      font-size: 0.8rem !important;
    }

.intro-body,
    .body-lg {
      font-size: var(--t-lg) !important;
      line-height: 1.72;
    }

.practice-heading {
      font-size: clamp(2.4rem, 4vw, 4rem) !important;
    }

.practice-row p {
      font-size: 1.1rem !important;
      line-height: 1.72;
    }

.section-heading {
      font-size: var(--t-3xl) !important;
    }

.finder-section {
      padding: clamp(3rem, 6vw, 5rem) 0;
    }

.finder-box {
      background: var(--night);
      border-radius: 12px;
      padding: clamp(2.5rem, 5vw, 4rem);
      max-width: 1180px;
      margin: 0 auto;
    }

.finder-heading,
    .finder-rule,
    .finder-controls,
    .finder-or,
    .finder-actions {
      max-width: 720px;
    }

.finder-heading {
      font-family: var(--font-display);
      font-size: var(--t-2xl);
      font-weight: 300;
      color: #fff;
      margin-bottom: 0.75rem;
    }

.finder-rule {
      width: 13px;
      height: 13px;
      background-color: var(--sky);
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c0 6.6 5.4 12 12 12-6.6 0-12 5.4-12 12 0-6.6-5.4-12-12-12 6.6 0 12-5.4 12-12z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c0 6.6 5.4 12 12 12-6.6 0-12 5.4-12 12 0-6.6-5.4-12-12-12 6.6 0 12-5.4 12-12z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
      margin-bottom: 2rem;
      opacity: 0.9;
    }

.finder-row {
      display: flex;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

.finder-input {
      flex: 1;
      padding: 0.9rem 1.25rem;
      font-family: var(--font-body);
      font-size: var(--t-base);
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      color: #fff;
      outline: none;
      transition: border-color 300ms;
    }

.finder-input::placeholder {
      color: rgba(255, 255, 255, 0.4);
      font-style: italic;
    }

.finder-input:focus {
      border-color: var(--sky);
    }

.finder-select {
      padding: 0.9rem 1.25rem;
      font-family: var(--font-body);
      font-size: var(--t-base);
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      color: #fff;
      cursor: pointer;
      outline: none;
      -webkit-appearance: none;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      padding-right: 2.5rem;
    }

.finder-select option {
      background: var(--night-deep);
      color: #fff;
    }

.finder-radius {
      min-width: 110px;
    }

.finder-or {
      text-align: center;
      font-family: var(--font-body);
      font-size: var(--t-sm);
      color: rgba(255, 255, 255, 0.35);
      letter-spacing: 0.15em;
      text-transform: uppercase;
      padding: 0.5rem 0;
    }

.finder-specialty {
      width: 100%;
      margin-bottom: 1.5rem;
    }

.finder-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

.finder-link {
      font-size: var(--t-sm);
      color: rgba(255, 255, 255, 0.5);
      border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
      padding-bottom: 1px;
      transition: color 300ms;
    }

.finder-link:hover {
      color: #fff;
    }

.finder-btn {
      padding: 1rem 2.5rem;
      font-family: var(--font-body);
      font-size: var(--t-base);
      font-weight: 500;
      background: #A0462A;
      color: #fff;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      transition: background 300ms;
    }

.finder-btn:hover {
      background: #a18026;
    }

.finder-results {
      margin-top: 2rem;
      display: none;
    }

.finder-results.visible {
      display: block;
    }

.finder-results-heading {
      font-family: var(--font-body);
      font-size: var(--t-sm);
      color: rgba(255, 255, 255, 0.5);
      margin-bottom: 1.25rem;
      letter-spacing: 0.05em;
    }

.finder-results-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
      gap: 0.9rem;
      align-items: stretch;
    }

.finder-result-card {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 14px;
      padding: 1.15rem 1.4rem;
      text-align: left;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.65rem;
      transition: background 300ms, border-color 300ms;
    }

.finder-result-card:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }

.finder-result-avatar {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-family: var(--font-display);
      font-size: 1rem;
      margin: 0 0 0.2rem;
      width: 62px;
      height: 62px;
      flex-shrink: 0;
    }

.finder-result-name {
      font-family: var(--font-display);
      font-size: 1.15rem;
      color: #fff;
      margin-bottom: 0.2rem;
    }

.finder-result-role {
      font-size: var(--t-xs);
      color: rgba(255, 255, 255, 0.5);
      margin-bottom: 0.5rem;
    }

.finder-result-location {
      font-size: var(--t-xs);
      color: rgba(255, 255, 255, 0.4);
      margin-bottom: 0.75rem;
    }

.finder-result-body {
      min-width: 0;
      width: 100%;
    }

img.finder-result-avatar {
      object-fit: cover;
      object-position: center 15%;
      background: rgba(255, 255, 255, 0.08);
    }

.finder-result-card .finder-result-name {
      margin-bottom: 0.1rem;
    }

.finder-pending {
      display: inline-block;
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.45);
      border: 1px dashed rgba(255, 255, 255, 0.25);
      border-radius: 8px;
      padding: 0.7rem 1.2rem;
      margin-top: auto;
      width: 100%;
      text-align: center;
    }

.finder-enquiry-link {
      background: none;
      border: none;
      color: rgba(255, 255, 255, 0.55);
      font-family: var(--font-body);
      font-size: 0.78rem;
      letter-spacing: 0.02em;
      cursor: pointer;
      padding: 0.15rem 0;
      margin-top: 0.4rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      transition: color 300ms, border-color 300ms;
    }

.finder-enquiry-link:hover {
      color: #fff;
      border-color: rgba(255, 255, 255, 0.5);
    }

.finder-result-card .finder-result-btn {
      margin-top: auto;
      width: 100%;
      white-space: nowrap;
    }

@media (max-width: 640px) {
      .finder-result-card { padding: 1.25rem 1.1rem; }
    }

.finder-result-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      justify-content: center;
      margin-bottom: 0.35rem;
      margin-top: 0.25rem;
    }

.finder-tag {
      font-size: 0.73rem;
      padding: 0.2rem 0.5rem;
      background: rgba(208, 218, 227, 0.15);
      color: var(--sky);
      border-radius: 8px;
    }

.finder-result-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-body);
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      background: #fff;
      color: var(--night);
      border: 1px solid #fff;
      padding: 0.8rem 1.5rem;
      border-radius: 8px;
      transition: background 300ms, border-color 300ms;
      letter-spacing: 0.04em;
    }

.finder-result-btn:hover {
      background: var(--sky);
      border-color: var(--sky);
      color: var(--night);
    }

.finder-no-results {
      color: rgba(255, 255, 255, 0.5);
      font-size: var(--t-base);
      text-align: center;
      padding: 2rem 0;
    }

@media(max-width:900px) {
      .finder-results-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

@media(max-width:600px) {
      .finder-row {
        flex-direction: column;
      }

      .finder-radius {
        min-width: 100%;
      }

      .finder-results-grid {
        grid-template-columns: 1fr;
      }
    }

.hero-bg {
      z-index: 0 !important;
    }

.hero-overlay,
    .hero-overlay-bottom {
      z-index: 1 !important;
    }

.hero-inner {
      z-index: 2 !important;
    }

.team-avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-family: var(--font-display);
      font-size: 1.4rem;
      font-weight: 400;
      margin: 0 auto 1.5rem;
      letter-spacing: 0.05em;
      object-fit: cover;
    }

.team-director .team-avatar {
      width: 150px;
      height: 150px;
      font-size: 1.7rem;
    }

.team-name {
      font-family: var(--font-display);
      font-size: var(--t-xl);
      font-weight: 400;
      color: var(--night);
      margin-bottom: 0.25rem;
    }

.team-title {
      font-size: 18px;
      color: var(--gold);
      margin-bottom: 0.75rem;
      letter-spacing: 0.02em;
    }

.team-location {
      font-size: var(--t-sm);
      color: var(--night);
      opacity: 0.5;
    }

.team-card:hover .team-name,
    .team-card:hover .team-title,
    .team-card:hover .team-location {
      color: rgba(255, 255, 255, 0.85);
    }

.team-card:hover .team-name {
      color: #fff;
    }

.team-avatar-initials {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      margin: 0 auto 1.5rem auto;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-size: 1.8rem;
      font-weight: 400;
      letter-spacing: 0.05em;
      background: linear-gradient(135deg, #3e4585, var(--night));
      color: var(--warm-white) !important;

      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
      will-change: transform, background;
    }

.team-card:hover .team-avatar-initials {
      transform: scale(1.05);
      background: linear-gradient(135deg, #8b978f, var(--gold));
    }

.team-card-clickable .team-avatar {
      cursor: pointer;
      font-weight: 500;
      transition: background var(--tr);
    }

.team-card-clickable:hover .team-avatar {
      background-color: var(--gold) !important;
    }

img.team-avatar {
      object-position: center top;
    }

.team-card-clickable img.team-avatar,
    .team-director img.team-avatar {
      transition:
        width 420ms cubic-bezier(0.22, 1, 0.36, 1),
        height 420ms cubic-bezier(0.22, 1, 0.36, 1),
        border-radius 420ms cubic-bezier(0.22, 1, 0.36, 1);
    }

.team-card-clickable:hover img.team-avatar {
      width: 168px;
      height: 210px;
      border-radius: 14px;
    }

.team-director:hover img.team-avatar {
      width: 210px;
      height: 260px;
      border-radius: 16px;
    }

.adviser-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(43, 34, 27, 0.75);
      
      
      z-index: 10000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
      
      will-change: opacity;
    }

.adviser-modal-overlay.modal-open {
      opacity: 1;
      pointer-events: auto;
    }

.modal-content-wrapper {
      background: var(--warm-white);
      max-width: 760px;
      width: 100%;
      max-height: calc(100vh - 3rem);
      overflow-y: auto;
      overscroll-behavior: contain;
      border-radius: 14px;
      position: relative;
      padding: 2.5rem 2.5rem;
      box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);

      transform: translateY(15px) scale(0.98);
      opacity: 0;
      transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease;
      will-change: transform, opacity;
    }

.adviser-modal-overlay.modal-open .modal-content-wrapper {
      transform: translateY(0) scale(1);
      opacity: 1;
    }

.modal-close-btn {
      position: absolute;
      top: 1.25rem;
      right: 1.5rem;
      background: none;
      border: none;
      font-size: 2rem;
      line-height: 1;
      color: var(--gold);
      cursor: pointer;
      transition: color var(--tr);
    }

.modal-close-btn:hover {
      color: var(--night);
    }

.modal-body-layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 2.5rem;
    }

.modal-left-column {
      text-align: center;
      border-right: 1px solid var(--stone);
      padding-right: 1.5rem;
    }

.modal-left-column .team-avatar {
      width: 100%;
      max-width: 240px;
      height: auto;
      aspect-ratio: 3 / 4;
      margin: 0 auto 1.25rem;
      border-radius: 10px;
      background-size: cover;
      background-position: center top;
      font-size: 2.4rem;
    }

    .modal-left-column .team-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      border-radius: 10px;
    }

.modal-ar {
      font-size: 0.78rem;
      letter-spacing: 0.04em;
      color: var(--night);
      opacity: 0.6;
      margin-top: 0.4rem;
    }

.modal-action-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem;
      margin-top: 1.75rem;
    }

.modal-action-buttons .btn {
      flex: 1 1 auto;
      justify-content: center;
      white-space: nowrap;
    }

.modal-left-column .team-name {
      font-size: 1.3rem;
      line-height: 1.2;
      text-wrap: balance;
    }

.modal-right-column {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

.modal-text-bio {
      font-size: var(--t-base);
      line-height: 1.72;
      color: var(--shadow);
      margin-bottom: 2rem;
    }

.modal-action-buttons {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

.modal-action-buttons .btn {
      width: 100%;
      justify-content: center;
      font-size: 0.85rem;
      padding: 0.75rem 1.5rem;
    }

.modal-action-buttons .btn-gl {
      color: var(--night);
      border-color: rgba(58, 48, 40, 0.3);
    }

.modal-action-buttons .btn-gl:hover {
      background: var(--parchment);
      color: var(--night);
    }

.team-avatar-initials {
      display: flex; align-items: center; justify-content: center;
      background: var(--gum-leaf, #8C9E8A); color: var(--warm-white);
      font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .06em;
    }

.team-pending {
      display: block; margin-top: .4rem; font-size: .72rem; letter-spacing: .12em;
      text-transform: uppercase; color: rgba(58, 48, 40, 0.58);
    }

.modal-creds {
      margin-top: .75rem; font-size: .82rem; line-height: 1.6; color: var(--night);
    }

.modal-text-bio p { margin-bottom: 1rem; }

.modal-facts {
      display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem;
      margin: 1.5rem 0; padding-top: 1.25rem; border-top: 1px solid var(--stone);
    }

.modal-facts dt {
      font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
      color: var(--red-earth, #232323); padding-top: .15rem;
    }

.modal-facts dd { font-size: .95rem; line-height: 1.6; }

.adviser-filter .btn-gl {
      color: var(--night);
      border-color: rgba(58, 48, 40, 0.28);
    }

.adviser-filter .btn-gl:hover {
      background: var(--night);
      color: var(--warm-white);
      border-color: var(--night);
    }

.pdf-viewer-overlay {
      position: fixed; inset: 0; z-index: 10070;
      background: rgba(24, 20, 16, 0.82);
      display: flex; align-items: center; justify-content: center;
      padding: 2rem 1rem;
      opacity: 0; pointer-events: none; transition: opacity .2s ease;
    }

.pdf-viewer-overlay.open { opacity: 1; pointer-events: auto; }

.pdf-viewer-panel {
      background: var(--warm-white); border-radius: 12px; overflow: hidden;
      width: min(860px, 96vw); max-height: 92vh; display: flex; flex-direction: column;
      box-shadow: 0 20px 60px rgba(0,0,0,.35);
    }

.pdf-viewer-bar {
      display: flex; align-items: center; justify-content: space-between;
      padding: .85rem 1.25rem; border-bottom: 1px solid var(--stone);
      font-family: var(--font-body); font-size: .82rem; letter-spacing: .08em;
      text-transform: uppercase; color: var(--night);
    }

.pdf-viewer-bar button {
      background: none; border: none; font-size: 1.5rem; line-height: 1;
      color: var(--night); cursor: pointer; padding: .1rem .4rem;
    }

.pdf-viewer-bar button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.pdf-viewer-pages {
      overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem;
      display: flex; flex-direction: column; gap: 1rem; align-items: center;
      background: var(--parchment);
    }

.pdf-viewer-pages canvas {
      width: 100%; height: auto; max-width: 780px;
      box-shadow: 0 2px 14px rgba(0,0,0,.12); border-radius: 4px;
      user-select: none; -webkit-user-select: none;
    }

.pdf-viewer-loading { font-size: .95rem; color: var(--night); padding: 3rem 0; }

.booking-overlay {
      position: fixed; inset: 0; z-index: 10060;
      background: rgba(24, 20, 16, .8);
      display: flex; align-items: center; justify-content: center; padding: 2rem 1rem;
      opacity: 0; pointer-events: none; transition: opacity .2s ease;
    }

.booking-overlay.open { opacity: 1; pointer-events: auto; }

.booking-panel {
      position: relative; background: var(--warm-white); border-radius: 14px;
      width: min(680px, 96vw); max-height: 92vh; overflow-y: auto;
      overscroll-behavior: contain; padding: clamp(1.75rem, 4vw, 2.75rem);
    }

.booking-close {
      position: absolute; top: 1rem; right: 1.15rem; background: none; border: 0;
      font-size: 1.6rem; line-height: 1; color: var(--night); cursor: pointer;
    }

.booking-heading {
      font-family: var(--font-display); font-weight: 300;
      font-size: clamp(1.5rem, 3vw, 2rem); color: var(--night); margin: 0 0 .5rem;
    }

.booking-sub { font-size: .96rem; color: rgba(58,48,40,.7); margin: 0 0 1.75rem; }

.booking-form { display: flex; flex-direction: column; gap: 1.05rem; }

.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }

.booking-form .fld { display: flex; flex-direction: column; gap: .4rem; }

.booking-form label {
      font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
      color: rgba(58,48,40,.65); font-weight: 500;
    }

.booking-form input, .booking-form select, .booking-form textarea {
      width: 100%; background: #fff; border: 1px solid var(--stone); border-radius: 8px;
      padding: .8rem .95rem; font-family: var(--font-body); font-size: .98rem;
      color: var(--night); resize: vertical;
    }

.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
      outline: none; border-color: var(--gold);
    }

.booking-send { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; margin-top: .3rem; }

.booking-note { font-size: .84rem; color: rgba(58,48,40,.6); }

.booking-msg { font-size: .92rem; min-height: 1.2rem; }

.booking-msg.bad { color: #B4472A; }

.booking-done { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) { .booking-row { grid-template-columns: 1fr; } }

@media (max-width: 700px) {
  .modal-left-column .team-avatar { max-width: 190px; }
}
