.staff-intro { padding: 33px 12px 24px; text-align: center; }
.staff-intro .eyebrow { justify-content: center; }
.staff-intro .eyebrow::after { content: ""; height: 2px; width: 17px; background: currentColor; }
.staff-intro h1 { margin: 14px 0 20px; font-size: clamp(23px, 7vw, 38px); }
.staff-intro h1 strong { display: inline-block; font-size: 1.25em; }
.staff-lines { display: grid; justify-items: center; gap: 6px; }
.staff-lines span { display: block; padding: 4px 10px 6px; background: var(--ink); color: var(--paper); font-size: clamp(17px, 5.2vw, 26px); font-weight: 900; }
.staff-lines strong { color: var(--gold); }
.staff-carousel { padding: 0 0 31px; scroll-margin-top: 12px; }
.staff-track {
  --card-width: min(69vw, 344px);
  display: flex;
  gap: 12px;
  align-items: stretch;
  overflow-x: auto;
  padding: 8px calc((100% - var(--card-width)) / 2) 15px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.staff-card {
  flex: 0 0 var(--card-width);
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 6px 14px #2020191a;
  transition: transform .33s, opacity .33s;
}
.staff-carousel.is-ready .staff-card:not(.is-current):not(:focus-within) { opacity: .64; transform: scale(.93); }
.staff-card--blue { --staff-color: #176780; }
.staff-card--pink { --staff-color: #a7475c; }
.staff-card--gold { --staff-color: #835b06; }
.staff-card--violet { --staff-color: #70416e; }
.staff-card__portrait { background: var(--staff-color); color: white; text-align: center; }
.staff-card__portrait p { padding: 8px 4px; font-size: clamp(12px, 3.5vw, 17px); font-weight: 900; }
.staff-card__portrait img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: center top; }
.staff-card__body { padding: 11px 10px 14px; display: flex; flex: 1; flex-direction: column; align-items: center; text-align: center; border-top: 2px solid var(--ink); }
.staff-card__role { color: var(--staff-color); font-size: 11px; font-weight: 850; }
.staff-card__name { margin: 1px 0 5px; font: 750 clamp(18px, 5.5vw, 25px)/1.4 var(--sans); }
.staff-card__bio { margin-bottom: 9px; font-size: 12px; text-align: left; }
.staff-card a { display: inline-block; margin-top: auto; font-size: 11px; font-weight: 800; text-underline-offset: 3px; }
.staff-controls:not([hidden]) { display: flex; justify-content: center; align-items: center; gap: 11px; margin-top: 8px; }
.staff-controls button { border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink); }
.staff-arrow { width: 36px; height: 36px; }
.staff-arrow:disabled { opacity: .45; cursor: default; }
.staff-dots { display: flex; gap: 2px; }
.staff-dots button { display: grid; place-items: center; width: 25px; height: 30px; padding: 0; border: 0; background: transparent; }
.staff-dots button::before { content: ""; width: 8px; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; }
.staff-dots button[aria-current]::before { background: var(--gold); transform: scale(1.3); }
.staff-status { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .staff-lines span { animation: staff-bar-in .55s ease-out both; }
  .staff-lines span:nth-child(2) { animation-delay: .12s; }
  .staff-lines span:nth-child(3) { animation-delay: .24s; }
}
@keyframes staff-bar-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0); } }


.staff-inline { scroll-margin-top: 12px; border-block: 1px solid var(--line); }
.staff-inline .staff-intro h2 { margin: 14px 0 20px; font-size: clamp(23px, 7vw, 38px); }
.staff-inline .staff-intro h2 strong { display: inline-block; color: #855000; font: 900 1.25em/1.2 var(--sans); }
.staff-inline .staff-card__bio { margin-bottom: 0; }
.staff-inline .staff-card a { display: none; }
.staff-inline .staff-carousel { padding-bottom: 15px; }
.staff-inline__booking { padding: 0 22px 27px; }

.staff-dots button { width: clamp(15px, 5.1vw, 25px); }
.staff-inline .staff-card .staff-card__source { display: inline-block; padding-top: 6px; }

/* Keep all existing staff roles together in one consistent two-line band. */
.staff-card__portrait .staff-card__titles { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; padding: 8px 6px; font-size: 14px; line-height: 1.4; }
.staff-card__titles span { display: block; max-width: 100%; }

/* Homepage staff component, including its original brand overrides. */
#team{--ink:#173d54;--paper:#fff;--gold:#ffe34f;--line:rgba(21,95,131,.12);--sans:"Noto Sans JP","Hiragino Sans",sans-serif;line-height:1.7;font-size:16px;padding:0}
#team .grid-light{background-image:none}
#team .eyebrow{font:700 11px/1.3 var(--sans);letter-spacing:.16em;display:flex;align-items:center;gap:7px}
#team .eyebrow:before{content:"";display:inline-block;width:17px;height:2px;background:currentColor}

#team .staff-intro { background: #f5faf9; background-image: none; }

#team .staff-intro .eyebrow { color: #277475; font-family: var(--sans); }

#team { background: #f3f2ef; }

#team .staff-intro { padding: 46px 22px 26px; background: #f3f2ef; background-image: none; }

#team .staff-intro .eyebrow { color: #7c4e5c; letter-spacing: .14em; }

#team .staff-intro h2 { color: #222; font-weight: 900; line-height: 1.5; }

#team .staff-intro h2 strong { color: #222; }

#team .staff-lines { gap: 0; }

#team .staff-lines span { padding: 0; color: #555; background: none; font-size: 14px; line-height: 1.9; font-weight: 650; }

#team .staff-lines strong { color: #222; }

#team .staff-inline__booking { background: #f3f2ef; background-image: none; }

#team, #team .staff-intro, #team .staff-inline__booking { background: #eaf7fd; background-image: none; }

#team .staff-intro .eyebrow { color: #087aa9; }

#team .staff-intro h2, #team .staff-intro h2 strong { color: #173d54; }

#team .staff-lines span { color: #496776; }

#team .staff-lines strong { color: #087aa9; }

#team .staff-card { border-color: #c4e3f2; box-shadow: 0 6px 14px #14749c10; }

#team .staff-card__body { border-color: #c4e3f2; }

#team .staff-card__portrait { background: #087eaf; }

#team .staff-card--pink { --staff-color: #f38d7b; }

#team .staff-intro { background: #08a6e5; color: #fff; }

#team .staff-intro .eyebrow, #team .staff-intro h2, #team .staff-intro h2 strong, #team .staff-lines span { color: #fff; }

#team .staff-lines strong { color: #ffe34f; }
#team .staff-intro h2{margin:14px 0 20px;font-size:clamp(23px,7vw,38px);font-weight:900;line-height:1.5;letter-spacing:.04em}
#team .staff-intro h2 strong{font:900 1.25em/1.2 var(--sans);color:#fff}
#team .staff-card__name{margin:1px 0 5px;font:750 clamp(18px,5.5vw,25px)/1.4 var(--sans)}
#team .staff-card__bio{margin:0;font-size:12px;text-align:left}
#team .staff-card__titles{margin:0}
#team .staff-inline__booking .yy-btn{font-size:15px;min-height:50px;padding:9px 15px;gap:10px}

#team .staff-photo-reference img{background:#edf9ff}#team .staff-photo-reference img{object-fit:contain;object-position:center;width:100%;max-height:none;padding:40px 80px;box-sizing:border-box}
