@charset "UTF-8";

@font-face {
    font-family: "ITCCenturyStdBook";
    src: url("../fonts/ITCCenturyStdBook.woff2") format("woff2");
}

* {
    box-sizing: border-box;
}

:root {
    --nav-font-size: 1.1rem;
}

.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    pointer-events: none;
}

body {
    margin: 0;
    padding-top: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    font-family: "ITCCenturyStdBook", serif;
    color: black;
    line-height: 1.1;
    -webkit-font-smoothing: antialiased;
}

.background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 145vw;
    height: 145vh;
    object-fit: contain;
    z-index: -1;
    pointer-events: none;
}

.background-svg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110vw;
    height: 110vh;
    z-index: -1;
    pointer-events: none;
}


.main-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: 100%;
    margin-top: 70vh;
}


h1 {
    grid-column: 2 / 8;
    font-size: 3.2rem;
    font-weight: normal;
    margin: 0 0 1.5rem 0;
}

h2 {
    grid-column: 2 / 5;
    font-size: 1.7rem;
    font-weight: normal;
    margin: 0 0 1.5rem 0;
}

h2.wide {
    grid-column: 2 / 8;
    margin: 0 0 0.2rem 0;

}

h3 {
    grid-column: 2 / 5;
    font-size: 1.1rem;
    font-weight: normal;
    margin: 0 0 1.5rem 0;
}

h4 {
    grid-column: 2 / 5;
    font-size: 0.8rem;
    font-weight: normal;
    margin: 0 0 1.5rem 0;
}

.grid-svg {
    grid-column: 2 / 3;
    margin: 1em 0;
}

.grid-svg svg {
    width: 100%;
    height: auto;
}

.grid-image-right {
    grid-column: 5 / 7;
    width: 100%;
    height: auto;
    align-self: start;
    margin-bottom: 1.5rem;
    margin-left: 0.5em;
}



.booking-box {
    grid-column: 1 / 2;
    border: 1px solid black;
    box-sizing: border-box;
    font-size: var(--nav-font-size);
    padding: 0.3em 0.2em 0.2em 0.2em;
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    height: fit-content;
    align-self: start;
    margin-right: 0.5em;
    position: sticky;
    top: 50vh;
    /* sticky under nav elements */
    z-index: 999;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.booking-box:hover {
    background-color: black;
    color: white;
}

.branding {
    position: fixed;
    top: 0;
    left: 0;
    height: 40vh;
    display: flex;
    flex-direction: column;
    padding-top: 1em;
    padding-left: 0.5em;
    z-index: 1002;
    background-color: white;
    text-decoration: none;
    color: black;
}

.brand-top {
    display: flex;
    height: 50%;
}

.brand-divider {
    border-top: 1px solid black;
    width: 100%;
    margin: 0.5em 0;
}

.brand-bottom {
    display: flex;
    height: 50%;
}

.brand-item {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: var(--nav-font-size);
    letter-spacing: 0.15em;
    /* vertical spacing letters */
    padding: 0 0.5em;
    border-right: 1px solid black;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.brand-item span {
    display: block;
    transition: transform 0.3s ease;
}

.branding:hover .brand-item span {
    transform: translateY(0.5em);
}



.header-right {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    z-index: 1001;
}

.logo-container {
    height: 1.5rem;
    display: flex;
    align-items: center;
}

.logo-container a {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-container svg {
    height: 100%;
    width: auto;
}

.menu-toggle {
    display: flex;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1px;
    height: 1.5rem;
    background-color: black;
    transition: background-color 0.3s ease;
}


.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 40vh;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    background-color: white;
    display: flex;
    justify-content: flex-start;
    padding-top: 1em;
}

.side-menu.active {
    pointer-events: all;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0 50%;
    /* align left margin to horizontal center */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    height: calc(100% - 0.5em);
}


.side-menu li {
    margin: 0;
    padding: 0 0.8rem;
    border-left: 1px solid black;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.side-menu li:last-child {
    border-right: 1px solid black;
}



.side-menu a {
    text-decoration: none;
    color: black;
    font-size: var(--nav-font-size);
    text-transform: uppercase;
    display: block;
    writing-mode: vertical-rl;
    text-align: end;
    transform: rotate(180deg);
    white-space: nowrap;
    transition: transform 0.3s ease;
    height: 100%;
}


.side-menu a:hover {
    transform: rotate(180deg) translateY(-0.5em);
}

.insurance-box {
    position: fixed;
    top: 40vh;
    right: 1.5rem;
    transform: translateY(-100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1002;
    pointer-events: none;
}

.insurance-box span {
    border: 1px solid black;
    padding: 0.8em 0.2em;
    font-size: var(--nav-font-size);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    background-color: white;
    line-height: 1.1;
}


.arrow-up {
    width: 24px;
    height: 12px;
    position: relative;
    margin-bottom: 0;
}

.arrow-up::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    transform: translateX(-50%) rotate(45deg);
}

.footer-logo {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    align-self: center;
    padding: 2rem 0;
}

.footer-logo-full {
    grid-column: 2 / 6;
    width: 100%;
    height: auto;
    padding: 2rem 0;
    margin-top: 10vh;
}

.footer-credits {
    grid-column: 2 / 8;
}

.tags-container {
    grid-column: 2 / 8;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 1.5rem 0;
}

.tag {
    border: 1px solid black;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
    line-height: 1.2;
    background-color: transparent;
    white-space: nowrap;
    margin-top: -1px;
    text-decoration: none;
    color: black;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tag:hover {
    background-color: #000000;
    color: white;
}

.tag.active {
    background-color: black;
    color: white;
}

.intro-text {
    font-style: italic;
}

.page-tag {
    grid-column: 8 / 9;
    grid-row: 1;
    position: sticky;
    top: 50vh;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-align: right;
    align-self: start;
    margin-top: 1.2rem;
    height: fit-content;
}

/* ==========================================
   Content Text Links & Helpers
   ========================================== */
.main-grid a:not(.booking-box):not(.tag) {
    color: black;
    text-decoration: underline;
}

.bold-link {
    font-weight: bold;
}

/* ==========================================
   Treatment Details Custom Styles
   ========================================== */
.contact-details {
    margin-bottom: 4rem;
}

.footnote {
    line-height: 1.3;
    margin-bottom: 3rem;
}

.video-container {
    grid-column: 2 / 6;
    margin: 3rem 0;
    width: 100%;
}

.video-ratio-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-caption {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    line-height: 1.3;
    grid-column: auto;
}