@font-face {
    font-family: DM Sans;
    src: url('/static/dm-sans.woff2');
    font-weight: 100 900;
    font-display: swap
}

@font-face {
    font-family: Instrument Serif;
    src: url('/static/instrument-serif.woff2');
    font-display: swap
}

:root {
    --paper: #f5f3ed;
    --ink: #26352c;
    --muted: #62695e;
    --line: #d9ddcf;
    --green: #293d30;
    --lime: #d4e3b3;
    --serif: 'Instrument Serif', Georgia, serif
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px
}

html {
    scroll-behavior: smooth
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit
}

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

button {
    cursor: pointer
}

button:disabled {
    opacity: .55;
    cursor: default
}

a {
    color: inherit;
    text-decoration: none
}

p {
    line-height: 1.7;
    margin: 0 0 20px
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    margin: 0 0 20px;
    line-height: 1.05
}

h1 {
    font-size: 52px;
    letter-spacing: -1px
}

h2 {
    font-size: 40px;
    letter-spacing: -.6px
}

h3 {
    font-size: 29px
}

img {
    width: 100%;
    display: block;
    object-fit: cover
}

figure {
    margin: 0
}

figcaption,
.photo-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.65;
    margin-top: 12px
}

main:focus {
    outline: none
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid #738b51;
    outline-offset: 4px
}

.site-header {
    height: 84px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    max-width: 1600px;
    margin: auto
}

.wordmark {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    white-space: nowrap
}

.wordmark span {
    display: block;
    font-size: 8px;
    letter-spacing: 2.5px;
    margin: 7px 0 0 3px;
    font-weight: 500
}

.site-header nav {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 12px
}

.site-header nav>a {
    display: none
}

#studio-count {
    border: 1px solid #bbc3b2;
    padding: 3px 6px;
    border-radius: 50%;
    margin-left: 4px;
    font-size: 10px
}

.text-button {
    border: 0;
    background: none;
    font-size: 13px;
    min-height: 44px;
    padding: 10px 0;
    text-align: left
}

.button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 52px;
    padding: 15px 22px;
    border: 1px solid var(--green);
    border-radius: 4px;
    background: var(--green);
    color: white;
    font-size: 14px;
    font-weight: 500
}

.button:hover {
    background: #405640
}

.button.secondary {
    background: transparent;
    color: var(--ink);
    border-color: #abb6a0
}

.button.full {
    width: 100%
}

.button.small {
    min-height: 44px;
    padding: 10px 16px
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 22px
}

.dot:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7c9155;
    margin-right: 10px
}

.hero {
    padding: 42px 6% 36px;
    display: grid;
    gap: 28px;
    max-width: 1440px;
    margin: auto
}

.hero h1 {
    font-size: clamp(49px, 12vw, 78px);
    line-height: 1.02;
    letter-spacing: -1.7px
}

.hero h1 em {
    font-weight: 400;
    color: #73825b
}

.hero-copy>p {
    color: var(--muted);
    font-size: 14px;
    max-width: 400px
}

.hero-copy>p:first-of-type {
    color: var(--ink);
    font-size: 14px
}

.hero-note {
    font-size: 11px !important;
    margin-top: 14px !important
}

.hero-art {
    position: relative;
    max-width: 600px
}

.hero-art img {
    aspect-ratio: 4/4.7;
    border-radius: 90px 90px 4px 4px
}

.art-index {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 9px 12px;
    border-radius: 20px;
    background: #f5f3edde;
    font-size: 9px;
    letter-spacing: 1px
}

.hero-art figcaption {
    font-size: 10px
}

.value-strip {
    display: grid;
    gap: 14px;
    border-block: 1px solid var(--line);
    padding: 24px 6%;
    font-size: 12px
}

.value-strip span:before {
    content: '✳';
    margin-right: 10px;
    color: #788b58
}

.how,
.faq {
    padding: 54px 6%;
    max-width: 1440px;
    margin: auto
}

.section-heading {
    margin-bottom: 30px
}

.section-heading>p {
    color: var(--muted);
    font-size: 14px;
    max-width: 320px
}

.steps {
    display: grid;
    gap: 30px
}

.step-number {
    font-family: var(--serif);
    font-size: 30px;
    color: #86986a;
    border-bottom: 1px solid var(--line);
    display: block;
    padding-bottom: 15px;
    margin-bottom: 18px
}

.steps p {
    font-size: 13px;
    color: var(--muted)
}

.product-feature {
    display: grid;
    gap: 28px;
    padding: 35px 6%;
    background: #e7ebdf
}

.product-feature>img {
    aspect-ratio: 1;
    border-radius: 100px 100px 4px 4px;
    max-width: 600px
}

.product-feature>div {
    padding: 10px 0;
    max-width: 480px
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0
}

.faq summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    list-style: none;
    gap: 20px;
    line-height: 1.5
}

.faq details p {
    color: var(--muted);
    font-size: 13px;
    margin: 20px 0 0;
    max-width: 760px
}

.site-footer {
    margin: 30px 6% 0;
    padding: 35px 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 22px
}

.site-footer p {
    font-size: 12px;
    color: var(--muted);
    margin: 0
}

.flow {
    padding: 28px 6% 60px;
    max-width: 1300px;
    margin: auto
}

.flow-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px
}

.flow-top>span {
    font-size: 10px;
    color: var(--muted);
    max-width: 160px;
    text-align: right;
    line-height: 1.5
}

.flow-heading {
    max-width: 650px;
    margin: 0 0 32px
}

.flow-heading>p {
    font-size: 14px;
    color: var(--muted)
}

.shot-tabs,
.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 24px
}

.choice {
    background: transparent;
    border: 1px solid #b5bfab;
    border-radius: 4px;
    padding: 12px 15px;
    min-height: 44px;
    font-size: 12px
}

.choice.selected {
    background: var(--green);
    color: white;
    border-color: var(--green)
}

.capture-layout,
.design-layout,
.preview-layout {
    display: grid;
    gap: 28px
}

.capture-frame {
    position: relative;
    aspect-ratio: 4/5;
    background: #e7eadd;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    place-items: center
}

.capture-frame img,
.capture-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.face-guide {
    position: absolute;
    border: 2px dashed #738a60;
    width: 65%;
    height: 67%;
    left: 17.5%;
    top: 13%;
    border-radius: 48% 48% 42% 42%;
    pointer-events: none
}

.camera-placeholder {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--muted)
}

.frame-label {
    position: absolute;
    bottom: 16px;
    padding: 8px 16px;
    background: #f5f3edde;
    border-radius: 24px;
    font-size: 11px
}

.camera-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px
}

.capture-copy>.button {
    margin: 8px 6px 8px 0
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px
}

.review-shot {
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    text-align: left;
    background: transparent
}

.review-shot img,
.missing-photo {
    aspect-ratio: 4/5
}

.missing-photo {
    display: grid;
    place-items: center;
    font-size: 12px;
    background: #e9ecdf;
    color: var(--muted)
}

.review-shot>span {
    display: block;
    padding: 12px 10px;
    font-size: 11px
}

.design-layout img {
    aspect-ratio: 4/5;
    border-radius: 60px 60px 4px 4px
}

fieldset {
    border: 0;
    margin: 24px 0;
    padding: 0
}

legend,
.option-label {
    font-weight: 600;
    font-size: 12px;
    display: block;
    margin-bottom: 12px
}

input:not([type=checkbox]),
textarea,
select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #b1bbaa;
    border-radius: 4px;
    background: #fffefa;
    padding: 13px;
    font-size: 14px;
    margin: 8px 0 18px
}

textarea {
    min-height: 100px;
    resize: vertical
}

label {
    display: block;
    font-size: 13px;
    line-height: 1.5
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    font-size: 12px
}

input[type=checkbox] {
    margin: 3px 0 0;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    accent-color: var(--green)
}

.notice {
    padding: 18px;
    background: #e8ecdf;
    border: 1px solid #d2dac5;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.7
}

.design-spec {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    margin: 22px 0
}

.design-spec span {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 20px
}

.preview-image {
    background: #e7eadd;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1
}

.preview-image img {
    height: 100%;
    object-fit: contain
}

model-viewer {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #e7eadd
}

.preview-copy>.button {
    margin: 12px 6px 8px 0
}

.waiting-art {
    height: 100%;
    display: grid;
    place-content: center;
    gap: 20px;
    text-align: center
}

.spinner {
    display: block;
    margin: auto;
    width: 24px;
    height: 24px;
    border: 2px solid #b9c4a8;
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 1s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px
}

.project-card img {
    aspect-ratio: 4/5;
    border-radius: 5px
}

.project-card h2 {
    font-size: 27px;
    margin: 15px 0 10px;
    overflow-wrap: anywhere
}

.project-card p {
    font-size: 11px;
    color: var(--muted)
}

.project-card .button {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 14px
}

.project-card .text-button {
    display: block
}

.style-card {
    background: transparent;
    border: 0;
    padding: 0;
    width: 100%;
    text-align: left
}

.mt {
    margin-top: 35px
}

dialog {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 42px 24px 28px;
    background: var(--paper);
    color: var(--ink);
    max-width: 570px;
    width: 90%;
    max-height: 85vh
}

dialog::backdrop {
    background: #15281999
}

.dialog-close {
    position: absolute;
    right: 14px;
    top: 8px;
    background: none;
    border: 0;
    font-size: 26px;
    min-width: 44px;
    min-height: 44px
}

#toast {
    position: fixed;
    bottom: 22px;
    left: 5%;
    width: 90%;
    max-width: 600px;
    background: var(--green);
    color: white;
    padding: 17px 22px;
    border-radius: 5px;
    font-size: 13px;
    z-index: 20;
    box-shadow: 0 8px 30px #26352c33
}

.skip {
    position: absolute;
    left: 10px;
    top: -100px;
    z-index: 50;
    background: white;
    padding: 15px
}

.skip:focus {
    top: 10px
}

.order-policies {
    margin-top: 40px
}

.order-summary {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere
}

.order-summary h3 {
    font-size: 27px
}

.order-list {
    margin: 24px 0
}

.admin-grid {
    display: grid;
    gap: 24px
}

.admin-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 20px;
    background: #fffefa;
    margin: 20px 0
}

.admin-card summary {
    cursor: pointer;
    line-height: 1.5;
    overflow-wrap: anywhere
}

.admin-assets {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 20px 0
}

.admin-assets img {
    width: 110px;
    height: 140px;
    object-fit: cover;
    border-radius: 4px
}

.admin-card model-viewer {
    height: 380px
}

.admin-card pre {
    font-size: 11px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background: #e8ecdf;
    padding: 12px
}

.admin-card a {
    text-decoration: underline;
    display: inline-block;
    padding: 12px 0;
    margin-right: 18px
}

@media(min-width:700px) {
    .site-header {
        height: 102px
    }

    .site-header nav>a {
        display: block
    }

    .wordmark {
        font-size: 43px
    }

    .hero {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 6%;
        padding: 60px 6%
    }

    .hero h1 {
        font-size: clamp(62px, 6.5vw, 96px)
    }

    .hero-copy>p {
        font-size: 15px
    }

    .value-strip {
        display: flex;
        justify-content: space-evenly
    }

    .how,
    .faq {
        padding: 80px 6%
    }

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

    .section-heading h2 {
        font-size: 56px
    }

    .steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px
    }

    .product-feature {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 8%;
        padding: 50px 10%
    }

    .product-feature h2 {
        font-size: 64px
    }

    .site-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 45px 0
    }

    .flow {
        padding-top: 36px
    }

    .flow-top>span {
        max-width: none
    }

    .flow-heading {
        margin-bottom: 40px
    }

    .flow-heading h1 {
        font-size: 70px
    }

    .capture-layout,
    .design-layout,
    .preview-layout {
        grid-template-columns: 1fr 1fr;
        gap: 7%;
        align-items: start
    }

    .capture-copy,
    .preview-copy {
        padding-top: 24px
    }

    .review-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .studio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px
    }

    .admin-grid {
        grid-template-columns: 1fr 1fr
    }
}

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

    .spinner {
        animation: none
    }
}

.option-example {
    max-width: 180px;
    margin: 12px 0;
}
