@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --paper: #f3eee5;
    --paper-light: #fbf8f1;
    --paper-deep: #e9dfcf;
    --ink: #202d26;
    --muted: #5f6960;
    --accent: #9a4b31;
    --gold: #ac8d5c;
    --line: rgba(32, 45, 38, 0.14);
    --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --sans: "Manrope", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--paper);
    color-scheme: light;
}

body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(ellipse 56% 48% at 50% 42%, rgba(255, 253, 247, 0.88) 0%, rgba(255, 253, 247, 0) 72%),
        radial-gradient(circle at 5% 4%, rgba(201, 154, 109, 0.11), transparent 32%),
        radial-gradient(circle at 96% 96%, rgba(103, 129, 104, 0.11), transparent 35%);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    z-index: 6;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

::selection {
    color: var(--paper-light);
    background: var(--accent);
}

.skip-link {
    position: fixed;
    z-index: 20;
    top: 12px;
    left: 50%;
    padding: 10px 16px;
    color: var(--paper-light);
    background: var(--ink);
    font-size: 12px;
    text-decoration: none;
    border-radius: 999px;
    transform: translate(-50%, -180%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translate(-50%, 0);
}

.ambient {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    display: block;
    border-radius: 50%;
}

.glow--sun {
    top: 29%;
    left: 50%;
    width: min(920px, 78vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 251, 242, 0.92) 0%, rgba(255, 249, 237, 0.42) 42%, rgba(255, 249, 237, 0) 70%);
    transform: translate(-50%, -50%);
}

.glow--sage {
    right: -15vw;
    bottom: -24vw;
    width: min(660px, 58vw);
    aspect-ratio: 1;
    opacity: 0.7;
    background: radial-gradient(circle, rgba(117, 142, 116, 0.15) 0%, rgba(117, 142, 116, 0) 68%);
}

.ring {
    position: absolute;
    top: 54%;
    left: 50%;
    width: min(720px, 61vw);
    aspect-ratio: 1;
    border: 1px solid rgba(172, 141, 92, 0.14);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring::after {
    position: absolute;
    inset: 24px;
    content: "";
    border: 1px solid rgba(172, 141, 92, 0.07);
    border-radius: inherit;
}

.spark {
    position: absolute;
    width: 7px;
    height: 7px;
    opacity: 0.46;
    background: var(--gold);
    clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}

.spark--one {
    top: 27%;
    left: 12.5%;
}

.spark--two {
    top: 64%;
    right: 10.5%;
    width: 5px;
    height: 5px;
    opacity: 0.34;
}

.spark--three {
    bottom: 16%;
    left: 20%;
    width: 4px;
    height: 4px;
    opacity: 0.28;
}

.page-frame {
    position: absolute;
    z-index: 5;
    inset: 8px;
    border: 1px solid rgba(32, 45, 38, 0.1);
    pointer-events: none;
}

.page {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 4.5vh, 42px) clamp(28px, 5vw, 74px) 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    color: var(--ink);
    background: rgba(255, 253, 247, 0.34);
    border: 1px solid rgba(32, 45, 38, 0.22);
    border-radius: 50%;
    place-items: center;
}

.brand-mark svg {
    display: block;
    width: 17px;
    height: 17px;
}

.brand-type {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.brand-name {
    padding-left: 1px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: 0.17em;
}

.brand-sub {
    padding-left: 2px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: 0.44em;
}

.topbar-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.status-dot {
    position: relative;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

.status-dot::after {
    position: absolute;
    inset: -4px;
    content: "";
    border: 1px solid rgba(154, 75, 49, 0.24);
    border-radius: inherit;
    animation: breathe 3.4s ease-in-out infinite;
}

.stage {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 3vh, 32px) clamp(24px, 6vw, 64px) clamp(12px, 2.2vh, 24px);
}

.stage-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 980px;
    text-align: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 clamp(18px, 2.8vh, 26px);
    color: var(--accent);
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.eyebrow-rule {
    flex: 0 1 42px;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, rgba(172, 141, 92, 0), rgba(172, 141, 92, 0.74));
}

.eyebrow-rule:last-child {
    background: linear-gradient(90deg, rgba(172, 141, 92, 0.74), rgba(172, 141, 92, 0));
}

.eyebrow-star {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    fill: var(--gold);
}

.eyebrow-text {
    white-space: nowrap;
}

h1 {
    max-width: 900px;
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(50px, 6.1vw, 82px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

h1 em {
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.portrait {
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
    width: clamp(286px, 30vw, 408px);
    margin: clamp(24px, 4vh, 42px) 0 0;
}

.portrait::before {
    position: absolute;
    z-index: -1;
    inset: 20px -17px -17px 17px;
    content: "";
    border: 1px solid rgba(172, 141, 92, 0.48);
    border-radius: 50% 50% 19px 19px / 36% 36% 19px 19px;
    pointer-events: none;
}

.portrait-shell {
    position: relative;
    z-index: 1;
    padding: 9px;
    background: linear-gradient(145deg, #fffdf8 0%, #f6ede0 56%, #eadfce 100%);
    border: 1px solid rgba(172, 141, 92, 0.55);
    border-radius: 50% 50% 19px 19px / 36% 36% 19px 19px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 24px 58px -30px rgba(55, 42, 26, 0.48),
        0 7px 20px -14px rgba(55, 42, 26, 0.28);
}

.portrait-window {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--paper-deep);
    border-radius: 50% 50% 11px 11px / 36% 36% 11px 11px;
}

.portrait-window::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.24),
        inset 0 0 55px rgba(65, 40, 20, 0.05);
}

.portrait-window img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.portrait-star {
    position: absolute;
    z-index: 3;
    top: -16px;
    left: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    background: var(--paper-light);
    border: 1px solid rgba(172, 141, 92, 0.56);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(65, 45, 25, 0.12);
    transform: translateX(-50%);
    place-items: center;
}

.portrait-star svg {
    display: block;
    width: 11px;
    height: 11px;
    fill: var(--gold);
}

.intro {
    max-width: 540px;
    margin: clamp(22px, 3.4vh, 32px) auto 0;
    color: var(--muted);
    font-size: clamp(13.5px, 1.05vw, 15px);
    font-weight: 450;
    line-height: 1.8;
    letter-spacing: 0.004em;
    text-wrap: pretty;
}

.launch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: clamp(16px, 2.4vh, 24px) 0 0;
    color: var(--ink);
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.launch-rule {
    width: 34px;
    height: 1px;
    background: rgba(32, 45, 38, 0.2);
}

.launch-dot {
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px clamp(28px, 5vw, 74px) clamp(26px, 3.6vh, 36px);
    color: var(--muted);
    font-size: 8px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.footer p {
    margin: 0;
}

.footer a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 200ms ease, border-color 200ms ease;
}

.footer a:hover,
.footer a:focus-visible {
    color: var(--ink);
    border-color: rgba(32, 45, 38, 0.32);
}

@keyframes breathe {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.82);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@media (hover: hover) {
    .portrait-shell:hover .portrait-window img {
        transform: scale(1.014);
    }
}

@media (max-width: 760px) {
    .page-frame {
        inset: 10px;
    }

    .topbar {
        padding: 20px 24px 0;
    }

    .brand {
        gap: 9px;
    }

    .brand-mark {
        width: 33px;
        height: 33px;
    }

    .brand-mark svg {
        width: 15px;
        height: 15px;
    }

    .brand-name {
        font-size: 19px;
    }

    .brand-sub {
        font-size: 6.8px;
    }

    .topbar-status {
        gap: 8px;
        font-size: 8px;
        letter-spacing: 0.19em;
    }

    .stage {
        padding: 14px 24px 8px;
    }

    .eyebrow {
        gap: 8px;
        margin-bottom: 18px;
        font-size: 8.2px;
        letter-spacing: 0.23em;
    }

    .eyebrow-rule {
        width: 20px;
    }

    .eyebrow-star {
        width: 6px;
        height: 6px;
    }

    h1 {
        font-size: clamp(42px, 12vw, 62px);
        line-height: 0.98;
    }

    .portrait {
        width: clamp(260px, 78vw, 330px);
        margin-top: 22px;
    }

    .portrait::before {
        inset: 15px -11px -11px 11px;
    }

    .portrait-star {
        top: -14px;
        width: 30px;
        height: 30px;
    }

    .portrait-star svg {
        width: 9px;
        height: 9px;
    }

    .intro {
        max-width: 420px;
        margin-top: 18px;
        font-size: 13px;
        line-height: 1.75;
    }

    .launch {
        margin-top: 16px;
        font-size: 7.5px;
        letter-spacing: 0.24em;
    }

    .launch-rule {
        width: 24px;
    }

    .footer {
        padding: 14px 24px 22px;
        font-size: 7px;
        letter-spacing: 0.11em;
    }
}

@media (max-width: 430px) {
    h1 {
        font-size: clamp(40px, 11.8vw, 50px);
        line-height: 1.01;
    }

    .portrait {
        width: min(74vw, 300px);
    }

    .footer {
        gap: 10px;
    }
}

@media (min-width: 760px) and (max-height: 920px) {
    .topbar {
        padding-top: 24px;
    }

    .stage {
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .eyebrow {
        margin-bottom: 12px;
    }

    h1 {
        font-size: clamp(48px, 5.3vw, 68px);
    }

    .portrait {
        width: min(344px, 44vh, 78vw);
        margin-top: 16px;
    }

    .intro {
        max-width: 490px;
        margin-top: 16px;
        font-size: 13px;
        line-height: 1.7;
    }

    .launch {
        margin-top: 10px;
    }

    .footer {
        padding-bottom: 18px;
    }
}

@media (min-width: 760px) and (min-height: 921px) and (max-height: 1080px) {
    .topbar {
        padding-top: 30px;
    }

    .stage {
        padding-top: 12px;
        padding-bottom: 8px;
    }

    .eyebrow {
        margin-bottom: 16px;
    }

    h1 {
        font-size: clamp(54px, 5.4vw, 76px);
    }

    .portrait {
        width: min(400px, 88vw);
        margin-top: 24px;
    }

    .intro {
        max-width: 520px;
        margin-top: 16px;
        font-size: 13.5px;
        line-height: 1.7;
    }

    .launch {
        margin-top: 12px;
    }

    .footer {
        padding-bottom: 22px;
    }
}

@media (min-width: 760px) and (max-height: 820px) {
    .stage {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .eyebrow {
        margin-bottom: 10px;
    }

    h1 {
        font-size: clamp(46px, 4.6vw, 60px);
    }

    .portrait {
        width: min(300px, 88vw);
        margin-top: 12px;
    }

    .intro {
        margin-top: 12px;
        font-size: 12.5px;
        line-height: 1.65;
    }

    .launch {
        margin-top: 8px;
    }

    .footer {
        padding-bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
