* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #100b07;
    color: #f4e9cf
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

:root {
    --gold: #c89525;
    --gold-bright: #e8bd48;
    --ink: #1a100b;
    --paper: #ead9b3;
    --paper-deep: #bd9461;
    --stamp: #cf2924;
    --foreground: #f5ead0;
    --display: "Cormorant Garamond", Georgia, serif;
    --body: "Libre Franklin", Arial, sans-serif
}

@keyframes stamp-in {
    0% {
        opacity: 0;
        transform: rotate(-7deg) scale(1.25)
    }

    100% {
        opacity: 1;
        transform: rotate(-7deg) scale(1)
    }
}

.ministry-page {
    isolation: isolate;
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: var(--ink);
    color: var(--foreground);
    font-family: var(--display)
}

.master-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    transition: opacity 1s ease
}

.master-background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center
}

.fomo-background {
    opacity: 1
}

.jomo-background {
    opacity: 0
}

.ministry-page.is-jomo .fomo-background {
    opacity: 0
}

.ministry-page.is-jomo .jomo-background {
    opacity: 1
}

.ministry-page:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0 41%, rgba(26, 16, 11, .35) 51%, rgba(26, 16, 11, .68) 76%, rgba(26, 16, 11, .12))
}

.site-header {
    height: 82px;
    padding: 0 clamp(24px, 4vw, 76px);
     display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 24px;
            border-bottom: 1px solid rgba(200, 149, 37, .22);
            background: rgba(26, 16, 11, .82);
    position: relative;
    z-index: 50;
}

.brand {
    min-width: 0;
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none
}

.brand-seal {
    width: 54px;
    height: 54px;
    border: 2px solid var(--gold);
    outline: 1px dotted var(--gold-bright);
    outline-offset: -7px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    font-size: 32px;
    font-weight: 700
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.brand-copy strong {
    text-transform: uppercase;
    white-space: nowrap;
    font-size: clamp(15px, 1.5vw, 22px);
    line-height: 1
}

.brand-copy small {
    margin-top: 4px;
    color: var(--gold);
    font-family: var(--body);
    font-size: 10px;
    letter-spacing: .23em;
    text-transform: uppercase
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(17px, 2.3vw, 36px);
    visibility: hidden;
}

.desktop-nav a,
.desktop-nav button {
    font: 500 11px var(--body);
    text-transform: uppercase;
    color: var(--foreground);
    text-decoration: none
}

.desktop-nav a {
    transition: .18s color
}

.desktop-nav a:hover {
    color: var(--gold-bright)
}

.desktop-nav button {
    border: 0;
    background: none;
    cursor: pointer;
    padding: 4px
}

.desktop-nav .join-button {
    padding: 13px 26px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold-bright);
   /* transition: .2s ease*/
}

.desktop-nav .join-button:hover {
    background: var(--gold);
    color: var(--ink)
}

.menu-button,
.mobile-nav {
    display: none
}

.menu-button {
    color: var(--foreground);
    border: 0;
    background: none;
    cursor: pointer
}

.hero-copy {
    position: relative;
    isolation: isolate;
    width: min(42vw, 650px);
    margin: clamp(34px, 5vh, 70px) 6vw 0 auto;
    text-align: center;

    color: #fff8e8;
    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.95),
        0 4px 8px rgba(0, 0, 0, 0.85),
        0 8px 20px rgba(0, 0, 0, 0.65);
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: -30px -20px;
    z-index: -1;
    pointer-events: none;

    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.48) 0%,
            rgba(0, 0, 0, 0.28) 45%,
            transparent 75%);

    filter: blur(12px);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(66px, 7.5vw, 116px);
    font-weight: 700;
    line-height: .75
}

.hero-copy h2 {
    margin: 17px 0 -2px;
    text-transform: uppercase;
    font-size: clamp(34px, 3.3vw, 52px);
    font-weight: 700;
    line-height: .9
}

.hero-tagline {
    margin: 12px 0 8px;
    text-transform: uppercase;
    font-size: clamp(18px, 1.65vw, 26px);
    font-weight: 700
}

.hero-tagline.secondary {
    margin-top: 5px;
    font-size: clamp(15px, 1.3vw, 21px)
}

.gold-rule {
    width: 75%;
    height: 1px;
    margin: 0 auto;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold)
}

.intro-copy {
    max-width: 490px;
    margin: 22px auto 0;
    font-size: clamp(16px, 1.35vw, 21px);
    line-height: 1.18
}

@keyframes vibrate {

    /* Vibrate */
    0% {
        transform: rotate(-4deg);
    }

    2% {
        transform: rotate(-5deg);
    }

    4% {
        transform: rotate(-3deg);
    }

    6% {
        transform: rotate(-4deg);
    }

    8% {
        transform: rotate(-3deg);
    }

    10% {
        transform: rotate(-5deg);
    }

    12% {
        transform: rotate(-4deg);
    }

    14% {
        transform: rotate(-5deg);
    }

    16% {
        transform: rotate(-3deg);
    }

    18% {
        transform: rotate(-4deg);
    }

    20% {
        transform: rotate(-4deg);
    }

    /* Pause */
    100% {
        transform: rotate(-4deg);
    }
}

.launch-stamp {
    width: 255px;
    margin: 24px auto 8px;
    padding: 7px 12px 5px;
    border: 4px solid var(--stamp);
    box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 1px var(--stamp);
    color: var(--stamp);
    font-family: var(--body);
    text-transform: uppercase;
    text-shadow: 0 1px 0 var(--ink);
    transform: rotate(-7deg);
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: vibrate 1s;

    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
    cursor: pointer;
    transition: filter .2s ease
}

.launch-stamp:hover {
    filter: brightness(1.25);
    transform: rotate(-5deg) scale(1.025)
}

.launch-stamp span,
.launch-stamp strong {
    display: block;
    line-height: .92
}

.launch-stamp span {
    font-size: 20px;
    font-weight: 600
}

.launch-stamp strong {
    font-size: 33px
}

.waitlist {
    margin: 19px auto 0
}

.waitlist>p {
    margin: 0 0 8px;
    font-size: 17px
}

.waitlist form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(234, 217, 179, .62);
    border-radius: 5px;
    background: rgba(26, 16, 11, .70)
}

.waitlist input {
    min-width: 0;
    padding: 13px 15px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--foreground);
    font: 12px var(--body)
}

.waitlist input::placeholder {
    color: rgba(245, 234, 208, .65)
}

.waitlist input:focus {
    box-shadow: inset 0 0 0 2px rgba(232, 189, 72, .65)
}

.waitlist button {
    min-width: 176px;
    border: 0;
    background: var(--gold-bright);
    color: var(--ink);
    font: 700 12px var(--display);
    text-transform: uppercase;
    cursor: pointer;
    transition: .18s ease
}

.waitlist button:hover {
    background: var(--gold)
}

.waitlist small {
    display: block;
    margin-top: 8px;
    font-size: 11px
}

.principles {
    position: absolute;
    left: 2%;
    bottom: 9.3%;
   /* width: min(54%, 820px);*/
    min-height: 112px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    color: var(--ink);
    background: rgba(234, 217, 179, .94);
    border: 2px solid var(--paper-deep);
    box-shadow: 0 4px 24px var(--ink);
}

.principles article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid rgba(26, 16, 11, .15)
}

.principles article:last-child {
    border-right: 0
}

.principles svg {
    width: 36px;
    height: 36px;
    padding: 6px;
    border: 2px solid var(--ink);
    border-radius: 50%
}

.principles h3 {
    max-width: 140px;
    margin: 6px 0 0;
    text-transform: uppercase;
    font-size: 15px;
    line-height: .9
}

.principles p {
    margin: 3px 0 0;
    font-size: 12px
}

blockquote {
    position: relative;
    right: 42%;
    bottom: 3.3%;
    margin: 0;
    color: var(--paper);
    text-align: center;
    text-shadow: 0 2px 7px var(--ink);
    font-size: 22px;
    font-style: italic;
   /* padding-left: 300px;*/
    isolation: isolate;
    /*width: min(42vw, 650px);
    margin: clamp(34px, 5vh, 70px) 6vw 0 auto;*/
}

blockquote cite {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase
}

.fomo-content,
.jomo-content {
    transition: opacity .55s ease, transform .55s ease
}

.jomo-content {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px)
}

.ministry-page.is-jomo .fomo-content {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px)
}

.ministry-page.is-jomo .jomo-content {
    opacity: 1;
    pointer-events: auto;
    transform: none
}

.jomo-content h1 {
    font-size: clamp(66px, 7.5vw, 116px)
}

.jomo-content .intro-copy {
    max-width: 490px
}

.jomo-confirm .confirm-box {
    display: grid;
    place-items: center;
    min-height: 44px;
    border: 1px solid rgba(234, 217, 179, .62);
    border-radius: 5px;
    background: rgba(26, 16, 11, .70);
    color: var(--gold-bright);
    font: 600 11px var(--body);
    letter-spacing: .12em;
    text-transform: uppercase
}

.ministry-page.is-jomo:after {
    background: linear-gradient(90deg, rgba(26, 16, 11, .08) 0 44%, rgba(26, 16, 11, .36) 53%, rgba(26, 16, 11, .64) 78%, rgba(26, 16, 11, .16))
}

@media(max-width:767px) {
    .ministry-page {
        min-height: 100svh;
        overflow-x: hidden;
        overflow-y: auto
    }

    .master-background img {
        object-position: center top
    }

    .ministry-page:after {
        background: linear-gradient(180deg, rgba(26, 16, 11, .16) 0 25%, rgba(26, 16, 11, .8) 48% 82%, rgba(26, 16, 11, .34))
    }

    .site-header {
        height: 80px;
        padding: 0 20px;
        background: rgba(26, 16, 11, .82)
    }

    .brand {
        gap: 10px
    }

    .brand-seal {
        width: 43px;
        height: 43px;
        font-size: 25px
    }

    .brand-copy strong {
        white-space: normal;
        max-width: 245px;
        font-size: 13px;
        line-height: 1
    }

    .brand-copy small {
        margin-top: 3px;
        font-size: 6px
    }

    .desktop-nav {
        display: none
    }

    .menu-button {
        display: block;
        visibility: hidden;
    }

    .mobile-nav {
        position: absolute;
        z-index: 55;
        top: 80px;
        right: 0;
        width: min(260px, 78vw);
        padding: 12px 20px 18px;
        border: 1px solid rgba(200, 149, 37, .35);
        border-top: 0;
        background: rgba(26, 16, 11, .96);
        box-shadow: 0 12px 28px var(--ink)
    }

    .mobile-nav.is-open {
        display: grid
    }

    .mobile-nav a {
        padding: 12px 4px;
        border-bottom: 1px solid rgba(200, 149, 37, .22);
        color: var(--foreground);
        font: 11px var(--body);
        text-transform: uppercase;
        text-decoration: none
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
        color: var(--gold-bright)
    }

    /* Mobile layout is intentionally independent from desktop. */
    .hero-copy {
        position: relative;
        width: calc(100% - 40px);
        /*margin: 195px 20px 0;*/
        text-align: center
    }

    .jomo-content {
        position: absolute;
        inset: 0;
        display: block
    }

    .ministry-page.is-jomo .fomo-content {
        visibility: hidden
    }

    .ministry-page.is-jomo .jomo-content {
        display: block
    }

    .ministry-page.is-jomo:after {
        background: linear-gradient(180deg, rgba(26, 16, 11, .08) 0 29%, rgba(26, 16, 11, .78) 46% 84%, rgba(26, 16, 11, .38))
    }

    .hero-copy h1,
    .jomo-content h1 {
        font-size: clamp(62px, 20vw, 94px);
        line-height: .8;
        margin: 0
    }

    .hero-tagline {
        margin: 13px 0 12px;
        font-size: clamp(14px, 4.4vw, 21px)
    }

    .gold-rule {
        width: 78%;
        margin: 0 auto 22px
    }

    .hero-copy h2 {
        margin: 0 0 13px;
        font-size: clamp(30px, 9vw, 44px);
        line-height: .92
    }

    .hero-tagline.secondary {
        margin: 0 0 24px;
        font-size: clamp(12px, 3.5vw, 17px)
    }

    .intro-copy,
    .jomo-content .intro-copy {
        max-width: 370px;
        margin: 0 auto 28px;
        font-size: clamp(14px, 4vw, 17px);
        line-height: 1.3
    }

    .launch-stamp {
        width: 220px;
        margin: 0 auto 30px;
        padding: 7px 12px 5px
    }

    .launch-stamp span {
        font-size: 17px
    }

    .launch-stamp strong {
        font-size: 29px
    }

    .waitlist {
        margin: 0 auto 0
    }

    .waitlist>p {
        margin: 0 0 14px;
        font-size: 14px
    }

    .waitlist form {
        max-width: 430px;
        margin-inline: auto
    }

    .waitlist input {
        padding: 12px 10px
    }

    .waitlist button {
        min-width: 138px;
        font-size: 10px
    }

    .waitlist small {
        margin-top: 12px
    }

    .principles {
        position: relative;
        left: auto;
        bottom: auto;
        width: calc(100% - 24px);
        min-height: 118px;
        margin: 34px auto 0;
        grid-template-columns: repeat(4, 1fr)
    }

    .principles article {
        padding: 11px 3px
    }

    .principles svg {
        width: 36px;
        height: 36px;
        padding: 6px
    }

    .principles h3 {
        font-size: clamp(10px, 3vw, 14px)
    }

    .principles p {
        font-size: clamp(8px, 2.35vw, 11px)
    }

    blockquote {
        position: relative;
        right: auto;
        bottom: auto;
        padding: 28px 0 30px;
        font-size: 18px
    }
}

@media(max-width:390px) {
    .brand-copy strong {
        max-width: 210px
    }

    .hero-copy {
        margin-top: 40px
    }

    .waitlist button {
        min-width: 122px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important
    }

    .launch-stamp {
        animation: none
    }
}