:where(#roles,#guest,#position-directory,#role-functions,#role-guides,#guest-experience) {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.brand-hero { position: relative; isolation: isolate; overflow: hidden; background: #18140f; }
.brand-hero-scene { position: absolute; inset: 0 0 0 30%; overflow: hidden; }
.brand-hero-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 55%;
  transform: scale(1.035);
}
.brand-hero-scene::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #18140f 0%, #18140fe8 12%, #18140f80 36%, #18140f05 73%),
    linear-gradient(0deg, #18140f85 0%, transparent 32%);
  pointer-events: none;
  content: "";
}
.brand-hero-scene figcaption {
  position: absolute;
  z-index: 1;
  right: max(22px, calc((100vw - 1280px) / 2));
  bottom: 17px;
  padding: 2px 8px;
  border-radius: 3px;
  background: #1c140fd4;
  color: #f2e1ca;
  font-size: .72rem;
}
.brand-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(570px, 48vw, 725px);
  padding-block: 86px;
  pointer-events: none;
}
.brand-hero-copy { max-width: 670px; pointer-events: auto; }
.brand-hero h1 { max-width: 100%; font-size: clamp(3.1rem, 6vw, 6.1rem); }
.brand-hero .hero-label { color: #ebc899; }
.brand-hero .hero-lead { max-width: 30em; color: #f2e4d0; }
.brand-hero .hero-feature-links { margin-top: 22px; }
.brand-hero .hero-feature-links a { color: #e8d4b8; }
.brand-hero .outline { background: #241a12aa; }
.brand-hero .outline:hover { background: #45311de0; }
.hero-enter .brand-hero-scene { animation: brand-scene-enter 900ms var(--motion-out) both; }
@keyframes brand-scene-enter {
  from { opacity: .36; scale: 1.03; }
  to { opacity: 1; scale: 1; }
}
@media (hover: hover) and (pointer: fine) {
  .brand-hero-scene img { transition: transform 380ms var(--motion-out); }
}

.platform-section { background: var(--paper); }
.platform-section .section { padding-block: 62px; }
.platform-section h2, .position-section h2, .guest-showcase h2 { text-wrap: balance; }
.platform-section .section-head p, .position-section .section-head p { max-width: 45em; }
.platform-section .surface-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  max-width: 100%;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f0e8da;
  gap: 4px;
}
.platform-section .surface-tabs > :is(a,button) {
  flex-direction: row;
  padding: 6px 13px;
  min-height: 44px;
  gap: 7px;
  color: #624f37;
  font-size: .91rem;
  white-space: nowrap;
}
.surface-tabs > :is(a,button):hover { background: #e9ddc9; }
.surface-tabs [aria-selected="true"] { background: var(--white); border-color: #b5a181; color: var(--ink); }
.surface-tabs svg { width: 18px; height: 18px; color: var(--brown); }
.surface-panel {
  display: grid;
  grid-template-columns: .85fr 1fr;
  align-items: center;
  gap: 32px;
  min-height: 382px;
  padding: 28px 32px;
  border: 1px solid #625039;
  border-radius: 16px;
  background: radial-gradient(ellipse at 78% 12%, #3b2a18, #1b1711 70%);
  color: var(--white);
  overflow: clip;
}
.surface-panel :focus-visible { outline-color: var(--gold); }
.surface-copy h3 { max-width: 13em; }
.surface-copy .button {
  min-height: 46px;
  margin-top: 18px;
  color: #251a0f;
}
.surface-extra { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 8px 0 0; color: var(--gold); }
.surface-extra:hover { text-decoration: underline; text-underline-offset: 4px; }
.platform-admin-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 9px; color: var(--brown); font-size: .9rem; font-weight: 680; }
.platform-admin-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.platform-admin-link svg { width: 17px; }
.surface-visual img {
  height: clamp(185px, 26vw, 318px);
  border: 0;
  background: transparent;
  filter: drop-shadow(0 9px 13px #0007);
}
.surface-phone img { object-position: center; }

.position-section, .guest-showcase { background: #efe6d7; border-block: 1px solid #e1d6c2; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.split-heading > div { flex: 1 1 440px; }
.split-heading > a { flex: none; }
.position-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.position-group {
  padding: 14px 14px 0;
  border: 1px solid #cdbd9f;
  border-radius: 10px;
  background: var(--white);
}
.position-group h3 { margin: 3px 4px 8px; color: var(--brown); font-size: .82rem; }
.position-link {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: start;
  gap: 10px;
  min-height: 100px;
  padding: 15px 5px;
  border-top: 1px solid var(--line);
}
.position-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: #f1e5d1; color: var(--brown); }
.position-icon svg { width: 19px; height: 19px; }
.position-text { display: grid; gap: 2px; min-width: 0; }
.position-text strong { color: var(--ink); font-size: 1.08rem; }
.position-text span { color: var(--muted); font-size: .85rem; }
.position-link > svg { width: 17px; height: 17px; margin-top: 6px; color: var(--brown); transition: transform 180ms var(--motion-out); }
@media (hover: hover) and (pointer: fine) {
  .position-link:hover .position-text strong { color: var(--brown); text-decoration: underline; text-underline-offset: 4px; }
  .position-link:hover > svg { transform: translateX(4px); }
}
.position-compact .position-link { min-height: 88px; }

.guest-showcase { background: #f5eddf; }
.guest-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 42px; }
.guest-grid > div > p { margin-top: 14px; max-width: 31em; color: var(--muted); }
.guest-grid .button { margin-top: 20px; }
.guest-grid .shot, .guest-gallery .shot { margin-top: 0; }
.guest-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.brand-training { background: var(--paper); }
.brand-training .actions { margin-top: 18px; }
.brand-training .actions .button { margin: 0; }

.roles-intro .button { margin-top: 23px; }
.role-intro .hero-label { margin-bottom: 8px; }
.role-hero { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 36px; }
.role-hero-copy h1 { max-width: 13em; }
.role-intro .shot { margin-top: 0; justify-self: center; }
.role-phone .shot-link { max-width: 226px; border-color: #817058; }
.role-phone img { max-height: 455px; }
.role-desktop .shot-link { border-color: #817058; }
.role-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.role-feature-grid article { border-top: 2px solid #b99b6d; padding-top: 12px; }
.role-feature-grid p, .role-practice p { margin-top: 6px; color: var(--muted); }
.role-practice ol { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 18px 25px; margin: 22px 0 0; padding-left: 21px; }
.role-practice li { padding-left: 4px; }
.role-practice li::marker { font-weight: 750; color: var(--brown); }
.role-scene { display: grid; grid-template-columns: .43fr 1fr; gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); }
.role-scene ol { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,130px),1fr)); gap: 13px; padding-left: 20px; margin: 0; }
.role-scene li { padding-right: 11px; }
.role-scene li::marker { color: var(--brown); font-weight: 650; }
.role-scene li a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--brown); font-weight: 700; }
.role-scene li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.role-scene li svg { width: 16px; }
.role-scene li p { font-size: .9rem; color: var(--muted); }
.footer-inner nav { flex-wrap: wrap; gap: 0 16px; }

@media (max-width: 840px) {
  .brand-hero-inner { min-height: 550px; padding-block: 78px; }
  .brand-hero-scene { inset: 0; }
  .brand-hero-scene::after { background: linear-gradient(90deg,#18140fea 0%,#18140fc2 50%,#18140f51 100%),linear-gradient(0deg,#18140fad,transparent 32%); }
  .surface-panel { gap: 20px; padding: 22px; }
  .position-grid { gap: 9px; }
  .position-group { padding-inline: 9px; }
  .position-link { gap: 6px; }
  .guest-grid, .role-hero { gap: 22px; }
}
@media (max-width: 670px) {
  .brand-hero-inner { min-height: 482px; padding-block: 65px; }
  .brand-hero h1 { font-size: clamp(2.55rem,9.2vw,4.2rem); letter-spacing: -.06em; white-space: normal; }
  .brand-hero-scene { inset: 0; }
  .brand-hero-scene img { object-position: 74% center; }
  .brand-hero-scene::after { background: linear-gradient(90deg,#18140fe6 0%,#18140f9e 97%),linear-gradient(0deg,#18140f93,transparent 38%); }
  .brand-hero .hero-feature-links { margin-top: 13px; }
  .platform-section .section { padding-block: 37px; }
  .surface-panel { grid-template-columns: 1fr; grid-template-rows: minmax(176px,auto) auto; gap: 17px; min-height: 0; padding: 16px; }
  .surface-copy h3 { max-width: none; }
  .surface-visual img { height: 185px; }
  .position-grid, .guest-grid, .role-hero, .role-scene { grid-template-columns: 1fr; }
  .guest-gallery, .role-feature-grid { grid-template-columns: 1fr; }
  .position-link, .position-compact .position-link { min-height: 75px; }
  .role-hero .shot { max-width: min(100%,420px); }
  .role-phone .shot-link { max-width: 182px; }
  .role-scene { gap: 8px; }
  .role-scene ol { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 350px) {
  .platform-section .surface-tabs > :is(a,button) { gap: 5px; padding-inline: 6px; font-size: .84rem; }
}
