@font-face {
    font-family: "T700 Mast Display";
    src: url("../../team/assets/fonts/RoadRage-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "T700 Mast Label";
    src: url("../../team/assets/fonts/Oswald-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
:root {
    --t700-mast-height: clamp(48px, 6.2svh, 64px);
    --t700-mast-inset: clamp(16px, 3.3vw, 70px);
}
/* Illustrated pages paint all the way to the edge. A classic scrollbar can
   consume some of the right margin, so anchor the links to the viewport edge. */
html:has([data-t700-header]) { scrollbar-gutter: auto; }
.t700-mast {
    --mast-ink: #253730;
    --mast-stroke: #cd843b;
    --mast-panel: #fff1d8;
    --mast-display: "T700 Mast Display", Impact, sans-serif;
    --mast-label: "T700 Mast Label", "Arial Narrow", sans-serif;
    position: fixed;
    z-index: 95;
    top: var(--wp-admin--admin-bar--height, 0px);
    inset-inline: 0;
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 36px);
    width: 100%;
    max-width: none;
    height: var(--t700-mast-height);
    min-height: var(--t700-mast-height);
    margin: 0;
    padding: 0 max(var(--t700-mast-inset),env(safe-area-inset-right)) 0 max(var(--t700-mast-inset),env(safe-area-inset-left));
    padding-inline-end: max(0px, calc(max(var(--t700-mast-inset),env(safe-area-inset-right)) - (100vw - 100%)));
    box-sizing: border-box;
    border: 0;
    background: transparent;
    color: var(--mast-ink);
    container: t700-mast / inline-size;
    pointer-events: none;
}
.t700-mast[data-t700-section="contact"], .t700-mast[data-t700-section="team"] {
    position: sticky;
    flex: none;
}
.t700-mast[data-t700-section="contact"],
.t700-mast[data-t700-section="media"]:not([data-t700-room-state="gallery"]) {
    --mast-ink: #fff0d3;
    --mast-stroke: #f5b15c;
}
.t700-mast *, .t700-mast *::before, .t700-mast *::after { box-sizing: border-box; }
.t700-mast .t700-mast-brand, .t700-mast .t700-mast-menu, .t700-mast .t700-mast-links { pointer-events: auto; }
.t700-mast .t700-mast-brand {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: clamp(7px, .77vw, 13px);
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    font: 400 clamp(26px, 2.55vw, 40px)/1 var(--mast-display);
}
.t700-mast-brand img {
    flex: none;
    width: clamp(28px, 2.65vw, 42px);
    height: clamp(28px, 2.65vw, 42px);
    object-fit: contain;
    display: block;
}
.t700-mast-room {
    display: grid;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 0;
    padding-inline-start: clamp(10px, 1.65vw, 28px);
    border-inline-start: 1.5px solid currentColor;
    font: 400 clamp(23px, 2.26vw, 38px)/1.05 var(--mast-display);
}
.t700-mast-room > span {
    grid-area: 1 / 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.t700-mast-menu { flex: none; margin-inline-start: auto; position: relative; }
.t700-mast .t700-mast-links {
    display: flex;
    position: static;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(14px, 2.65vw, 45px);
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
}
.t700-mast .t700-mast-links, .t700-mast .t700-mast-mobile {
    font: 500 clamp(16px, 1.45vw, 23px)/1.2 var(--mast-label);
    text-transform: uppercase;
    letter-spacing: normal;
}
.t700-mast .t700-mast-links a, .t700-mast summary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-shadow: none;
    text-decoration: none;
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
}
.t700-mast .t700-mast-links a::after { content: none; }
.t700-mast summary { list-style: none; }
.t700-mast summary::-webkit-details-marker { display: none; }
.t700-mast .t700-mast-mobile { display: none; }
.t700-mast details { margin: 0; padding: 0; border: 0; }
.t700-mast-media { position: relative; }
.t700-mast-caret {
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
}
.t700-mast details[open] > summary .t700-mast-caret { transform: translateY(2px) rotate(225deg); }
.t700-mast [data-t700-indicator] {
    position: absolute;
    bottom: 2px;
    inset-inline: -.11em;
    height: 3px;
    border-radius: 60% 35% 52% 25%;
    background: var(--mast-stroke);
    transform: rotate(-1.8deg);
    opacity: 0;
    transition: opacity 150ms ease;
    pointer-events: none;
}
.t700-mast [aria-current] > [data-t700-indicator] { opacity: 1; }
.t700-mast .t700-mast-rooms {
    position: absolute;
    z-index: 1;
    top: 100%;
    inset-inline-end: -12px;
    display: grid;
    width: max-content;
    max-width: min(300px, 88vw);
    padding: 6px 14px;
    border: 1.5px solid #806d58;
    border-radius: 3px 7px 3px 5px;
    background: var(--mast-panel);
    box-shadow: 2px 4px 0 #41382d38;
    color: #273c34;
    font-size: 17px;
}
.t700-mast .t700-mast-rooms a { font: inherit; }
.t700-mast .t700-mast-rooms a[aria-current],
.t700-mast :is(a,summary):hover {
    text-decoration: underline;
    text-underline-offset: .24em;
    text-decoration-color: var(--mast-stroke);
}
.t700-mast :is(a,summary):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.t700-mast .t700-mast-links :is([aria-current], summary[aria-current]):hover { text-decoration: none; }

/* Measure the useful width inside the projected board's margins as well as
   the normal viewport. Both sizes use the same native disclosure and links. */
@container t700-mast (max-width: 715px) {
    .t700-mast .t700-mast-mobile { display: block; }
    .t700-mast .t700-mast-mobile:not([open]) + .t700-mast-links { display: none; }
    .t700-mast .t700-mast-links {
        position: absolute;
        inset: 100% 0 auto auto;
        display: grid;
        align-items: stretch;
        gap: 0;
        width: max-content;
        min-width: 158px;
        max-width: min(90vw, 270px);
        max-height: calc(100svh - var(--t700-mast-height) - var(--wp-admin--admin-bar--height,0px));
        overflow: auto;
        overscroll-behavior: contain;
        padding: 6px 15px;
        border: 1.5px solid #806d58;
        border-radius: 3px 7px 3px 5px;
        background: var(--mast-panel);
        color: #273c34;
        box-shadow: 2px 4px 0 #41382d38;
    }
    .t700-mast .t700-mast-links > a { justify-self: start; }
    .t700-mast .t700-mast-rooms {
        position: static;
        padding: 0 0 2px 14px;
        border: 0;
        box-shadow: none;
        font-size: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .t700-mast [data-t700-indicator] { transition: none; }
}
