/* Hero on the crimson wrapping: a 12-column grid in the wide track. Copy on columns 1–5, ribbon and the bow with the picker tag on the 5/6 seam (--ck-rx), photo arch on columns 7–12. */
.ck-section.ck-section--hero{padding:0;z-index:4;box-shadow:0 22px 40px -18px var(--ck-fs-drop);clip-path:inset(-240px 0 -80px 0)}
.ck-section--hero .ck-section__inner{max-width:none;padding:0}
.ck-header--wrap + main > .ck-section--hero:first-child{padding-top:var(--ck-head)}
.ck-hero{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--ck-gap);
	min-height:calc(max(min(100svh,980px),780px) - var(--ck-head) - var(--ck-rib));
	padding:clamp(28px,4vh,44px) max(var(--ck-pad),(100% - var(--ck-max-wide)) / 2) 0}
.ck-hero__ribbon{left:calc(var(--ck-rx) - 26px);z-index:2}
.ck-hero .ck-hero__ribbon{background:var(--ck-fs-satin-v)}
.ck-hero__bow{--ck-bow-l:var(--ck-fs-bow-l);--ck-bow-2:var(--ck-fs-bow-2);--ck-bow-d:var(--ck-fs-bow-d);--ck-bow-shade:var(--ck-fs-bow-shade);--ck-bow-hi:var(--ck-fs-bow-hi);--ck-bow-hi-2:var(--ck-fs-bow-hi-2)}

.ck-hero__copy{grid-column:1/6;grid-row:1;align-self:start;position:relative;z-index:4;padding-bottom:96px}
.ck-hero__title{font-size:var(--ck-fs-h1);line-height:1.02;letter-spacing:-.03em;font-weight:800;margin:0 0 22px;text-wrap:balance;text-shadow:0 2px 18px var(--ck-fs-shade)}
.ck-hero__word{white-space:nowrap}
@media (min-width:1200px){.ck-hero__title{max-width:8em}}
/* the tag hangs ~24px left of the 5/6 seam: copy keeps clear of it, the title fits its column (longest line «где ваш ребёнок» ~7.9em) */
@media (min-width:1101px){
	.ck-hero__copy{container-type:inline-size;padding-right:calc(40px - var(--ck-gap) / 2)}
	.ck-hero__title{font-size:min(var(--ck-fs-h1),12cqi)}
}
.ck-hero__lead{font-size:var(--ck-fs-lead);font-weight:650;line-height:1.3;margin:0 0 14px;text-wrap:balance}
.ck-hero__sub{font-size:18px;line-height:1.55;margin:0 0 30px;max-width:46ch;text-wrap:pretty;color:var(--ck-fs-ink-2)}
.ck-hero__actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-bottom:26px}
.ck-hero .ck-hero__main{background:var(--ck-fs-cta);color:var(--ck-fs-cta-ink)}
.ck-hero .ck-hero__actions .ck-btn--ghost{color:var(--ck-fs-ghost);border-color:var(--ck-fs-ghost-line);background:var(--ck-fs-ghost-bg)}
@media (hover:hover){.ck-hero .ck-hero__actions .ck-btn--ghost:hover{background:var(--ck-fs-ghost-hover);color:var(--ck-fs-ghost-hover-ink)}}
.ck-hero__proof{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;font-weight:650;font-size:17px}
.ck-hero__proof>span{display:inline-flex;align-items:center;gap:7px}
.ck-hero__star{color:var(--ck-fs-star);width:20px;height:20px}
.ck-hero__dot{width:5px;height:5px;border-radius:50%;background:var(--ck-fs-dot)}
@media (min-width:1600px){.ck-hero__sub{font-size:20px}.ck-hero__proof{font-size:18px}}

/* bow on the crossing, tag on a golden string */
.ck-hero__hang{position:absolute;z-index:5;left:var(--ck-rx);top:calc(var(--ck-rib) / -2);width:0;height:0}
.ck-hero__bow{position:absolute;left:-74px;top:-52px;width:148px;height:108px;z-index:2}
.ck-hero__swing{position:absolute;left:0;top:0;transform-origin:0 0;transform:rotate(-2deg)}
.ck-hero__thread{left:-6px;top:-2px;width:200px;height:200px;z-index:1}
.ck-hero__tagbox{position:absolute;left:-28px;top:150px;width:324px}
.ck-hero__tagbox.ck-tag-shadow{filter:var(--ck-fs-tag-shadow)}
.motion .ck-hero__swing{animation:ck-sway 1s cubic-bezier(.25,.8,.3,1) both}
@keyframes ck-sway{0%{transform:rotate(3deg)}35%{transform:rotate(-3.5deg)}65%{transform:rotate(-.5deg)}100%{transform:rotate(-2deg)}}

/* the tag form */
.ck-gift-tag .ck-gift-tag__group{border:0;margin:0 0 18px;padding:0;min-width:0}
.ck-gift-tag__legend{font-weight:700;font-size:15px;margin-bottom:8px;padding:0;color:var(--ck-plum)}
.ck-gift-tag__komu{display:flex;align-items:baseline;gap:10px;margin-bottom:20px;border-bottom:1.5px dashed var(--ck-line-2);padding-bottom:8px}
.ck-gift-tag__label{font-size:28px;color:var(--ck-malina-d);line-height:1;flex:none}
.ck-gift-tag__ink{position:relative;flex:1;min-width:0}
.ck-gift-tag .ck-gift-tag__input,.ck-gift-tag__written{font-family:var(--ck-hand);font-size:34px;line-height:1.2;padding:2px 2px 4px;letter-spacing:.01em}
.ck-gift-tag .ck-gift-tag__input{width:100%;min-height:48px;border:0;background:transparent;color:var(--ck-violet);border-radius:var(--ck-r-m);box-shadow:none}
.ck-gift-tag__input:focus{outline:none}
.ck-gift-tag .ck-gift-tag__input:focus-visible{outline:3px solid var(--ck-focus);outline-offset:2px}
.ck-gift-tag__written{position:absolute;inset:0;pointer-events:none;white-space:pre;color:var(--ck-violet);overflow:hidden;display:flex;align-items:center}
.ck-gift-tag__written:empty{display:none}
.js.hand .ck-gift-tag__input{color:transparent}
.ck-gift-tag__written .l{display:inline-block;white-space:pre}
.motion .ck-gift-tag__written .l{animation:ck-write .38s cubic-bezier(.2,.7,.2,1) both}
@keyframes ck-write{from{clip-path:inset(-20% 100% -20% 0);transform:translateY(2px)}to{clip-path:inset(-20% -10% -20% 0);transform:none}}
.ck-pills{display:grid;gap:8px}
.ck-pills--2{grid-template-columns:1fr 1fr}
.ck-pill{position:relative;display:block}
.ck-pill input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;width:100%;height:100%}
.ck-pill span{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:var(--ck-r-m);border:1.5px solid var(--ck-line);background:#FBF6FE;font-weight:600;font-size:16px;color:var(--ck-plum-2);transition:background-color .2s,border-color .2s,color .2s}
.ck-pill input:hover+span{border-color:var(--ck-violet-2)}
.ck-pill input:checked+span{background:var(--ck-violet);border-color:var(--ck-violet);color:#fff;box-shadow:0 4px 10px -4px rgba(105,23,144,.6)}
.ck-pill input:focus-visible+span{outline:3px solid var(--ck-focus);outline-offset:2px}
.ck-gift-tag__submit{width:100%;margin-top:4px}
.ck-gift-tag:target,#podbor{scroll-margin-top:24px}

/* photo in an arch cut in the wrapping, its paper edge turned back; the inset sits on the arch's left edge */
.ck-hero__media{grid-column:7/13;grid-row:1;justify-self:end;align-self:stretch;position:relative;width:min(100%,760px);min-height:480px}
.ck-hero__corner{position:absolute;z-index:3;inset:16px 0 0;container-type:size;margin:0}
.ck-hero__corner img{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;object-position:50% 18%;clip-path:inset(0 round 50cqw 50cqw 0 0)}
.ck-hero__curl{position:absolute;inset:-12px -12px 0;border-radius:calc(50cqw + 12px) calc(50cqw + 12px) 0 0;pointer-events:none;
	background:linear-gradient(200deg,var(--ck-fs-curl));
	box-shadow:0 26px 44px -22px rgba(50,0,35,.6),inset 0 2px 0 rgba(255,255,255,.65)}
.ck-hero__note{position:absolute;z-index:2;right:16px;bottom:14px;font-size:13px;font-weight:600;color:#fff;background:rgba(31,23,53,.62);padding:5px 10px;border-radius:var(--ck-r-s)}

/* inset: the same child drawn in the book */
.ck-hero__inset{position:absolute;z-index:4;margin:0;width:136px;left:-70px;bottom:28px}
.ck-hero__inset-img{width:136px;height:136px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:5px solid #fff;box-shadow:0 14px 24px -10px rgba(50,0,35,.6),0 2px 4px rgba(50,0,35,.3)}
/* the note sits level with the inset bottom, below the proof line, its arrow rising into the inset */
.ck-hero__inset-label{position:absolute;right:calc(100% + 4px);bottom:-2px;display:flex;align-items:flex-end;gap:0;color:var(--ck-fs-ink);white-space:nowrap}
.ck-hero__inset-label .ck-hand{font-size:30px;line-height:1;transform:rotate(-6deg);text-shadow:0 2px 10px var(--ck-fs-shade-2)}
/* below 1400 the note lies on the photo: white as in the bright tone whatever the tone */
@media (max-width:1399px){.ck-hero__inset-label{--ck-fs-ink:#fff;--ck-fs-shade-2:rgba(110,0,55,.45)}}
.ck-hero__arrow{width:62px;height:42px;margin:0 -8px 12px 0;transform:scaleY(-1);fill:none;stroke:var(--ck-fs-ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
@media (min-width:1101px) and (max-width:1399px){
	.ck-hero__media{grid-column:8/13}
	.ck-hero__inset{left:auto;right:28px;bottom:72px;width:112px}
	.ck-hero__inset-img{width:112px;height:112px;border-width:4px}
	.ck-hero__inset-label{bottom:auto;top:-34px;right:8px}
	.ck-hero__arrow{display:none}
}

@media (max-width:1100px){
	.ck-hero{display:block;padding:34px var(--ck-pad) 0;min-height:0}
	.ck-hero__ribbon{display:none}
	.ck-hero__copy{max-width:640px;padding-bottom:0}
	.ck-hero__hang{position:relative;left:auto;top:auto;width:auto;height:auto;max-width:400px;margin:40px auto 0;padding-top:46px}
	.ck-hero__hang::before{content:"";position:absolute;left:50%;top:0;bottom:40px;width:44px;margin-left:-22px;z-index:0;background:var(--ck-fs-satin-v);box-shadow:6px 0 12px -6px rgba(60,0,40,.5)}
	.ck-hero__bow{left:50%;top:-6px;margin-left:-66px;width:132px;height:96px}
	.ck-hero__swing{position:relative;transform:rotate(-1.5deg);transform-origin:50% 0;z-index:1}
	.motion .ck-hero__swing{animation-name:ck-sway-m;animation-duration:.9s}
	.ck-hero__thread{display:none}
	.ck-hero__tagbox{position:relative;left:auto;top:auto;width:auto;margin-top:14px}
	.ck-hero__media{justify-self:auto;width:auto;max-width:600px;min-height:0;margin:60px auto 0}
	.ck-hero__corner{position:relative;inset:auto;height:min(118vw,560px)}
	.ck-hero__corner img{object-position:50% 22%}
	.ck-hero__inset{left:0;bottom:calc(min(118vw,560px) - 104px);width:112px}
	.ck-hero__inset-img{width:112px;height:112px;border-width:4px}
	.ck-hero__inset-label{right:auto;left:calc(100% + 4px);bottom:58px;flex-direction:row-reverse}
	.ck-hero__arrow{transform:scaleX(-1);margin:0 0 -24px -8px}
}
/* V1: a thin flat ribbon down the seam; the «он же в книге» note (V1 and V2) lies on a paper slip, readable over the ribbon or the photo */
body.ck-tone-v1 .ck-hero__ribbon{width:var(--ck-thin);left:calc(var(--ck-rx) - var(--ck-thin) / 2)}
body:is(.ck-tone-v1,.ck-tone-v2) .ck-hero__hang{top:calc(var(--ck-thin) / -2)}
body:is(.ck-tone-v1,.ck-tone-v2) .ck-hero__inset-label .ck-hand{padding:6px 14px 8px;border-radius:var(--ck-r-s);background:#fff;color:var(--ck-violet);text-shadow:none;box-shadow:var(--ck-shadow-s)}
/* V2: no vertical ribbon, the bow sits on the trust strip and the tag hangs from it */
body.ck-tone-v2 .ck-hero__ribbon{display:none}
@media (max-width:1100px){
	body.ck-tone-v1 .ck-hero__hang::before{width:var(--ck-thin);margin-left:calc(var(--ck-thin) / -2);box-shadow:none}
	body.ck-tone-v2 .ck-hero__hang::before{display:none}
}
@keyframes ck-sway-m{0%{transform:rotate(2deg)}40%{transform:rotate(-2.5deg)}100%{transform:rotate(-1.5deg)}}
@media (max-width:640px){
	.ck-hero__title{font-size:clamp(34px,10.4vw,44px);margin-bottom:16px}
	.ck-hero__lead{font-size:18px;margin-bottom:10px}
	.ck-hero__sub{font-size:16.5px;margin-bottom:22px}
	.ck-hero__actions{gap:10px;margin-bottom:20px}
	.ck-hero__main{width:100%}
	.ck-hero__actions .ck-btn--ghost{min-height:48px}
	.ck-hero__proof{font-size:15px;gap:6px 14px}
	.ck-hero__dot{display:none}
	.ck-gift-tag.ck-tag{padding:58px 18px 20px}
	.ck-hero{display:flex;flex-direction:column}
	.ck-hero__copy{display:contents}
	.ck-hero__media{display:contents}
	.ck-hero__title{order:1}.ck-hero__lead{order:2}.ck-hero__actions{order:3}.ck-hero__corner{order:4;margin-top:24px}
	/* photo right under the buttons (owner, 28.11): the inset sits on its top-left corner and takes no height of its own */
	.ck-hero__inset{order:5;position:relative;left:auto;bottom:auto;align-self:flex-start;margin:calc(16px - min(118vw,560px)) 0 calc(min(118vw,560px) - 128px)}
	/* description and proof above the tag (0002): they used to fall under it */
	.ck-hero__sub{order:6;margin:34px 0 14px}.ck-hero__proof{order:7;margin-bottom:0}.ck-hero__hang{order:8;width:100%;margin:36px auto 40px}
}
