:root{--paper:#f6f2e8;--ink:#252d36;--navy:#183e4b;--red:#a63c29;--line:#d3cdbf;--white:#fffef9}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.8 'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}h1,h2,h3,.brand,.footer-brand{font-family:'Yu Mincho','Hiragino Mincho ProN',serif}a{color:inherit;text-underline-offset:5px}button,input,select,textarea{font:inherit}button,a,label{touch-action:manipulation}button,a,input,select,textarea,summary{outline-offset:5px}button:not(:disabled),summary{cursor:pointer}.draft{background:var(--navy);color:white;text-align:center;padding:8px 20px;font-size:14px}header{max-width:1320px;margin:auto;padding:30px 40px;display:flex;justify-content:space-between;gap:24px;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;font-size:24px;font-weight:bold;letter-spacing:.08em}.brand small{display:block;font:10px/1.5 sans-serif;letter-spacing:.2em}.seal{border:1px solid var(--red);color:var(--red);font-size:26px;line-height:1;padding:10px}nav{display:flex;gap:28px;font-size:14px}nav a{font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;font-weight:700;text-decoration:none;white-space:nowrap}nav a:hover{color:var(--red)}main,.shop-column{max-width:1240px;margin:auto;padding:0 40px}.intro{padding:48px 0 36px;position:relative}.eyebrow{color:var(--red);font-size:14px;font-weight:600;letter-spacing:.12em;margin:0 0 12px}h1{font-size:clamp(32px,4.2vw,52px);line-height:1.5;letter-spacing:.1em;margin:0 0 14px;font-weight:500}.intro>p:last-child{margin:0;color:#555d61}.mobile{display:none}.atelier{border-top:3px solid var(--navy);background:var(--white);padding:28px 30px 18px;box-shadow:0 10px 30px #28333b08}.section-top{display:flex;justify-content:space-between;align-items:center;gap:20px}h2{font-size:28px;line-height:1.55;font-weight:500;margin:0}h3{font-size:21px;font-weight:500;margin:12px 0}.price-tag{font-size:14px;border:1px solid var(--line);padding:8px 16px;white-space:nowrap}.price-tag strong{font-size:22px;color:var(--red);margin-left:12px}.steps{display:flex;list-style:none;padding:18px 0;margin:22px 0 0;border-top:1px solid var(--line);gap:30px;font-size:14px}.steps b{color:var(--red);font-weight:normal;margin-right:8px}.steps span{background:#edf0ed;padding:2px 5px;margin-left:5px}.workbench{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line)}.input-pane,.result-pane{padding:20px;min-width:0}.input-pane{border-right:1px solid var(--line)}.result-pane{background:#f3f5f3}.pane-label{display:flex;justify-content:space-between;gap:10px;font-size:14px;margin-bottom:18px}.pane-label>span:last-child{font-size:12px;letter-spacing:.08em;color:#626b70}.dropzone{min-height:285px;border:1px dashed #a5aca8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;position:relative;background:#fcfbf6}.dropzone:hover,.dropzone.drag{background:#efece2;border-color:var(--red)}.dropzone:focus-within{outline:2px solid var(--red);outline-offset:3px}.dropzone input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.plus{font-size:38px;font-weight:200;color:var(--red)}.dropzone>span:not(.plus){font-size:14px}.dropzone small{font-size:12px;color:#656d70;margin-top:16px}.privacy,.fine{font-size:12px;line-height:1.7;color:#5e6669;margin:12px 0 0}.result-empty{text-align:center;min-height:234px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px}.outline-mark{font:32px Georgia,serif;color:#74847d}.result-empty h3{font-size:19px;margin:9px 0}.result-empty p{font-size:14px;margin:0 0 15px}.button{background:var(--navy);color:white;padding:12px 18px;display:inline-block;text-decoration:none;border:1px solid var(--navy);text-align:center;font-size:15px;border-radius:0}.button:hover:not(:disabled){background:#245768}.button:disabled{cursor:not-allowed}.muted{background:#e0e5e1;border-color:#c3ccc5;color:#59655e;font-size:14px}.result-actions{display:flex;gap:10px;margin-top:16px}.result-actions>*{flex:1}.buy:disabled{background:#e6ddd1;border-color:#d2c1ae;color:#756650}.buy small{display:block;font-size:12px}.secondary{background:transparent;color:var(--navy);display:flex;align-items:center;justify-content:center}.secondary:hover{color:white}details{font-size:14px;margin-top:18px}details:not(.shop-disclosure) p{max-width:850px;color:#596167}summary{padding:6px 0}figure{margin:0;text-align:center}figure img{height:235px;max-width:100%;object-fit:contain;background:repeating-conic-gradient(#eee 0% 25%,white 0% 50%) 0 0/16px 16px}figcaption{font-size:12px;overflow-wrap:anywhere}.text-button{border:0;background:none;text-decoration:underline;color:var(--red);font-size:14px}.error{color:#a32620;font-size:14px}.error:empty{display:none}.services{padding:70px 0}.tiny-note{font-size:12px;color:#606b6c}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:28px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}article{padding:25px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column}article:first-child{padding-left:0}article:last-child{border:0;padding-right:0}.service-number{color:var(--red);font:24px 'Yu Mincho',serif}article p{font-size:14px;margin:4px 0 12px}.service-meta{font-size:12px;color:#69716e}article a{font-size:14px;margin-top:auto;color:var(--red)}.consult{background:var(--navy);color:#f8f6ec;padding:42px;display:grid;grid-template-columns:1fr 1.1fr;gap:40px;margin-bottom:60px}.consult .eyebrow{color:#e3bf95}.consult h2{font-size:28px}.consult p{font-size:14px}form label{display:block;font-size:14px;margin:0 0 6px}form input,form textarea,form select{width:100%;min-width:0;border:1px solid #a9b3b2;background:#fcfbf6;color:var(--ink);padding:10px 12px;border-radius:0;margin-bottom:16px}form textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}form .button{background:#f2ebdd;color:var(--navy);width:100%;border-color:#f2ebdd}form .button:hover:not(:disabled){background:white}.consult .fine{color:#d4dedb}footer{border-top:1px solid var(--line);padding:32px 40px 45px;text-align:center;font-size:12px}.footer-brand{font-size:23px;letter-spacing:.15em}footer p{font-size:14px;margin:8px 0}[hidden]{display:none!important}@media(max-width:900px){nav{gap:14px}.steps{gap:16px;flex-wrap:wrap}.service-grid{grid-template-columns:1fr 1fr}article{border-bottom:1px solid var(--line)}article:first-child{padding-left:20px}article:nth-child(2){border-right:0}article:last-child{padding-right:20px}.consult{grid-template-columns:1fr}.workbench{grid-template-columns:1fr 1fr}.result-actions{flex-direction:column}}@media(max-width:620px){header{padding:20px;align-items:flex-start;flex-direction:column;gap:18px}.brand{font-size:23px}nav{width:100%;justify-content:space-between;font-size:14px}main,.shop-column{padding:0 18px}.intro{padding:32px 0 25px}.mobile{display:block}h1{font-size:34px}.intro>p:last-child{font-size:14px}.atelier{padding:20px 14px 14px}.section-top{align-items:flex-start;flex-wrap:wrap;gap:12px}h2{font-size:25px}.price-tag{padding:4px 10px}.price-tag strong{font-size:18px}.steps{gap:8px;display:grid;grid-template-columns:1fr;font-size:14px;margin-top:18px}.workbench{grid-template-columns:1fr}.input-pane{border-right:0;border-bottom:1px solid var(--line)}.input-pane,.result-pane{padding:15px}.dropzone{min-height:220px}.result-actions{flex-direction:column}.services{padding:45px 0}.service-grid{grid-template-columns:1fr}.service-grid article{padding:20px 8px;border-right:0}.service-grid article:last-child{padding-right:8px}article h3{margin:6px 0}.consult{padding:25px 20px;gap:22px;margin-bottom:35px}.consult h2{font-size:25px}.form-row{grid-template-columns:1fr;gap:0}.draft{font-size:12px}.eyebrow{font-size:12px}}

.pricing,.lab,.quality{margin-top:50px}.offer-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:24px;border:1px solid var(--line);background:var(--white)}.offer-grid article{padding:28px}.offer-grid ul{font-size:14px;padding-left:20px}.offer-price{font-size:29px!important;color:var(--navy);margin:10px 0!important}.offer-price small{font-size:14px}.lab{padding:32px;border-top:3px solid var(--red);background:#ebe7dc;margin-bottom:45px}.lab>p{max-width:850px}.lab-flow{display:grid;grid-template-columns:repeat(3,1fr);padding:0;gap:24px;list-style:none;margin:28px 0}.lab-flow b{font:24px Georgia,serif;color:var(--red)}.lab-flow p,.quality-grid p{font-size:14px}.lab-link{display:inline-block;margin-top:20px}.quality{border-top:1px solid var(--line);padding:30px 0 45px;margin:0}.quality-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.quality-grid h3{font-size:19px}@media(max-width:620px){nav{flex-wrap:wrap;justify-content:flex-start;gap:12px 20px}.offer-grid,.lab-flow,.quality-grid{grid-template-columns:1fr}.offer-grid article{padding:22px!important;border-right:0}.lab{padding:22px 18px}.lab-flow{gap:12px}.quality-grid{gap:4px}}
.memory{background:var(--white);border-top:3px solid var(--red);padding:26px 32px 32px;box-shadow:0 10px 30px #28333b08}.memory-head{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.memory-head .fine{margin:0}.memory-steps{display:flex;list-style:none;padding:0;margin:12px 0 26px;border-bottom:1px solid var(--line);gap:24px;flex-wrap:wrap}.memory-steps li{font-size:14px;color:#616866;padding:12px 0}.memory-steps li[aria-current]{color:var(--red);border-bottom:3px solid var(--red);font-weight:bold}.memory-stage>p{font-size:15px;color:#586262;margin:10px 0 20px}.memory-stage h2:focus{outline:none}.memory-stage{max-width:100%}#memory-form{max-width:820px}.memory fieldset{border:0;padding:0;margin:20px 0}.memory legend{font-size:14px;margin-bottom:10px}.memory-choices{display:flex;flex-wrap:wrap;gap:10px}.memory-choices label{position:relative;margin:0;cursor:pointer}.memory-choices input{position:absolute;opacity:0;width:1px;height:1px}.memory-choices span{display:block;border:1px solid var(--line);padding:9px 14px;font-size:14px;background:var(--paper)}.memory-choices input:checked+span{background:var(--navy);border-color:var(--navy);color:white}.memory-choices input:focus-visible+span{outline:2px solid var(--red);outline-offset:3px}.memory .button{width:auto;background:var(--navy);color:white;border-color:var(--navy);margin-top:16px}.memory .secondary{background:transparent;color:var(--navy)}.memory-controls{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.memory-controls .text-button{padding:10px 0}.memory-result{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:22px}.memory-cover{--cover-bg:#f1e8d7;--cover-ink:#29352f;background:var(--cover-bg);color:var(--cover-ink);min-height:420px;border:1px solid #273c3129;box-shadow:7px 7px 0 #263c3510;padding:28px;display:flex;flex-direction:column;align-items:center;text-align:center}.memory-cover[data-tone="blue"]{--cover-bg:#edf2f6;--cover-ink:#173b55}.memory-cover[data-tone="red"]{--cover-bg:#f6e5e1;--cover-ink:#872f29}.memory-cover>span{font-size:14px;letter-spacing:.1em}.memory-cover img{width:100%;max-height:250px;object-fit:contain;margin:22px 0 4px}.memory-cover h3{font-size:30px;line-height:1.6;overflow-wrap:anywhere;margin-top:35px}.memory-cover p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;max-width:100%}.memory-cover small{font-size:12px;margin-top:auto;padding-top:25px}.memory-summary dl{margin:12px 0}.memory-summary dt{font-size:14px;color:var(--red);padding-top:16px}.memory-summary dd{margin:6px 0 16px;white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid var(--line);padding-bottom:16px}.living{padding:50px 0 0}.living p{max-width:860px}#request{min-height:140px}@media(max-width:620px){.memory{padding:20px 16px}.memory-head{display:block}.memory-steps{gap:8px 16px}.memory-steps li{font-size:12px}.memory-result{grid-template-columns:1fr;gap:25px}.memory-cover{min-height:340px;padding:20px}.memory-cover h3{font-size:25px}.memory .button{width:100%}.memory-stage>p{font-size:14px}.memory-choices{gap:8px}.memory-choices span{padding:8px 10px}.living{padding-top:35px}}

.memory .button:hover:not(:disabled){background:#245768;color:white}.memory .button:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.atelier-slider{max-width:1320px;margin:24px auto 0;background:#253a37;color:#fff8ec;overflow:hidden}.slider-window{position:relative;aspect-ratio:1672/941;overflow:hidden;background:#3a2d21}.atelier-slide{position:absolute;inset:0;overflow:hidden}.atelier-slide img{display:block;width:100%;height:100%;object-fit:cover}.slide-leon img{transform:scale(2.05);transform-origin:20% 65%}.slide-items img{transform:scale(1.65);transform-origin:84% 83%}.slider-bar{display:flex;justify-content:space-between;gap:24px;padding:21px 30px;align-items:center}.slider-kicker{font-size:12px;letter-spacing:.13em;color:#e6cc9d}.slider-caption p{font:23px/1.6 'Yu Mincho','Hiragino Mincho ProN',serif;margin:3px 0}.slider-caption small{font-size:12px;color:#d5d8cd}.slider-controls{display:flex;align-items:center;gap:10px;flex-shrink:0}.slider-controls button{min-width:44px;min-height:44px;background:transparent;color:#fff8ec;border:1px solid #a5b1a077;font-size:24px;cursor:pointer}.slider-controls button:hover{background:#ffffff18}.slide-dots{display:flex;align-items:center;gap:0}.slide-dots button{position:relative;width:32px;min-width:32px;border:0;font-size:0}.slide-dots button:after{content:'';display:block;width:7px;height:7px;border:1px solid #f2e5cc;border-radius:50%;margin:auto}.slide-dots button[aria-current="true"]:after{background:#f2e5cc}.slider-controls #slide-play{font-size:14px;padding:0 10px;min-width:64px}.atelier-slider:focus-visible{outline:3px solid var(--red);outline-offset:4px}header{border-bottom:0}.intro{padding-top:36px}@media(max-width:700px){.atelier-slider{margin:0 0 0}.slider-bar{padding:16px 18px;flex-wrap:wrap;gap:12px}.slider-caption p{font-size:19px}.slider-controls{width:100%;justify-content:flex-end}.slider-controls #slide-play{margin-left:auto}.slider-window{aspect-ratio:1672/941}.slider-kicker{font-size:12px}}

.slider-heading{position:absolute;z-index:2;top:0;left:0;right:0;padding:clamp(20px,3.8vw,54px) clamp(22px,4.5vw,64px) 75px;color:#fff8e9;background:linear-gradient(180deg,rgba(19,24,20,.68) 0%,rgba(19,24,20,.35) 66%,transparent 100%);pointer-events:none;text-shadow:0 2px 12px #100c0799}.slider-heading p{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;font-size:clamp(14px,1.35vw,18px);letter-spacing:.12em;margin:0 0 12px;line-height:1.8}.slider-heading h2{font-size:clamp(25px,3vw,42px);line-height:1.65;letter-spacing:.08em;font-weight:500;margin:0;max-width:680px}@media(max-width:620px){.slider-heading{padding:14px 18px 40px}.slider-heading p{font-size:12px;letter-spacing:.06em;margin-bottom:5px}.slider-heading h2{font-size:clamp(19px,4.5vw,27px);line-height:1.5;letter-spacing:.04em}}

.slider-bar{justify-content:flex-end;padding:10px 24px}.shop-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center;padding:60px 0}.shop-story h1{font-size:clamp(30px,3.4vw,44px);line-height:1.65;letter-spacing:.09em;margin-bottom:24px}.shop-story>p:not(.eyebrow){font-size:16px;line-height:2.1;margin:18px 0;color:#48514c}.shop-story .eyebrow{color:#947337}.shop-story .button{margin-top:12px;background:#29453d;border-color:#29453d}.shop-portrait{max-width:430px;width:100%;justify-self:center}.shop-portrait img{width:100%;height:auto;max-width:100%;object-fit:contain;display:block}.shop-portrait figcaption{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;margin-top:8px;color:#665332}.shop-portrait figcaption span{display:block;font-size:14px;letter-spacing:.08em}.shop-portrait figcaption strong{font-size:23px;font-weight:500;letter-spacing:.2em;display:block;margin-top:3px}@media(max-width:700px){.shop-intro{grid-template-columns:1fr;gap:28px;padding:35px 0}.shop-story h1{font-size:30px}.shop-story>p:not(.eyebrow){font-size:15px}.shop-portrait{max-width:300px}.shop-story .button{font-size:14px}.slider-bar{padding:8px 18px}}

.brand-logo{width:60px;height:60px;display:block;object-fit:contain;flex-shrink:0;border-radius:50%}.brand{gap:13px}@media(max-width:620px){.brand-logo{width:50px;height:50px}.brand{gap:10px}}

/* The photographed ledger is the doorway to the existing guided form. */
.living{padding:12px 0 56px;border-bottom:1px solid var(--line);margin-bottom:52px}.living h2{line-height:1.8}.living p:not(.eyebrow){line-height:2.1}.book-memory{border-top:0;padding:0;background:transparent;box-shadow:none}.book-welcome{text-align:center;padding:8px 0 24px}.book-welcome .eyebrow{color:#947337}.book-welcome h1{font-size:clamp(27px,3.2vw,38px);letter-spacing:.08em}.book-invitation{color:#655d50;font-family:'Yu Mincho',serif;margin:14px 0 22px}.book-scene{position:relative;width:min(100%,560px);margin:0 auto;perspective:1400px;padding:0 80px 0 20px;isolation:isolate}.book-photo{transform-origin:10% 50%;transition:transform 1.9s cubic-bezier(.4,0,.2,1),opacity 1.9s;box-shadow:0 20px 35px #37241725}.book-photo img{display:block;width:100%;height:auto}.book-leon{position:absolute;width:36%;height:auto;right:0;bottom:10%;filter:drop-shadow(0 8px 6px #2e211d30);transform-origin:30% 65%;transition:transform 1.9s cubic-bezier(.4,0,.2,1),opacity 1.9s;z-index:2}.book-whisper{font-size:14px;color:#73644e;margin:13px 0 0}.book-scene.is-opening .book-photo{transform:rotateY(-108deg);opacity:0}.book-scene.is-opening .book-leon{transform:translateX(-125%) rotate(-12deg);opacity:0}.book-memory #book-pages{background:var(--white);border-top:3px solid var(--red);padding:26px 32px 32px;box-shadow:0 10px 30px #28333b08}.book-memory.is-open #book-pages{animation:page-arrives .5s ease-out}.book-memory:not(.book-ready) .book-welcome{display:none}@keyframes page-arrives{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:none}}@media(max-width:620px){.living{padding:0 0 35px;margin-bottom:35px}.book-scene{padding:0 55px 0 8px;max-width:420px}.book-memory #book-pages{padding:20px 16px}.book-whisper{font-size:14px}.book-welcome h1{font-size:27px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.book-photo,.book-leon{transition:none}.book-memory.is-open #book-pages{animation:none}}

 .tailor-divider{--edge-space:max(40px,calc((100vw - 1160px)/2));display:block;width:calc(min(100%,21rem) + var(--edge-space));height:52px;margin:0 0 30px calc(-1 * var(--edge-space));background:url("images/tailor-measuring-tape.png") right center / max(38rem,100%) auto no-repeat;pointer-events:none}@media(max-width:620px){.tailor-divider{--edge-space:18px;width:calc(min(100%,19rem) + var(--edge-space));height:46px;margin-bottom:24px;background-size:34rem auto}}

.book-scene.video-scene{width:100%;max-width:960px;padding:0;perspective:none;overflow:hidden;background:#493222}.video-scene video{display:block;width:100%;height:auto;aspect-ratio:16/9}.book-memory #book-skip{display:block;margin:12px auto;padding:8px}.book-memory #book-pages{padding:40px 30px 40px 28%;background:#634b34 url("images/ledger-open-scene.jpg") left top / auto 660px no-repeat;border:0;box-shadow:0 15px 40px #30231820}.writing-sheet{padding:30px;background:linear-gradient(90deg,#dfcfae 0,#faf2df 18px,#fff9eb 50%,#f1e4cb 100%);box-shadow:-8px 5px 22px #25180f38;min-width:0;border-radius:2px 9px 9px 2px}.writing-sheet .memory-head{display:block}.writing-sheet .memory-head .fine{margin-top:8px}.writing-sheet input,.writing-sheet textarea,.writing-sheet select{background:#fffdf6d9;border-color:#bdad90}.writing-sheet .memory-steps{gap:8px 18px}.writing-sheet .memory-result{grid-template-columns:1fr}.writing-sheet .memory-cover{max-width:460px;margin:auto}@media(max-width:700px){.book-memory #book-pages{padding:210px 12px 18px;background-size:auto 300px;background-position:center top}.writing-sheet{padding:24px 18px}}@media(min-width:701px){.writing-sheet .form-row{grid-template-columns:1fr;gap:0}}

.book-memory .video-scene #book-skip{position:absolute;right:16px;bottom:16px;z-index:3;display:block;margin:0;padding:8px 15px;border:1px solid #fff8e875;border-radius:3px;background:#211b14a6;color:#fff8e8;font-size:14px;line-height:1.5;min-height:44px;backdrop-filter:blur(4px);cursor:pointer}.book-memory .video-scene #book-skip:hover{background:#211b14d9}.book-memory .video-scene #book-skip:focus-visible{outline:2px solid #fff8e8;outline-offset:3px}@media(max-width:620px){.book-memory .video-scene #book-skip{right:10px;bottom:10px;padding:7px 12px}}

/* The surface of the ledger opens it. Only the invitation is visible. */
.video-scene .book-hit-area,
.video-scene .book-hit-area:hover:not(:disabled) {
  position:absolute;inset:0;z-index:2;width:100%;height:100%;
  margin:0;padding:0;border:0;background:transparent;appearance:none;
  color:#fff8e9;text-decoration:none;
}
.video-scene .book-hit-area:focus-visible {
  outline:2px solid #fff4d7;outline-offset:-5px;
}
.book-start-cue {
  position:absolute;bottom:60%;left:47.5%;transform:translateX(-50%);
  display:grid;justify-items:center;gap:4px;
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  line-height:1.2;text-shadow:0 1px 3px #24170f,0 0 7px #24170f;
  animation:book-invitation-pulse 2.2s ease-in-out infinite;
}
.book-start-arrow {font-size:clamp(19px,2vw,25px);}
.book-start-label {font-size:clamp(14px,1.4vw,18px);letter-spacing:.08em;}
.book-hit-area:disabled .book-start-cue {visibility:hidden;}
@keyframes book-invitation-pulse {0%,100% {opacity:.92;} 50% {opacity:.48;}}
@media (prefers-reduced-motion:reduce) {
  .book-start-cue {animation:none;opacity:.9;}
}
.book-memory + .consult {margin-top:clamp(28px,4vw,48px);}


.living{border-bottom:0;padding-bottom:0}

.video-scene #book-loading-poster{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;z-index:1}.book-memory #book-pages{padding:46px 7% 58px;background:transparent url("images/red-open-book.png") center / 100% 100% no-repeat;box-shadow:none;min-height:780px}.writing-sheet{padding:0;background:none;box-shadow:none;border-radius:0}.writing-sheet .memory-head{display:block;margin-bottom:10px}.writing-sheet .memory-head .fine{max-width:440px}.writing-sheet .memory-steps{border-color:#ac8c5e66;margin-bottom:24px;gap:12px 26px}.writing-sheet #memory-form{max-width:none}.spread-grid{display:grid;grid-template-columns:1fr 1fr;gap:13%}.spread-page{min-width:0}.spread-page h2{font-size:25px}.spread-page>p{font-size:15px}.writing-sheet input,.writing-sheet textarea,.writing-sheet select{background:#fffaf17a;border:1px solid #9d7b4c77}.writing-sheet .memory-choices span{background:#f8efd675}.writing-sheet .memory-result{grid-template-columns:1fr 1fr;gap:13%}.writing-sheet .memory-stage{animation:spread-next .35s ease-out}#book-pages[data-direction="back"] .memory-stage{animation-name:spread-back}@keyframes spread-next{from{opacity:0;transform:translateX(22px)}to{opacity:1;transform:none}}@keyframes spread-back{from{opacity:0;transform:translateX(-22px)}to{opacity:1;transform:none}}@media(max-width:700px){.book-memory #book-pages{padding:32px 9% 40px;min-height:0;background-size:200% 100%;background-position:right center}.spread-grid,.writing-sheet .memory-result{grid-template-columns:1fr;gap:18px}.writing-sheet .memory-head .fine{font-size:12px}.writing-sheet .memory-steps{gap:5px 12px}.spread-page h2{font-size:24px}}@media(prefers-reduced-motion:reduce){.writing-sheet .memory-stage,#book-pages[data-direction="back"] .memory-stage{animation:none}}

@media(min-width:701px){.book-memory #book-pages{width:calc(100% + 64px);margin-left:-32px;padding-left:calc(7% + 32px);padding-right:calc(7% + 32px)}}.book-memory #book-pages.book-image-fallback{background-color:#f3e4c7;background-image:none;border:8px solid #743b38;border-radius:12px}

.color-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.color-options label{position:relative;cursor:pointer;margin:0}.color-options input{position:absolute;opacity:0;width:1px;height:1px}.color-options span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 3px;border:1px solid #ab9066;background:#fff8e755;font-size:13px}.color-options i{display:block;width:26px;height:26px;border-radius:50%;border:1px solid #7c6b58}.color-options input:checked+span{outline:2px solid var(--navy);background:#fff9eebf}.color-options input:focus-visible+span{outline:3px solid var(--red);outline-offset:3px}.chosen-palette{font-size:14px!important;line-height:1.8;margin-top:14px}.writing-sheet .memory-summary dl{max-height:540px;overflow:auto;padding-right:12px;overscroll-behavior:contain}.writing-sheet .memory-summary dt{padding-top:7px}.writing-sheet .memory-summary dd{padding-bottom:8px;margin-bottom:6px}.writing-sheet .memory-steps{gap:8px 20px}.spread-page textarea{min-height:90px}@media(max-width:700px){.writing-sheet .memory-summary dl{max-height:none;overflow:visible}.color-options{grid-template-columns:repeat(4,1fr)}}

.catalog{padding:12px 0 60px}.catalog-lead{max-width:740px}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.catalog-card{padding:0!important;display:block;border:1px solid #d3c5ab!important;background:#fffaf0}.catalog-photo{aspect-ratio:1;background-color:white;background-position:center;background-size:contain;background-repeat:no-repeat}.catalog-card.catalog-card{min-width:0}.catalog-copy{padding:22px 24px}.catalog-kind{color:#967036;font-size:14px!important;margin:0!important}.catalog-copy h3{margin:7px 0 12px;font-size:25px}.catalog-price{font-family:'Yu Mincho',serif;font-size:24px!important;margin:18px 0 12px!important}.catalog-price span{display:block;font:12px/1.7 sans-serif;color:#6a6256}.catalog-scope{min-height:50px;line-height:1.8}.catalog-extra{font-size:13px!important;color:#75624b}.catalog-copy .button{margin-top:12px;color:white;font-size:15px;display:block}.catalog-data{display:flex;gap:30px;align-items:center;justify-content:space-between;margin-top:26px;padding:28px;border:1px solid #d3c5ab}.catalog-data p{font-size:15px}.catalog-data .button{flex-shrink:0}.catalog-terms{max-width:950px;margin-top:26px;font-size:14px;line-height:1.9}.catalog-includes {font-size:.9375rem;line-height:1.55;margin:.25rem 0 .45rem;color:#57452e;}@media(max-width:700px){.catalog-grid{grid-template-columns:1fr;gap:22px}.catalog-data{display:block;padding:22px}.catalog-data .button{margin-top:12px}.catalog-copy{padding:20px}.catalog{padding-bottom:40px}}

/* Compact catalog: complete product photographs beside pricing and details. */
.catalog-grid{gap:22px}.catalog-grid .catalog-card{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);align-items:start}.catalog-grid .catalog-photo{width:100%;aspect-ratio:1;margin-top:22px}.catalog-grid .catalog-copy{padding:20px 18px}.catalog-copy h3{font-size:22px;line-height:1.55}.catalog-price{font-size:22px!important}.catalog-scope{min-height:0}.catalog-copy .button{padding:10px 8px;font-size:14px}@media(max-width:1000px) and (min-width:701px){.catalog-grid{grid-template-columns:1fr}.catalog-grid .catalog-card{grid-template-columns:240px minmax(0,1fr)}.catalog-grid .catalog-photo{margin-top:0}}@media(max-width:700px){.catalog-grid .catalog-card{display:block}.catalog-grid .catalog-photo{width:min(100%,260px);margin:18px auto 0}.catalog-grid .catalog-copy{padding:20px}.catalog-copy h3{font-size:24px}.catalog-copy .button{font-size:15px}}

.catalog-zoom{position:relative;display:block;border:0;padding:0;cursor:zoom-in;border-radius:0;color:#fff9ed}.zoom-hint{position:absolute;right:8px;bottom:8px;background:#263d35c9;padding:4px 8px;font-size:12px;line-height:1.6}.catalog-zoom:hover .zoom-hint{background:#a9511c}.catalog-zoom:focus-visible{outline:3px solid var(--red);outline-offset:4px}.catalog-digital{background-image:url('images/atelier-digital.webp');background-size:contain;background-position:center}.catalog-data>.catalog-photo{width:190px;flex:0 0 190px;aspect-ratio:1}.catalog-data>div{flex:1;min-width:0}body.catalog-modal-open{overflow:hidden}#catalog-lightbox{width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:24px;border:1px solid #b79c70;background:#fff8e9;color:var(--ink);overflow:auto}#catalog-lightbox::backdrop{background:#161b18d9}#catalog-lightbox-title{font-size:19px;line-height:1.6;padding-right:35px;margin:0 0 16px}#catalog-lightbox-photo{width:min(100%,calc(100dvh - 175px));margin:auto;aspect-ratio:1}#catalog-lightbox-close{position:absolute;right:10px;top:8px;min-width:44px;min-height:44px;border:0;background:transparent;color:var(--navy);font-size:30px;cursor:pointer}#catalog-lightbox>p{font-size:12px;margin:14px 0 0}@media(max-width:1000px){.catalog-data{flex-wrap:wrap}.catalog-data>.button{margin-left:auto}}@media(max-width:700px){.catalog-data>.catalog-photo{width:min(100%,260px);margin:0 auto 20px}#catalog-lightbox{padding:18px}#catalog-lightbox-title{font-size:16px}}

/* Current poster plans are separate from the prototype product catalogue. */
.poster-plans{width:min(1120px,calc(100% - 40px));margin:52px auto;padding:clamp(22px,5vw,55px);border:1px solid #dbc8b3;border-radius:12px;background:#fcf7ee;color:#34251f}
.poster-intro p:not(.eyebrow),.poster-notes{max-width:72ch}
.poster-intro h2{margin:.35em 0;font-size:clamp(1.65rem,4vw,2.85rem);letter-spacing:.03em}
.poster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.poster-card{border:1px solid #ddc9b5;border-top:3px solid #9a322e;border-radius:8px;background:#fffcf7;padding:18px;min-width:0;overflow-wrap:anywhere}
.poster-card h3{margin:0;color:#86302c;font-size:1.05rem}
.poster-card .poster-price{font-size:1.6rem;margin:.45rem 0;font-weight:700;font-variant-numeric:tabular-nums}
.poster-card p:not(.poster-price){min-height:2.7em;margin:.3rem 0}
.poster-card ul{margin:.55rem 0 0;padding-inline-start:1.2rem}
.poster-notes{font-size:1rem;line-height:1.65}
.poster-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.poster-links .button{text-align:center;white-space:normal}
@media(max-width:740px){.poster-grid{grid-template-columns:1fr}.poster-card p:not(.poster-price){min-height:0}.poster-links .button{width:100%}}

/* Keep headings and whole step labels inside the left leaf. */
@media (min-width:701px) {
  .writing-sheet .memory-head,
  .writing-sheet .memory-steps,
  .writing-sheet [data-stage="4"] > h2,
  .writing-sheet [data-stage="4"] > p { max-width:43.5%; }
  .writing-sheet .memory-result { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.writing-sheet .memory-steps { column-gap:clamp(8px,1vw,16px); row-gap:0; }
.writing-sheet .memory-steps li { white-space:nowrap; }
.writing-sheet .memory-cover {
  position:relative;
  margin:12px auto;
  padding:clamp(20px,3vw,38px);
  background:#f4e7cd url('images/memo-paper.webp') center / 100% 100%;
  color:#423329;
  border:1px solid #ba9f754d;
  border-radius:2px 4px 8px 2px;
  box-shadow:1px 2px 3px #492b1829,3px 8px 14px -7px #492b1860;
  text-align:start;
  align-items:stretch;
}
.writing-sheet .memory-cover::before {
  content:"";position:absolute;top:-8px;left:40%;width:22%;height:17px;
  background:#c6ab75a6;transform:rotate(-3deg);
  clip-path:polygon(2% 0,100% 4%,98% 35%,100% 60%,97% 100%,0 95%,2% 66%,0 30%);
}
.writing-sheet .memory-cover img:not([hidden]) {
  align-self:center;width:auto;max-width:95%;height:auto;
  background:#fffbf1;padding:5px 5px 13px;box-shadow:1px 3px 5px #34211638;
}
.writing-sheet .memory-cover .chosen-palette::before {
  content:"";display:inline-block;width:.85em;height:.85em;margin-right:.45em;
  background:var(--swatch);border:1px solid #765d434a;vertical-align:middle;
}

/* Lay out the last spread as two independently top-aligned leaves. */
@media (min-width:701px) {
  #book-pages[data-stage="4"] .writing-sheet {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:13%;
    align-items:start;
    align-content:start;
    grid-template-rows:repeat(4,min-content) 1fr;
  }
  #book-pages[data-stage="4"] :is(.memory-stage[data-stage="4"],.memory-result) { display:contents; }
  #book-pages[data-stage="4"] #memory-form { display:none; }
  #book-pages[data-stage="4"] :is(.memory-head,.memory-steps,[data-stage="4"] > h2,[data-stage="4"] > p,.memory-result > div) {
    grid-column:1;
    max-width:100%;
    min-width:0;
  }
  #book-pages[data-stage="4"] .memory-result > .memory-summary { grid-area:1 / 2 / span 5; }
  #book-pages[data-stage="4"] .memory-summary > h3 { margin-top:0; }
}

/* Independent paper and surround follow the height of the live form. */
.consult {
  position:relative;
  isolation:isolate;
  background:#243325;
  grid-template-columns:minmax(0,0.68fr) minmax(0,1fr);
  align-items:start;
  padding:clamp(32px,4vw,62px);
  gap:clamp(24px,3vw,48px);
}
.consult::before,.consult #brief::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
}
.consult::before {
  border:25px solid transparent;
  border-image:url('images/stationery-frame.webp') 55 fill / 25px;
}
.consult #brief {
  position:relative;
  isolation:isolate;
  min-width:0;
  padding:clamp(24px,3vw,48px);
  color:#3d3226;
  overflow-wrap:anywhere;
}
.consult #brief::before {
  border:12px solid transparent;
  border-image:url('images/stationery-sheet.webp') 23 fill / 12px;
}
.consult #brief :is(input,select,textarea) {
  background-color:#fffaf080;
  color:#392e23;
  border-color:#a7906f;
}
.consult #brief .fine {color:#514331;}
.consult > div > p {font-size:1rem;line-height:1.85;}
.estimate-options {
  margin:1.15rem 0;border-block:1px solid #aa926d;padding:.35rem 0;
}
.estimate-options summary {
  cursor:pointer;padding:.45rem 0;color:#59442b;font-size:.9375rem;
}
.estimate-options[open] {padding-bottom:1rem;}
@media(max-width:800px) {
  .consult {grid-template-columns:minmax(0,1fr);padding:28px 14px;gap:16px;}
  .consult > div {padding-inline:12px;}
  .consult #brief {padding:24px 18px;}
  .consult #brief .form-row {grid-template-columns:minmax(0,1fr);}
  .consult::before {border-image-width:14px;}
}

footer {
  background-color:#48151d;
  color:#fff9e9;
  padding:0 0 clamp(15px,1.75vw,25px);
  border-top:0;
  text-align:start;
}
.making-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,40px);margin:28px 0;padding:0;list-style:none;}
.making-steps li {border-top:1px solid #ad997a;padding-top:12px;}
.making-steps img {display:block;width:min(100%,210px);height:auto;margin:0 auto 12px;mask-image:radial-gradient(circle closest-side,#000 92%,transparent 100%);}
.making-steps h3 {color:#683933;font-size:clamp(16px,1.7vw,22px);line-height:1.6;margin:0;}
.living .making-steps p {font-size:15px;line-height:1.8;margin:8px 0;}
@media(max-width:700px) {
 .making-steps {grid-template-columns:1fr;gap:14px;}
 .making-steps li {display:grid;grid-template-columns:minmax(64px,24%) 1fr;gap:14px;align-items:start;}
}
/* Scale both carved ends in proportion to the frame width. */
.poster-plans {
  width:min(1120px,100%);position:relative;isolation:isolate;container-type:inline-size;
  padding:0;border:0;border-radius:0;background:transparent;
}
.poster-plans::before,.poster-plans::after {content:"";display:block;}
.poster-plans::before {aspect-ratio:1122 / 154;}
.poster-plans::after {aspect-ratio:1122 / 172;}
.theater-interior {display:flow-root;padding:0 9%;}
.theater-interior::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  border-image-source:url('images/theater-frame.webp');
  border-image-slice:154 1 172 fill;
  border-image-width:13.7255cqw .08913cqw 15.32977cqw;
  border-image-repeat:stretch;
}
.theater-leon {display:block;width:100%;height:auto;}
.poster-intro h2 {
  margin:clamp(20px,3vw,38px) 0 8px;
  color:#492e22;
  font-size:clamp(20px,3vw,34px);
  line-height:1.5;
}
.poster-intro > p {margin-top:0;}
.poster-grid .poster-card {
  display:block;
  min-width:0;padding:0 0 12px;border:0;border-radius:0;
  background:transparent;
}
.poster-card .poster-art {
  display:block;width:100%;aspect-ratio:.73;align-self:start;
  margin:0;border:3px double #8e6b36;cursor:zoom-in;
}
.poster-art img {display:block;width:100%;height:100%;object-fit:cover;}
@media (min-width:741px) {
  .poster-grid .poster-card {
    display:grid;grid-row:span 7;grid-template-rows:subgrid;row-gap:0;
    align-items:start;
  }
  .poster-card .occasion {align-self:end;}
}
.poster-grid .poster-card h3 {margin:12px 0 0;color:#593326;}
.poster-card p:not(.poster-price){min-height:0;}
#poster-title {font-weight:800;}
.poster-card .theater-plaque {
  display:grid;place-items:center;width:fit-content;max-width:100%;
  min-width:min(100%,10em);box-sizing:border-box;
  padding:.48em 1em;line-height:1.3;text-align:center;
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  background:url('images/theater-plaque.webp') center / 100% 100% no-repeat;
  color:#38230f;
}
.poster-card .occasion {margin:0 auto 7px;font-size:clamp(14px,1.3vw,17px);font-weight:600;}
.poster-grid .poster-card h3.theater-plaque {margin:12px auto 4px;font-size:17px;}
.poster-card .poster-price {text-align:center;}
.poster-card .poster-bundle {
  margin:0 0 .65rem; padding:.4rem .2rem; text-align:center;
  border-block:1px solid #b69461; color:#533428;
  font:1rem/1.5 "Yu Mincho","Hiragino Mincho ProN",serif;
}
.poster-bundle strong {white-space:nowrap;}

/* The opening film rests on the tailor's cloth-lined counter. */
.book-welcome {
  position:relative;isolation:isolate;container-type:inline-size;
  padding:clamp(34px,4.7vw,64px) clamp(16px,5.5vw,76px) clamp(42px,5.5vw,74px);
  color:#fff6de;background:#153225;
}
.book-welcome::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  border-image-source:url('images/leon-cutting-table.webp');
  border-image-slice:42 42 185 300 fill;
  border-image-width:2.735cqw 2.735cqw 12.045cqw 19.532cqw;
}
.book-welcome .eyebrow {color:#ecd29c;}
.book-welcome h1 {color:#fff5df;}
.book-welcome .book-invitation,.book-welcome .book-whisper {color:#f1e5cb;}
.book-welcome .video-scene {
  width:min(100%,860px);
  border:1px solid #b69a64;
  box-shadow:0 4px 16px #10170f80;
}
@media (max-width:700px) {
  .book-welcome .book-invitation {margin:10px auto 18px;}
  .book-welcome .book-whisper {max-width:24em;margin:14px auto 0;}
}

/* A photographed grosgrain ribbon keeps its straight left and notched right edges at every button width. */
main .button:not(.secondary) {
  position:relative;isolation:isolate;min-height:44px;
  padding:.72em max(22px,1.6em);border:0;background:transparent;
  color:#fff9e8;text-align:center;text-shadow:0 1px 3px #10271e;
}
main .button:not(.secondary):hover:not(:disabled) {background:transparent;color:#fff9e8;}
main .button:not(.secondary)::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  border-image:url("images/tailor-silk-ribbon-straight.webp") 12 75 fill / 3px 22px stretch;
  filter:drop-shadow(0 2px 2px #2c231c44);transition:filter .24s ease;
}
main .button:not(.secondary):is(:hover,:focus-visible):not(:disabled)::before {
  filter:brightness(1.38) saturate(1.12) drop-shadow(0 0 5px #bd9b58aa);
}
main .button:not(.secondary):focus-visible {outline:2px solid #b68248;outline-offset:3px;}
@media (prefers-reduced-motion:reduce) {
  main .button:not(.secondary)::before {transition:none;}
}
@media (forced-colors:active) {
  main .button:not(.secondary) {border:1px solid ButtonText;color:ButtonText;text-shadow:none;}
}

.catalog-notebook {background-image:url('images/atelier-notebook.webp');}
.catalog-mug {background-image:url('images/atelier-mug.webp');}
.catalog-tshirt {background-image:url('images/atelier-tshirt.webp');}
.catalog-phone {background-image:url('images/atelier-phone.webp');}

/* Use the straight center of the same photographed ribbon as the green buttons. */
.shop-ribbon {
  position: relative;
  isolation: isolate;
  min-height: 18px;
  background: #183722;
  color: #fffaea;
  text-align: center;
}
.shop-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-image: url("images/tailor-silk-ribbon-straight.webp") 10 85 fill / 1px 0 / 0 round;
}
.shop-ribbon-notice {
  max-width: 60rem;
  margin: 0 auto;
  padding: .45rem 1rem;
  font-size: .9375rem;
  line-height: 1.65;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.shop-ribbon-notice:empty { display: none; }

/* Keep the shop notice and the pincushion side by side at every width. */
main.shop-home { max-width: none; padding: 0; }
.sewing-notices {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
  align-items: start;
  gap: clamp(.6rem, 2.5vw, 2rem);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
}
.sewing-notices img {
  display: block;
  width: min(100%, 440px);
  height: auto;
  justify-self: end;
}
@media (max-width: 620px) {
  .sewing-notices { margin-inline-end: -18px; }
  .sewing-notices img {
    width: 100%;
    height: clamp(9rem, 43vw, 13.75rem);
    object-fit: cover;
    object-position: right center;
  }
}
/* The highest pin starts 146 px into the 1024 px tall image. */
.shop-notice {
  margin-block-start: max(0px, calc(min(4cqw, 42px) - .25em));
  width: min(100%, 31rem);
  justify-self: start;
  text-align: left;
  color: #483728;
}
@media (max-width: 620px) {
  .shop-notice {
    margin-block-start: calc(clamp(9rem, 43vw, 13.75rem) * .143 - .25em);
  }
}
.shop-notice h2 {
  margin: 0 0 .5rem;
  color: #713e38;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: .09em;
}
.shop-notice a { text-decoration-color: #a18a69; text-underline-offset: .22em; }
.shop-notice a:hover { color: #783d35; }

.shop-disclosure { margin: 0 auto; font-size: inherit; }
.shop-disclosure > summary {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.25rem;
  padding: .55rem 0;
  min-height: 44px;
  font-size: .9375rem;
  color: #57483a;
  align-items: center;
  list-style: none;
}
.shop-disclosure > summary::-webkit-details-marker { display: none; }
.shop-disclosure:not([open]) > summary .when-open,
.shop-disclosure[open] > summary .when-closed { display: none; }
.shop-disclosure > summary [aria-hidden] { margin-inline-end: .4em; font-size: .8em; }

.notice-list { list-style: none; padding: 0; margin: 0; }
.notice-list li { padding: .65rem 0; border-bottom: 1px solid #c7b99f; }
.shop-notice > .notice-list { border-top: 1px solid #c7b99f; }
.notice-all, .notice-archive button { margin-top: .75rem; padding: .5rem .85rem; color: #603c32; border: 1px solid #bdaa8f; background: #fffaf0; cursor: pointer; }
.notice-archive { width: min(30rem, 88vw); max-height: 76vh; padding: 1.5rem; background: #fffaf0; border: 1px solid #bdaa8f; color: inherit; }
.notice-archive::backdrop { background: #25181080; }

.rough-actions{display:grid;justify-items:start;gap:10px;margin:18px 0}
#rough-editor{display:block;width:100%;height:360px;border:0;background:transparent}
#inline-sketch{margin:1rem 0}
#inline-sketch h3{margin-bottom:.25rem}
#finished-sketch img{display:block;max-width:min(100%,240px);height:auto}


.shirt-prices { display:grid; grid-template-columns:auto 1fr; gap:.3rem 1rem; margin:1rem 0; font-size:1rem; }
.shirt-prices dd { margin:0; font-variant-numeric:tabular-nums; }
.catalog .knit-guide { display:flex; flex-wrap:wrap; align-items:center; gap:1.5rem; }
.knit-guide > div { flex:1 1 22rem; }
.book-memory [hidden] { display:none !important; }
#product-guide { margin:1rem 0; font-size:1rem; }
#product-guide a,.knit-guide a:not(.button) { text-decoration:underline; }

/* The opening spread uses the objects visitors have already seen on the counter. */
.route-picker, .route-next fieldset { min-width:0; margin:0; padding:0; border:0; }
.route-shelf { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:13%; row-gap:1rem; }
.route-shelf label { position:relative; margin:0; cursor:pointer; }
.route-shelf input { position:absolute; width:1px; height:1px; opacity:0; }
.route-card { display:flex; height:100%; align-items:center; flex-direction:column; text-align:center; gap:.15rem;
 padding:.6rem .65rem .9rem; border:1px solid #ac926c; border-radius:3px; color:#42352b; background:rgb(255 250 237 / .40); }
.route-object { display:flex; position:relative; width:100%; height:clamp(82px,9vw,124px); justify-content:center; align-items:flex-end; margin-bottom:.4rem; }
.route-object img { height:100%; max-width:100%; object-fit:contain; filter:drop-shadow(1px 3px 2px #412c251d); }
.route-combination img { position:absolute; height:90%; width:45%; object-fit:contain; left:11%; bottom:5%; }
.route-combination img:nth-child(2) { width:32%; height:69%; left:53%; bottom:8%; }
.route-combination img:nth-child(3) { width:47%; height:49%; left:28%; bottom:0; }
.route-card strong { font:600 clamp(1rem,2vw,1.3rem)/1.45 'Yu Mincho','Hiragino Mincho ProN',serif; }
.route-card small { font-size:.9rem; line-height:1.55; }
.route-shelf input:checked + .route-card, .item-shelf button[aria-pressed=true], .sample-colors button[aria-pressed=true] {
 border-color:#835333; box-shadow:inset 0 0 0 1px #835333; background:#f3e4c8; }
.route-shelf input:focus-visible + .route-card { outline:3px solid #28584c; outline-offset:3px; }
.route-next { margin:.8rem 0 0 auto; width:43.5%; }
.route-next .error:empty { display:none; }
.route-next .button { margin-top:.55rem; }
.item-shelf, .sample-colors { display:grid; gap:.4rem; grid-template-columns:repeat(3,minmax(0,1fr)); margin:.6rem 0 .4rem; }
.item-shelf button, .sample-colors button { display:flex; flex-direction:column; justify-content:flex-start; align-items:center; gap:.25rem;
 background:#fffaf0; color:#443829; border:1px solid #bbac91; border-radius:3px; padding:.28rem; min-width:0; cursor:pointer; font-size:.875rem; line-height:1.35; }
.item-shelf img, .sample-colors img { width:100%; height:clamp(45px,5vw,72px); object-fit:contain; background:white; }
.item-sample { padding:.8rem .8rem 1rem; margin:.8rem 0 1rem; border:1px solid #bfad8d; background:#fffcf4b3; border-radius:3px; }
.item-sample h3 { font-size:1.12rem; margin:0 0 .6rem; line-height:1.45; }
.item-sample figure { margin:0; text-align:center; }
.item-sample figure img { display:block; width:100%; height:clamp(140px,16vw,205px); object-fit:contain; background:white; }
.item-sample figcaption, .book-memory .sample-source { font-size:.81rem; line-height:1.5; color:#5e4e3d; }
.item-sample figcaption { padding:.28rem .2rem; }
.item-sample .sample-source { display:inline-block; margin-top:.65rem; }
.item-sample .sample-dimensions { font-size:.94rem; line-height:1.6; margin:.55rem 0; }
.item-sample details { margin:.5rem 0; }
.item-sample summary { color:#453a2d; cursor:pointer; font-size:.94rem; padding:.4rem 0; text-decoration:underline; text-underline-offset:.18em; }
.sample-colors { max-height:20rem; overflow-y:auto; padding:.2rem; }
.sample-measures table { width:100%; border-collapse:collapse; text-align:center; font-size:.875rem; }
.sample-measures td, .sample-measures th { border-bottom:1px solid #cbbd9f; padding:.28rem .1rem; }
@media (max-width:700px) {
 .route-shelf { gap:.65rem; }
 .route-card { padding:.45rem .25rem .65rem; }
 .route-card small { font-size:.875rem; }
 .route-object { height:80px; }
 .route-next { width:100%; }
}

.goods-picker .item-shelf { grid-template-columns:repeat(auto-fit,minmax(min(100%,105px),1fr)); gap:.5rem; }
.book-item-help { margin:.3rem 0 .55rem; font-size:.88rem; color:#594b39; }
.book-item-card { display:flex; min-width:0; flex-direction:column; border:1px solid #bbac91;
 border-radius:3px; background:#fffaf0; }
.book-item-card:has([aria-pressed=true]) { border-color:#835333; outline:1px solid #835333; }
.goods-picker .item-shelf [data-sample] { padding:.45rem .25rem; line-height:1.45; width:100%;
 flex:1; border:0; border-radius:0 0 2px 2px; min-height:44px; }
.book-photo-zoom, .item-shelf .book-photo-zoom { position:relative; display:block; width:100%; padding:0;
 border:0; border-radius:2px 2px 0 0; background:#e9dfd0; cursor:zoom-in; }
.book-photo-zoom:focus-visible, .book-item-card [data-sample]:focus-visible { z-index:1; outline:3px solid #28584c; outline-offset:1px; }
.book-zoom-icon { pointer-events:none; position:absolute; bottom:5px; right:5px; width:24px; height:24px;
 border-radius:50%; background:#fffaf2eb; color:#493f33; box-shadow:0 1px 5px #38251430; }
.book-zoom-icon::before, .book-zoom-icon::after { content:""; position:absolute; }
.book-zoom-icon::before { left:6px; top:5px; width:8px; height:8px; border:1.5px solid currentColor; border-radius:50%; box-sizing:content-box; }
.book-zoom-icon::after { left:15px; top:14px; width:6px; height:1.5px; background:currentColor; transform:rotate(45deg); transform-origin:left center; }
.goods-picker .item-shelf strong { font-size:.9rem; font-weight:600; }
.goods-picker .item-shelf small { font-size:.75rem; color:#655647; }
.goods-picker .item-shelf img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:inherit; }
.item-sample #sample-photo { display:block; width:100%; height:auto; max-height:none; aspect-ratio:1; object-fit:contain; background:#f3eadf; }
body:has(#book-sample-dialog[open]) { overflow:hidden; }
#book-sample-dialog { width:min(820px,calc(100vw - 24px)); max-width:100%; padding:0; border:1px solid #ab9676;
 color:#42352b; background:#fffaf1; max-height:calc(100dvh - 24px); overflow:auto; }
#book-sample-dialog::backdrop { background:rgb(32 26 21 / .82); }
.book-photo-bar { display:flex; gap:1rem; align-items:center; justify-content:space-between; padding:.35rem .8rem; }
.book-photo-bar h2 { margin:0; font-size:1rem; line-height:1.45; }
.book-photo-bar form { margin:0; }
.book-photo-bar button { min-width:54px; min-height:44px; padding:.25rem; border:0; background:transparent; color:inherit; cursor:pointer; }
#book-photo-full { display:block; width:100%; height:auto; max-height:calc(100dvh - 100px); object-fit:contain; }
.consult-picks { display:flex; flex-wrap:wrap; gap:.45rem; margin:.65rem 0; }
.consult-picks button { background:#fffaf0; color:#443829; border:1px solid #bbac91; border-radius:3px; padding:.35rem .6rem; cursor:pointer; }
.consult-picks button[aria-pressed=true] { background:#f3e4c8; box-shadow:inset 0 0 0 1px #835333; }
.goods-facts { display:block; margin:.45rem 0; font-size:.9rem; line-height:1.6; }
.goods-facts dt { font-weight:600; margin-top:.55rem; }
.goods-facts dd { margin:0 0 .45rem; }
.catalog-card .goods-photo { object-fit:contain; }
.catalog-copy [data-spec-for] { margin:.7rem 0; }
.catalog-copy summary { cursor:pointer; text-decoration:underline; text-underline-offset:.18em; }
#sample-qty { max-width:8rem; }
#edit-goods { margin:.5rem 0; }
.spec-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem; }
.spec-gallery figure { margin:0; }
.spec-gallery figure img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; background:white; }
.spec-gallery figcaption { font-size:.78rem; line-height:1.5; text-align:center; }

/* Price guide shared by the counter and the items page. */
.tailoring-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tailoring-plans > .tailoring-plan {
  container-type: inline-size;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  background: #fffaf0;
  border: 1px solid #d3c5ab;
}
.tailoring-plan h3 { margin: 0 0 .75rem; line-height: 1.5; font-size: 1.25rem; }
.tailoring-plan h3 span {
  display: block;
  margin-bottom: .25rem;
  color: #785332;
  font: 600 .9rem/1.4 Georgia, serif;
}
.tailoring-plan p { font-size: 1rem; line-height: 1.75; margin: .5rem 0 .8rem; }
.tailoring-plan .tailoring-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .65rem;
  margin: .25rem 0;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 700;
}
.tailoring-price span, .tailoring-price small { white-space: nowrap; }
.tailoring-price small { font-size: .875rem; font-weight: 400; }
.tailoring-example {
  display: grid;
  align-items: start;
  gap: 1rem;
}
.tailoring-example figure {
  grid-row: 1;
  justify-self: center;
  width: min(100%, 19rem);
  margin: 0;
}
.tailoring-example figcaption { margin-top: .35rem; font-size: .875rem; line-height: 1.55; color: #584b3e; }
.tailoring-example img {
  display: block;
  width: 100%;
  height: auto;
}
@container (min-width: 26rem) {
  .tailoring-example { grid-template-columns: minmax(0, 1fr) 54%; }
  .tailoring-example figure { grid-area: 1 / 2; width: 100%; }
}
.tailoring-plan dl { border-top: 1px solid var(--line); margin: auto 0 0; padding-top: .65rem; }
.tailoring-plan > :is(p, .tailoring-example):has(+ dl) { margin-bottom: 1rem; }
.tailoring-plan dt { font-weight: 700; color: #574732; }
.tailoring-plan dd { margin: 0 0 .5rem; }
.tailoring-plan dd:last-child { margin-bottom: 0; }
.tailoring-notes { max-width: 54rem; }
.tailoring-notes p { margin: .5rem 0; }
.tailoring-notes .button { margin-top: .75rem; }
.tailoring-goods { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.tailoring-goods > summary { padding: 1rem 0; cursor: pointer; font-weight: 700; }
@media (max-width: 48rem) {
  .tailoring-plans { grid-template-columns: minmax(0, 1fr); }
}

.contact-page { max-width: 76rem; margin: clamp(1.25rem, 4vw, 3rem) auto; padding-inline: clamp(.75rem, 3vw, 2.5rem); }

.tailoring-page {
  max-width:80rem; margin:clamp(1rem, 3vw, 2.75rem) auto;
  padding-inline:clamp(.75rem, 5vw, 4rem);
}
.tailoring-page .book-memory {margin-top:0;}
.tailoring-page .consult[hidden] {display:none;}

.book-memory:not(.is-open) + .book-guide { display:none; }
.book-guide {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap:clamp(2rem, 5vw, 4.5rem);
  max-width:62rem;
  margin:clamp(1.5rem, 4vw, 3rem) auto;
  padding:clamp(1.5rem, 3.5vw, 3rem);
  border-block:1px solid #b19a74;
  background:#fcf8ee;
  color:#443b33;
}
.book-guide::before {
  content:"";
  position:absolute;
  top:-1px;
  left:clamp(1.5rem, 3.5vw, 3rem);
  width:.7rem;
  height:.95rem;
  background:#743539;
  clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%);
}
.book-guide h2 {
  margin:0 0 .85rem;
  color:#513435;
  font-size:clamp(1.22rem, 2vw, 1.5rem);
  letter-spacing:.04em;
}
.book-guide p { margin:0; font-size:.9375rem; line-height:1.85; }
.book-guide p + p { margin-top:.7rem; }
.book-guide section + section { border-inline-start:1px solid #d8cdb8; padding-inline-start:clamp(1.5rem, 3vw, 3rem); }
.book-guide ol { margin:0; padding-inline-start:3.1rem; list-style-type:decimal-leading-zero; }
.book-guide li { position:relative; padding-inline-start:.3rem; }
.flow-icon { position:absolute; inset-inline-start:-3.1rem; top:.24rem; width:1.1rem; height:1.1rem; fill:none; stroke:#794b39; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.book-guide li + li { margin-top:.65rem; }
.book-guide li::marker { color:#825c44; font:.88rem Georgia,serif; }
.book-guide li strong { font-weight:600; color:#41382f; }
@media (max-width:56rem) {
  .book-guide { grid-template-columns:minmax(0, 1fr); gap:1.25rem; }
  .book-guide section + section { border-inline-start:0; padding-inline-start:0; border-top:1px solid #d8cdb8; padding-top:1.25rem; }
}

.book-method, .plan-menu { min-width:0; padding:0; margin:0; border:0; }
.book-method { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0 1.4rem; }
.book-method legend, .plan-menu legend { font-weight:600; padding:0; margin-bottom:.4rem; }
.book-method label { position:relative; margin:0; cursor:pointer; }
.book-method input { position:absolute; opacity:0; width:1px; height:1px; }
.book-method span {
  display:block; padding:.5rem 1rem; border:1px solid #907851; border-radius:3px;
  background:#faf3e2; color:#4b392b; font-family:'Yu Mincho','Hiragino Mincho ProN',serif;
}
.book-method input:checked + span { background:#364d40; border-color:#364d40; color:#fff7e6; }
.book-method input:focus-visible + span { outline:3px solid #8a442e; outline-offset:2px; }
.plan-menu legend { font-family:'Yu Mincho','Hiragino Mincho ProN',serif; font-size:1.2rem; }
#plan-list label {
  display:grid; grid-template-columns:auto minmax(0,1fr); align-items:baseline;
  gap:.12rem .55rem; margin:0; padding:.6rem .48rem; border-bottom:1px solid #ad936a80; cursor:pointer;
}
#plan-list input, #poster-combination input { width:1rem; height:1rem; margin:0; accent-color:#62393d; }
#plan-list strong { font:600 1rem/1.55 'Yu Mincho','Hiragino Mincho ProN',serif; }
#plan-list small { grid-column:2; font-size:.875rem; line-height:1.5; color:#5d4c3b; }
#plan-list label:has(:checked) { background:#faf2dc; box-shadow:inset 3px 0 #7b3b42; }
.plan-leaf figure { margin:0; text-align:left; }
.plan-leaf figure img {
  display:block; margin:0 auto; width:100%; height:clamp(9rem,17vw,13rem);
  object-fit:contain; background:#eee2ca88; border:1px solid #baa789;
}
.plan-leaf figcaption { margin:.3rem 0 .6rem; color:#5c4936; font-size:.875rem; line-height:1.55; }
.plan-leaf h3 { font-size:1.26rem; margin:.35rem 0; }
.plan-leaf p, .custom-intro { margin:.3rem 0 .75rem; font-size:1rem; line-height:1.75; }
.plan-leaf select { max-width:100%; }
.plan-leaf dl { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.2rem .8rem; margin:.85rem 0; border-block:1px solid #b5a280; padding:.6rem 0; }
.plan-leaf dt { color:#5e4936; font-weight:600; }
.plan-leaf dd { margin:0; }
.plan-leaf :is(dt,dd,summary) { font-size:.9375rem; }
.plan-leaf details { margin:.4rem 0; }
.plan-leaf details p, #plan-terms { font-size:.9375rem; }
.plan-exhibits { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap:1.25rem; }
.plan-exhibits a { display:block; text-decoration:none; }
.plan-exhibits figure { text-align:left; }
.plan-exhibits img { width:100%; height:auto; display:block; }
.plan-exhibits figcaption { font-size:.875rem; line-height:1.6; margin:.5rem 0 .25rem; }
.plan-exhibits strong, .film-book-link { color:#663b32; text-underline-offset:.25em; text-decoration:underline; }
.exhibit-links { display:flex; align-items:center; flex-wrap:wrap; gap:.65rem 1.4rem; margin:1.4rem 0; }
.film-book-link { display:inline-block; padding:.5rem 0; }

#reference-photos {display:flex;flex-wrap:wrap;gap:.75rem;margin:.6rem 0;}
#reference-photos[hidden], #photo-import-status:empty {display:none;}
.reference-photo {position:relative;margin:0;}
.reference-photo img {display:block;width:5rem;height:5rem;object-fit:contain;background:#faf4e6;border:1px solid #bba889;}
.reference-photo button {position:absolute;right:-.35rem;top:-.35rem;width:1.8rem;height:1.8rem;padding:0;border:1px solid #faf2de;border-radius:50%;background:#743c40;color:white;font:1.15rem/1 sans-serif;}

#mobile-plan-choice { display:none; }
@media (max-width:700px) {
  .tailoring-page { margin:1rem auto 2.5rem; padding-inline:clamp(8px,2.5vw,16px); }
  .tailoring-page .book-memory #book-pages {
    position:relative; width:100%; min-height:0; margin:0;
    padding:1.45rem clamp(.8rem,4vw,1.6rem) 1.75rem;
    border:1px solid #b3a083; border-inline-start:5px solid #78444a; border-radius:3px 10px 10px 3px;
    background:linear-gradient(90deg,#dccdb3 0, #faf4e7 9px, #fffaf0 45%, #fbf5e8);
    box-shadow:inset -3px 0 #f0e6d3, 1px 2px 0 #beac8d, 2px 4px 0 #eee4ce, 0 8px 20px -13px #36281d;
  }
  .tailoring-page #book-pages::before {content:"";position:absolute;right:1.1rem;top:-1px;width:.65rem;height:1rem;background:#67393d;clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%);}
  .writing-sheet { min-width:0; overflow-wrap:anywhere; }
  .writing-sheet .memory-head { padding-right:.8rem; }
  .writing-sheet .memory-steps { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:1rem 0; }
  .writing-sheet .memory-steps li { font-size:.78rem;letter-spacing:0;text-align:center;padding:.45rem 0;white-space:normal; }
  .writing-sheet .spread-grid,.writing-sheet .memory-result { grid-template-columns:minmax(0,1fr); gap:1rem; }
  .writing-sheet :is(fieldset, .memory-result > div, .memory-stage, .plan-leaf) { min-width:0; }
  .writing-sheet :is(input,select,textarea,iframe,img,button) { max-width:100%;box-sizing:border-box; }
  .writing-sheet :is(input[type="file"],select,textarea) { min-width:0; }
  .writing-sheet .button { white-space:normal;overflow-wrap:anywhere; }
  .writing-sheet .book-method { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem; }
  .book-method span { padding:.55rem .24rem;text-align:center;font-size:.94rem; }
  #mobile-plan-choice { display:block;width:100%;font-size:1rem;margin:0; }
  #plan-list { display:none; }
  .writing-sheet .plan-menu { margin:0; }
  .writing-sheet .plan-leaf figure img { width:100%;height:clamp(9rem,45vw,16rem);background:#efe5d5;object-fit:contain; }
  .writing-sheet .sample-measures { max-width:100%;overflow-x:auto; }
  .writing-sheet .color-options {grid-template-columns:repeat(4,minmax(0,1fr));}
  .writing-sheet .memory-cover {min-height:0;padding:1.15rem;}
  .writing-sheet .memory-cover small {padding-top:.75rem;}
  .book-guide { padding:1.5rem 1rem; }
}

main .custom-ribbon.button:not(.secondary)::before {
  filter:sepia(1) saturate(5) hue-rotate(315deg) drop-shadow(0 2px 2px #2c231c44);
}
main .custom-ribbon.button:not(.secondary):is(:hover,:focus-visible)::before {
  filter:sepia(1) saturate(5) hue-rotate(315deg) brightness(1.25);
}

.sample-photo {position:relative; border:0; padding:0; background:transparent; cursor:zoom-in}
.sample-photo img {display:block; width:100%; height:auto}
.sample-gallery {width:100%; min-width:0; margin:0 auto 1.5rem}
.gallery-track {display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none}
.gallery-track::-webkit-scrollbar {display:none}
.gallery-track img {display:block; flex:0 0 100%; width:100%; min-width:0; aspect-ratio:3/2; height:auto; object-fit:contain; scroll-snap-align:start}
.gallery-controls:not([hidden]) {display:flex; position:relative; justify-content:center; align-items:center; padding:.25rem 2.75rem}
.gallery-controls button {cursor:pointer; background:transparent; border:0; color:#51372a; min-height:44px}
.slide-dot {width:32px; padding:0; display:grid; place-items:center}
.slide-dot::before {content:""; width:9px; height:9px; border:1px solid #685044; border-radius:50%}
.slide-dot[aria-current="true"]::before {background:#704332}
.gallery-toggle {position:absolute; right:0; width:44px}

@media (min-width:701px) {
  /* Keep the illustrated paper edges the same height as the item list grows. */
  .tailoring-page .book-memory #book-pages:not(.book-image-fallback) {
    position:relative;
    isolation:isolate;
    background:none;
  }
  .tailoring-page #book-pages:not(.book-image-fallback)::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    border-style:solid;
    border-color:transparent;
    border-width:38px 0;
    border-image:url("images/red-open-book.png") 36 0 fill / 38px 0 / 0 stretch;
  }
  #book-pages[data-stage="0"] .writing-sheet {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto auto 1fr;
    column-gap:13%;
    align-items:start;
  }
  #book-pages[data-stage="0"] :is(.memory-head,.memory-steps) {
    grid-column:1;
    max-width:100%;
  }
  #book-pages[data-stage="0"] :is(#memory-form,.memory-stage[data-stage="0"]:not([hidden]),.memory-stage[data-stage="0"] > .spread-grid) {
    display:contents;
  }
  #book-pages[data-stage="0"] .spread-page:first-child {grid-area:3 / 1;}
  #book-pages[data-stage="0"] .spread-page:nth-child(2) {grid-area:1 / 2 / span 3;}
  #book-pages[data-stage="0"] label[for="memory-name"] {margin-top:0;}
}

/* Keep required marks attached to labels when their text changes. */
#memory-form :is(.route-picker > legend, #mix-options > legend, #goods-heading, #sample-qty-label, #memory-input-guide, label[for="shirt-print"], label[for="shipping-region"])::after,
#item-sample[data-product="Tシャツ"] :is(#sample-color-title, label[for="sample-size"])::after,
#brief label:has(+ :required)::after {
  content: "＊";
  margin-inline-start: .25em;
  color: #ac2231;
  font-weight: bold;
}
.required-key { color: #ac2231; font-weight: bold; }

.estimate-table {width:100%; border-collapse:collapse; table-layout:fixed; margin:1.2rem 0; font-size:1rem; line-height:1.55; color:#283c33}
.estimate-table caption {text-align:left; font-weight:bold; font-size:1.15rem; padding:0 0 .55rem}
.estimate-table th,.estimate-table td {padding:.6rem .7rem; text-align:left; vertical-align:top; border:1px solid #cbc7b9; overflow-wrap:anywhere}
.estimate-table th:first-child {width:38%}
.estimate-table thead th {background:#344f42;color:#fff}
.estimate-table tbody th {background:#f5f1e5;font-weight:600}
.estimate-table tbody td {background:#fffdf8}
.estimate-table .estimate-total>* {background:#e6ecdf;font-weight:bold;border-top:2px solid #657c66}
#print-guide {margin:.7rem 0 1rem}
#print-guide summary {cursor:pointer;text-decoration:underline;text-underline-offset:.2em;color:#284d40}
.print-guide-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem;margin:1rem 0 .4rem}
.print-guide-cards figure {margin:0}
.print-guide-cards img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:.3rem}
.print-guide-cards figcaption {padding:.45rem 0;line-height:1.55}
.print-guide-cards strong {display:block}
.ink-note {background:#fff2d8;color:#593c1d;border-left:3px solid #ae7333;padding:.75rem}

/* Brass-edged paper buttons for the tailoring book's secondary actions. */
#page-top.tailoring-book :is(.tailoring-page a:not(.button), .tailoring-page .text-button,
  .item-sample summary, #print-guide summary, .album-placeholder a, .album-original) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: .55em 1.15em;
  border: 1px solid #79613f;
  border-radius: 0;
  background: #f7f0df;
  box-shadow: inset 0 0 0 2px #f7f0df, inset 0 0 0 3px #c3ac83;
  color: #483828;
  font: 600 .9375rem/1.5 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  letter-spacing: .035em;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: middle;
}
#page-top.tailoring-book :is(.item-sample summary, #print-guide summary)::-webkit-details-marker { display: none; }
#page-top.tailoring-book :is(.item-sample summary, #print-guide summary)::after {
  content: '';
  width: .42em;
  height: .42em;
  flex: none;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-.1em) rotate(45deg);
}
#page-top.tailoring-book details[open] > summary::after { transform: translateY(.1em) rotate(225deg); }
#page-top.tailoring-book :is(.tailoring-page a:not(.button), .tailoring-page .text-button,
  .item-sample summary, #print-guide summary, .album-placeholder a, .album-original):is(:hover, :focus-visible) {
  background: #eaddc3;
  color: #35271c;
}
#page-top.tailoring-book :is(a, button, summary):focus-visible {
  outline: 2px solid #825b30;
  outline-offset: 3px;
}

.tailoring-book .book-pager {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
}
.tailoring-book .book-pager > button { min-width: 5.5rem; margin: 0; }
.tailoring-book .book-pager > .error { flex-basis: 100%; }

#brief .intake-consent { display: flex; align-items: baseline; gap: .65em; cursor: pointer; }
#brief .intake-consent input { width: 1.15em; height: 1.15em; flex: none; }
