/* recipe page (P1 Cook Along) */
.recipe .hero-photo{margin:14px 0 0;aspect-ratio:4/3;box-shadow:var(--shadow)}
@media (min-width:760px){.recipe .hero-photo{aspect-ratio:16/8}}
.recipe-head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:6px;margin:18px 0 6px}
.recipe-head h1{font-size:clamp(36px,9.5vw,58px)}
.recipe-head .promise{margin:8px 0 14px;font-size:17px;max-width:46ch}
.recipe-head .kite-chef{width:clamp(96px,26vw,170px);margin-bottom:-6px}

.ing-card{padding:20px 18px 22px;margin-top:16px}
.ing-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.ing-top h2{font-size:30px}
.serves{display:flex;align-items:center;gap:6px;font-weight:700;font-size:15px}
.serves button{min-width:44px;height:38px;border-radius:999px;border:2px solid var(--line);background:#fff;font:800 16px var(--sans);color:var(--plum);cursor:pointer}
.serves button[aria-pressed=true]{background:var(--plum);border-color:var(--plum);color:#fff}
.ing-chars{list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;text-align:center}
.ing-char img{width:100%;max-width:110px;aspect-ratio:1;object-fit:contain;margin:0 auto 6px;transition:transform .2s}
.ing-char:hover img{transform:translateY(-4px) rotate(-3deg)}
.ing-char b{display:block;font-size:15px}
.ing-char > span{display:block;font-size:13px;color:var(--plum-soft);line-height:1.2}
.ing-actions{display:grid;grid-template-columns:1fr;gap:12px}
.ing-actions .btn svg{width:20px;height:20px}
.ing-actions .btn.added{background:var(--leaf);box-shadow:0 6px 0 #5f8f4c}
@media (min-width:560px){.ing-actions{grid-template-columns:1fr 1fr}}
.ing-all{margin-top:18px;border-top:1px dashed var(--line);padding-top:12px}
.ing-all summary{cursor:pointer;font-weight:700;padding:6px 0;list-style:none}
.ing-all summary::after{content:" ▾";color:var(--coral)}
.ing-all[open] summary::after{content:" ▴"}
.ing-list{list-style:none;padding:0;margin:8px 0 0;columns:1}
@media (min-width:760px){.ing-list{columns:2;column-gap:30px}}
.ing-list li{break-inside:avoid;margin:0 0 4px}
.ing-list label{display:flex;gap:10px;align-items:flex-start;padding:7px 0;cursor:pointer}
.ing-list input{width:22px;height:22px;accent-color:var(--coral);flex:none;margin-top:1px}
.ing-list input:checked+span{text-decoration:line-through;color:var(--plum-soft)}
.serve-with{margin:10px 0 0;font-weight:600}

.steps-h{font-size:34px;margin:34px 0 14px}
.steps{list-style:none;padding:0;margin:0;display:grid;gap:16px}
.step{display:grid;grid-template-columns:1fr;overflow:hidden}
.step-art{background:var(--gold-wash);padding:10px;display:grid;place-items:center}
.step-art img{width:100%;max-width:340px;aspect-ratio:4/3;object-fit:contain}
.step-body{padding:16px 18px 20px}
.step-body h3{font-size:28px;margin-bottom:8px}
.step-body h3 small{display:block;font:700 15px var(--sans);color:var(--coral);letter-spacing:0}
.step-body p{margin:0 0 14px;font-size:18px;line-height:1.55}
.step .timer{border:0;cursor:pointer;font:700 15px var(--sans);color:var(--plum);background:var(--sky-wash)}
.step .timer.running{background:var(--coral);color:#fff}
.step .kid{background:var(--gold-soft)}
@media (min-width:760px){.step{grid-template-columns:320px 1fr;align-items:center}.step-art{height:100%}}

.made-it{display:grid;grid-template-columns:110px 1fr;gap:14px;align-items:center;padding:20px;margin-top:24px}
.made-it img{width:110px}
.made-it h2{font-size:32px}
.made-it p{margin:4px 0 8px;font-weight:700}
.rate{display:flex;gap:10px;margin-bottom:14px}
.rate button{display:flex;flex-direction:column;align-items:center;gap:2px;background:var(--cream);border:2px solid var(--line);border-radius:18px;padding:8px 10px 6px;cursor:pointer;font:700 13px var(--sans);color:var(--plum);transition:transform .15s}
.rate button svg{width:40px;height:40px}
.rate button:hover{transform:translateY(-2px)}
.rate button.picked{border-color:var(--coral);background:var(--coral-wash);animation:pop .35s}
.made-it .btn svg{width:20px;height:20px}
.made-it>div{min-width:0}
@media (max-width:519px){.made-it{grid-template-columns:1fr;justify-items:center;text-align:center;padding:20px 16px}.made-it img{width:96px}.rate{justify-content:center}.made-it .btn{width:100%}}

.tips{margin:26px 0}
.tips h2{font-size:28px;margin-bottom:8px}
.tips ul{margin:0;padding-left:20px}
.tips li{margin-bottom:6px}

/* printable card sheet */
.sheet-backdrop{position:fixed;inset:0;background:rgba(58,46,63,.45);z-index:50;display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .2s}
.sheet-backdrop:not(.open){pointer-events:none}
.sheet-backdrop.open{opacity:1}
.sheet{position:relative;background:var(--cream);width:100%;max-width:560px;border-radius:28px 28px 0 0;padding:28px 20px 26px;transform:translateY(40px);transition:transform .25s ease;max-height:92vh;overflow:auto;text-align:center}
.sheet-backdrop.open .sheet{transform:none}
@media (min-width:640px){.sheet-backdrop{align-items:center}.sheet{border-radius:28px}}
.sheet-x{position:absolute;right:12px;top:10px;width:40px;height:40px;border-radius:50%;border:0;background:#fff;font-size:26px;line-height:1;cursor:pointer;color:var(--plum)}
.sheet-kite{width:84px;margin:-6px auto 0}
.sheet-preview{width:150px;margin:8px auto 14px;border-radius:10px;box-shadow:var(--shadow);transform:rotate(-3deg)}
.sheet h2{font-size:28px;margin-bottom:8px}
.sheet p{margin:0 0 14px}
.sheet .signup{text-align:left}
.sheet .fineprint{margin:8px 0 0;text-align:center}
.sheet .form-msg{margin:6px 0 0}
.sheet .plain{display:block;margin:12px auto 0;font-size:16px}
.done-actions{display:grid;gap:12px;margin-top:6px}
.done-actions .btn svg{width:20px;height:20px}

/* plain print (no email) */
@media print{
  .site-header,.nav,.hero-photo,.kite-chef,.ing-chars,.ing-actions,.step-art,.timer,.made-it,.sunday,.site-footer,.sheet-backdrop,.toast,.chips{display:none!important}
  body{background:#fff;font-size:12pt}
  .card{box-shadow:none;border:0}
  .ing-all summary{display:none}
  .ing-list{columns:2}
  .ing-list input{display:none}
  .step{display:block;margin:0 0 6pt}
  .step-body{padding:0}
  .step-body h3{font-size:13pt}
  .step-body p{font-size:11pt;margin:0}
  .recipe-head h1{font-size:24pt}
  .recipe-head::after{content:"forkandkite.com";font-weight:700}
}
