@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Montserrat:wght@400;500&display=swap");

:root {
    --ink: #241711;
    --chocolate: #2d1c15;
    --cocoa: #51301f;
    --copper: #b7652e;
    --terracotta: #9d402a;
    --ochre: #d89745;
    --gold: #efbd66;
    --cream: #f7eddd;
    --paper: #fff8ed;
    --sage: #63705b;
    --line: rgb(72 43 27 / 22%);
    --white-line: rgb(255 248 237 / 30%);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Montserrat", Arial, sans-serif;
    --page-padding: clamp(24px, 6vw, 88px);
    --content-width: 1320px;
    color-scheme: light;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    overflow-x: clip;
}

body,
button,
input {
    font-family: var(--sans);
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.skip-link {
    background: var(--paper);
    color: var(--ink);
    left: 16px;
    padding: 10px 14px;
    position: fixed;
    top: -80px;
    transition: top 160ms ease;
    z-index: 100;
}

.skip-link:focus {
    top: 16px;
}

.hero {
    background: var(--chocolate);
    color: var(--paper);
    min-height: 820px;
    overflow: hidden;
    position: relative;
}

.hero__visual,
.hero__veil {
    inset: 0;
    position: absolute;
    top: 108px;
}

.hero__image {
    filter: brightness(1.18) saturate(1.04);
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.hero__veil {
    background:
        linear-gradient(90deg, rgb(28 14 8 / 36%) 0%, rgb(28 14 8 / 9%) 42%, transparent 70%),
        linear-gradient(0deg, rgb(29 15 9 / 28%) 0%, transparent 38%);
    pointer-events: none;
}

.site-nav {
    align-items: center;
    background: var(--paper);
    color: var(--ink);
    display: flex;
    height: 108px;
    justify-content: space-between;
    left: 0;
    margin-inline: auto;
    max-width: none;
    padding: 7px var(--page-padding);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 5;
}

.brand {
    align-items: center;
    display: flex;
    gap: 13px;
    text-decoration: none;
}

.brand img {
    background: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 5px 18px rgb(0 0 0 / 22%);
    height: 94px;
    object-fit: contain;
    padding: 1px;
    width: 94px;
}

.brand span {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 0.92;
}

.site-nav__links {
    align-items: center;
    display: flex;
    gap: clamp(18px, 2.5vw, 34px);
}

.site-nav__links a {
    font-size: 13px;
    position: relative;
    text-decoration: none;
}

.site-nav__links a::after {
    background: var(--terracotta);
    bottom: -8px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
    width: 100%;
}

.site-nav__links a:hover::after,
.site-nav__links a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-nav__actions {
    align-items: center;
    display: flex;
    gap: 12px;
}

.icon-button,
.menu-button {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
}

.icon-button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.icon-button svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.icon-button--dark {
    color: var(--ink);
    font-family: Arial, sans-serif;
    font-size: 28px;
}

.menu-button {
    align-items: center;
    display: none;
    gap: 8px;
    min-height: 44px;
}

.menu-button__lines,
.menu-button__lines::before,
.menu-button__lines::after {
    background: currentColor;
    display: block;
    height: 1px;
    transition: transform 180ms ease;
    width: 20px;
}

.menu-button__lines {
    position: relative;
}

.menu-button__lines::before,
.menu-button__lines::after {
    content: "";
    left: 0;
    position: absolute;
}

.menu-button__lines::before {
    top: -6px;
}

.menu-button__lines::after {
    top: 6px;
}

.menu-button[aria-expanded="true"] .menu-button__lines {
    background: transparent;
}

.menu-button[aria-expanded="true"] .menu-button__lines::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero__content {
    bottom: 76px;
    left: max(var(--page-padding), calc((100% - var(--content-width)) / 2 + var(--page-padding)));
    max-width: 680px;
    position: absolute;
    right: var(--page-padding);
    text-shadow: 0 2px 22px rgb(20 10 5 / 38%);
    z-index: 2;
}

.eyebrow {
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.eyebrow--gold {
    color: var(--gold);
}

.eyebrow--pale {
    color: #ffd88c;
}

.hero h1,
.next-session h2,
.club-story h2,
.section-heading h2,
.learn h2,
.join h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.035em;
    margin: 0;
}

.hero h1 {
    font-size: clamp(56px, 6.4vw, 86px);
    line-height: 0.9;
}

.hero__tagline {
    font-family: var(--serif);
    font-size: clamp(27px, 3vw, 40px);
    margin: 26px 0 30px;
}

.hero__actions,
.join__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.button {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    text-decoration: none;
}

.button--gold {
    background: var(--gold);
    color: var(--ink);
}

.button--paper {
    background: var(--paper);
    color: var(--ink);
}

.button--ghost {
    border: 1px solid rgb(255 248 237 / 74%);
    color: var(--paper);
}

.quote-band {
    background: var(--ochre);
    padding: 26px var(--page-padding);
    text-align: center;
}

.quote-band blockquote {
    font-family: var(--serif);
    font-size: clamp(22px, 2.2vw, 31px);
    line-height: 1.2;
    margin: 0;
}

.quote-band cite {
    display: block;
    font-size: 10px;
    font-style: normal;
    letter-spacing: 0.16em;
    margin-top: 8px;
    text-transform: uppercase;
}

.next-session {
    align-items: end;
    background: var(--paper);
    display: grid;
    gap: clamp(30px, 5vw, 72px);
    grid-template-columns: auto minmax(300px, 1fr) auto;
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 88px var(--page-padding);
}

.next-session__time {
    color: var(--terracotta);
    font-family: var(--serif);
    font-size: clamp(68px, 8vw, 112px);
    letter-spacing: -0.06em;
    line-height: 0.75;
}

.next-session__time span {
    font-size: 0.5em;
    font-style: italic;
    margin-inline: 0.04em;
}

.next-session h2,
.club-story h2,
.section-heading h2,
.learn h2,
.join h2 {
    font-size: clamp(43px, 5vw, 70px);
    line-height: 0.94;
}

.next-session__content p:last-child,
.club-story__content > p:last-of-type,
.section-heading > p,
.learn__content > p:last-of-type,
.join p {
    line-height: 1.75;
}

.next-session__content p:last-child {
    margin-bottom: 0;
}

.text-link {
    border-bottom: 1px solid currentColor;
    color: var(--terracotta);
    padding-bottom: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.text-link--light {
    color: var(--gold);
}

.club-story {
    background: var(--chocolate);
    color: var(--paper);
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    margin: 0 auto;
    max-width: var(--content-width);
    min-height: 650px;
}

.club-story__media,
.learn__media,
.story-card__image {
    margin: 0;
    overflow: hidden;
    position: relative;
}

.club-story__media img,
.learn__media img,
.story-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.club-story__media figcaption {
    background: rgb(37 21 14 / 85%);
    bottom: 0;
    color: rgb(255 248 237 / 85%);
    font-size: 11px;
    left: 0;
    padding: 10px 14px;
    position: absolute;
}

.club-story__content {
    align-self: center;
    padding: 64px clamp(30px, 5vw, 72px);
}

.club-story__content > p:last-of-type {
    color: rgb(255 248 237 / 78%);
    margin: 24px 0 30px;
}

.editorial {
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 94px var(--page-padding) 104px;
}

.section-heading {
    align-items: end;
    display: flex;
    gap: 42px;
    justify-content: space-between;
    margin-bottom: 42px;
}

.section-heading > p {
    margin: 0;
    max-width: 370px;
}

.editorial__grid {
    display: grid;
    gap: clamp(36px, 4vw, 52px);
    grid-template-columns: 1fr;
}

.editorial__archive-grid {
    display: grid;
    gap: clamp(22px, 3vw, 38px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card a {
    display: block;
    text-decoration: none;
}

.story-card__image {
    aspect-ratio: 16 / 9;
}

.story-card__image--square {
    aspect-ratio: 1;
}

.story-card__image--wide {
    aspect-ratio: 16 / 10;
}

.story-card--main > a {
    background: var(--chocolate);
    color: var(--paper);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
    min-height: 470px;
}

.story-card--main .story-card__image {
    aspect-ratio: auto;
    min-height: 470px;
}

.story-card__feature-copy {
    align-self: center;
    padding: 42px clamp(30px, 4vw, 58px);
}

.story-card--main .story-card__categories span {
    border-color: rgb(255 248 237 / 34%);
    color: #ffd88c;
}

.story-card--main h3 {
    font-size: clamp(42px, 4.5vw, 65px);
    line-height: 0.94;
}

.story-card--main .story-card__meta {
    border-color: rgb(255 248 237 / 24%);
    color: rgb(255 248 237 / 64%);
}

.story-card--main .story-card__meta span::before {
    background: var(--gold);
}

.story-card__read {
    color: var(--gold);
    display: inline-flex;
    gap: 10px;
    margin-top: 26px;
}

.story-card__read b {
    font-weight: 400;
}

.story-card--text a {
    background: var(--terracotta);
    color: var(--paper);
    min-height: 270px;
    overflow: hidden;
    padding: 28px;
    position: relative;
}

.story-card--text .story-card__number {
    color: rgb(255 248 237 / 11%);
    font-family: var(--serif);
    font-size: 190px;
    line-height: 0.7;
    margin: 0;
    position: absolute;
    right: -4px;
    top: 28px;
}

.story-card--text .story-card__category {
    color: #ffd88c;
    margin-top: 0;
    position: relative;
}

.story-card--text h3,
.story-card--text a > p:last-child {
    max-width: 320px;
    position: relative;
}

.story-card__category {
    color: var(--terracotta);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.13em;
    margin: 17px 0 7px;
    text-transform: uppercase;
}

.story-card__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 17px 0 10px;
}

.story-card__categories span {
    border: 1px solid rgb(157 64 42 / 35%);
    color: var(--terracotta);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.11em;
    line-height: 1.25;
    padding: 6px 8px;
    text-transform: uppercase;
}

.story-card__meta {
    align-items: center;
    border-top: 1px solid var(--line);
    color: rgb(36 23 17 / 58%);
    display: flex;
    font-size: 10px;
    gap: 16px;
    letter-spacing: 0.06em;
    margin: 17px 0 0 !important;
    padding-top: 11px;
    text-transform: uppercase;
}

.story-card__meta span {
    align-items: center;
    display: inline-flex;
    gap: 16px;
}

.story-card__meta span::before {
    background: var(--terracotta);
    border-radius: 50%;
    content: "";
    height: 3px;
    width: 3px;
}

.story-card h3 {
    font-family: var(--serif);
    font-size: clamp(31px, 3.4vw, 48px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1;
    margin: 0 0 10px;
}

.story-card:not(.story-card--main) h3 {
    font-size: clamp(28px, 2.8vw, 39px);
}

.story-card > a > p:last-child {
    line-height: 1.65;
    margin: 0;
}

.learn {
    background: var(--paper);
    display: grid;
    grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
    margin: 0 auto;
    max-width: var(--content-width);
}

.learn__content {
    align-self: center;
    padding: 74px clamp(32px, 6vw, 90px);
}

.learn__content > p:last-of-type {
    margin: 24px 0 28px;
}

.learn__media {
    min-height: 560px;
}

.creative-note {
    background: var(--cream);
    color: rgb(36 23 17 / 70%);
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 17px var(--page-padding) 19px;
}

.creative-note p {
    font-size: 11px;
    line-height: 1.55;
    margin: 0;
    max-width: 830px;
}

.join {
    align-items: center;
    background: var(--terracotta);
    color: var(--paper);
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 82px var(--page-padding);
}

.join p {
    color: rgb(255 248 237 / 85%);
    margin: 20px 0 0;
}

.join__actions {
    justify-content: flex-end;
}

.site-footer {
    background: var(--ink);
    color: var(--paper);
    display: grid;
    gap: 34px;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 58px var(--page-padding) 36px;
}

.site-footer strong {
    display: block;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 8px;
}

.site-footer p,
.site-footer a {
    color: rgb(255 248 237 / 72%);
    font-size: 12px;
    line-height: 1.75;
    margin: 0;
}

.site-footer__legal {
    border-top: 1px solid rgb(255 248 237 / 18%);
    grid-column: 1 / -1;
    margin-top: 10px !important;
    padding-top: 22px;
}

.search-dialog {
    background: var(--paper);
    border: 0;
    box-shadow: 0 24px 80px rgb(36 23 17 / 35%);
    color: var(--ink);
    margin: auto;
    max-width: 620px;
    padding: 28px;
    width: calc(100% - 32px);
}

.search-dialog::backdrop {
    background: rgb(36 23 17 / 78%);
    backdrop-filter: blur(4px);
}

.search-dialog__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.search-dialog h2 {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 20px;
}

.search-dialog label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 7px;
}

.search-dialog input {
    background: #fffdf8;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 16px;
    min-height: 52px;
    padding: 12px 14px;
    width: 100%;
}

.search-results {
    border-top: 1px solid var(--line);
    margin-top: 22px;
    min-height: 80px;
    padding-top: 18px;
}

.search-results p {
    color: rgb(36 23 17 / 65%);
    margin: 0;
}

.search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results li + li {
    border-top: 1px solid var(--line);
}

.search-results a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
}

.has-reveal-motion .reveal {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition:
        opacity 420ms ease-out,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.has-reveal-motion .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (hover: hover) and (pointer: fine) {
    .club-story__media img,
    .learn__media img,
    .story-card__image img {
        transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .club-story:hover .club-story__media img,
    .learn:hover .learn__media img,
    .story-card:hover .story-card__image img {
        transform: scale(1.018);
    }
}

@media (max-width: 900px) {
    .site-nav__links {
        background: var(--chocolate);
        border-top: 1px solid var(--white-line);
        color: var(--paper);
        display: grid;
        gap: 0;
        left: 0;
        opacity: 0;
        padding: 12px var(--page-padding) 20px;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 100%;
        transform: translateY(-8px);
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .site-nav__links.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav__links a {
        border-bottom: 1px solid rgb(255 248 237 / 13%);
        font-size: 15px;
        padding: 13px 0;
    }

    .menu-button {
        display: inline-flex;
    }

    .next-session,
    .club-story,
    .learn,
    .join {
        grid-template-columns: 1fr;
    }

    .next-session {
        align-items: start;
    }

    .next-session .text-link {
        justify-self: start;
    }

    .club-story__media {
        min-height: 520px;
    }

    .club-story__content {
        padding-block: 64px 74px;
    }

    .learn__media {
        min-height: 480px;
        order: -1;
    }

    .join__actions {
        justify-content: flex-start;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

    .story-card--main > a {
        grid-template-columns: 1fr;
    }

    .story-card--main .story-card__image {
        min-height: 390px;
    }

    .editorial__archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .editorial__archive-grid .story-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 11px);
    }
}

@media (max-width: 640px) {
    :root {
        --page-padding: 22px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        min-height: 798px;
        padding-top: 78px;
    }

    .hero__visual {
        height: 340px;
        inset: auto;
        position: relative;
        width: 100%;
    }

    .hero__image {
        object-position: 52% 54%;
    }

    .hero__veil {
        background: linear-gradient(0deg, var(--chocolate) 0%, rgb(45 28 21 / 92%) 28%, transparent 100%);
        bottom: auto;
        height: 190px;
        top: 268px;
    }

    .site-nav {
        height: 78px;
        padding-block: 5px;
    }

    .brand img {
        height: 68px;
        width: 68px;
    }

    .brand span,
    .site-nav__actions .icon-button {
        display: none;
    }

    .hero__content {
        bottom: auto;
        left: auto;
        max-width: none;
        padding: 12px var(--page-padding) 48px;
        position: relative;
        right: auto;
    }

    .hero h1 {
        font-size: clamp(54px, 17vw, 68px);
        line-height: 0.86;
    }

    .hero__tagline {
        font-size: 27px;
        line-height: 1.1;
        margin: 20px 0 24px;
    }

    .hero__actions,
    .join__actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .quote-band {
        padding-block: 23px;
    }

    .quote-band blockquote {
        font-size: 22px;
    }

    .next-session {
        gap: 28px;
        padding-block: 58px 64px;
    }

    .next-session__time {
        font-size: 82px;
    }

    .next-session h2,
    .club-story h2,
    .section-heading h2,
    .learn h2,
    .join h2 {
        font-size: 47px;
    }

    .club-story__media {
        min-height: 430px;
    }

    .club-story__media img {
        object-position: 48% center;
    }

    .club-story__content {
        padding: 52px var(--page-padding) 62px;
    }

    .editorial {
        padding-block: 66px 74px;
    }

    .section-heading {
        align-items: start;
        display: grid;
        gap: 22px;
    }

    .editorial__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .editorial__archive-grid {
        gap: 48px;
        grid-template-columns: 1fr;
    }

    .editorial__archive-grid .story-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .story-card--main .story-card__image {
        min-height: 300px;
    }

    .story-card__feature-copy {
        padding: 38px 24px 44px;
    }

    .story-card__image--square {
        aspect-ratio: 4 / 3;
    }

    .learn__media {
        min-height: 330px;
    }

    .learn__content {
        padding: 54px var(--page-padding) 62px;
    }

    .creative-note {
        padding-block: 16px 18px;
    }

    .join {
        gap: 36px;
        padding-block: 62px 68px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding-block: 50px 32px;
    }

    .search-dialog {
        padding: 22px;
    }

    .search-dialog h2 {
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
