:root {
    --ink: #11110f;
    --cream: #f5eedb;
    --paper: #fffdf6;
    --yellow: #f5b71b;
    --orange: #ef6d20;
    --muted: #6b685f;
    --line: rgba(17, 17, 15, .18);
    --radius: 26px;
    --shadow: 0 28px 80px rgba(28, 23, 11, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Manrope", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
button, input { font: inherit; }
a { color: inherit; }

.page-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .045;
    z-index: 20;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.site-header {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.06em; }
.brand-logo { width: 92px; height: 46px; display: block; object-fit: contain; mix-blend-mode: multiply; }
.brand-rule { width: 2px; height: 25px; background: var(--yellow); transform: rotate(16deg); }
.brand-print { font-family: "DM Mono", monospace; font-size: 13px; letter-spacing: .16em; }
.site-header nav { display: flex; align-items: center; gap: 36px; }
.site-header nav a { font-size: 13px; font-weight: 700; text-decoration: none; }
.nav-cta { border: 1.5px solid var(--ink); border-radius: 99px; padding: 12px 18px; transition: .25s ease; }
.nav-cta:hover { background: var(--ink); color: white; transform: translateY(-2px); }
.nav-cta span { margin-left: 6px; }

.hero {
    width: min(1440px, calc(100% - 64px));
    min-height: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr .92fr;
    align-items: center;
    gap: clamp(40px, 7vw, 110px);
    padding: 72px 0 94px;
}
.eyebrow, .section-index { font-family: "DM Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.eyebrow span { width: 32px; height: 3px; background: var(--orange); }
.hero h1, .section-heading h2, .steps-section h2, .contact-banner h2 {
    margin: 0;
    font-size: clamp(64px, 7.1vw, 112px);
    line-height: .9;
    letter-spacing: -.075em;
    font-weight: 800;
}
.hero h1 em, .steps-section h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--orange); }
.hero-lead { max-width: 570px; margin: 36px 0 32px; font-size: 18px; line-height: 1.65; color: #4d4a43; }
.primary-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 8px 8px 8px 0;
    text-decoration: none;
    font-weight: 800;
    border-bottom: 2px solid var(--ink);
}
.link-orbit { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); transition: transform .25s ease; }
.primary-link:hover .link-orbit { transform: rotate(45deg); }
.hero-note { margin-top: 44px; display: flex; align-items: center; gap: 9px; font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .05em; color: var(--muted); }
.pulse-dot, .live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #20a05a; box-shadow: 0 0 0 0 rgba(32,160,90,.5); animation: pulse 2s infinite; }

.hero-art { min-height: 610px; position: relative; display: grid; place-items: center; }
.image-frame {
    width: min(450px, 90%);
    aspect-ratio: .72;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 220px 220px 28px 28px;
    box-shadow: 18px 20px 0 var(--yellow);
    transform: rotate(2deg);
    background: #ead18c;
}
.image-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: scale(1.045); transition: opacity .85s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.image-frame img.is-active { opacity: 1; transform: scale(1); }
.hero-art:hover .image-frame img.is-active { transform: scale(1.025); }
.image-controls { position: absolute; z-index: 4; right: 3%; bottom: 5%; display: flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1.5px solid var(--ink); border-radius: 99px; background: rgba(255,253,246,.9); box-shadow: 4px 5px 0 rgba(17,17,15,.18); backdrop-filter: blur(8px); }
.image-dot { width: 8px; height: 8px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; transition: .25s ease; }
.image-dot:hover { transform: scale(1.25); }
.image-dot.is-active { width: 23px; border-radius: 99px; background: var(--orange); }
.art-sticker { position: absolute; z-index: 2; font-family: "DM Mono", monospace; font-weight: 500; font-size: 11px; letter-spacing: .1em; border: 1.5px solid var(--ink); background: var(--paper); padding: 11px 15px; box-shadow: 5px 5px 0 var(--ink); }
.sticker-one { top: 11%; left: 1%; transform: rotate(-8deg); }
.sticker-two { right: -2%; bottom: 19%; transform: rotate(7deg); background: var(--orange); color: white; }
.book-chip { position: absolute; left: -3%; bottom: 3%; z-index: 3; display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 16px; padding: 14px 18px; box-shadow: 7px 8px 0 rgba(17,17,15,.14); animation: float 4s ease-in-out infinite; }
.book-chip svg { width: 34px; height: 34px; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.7; }
.book-chip span { display: flex; flex-direction: column; font-size: 11px; }
.book-chip strong { font-size: 14px; }
.scribble { position: absolute; right: 0; top: 8%; font-size: 52px; color: var(--orange); animation: spin 12s linear infinite; }

.quote-section { background: var(--ink); color: var(--paper); padding: 110px max(32px, calc((100vw - 1440px) / 2)); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.section-heading h2 { font-size: clamp(50px, 5.5vw, 82px); margin-top: 16px; }
.section-heading p { max-width: 430px; margin: 0 0 8px; color: #aaa79d; line-height: 1.7; }
.section-index { color: var(--yellow); }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(350px, .72fr); gap: 28px; align-items: start; }
.config-panel { background: #f5f0e4; color: var(--ink); border-radius: var(--radius); padding: clamp(26px, 4vw, 52px); }
.form-block { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-block legend, .block-label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 14px; font-weight: 800; }
.form-block legend span, .block-label > span { width: 25px; height: 25px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--yellow); font-family: "DM Mono"; font-size: 9px; }
.print-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.print-choice { min-height: 104px; position: relative; display: flex; align-items: center; gap: 15px; padding: 20px; border: 1.5px solid #c7c0b1; border-radius: 18px; background: rgba(255,255,255,.5); cursor: pointer; transition: .25s ease; }
.print-choice:hover { border-color: var(--ink); transform: translateY(-2px); }
.print-choice.is-selected { border-color: var(--ink); background: var(--paper); box-shadow: 5px 6px 0 var(--yellow); }
.print-choice input { position: absolute; opacity: 0; }
.print-choice > span:nth-of-type(2) { display: flex; flex-direction: column; gap: 3px; }
.print-choice small { color: var(--muted); font-size: 10px; }
.print-choice b { position: absolute; top: 10px; right: 12px; font-family: "DM Mono"; font-size: 7px; letter-spacing: .08em; color: #188c50; }
.print-choice .soon-label { color: var(--orange); }
.print-icon { width: 48px; height: 54px; flex: 0 0 auto; position: relative; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 5px; background: #ece7dc; overflow: hidden; }
.mono-icon i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(90deg, var(--ink) 50%, white 50%); border: 1px solid var(--ink); }
.color-icon { display: flex; justify-content: center; gap: 0; }
.color-icon i { width: 12px; height: 28px; opacity: .9; }
.color-icon i:nth-child(1) { background: #e94367; }
.color-icon i:nth-child(2) { background: #f0ba19; }
.color-icon i:nth-child(3) { background: #209ac8; }
.format-block, .cover-block { margin-top: 38px; padding-top: 34px; border-top: 1px solid #d2cabb; }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.choice-card { min-height: 150px; position: relative; display: flex; align-items: center; gap: 20px; padding: 24px; border: 1.5px solid #c7c0b1; border-radius: 18px; cursor: pointer; transition: .25s ease; background: rgba(255,255,255,.5); }
.choice-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.choice-card.is-selected { border-color: var(--ink); background: var(--paper); box-shadow: 5px 6px 0 var(--yellow); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.book-shape { flex: 0 0 auto; display: grid; place-items: center; background: #eee1bd; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: .25s ease; }
.book-small { width: 64px; height: 90px; }
.book-compact { width: 59px; height: 88px; }
.book-large { width: 68px; height: 96px; }
.book-a4 { width: 68px; height: 98px; }
.book-square { width: 78px; height: 78px; }
.book-shape i { font-family: "DM Mono"; font-size: 9px; font-style: normal; transform: rotate(-90deg); white-space: nowrap; }
.choice-card.is-selected .book-shape { background: var(--yellow); transform: rotate(-3deg); }
.choice-copy { display: flex; flex-direction: column; gap: 4px; }
.choice-copy strong { font-size: 17px; }
.choice-copy small, .field-hint, .locked-option small, .toggle-copy small { color: var(--muted); font-size: 11px; }
.choice-check { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; display: grid; place-items: center; color: white; background: var(--ink); border-radius: 50%; font-size: 12px; opacity: 0; transform: scale(.5); transition: .2s ease; }
.choice-card.is-selected .choice-check { opacity: 1; transform: scale(1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-top: 1px solid #d2cabb; margin-top: 38px; padding-top: 34px; }
.number-control { height: 58px; display: grid; grid-template-columns: 54px 1fr 54px; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); }
.number-control button { border: 0; background: transparent; font-size: 23px; cursor: pointer; transition: .2s; }
.number-control button:hover { background: var(--yellow); }
.number-control input { width: 100%; border: 0; border-inline: 1px solid #d7d0c3; background: transparent; text-align: center; font-size: 18px; font-weight: 800; outline: none; appearance: textfield; }
.number-control input::-webkit-inner-spin-button { appearance: none; }
.field-hint { display: block; margin-top: 8px; }
.locked-option, .isbn-toggle { min-height: 68px; display: flex; align-items: center; gap: 13px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); }
.paper-swatch { width: 36px; height: 43px; flex: 0 0 auto; background: #eee1bd; border: 1px solid var(--ink); border-radius: 3px; }
.locked-option > span:nth-child(2), .toggle-copy { display: flex; flex-direction: column; gap: 2px; }
.locked-option svg { width: 22px; margin-left: auto; fill: none; stroke: var(--ink); stroke-width: 2; }
.isbn-toggle { cursor: pointer; }
.isbn-toggle input { position: absolute; opacity: 0; }
.toggle-track { width: 49px; height: 28px; flex: 0 0 auto; padding: 3px; background: #aaa69e; border-radius: 99px; transition: .25s; }
.toggle-track i { display: block; width: 22px; height: 22px; border-radius: 50%; background: white; transition: .25s; box-shadow: 0 2px 5px rgba(0,0,0,.18); }
.isbn-toggle input:checked + .toggle-track { background: var(--ink); }
.isbn-toggle input:checked + .toggle-track i { transform: translateX(21px); background: var(--yellow); }
.form-error { min-height: 20px; margin: 18px 0 0; color: #b42c20; font-size: 12px; font-weight: 700; }
.locked-option.is-disabled { opacity: .35; filter: grayscale(1); }
.paper-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; transition: .2s ease; }
.paper-options.is-disabled { opacity: .35; filter: grayscale(1); }
.paper-choice { min-height: 68px; position: relative; display: flex; align-items: center; gap: 9px; padding: 10px; border: 1.5px solid #c7c0b1; border-radius: 12px; background: rgba(255,255,255,.5); cursor: pointer; transition: .2s ease; }
.paper-choice:hover { border-color: var(--ink); }
.paper-choice.is-selected { border-color: var(--ink); background: var(--paper); box-shadow: 3px 4px 0 var(--yellow); }
.paper-choice input { position: absolute; opacity: 0; }
.paper-choice > span:nth-of-type(2) { min-width: 0; display: flex; flex-direction: column; }
.paper-choice strong { font-size: 11px; white-space: nowrap; }
.paper-choice small { color: var(--muted); font-size: 8px; white-space: nowrap; }
.paper-choice > i { position: absolute; top: 6px; right: 6px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: 8px; font-style: normal; opacity: 0; transform: scale(.5); transition: .2s; }
.paper-choice.is-selected > i { opacity: 1; transform: scale(1); }
.paper-choice.is-hidden { display: none; }
.paper-choice .paper-swatch { width: 29px; height: 39px; }
.white-paper { background: #fff; }
.color-paper-choice { grid-column: 1 / -1; }
.coated-paper { position: relative; background: linear-gradient(145deg, #fff 0 45%, #d9d9d6 46% 54%, #fff 55%); }
.coated-paper::after { content: "CMYK"; position: absolute; left: 3px; bottom: 3px; font-family: "DM Mono"; font-size: 5px; color: var(--ink); }
.choice-card.is-unavailable { opacity: .32; filter: grayscale(1); cursor: not-allowed; box-shadow: none; transform: none; }
.choice-card.is-hidden { display: none; }
.cover-spec { margin: -7px 0 18px 35px; color: var(--muted); font-size: 11px; }
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.finish-choice { min-height: 88px; position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid #c7c0b1; border-radius: 14px; background: rgba(255,255,255,.5); cursor: pointer; transition: .25s ease; }
.finish-choice:hover { border-color: var(--ink); }
.finish-choice.is-selected { border-color: var(--ink); background: var(--paper); box-shadow: 4px 5px 0 var(--yellow); }
.finish-choice input { position: absolute; opacity: 0; }
.finish-choice > span:nth-of-type(2) { display: flex; flex-direction: column; gap: 2px; }
.finish-choice small { color: var(--muted); font-size: 10px; }
.finish-choice > i { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-style: normal; font-size: 10px; opacity: 0; transform: scale(.5); transition: .2s; }
.finish-choice.is-selected > i { opacity: 1; transform: scale(1); }
.finish-sample { width: 46px; height: 56px; flex: 0 0 auto; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--orange); overflow: hidden; }
.matte-sample { background: linear-gradient(135deg, #e05f1d, #f28d43); }
.gloss-sample { position: relative; background: linear-gradient(135deg, #ef5e18, #ffb52b); }
.gloss-sample::after { content: ""; position: absolute; width: 11px; height: 80px; left: 8px; top: -15px; transform: rotate(28deg); background: rgba(255,255,255,.62); }

.result-card { position: sticky; top: 20px; overflow: hidden; color: var(--ink); background: var(--yellow); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.result-card::before { content: ""; position: absolute; width: 170px; height: 170px; border: 38px solid rgba(255,255,255,.18); border-radius: 50%; right: -100px; top: 100px; }
.result-topline { position: relative; display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1.5px solid rgba(17,17,15,.28); font-family: "DM Mono"; font-size: 10px; letter-spacing: .1em; font-weight: 500; }
.live-badge { display: flex; align-items: center; gap: 7px; }
.result-edition { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 26px 0; }
.result-edition div { display: flex; flex-direction: column; gap: 3px; }
.result-edition small { font-family: "DM Mono"; font-size: 9px; }
.result-edition strong { font-size: 27px; letter-spacing: -.04em; }
.mini-book { width: 43px; height: 60px; padding: 7px; border: 1.5px solid var(--ink); border-radius: 3px; background: #f5e8c4; box-shadow: 4px 4px 0 var(--ink); transition: .3s; }
.mini-book i { display: block; height: 100%; border-left: 1px solid var(--ink); }
.mini-book.is-large { width: 48px; height: 66px; }
.mini-book.is-square { width: 60px; height: 60px; }
.summary-list { position: relative; margin: 0; padding: 0 0 14px; }
.summary-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(17,17,15,.27); font-size: 12px; }
.summary-list dt { color: rgba(17,17,15,.7); }
.summary-list dd { margin: 0; font-weight: 800; text-align: right; }
.summary-list small { display: block; font-size: 8px; font-weight: 500; }
.unit-spotlight { position: relative; margin: 10px 0 20px; padding: 19px 20px 18px; overflow: hidden; color: white; background: var(--ink); border-radius: 15px; box-shadow: 6px 7px 0 rgba(255,255,255,.35); }
.unit-spotlight::after { content: "×1"; position: absolute; right: -5px; bottom: -26px; font-size: 78px; font-weight: 800; letter-spacing: -.08em; color: rgba(255,255,255,.07); }
.unit-spotlight > span { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; font-family: "DM Mono"; font-size: 9px; letter-spacing: .09em; color: var(--yellow); }
.unit-spotlight small { font-family: "Manrope"; font-size: 8px; color: rgba(255,255,255,.55); }
.unit-spotlight strong { position: relative; z-index: 1; display: block; margin-top: 7px; font-size: clamp(50px, 4.6vw, 68px); line-height: .95; letter-spacing: -.075em; white-space: nowrap; }
.price-area { position: relative; margin-top: 12px; }
.subtotal { display: flex; justify-content: space-between; padding: 6px 0; font-size: 12px; }
.grand-total { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 13px; padding-top: 18px; border-top: 2px solid var(--ink); }
.grand-total > span { font-family: "DM Mono"; font-weight: 500; font-size: 11px; }
.grand-total small { font-size: 8px; font-family: "Manrope"; }
.grand-total strong { font-size: clamp(34px, 3.3vw, 52px); line-height: 1; letter-spacing: -.06em; }
.quote-warning { margin: 17px 0 0; padding: 12px 13px; border: 1.5px solid var(--ink); border-radius: 10px; background: rgba(255,255,255,.32); font-size: 9px; line-height: 1.45; }
.quote-warning strong { display: block; margin-bottom: 2px; font-family: "DM Mono"; font-size: 9px; letter-spacing: .08em; }
.pdf-button { position: relative; width: 100%; margin-top: 25px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border: 1.5px solid var(--ink); border-radius: 12px; color: white; background: var(--ink); font-size: 12px; font-weight: 800; cursor: pointer; transition: .25s ease; }
.pdf-button:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); box-shadow: 5px 5px 0 rgba(17,17,15,.2); }
.pdf-button:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
.pdf-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.proceed-button { width: 100%; margin-top: 10px; display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border: 1.5px solid var(--ink); border-radius: 12px; color: var(--ink); background: var(--paper); font-size: 12px; font-weight: 800; cursor: pointer; transition: .25s ease; }
.proceed-button:hover { color: white; background: var(--orange); transform: translateY(-2px); box-shadow: 5px 5px 0 rgba(17,17,15,.2); }
.proceed-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.shipping-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 15px 0 0; font-size: 9px; }
.shipping-note span { width: 15px; height: 15px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia; }

.steps-section { padding: 120px max(32px, calc((100vw - 1440px) / 2)); }
.steps-section .section-index { color: var(--orange); }
.steps-section h2 { font-size: clamp(54px, 6vw, 90px); margin: 18px 0 64px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.steps-grid article { position: relative; min-height: 260px; padding: 34px 34px 20px 0; border-right: 1px solid var(--line); }
.steps-grid article + article { padding-left: 34px; }
.steps-grid article:last-child { border: 0; }
.steps-grid article > span { position: absolute; top: -19px; left: 0; width: 38px; height: 38px; display: grid; place-items: center; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 50%; font-family: "DM Mono"; font-size: 11px; }
.steps-grid article + article > span { left: 34px; }
.steps-grid h3 { margin: 45px 0 12px; font-size: 27px; letter-spacing: -.04em; }
.steps-grid p { max-width: 320px; color: var(--muted); line-height: 1.65; }

.contact-banner { margin: 0 32px 32px; padding: clamp(42px, 6vw, 90px); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; background: var(--orange); color: white; border-radius: 28px; overflow: hidden; position: relative; }
.contact-banner::after { content: "✦"; position: absolute; right: 40%; top: 12%; font-size: 70px; color: var(--yellow); opacity: .8; }
.contact-banner > div > span { font-family: "DM Mono"; font-size: 11px; letter-spacing: .1em; }
.contact-banner h2 { margin-top: 18px; font-size: clamp(46px, 5vw, 78px); }
.contact-banner a { flex: 0 0 auto; display: flex; align-items: center; gap: 30px; padding: 18px 22px; border: 1.5px solid white; border-radius: 99px; text-decoration: none; font-weight: 800; transition: .25s; }
.contact-banner a:hover { background: white; color: var(--orange); transform: translateY(-3px); }
.contact-banner a span { font-size: 22px; }

.site-footer { padding: 72px max(32px, calc((100vw - 1440px) / 2)) 28px; color: var(--paper); background: var(--ink); }
.site-footer .brand-logo { filter: invert(1); mix-blend-mode: normal; }
.footer-main { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 54px; }
.footer-main > div > p { max-width: 430px; margin: 20px 0 0; color: #aaa79d; font-size: 13px; line-height: 1.6; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 52px; align-content: start; }
.footer-main nav a { color: #d8d5cb; font-size: 12px; text-decoration: none; transition: .2s; }
.footer-main nav a:hover, .footer-main nav a[aria-current="page"] { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom p, .footer-bottom address { margin: 0; color: #817e75; font-family: "DM Mono"; font-size: 9px; font-style: normal; letter-spacing: .03em; }

.terms-hero { width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 100px 0 90px; }
.terms-hero h1 { margin: 0; font-size: clamp(72px, 9vw, 138px); line-height: .83; letter-spacing: -.08em; font-weight: 800; }
.terms-hero h1 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; }
.terms-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 55px; padding-top: 28px; border-top: 1px solid var(--line); }
.terms-intro > p { max-width: 600px; margin: 0; color: #4d4a43; font-size: 20px; line-height: 1.6; }
.terms-intro > span { flex: 0 0 auto; font-family: "DM Mono"; color: var(--muted); font-size: 9px; line-height: 1.7; text-align: right; }
.terms-intro strong { color: var(--ink); font-size: 10px; }
.terms-shell { display: grid; grid-template-columns: 230px minmax(0, 820px); justify-content: center; gap: clamp(50px, 7vw, 110px); padding: 100px 32px 130px; background: #ede5d2; border-top: 1.5px solid var(--ink); }
.terms-index { position: sticky; top: 30px; align-self: start; padding-top: 8px; }
.terms-index > span { display: block; margin-bottom: 25px; font-family: "DM Mono"; font-size: 9px; letter-spacing: .12em; color: var(--orange); }
.terms-index nav { display: flex; flex-direction: column; }
.terms-index a { padding: 10px 0; border-bottom: 1px solid rgba(17,17,15,.12); color: var(--muted); font-family: "DM Mono"; font-size: 9px; text-decoration: none; transition: .2s; }
.terms-index a:hover { padding-left: 5px; color: var(--ink); }
.terms-content { min-width: 0; }
.terms-alert { margin-bottom: 24px; padding: 28px 30px; color: var(--paper); background: var(--ink); border-radius: 18px; box-shadow: 7px 8px 0 var(--yellow); }
.terms-alert strong { display: block; margin-bottom: 8px; color: var(--yellow); font-family: "DM Mono"; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.terms-alert p { margin: 0; color: #dbd7cc; line-height: 1.7; }
.terms-content > section { position: relative; padding: 38px 40px 40px 92px; background: var(--paper); border-bottom: 1px solid #ddd5c5; }
.terms-content > section:first-of-type { border-radius: 18px 18px 0 0; }
.terms-content > section:nth-last-of-type(1) { border-bottom: 0; border-radius: 0 0 18px 18px; }
.terms-content > section > span { position: absolute; left: 35px; top: 41px; width: 35px; height: 35px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; font-family: "DM Mono"; font-size: 9px; }
.terms-content h2 { margin: 0 0 18px; font-size: 25px; letter-spacing: -.035em; }
.terms-content p { margin: 0; color: #555149; font-size: 14px; line-height: 1.8; }
.terms-content p + p { margin-top: 14px; }
.terms-content a { font-weight: 700; text-underline-offset: 3px; }
.legal-review-note { margin: 26px 0 0 !important; padding: 18px 22px; border: 1.5px dashed var(--ink); border-radius: 12px; color: var(--ink) !important; font-family: "DM Mono"; font-size: 9px !important; line-height: 1.6 !important; }

.success-toast { position: fixed; right: 24px; top: 20px; z-index: 100; width: min(460px, calc(100% - 48px)); display: flex; align-items: center; gap: 13px; padding: 17px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 15px; box-shadow: 8px 9px 0 var(--yellow); animation: toastIn .5s cubic-bezier(.2,.8,.2,1); }
.success-toast > span { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: #178f4f; }
.success-toast > div { display: flex; flex-direction: column; gap: 2px; }
.success-toast strong { font-size: 13px; }
.success-toast small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.success-toast button { margin-left: auto; border: 0; background: transparent; font-size: 22px; cursor: pointer; }

.request-dialog { width: min(820px, calc(100% - 36px)); max-height: calc(100vh - 40px); margin: auto; padding: 0; overflow-x: hidden; overflow-y: auto; color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 25px; box-shadow: 18px 20px 0 rgba(17,17,15,.3); }
.request-dialog::backdrop { background: rgba(17,17,15,.72); backdrop-filter: blur(6px); }
.dialog-heading { display: flex; justify-content: space-between; gap: 30px; padding: 38px 42px 24px; }
.dialog-heading h2 { margin: 10px 0 0; font-size: clamp(42px, 6vw, 68px); line-height: .9; letter-spacing: -.065em; }
.dialog-close { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; font-size: 25px; cursor: pointer; transition: .2s; }
.dialog-close:hover { color: white; background: var(--ink); transform: rotate(8deg); }
.dialog-lead { max-width: 650px; margin: 0; padding: 0 42px; color: var(--muted); line-height: 1.65; }
.dialog-quote { margin: 24px 42px 0; padding: 13px 16px; color: var(--paper); background: var(--ink); border-radius: 10px; font-family: "DM Mono"; font-size: 9px; line-height: 1.5; letter-spacing: .03em; }
.request-form { margin-top: 28px; padding: 32px 42px 40px; background: #eee6d4; border-top: 1px solid var(--line); }
.request-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.request-grid label, .request-full { display: flex; flex-direction: column; gap: 7px; }
.request-full { margin-top: 18px; }
.request-form label > span:first-child { font-size: 10px; font-weight: 800; }
.request-form input[type="text"], .request-form input[type="email"], .request-form input[type="tel"], .request-form textarea { width: 100%; border: 1.5px solid #aaa294; border-radius: 10px; outline: none; color: var(--ink); background: var(--paper); transition: .2s; }
.request-form input[type="text"], .request-form input[type="email"], .request-form input[type="tel"] { height: 50px; padding: 0 14px; }
.request-form textarea { padding: 13px 14px; resize: vertical; }
.request-form input:focus, .request-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245,183,27,.35); }
.file-drop { min-height: 105px; margin-top: 18px; display: flex; align-items: center; gap: 17px; padding: 20px; border: 1.5px dashed var(--ink); border-radius: 13px; background: rgba(255,255,255,.42); cursor: pointer; transition: .2s; }
.file-drop:hover { background: var(--paper); box-shadow: 4px 5px 0 var(--yellow); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop svg { width: 34px; flex: 0 0 auto; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.file-drop > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.file-drop strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.file-drop small { color: var(--muted); font-size: 9px; }
.privacy-check { margin-top: 20px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 10px; line-height: 1.55; }
.privacy-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.privacy-check a { color: var(--ink); font-weight: 800; }
.send-request-button { width: 100%; margin-top: 22px; display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; border: 1.5px solid var(--ink); border-radius: 11px; color: white; background: var(--orange); font-weight: 800; cursor: pointer; transition: .25s; }
.send-request-button:hover { color: var(--ink); background: var(--yellow); box-shadow: 5px 6px 0 var(--ink); transform: translateY(-2px); }
.send-request-button span { font-size: 21px; }
.request-security { display: flex; justify-content: center; gap: 7px; margin: 15px 0 0; color: var(--muted); font-size: 9px; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@keyframes toastIn { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; transform: translateY(0); } }

@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(32,160,90,0); } 100% { box-shadow: 0 0 0 0 rgba(32,160,90,0); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
    .hero { grid-template-columns: 1fr 1fr; gap: 30px; }
    .hero-art { min-height: 520px; }
    .quote-layout { grid-template-columns: 1fr; }
    .result-card { position: relative; top: 0; }
    .section-heading { align-items: flex-start; }
}

@media (max-width: 760px) {
    .site-header { width: calc(100% - 36px); height: 76px; }
    .site-header nav > a:first-child { display: none; }
    .hero { width: calc(100% - 36px); min-height: auto; grid-template-columns: 1fr; padding: 64px 0 80px; }
    .hero h1 { font-size: clamp(58px, 18vw, 82px); }
    .hero-lead { font-size: 16px; }
    .hero-art { min-height: 520px; margin-top: 20px; }
    .image-frame { width: 82%; box-shadow: 11px 13px 0 var(--yellow); }
    .sticker-two { right: 0; }
    .book-chip { left: 0; }
    .quote-section, .steps-section { padding: 76px 18px; }
    .section-heading { display: block; margin-bottom: 38px; }
    .section-heading p { margin-top: 24px; }
    .config-panel, .result-card { border-radius: 20px; padding: 24px 18px; }
    .print-type-grid, .format-grid, .form-row, .cover-grid { grid-template-columns: 1fr; }
    .form-row { gap: 30px; }
    .choice-card { min-height: 126px; }
    .steps-grid { grid-template-columns: 1fr; border-top: 0; }
    .steps-grid article, .steps-grid article + article { min-height: 210px; padding: 24px 10px; border-top: 1px solid var(--ink); border-right: 0; }
    .steps-grid article > span, .steps-grid article + article > span { top: -19px; left: auto; right: 8px; }
    .contact-banner { margin: 0 18px 18px; padding: 44px 24px; display: block; }
    .contact-banner a { margin-top: 36px; justify-content: space-between; }
    .contact-banner::after { display: none; }
    .site-footer { padding: 52px 18px 24px; }
    .footer-main, .footer-bottom { flex-direction: column; }
    .footer-main { gap: 40px; padding-bottom: 38px; }
    .footer-main nav { grid-template-columns: 1fr; gap: 12px; }
    .footer-bottom { gap: 10px; }
    .terms-hero { width: calc(100% - 36px); padding: 70px 0 65px; }
    .terms-hero h1 { font-size: clamp(62px, 20vw, 94px); }
    .terms-intro { display: block; margin-top: 38px; }
    .terms-intro > p { font-size: 16px; }
    .terms-intro > span { display: block; margin-top: 25px; text-align: left; }
    .terms-shell { display: block; padding: 62px 18px 80px; }
    .terms-index { display: none; }
    .terms-alert { padding: 24px 20px; }
    .terms-content > section { padding: 30px 22px 32px; }
    .terms-content > section > span { position: static; width: 30px; height: 30px; margin-bottom: 18px; }
    .success-toast { right: 18px; top: 15px; width: calc(100% - 36px); }
    .request-dialog { max-height: calc(100vh - 20px); }
    .dialog-heading { padding: 28px 20px 18px; }
    .dialog-lead { padding: 0 20px; }
    .dialog-quote { margin: 20px 20px 0; }
    .request-form { padding: 26px 20px 30px; }
    .request-grid { grid-template-columns: 1fr; }
}

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