:root {
    --paper: #f2eee6;
    --paper-soft: #f8f5ef;
    --paper-deep: #e5ddd1;
    --ink: #24221f;
    --ink-soft: #514d47;
    --muted: #746d65;
    --plum: #704754;
    --plum-dark: #53343e;
    --olive: #737863;
    --rust: #a25f45;
    --line: rgba(36, 34, 31, 0.16);
    --line-strong: rgba(36, 34, 31, 0.34);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Arial, Helvetica, sans-serif;
    --shell: min(1240px, calc(100vw - 64px));
    --radius: 2px;
    --shadow: 0 28px 70px rgba(42, 35, 29, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

::selection { background: #d4c1c5; color: var(--ink); }

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-150%);
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 760px; }
.section-pad { padding: 104px 0; }
.eyebrow {
    margin: 0 0 18px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--plum);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: .98;
}
h1 { font-size: clamp(3.35rem, 7vw, 6.75rem); }
h2 { font-size: clamp(2.65rem, 5vw, 5rem); }
h3 { font-size: clamp(1.6rem, 2.2vw, 2.35rem); }

.button {
    appearance: none;
    border: 0;
    min-height: 50px;
    padding: 13px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible,
a:focus-visible,
summary:focus-visible,
.menu-toggle:focus-visible,
.modal-close:focus-visible {
    outline: 2px solid var(--rust);
    outline-offset: 4px;
}
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--plum-dark); }
.button-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.button-ghost:hover { background: var(--ink); color: #fff; }
.button-small { min-height: 40px; padding: 10px 15px; font-size: 12px; }
.button-light { background: #f7f1e7; color: var(--ink); }
.button-light:hover { background: #fff; }
.text-link {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(36,34,31,.10);
    background: rgba(242,238,230,.92);
    backdrop-filter: blur(18px);
}
.header-inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 30px;
}
.brand { width: max-content; }
.brand img { width: 164px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    position: relative;
}
.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 100%; bottom: -7px;
    height: 1px;
    background: var(--ink);
    transition: right .25s ease;
}
.primary-nav a:hover::after { right: 0; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: clip; padding-top: 70px; }
.hero::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    left: -260px;
    top: 180px;
    border: 1px solid var(--line);
    border-radius: 50%;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
    gap: 78px;
    align-items: center;
}
.hero-copy { padding: 30px 0 20px; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 28px; max-width: 800px; }
.hero h1 em { color: var(--plum); font-weight: 400; }
.hero-lede { max-width: 620px; font-size: 18px; color: var(--ink-soft); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.hero-notes span { position: relative; }
.hero-notes span:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -13px;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--plum);
}
.hero-art { position: relative; }
.hero-frame {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    background: var(--paper-soft);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: rotate(.7deg);
}
.hero-frame::before {
    content: '';
    position: absolute;
    inset: 20px auto auto -27px;
    width: 1px;
    height: 72%;
    background: var(--line-strong);
}
.hero-frame img { width: 100%; height: auto; }
.art-label {
    position: absolute;
    z-index: 2;
    padding: 9px 11px;
    background: rgba(242,238,230,.94);
    border: 1px solid var(--line);
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 700;
}
.art-label-top { top: 18px; left: -18px; }
.art-label-bottom { right: -18px; bottom: 22px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #eae3d8; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 24px 28px; display: flex; align-items: baseline; gap: 12px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--plum); }
.trust-grid span { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }

.section-heading { max-width: 830px; margin-bottom: 56px; }
.section-heading h2 { margin-bottom: 0; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.3fr .65fr; gap: 80px; align-items: end; }
.split-heading p:last-child { margin: 0 0 8px; max-width: 420px; color: var(--muted); }

.categories-section { background: var(--paper-soft); }
.category-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.category-card {
    grid-column: span 4;
    position: relative;
    border-top: 1px solid var(--line-strong);
    padding-top: 12px;
    overflow: hidden;
}
.category-card-wide { grid-column: span 8; }
.category-media { background: #ded6ca; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid rgba(36,34,31,.08); }
.category-card-wide .category-media { aspect-ratio: 2 / 1; }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.category-card:hover .category-media img { transform: scale(1.025); }
.category-copy { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; padding: 17px 3px 26px; }
.category-copy span { grid-row: 1 / span 2; color: var(--plum); font-size: 10px; letter-spacing: .12em; padding-top: 8px; }
.category-copy h3 { margin-bottom: 7px; font-size: 30px; }
.category-copy p { margin: 0; color: var(--muted); font-size: 13px; max-width: 390px; }

.editorial-showcase { background: var(--ink); color: #eee7dd; position: relative; overflow: hidden; }
.editorial-showcase::after {
    content: 'M';
    position: absolute;
    right: -20px;
    bottom: -180px;
    font-family: var(--serif);
    font-size: 540px;
    color: rgba(255,255,255,.025);
    line-height: 1;
}
.showcase-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 74px; align-items: center; position: relative; z-index: 1; }
.showcase-image { border: 1px solid rgba(255,255,255,.18); padding: 18px; }
.showcase-image img { width: 100%; }
.showcase-copy .eyebrow { color: #c99c9e; }
.showcase-copy h2 { margin-bottom: 28px; }
.showcase-copy > p:not(.eyebrow) { color: #bdb5ab; max-width: 560px; }
.showcase-copy blockquote { margin: 42px 0; padding-left: 22px; border-left: 1px solid #a9888c; font-family: var(--serif); font-size: 27px; font-style: italic; color: #f7f0e6; }
.showcase-copy .button-ghost { color: #f7f0e6; border-color: rgba(255,255,255,.35); }
.showcase-copy .button-ghost:hover { background: #f7f0e6; color: var(--ink); }

.how-section { background: #ddd4c7; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.step { min-height: 270px; padding: 26px 34px 24px 0; border-right: 1px solid var(--line); }
.step:not(:first-child) { padding-left: 34px; }
.step-number { display: block; margin-bottom: 64px; font-size: 11px; letter-spacing: .14em; color: var(--plum); }
.step h3 { font-size: 34px; margin-bottom: 16px; }
.step p { color: var(--muted); font-size: 14px; max-width: 315px; }

.inspiration-section { background: var(--paper); }
.inspiration-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.inspiration-copy h2 { margin-bottom: 25px; }
.inspiration-copy > p:not(.eyebrow) { max-width: 560px; color: var(--muted); }
.material-list { margin: 46px 0 0; border-top: 1px solid var(--line-strong); }
.material-list > div { display: grid; grid-template-columns: 170px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.material-list dt { font-family: var(--serif); font-size: 19px; }
.material-list dd { margin: 0; color: var(--muted); font-size: 13px; }
.inspiration-art { position: relative; }
.inspiration-art::after { content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--line-strong); z-index: -1; }
.inspiration-art img { width: 100%; border: 1px solid var(--line); }

.faq-section { background: var(--paper-soft); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq-intro { position: sticky; top: 120px; align-self: start; }
.faq-intro h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.faq-intro > p:last-child { color: var(--muted); max-width: 380px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 23px 0; }
.faq-list summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: 25px; position: relative; padding-right: 40px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 0; font-family: var(--sans); font-weight: 300; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list p { margin: 14px 0 0; color: var(--muted); max-width: 700px; }

.final-cta { background: var(--plum-dark); color: #f7f0e8; text-align: center; }
.final-cta-inner { max-width: 960px; }
.final-cta .eyebrow { color: #d9b5bb; }
.final-cta h2 { margin-bottom: 24px; }
.final-cta p:not(.eyebrow) { color: #d3c5c2; }
.final-cta .button { margin-top: 22px; }

.site-footer { background: #1e1d1b; color: #ebe5dc; padding: 52px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 60px; align-items: start; }
.footer-brand img { filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { color: #9f9991; font-size: 13px; max-width: 420px; margin: 17px 0 0; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-meta a { text-decoration: none; font-size: 13px; }
.footer-links a:hover, .footer-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-meta { display: grid; gap: 12px; justify-items: end; font-size: 12px; color: #aaa39a; }

.legal-page, .contact-page, .not-found { min-height: 70vh; padding-top: 110px; }
.legal-shell { max-width: 920px; }
.legal-page h1, .contact-page h1, .not-found h1 { font-size: clamp(3.5rem, 7vw, 6rem); margin-bottom: 28px; }
.legal-intro { max-width: 650px; font-size: 18px; color: var(--muted); margin-bottom: 70px; }
.legal-copy { max-width: 760px; }
.legal-copy h2 { font-size: 30px; margin: 40px 0 12px; }
.legal-copy p { color: var(--ink-soft); }
.legal-copy a { text-underline-offset: 3px; }
.contact-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 90px; align-items: center; }
.contact-copy p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.contact-email { display: inline-block; margin-top: 24px; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.5rem); text-underline-offset: 7px; }
.contact-art { border: 1px solid var(--line); box-shadow: var(--shadow); }
.not-found p { color: var(--muted); font-size: 18px; }
.not-found .button { margin-top: 22px; }

.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 28px; opacity: 0; transition: opacity .22s ease; }
.modal.is-open { opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(24, 22, 20, .68); backdrop-filter: blur(8px); }
.modal-panel {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(780px, calc(100vh - 56px));
    overflow: auto;
    background: var(--paper-soft);
    border: 1px solid rgba(255,255,255,.38);
    box-shadow: 0 38px 120px rgba(0,0,0,.32);
    padding: 48px;
    transform: translateY(10px) scale(.99);
    transition: transform .28s cubic-bezier(.2,.7,.2,1);
}
.modal.is-open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute;
    top: 17px; right: 17px;
    width: 36px; height: 36px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
}
.modal-close span { position: absolute; left: 9px; right: 9px; top: 17px; height: 1px; background: var(--ink); }
.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }
.modal-icon { width: 64px; height: 64px; margin-bottom: 32px; display: grid; place-items: center; border: 1px solid var(--line-strong); }
.modal-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.modal-icon-pattern { color: var(--plum); background: #eee3e5; }
.modal-icon-ready { color: var(--olive); background: #e6e9df; }
.modal-panel h2 { font-size: clamp(2.65rem, 7vw, 4.25rem); margin-bottom: 18px; max-width: 430px; }
.modal-description { color: var(--muted); max-width: 430px; }
.progress-wrap { margin-top: 36px; }
.progress-track { height: 2px; background: #d3cbc0; overflow: hidden; }
.progress-bar { display: block; width: 0; height: 100%; background: var(--plum); }
.progress-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.progress-complete .progress-bar { background: var(--olive); }
.modal-main-action { width: 100%; margin-top: 34px; }
.modal-main-action:disabled, .download-disabled:disabled { cursor: not-allowed; background: #ddd7cf; color: #8d867d; transform: none; }
.modal-panel-summary { width: min(620px, 100%); }
.summary-subtitle { color: var(--muted); margin-bottom: 31px; }
.summary-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.summary-list li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; min-height: 86px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.summary-index { align-self: start; padding-top: 3px; font-size: 10px; letter-spacing: .14em; color: var(--plum); }
.summary-list p { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; }
.windows-icon { display: inline-block; width: 25px; height: 25px; vertical-align: -.31em; margin: 0 5px; }
.download-disabled { width: 100%; margin-top: 30px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
    :root { --shell: min(100% - 44px, 940px); }
    .primary-nav { gap: 18px; }
    .header-cta { display: none; }
    .header-inner { grid-template-columns: 1fr auto; }
    .hero-grid { grid-template-columns: 1fr .82fr; gap: 44px; }
    .hero h1 { font-size: clamp(3rem, 6.8vw, 5.3rem); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid > div:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
    .trust-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
    .category-card { grid-column: span 6; }
    .category-card-wide { grid-column: span 6; }
    .category-card-wide .category-media { aspect-ratio: 4 / 3; }
    .showcase-grid, .inspiration-grid { gap: 46px; }
    .faq-grid { gap: 60px; }
}

@media (max-width: 820px) {
    :root { --shell: calc(100vw - 36px); }
    .section-pad { padding: 80px 0; }
    .site-header { position: relative; }
    .header-inner { min-height: 70px; }
    .brand img { width: 150px; }
    .menu-toggle {
        display: block;
        position: relative;
        width: 42px; height: 42px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    .menu-toggle span { position: absolute; left: 8px; right: 8px; top: 17px; height: 1px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
    .menu-toggle span:last-child { top: 24px; }
    .menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
    .primary-nav {
        position: absolute;
        top: 70px;
        left: 0; right: 0;
        display: grid;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        transform-origin: top;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity .2s ease, transform .2s ease;
    }
    .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
    .primary-nav a { padding: 17px 18px; border-top: 1px solid var(--line); }
    .primary-nav a::after { display: none; }
    .hero { padding-top: 36px; }
    .hero-grid { grid-template-columns: 1fr; gap: 52px; }
    .hero-copy { padding-top: 10px; }
    .hero h1 { font-size: clamp(3.55rem, 12vw, 6.5rem); }
    .hero-art { max-width: 610px; margin-inline: auto; }
    .hero-frame { max-width: none; }
    .split-heading { grid-template-columns: 1fr; gap: 24px; }
    .category-grid { gap: 18px; }
    .showcase-grid, .inspiration-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 54px; }
    .showcase-image { order: 2; }
    .steps-grid { grid-template-columns: 1fr; }
    .step, .step:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
    .step-number { margin-bottom: 28px; }
    .faq-intro { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-meta { justify-items: start; grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 620px) {
    :root { --shell: calc(100vw - 28px); }
    body { font-size: 15px; }
    .section-pad { padding: 68px 0; }
    .hero { padding-bottom: 72px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
    .hero-lede { font-size: 16px; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
    .hero-actions .text-link { width: max-content; }
    .hero-notes { display: grid; gap: 7px; }
    .hero-notes span::after { display: none; }
    .art-label-top { left: 12px; }
    .art-label-bottom { right: 12px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid > div { padding: 18px 14px; display: grid; gap: 1px; }
    .trust-grid strong { font-size: 24px; }
    .trust-grid span { font-size: 9px; }
    .category-card, .category-card-wide { grid-column: 1 / -1; }
    .category-copy h3 { font-size: 28px; }
    .showcase-copy blockquote { font-size: 23px; margin: 30px 0; }
    .material-list > div { grid-template-columns: 1fr; gap: 6px; }
    .faq-list summary { font-size: 21px; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-meta { grid-column: auto; }
    .modal { padding: 12px; align-items: end; }
    .modal-panel { width: 100%; max-height: calc(100vh - 24px); padding: 42px 24px 24px; }
    .modal-panel h2 { font-size: clamp(2.55rem, 13vw, 3.65rem); }
    .modal-icon { width: 54px; height: 54px; margin-bottom: 23px; }
    .modal-close { top: 12px; right: 12px; }
    .summary-list li { grid-template-columns: 42px 1fr; min-height: 76px; }
    .summary-list p { font-size: 18px; }
    .download-disabled { position: sticky; bottom: 0; }
    .legal-page, .contact-page, .not-found { padding-top: 70px; }
}

@media (max-width: 360px) {
    :root { --shell: calc(100vw - 22px); }
    .hero h1 { font-size: 3rem; }
    .hero-notes { font-size: 10px; }
    .modal-panel { padding-left: 18px; padding-right: 18px; }
    .summary-list { margin-inline: -2px; }
    .windows-icon { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
