/* The Team: the approved champagne palette, isolated from the other pages. */
body[data-page=team]{--ink:#432716;background:#edc6a5;color:var(--ink)}
body[data-page=team] .site-header{background:linear-gradient(#efccafed,#efccafd9 65%,#efccaf00)}
body[data-page=team].team-scrolled .site-header{background:#f2d4bceF;box-shadow:0 1px 0 #79512e24}
body[data-page=team] .header-rule span{background:linear-gradient(90deg,#432716,#43271620)}
body[data-page=team] .header-rule span:first-child{background:linear-gradient(90deg,#43271620,#432716)}
body[data-page=team] .social-links svg g{stroke:#f2d4bc}
body[data-page=team] .social-links svg path[fill="#f8d6ee"]{fill:#f2d4bc}
.team-page[hidden]{display:none}
.team-page{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#bc9470 #f2d8c1;outline:none;color:#432716;background:radial-gradient(ellipse at 49% 32%,#fff3dfaa,transparent 60%),radial-gradient(ellipse at 91% 10%,#ffe3bca8,transparent 34%),linear-gradient(130deg,#dcb08f 0%,#edc5a4 31%,#f6ddc5 60%,#e9c5a8 100%);scroll-padding-top:calc(var(--nav-height) + 24px)}
.team-atmosphere{position:absolute;inset:0;overflow:clip;pointer-events:none}
.team-window-light{position:absolute;pointer-events:none;top:50px;right:-6%;width:43%;height:600px;transform:skewY(-29deg);opacity:.55;background:repeating-linear-gradient(0deg,transparent 0 100px,#a96e3e2b 101px 119px,transparent 120px 220px),repeating-linear-gradient(90deg,#fff6d8b0 0 90px,#aa754b26 91px 110px);filter:blur(7px);mask-image:radial-gradient(ellipse,#000 8%,transparent 71%);-webkit-mask-image:radial-gradient(ellipse,#000 8%,transparent 71%)}
/* Only the floral fragment of the reference is used; all page content is HTML. */
.team-blossoms{position:absolute;pointer-events:none;top:90px;left:0;width:clamp(100px,13vw,190px);aspect-ratio:190/155;background:url('/assets/team/champagne-reference.jpg') no-repeat 0 15.51%;background-size:808.421% auto;mask-image:linear-gradient(90deg,#000 60%,transparent),linear-gradient(transparent,#000 10%,#000 70%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 60%,transparent),linear-gradient(transparent,#000 10%,#000 70%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}
.team-inner{position:relative;max-width:1160px;margin:auto;padding:calc(var(--nav-height) + 15px) 54px 78px}
.team-heading{text-align:center;margin:0 auto 44px}
.team-heading h1{position:relative;width:fit-content;margin:0 auto 5px;padding:0 45px;font:400 clamp(5.25rem,8.8vw,8.4rem)/1.18 'Binaa Script',cursive;text-shadow:0 2px 22px #fff2d8b8}
.team-heading h1::after{content:'';position:absolute;bottom:10px;left:18%;right:3%;height:12px;border-bottom:1px solid #fff2c9b3;border-radius:50%;transform:rotate(-4deg);box-shadow:0 4px 12px -3px #fff8e0}
.team-subtitle{display:flex;align-items:center;justify-content:center;gap:24px;margin:0 auto;max-width:730px}
.team-subtitle p{font:400 .88rem/1.7 Arial,sans-serif;letter-spacing:.32em;text-transform:uppercase;margin:0;text-wrap:balance}
.team-subtitle span{height:1px;flex:1;min-width:24px;max-width:110px;background:linear-gradient(90deg,transparent,#7d4b27)}
.team-subtitle span:last-child{transform:scaleX(-1)}
.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(44px,7vw,84px);max-width:840px;margin:auto}
.team-card{text-align:center;min-width:0;transition:opacity .3s ease}
.team-portrait{position:relative;display:block;aspect-ratio:4/5;width:100%;padding:5px;border:1px solid #fff3da;border-radius:24px;background:linear-gradient(130deg,#fff4d8,#ce9f6f 27%,#fff4e0 51%,#ba854d 78%,#fff2d5);box-shadow:0 12px 32px -15px #75401b80,0 0 0 1px #b78553a6,inset 0 0 10px #fff4d9;cursor:pointer;isolation:isolate;transition:box-shadow .35s ease,opacity .3s ease}
.team-portrait img{position:absolute;inset:5px;width:calc(100% - 10px);height:calc(100% - 10px);object-fit:cover;border-radius:19px;display:block;transition:opacity .4s ease}
.team-photo{opacity:0}.team-photo.is-visible{opacity:1}
.team-portrait,.team-expanded-photo{touch-action:pan-y;user-select:none}
.team-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.team-card h2{font:400 clamp(2.8rem,4.4vw,4.05rem)/1.16 'Binaa Script',cursive;margin:24px 0 7px;white-space:nowrap}
.team-role{font:400 .875rem/1.6 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;margin:0}
.team-portrait:focus-visible,.team-expanded-photo:focus-visible{outline:2px solid #69401c;outline-offset:6px}
@media(hover:hover) and (pointer:fine){
 .team-card:hover .team-portrait,.team-portrait:focus-visible{box-shadow:0 0 0 1px #b78553,0 0 24px 2px #fff5cecc,0 14px 32px -15px #75401b80}
}
.team-page.has-profile .team-card:not(.is-selected){opacity:.3}
.team-card.is-selected .team-portrait{opacity:0}
.team-page .site-footer{max-width:1160px;border-color:#8e63343d;color:#4c3323;padding-top:42px}
.team-profile-dialog{position:fixed;inset:0;width:100%;height:var(--screen-height);max-width:none;max-height:none;margin:0;padding:32px;border:0;background:transparent;color:#432716;overflow:auto;outline:none;overscroll-behavior:contain}
.team-profile-dialog[open]{display:flex;align-items:flex-start;justify-content:center}
.team-profile-dialog::backdrop{background:#37200f36}
.team-profile-panel{margin:auto;position:relative;display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(24px,4vw,55px);align-items:center;width:min(100%,1020px);padding:22px 48px 22px 22px;border:1px solid #fff0d2;border-radius:26px;background:radial-gradient(ellipse at 80% 15%,#fff1dd,#f4d6b9 70%);box-shadow:0 25px 80px -20px #4e2b1e70,0 0 0 1px #ba895969,inset 0 0 18px #fff5df}
.team-expanded-photo{position:relative;aspect-ratio:4/5;width:100%;border-radius:18px;box-shadow:0 3px 18px #5f391c38;transform-origin:top left;z-index:1;background:#e4c6ab}
.team-expanded-photo img{display:block;width:100%;height:100%;object-fit:cover;border:1px solid #fff4df;border-radius:inherit}
.team-profile-copy{padding:20px 0}
.team-profile-copy h2{font:400 clamp(3rem,5vw,4.5rem)/1.15 'Binaa Script',cursive;margin:0 0 10px}
.team-profile-copy .team-role{font-size:.875rem;letter-spacing:.06em;margin-bottom:27px}
.team-profile-bio p{font-size:1.08rem;line-height:1.65;margin:0 0 18px;text-wrap:pretty}
.team-contributions{border-top:1px solid #ba89595c;padding-top:18px;margin-top:25px}
.team-contributions h3{font:400 .875rem/1.5 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;margin:0 0 10px}
.team-contributions ul{list-style:none;display:flex;flex-wrap:wrap;gap:6px 14px;padding:0;margin:0}
.team-contributions li{font-size:.97rem;line-height:1.5}
.team-contributions li:not(:last-child)::after{content:'·';margin-left:14px;color:#9d7046}
.team-profile-close{position:absolute;right:12px;top:12px;z-index:3;width:42px;height:42px;border:0;border-radius:50%;background:#fff4e2c7;color:#58351c;display:grid;place-items:center;cursor:pointer}
.team-profile-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.team-profile-close:focus-visible{outline:2px solid #73451f;outline-offset:3px}
@media(max-width:800px){
 .team-inner{padding-left:42px;padding-right:42px}.team-grid{gap:38px}.team-card h2{font-size:2.8rem}.team-role{font-size:.875rem}
 .team-profile-panel{gap:25px;padding:24px}.team-profile-copy h2{font-size:3.2rem}.team-profile-bio p{font-size:1rem}.team-profile-copy .team-role{font-size:.875rem;margin-bottom:18px}
 .team-subtitle{gap:16px}.team-subtitle p{letter-spacing:.24em;font-size:.76rem}
}
@media(max-width:560px){
 .team-inner{padding:calc(var(--nav-height) + 24px) 34px 54px}.team-heading{margin-bottom:36px}.team-heading h1{font-size:clamp(3.8rem,16vw,5rem);padding:0 8px;white-space:nowrap}.team-subtitle{gap:12px}.team-subtitle span{min-width:14px}.team-subtitle p{font-size:.72rem;letter-spacing:.2em}
 .team-grid{grid-template-columns:minmax(0,1fr);max-width:330px;gap:44px}.team-card h2{font-size:3.15rem;margin-top:21px}.team-role{font-size:.875rem}.team-blossoms{top:120px;width:88px;opacity:.8}.team-window-light{width:70%;height:450px}
 .team-profile-dialog{padding:18px}.team-profile-dialog[open]{align-items:flex-start}.team-profile-panel{display:block;padding:22px;margin:auto;border-radius:22px}.team-expanded-photo{width:min(100%,240px);margin:0 auto}.team-profile-copy{padding:28px 0 4px}.team-profile-copy h2{text-align:center;font-size:3.1rem}.team-profile-copy .team-role{text-align:center;font-size:.875rem}.team-profile-bio p{font-size:1rem;line-height:1.65}.team-contributions li{font-size:.9rem}.team-profile-close{position:fixed;top:max(27px,env(safe-area-inset-top,0px));right:max(30px,env(safe-area-inset-right,0px));background:#fff4e2;box-shadow:0 2px 10px #59391b18}
}
@media(max-height:600px) and (min-width:561px){.team-profile-dialog{padding:18px}.team-profile-panel{max-width:880px;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);padding:20px 34px 20px 20px}.team-profile-copy{padding:8px 0}.team-profile-copy h2{font-size:3rem}.team-profile-copy .team-role{margin-bottom:14px}.team-profile-bio p{font-size:.96rem;line-height:1.5;margin-bottom:12px}.team-contributions{margin-top:12px;padding-top:12px}}
@media(prefers-reduced-motion:reduce){.team-portrait,.team-portrait img,.team-card{transition:none}.team-profile-dialog *{animation:none!important;will-change:auto!important}}
