@font-face {
    font-family: "AFYI Wordmark";
    src: url("/assets/fonts/cormorant-garamond-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "AFYI Wordmark";
    src: url("/assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

:root {
    --ink: #25201b;
    --ink-soft: #5e554d;
    --paper: #f3efe9;
    --paper-deep: #e8e0d5;
    --line: rgba(37, 32, 27, 0.18);
    --cream: #f7f2ea;
    --gold: #d8b477;
    --gold-hover: #e5c58e;
    --dark: #211a15;
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --wordmark: "AFYI Wordmark", "Iowan Old Style", Georgia, serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --page-gutter: clamp(1.25rem, 5vw, 5rem);
}

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

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

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

a {
    color: inherit;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

button {
    border: 0;
}

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

::selection {
    color: var(--cream);
    background: #745d43;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.65rem 0.9rem;
    color: var(--cream);
    background: var(--dark);
    font-size: 0.8125rem;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

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

.wordmark {
    display: inline-flex;
    flex-direction: column;
    margin: 0;
    font-family: var(--wordmark);
    font-size: clamp(1.52rem, 2.25vw, 2.15rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.8;
    text-decoration: none;
}

.wordmark__top,
.wordmark__bottom {
    display: block;
    width: max-content;
    white-space: nowrap;
    overflow: visible;
}

.wordmark__top {
    transform: translateX(-0.025em) scaleX(1.06);
    transform-origin: left center;
}

.wordmark__bottom {
    transform: scaleX(0.97);
    transform-origin: left center;
}

.wordmark__for {
    display: inline-block;
    margin-left: -0.04em;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    overflow: visible;
    transform: skewX(-4deg);
    transform-origin: left 80%;
}

.wordmark__soft {
    opacity: 0.85;
}

.wordmark__narrow {
    display: inline-block;
    margin-right: -0.045em;
    transform: scaleX(0.92);
    transform-origin: left center;
}

.wordmark__f {
    display: inline-block;
    margin: -0.1em -0.09em -0.2em -0.1em;
    padding: 0.1em 0.11em 0.2em 0.1em;
    overflow: visible;
    opacity: 0.8;
    transform: skewX(-8deg);
    transform-origin: center 80%;
}

.wordmark__y {
    margin-right: -0.105em;
}

.wordmark__a {
    transform: scaleX(0.86);
}

.wordmark__i {
    margin-right: -0.015em;
}

.wordmark--ink {
    color: var(--ink);
}

.wordmark--light {
    color: var(--cream);
}

/* Public holding page */

.coming-site {
    min-width: 0;
    overflow: hidden;
    background: #eee8df;
}

.coming {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(0.75rem, 2vw, 1.75rem);
    isolation: isolate;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.82), transparent 32%),
        radial-gradient(circle at 82% 78%, rgba(191, 166, 132, 0.18), transparent 38%),
        linear-gradient(145deg, #f5f1eb 0%, #eee8df 52%, #e9e1d6 100%);
}

.coming::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: 0.42;
    background-image:
        repeating-linear-gradient(94deg, transparent 0 8px, rgba(75, 61, 47, 0.018) 9px 10px),
        repeating-linear-gradient(2deg, transparent 0 12px, rgba(255, 255, 255, 0.1) 13px 14px);
    mix-blend-mode: multiply;
}

.coming__frame {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: calc(100vh - clamp(1.5rem, 4vw, 3.5rem));
    min-height: calc(100dvh - clamp(1.5rem, 4vw, 3.5rem));
    padding: clamp(1.4rem, 3.7vw, 3.75rem);
    border: 1px solid rgba(53, 44, 36, 0.22);
}

.coming__message {
    align-self: center;
    justify-self: center;
    width: min(100%, 58rem);
    padding: 7vh 0 4vh;
    text-align: center;
}

.coming__message h1 {
    max-width: 14ch;
    margin: 0 auto;
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4.3vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.93;
}

.coming__message p {
    margin: clamp(1.65rem, 4vw, 3rem) 0 0;
    color: var(--ink-soft);
    font-size: clamp(0.72rem, 1.1vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.coming__footer {
    align-self: end;
    margin: 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 0.92rem;
    font-style: italic;
}

/* Private working site */

.working-site {
    min-width: 20rem;
    overflow-x: hidden;
}

.has-dialog {
    overflow: hidden;
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: max(1.65rem, env(safe-area-inset-top)) clamp(2rem, 3.2vw, 4rem) 1.4rem;
    color: var(--cream);
    transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-header::after {
    content: none;
}

.site-header.is-scrolled {
    position: fixed;
    color: var(--cream);
    background: rgba(31, 25, 20, 0.92);
    box-shadow: 0 12px 35px rgba(17, 13, 10, 0.12);
    backdrop-filter: blur(16px);
}

.site-header > .wordmark {
    flex: 0 0 auto;
    font-size: clamp(2.15rem, 2.7vw, 3.1rem);
    text-shadow: 0 1px 5px rgba(20, 15, 12, 0.52);
}

.site-nav {
    position: absolute;
    left: 50%;
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3.3vw, 4.2rem);
    transform: translateX(-50%);
}

.site-nav__link {
    position: relative;
    padding: 0.35rem 0;
    font-size: clamp(0.78rem, 0.9vw, 0.96rem);
    font-weight: 550;
    text-shadow: 0 1px 4px rgba(20, 15, 12, 0.65);
    text-decoration: none;
}

.header-tools {
    position: relative;
    display: flex;
    min-width: 7.5rem;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
}

.cart-button,
.login-button {
    padding: 0;
    color: var(--cream);
    border: 0;
    background: transparent;
    cursor: pointer;
    text-shadow: 0 1px 4px rgba(20, 15, 12, 0.65);
    transition: opacity 180ms ease;
}

.cart-button:hover,
.login-button:hover {
    opacity: 0.72;
}

.cart-button {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
}

.cart-button svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.25;
}

.login-button {
    font-size: 0.86rem;
    font-weight: 550;
}

.cart-popover {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: max-content;
    padding: 0.85rem 1rem;
    color: var(--ink);
    border: 1px solid rgba(53, 44, 36, 0.14);
    background: rgba(247, 242, 234, 0.96);
    box-shadow: 0 14px 35px rgba(20, 15, 12, 0.16);
    font-size: 0.8rem;
    text-shadow: none;
    backdrop-filter: blur(12px);
}

.cart-popover[hidden] {
    display: none;
}

.site-menu-toggle {
    display: none;
}

.site-nav__link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: "";
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

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

.preview-pill {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.preview-pill:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
}

.preview-pill__dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #d9b779;
    box-shadow: 0 0 0 3px rgba(217, 183, 121, 0.2);
}

.hero {
    position: relative;
    display: flex;
    min-height: 48rem;
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: var(--cream);
    background: #2b231d;
}

.hero__media {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    animation: hero-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__content {
    width: min(49rem, calc(100% - (2 * var(--page-gutter))));
    margin-left: var(--page-gutter);
    padding: 8.5rem 0 5.5rem;
    text-shadow: 0 2px 12px rgba(20, 15, 12, 0.5);
    animation: content-in 850ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__eyebrow,
.section__eyebrow {
    margin: 0 0 1.1rem;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 10.5ch;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3.3rem, 5vw, 5.6rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.94;
    text-wrap: balance;
}

.hero__tagline {
    margin: clamp(1.15rem, 2vw, 1.7rem) 0 0;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-style: italic;
    line-height: 1.05;
}

.hero__intro {
    max-width: 40rem;
    margin: clamp(2.25rem, 3.5vw, 3.5rem) 0 0;
    color: rgba(247, 242, 234, 0.96);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    font-weight: 560;
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.button {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.button:hover:not(:disabled) {
    transform: translateY(-2px);
}

.button:active:not(:disabled) {
    transform: translateY(0);
}

.button--gold {
    min-width: 20rem;
    min-height: 4.25rem;
    padding: 1rem 2.1rem;
    color: var(--cream);
    border-color: rgba(247, 242, 234, 0.84);
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    font-size: 1.05rem;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(20, 15, 12, 0.55);
}

.button--gold:hover {
    border-color: var(--cream);
    background: rgba(247, 242, 234, 0.12);
}

.button--gold svg {
    width: 1.4rem;
    height: 1.4rem;
    stroke-width: 1.35;
}

.button--dark {
    color: var(--cream);
    background: var(--dark);
}

.button--dark:hover {
    background: #3b3028;
}

.button--muted {
    color: #827970;
    border-color: #d7cfc4;
    background: #e8e2da;
    cursor: not-allowed;
}

.hero__assurance {
    margin: 1.2rem 0 0;
    color: rgba(247, 242, 234, 0.68);
    font-family: var(--serif);
    font-size: 0.98rem;
    font-style: italic;
}

.upload-error {
    width: fit-content;
    margin: 1rem 0 0;
    padding: 0.6rem 0.8rem;
    color: #fff4ec;
    border: 1px solid rgba(255, 211, 185, 0.4);
    background: rgba(86, 35, 21, 0.72);
    font-size: 0.84rem;
}

.hero__scroll {
    position: absolute;
    right: var(--page-gutter);
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(247, 242, 234, 0.76);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.hero__scroll svg {
    width: 0.9rem;
    height: 0.9rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.25;
    transition: transform 180ms ease;
}

.hero__scroll:hover svg {
    transform: translateY(3px);
}

.section {
    padding: clamp(6rem, 10vw, 10rem) var(--page-gutter);
}

.section__heading {
    display: grid;
    grid-template-columns: minmax(10rem, 0.7fr) minmax(20rem, 1.3fr);
    gap: 3rem;
    align-items: start;
}

.section__eyebrow {
    color: #685e55;
}

.section h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 5.5vw, 5.6rem);
    font-weight: 400;
    letter-spacing: -0.052em;
    line-height: 0.98;
}

.process {
    scroll-margin-top: 4.5rem;
    background: var(--paper);
}

.process__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: clamp(4.25rem, 7vw, 7rem) 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.process__item {
    min-height: 19rem;
    padding: 1.5rem clamp(1.25rem, 2.5vw, 2.75rem) 2rem;
    border-right: 1px solid var(--line);
}

.process__item:first-child {
    padding-left: 0;
}

.process__item:last-child {
    padding-right: 0;
    border-right: 0;
}

.process__number {
    display: block;
    color: #70645a;
    font-family: var(--serif);
    font-size: 0.92rem;
    font-style: italic;
}

.process__item div {
    margin-top: 6rem;
}

.process__item h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    font-weight: 400;
    letter-spacing: -0.025em;
}

.process__item p {
    max-width: 17rem;
    margin: 0.8rem 0 0;
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.65;
}

.manifesto {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 3rem;
    color: var(--cream);
    background: var(--dark);
}

.manifesto__aside {
    align-self: end;
    margin: 0;
    color: rgba(247, 242, 234, 0.52);
    font-family: var(--serif);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    font-style: italic;
    line-height: 1.5;
}

.manifesto .section__eyebrow {
    color: rgba(247, 242, 234, 0.56);
}

.manifesto__copy h2 {
    max-width: 10ch;
}

.manifesto__copy > p:last-child {
    max-width: 39rem;
    margin: 2.25rem 0 0;
    color: rgba(247, 242, 234, 0.68);
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.75;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 2rem;
    padding: 3.5rem var(--page-gutter);
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.site-footer > p:not(.wordmark) {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.site-footer > p:nth-child(2) {
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
}

.site-footer > p:last-child {
    justify-self: end;
}

/* Upload preview */

.upload-dialog {
    width: min(69rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    overflow: auto;
    color: var(--ink);
    border: 0;
    background: var(--paper);
    box-shadow: 0 32px 100px rgba(18, 14, 11, 0.34);
}

.upload-dialog::backdrop {
    background: rgba(22, 17, 13, 0.72);
    backdrop-filter: blur(8px);
}

.upload-dialog[open] {
    animation: dialog-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.upload-dialog__panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 35rem;
}

.upload-dialog__preview {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 35rem;
    overflow: hidden;
    background: #d9d1c7;
}

.upload-dialog__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-dialog__fallback {
    max-width: 20rem;
    margin: 0;
    padding: 2rem;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
    text-align: center;
}

.upload-dialog__content {
    align-self: center;
    padding: clamp(3rem, 6vw, 5rem);
}

.upload-dialog__content h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.7rem, 4vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.052em;
    line-height: 0.96;
}

.upload-dialog__name {
    max-width: 100%;
    margin: 1.5rem 0 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-dialog__note {
    margin: 0.75rem 0 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.65;
}

.upload-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dialog-close {
    position: absolute;
    z-index: 2;
    top: 1.25rem;
    right: 1.25rem;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    color: var(--ink);
    border: 1px solid rgba(37, 32, 27, 0.24);
    border-radius: 50%;
    background: rgba(243, 239, 233, 0.86);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background-color 180ms ease, transform 180ms ease;
}

.dialog-close:hover {
    background: var(--cream);
    transform: rotate(4deg);
}

.dialog-close svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.5;
}

.js .reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes hero-in {
    from { opacity: 0; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes content-in {
    from { opacity: 0; transform: translateY(1.5rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes dialog-in {
    from { opacity: 0; transform: translateY(1rem) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
    .section__heading,
    .manifesto {
        grid-template-columns: 1fr;
    }

    .section__heading,
    .manifesto {
        gap: 2rem;
    }

    .section__heading h2 {
        max-width: 12ch;
    }

    .manifesto__aside {
        order: 2;
        margin-top: 2rem;
    }

    .upload-dialog__panel {
        grid-template-columns: 1fr;
    }

    .upload-dialog__preview {
        min-height: 20rem;
        max-height: 42vh;
    }
}

@media (max-width: 700px) {
    :root {
        --page-gutter: 1.25rem;
    }

    .coming {
        padding: 0.65rem;
    }

    .coming__frame {
        min-height: calc(100dvh - 1.3rem);
        padding: 1.35rem;
    }

    .coming__message {
        padding-bottom: 10vh;
    }

    .coming__message h1 {
        font-size: clamp(2.25rem, 9vw, 3.4rem);
    }

.coming__footer {
        font-size: 0.84rem;
    }

    .site-header {
        padding: max(1rem, env(safe-area-inset-top)) 1.25rem 0.75rem;
    }

    .site-header::after {
        right: 1.25rem;
        left: 1.25rem;
    }

    .site-header > .wordmark {
        font-size: clamp(1.65rem, 7.2vw, 1.9rem);
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 1.25rem;
        left: 1.25rem;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 0.65rem 1.1rem;
        background: rgba(31, 25, 20, 0.94);
        box-shadow: 0 18px 35px rgba(17, 13, 10, 0.18);
        transform: none;
        backdrop-filter: blur(16px);
    }

    .site-header.menu-open .site-nav {
        display: grid;
    }

    .site-nav__link {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(247, 242, 234, 0.14);
        font-size: 0.86rem;
    }

    .site-nav__link:last-child {
        border-bottom: 0;
    }

    .header-tools {
        display: none;
    }

    .site-menu-toggle {
        display: grid;
        width: 2.6rem;
        height: 2.6rem;
        padding: 0.55rem 0.25rem;
        border: 0;
        background: transparent;
        cursor: pointer;
        place-content: center;
        gap: 0.32rem;
    }

    .site-menu-toggle span {
        display: block;
        width: 1.65rem;
        height: 0.16rem;
        border-radius: 999px;
        background: var(--cream);
        box-shadow: 0 1px 3px rgba(20, 15, 12, 0.55);
    }

    .hero {
        min-height: 45rem;
        min-height: 100svh;
        align-items: end;
    }

    .hero__media img {
        object-position: center 40%;
    }

    .hero__content {
        width: calc(100% - 2.5rem);
        margin-left: 1.25rem;
        padding: 8rem 0 max(5.5rem, calc(4rem + env(safe-area-inset-bottom)));
    }

    .hero h1 {
        max-width: 10.5ch;
        font-size: clamp(2.8rem, 12vw, 4rem);
        line-height: 0.94;
    }

    .hero__tagline {
        margin-top: 1rem;
        font-size: clamp(1.2rem, 5.5vw, 1.7rem);
    }

    .hero__intro {
        max-width: 29rem;
        margin-top: 2rem;
        font-size: 0.9rem;
        line-height: 1.58;
    }

    .hero__actions {
        margin-top: 1.5rem;
    }

    .button--gold {
        width: 100%;
    }

    .hero__scroll {
        display: none;
    }

    .section {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .section__heading {
        gap: 1.25rem;
    }

    .section h2 {
        font-size: clamp(2.85rem, 13vw, 4.3rem);
    }

    .process__list {
        grid-template-columns: 1fr;
        margin-top: 3.5rem;
    }

    .process__item,
    .process__item:first-child,
    .process__item:last-child {
        display: grid;
        grid-template-columns: 3rem 1fr;
        min-height: 0;
        gap: 1rem;
        padding: 1.5rem 0 2.25rem;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process__item:last-child {
        border-bottom: 0;
    }

    .process__item div {
        margin-top: 0;
    }

    .process__item h3 {
        font-size: 1.7rem;
    }

    .manifesto__copy > p:last-child {
        margin-top: 1.5rem;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        align-items: start;
        padding-top: 3rem;
        padding-bottom: max(3rem, env(safe-area-inset-bottom));
    }

    .site-footer > p:last-child {
        justify-self: start;
    }

    .upload-dialog {
        width: calc(100% - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    .upload-dialog__preview {
        min-height: 14rem;
        max-height: 34vh;
    }

    .upload-dialog__content {
        padding: 2.25rem 1.25rem 1.5rem;
    }

    .upload-dialog__content h2 {
        font-size: 2.8rem;
    }

    .upload-dialog__actions {
        flex-direction: column;
    }

    .upload-dialog__actions .button {
        width: 100%;
    }

    .dialog-close {
        top: 0.75rem;
        right: 0.75rem;
    }
}

.error-message > p {
    max-width: 34rem;
    margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.65;
    text-transform: none;
}

.error-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    margin-top: 1.75rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease;
}

.error-link:hover {
    color: var(--cream);
    background: var(--ink);
}

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

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