:root
{
    --paper: #ede8df;
    --ink: #1f1d1a;
    --ochre: #c08a2e;
    --surface: #2a2723;
    --muted: #b6afa5;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}
body
{
    margin: 0;
    color: var(--paper);
    background: var(--ink);
    font: 16px/1.65 Inter, "Segoe UI", sans-serif;
}
a
{
    color: inherit;
    text-decoration: none;
}
button, input, select, textarea
{
    font: inherit;
}
button
{
    cursor: pointer;
    color: inherit;
}
:focus-visible
{
    outline: 3px solid var(--ochre);
    outline-offset: 6px;
}
header
{
    padding: 20px 40px;
    min-height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid #ede8df25;
}
.wordmark
{
    font: 21px Georgia, serif;
    letter-spacing: 1px;
}
nav
{
    display: flex;
    gap: 30px;
    font-size: 13px;
}
.button
{
    display: inline-flex;
    align-items: center;
    gap: 25px;
    border: 0;
    border-radius: 40px;
    padding: 13px 20px;
    background: var(--ochre);
    color: var(--ink);
    font-size: 13px;
}
.button span
{
    width: 25px;
    height: 25px;
    border: 1px solid #1f1d1a70;
    border-radius: 50%;
    text-align: center;
}
.meta
{
    font: 11px/1.7 "IBM Plex Mono", Consolas, monospace;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.small
{
    font-size: 12px;
    color: var(--muted);
}
.index
{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}
.hero
{
    padding: 85px 40px 65px;
    min-height: 680px;
}
.side-note
{
    margin-top: 160px;
    color: var(--muted);
}
h1, h2, h3
{
    font-family: Newsreader, Georgia, serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.025em;
}
h1
{
    font-size: clamp(46px, 6.1vw, 104px);
    margin: 0 0 35px;
}
em
{
    color: var(--ochre);
}
.intro
{
    max-width: 500px;
    color: #c4bdb3;
}
.actions
{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    margin: 30px 0;
}
.text-link
{
    background: none;
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid currentColor;
    color: inherit;
    font-size: 13px;
}
.section
{
    padding: 100px 40px;
    max-width: 1440px;
    margin: auto;
}
.wave-section
{
    padding: 20px 40px 60px;
}
.wave-section svg
{
    width: 100%;
    height: 160px;
    color: var(--ochre);
    overflow: visible;
}
#wave
{
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.8s cubic-bezier(.22, 1, .36, 1);
}
#wave.drawn
{
    stroke-dashoffset: 0;
}
.wave-section p
{
    text-align: center;
}
h2
{
    font-size: clamp(36px, 4vw, 56px);
    margin: 0 0 40px;
}
h3
{
    font-size: 23px;
    margin: 0;
}
.read-layout
{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 45px;
}
.read-index button
{
    display: block;
    border: 0;
    border-bottom: 1px solid #ede8df25;
    width: 100%;
    text-align: left;
    background: none;
    padding: 15px 0;
    color: var(--muted);
    font: 30px/1.2 Georgia, serif;
}
.read-index button.selected
{
    color: var(--ochre);
}
.read-index small
{
    display: none;
}
#read-description
{
    padding-top: 12px;
}
#read-speed
{
    color: var(--ochre);
    margin-top: 30px;
}
.surface
{
    background: var(--surface);
}
.samples
{
    margin-top: 50px;
}
.samples article
{
    padding: 28px 0;
    border-top: 1px solid #ede8df25;
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 70px 100px;
    gap: 25px;
    align-items: center;
}
.samples p
{
    font-size: 14px;
    margin: 0;
    color: var(--muted);
}
.samples button
{
    border: 0;
    padding: 0;
    background: none;
    color: var(--ochre);
    font-size: 12px;
    text-align: right;
}
.booth
{
    padding-top: 0;
}
.booth img
{
    width: 100%;
    aspect-ratio: 2;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 25px;
}
.rates-panel
{
    background: var(--paper);
    color: var(--ink);
    border-radius: 24px;
    margin: 16px;
    padding: 80px 40px;
}
.rate
{
    display: flex;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid #1f1d1a30;
    padding: 25px 0;
}
.rate h3
{
    font-size: 24px;
}
.rate p
{
    color: #676159;
    font-size: 13px;
}
.rate span
{
    white-space: nowrap;
}
.rates-panel .small
{
    color: #676159;
}
.process article
{
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 25px;
    padding: 30px 0;
    border-top: 1px solid #ede8df25;
}
.process article > span
{
    color: var(--ochre);
}
.process p
{
    margin-bottom: 0;
    color: var(--muted);
}
.quote
{
    max-width: 950px;
    text-align: center;
    padding-top: 30px;
}
blockquote
{
    margin: 0 0 35px;
    font: 34px/1.3 Georgia, serif;
}
.script-panel
{
    margin: 16px;
    border-radius: 24px;
    background: var(--ochre);
    color: var(--ink);
    padding: 70px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
}
.script-panel h2
{
    font-size: clamp(36px, 4.2vw, 60px);
}
.script-panel .small
{
    color: #302719;
}
label
{
    display: block;
    font-size: 12px;
    margin-bottom: 20px;
}
input, select, textarea
{
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 1px solid #1f1d1a80;
    color: var(--ink);
    padding: 12px;
    border-radius: 4px;
    margin-top: 5px;
}
.dark
{
    color: var(--paper);
    background: var(--ink);
}
footer
{
    padding: 35px 40px 55px;
    overflow: hidden;
}
.footer-wordmark
{
    font: 12vw/.9 Georgia, serif;
    letter-spacing: -.03em;
    white-space: nowrap;
    margin: 25px 0 50px;
}
footer > div
{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 13px;
}
footer nav
{
    flex-direction: column;
    gap: 12px;
}
dialog
{
    border: 1px solid #ede8df35;
    border-radius: 8px;
    padding: 35px;
    max-width: min(94vw, 650px);
    background: var(--surface);
    color: var(--paper);
}
dialog::backdrop
{
    background: #100e0ded;
}
#menu
{
    display: none;
}
[hidden]
{
    display: none !important;
}
@media (max-width: 767px)
{
    header
    {
        padding: 22px 24px;
        flex-wrap: wrap;
        gap: 20px;
    }
    .wordmark
    {
        font-size: 18px;
    }
    .header-cta
    {
        display: none;
    }
    #menu
    {
        display: block;
        background: none;
        border: 0;
        font-size: 12px;
    }
    #navigation
    {
        display: none;
        width: 100%;
    }
    #navigation.open
    {
        display: flex;
        padding: 20px 0;
    }
    .index, .read-layout, .script-panel
    {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero
    {
        padding: 45px 24px;
        min-height: 0;
    }
    .side-note
    {
        margin-top: 15px;
    }
    .side-note br
    {
        display: none;
    }
    h1
    {
        font-size: 40px;
    }
    .intro
    {
        font-size: 15px;
    }
    .section
    {
        padding: 60px 24px;
    }
    .wave-section
    {
        padding: 20px 24px 30px;
    }
    .wave-section svg
    {
        height: 90px;
    }
    .read-index small
    {
        display: block;
        font: 14px/1.6 "Segoe UI", sans-serif;
        color: var(--muted);
        margin-top: 12px;
    }
    #read-description
    {
        display: none;
    }
    .samples article
    {
        grid-template-columns: 1fr auto;
        gap: 12px 20px;
    }
    .samples p
    {
        grid-row: 2;
        grid-column: 1;
    }
    .samples button
    {
        grid-column: 2;
        grid-row: 2;
    }
    .booth img
    {
        aspect-ratio: 1.2;
    }
    .rates-panel, .script-panel
    {
        padding: 40px 24px;
    }
    .rate h3
    {
        font-size: 22px;
    }
    .process article
    {
        grid-template-columns: 90px 1fr;
        gap: 20px;
    }
    footer
    {
        padding: 30px 24px 50px;
    }
    footer > div
    {
        display: block;
    }
    footer nav
    {
        margin: 30px 0;
    }
}
@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }
    #wave
    {
        stroke-dashoffset: 0;
        transition: none;
    }
}
