

@font-face {
    font-family: 'Fraunces Variable';
    src: url('../fonts/Fraunces-Variable.woff') format('woff');
    font-weight: 100 900; 
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk Variable';
    src: url('../fonts/SpaceGrotesk-Variable.woff') format('woff');
    font-weight: 300 700; 
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yellowtail';
    src: url('../fonts/Yellowtail-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Variable';
    src: url('../fonts/Roboto-Variable.woff') format('woff');
    font-weight: 100 900; 
    font-stretch: 75% 100%;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('../fonts/BricolageGrotesque-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('../fonts/BricolageGrotesque-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'League Spartan Variable';
    src: url('../fonts/LeagueSpartan-Variable.woff') format('woff');
    font-weight: 100 900; 
    font-style: normal;
    font-display: swap;
}

:root{
    --jr-pink: #f4a9c6;
    --jr-ink: #2c1338;
    --jr-cream: #faf3e6;
    --jr-navy: #241238;
    --font-fraunces: "Fraunces Variable", var(--font-serif, Georgia, serif);
    --font-space-grotesk: "Space Grotesk Variable", var(--font-sans);
    --font-yellowtail: "Yellowtail", cursive;
    --font-roboto: "Roboto Variable", var(--font-sans);
    --font-bricolage: "Bricolage Grotesque", var(--font-sans);
    --font-jetbrains: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
    --font-league-spartan: "League Spartan Variable", var(--font-sans);
}

.jr-marquee{
    position: relative;
    overflow: hidden;
    background: var(--jr-pink);
    border-bottom: 1px solid rgba(44,19,56,0.15);
}
.jr-marquee-track{
    display: flex;
    width: max-content;
    animation: jr-marquee-scroll 26s linear infinite;
}
.jr-marquee-set{
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.jr-marquee-item{
    font-family: var(--font-space-grotesk);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jr-ink);
    white-space: nowrap;
    padding: 10px 18px;
}
.jr-marquee-icon{
    color: var(--jr-ink);
    font-size: 14px;
    opacity: 0.85;
}
@keyframes jr-marquee-scroll{
    from{ transform: translateX(0); }
    to{ transform: translateX(-12.5%); }
}
@media (prefers-reduced-motion: reduce){
    .jr-marquee-track{ animation: none; }
}

body.page-about .gh-head{
    position: absolute;
    top: 44px; 
    left: 0;
    right: 0;
    z-index: 20;
    background: transparent;
    border: none;
}
body:not(.home-template):not(.page-about) .gh-head{
    position: relative;
    z-index: 20;
    background: transparent;
}
.jr-marquee + .gh-head{ top: 0; }
.gh-head.outer{
    padding: 0; 
}
.gh-head-inner{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    width: 100%;
    padding: 0 40px; 
    box-sizing: border-box;
}
.gh-head-menu{
    order: 1;
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-start;
    padding-right: 140px; 
    box-sizing: content-box;
}
.gh-head-brand{
    order: 2;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    text-align: center;
}
.gh-head-actions{
    order: 3;
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.gh-burger{
    display: none;
}
.gh-head-logo{
    font-family: var(--font-yellowtail);
    font-size: 50px;
    line-height: 1;
}

body.page-about .gh-head-logo{ color: var(--jr-cream); }
body:not(.home-template):not(.page-about) .gh-head-logo{ color: var(--jr-navy); }

body.page-about .gh-head-menu .nav-item-link{
    color: var(--jr-cream);
}
body:not(.home-template):not(.page-about) .gh-head-menu .nav-item-link{
    color: var(--jr-navy);
}
.gh-head-menu .nav-item-link{
    font-family: var(--font-space-grotesk);
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
body.page-about .gh-head-menu .nav-arrow path{ stroke: var(--jr-cream); }
body:not(.home-template):not(.page-about) .gh-head-menu .nav-arrow path{ stroke: var(--jr-navy); }

.jr-pill-btn{
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-roboto);
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 12px 20px;
    white-space: nowrap;
    transition: color .35s ease;
}

.jr-pill-btn::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .4s ease;
    z-index: -1;
}
.jr-pill-btn:hover::before{
    transform: translate(-50%, -50%) scale(1);
}
.jr-pill-btn{
    color: var(--jr-navy);
    background: var(--jr-cream);
    border: 1.5px solid var(--jr-navy);
}
body:not(.home-template) .jr-pill-btn{
    background: #ffffff;
}
.jr-pill-btn::before{ background: var(--jr-navy); }
.jr-pill-btn:hover{ color: var(--jr-cream); }

.jr-pill-btn svg,
.jr-pill-btn .icon{
    width: 18px;
    height: 18px;
    transition: fill .35s ease;
}
.jr-pill-btn--account :is(svg, .icon) *{
    fill: var(--jr-navy);
}
.jr-pill-btn--account:hover :is(svg, .icon) *{
    fill: var(--jr-cream);
}

body.home-template,
body.page-about{
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
body.home-template::-webkit-scrollbar,
body.page-about::-webkit-scrollbar{
    display: none; 
}
html:has(body.home-template),
html:has(body.page-about){
    scrollbar-width: none;
}
html:has(body.home-template)::-webkit-scrollbar,
html:has(body.page-about)::-webkit-scrollbar{
    display: none;
}

body.home-template .gh-head{
    display: none;
}

body.home-template .jr-marquee{
    display: none;
}

.jr-section-title{
    font-family: var(--font-fraunces);
    font-weight: 600;
    font-size: clamp(28px, 6vw, 200px);
    color: var(--jr-navy);
    text-align: center;
    padding-top: 190px;
    margin: 0 0 40px;
}

.post-card-title{
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}
.post-card-excerpt{
    text-align: center;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.post-card:not(.post-card-large):not(.post-card-full):not(.dynamic):not(.no-image) .post-card-excerpt{
    -webkit-line-clamp: unset;
}

@media (max-width: 780px){
    .gh-head-inner{ flex-wrap: wrap; }
    .gh-head-menu{ display: none; } 
    .gh-burger{ display: block; }
    .gh-head-brand{ position: static; transform: none; order: 1; flex: 1 1 auto; justify-content: flex-start; }
    .gh-head-actions{ order: 2; flex: 0 0 auto; }
    .jr-pill-btn span, .jr-pill-btn{ font-size: 12px; padding: 8px 14px; }
}

.people-mobile-menu{
    
    left: 0;
    right: 0;
    top: 64px;
    
    clip-path: inset(0 0 100% 0);
    transition: clip-path .30s cubic-bezier(.4,0,.2,1),
                visibility 0s linear .30s;
    box-sizing: border-box;
    width: 100%;
    background: rgba(255,255,255,0.01);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    
    border-radius: 0 0 20px 20px;
}
.people-mobile-menu.is-open{
    clip-path: inset(0 0 0% 0);
    
    visibility: visible;
    transition: clip-path .30s cubic-bezier(.4,0,.2,1),
                visibility 0s linear 0s;
}
.people-mobile-menu.is-closing{
    clip-path: inset(0 0 100% 0);
}

body.home-template .people-mobile-menu{
    
    top: 72px;
}

.people-mobile-nav-item{
    border-bottom: 1px solid rgba(250,243,230,0.12);
}
.people-mobile-nav-item:last-child{
    border-bottom: none;
}
.people-mobile-nav-link,
.people-mobile-nav-toggle,
.people-mobile-nav-toggle__label,
.people-mobile-nav-toggle__link{
    color: var(--jr-cream);
    font-family: var(--font-bricolage);
}
.people-mobile-nav-toggle:hover,
.people-mobile-nav-link:hover{
    opacity: 0.7;
}
.people-mobile-chevron{
    color: var(--jr-cream);
}
.people-mobile-submenu{
    background: rgba(250,243,230,0.04);
}
.people-mobile-submenu-link{
    color: var(--jr-cream);
}

.people-mobile-menu__footer{
    border-top: 1px solid rgba(250,243,230,0.12);
}
.people-mobile-menu__footer .gh-head-button{
    background: var(--jr-cream);
    color: var(--jr-navy);
    font-family: var(--font-jetbrains);
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 22px;
}
.people-mobile-menu__footer .gh-head-link{
    color: var(--jr-cream);
    font-family: var(--font-jetbrains);
}
