/* Real book photograph by Pezibear / Pixabay (657602). Light and depth are CSS, not a generated image. */
.bar .brand-lockup{display:inline-flex;flex-direction:column;gap:4px;flex-shrink:0;text-decoration:none}
.bar .brand-lockup .word{font-size:clamp(26px,2.8vw,38px);line-height:1.06;letter-spacing:-.055em}
.brand-signature{font:400 9px/1.2 Onest,sans-serif;letter-spacing:.14em;color:#bcb8a5;padding-left:2px}
.bar{padding-block:15px}
/* Ink is explicit: the surrounding dark section must not bleed cream text onto paper. */
.start .form,.chips span{color:#382b1f}
.chips label{position:relative}
.chips input{width:1px;height:1px;inset:0;clip-path:inset(50%)}
.start--book{padding-block:clamp(46px,7vw,106px);overflow:hidden;background:#151813}
.book-wrap{width:min(1440px,100%);max-width:none;padding:0 12px}
.book-scene{position:relative;isolation:isolate;margin-inline:auto;width:min(630px,100%);padding:48px clamp(24px,6vw,62px) 38px;color:#35271d;background:#ddc397;box-shadow:3px 4px 0 #9d7a4c,5px 7px 0 #b29160,9px 13px 0 #433320,0 30px 55px #0006;border-radius:2px 9px 13px 3px;transform-origin:center 75%}
.book-photograph{display:block;position:absolute;inset:0;z-index:-3;overflow:hidden;border-radius:inherit;pointer-events:none}
.book-photograph img{width:100%;height:100%;object-fit:fill;filter:saturate(.63) brightness(1.13)}
.book-scene::before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;border-radius:inherit;background:rgba(248,233,196,.48);box-shadow:inset 12px 0 26px #65401e22,inset -3px 0 2px #6c502938}
.book-light{position:absolute;inset:-1px;z-index:-1;pointer-events:none;border-radius:inherit;opacity:.1;background:radial-gradient(ellipse at 12% 4%,rgba(255,238,187,.44),transparent 68%);transition:opacity 1.6s ease-out}
.book-scene.is-lit .book-light{opacity:1}
.book-intro{text-align:center;margin-bottom:30px}
.book-imprint{font:400 11px/1.7 Georgia,'Times New Roman',serif;letter-spacing:.1em;text-transform:uppercase;color:#59422d}
.book-imprint span{font-size:10px;letter-spacing:.19em}
.start .book-intro h2{font:400 clamp(34px,8vw,48px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:#32251b;margin:23px 0 8px;text-shadow:.3px .2px #34201140}
.book-ornament{display:block;font:25px/1 Georgia,serif;color:#755532;margin:10px 0}
.book-letter{font:400 17px/1.5 Georgia,'Times New Roman',serif;color:#483321;margin:16px auto 0}
.book-invitation,.book-private,.book-intro .book-page-number{display:none}
.book-form{padding:0!important;background:none;gap:18px;color:#35271d;position:relative;z-index:1}
.book-form-title{display:none}
.book-form .chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 8px;min-width:0}
.book-form .chips legend{font:400 12px/1.5 Georgia,serif;letter-spacing:.04em;color:#5d422c;text-transform:none;margin-bottom:10px}
.book-form .chips span{justify-content:center;text-align:center;min-height:48px;padding:7px 3px;font:400 15px/1.12 Georgia,'Times New Roman',serif;color:#3b2a1c;border:0;border-bottom:1px solid #6b4a2e65;background:transparent;border-radius:40% 2px 38% 1px}
.book-form .chips input:checked+span{color:#2f2218;background:#7c512527;border-bottom:2px solid #694622;font-style:italic;box-shadow:inset 0 -5px #a97f3410}
.book-form .chips input:focus-visible+span{outline:2px solid #5c3b20;outline-offset:3px}
.book-form .chips label:hover span{background:#79562f12}
.book-form .field{gap:4px;min-width:0}
.book-form .field>span:not(.phone-control){font:400 12px/1.45 Georgia,serif;letter-spacing:.015em;text-transform:none;color:#563e28}
.book-form .field input,.book-form .field textarea{font:400 16px/1.45 Georgia,'Times New Roman',serif;color:#30251c;background:transparent;border:0;border-bottom:1px solid #62422570;padding:9px 0;min-height:44px;box-shadow:none;border-radius:0}
.book-form .field textarea{min-height:64px;max-height:112px;resize:vertical;background:repeating-linear-gradient(transparent,transparent 23px,#65492b25 23px,#65492b25 24px);line-height:24px;padding:0;}
.book-form input::placeholder,.book-form textarea::placeholder{color:#705b43;opacity:1}
.book-contact-row{display:grid;gap:18px}
.book-form .phone-control{background:transparent;border:0;border-bottom:1px solid #62422570;padding:0;gap:8px;color:#30251c;font:400 16px/1.45 Georgia,serif}
.book-form .phone-control input{border:0;padding:9px 0}
.book-form .phone-prefix{font:inherit}
.book-form .field input:focus,.book-form .field textarea:focus,.book-form .phone-control:focus-within{outline:0;border-bottom-color:#302116}
.book-form .field.is-bad input,.book-form .field.is-bad textarea,.book-form .field.is-bad .phone-control{border-bottom-color:#8d2922}
.book-form .consent{font:400 11px/1.5 Onest,sans-serif;color:#51402e;gap:8px;grid-template-columns:20px minmax(0,1fr);margin-top:2px}
.book-form .consent input{accent-color:#624023;width:18px;height:18px;background:transparent}
.book-form .btn--send{background:#5b3924;color:#fff0d4;min-height:48px;border-radius:3px 1px 4px 1px;padding:12px 16px;gap:16px;font:400 17px/1.2 Georgia,serif;box-shadow:0 2px 0 #362116}
.book-form .btn--send:hover{background:#70492b}
.book-form .form-note{font:400 13px/1.5 Onest,sans-serif;color:#382b1f}
.book-form .form-note.is-bad{color:#8d2922}
.book-page-number{display:block;text-align:center;font:14px/1 Georgia,serif;color:#765539;margin-top:24px}
.book-afterword{text-align:center;color:#bcb7a5;font:400 13px/1.6 Onest,sans-serif;max-width:520px;margin:30px auto 0}
/* The compact dialog follows the same paper-and-ink language, without an awkward miniature book. */
.contact-dialog{background-image:linear-gradient(#f2e8d3db,#f2e8d3db),url('tex/book-leaf.webp');background-size:cover;border:1px solid #a48a63;border-radius:2px 7px 10px 2px;box-shadow:4px 5px 0 #bca682,8px 10px 0 #443725,0 30px 70px #0007}
.contact-dialog .field input,.contact-dialog .field textarea,.contact-dialog .phone-control{background:transparent;border-width:0 0 1px;border-radius:0}
.contact-dialog .field input,.contact-dialog .field textarea{font-family:Georgia,'Times New Roman',serif}
.contact-dialog .phone-control input{border:0}
@media(min-width:600px) and (max-width:1179px){.book-contact-row{grid-template-columns:1fr 1.3fr}.book-scene{padding-top:52px;padding-bottom:42px}}
/* Desktop coordinates follow the un-cropped 1280 × 752 photograph.
   Each ink plane has its own shear: the left leaf rises towards the spine,
   the right leaf slopes down. Folios belong to those planes, above the curls. */
@media(min-width:1180px){
 .start.start--book{padding:0;background:#897052;scroll-margin-top:0}
 .book-wrap{width:100%;padding:0}
 .book-scene,.book-scene.is-lit{container-type:inline-size;width:100%;aspect-ratio:80/47;min-height:0;padding:0;background:none;border-radius:0;box-shadow:none;transform:none;transition:none}
 .book-photograph{border-radius:0;filter:none;-webkit-mask-image:none;mask-image:none}
 .book-photograph img{object-fit:contain;filter:saturate(.66) brightness(1.13)}
 .book-scene::before{display:none}
 .book-light{background:linear-gradient(105deg,#fff1ce18,#fff4d426);opacity:1;transition:none}
 .book-intro{position:absolute;left:17.6%;top:17%;width:27%;height:62.5%;margin:0;text-align:center;transform-origin:0 0;transform:matrix(1,-.105,-.085,1,0,0);mix-blend-mode:multiply;display:flex;flex-direction:column;align-items:center}
 .book-imprint{font-size:.9cqw;line-height:1.9}
 .book-imprint span{font-size:.82cqw}
 .start .book-intro h2{font-size:3.2cqw;line-height:1.06;margin:2.1cqw 0 0;text-shadow:none}
 .book-ornament{font-size:2.1cqw;margin:1.15cqw 0}
 .book-letter{font-size:1.4cqw;line-height:1.5;margin:0}
 .book-invitation{display:block;font:400 1.15cqw/1.5 Georgia,serif;margin-top:1.65cqw;color:#45301e}
 .book-private{display:block;font:400 .85cqw/1.55 Georgia,serif;color:#45301e;margin-top:1.7cqw}
 .book-intro .book-page-number{display:block;position:absolute;inset:auto 0 0;margin:0;font-size:1cqw;color:#523a25}
 .book-form{position:absolute;left:51.1%;top:14%;width:30.5%;padding:0!important;gap:.9cqw;min-height:0;transform-origin:0 0;transform:matrix(1,.025,-.022,1,0,0);mix-blend-mode:multiply}
 .book-form-title{display:block;text-align:center;color:#3f2b1b;font:400 1.5cqw/1.2 Georgia,serif;letter-spacing:-.02em;padding-bottom:.9cqw;border-bottom:1px solid #72523145;margin:0}
 .book-form .chips{gap:.3cqw .5cqw}
 .book-form .chips legend{font-size:.9cqw;margin-bottom:.65cqw;color:#45301e}
 .book-form .chips span{font-size:1.12cqw;min-height:3.35cqw;padding:.5cqw .15cqw}
 .book-form .field{gap:.3cqw}
 .book-form .field>span:not(.phone-control){font-size:max(11px,.9cqw);color:#45301e}
 .book-form .field input,.book-form .field textarea,.book-form .phone-control{font-size:max(16px,1.2cqw);line-height:1.4}
 .book-form .field input{min-height:3.3cqw;padding:.65cqw 0}
 .book-form .field textarea{height:4.3cqw;min-height:4.3cqw;max-height:4.3cqw;resize:none;line-height:1.8cqw;background:repeating-linear-gradient(transparent,transparent calc(1.8cqw - 1px),#65492b25 calc(1.8cqw - 1px),#65492b25 1.8cqw)}
 .book-contact-row{grid-template-columns:.85fr 1.3fr;gap:1.15cqw}
 .book-form .consent{font-size:max(11px,.8cqw);line-height:1.5;gap:.6cqw;grid-template-columns:1.4cqw minmax(0,1fr);margin:0;color:#45301e}
 .book-form .consent input{width:1.35cqw;height:1.35cqw}
 .book-form .btn--send{font-size:1.3cqw;min-height:3.5cqw;padding:.85cqw 1.2cqw;box-shadow:none}
 .book-form .form-note{font-size:.9cqw;line-height:1.4}
 .book-page-number--right{position:absolute;left:51.1%;top:82%;width:30.5%;margin:0;font-size:1cqw;color:#523a25;transform-origin:0 0;transform:matrix(1,.025,-.022,1,0,0);mix-blend-mode:multiply}
 .book-afterword{max-width:none;margin:0;padding:20px 24px;background:var(--ink)}
}
@media(max-width:380px){.book-scene{padding-inline:20px}.book-form .chips span{font-size:14px}.bar .brand-lockup .word{font-size:25px}.brand-signature{font-size:8px}}
@media(prefers-reduced-motion:reduce){.book-scene,.book-scene.is-lit{transform:none!important}.book-light{transition:none;opacity:1}}
/* Mask tracks the original face coordinates through object-fit:cover at every viewport size. */
.open-rings{-webkit-mask-image:radial-gradient(ellipse var(--face-rx,190px) var(--face-ry,220px) at var(--face-x,76%) var(--face-y,32%),transparent 0 89%,#000 100%);mask-image:radial-gradient(ellipse var(--face-rx,190px) var(--face-ry,220px) at var(--face-x,76%) var(--face-y,32%),transparent 0 89%,#000 100%)}
@media(max-width:759px){.open-img{object-position:77% 36%}}
.contact-dialog .form--dialog{background:transparent}
.contact-dialog h2{font:400 clamp(30px,7vw,40px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.035em;color:#382b1f}
.book-private{color:#3d2a19}
.contact-float.is-at-book-form{visibility:hidden;opacity:0;pointer-events:none}
