/* Decorative preview only: preserve original brand typography, palette and wings. */
.hand-circled { position:relative; display:inline-block; isolation:isolate; }
.hand-circled::after { content:""; position:absolute; inset:-.15em -.25em -.12em; background:url('/assets/hand-accents/oval.svg') center/100% 100% no-repeat; pointer-events:none; z-index:-1; transform:rotate(-3deg); }
.what__h2,.demo__h2 { position:relative; }
.what__h2::after,.demo__h2::after { content:""; display:block; width:clamp(100px,16vw,210px); height:17px; background:url('/assets/hand-accents/underline.svg') center/100% 100% no-repeat; margin-top:8px; transform:rotate(-1deg); pointer-events:none; }
.plan:nth-child(2) .plan__name { position:relative; width:fit-content; }
.plan:nth-child(2) .plan__name::after { content:""; position:absolute; left:-14px; right:-14px; top:-10px; bottom:-10px; background:url('/assets/hand-accents/oval.svg') center/100% 100% no-repeat; pointer-events:none; }
.hand-note { display:flex; align-items:center; gap:10px; margin:20px 0 0; font-size:16px; color:var(--mute-d-hi); }
.hand-note::before { content:""; flex:none; display:block; width:60px; height:34px; background:url('/assets/hand-accents/arrow.svg') center/contain no-repeat; transform:rotate(170deg); }
@media(max-width:560px) { .hand-circled::after { inset:-.1em -.12em; } .hand-note { font-size:14px; margin-top:16px; } }

@font-face { font-family: 'Krylo Notes'; src:url('/assets/fonts/caveat.woff2') format('woff2'); font-weight:400 700; font-display:swap; }
/* Only the two homepage compositions use these classes. */
.diagnosis { position:relative; align-self:center; color:#17120f; padding:0 16px 6px 28px; max-width:500px; }
.diagnosis__label { font-size:14px; margin:0 0 24px; text-transform:uppercase; letter-spacing:.09em; }
.diagnosis__line { display:flex; align-items:baseline; gap:18px; font-size:clamp(19px,1.6vw,26px); line-height:1.35; margin:18px 0; }
.diagnosis__mark { font-family:'Krylo Notes',cursive; font-size:38px; line-height:1; flex:none; }
.diagnosis__reason { display:block; font-family:'Krylo Notes',cursive; font-size:28px; font-weight:500; transform:rotate(-3deg); margin-top:2px; }
.diagnosis__intact > span:last-child { border-bottom:2px solid #17120f; border-radius:0 0 44% 12%; padding-bottom:5px; }
.diagnosis__arrow { width:85px; height:65px; fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; margin-left:12px; }
.diagnosis__result { position:relative; margin:-30px 0 0 95px; padding:16px 12px; font-size:clamp(20px,1.65vw,27px); line-height:1.4; width:fit-content; }
.diagnosis__result:before { content:''; position:absolute; inset:-3px -14px; border:2px solid currentColor; border-radius:48% 43% 52% 40%; transform:rotate(-5deg); pointer-events:none; }
.diagnosis__result strong { display:block; font-weight:700; }
.diagnosis__note { font-family:'Krylo Notes',cursive; font-size:28px; transform:rotate(-3deg); margin:26px 0 0 55px; }
.flight-route { position:relative; margin:48px 0 54px; }
.flight-route__line { position:absolute; left:0; top:0; width:100%; height:125px; fill:none; stroke:#b09b83; stroke-width:2; stroke-linecap:round; }
.flight-steps { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:40px; }
.flight-steps li { position:relative; padding-top:23px; }
.flight-steps li:nth-child(2) { padding-top:37px; }
.flight-steps li:nth-child(4) { padding-top:16px; }
.flight-steps__number { position:relative; display:grid; place-items:center; width:70px; height:66px; background:var(--dark-2); font-family:'Krylo Notes',cursive; font-size:36px; }
.flight-steps__number:before { content:''; position:absolute; inset:0; border:2px solid #d2c4b1; border-radius:46% 53% 43% 51%; transform:rotate(-9deg); }
.flight-steps__time { display:block; margin:27px 0 12px; color:var(--mute-d-hi); font-size:16px; }
.flight-steps h3 { font-size:clamp(20px,1.8vw,29px); line-height:1.25; max-width:15ch; }
.flight-steps__key .flight-steps__number { color:var(--accent); }
.flight-steps__key .flight-steps__number:before { border-color:var(--accent); border-width:3px; transform:rotate(7deg); }
.flight-steps__note { display:block; font-family:'Krylo Notes',cursive; font-size:26px; color:var(--accent); transform:rotate(-4deg); margin-top:14px; }
.flight-steps__finish { display:block; font-family:'Krylo Notes',cursive; color:var(--accent); font-size:50px; line-height:1; margin-top:12px; }
@media(max-width:860px) {
 .diagnosis { padding:24px 0; width:100%; }
 .flight-route__line { display:none; }
 .flight-steps { display:block; position:relative; }
 .flight-steps:before { content:''; position:absolute; left:32px; top:30px; bottom:60px; width:8px; border-left:2px solid #b09b83; border-radius:40% 10% 50% 20%; }
 .flight-steps li,.flight-steps li:nth-child(2),.flight-steps li:nth-child(4) { padding:0 0 40px 100px; min-height:130px; }
 .flight-steps__number { position:absolute; left:0; top:0; }
 .flight-steps__time { margin:0 0 10px; padding-top:4px; }
 .flight-steps h3 { max-width:24ch; }
 .flight-route { margin-bottom:20px; }
}
@media(max-width:400px) { .diagnosis__result { margin-left:65px; } .diagnosis__note { margin-left:12px; font-size:25px; } .flight-steps li,.flight-steps li:nth-child(2),.flight-steps li:nth-child(4) { padding-left:85px; } }

/* Refine the two homepage compositions: consistent baselines and three stages. */
.diagnosis { width:100%; max-width:460px; padding:0 18px; }
.diagnosis__label { font-size:14px; text-transform:none; letter-spacing:0; margin:0 0 14px 48px; }
.diagnosis__line { display:grid; grid-template-columns:30px minmax(0,1fr); gap:18px; margin:16px 0; }
.diagnosis__reason { transform:none; margin-top:2px; font-size:27px; }
.diagnosis__intact > span:last-child { width:fit-content; }
.diagnosis__arrow { width:55px; height:46px; margin:0 0 0 6px; }
.diagnosis__result { margin:-12px 0 4px 48px; padding:12px 8px; font-size:clamp(19px,1.55vw,25px); }
.diagnosis__result:before { inset:-3px -12px; transform:rotate(-2deg); }
.flight-steps { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(30px,5vw,90px); }
.flight-steps li,.flight-steps li:nth-child(2),.flight-steps li:nth-child(4) { padding-top:23px; }
.flight-steps h3 { max-width:19ch; }
.flight-steps__description { max-width:29ch; margin-top:16px; color:var(--mute-d-hi); font-size:17px; line-height:1.5; }
@media(max-width:860px) {
 .diagnosis { padding:20px 12px; }
 .flight-steps li,.flight-steps li:nth-child(2),.flight-steps li:nth-child(4) { padding:0 0 40px 100px; }
}
@media(max-width:400px) {
 .diagnosis__result { margin-left:48px; }
 .flight-steps li,.flight-steps li:nth-child(2),.flight-steps li:nth-child(4) { padding-left:85px; }
}

/* Shared portfolio treatment, all preview pages. */
.work .cases { background-image:none; }
.work .case__stage::before { content:none; }
.work .case__stage::after { content:none; }
.work .case__stage { isolation:isolate; }
.work .case { position:relative; }
.work .case::before { content:''; position:absolute; left:4%; top:2%; width:70%; height:30%; background:url('/assets/hand-accents/work-sweep.svg') center/100% 100% no-repeat; opacity:.38; pointer-events:none; }
.work .case--flip::before { left:auto; right:4%; transform:scaleX(-1); }
.work .case__t { position:relative; }
.work .case__t::after { width:clamp(110px,13vw,200px); height:86px; margin-top:16px; margin-left:-24px; background:url('/assets/hand-accents/work-trail.svg') center/contain no-repeat; }
.work .case--flip .case__t::after { transform:scaleX(-1); margin-left:auto; margin-right:-24px; }
.work .work__btn { position:relative; border:0; border-radius:0; background:transparent; font-family:'Krylo Notes',cursive; font-size:36px; width:52px; height:48px; }
.work .work__btn::before { content:''; position:absolute; inset:2px; border:1.5px solid var(--line-d-str); border-radius:47% 53% 44% 51%; transform:rotate(-8deg); pointer-events:none; }
.work .work__btn[data-dir='1']::before { transform:rotate(9deg); }
.work .work__btn:hover:not(:disabled) { color:var(--accent); }
.work .work__btn:hover:not(:disabled)::before { border-color:var(--accent); }
.work .work__count { font-family:'Krylo Notes',cursive; font-size:26px; }
.work .work__top { border-bottom:0; }
@media(max-width:860px) {
 .work .case::before { width:88%; left:6%; top:1%; height:22%; }
 .work .case__t::after,.work .case--flip .case__t::after { width:110px; height:42px; margin:10px 0 0; background:url('/assets/hand-accents/underline.svg') left center/contain no-repeat; transform:none; }
 .work .work__count { margin-right:8px; font-size:23px; }
}

/* Service pages: accents belong to words, not the centre of the heading. */
.hero-mark { position:relative; display:inline-block; white-space:nowrap; }
.hero-mark--circle::after { content:''; position:absolute; inset:-.2em -.3em -.24em; border:2px solid var(--accent); border-radius:44% 49% 45% 48%; transform:rotate(-1deg); pointer-events:none; }
.hero-mark--underline::after { content:''; position:absolute; left:0; right:0; bottom:-.23em; height:.055em; border-bottom:2px solid var(--accent); border-radius:50%; transform:none; pointer-events:none; }
.price__t thead th { text-transform:none; letter-spacing:0; font-size:15px; font-weight:600; }
.price__t tbody td.mono { font-weight:600; font-variant-numeric:tabular-nums; letter-spacing:-.02em; }
.price + .what--dark { border-top:0; background:var(--dark-2); }
.price:has(+ .what--dark) { padding-bottom:clamp(48px,6vw,90px); }
.price:has(+ .what--dark) .price__claim { border-top:0; border-left:3px solid var(--accent); padding:4px 0 4px 24px; }
.price:has(+ .what--dark) .price__claim-t { font-size:clamp(22px,2.3vw,34px); max-width:42ch; line-height:1.2; }
.what--dark .service-detail__body { color:var(--ink-d); }
.project-note { color:var(--on-accent); padding:8px 0; }
.project-note__steps { list-style:none; padding:0; margin:0; display:grid; gap:28px; }
.project-note__steps li { display:grid; grid-template-columns:40px minmax(0,1fr); gap:20px; position:relative; }
.project-note__steps li:not(:last-child)::after { content:''; position:absolute; top:47px; bottom:-22px; left:19px; border-left:1px solid currentColor; opacity:.4; transform:rotate(3deg); }
.project-note__number { display:grid; place-items:center; width:40px; height:40px; border:1.5px solid currentColor; border-radius:46% 52% 48% 43%; font:30px/1 'Krylo Notes',cursive; }
.project-note h3 { font-family:Onest,system-ui,sans-serif; font-size:22px; font-weight:650; line-height:1.2; margin:3px 0 7px; }
.project-note p { font-size:17px; line-height:1.4; }
.request-flow { display:grid; grid-template-columns:minmax(0,1fr) 160px minmax(0,1fr); align-items:start; gap:28px; margin:56px 0 0; }
.request-flow__label { font-size:18px; font-weight:600; margin:0 0 22px; }
.request-message__bubble { position:relative; background:#f0eee7; color:#181510; padding:28px; border-radius:24px 24px 24px 4px; }
.request-message__avatar { float:left; display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:#d9d2c6; margin-right:12px; }
.request-message__name { font-weight:700; padding-top:6px; margin-bottom:22px; }
.request-message__name span { float:right; font-size:14px; font-weight:400; color:#655d53; }
.request-message__bubble > p:not(.request-message__name) { font-size:20px; line-height:1.5; margin-top:12px; }
.request-flow__note { font:25px/1.15 'Krylo Notes',cursive; color:#d4bd9f; margin:18px 8px 0; }
.request-flow__bridge { padding-top:100px; text-align:center; color:var(--accent); font:26px/1.15 'Krylo Notes',cursive; }
.request-flow__bridge svg { width:100%; margin-top:8px; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.request-record__paper { background:#f0eee7; color:#181510; padding:28px; border-top:4px solid var(--accent); border-radius:3px 12px 5px 3px; }
.request-record__status { color:#655d53; font-size:14px; margin:0 0 12px; }
.request-record h3 { font-size:30px; margin:0 0 18px; }
.request-record dl { margin:0; }
.request-record dl div { display:grid; grid-template-columns:120px minmax(0,1fr); gap:12px; padding:12px 0; border-bottom:1px solid #d8d2c8; font-size:17px; }
.request-record dt { color:#655d53; }
.request-record dd { margin:0; font-weight:550; }
.request-record__notification { font-size:15px; line-height:1.4; margin:20px 0 0; }
.request-record__notification span { font:26px 'Krylo Notes',cursive; margin-right:5px; }
.request-flow figcaption { grid-column:1/-1; font-size:18px; line-height:1.5; max-width:65ch; margin-top:12px; }
@media(max-width:1000px) {
 .request-flow { grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr); gap:18px; }
 .request-record dl div { grid-template-columns:1fr; gap:3px; }
}
@media(max-width:700px) {
 .request-flow { grid-template-columns:1fr; gap:24px; margin-top:32px; }
 .request-flow__bridge { padding:0; display:flex; align-items:center; justify-content:center; gap:18px; }
 .request-flow__bridge svg { width:80px; height:70px; transform:rotate(80deg); margin:0; }
 .request-message__bubble,.request-record__paper { padding:22px; }
 .request-record dl div { grid-template-columns:110px minmax(0,1fr); }
 .project-note h3 { font-size:20px; }
 .hero-mark--circle::after { border-width:2px; }
}

/* Keep the render's black background blended at the outermost layer. */
.hero { isolation:isolate; background:var(--dark); }
.hero__object { mix-blend-mode:screen; }
.hero__object img { mix-blend-mode:normal; animation:none; }
.graphic-label { font-size:15px; font-weight:600; margin-bottom:20px; }
.integration-map { display:grid; grid-template-columns:minmax(0,1fr) 140px minmax(0,1.2fr); gap:24px; align-items:center; margin:48px 0 0; }
.order-slip { background:var(--light); color:var(--ink-l); padding:32px; border-radius:3px 16px 4px 4px; border-top:4px solid var(--accent); }
.order-slip h3 { font-size:28px; margin-bottom:20px; }
.order-slip p { line-height:1.5; }
.order-slip__price { display:block; font-size:36px; margin:22px 0; }
.order-slip__paid { font-weight:650; margin-bottom:10px; }
.map-connector { color:var(--accent); }
.map-connector span { display:block; text-align:center; font:25px/1.1 'Krylo Notes',cursive; }
.map-connector svg { width:100%; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.integration-results { list-style:none; margin:0; padding:0; display:grid; gap:20px; }
.integration-results li { display:flex; gap:20px; padding:18px 0; border-bottom:1px solid var(--line-d); }
.result-icon { flex:none; width:42px; height:42px; display:grid; place-items:center; border:1.5px solid var(--accent); color:var(--accent); border-radius:46% 54% 43% 51%; font:28px/1 'Krylo Notes',cursive; }
.integration-results h3 { font-size:22px; margin-bottom:8px; }
.integration-results p { color:var(--mute-d-hi); line-height:1.5; }
.integration-map figcaption { grid-column:1/-1; max-width:70ch; margin-top:20px; font-size:18px; line-height:1.5; }
.repair-sheet { background:var(--light); color:var(--ink-l); padding:28px; border-radius:3px 14px 4px 3px; border-top:4px solid var(--accent); margin:32px 0 0; }
.repair-sheet figcaption { font:27px/1.2 'Krylo Notes',cursive; margin-bottom:24px; }
.repair-sheet__columns { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.repair-sheet h3 { font-size:18px; margin-bottom:14px; }
.repair-sheet p { font-size:17px; line-height:1.45; margin:10px 0; }
.repair-sheet__columns p span { font:26px/1 'Krylo Notes',cursive; margin-right:8px; }
.repair-sheet__decision { padding:20px 0; border-bottom:1px solid #cfc8bd; }
.repair-sheet__decision span { color:var(--accent); font:38px/1 'Krylo Notes',cursive; margin-right:10px; }
.repair-sheet__total { display:flex; align-items:center; flex-wrap:wrap; gap:12px 24px; padding-top:16px; }
.repair-sheet__total strong { font-size:24px; }
.repair-sheet__total > span { font:24px/1.2 'Krylo Notes',cursive; }
.ask--separated { background:#e0d8ca; border-top:0; position:relative; }
.ask--separated::before { content:''; position:absolute; top:0; left:var(--gut); width:100px; border-top:4px solid var(--accent); transform:rotate(-2deg); }
.plan { padding:28px; background:#e7e1d6; border:0; border-top:3px solid #bfb5a5; border-radius:3px 12px 3px 3px; }
.plan:nth-child(2) { background:#f8f4ec; border-top-color:var(--accent); }
.plan:nth-child(2) .plan__name::after { display:none; }
.plan__purpose { font-size:16px; line-height:1.4; color:#655c50; min-height:3em; margin:12px 0 20px; }
.plan__price .mono { font-weight:650; letter-spacing:-.04em; }
.plan__r { border-bottom-color:#cbc2b4; }
.plan__buy { margin-top:auto; }
.care-report { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:64px; align-items:center; margin-top:48px; }
.care-report__intro h3 { font-size:clamp(26px,3vw,42px); line-height:1.15; }
.care-report__paper { background:var(--light); color:var(--ink-l); padding:32px; border-radius:3px 14px 4px 3px; border-top:4px solid var(--accent); }
.care-report__metrics { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.care-report__metrics strong { display:block; font-size:clamp(26px,3vw,40px); letter-spacing:-.04em; }
.care-report__metrics span { display:block; font-size:15px; margin-top:6px; }
.care-report__days { display:grid; grid-template-columns:repeat(15,1fr); gap:5px; margin:24px 0; }
.care-report__days i { display:block; height:12px; background:#536447; border-radius:3px; }
.care-report__paper ul { list-style:none; padding:0; margin:24px 0; }
.care-report__paper li { margin:12px 0; font-size:18px; }
.care-report__hours p { font-size:16px; }
.care-report__hours [role=meter] { height:8px; background:#d8d0c3; margin-top:12px; border-radius:5px; overflow:hidden; }
.care-report__hours [role=meter] span { display:block; width:50%; height:100%; background:var(--accent); }
.care-report__next { border-top:1px solid #cbc2b4; padding-top:20px; margin-top:24px; font-size:18px; }
.care-report__next span { display:block; font:24px/1.2 'Krylo Notes',cursive; margin-bottom:8px; }
@media(max-width:1000px) {
 .integration-map { grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr); gap:16px; }
 .care-report { gap:32px; }
 .plan { padding:22px; }
}
@media(max-width:700px) {
 .integration-map,.care-report { grid-template-columns:1fr; gap:24px; }
 .map-connector { display:flex; align-items:center; justify-content:center; gap:15px; }
 .map-connector svg { width:70px; height:70px; transform:rotate(90deg); }
 .repair-sheet__columns { grid-template-columns:1fr; gap:16px; }
 .repair-sheet,.care-report__paper,.order-slip { padding:22px; }
 .plan__purpose { min-height:0; }
}
/* An extra purpose row stays aligned across the three plans. */
.plans { column-gap:20px; grid-template-rows:repeat(10,auto); }
.plan { grid-row:span 10; }
.plan + .plan { border-left:0; padding-left:28px; }
.what + .ask--separated { border-top:0; }
@media(max-width:1120px) {
 .plans { grid-template-columns:1fr; grid-template-rows:none; gap:24px; }
 .plan,.plan + .plan { display:block; grid-row:auto; padding:24px; }
 .plan__purpose { min-height:0; }
 .plan__buy { margin-top:24px; }
}

/* Quiet report typography; hand-drawn accents stay in the graphics. */
.care-report { font-family:Onest,system-ui,sans-serif; }
.care-report__intro h3 { font-family:inherit; font-weight:650; font-size:clamp(26px,2.5vw,36px); }
.care-report .request-flow__note { font:400 18px/1.5 Onest,system-ui,sans-serif; color:var(--mute-d-hi); margin:18px 0 0; }
.care-report__next span { font:600 18px/1.5 Onest,system-ui,sans-serif; }
.care-report .graphic-label,.care-report__metrics span,.care-report__hours p,.care-report__paper li,.care-report__next { font-size:18px; line-height:1.5; }
.hero-mark--circle { margin-inline:.12em; }
.hero__h1:has(.hero-mark) { padding-bottom:.18em; }

/* Fit each accent to the text line and reserve space for neighbouring words. */
.hero__h1 .hero-em--spaced { padding-top:.18em; }
.hero-mark--circle { margin-inline:.2em; }
.hero-mark--circle::after { inset:-.035em -.2em -.13em; border-radius:43% 48% 45% 47%; transform:none; }
.hero-mark--crm { margin-left:.32em; margin-right:.16em; }
.hero-mark--descenders::after { bottom:-.25em; }
.hero-mark--underline::after { bottom:-.075em; left:.03em; right:.02em; height:.025em; border-radius:0 0 45% 50%; }
.hero__h1:has(.hero-mark--descenders) { padding-bottom:.25em; }

/* Published client project. */
.case__t a { color:inherit; text-decoration:none; }
.case__t a:hover { color:var(--accent); }
.case__t a:focus-visible { outline:2px solid var(--accent); outline-offset:6px; }
.case__description { display:block; margin-top:20px; font-family:'Onest',sans-serif; font-size:18px; font-weight:400; line-height:1.5; letter-spacing:0; color:#aaa69e; }
