/* ============================================================
   Thanksgiving meal pre-orders — thanksgiving.html (2026-11-05)
   One bold idea: the carbon order slip that fills as you tap.
   Everything else stays quiet and on-brand.
   ============================================================ */

.tg-page{--slip:#fbf3df;--slip-line:rgba(122,30,30,.16);--carbon:#2b2350}

/* ---------- hero: the site's page-hero + a date strip ---------- */
.tg-ph{min-height:78svh}
.tg-ph h1 em{color:#f0c9a8}
.tg-strip{
  display:flex;flex-wrap:wrap;margin-top:1.8rem;width:fit-content;max-width:100%;
  border:1px solid rgba(241,233,219,.22);border-radius:12px;background:rgba(15,11,7,.35);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.tg-strip>div{display:flex;flex-direction:column;gap:.3rem;padding:.8rem 1.2rem}
.tg-strip>div+div{border-left:1px solid rgba(241,233,219,.18)}
.tg-strip .k{font-family:var(--mono);font-size:10px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--brass-soft)}
.tg-strip .v{font-family:var(--disp);font-size:1.25rem;line-height:1.1;color:var(--cream);letter-spacing:-.01em}
.tg-strip-now .v{color:#f0c9a8;font-style:italic}
.tg-strip .v{white-space:nowrap}
@media (max-width:720px){.tg-ph .sub{text-shadow:0 1px 12px rgba(15,11,7,.9),0 1px 2px rgba(15,11,7,.6)}}
.tg-ph h1,.tg-page h2,.tg-band .disp{text-wrap:balance}
.tg-page .sub,.tg-band-sub,.tg-ask,.tg-fine{text-wrap:pretty}
@media (max-width:560px){
  .tg-strip{width:100%;margin-top:1.5rem}
  .tg-strip>div{flex:1 1 0;padding:.75rem .85rem;min-width:0}
  .tg-strip .v{font-size:1.05rem}
  .tg-strip .k{font-size:9.5px;letter-spacing:.16em}
}
/* narrow phones: the two dates side by side, the countdown as its own line */
@media (max-width:400px){
  .tg-strip{display:grid;grid-template-columns:1fr 1fr}
  .tg-strip-now{grid-column:1/-1;flex-direction:row!important;align-items:baseline;justify-content:space-between;
    border-left:0!important;border-top:1px solid rgba(241,233,219,.18)}
}

/* ---------- builder ---------- */
.tg-build{background:var(--kraft);padding:clamp(3.5rem,8vw,6.5rem) 0}
.tg-build-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,400px);gap:clamp(2rem,5vw,4.5rem);align-items:start}
.tg-intro{margin-top:1rem}
.tg-h3{
  font-family:var(--disp);font-weight:500;font-size:1.5rem;letter-spacing:-.015em;
  margin:2.6rem 0 .4rem;padding-bottom:.55rem;border-bottom:2px solid var(--ink);
  display:flex;align-items:baseline;gap:.7rem;flex-wrap:wrap;
}
.tg-h3 small{font-family:var(--body);font-size:.85rem;font-weight:400;letter-spacing:0;color:rgba(27,20,16,.6)}

.tg-list{list-style:none}
.tg-item{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.4rem 1rem;
  padding:.8rem 0;border-bottom:1px solid var(--line-light);transition:background .25s;
}
.tg-what{display:flex;flex-direction:column;min-width:0}
.tg-name{font-size:1.02rem;font-weight:500;line-height:1.3}
.tg-spec{font-size:.84rem;color:rgba(27,20,16,.58)}
.tg-price{font-family:var(--mono);font-size:.95rem;font-variant-numeric:tabular-nums}
.tg-step{display:flex;align-items:center;border:1.5px solid rgba(27,20,16,.28);border-radius:999px;background:var(--cream);
  transition:background .2s,border-color .2s}
.tg-step button{
  width:44px;height:44px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .15s,transform .12s;border:0;background:none;font:500 1.25rem/1 var(--body);color:var(--ink);
  cursor:pointer;border-radius:50%;display:grid;place-items:center;
}
@media (hover:hover){.tg-step button:hover{background:rgba(122,30,30,.08);color:var(--oxblood)}}
.tg-step button:focus-visible{outline:2px solid var(--oxblood);outline-offset:1px}
.tg-step .tg-minus{opacity:.3}
.tg-step button:active{transform:scale(.9)}
.tg-qty{min-width:2ch;text-align:center;font-family:var(--mono);font-weight:600;font-variant-numeric:tabular-nums}
.tg-item.on .tg-step{border-color:var(--oxblood);background:var(--oxblood)}
.tg-item.on .tg-step button,.tg-item.on .tg-qty{color:var(--cream)}
.tg-item.on .tg-step .tg-minus{opacity:1}
@media (hover:hover){.tg-item.on .tg-step button:hover{background:rgba(255,255,255,.12);color:var(--cream)}}
.tg-item.on .tg-name{color:var(--oxblood)}
.tg-ask{margin-top:.9rem;font-size:.92rem;color:rgba(27,20,16,.7)}
.tg-ask a,.tg-band-sub a{color:var(--oxblood);font-weight:600;text-underline-offset:3px}
.tg-ask a{display:inline-block;padding:.7rem 0;margin:-.7rem 0}
.tg-band-sub a{white-space:nowrap}
/* phones: the price sits under the name so long names keep one line and the stepper keeps its full size */
@media (max-width:560px){
  .tg-item{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:0;row-gap:.15rem;padding:.8rem 0}
  .tg-what{display:contents}
  .tg-name{grid-column:1/3;grid-row:1;padding-right:.9rem}
  .tg-price{grid-column:1;grid-row:2;font-size:.86rem;color:rgba(27,20,16,.66)}
  .tg-spec{grid-column:2;grid-row:2;font-size:.84rem;padding-right:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tg-spec::before{content:"·";margin:0 .45rem}
  .tg-step{grid-column:3;grid-row:1/3}
  .tg-item.on .tg-price{color:var(--oxblood)}
  .tg-h3{margin-top:2.2rem}
}

/* ---------- the slip: the one bold thing ---------- */
.tg-slip-wrap{position:sticky;top:calc(var(--nav-h) + 1.4rem)}
.tg-slip{
  position:relative;background:var(--slip);color:var(--ink);
  padding:1.5rem 1.4rem 1.3rem;
  box-shadow:0 1px 0 rgba(27,20,16,.06),0 24px 50px -18px rgba(27,20,16,.45),0 6px 14px rgba(27,20,16,.12);
  transform:rotate(.6deg);
}
.tg-slip::before{ /* perforated top edge, torn off the pad */
  content:"";position:absolute;left:0;right:0;top:-7px;height:8px;
  background:radial-gradient(circle at 6px 8px,var(--slip) 4.5px,transparent 5px) 0 0/12px 8px repeat-x;
}
.tg-slip-top{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;border-bottom:2px solid var(--oxblood);padding-bottom:.55rem}
.tg-slip-shop{font-family:var(--disp);font-weight:600;font-size:1.05rem;white-space:nowrap;color:var(--oxblood);letter-spacing:-.01em}
.tg-slip-no{font-family:var(--mono);font-size:.72rem;color:var(--oxblood);white-space:nowrap}
@media (max-width:480px){.tg-slip-top{flex-direction:column;gap:.15rem}}
.tg-slip-meta{display:flex;justify-content:space-between;gap:1rem;font-size:.78rem;color:rgba(27,20,16,.65);padding:.5rem 0 .3rem;border-bottom:1px solid var(--slip-line)}
.tg-slip-meta b{color:var(--ink);font-weight:600}

.tg-lines{list-style:none;padding-top:.2rem;max-height:min(46vh,420px);overflow:auto}
.tg-line{
  display:grid;grid-template-columns:2.2ch minmax(0,1fr) auto;gap:.6rem;align-items:baseline;
  height:36px;line-height:36px;border-bottom:1px solid var(--slip-line);font-family:var(--mono);font-size:.86rem;color:var(--carbon);
  animation:tg-write .45s cubic-bezier(.16,1,.3,1);
}
.tg-line .q{font-weight:600}
.tg-line .n{font-family:var(--body);font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg-line .p{font-variant-numeric:tabular-nums}
@keyframes tg-write{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.tg-empty{font-size:.9rem;color:rgba(27,20,16,.55);line-height:1.5;padding:.9rem 0 1rem;border-bottom:1px solid var(--slip-line)}
.tg-total{display:flex;justify-content:space-between;align-items:baseline;border-top:2px solid var(--ink);margin-top:.6rem;padding-top:.7rem}
.tg-total span{font-size:.88rem;color:rgba(27,20,16,.7)}
.tg-total b{font-family:var(--mono);font-size:1.6rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.tg-total b.bump{animation:tg-bump .35s ease}
@keyframes tg-bump{40%{color:var(--oxblood);transform:scale(1.06)}}
.tg-call{display:flex;justify-content:center;width:100%;margin-top:1rem}
.tg-slip-tools{display:flex;justify-content:space-between;margin-top:.7rem}
.tg-slip-tools button{background:none;border:0;padding:.4rem 0;font:600 .85rem/1 var(--body);color:var(--oxblood);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tg-slip-tools button:disabled{color:rgba(27,20,16,.35);cursor:default;text-decoration:none}
.tg-slip-tools button:focus-visible{outline:2px solid var(--oxblood);outline-offset:2px}
.tg-fine{font-size:.78rem;line-height:1.5;color:rgba(27,20,16,.6);margin-top:.6rem}
.tg-stamp{
  position:absolute;top:42%;left:50%;transform:translate(-50%,-50%) rotate(-12deg);
  font-family:var(--mono);font-weight:700;font-size:2rem;letter-spacing:.12em;color:var(--oxblood);
  border:4px solid var(--oxblood);padding:.2rem .9rem;opacity:0;pointer-events:none;mix-blend-mode:multiply;
}
.tg-closed .tg-stamp{opacity:.8}
.tg-closed .tg-step{opacity:.35;pointer-events:none}
.tg-closed .tg-call{pointer-events:none;opacity:.4}
.tg-fine-closed,.tg-closed .tg-fine-open{display:none}
.tg-closed .tg-fine-closed{display:block;color:var(--oxblood)}

/* ---------- phone: slip lives in a dock, opens as a sheet ---------- */
.tg-dock{display:none}
.tg-sheet-bar{display:none}
@media (max-width:900px){
  .tg-build-grid{grid-template-columns:1fr}
  .tg-page .call-bar{display:none}
  .tg-dock{
    display:grid;grid-template-columns:auto 1fr;position:fixed;left:0;right:0;bottom:0;z-index:90;
    padding-bottom:env(safe-area-inset-bottom);background:var(--night);
    box-shadow:0 -8px 30px rgba(15,11,7,.35);
  }
  .tg-dock a,.tg-dock button{
    height:58px;display:flex;align-items:center;justify-content:center;padding:0 1.1rem;
    font-family:var(--mono);font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;line-height:1;
    border:0;text-decoration:none;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;
  }
  .tg-dock a:focus-visible,.tg-dock button:focus-visible{outline:2px solid var(--brass-soft);outline-offset:-4px}
  .tg-dock-call{color:var(--cream);background:var(--night);border-right:1px solid var(--line-dark)!important}
  .tg-dock-slip{background:var(--oxblood);color:var(--cream);gap:.9rem;justify-content:space-between!important;padding:0 1.1rem 0 1.2rem!important;min-width:0}
  .tg-dock-txt{display:flex;flex-direction:column;align-items:flex-start;gap:.32rem;min-width:0}
  .tg-dock-txt .k{font-size:9.5px;letter-spacing:.2em;color:rgba(241,233,219,.7)}
  .tg-dock-txt .v{font-size:12.5px;letter-spacing:.1em;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .tg-dock-txt b{font-weight:600;color:#f0c9a8}
  .tg-dock-ic{flex:none;width:9px;height:9px;border-left:2px solid currentColor;border-top:2px solid currentColor;
    transform:translateY(2px) rotate(45deg);transition:transform .35s cubic-bezier(.16,1,.3,1)}
  .tg-dock-slip[aria-expanded="true"] .tg-dock-ic{transform:translateY(-2px) rotate(225deg)}
  .tg-dock-slip.bump .tg-dock-txt .v{animation:tg-dock-bump .4s ease}
  @keyframes tg-dock-bump{40%{transform:translateY(-3px)}}
  body.drawer-open .tg-dock{opacity:0;pointer-events:none}
  .tg-slip-wrap{
    position:fixed;left:0;right:0;bottom:calc(58px + env(safe-area-inset-bottom));z-index:89;top:auto;
    width:min(100%,560px);margin-inline:auto;
    transform:translateY(calc(100% + 80px));transition:transform .45s cubic-bezier(.16,1,.3,1),visibility 0s .45s;
    pointer-events:none;visibility:hidden;
  }
  .tg-slip-wrap.open{transform:none;pointer-events:auto;visibility:visible;transition:transform .45s cubic-bezier(.16,1,.3,1)}
  .tg-slip{
    transform:none;border-radius:20px 20px 0 0;padding:0 1.25rem 1.1rem;
    max-height:calc(100dvh - var(--nav-h) - 58px - env(safe-area-inset-bottom) - 12px);
    overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
    box-shadow:0 -18px 40px -12px rgba(15,11,7,.45);outline:0;
  }
  .tg-slip::before{display:none}
  .tg-sheet-bar{position:sticky;top:0;z-index:2;display:flex;justify-content:center;align-items:center;height:44px;
    margin:0 -1.25rem .1rem;background:var(--slip);touch-action:none;cursor:grab}
  .tg-grip{width:42px;height:5px;border-radius:5px;background:rgba(27,20,16,.2)}
  .tg-sheet-x{position:absolute;right:.35rem;top:0;width:44px;height:44px;display:grid;place-items:center;border:0;background:none;
    color:rgba(27,20,16,.6);cursor:pointer;border-radius:50%}
  .tg-sheet-x:focus-visible{outline:2px solid var(--oxblood);outline-offset:-4px}
  .tg-lines{max-height:none;overflow:visible}
  .tg-slip-tools button{padding:.95rem 0;margin:-.3rem 0}
  .tg-call{min-height:52px;align-items:center}
  .tg-scrim{position:fixed;inset:0;background:rgba(15,11,7,.55);z-index:88;opacity:0;pointer-events:none;transition:opacity .3s}
  .tg-scrim.open{opacity:1;pointer-events:auto}
  html:has(body.tg-sheet){overflow:hidden}
  body.tg-sheet .chat-fab,body.tg-inmenu .chat-fab{opacity:0;pointer-events:none;transform:scale(.85)}
  .tg-page .chat-fab{transition:opacity .25s,transform .25s}
  .tg-build{padding-bottom:calc(clamp(3.5rem,8vw,6.5rem) + 1rem)}
  .tg-page footer{padding-bottom:calc(58px + env(safe-area-inset-bottom) + 2rem)}
  .tg-page .chat-fab{bottom:calc(58px + env(safe-area-inset-bottom) + 14px)}
}

/* ---------- calendar ---------- */
.tg-cal{padding:clamp(3.5rem,8vw,6rem) 0}
.tg-cal-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,5vw,4.5rem);align-items:start}
@media (max-width:900px){.tg-cal-grid{grid-template-columns:1fr}}
.tg-month-name{font-family:var(--disp);font-size:1.4rem;color:var(--cream);margin-bottom:.8rem}
.tg-dow,.tg-days{list-style:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.tg-dow li{font-size:.72rem;color:rgba(241,233,219,.55);padding:0 0 .35rem .35rem}
.tg-day{
  position:relative;aspect-ratio:1/1.05;border:1px solid var(--line-dark);padding:.35rem;
  color:rgba(241,233,219,.85);font-size:.85rem;min-width:0;
}
.tg-day:first-child{grid-column-start:1}
.tg-day.shut{color:rgba(241,233,219,.32);background:repeating-linear-gradient(135deg,transparent 0 6px,rgba(241,233,219,.04) 6px 7px)}
.tg-day.past{color:rgba(241,233,219,.25)}
.tg-day .n{font-family:var(--mono);font-variant-numeric:tabular-nums}
.tg-mark{position:absolute;left:.35rem;right:.3rem;bottom:.3rem;font-size:.62rem;line-height:1.15}
.tg-day.last{background:var(--oxblood);border-color:var(--oxblood);color:var(--cream)}
.tg-day.pickup{background:var(--brass-soft);border-color:var(--brass-soft);color:var(--ink)}
.tg-day.thanks{border-color:rgba(241,233,219,.4)}
.tg-day.today{outline:2px solid var(--cream);outline-offset:-2px}
.tg-day.today::after{content:"Today";position:absolute;right:.3rem;top:.35rem;font-size:.6rem;color:var(--brass-soft)}
.tg-day.last.today::after{color:var(--cream)}
.tg-keys{display:none}
@media (max-width:560px){
  /* cells are too small for words: colour carries the meaning, the key underneath spells it out */
  .tg-dow li{padding-left:0;text-align:center;font-size:.68rem;letter-spacing:.02em}
  .tg-day{aspect-ratio:1/1;padding:0;display:grid;place-items:center;font-size:.92rem}
  .tg-day.today::after{display:none}
  .tg-mark{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .tg-day.thanks{border:1.5px dashed rgba(241,233,219,.55)}
  .tg-day.last .n,.tg-day.pickup .n{font-weight:600}
  .tg-keys{display:grid;gap:.55rem;list-style:none;margin-top:1.1rem;font-size:.86rem;color:rgba(241,233,219,.85)}
  .tg-keys li{display:flex;align-items:center;gap:.65rem}
  .tg-keys .k{flex:none;width:16px;height:16px;border:1px solid var(--line-dark)}
  .tg-keys .k.last{background:var(--oxblood);border-color:var(--oxblood)}
  .tg-keys .k.pickup{background:var(--brass-soft);border-color:var(--brass-soft)}
  .tg-keys .k.thanks{border:1.5px dashed rgba(241,233,219,.55)}
  .tg-legend{margin-top:.55rem;font-size:.86rem}
  .tg-legend .k{width:16px;height:16px}
}
.tg-legend{margin-top:.9rem;font-size:.8rem;color:rgba(241,233,219,.6);display:flex;align-items:center;gap:.5rem}
.tg-legend .k{width:14px;height:14px;border:1px solid var(--line-dark);background:repeating-linear-gradient(135deg,transparent 0 3px,rgba(241,233,219,.18) 3px 4px)}

/* ---------- photo band ---------- */
.tg-band .band-cap{text-align:center}
.tg-band .disp{max-width:18ch;margin-inline:auto}
.tg-band-sub{margin-top:.8rem;color:rgba(241,233,219,.88);max-width:44ch;margin-inline:auto}
.tg-band-sub a{color:var(--brass-soft)}

@media (prefers-reduced-motion:reduce){
  .tg-line,.tg-total b.bump,.tg-dock-slip.bump .tg-dock-txt .v{animation:none}
  .tg-slip-wrap,.tg-slip-wrap.open,.tg-dock-ic,.tg-step,.tg-step button,.tg-page .chat-fab{transition:none}
  .tg-step button:active{transform:none}
}

@media print{
  .nav,.drawer,.call-bar,.tg-dock,.chat-fab,footer,.hero-foot,.hero-bg,.hero-veil,.sticker,.tg-step,.tg-cal,.tg-band,.tg-slip-tools,.tg-call,.skip-link{display:none!important}
  .page-hero{min-height:0;background:none;color:#000;padding:0}
  .page-hero *{color:#000!important}
  .tg-slip-wrap{position:static;transform:none}
  .tg-build-grid{grid-template-columns:1fr 1fr}
  .tg-item{grid-template-columns:1fr auto}
}
