/* Holiday roast timer. One idea: the answer is a run-of-show card, pinned at the top of a cranberry dinner table, worked back from the time you sit down. Parchment, brass, rosemary. System serif, no web fonts. */
:root{--ember:#2b1015;--cran:#7a1e2c;--cran-d:#5c1320;--brass:#c9973a;--brass-l:#f0d9a0;--parch:#f7efde;--paper:#fffaf0;--ink:#2a1a17;--muted:#5e4a43;--rose:#3f5b3a;--line:#d9c9a8;--warn:#fbe9c4}
[hidden]{display:none!important}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--parch);color:var(--ink);font:17px/1.65 "Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;overflow-wrap:anywhere}
h1,h2,h3,.brand,.tv,.run .tm{font-family:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;font-weight:700}
label,legend,button,select,input,.hint,.seg,.tl,.msg,.run .tx small,.notes,th,caption,summary,.hero .lead,header.top nav{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--cran);text-underline-offset:3px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--brass);outline-offset:2px}
header.top{background:var(--ember);color:#fff;border-bottom:4px solid var(--brass)}
header.top div{max-width:58rem;margin:0 auto;padding:.5rem 1rem;display:flex;gap:.3rem 1.2rem;align-items:center;flex-wrap:wrap}
.brand{font-size:1.15rem;text-decoration:none;color:var(--brass-l);display:flex;align-items:center;gap:.55rem}
.brand svg{width:34px;height:34px;flex:none}
header.top nav{display:flex;gap:.2rem 1rem;flex-wrap:wrap;margin-left:auto;font-size:.9rem}
header.top nav a{color:#ead9c4;text-decoration:none}
header.top nav a:hover{color:#fff;text-decoration:underline}
main{max-width:58rem;margin:0 auto;padding:0 1rem 3rem}
.hero{display:grid;grid-template-columns:1fr 260px;gap:1.4rem;align-items:center;padding:1.6rem 0 1.5rem}
.hero img{width:260px;height:auto;display:block;border-radius:10px;border:2px solid var(--ember)}
h1{font-size:clamp(2.05rem,8.4vw,3.3rem);line-height:1.04;margin:.1rem 0 .7rem;letter-spacing:-.015em;color:var(--cran-d)}
h2{font-size:1.55rem;line-height:1.2;margin:2.3rem 0 .6rem;color:var(--cran-d)}
h3{font-size:1.2rem;margin:0}
.lead{font-size:1.08rem;color:var(--muted);margin:0;max-width:34rem;line-height:1.55}
.panel{background:var(--paper);border:2px solid var(--ember);border-radius:10px;padding:1.2rem 1rem 1.1rem;box-shadow:5px 5px 0 var(--cran)}
.panel>h2{margin-top:0;font-size:1.45rem}
fieldset{border:0;margin:0 0 1.1rem;padding:0;min-width:0}
legend{font-weight:700;padding:0;margin-bottom:.4rem;font-size:.95rem}
label.f{display:block;font-size:.92rem;color:var(--muted);margin-bottom:.2rem;font-weight:600}
select,input[type=text],input[type=time]{width:100%;font:inherit;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:1.1rem;padding:.55rem .7rem;border:2px solid var(--ember);border-radius:8px;background:#fff;color:var(--ink);min-height:50px}
select{margin-bottom:1rem;appearance:auto}
.row{display:flex;gap:.7rem;flex-wrap:wrap;align-items:flex-end;margin-bottom:.9rem}
.row>div,.row>fieldset{flex:1 1 9rem;min-width:0}
.row>fieldset{flex:0 1 9rem;margin:0}
.seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}
.seg.five{grid-template-columns:repeat(2,minmax(0,1fr))}
.seg label{position:relative;min-width:0}
.seg input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;width:100%;height:100%}
.seg span{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:.45rem .4rem;border:2px solid var(--ember);border-radius:8px;background:#fff;min-height:50px;font-weight:700;line-height:1.15;font-size:.98rem}
.seg span small{font-weight:500;font-size:.8rem;color:var(--muted);margin-top:.1rem}
.seg input:checked+span{background:var(--cran);color:#fff;box-shadow:inset 0 -4px 0 var(--brass)}
.seg input:checked+span small{color:var(--brass-l)}
.seg input:focus-visible+span{outline:3px solid var(--brass);outline-offset:2px}
@media (min-width:560px){.seg.five{grid-template-columns:repeat(5,minmax(0,1fr))}}
.hint{font-size:.88rem;color:var(--muted);margin:.4rem 0 .6rem;line-height:1.45}
.check{display:flex;gap:.6rem;align-items:flex-start;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:.95rem;margin:0 0 1rem;line-height:1.4}
.check input{width:24px;height:24px;flex:none;margin:.1rem 0 0;accent-color:var(--cran)}
button.primary{font-weight:700;font-size:1.05rem;background:var(--brass);color:var(--ember);border:2px solid var(--ember);border-radius:8px;padding:.7rem 1.4rem;min-height:52px;cursor:pointer;width:100%;box-shadow:3px 3px 0 var(--ember)}
button.primary:hover{background:#d8a84a}
button.primary:active{box-shadow:0 0 0 var(--ember);transform:translate(3px,3px)}
@media (min-width:480px){button.primary{width:auto}}
.msg{color:var(--cran);font-weight:700;min-height:1.2em;margin:.6rem 0 0}
/* the answer: a run-of-show, each time on the left, a thread running down to dinner */
.card{margin-top:1.3rem;border:2px solid var(--ember);border-radius:10px;background:var(--ember);color:#f7efde;padding:1rem 1rem 1rem}
.card-h{color:var(--brass-l);font-size:1.15rem;margin:0 0 .6rem}
.run{list-style:none;margin:0;padding:0}
.run li{display:grid;grid-template-columns:5.7rem 1.1rem minmax(0,1fr);gap:0 .55rem;position:relative;padding:.35rem 0 .7rem}
.run li::before{content:"";position:absolute;left:calc(5.7rem + .55rem + .55rem - 1px);top:1.35rem;bottom:-.1rem;width:2px;background:repeating-linear-gradient(var(--brass) 0 4px,transparent 4px 8px)}
.run li:last-child::before{display:none}
.run li::after{content:"";position:absolute;left:calc(5.7rem + .55rem);top:.78rem;width:1.1rem;height:1.1rem;border-radius:50%;background:var(--ember);border:3px solid var(--brass)}
.run li.key::after{background:var(--brass)}
.run li.end::after{background:#f7efde;border-color:#f7efde}
.run .tm{text-align:right;font-size:1.3rem;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap;color:#fff}
.run .tm small{display:block;font-size:.72rem;font-weight:500;color:var(--brass-l);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;line-height:1.1}
.run .tx{grid-column:3;font-size:1rem;line-height:1.35;padding-top:.15rem}
.run .tx b{display:block;font-size:1.05rem}
.run .tx small{display:block;color:#d9c7ae;font-size:.82rem;margin-top:.1rem;line-height:1.35}
.temps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:.5rem 0 .6rem}
.temps>div{background:#f7efde;color:var(--ink);border-radius:8px;padding:.5rem .7rem;border-bottom:4px solid var(--brass)}
.tl{margin:0;font-size:.82rem;color:var(--muted);line-height:1.2}
.tv{margin:.1rem 0 0;font-size:1.7rem;line-height:1.15;color:var(--cran-d);font-variant-numeric:tabular-nums}
.tv small{display:block;font-size:.8rem;font-weight:500;color:var(--muted);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.notes p{margin:.5rem 0 0;font-size:.88rem;line-height:1.4;background:var(--warn);color:var(--ink);border-left:5px solid var(--brass);padding:.45rem .65rem;border-radius:2px}
.card .guide{margin:.7rem 0 0;font-size:.9rem;color:#e9d9c0;line-height:1.4}
details{margin:1rem 0 0;border:1px dashed var(--ember);border-radius:8px;padding:.3rem .8rem;background:#fff}
summary{cursor:pointer;font-weight:700;min-height:42px;display:flex;align-items:center}
details ol{margin:.2rem 0 .7rem;padding-left:1.3rem;font-size:.95rem}
details li{margin:.35rem 0}
.saverow{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;margin:1rem 0 0}
button.sec{font-weight:700;background:#fff;color:var(--ink);border:2px solid var(--ember);border-radius:8px;padding:.5rem 1rem;min-height:48px;cursor:pointer;font-size:1rem}
button.sec:hover{background:var(--brass-l)}
button.quiet{background:none;border:0;color:var(--cran);text-decoration:underline;cursor:pointer;min-height:44px;padding:0 .3rem;font-size:.95rem}
.saverow .ok{font-size:.9rem;color:var(--rose);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-weight:600}
article h2:first-child{margin-top:2.2rem}
article p,article li{max-width:40rem}
article ol,article ul{padding-left:1.3rem}
.src{font-size:.9rem;color:var(--muted)}
.guides{list-style:none;padding:0;display:grid;gap:.7rem;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr))}
.guides a{display:block;padding:.8rem 1rem;background:var(--paper);border:2px solid var(--ember);border-radius:10px;text-decoration:none;font-weight:700;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;line-height:1.3}
.guides a:hover{background:var(--brass-l)}
.guides span{display:block;font-weight:400;font-size:.88rem;color:var(--muted);margin-top:.15rem}
.tablewrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:.93rem;margin:.6rem 0;background:var(--paper)}
caption{text-align:left;font-weight:700;padding:.2rem 0 .3rem}
th,td{border:1px solid var(--line);padding:.4rem .55rem;text-align:left}
th{background:#f0e3c8}
td.n,th.n{text-align:right;font-variant-numeric:tabular-nums}
.related ul{padding-left:1.2rem}
footer{max-width:58rem;margin:0 auto;padding:1rem 1rem 2rem;color:var(--muted);font-size:.85rem}
footer p{margin:.3rem 0}
@media (max-width:480px){.hero{grid-template-columns:1fr;padding:1.2rem 0 1.1rem}.hero img{width:100%;max-width:21rem}body{font-size:16.5px}th,td{padding:.3rem .35rem}.run li{grid-template-columns:5.2rem 1.1rem minmax(0,1fr)}.run li::before{left:calc(5.2rem + 1.1rem - 1px)}.run li::after{left:calc(5.2rem + .55rem)}.run .tm{font-size:1.15rem}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
