
/* ============================================================
   Meat Order — dark editorial, film grain, glass, machined frames.
   Palette: black ground, warm gold, oxblood for action, bone white.
   ============================================================ */
:root{
  --black:#070707; --sunk:#0B0B0B; --raised:#111110; --lift:#171715;
  --white:#F5F3EE; --dim:#A9A49A; --faint:#847F76;
  --gold:#C9A227; --gold-lit:#E6C86E; --gold-rule:#3E3413;
  --blood:#8E1C13; --blood-lit:#B32217;
  /* blood-lit is a fill colour; small text on the dark ground needs this one */
  --blood-text:#E07264;

  /* hairlines, never a flat grey border */
  --hair:rgba(245,243,238,.09);
  --hair-soft:rgba(245,243,238,.055);
  --inner-lift:inset 0 1px 0 rgba(245,243,238,.07);

  /* 4px base, with the wide steps a design actually needs */
  /* one warm grade over every hero picture, so the three read as one set */
  --hero-grade:sepia(.14) saturate(1.1) brightness(1.02);
  /* the order page's fire, warmer again */
  --hero-grade-warm:sepia(.3) saturate(1.15) brightness(.8) contrast(1.06) hue-rotate(-4deg);
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px; --s10:128px;

  --r-xl:32px; --r-lg:24px; --r-md:16px; --r-sm:10px;
  --bezel:6px;
  /* every photograph shares one corner, softer than the cards around it */
  --r-img:14px; --r-thumb:6px;

  --pad:22px; --max:760px; --max-wide:1240px;
  --header-h:92px;
  /* how far the page's first block sits below the middle of the week strip */
  --strip-lift:100px;
  --ease:cubic-bezier(.32,.72,0,1);
  --ease-out:cubic-bezier(.16,1,.3,1);

  --ui:'Satoshi',ui-sans-serif,system-ui,-apple-system,sans-serif;
  /* Still the butcher's awning: condensed, tall, authoritative. Bebas was the
     right shape but it has no lowercase at all, so every heading set in it
     shouted whether we wanted it to or not. This one has the same build and a
     real lower case. */
  --display:'Big Shoulders Display',var(--ui);
}
*,*::before,*::after{box-sizing:border-box}
html,body{overflow-x:clip}
[hidden]{display:none !important}
/* A tap acts at once: no pause to see whether it is the start of a double
   tap to zoom, which on a phone read as a tap that had not taken. */
html{-webkit-text-size-adjust:100%;scrollbar-color:var(--gold-rule) var(--black);scrollbar-width:thin;
  touch-action:manipulation}
body{
  margin:0;padding-top:var(--header-h);background:var(--black);color:var(--white);
  font-family:var(--ui);font-size:16px;line-height:1.55;font-weight:400;
  font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-underline-offset:3px;text-decoration-thickness:1px}
button,input,textarea,select{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}
::selection{background:var(--gold);color:var(--black)}
input,textarea{caret-color:var(--gold)}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:var(--black)}
::-webkit-scrollbar-thumb{background:#262319;border-radius:99px;border:3px solid var(--black)}
@media (hover:hover){::-webkit-scrollbar-thumb:hover{background:var(--gold-rule)}}

/* Film grain. Fixed, never attached to anything that scrolls. */
body::after{
  content:'';position:fixed;inset:0;z-index:60;pointer-events:none;opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
.wrap-wide{max-width:var(--max-wide)}

/* ---------- typography ---------- */
/* The big size belongs to the masthead over the hero photograph. A page
   heading with a line of text under it wants about two thirds of that, or it
   swallows the page it is supposed to introduce. */
h1{font-family:var(--display);font-weight:600;font-size:clamp(38px,4.4vw,58px);line-height:1.02;
  letter-spacing:.01em;margin:0 0 var(--s4)}
.hero h1{font-size:clamp(44px,7vw,88px);line-height:.98;margin:0}
h1,h2,.section-head,.cat{scroll-margin-top:110px}
/* A display heading that opens a page has to make its own room under the
   week strip. */
main > h1:first-child,
main > .page-head:first-child,
main > .ok:first-child{margin-top:var(--s6)}
.page-head{margin-bottom:var(--s4)}
h2{font-family:var(--display);font-weight:600;font-size:clamp(29px,3.6vw,44px);line-height:1.05;
  letter-spacing:.01em;margin:0}
.lede{color:var(--dim);margin:0 0 var(--s6);max-width:46ch;font-size:17.5px;line-height:1.6}
h1.h1-sm{font-size:clamp(34px,4.8vw,54px);line-height:1.02}
.eyebrow{font-size:10.5px;letter-spacing:.06em;color:var(--gold);
  margin:0 0 var(--s3);font-weight:500}
.meta{color:var(--faint);font-size:13px}
.plain{white-space:pre-wrap;font-family:var(--ui);margin:0;line-height:1.7;color:var(--dim)}
pre.mono{white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;
  line-height:1.7;background:var(--sunk);border:1px solid var(--hair);border-radius:var(--r-md);
  padding:var(--s5);overflow:auto;max-height:52vh;color:var(--dim)}

/* ---------- the floating island header ---------- */
/* A detached island leaves a gap above it; without this, content scrolls
   through that gap and the header looks unfinished. */
.top{position:fixed;top:0;left:0;right:0;z-index:40;padding:var(--s4) var(--pad) var(--s2);
  pointer-events:none;isolation:isolate}
.top::before{content:'';position:absolute;inset:0 0 -28px 0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,var(--black) 0%,var(--black) 52%,rgba(7,7,7,.82) 76%,rgba(7,7,7,0) 100%)}
.top-in{
  pointer-events:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:var(--s5);
  max-width:var(--max-wide);margin:0 auto;padding:var(--s2) var(--s2) var(--s2) var(--s5);
  background:rgba(12,12,11,.72);backdrop-filter:blur(18px) saturate(1.4);
  -webkit-backdrop-filter:blur(18px) saturate(1.4);
  border:1px solid var(--hair);border-radius:999px;box-shadow:var(--inner-lift),0 12px 40px rgba(0,0,0,.5);
}
/* The lockup is assets/Logonew.png traced, so it is one drawing: the bull, the
   streaks and the two words all keep their spacing at any size. */
.mark{display:flex;align-items:center;text-decoration:none}
.wm{display:block;height:43px;width:auto;flex:none}
.wm-a{fill:var(--gold)}
.wm-b{fill:var(--white)}
@media (hover:hover){.mark:hover .wm-a{fill:var(--gold-lit)}}
.wm-a,.wm-b{transition:fill .4s var(--ease)}
.top-sp{flex:1}

.nav{display:none;gap:var(--s6);justify-content:center}
.nav a{font-size:13.5px;color:var(--dim);text-decoration:none;white-space:nowrap;position:relative;
  padding:var(--s1) 0;transition:color .4s var(--ease)}
.nav a::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:1px;background:var(--gold);
  transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ease)}
@media (hover:hover){.nav a:hover{color:var(--white)}}
.nav a[aria-current="page"]{color:var(--gold)}
.nav a[aria-current="page"]::after{transform:scaleX(1)}
/* The three shop links fit in the island from a small tablet up; below that
   they move into the one menu. Between 820 and 1040 they sit a little closer. */
@media (min-width:820px){.nav{display:flex}}
@media (min-width:820px) and (max-width:1039px){.nav{gap:var(--s4)}.nav a{font-size:13px}}
@media (max-width:819px){.top-in{grid-template-columns:auto 1fr auto}}

.cart-btn{position:relative;display:grid;place-items:center;width:46px;height:46px;flex:none;
  background:none;color:var(--gold);border:0;border-radius:999px;cursor:pointer;
  transition:transform .4s var(--ease),color .3s var(--ease)}
.cart-btn svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){.cart-btn:hover{color:var(--gold-lit)}}
.cart-btn:active{transform:scale(.97)}
.cart-btn .n{position:absolute;top:-4px;right:-4px;min-width:21px;height:21px;background:var(--blood-lit);
  color:#fff;border-radius:999px;font-size:11px;font-weight:700;display:grid;place-items:center;
  padding:0 6px;box-shadow:0 0 0 3px rgba(12,12,11,.9)}
.cart-btn[data-empty="1"] .n{display:none}

/* The nav is display:none below 1040, so this lands in the 1fr column rather
   than the last one. Push it to the end and the bag stays where a bag goes. */
.top-right{display:flex;align-items:center;justify-content:flex-end;gap:var(--s2)}

/* ---------- the account button ---------- */
.acct{position:relative}
.acct-btn{display:grid;place-items:center;width:40px;height:40px;flex:none;cursor:pointer;
  background:none;border:1px solid var(--gold-rule);border-radius:999px;color:var(--gold);
  transition:border-color .4s var(--ease),color .3s var(--ease),transform .4s var(--ease)}
.acct-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){.acct-btn:hover{color:var(--gold-lit);border-color:var(--gold)}}
.acct-btn:active{transform:scale(.97)}
.acct-btn[aria-expanded="true"]{color:var(--black);background:var(--gold);border-color:var(--gold)}
.acct-panel{position:absolute;top:calc(100% + 12px);right:0;z-index:5;width:260px;
  background:var(--menu-bg);
  border:1px solid var(--hair);border-radius:var(--r-lg);padding:var(--s3);
  box-shadow:var(--inner-lift),0 20px 60px rgba(0,0,0,.6)}
.acct-who{margin:0;padding:var(--s3) var(--s3) var(--s4);font-weight:700;font-size:14px;
  border-bottom:1px solid var(--hair-soft)}
.acct-who span{display:block;margin-top:3px;font-weight:400;font-size:12px;color:var(--faint);
  overflow:hidden;text-overflow:ellipsis}
/* The account groups, the same in the panel and in the phone menu: a small
   label, the links under it, a hairline between groups, sign out last. */
:root{--menu-bg:#0d0d0c}
.menu-group{display:grid;align-content:start;padding:var(--s2) 0;border-bottom:1px solid var(--hair-soft)}
.menu-group a,.menu-out button{display:block;width:100%;text-align:left;padding:10px var(--s3);min-height:40px;
  border:0;background:none;cursor:pointer;color:var(--dim);text-decoration:none;font:inherit;
  font-size:14px;border-radius:var(--r-sm);transition:color .3s var(--ease),background .3s var(--ease)}
@media (hover:hover){.menu-group a:hover,.menu-out button:hover{color:var(--white);background:rgba(245,243,238,.05)}}
.menu-group a[aria-current="page"]{color:var(--gold)}
.menu-out{padding:var(--s2) 0 0;margin:0}
.menu-out button{color:var(--faint)}
@media (max-width:560px){
  .acct-btn{width:36px;height:36px;font-size:13px}
  .acct-panel{width:min(270px,calc(100vw - 28px));right:-52px}
}

.burger{background:none;border:0;cursor:pointer;display:grid;gap:5px;padding:12px;margin-right:var(--s1)}
.burger span{display:block;width:19px;height:1.5px;background:var(--white);border-radius:2px;
  transition:transform .5s var(--ease),opacity .3s var(--ease)}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
@media (min-width:820px){.burger{display:none}}
.burger{position:relative}
.burger.has-dot::after{content:'';position:absolute;top:7px;right:5px;width:8px;height:8px;border-radius:50%;
  background:var(--gold);box-shadow:0 0 0 2px rgba(12,12,11,.9)}
.burger[aria-expanded="true"]::after{display:none}

/* An admin's way to the admin page: a pill in the island, a dot when
   something waits there. */
.adm-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);flex:none}
.adm-pill{display:none;align-items:center;gap:8px;height:40px;padding:0 var(--s4);border-radius:999px;
  border:1px solid var(--gold-rule);color:var(--gold);text-decoration:none;font-size:13px;white-space:nowrap;
  transition:border-color .3s var(--ease),color .3s var(--ease),background .3s var(--ease)}
@media (hover:hover){.adm-pill:hover{border-color:var(--gold);color:var(--gold-lit)}}
.adm-pill[aria-current="page"]{background:rgba(212,175,55,.1)}
@media (min-width:820px){.adm-pill{display:inline-flex}}
/* in the phone menu it comes last, under the shop */
.navpanel-admin{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px var(--s3);margin-top:var(--s2);
  border:1px solid var(--gold-rule);border-radius:var(--r-sm);color:var(--gold);text-decoration:none;font-weight:600}

.navpanel{pointer-events:auto;max-width:var(--max-wide);margin:var(--s2) auto 0;
  background:var(--menu-bg);
  border:1px solid var(--hair);border-radius:var(--r-lg);padding:var(--s2) var(--s4) var(--s3);
  box-shadow:var(--inner-lift),0 20px 60px rgba(0,0,0,.6);
  max-height:calc(100dvh - var(--header-h) - var(--s4));overflow:auto;overscroll-behavior:contain}
/* the shop, large, first: it is what the site is for */
.navpanel-shop{display:grid}
.navpanel-shop a{padding:10px var(--s3);color:var(--white);text-decoration:none;font-size:21px;
  font-family:var(--display);font-weight:600;letter-spacing:.01em}
.navpanel-shop a[aria-current="page"]{color:var(--gold)}
/* on a touch screen the account links are thumb-sized */
@media (pointer:coarse){
  .acct-panel .menu-group a,.acct-panel .menu-out button{min-height:44px;padding:11px var(--s3);font-size:15px}
}


/* The island has to hold the mark, the cart and the menu button on a phone,
   so everything tightens together rather than the wordmark alone shrinking. */
@media (max-width:560px){
  :root{--header-h:88px}
  .top{padding:var(--s3) 14px var(--s2)}
  .top-in{gap:var(--s2);padding:6px 8px 6px var(--s4)}
  .wm{height:38px}
  .top-right{gap:4px}
  .cart-btn{width:44px;height:44px}
  .cart-btn svg{width:23px;height:23px}
  .cart-btn .n{min-width:19px;height:19px;font-size:10.5px;top:-2px;right:-2px;box-shadow:0 0 0 2.5px rgba(12,12,11,.9)}
  .acct-btn{width:40px;height:40px}
  .acct-btn svg{width:22px;height:22px}
  .burger{width:44px;height:44px;padding:0;margin-right:0;gap:5px;place-content:center}
  .burger span{width:21px}
  .burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
  .burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
}

/* ---------- the week strip, inside the page rather than a bar ---------- */
.tally{padding-top:var(--s6)}
@media (max-width:700px){.tally{padding-top:var(--s4)}}
.tally-inline{padding:var(--s5) 0 var(--s4)}
.tally-inline .tally-in{padding:0}
.tally-in{display:flex;align-items:center;gap:var(--s5);font-size:13px;color:var(--faint);
  padding-top:2px;padding-bottom:2px}
.tally-what{display:flex;align-items:center;gap:var(--s2);flex-wrap:wrap;flex:1;min-width:0}
/* The week sits under the wordmark on every page, with or without the toggles
   beside it, so it is in the same place wherever you are. The inset is the
   header island's: below 1284px the island hugs the header's padding, above it
   the island and this strip centre on the same edge and only the island's own
   padding is left to match. */
.tally-in{padding-left:calc(var(--pad) + var(--s5))}
@media (min-width:1284px){.tally-in{padding-left:var(--s5)}}
@media (max-width:560px){.tally-in{padding-left:calc(14px + var(--s4))}}
.tally b{color:var(--white);font-weight:500}
.tally b::before{content:'';display:inline-block;width:5px;height:5px;border-radius:999px;
  background:var(--blood-lit);margin-right:var(--s2);vertical-align:2px;
  box-shadow:0 0 0 3px rgba(179,34,23,.16)}
.tally .who i{font-style:normal;color:var(--gold)}
.deadline{color:var(--gold);border:1px solid var(--gold-rule);border-radius:999px;padding:4px 12px;
  font-size:10.5px;letter-spacing:.06em;white-space:nowrap}
.tally-closed{color:var(--gold);border:1px solid var(--gold-rule);border-radius:999px;
  padding:4px 12px;font-size:11px;letter-spacing:.06em}
.tally-closed + .who{color:var(--dim)}
.tally .prefs{margin-left:auto;flex:none}
@media (max-width:640px){
  .tally-in{flex-wrap:wrap;gap:var(--s3)}
  .tally-what{flex:1 1 100%}
  .tally .prefs{margin-left:0}
}

.prefs{display:flex;gap:var(--s2)}
.seg{display:flex;border:1px solid var(--hair);border-radius:999px;overflow:hidden;background:var(--sunk)}
.seg button{background:none;border:0;padding:7px 13px;font-size:11.5px;letter-spacing:.01em;
  color:var(--faint);cursor:pointer;transition:color .3s var(--ease),background .3s var(--ease)}
@media (hover:hover){.seg button:hover{color:var(--dim)}}
.seg button[aria-pressed="true"]{background:var(--lift);color:var(--gold);box-shadow:var(--inner-lift)}

/* ---------- machined frames: outer shell, inner core, concentric radii ---------- */
.frame{display:none;padding:var(--bezel);background:rgba(245,243,238,.035);border:1px solid var(--hair);
  border-radius:var(--r-xl);box-shadow:var(--inner-lift)}
.frame > .shot,.frame > .frame-in{border-radius:calc(var(--r-xl) - var(--bezel));overflow:hidden;display:block}

.shot{position:relative;overflow:hidden;background:var(--sunk);display:block}
.shot img,.shot video{width:100%;height:100%;object-fit:cover;object-position:center;display:block;
  filter:contrast(1.02) saturate(.96) brightness(1.06);
  transition:transform 1.2s var(--ease),filter .6s var(--ease)}
.shot::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(7,7,7,0) 38%,rgba(7,7,7,.46) 74%,rgba(7,7,7,.92) 100%)}

/* ---------- hero: editorial split ---------- */
/* A floor of 440px is fine on a desktop and most of a phone screen, so the
   phone gets its own rule: never taller than half the screen, and never more
   than 84% of its width. */
.hero{position:relative;margin:var(--s3) 0 var(--s7);min-height:clamp(400px,42vw,540px);
  display:flex;align-items:center;justify-content:center}
@media (max-width:700px){.hero{min-height:min(52vh,84vw);margin:var(--s3) 0 var(--s6)}}
@media (max-width:560px){.hero{margin-top:0}}
/* Edge to edge on every screen, out of the page's column and with no frame
   around it. The video plays exactly as it was made: no filter on it and no
   gradient laid over it, so the fire is the colour it was shot. */
.hero{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
/* Past a phone, the hero lines up with the header island above it: the same
   width, the same edges. */
@media (min-width:701px){
  .hero{--hero-w:min(var(--max-wide),calc(100vw - 2 * var(--pad)));width:var(--hero-w);
    margin-left:calc(50% - var(--hero-w) / 2);margin-right:calc(50% - var(--hero-w) / 2)}
}
.hero .shot{position:absolute;inset:0;border-radius:0}
/* rounded on a wide screen, square to the glass on a phone */
@media (min-width:701px){.hero .shot{border-radius:var(--r-img)}}
/* One hairline round every photograph, just outside its edge against the
   page, like the header island's own edge; it follows the soft corner. A
   single line, never a frame around a frame. */
.cat-band .shot,.rcard,.rhero .shot,.cuthero .shot{outline:1px solid rgba(245,243,238,.13);outline-offset:0}
@media (min-width:701px){.hero .shot{outline:1px solid rgba(245,243,238,.13);outline-offset:0}}
.hero .shot::after{content:none}
.hero-video picture{display:block;width:100%;height:100%}
.hero-video video,.hero-video img{width:100%;height:100%;object-fit:cover;display:block;
  object-position:44% 58%;filter:var(--hero-grade);transition:none}
/* The Know your cuts hero is a still, treated the same way: no filter, no
   gradient over it. The cleaver is the point of both pictures, so the crop
   keeps it in frame. */
.hero-still .shot img{filter:var(--hero-grade);transition:none;object-position:50% 40%}
.hero-still{min-height:clamp(360px,36vw,520px)}
/* The wide cut on anything landscape, the square one on a phone. The square
   one was made for a phone and holds the whole tomahawk, bone and all, so the
   phone hero is square too and shows it uncropped. */
.hero-video .hero-narrow{display:none}
@media (max-width:700px){
  .hero-video .hero-wide{display:none}
  .hero-video .hero-narrow{display:block;object-position:center}
  .hero{min-height:0;aspect-ratio:1 / 1}
  /* the Know your cuts picture loses a little off the top and the bottom,
     never the hands or the cleaver */
  .hero-still{aspect-ratio:5 / 4}
  .hero-still .shot img{object-position:50% 50%}
}
/* On a wide screen the picture is anchored at the top, so the cleaver keeps
   its handle, and the box is a little taller to keep the board in. */
@media (min-width:701px){
  .hero-still{min-height:0;aspect-ratio:2.2 / 1}
  .hero-still .shot img{object-position:50% 0%}
  /* The plaque with the clock, and the button to the menu, belong on the first
     screen of any laptop: the hero gives up height to the window, never more
     than it would take on a tall screen, never less than 300px. 250px is the
     header, the plaque and a breath between them. */
  .hero,.hero-still{min-height:0;aspect-ratio:auto;
    height:clamp(300px, min(42vw, 100svh - 250px), 540px)}
}
.hero-in{position:relative;z-index:2;text-align:center;padding:var(--s7);max-width:min(100%,820px)}
.hero h1{margin:0}
/* Red on a photograph cannot be trusted, so the line keeps a thin plate under
   it. Measured at 2.55:1 without one. No border: this is a caption, not a
   button, and it should not compete with the masthead above it. */
/* The only capitals left on the site, and they are deliberate: this is the
   one line that has to carry across a photograph. */
/* The round and its countdown on a plaque joined to the bottom of the hero,
   the way a nameplate sits under a framed print: the picture's lower corners
   go square and the plaque carries its width, its hairline and its corners on.
   A gold rule along the top fills as the week runs out. */
.hero:has(+ .plaque){margin-bottom:0}
@media (min-width:701px){.hero:has(+ .plaque) .shot{border-radius:var(--r-img) var(--r-img) 0 0}}
.plaque{--hero-w:min(var(--max-wide),calc(100vw - 2 * var(--pad)));position:relative;
  width:var(--hero-w);margin:0 calc(50% - var(--hero-w) / 2) var(--s7);
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:var(--s5);
  padding:var(--s5) var(--s6);background:var(--raised);
  border:1px solid rgba(245,243,238,.13);border-top:0;border-radius:0 0 var(--r-img) var(--r-img)}
.plaque-track{position:absolute;left:0;right:0;top:0;height:2px;background:var(--gold-rule)}
.plaque-track i{position:absolute;left:0;top:0;bottom:0;background:var(--gold)}
.plaque-round{margin:0;font-size:12.5px;color:var(--dim);line-height:1.5}
.plaque-round b{display:block;font-size:16px;color:var(--white);font-weight:500}
.hero-order .hero-video video,.hero-order .hero-video img{filter:var(--hero-grade-warm)}
.plaque-clock{display:flex;align-items:flex-start;gap:var(--s2)}
.plaque-clock div{display:grid;justify-items:center;gap:2px}
.plaque-clock .n{font-family:var(--display);font-weight:600;font-size:34px;line-height:.9;
  color:var(--gold-lit);letter-spacing:.01em;font-variant-numeric:tabular-nums}
.plaque-clock .u{font-size:11px;color:var(--faint);letter-spacing:.02em}
.plaque-clock .colon{font-family:var(--display);font-size:26px;line-height:1;color:var(--gold-rule)}
.plaque-closed{margin:0;color:var(--gold);font-size:14px}
/* On a wide screen the page's search sits in the plaque's right-hand third,
   level with the clock; on a phone it keeps its own place under the plaque. */
.plaque-aside{justify-self:end;width:min(300px,100%)}
.plaque-aside .cut-search{margin:0;max-width:none}
.plaque-aside .cut-search input{padding-top:10px;padding-bottom:10px;font-size:14px}
@media (min-width:701px){.cut-search.cut-search-under,.cut-search.recipe-search-under{display:none}}
@media (max-width:700px){.plaque-aside{display:none}}
/* The order page's right-hand third: the order so far, the same width as the
   search on the other plaques, and a way into the bag. */
/* Dark like the plaque it sits on; the red is one accent, the bag in an
   oxblood well, and gold arrives with the first thing added. */
.plaque-bag{justify-self:end;width:min(300px,100%);display:flex;align-items:center;gap:var(--s3);
  padding:6px var(--s5) 6px 6px;border:1px solid var(--hair);border-radius:999px;background:var(--sunk);
  color:var(--white);font:inherit;text-align:left;cursor:pointer;
  transition:border-color .3s var(--ease),transform .2s var(--ease)}
.plaque-bag:focus-visible{border-color:rgba(179,34,23,.55)}@media (hover:hover){.plaque-bag:hover{border-color:rgba(179,34,23,.55)}}
.plaque-bag:active{transform:scale(.985)}
.plaque-bag svg{box-sizing:content-box;width:18px;height:18px;padding:9px;flex:none;border-radius:999px;
  background:var(--blood);fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
  transition:background .3s var(--ease)}
.plaque-bag:focus-visible svg{background:var(--blood-lit)}@media (hover:hover){.plaque-bag:hover svg{background:var(--blood-lit)}}
.plaque-bag-t{display:grid;line-height:1.3}
.plaque-bag-t b{font-size:13.5px;font-weight:500}
.plaque-bag-s{font-size:12px;color:var(--dim)}
.plaque-bag[data-empty="0"] .plaque-bag-s{color:var(--gold)}
/* On a phone the first screen has to reach the menu and the cow, so the
   plaque becomes one row, round on the left and clock on the right, and the
   menu itself stands in for the button to it. */
@media (max-width:700px){
  .plaque{width:100vw;margin:0 calc(50% - 50vw) var(--s5);border:0;border-radius:0;
    grid-template-columns:auto auto;justify-content:center;gap:0;padding:var(--s3) var(--pad)}
  .plaque-eyebrow{display:none}
  /* the round and the clock as one centred pair, a hairline between them,
     the same space either side of the pair */
  .plaque-round{font-size:12px;line-height:1.4;text-align:right;
    padding-right:var(--s4);border-right:1px solid var(--hair)}
  .plaque-clock,.plaque-closed{justify-self:start;padding-left:var(--s4)}
  .plaque-round b{font-size:14.5px;margin:0 0 1px}
  .plaque-clock .n{font-size:21px}
  .plaque-clock .colon{font-size:16px}
  .plaque-clock .u{font-size:10px}
  .plaque-bag{display:none}
  /* each hero at the shape of its own picture, and no taller */
  /* the order hero is square on a phone, the shape of its own clip, so the
     whole tomahawk shows; its title a size up */
  .hero.hero-order{aspect-ratio:1 / 1}
  /* every hero's title one size on a phone */
  .hero h1{font-size:50px}

  .hero.hero-cuts{aspect-ratio:4 / 3}
  .hero.hero-cuts .shot img{object-position:50% 42%}
}


/* The order hero's pill is the way down to the menu, on every screen. */
.hero-sub.hero-sub-link{text-decoration:none}
.hero-sub{display:inline-block;margin:var(--s4) 0 0;color:var(--blood-lit);
  text-transform:uppercase;
  font-size:12.5px;font-weight:700;letter-spacing:.28em;
  padding:7px 18px;border-radius:999px;background:var(--black)}
@media (max-width:640px){.hero-in{padding:var(--s5) var(--s5) var(--s6)}}

/* ---------- catalogue ---------- */
/* The heading holds the axis; the toggles sit out at its right-hand end, which
   is where a control belongs. .page-head is the same row without the rule, for
   the pages whose heading is an h1. */
.section-head,.page-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  gap:var(--s4)}
.section-head{margin:var(--s9) 0 0;padding-bottom:var(--s4);
  border-bottom:1px solid var(--gold-rule)}
.section-head h2,.page-head h1{grid-column:2;text-align:center}
.section-head .prefs,.page-head .prefs{grid-column:3;justify-content:flex-end;margin:0}
@media (max-width:760px){
  .section-head,.page-head{grid-template-columns:1fr;justify-items:center}
  .section-head h2,.page-head h1,.section-head .prefs,.page-head .prefs{grid-column:1}
  .section-head .prefs,.page-head .prefs{justify-content:center;margin-top:var(--s3)}
}
@media (max-width:700px){.section-head{margin-top:var(--s4);padding-bottom:var(--s3)}}
/* The menu's search takes the left of the heading row, across from the
   toggles on the right; on a phone it comes under them, as wide as they are. */
.section-head .menu-search{grid-column:1;grid-row:1;justify-self:start;width:100%;max-width:260px;margin:0}
.section-head h2{grid-row:1}
.section-head .prefs{grid-row:1}
@media (max-width:760px){
  .section-head h2{grid-row:1}
  .section-head .prefs{grid-row:2}
  .section-head .menu-search{grid-row:3;justify-self:center;max-width:320px;margin-top:var(--s3)}
}
.section-head h2{font-size:clamp(34px,4.2vw,52px);letter-spacing:.015em}

.cat{margin-top:var(--s8)}
.cat:first-of-type{margin-top:var(--s7)}
/* on a phone the first picture has to show on the first screen */
@media (max-width:700px){.cat:first-of-type{margin-top:var(--s5)}}
/* Full width at this height is a 5:1 letterbox, which throws away most of a
   photograph of a piece of meat. The photograph and the list it introduces
   share one measure, so the picture and the prices line up. */
/* Two categories to a row once there is room, except beef and lamb, which are
   long lists and take the width to themselves. */
.cats{display:grid;gap:0}
@media (min-width:1000px){
  .cats{grid-template-columns:1fr 1fr;column-gap:var(--s7);align-items:start}
  .cat-wide{grid-column:1 / -1}
}
.cat{--menu:1000px}
.cat-wide{--menu:100%}
/* Each band takes the shape of the photograph in it, written into --band by
   the build and clamped there to between 1.45:1 and 2.2:1. A single aspect
   across the page put a portrait photograph of beef in a letterbox and left
   three quarters of the steak outside the frame. The width is capped so a tall
   shape cannot make a tall block: no band is ever more than 380px high. */
.cat-band{position:relative;aspect-ratio:var(--band, 2) / 1;margin-bottom:var(--s5);
  max-width:min(var(--menu), calc(380px * var(--band, 2)));
  margin-left:auto;margin-right:auto}
.cat .rows,.cat .rows-split{max-width:var(--menu);margin-left:auto;margin-right:auto}
@media (max-width:700px){.cat-band{margin-bottom:var(--s4)}}
@media (min-width:701px){.cat-band[data-key="beef"]{max-width:min(var(--menu), calc(330px * var(--band, 2)))}}
/* The beef photograph brings its own black ground, so it goes out as shot,
   without the dark wash the other bands wear; its name carries a shadow. */
.cat-band[data-key="beef"] .shot::after{content:none}
.cat-band[data-key="beef"] .cat-head h2{text-shadow:0 2px 18px rgba(7,7,7,.75),0 1px 3px rgba(7,7,7,.8)}
.cat-band .frame{position:absolute;inset:0}
.cat-band .shot{position:absolute;inset:0;border-radius:var(--r-img)}
.cat-head{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:var(--s3);padding:var(--s5);margin:0;text-align:center}
.cat-head h2{font-size:clamp(22px,2.5vw,30px);letter-spacing:.06em;color:rgba(245,243,238,.92);
  text-indent:.3em}


.rows{display:grid;grid-template-columns:1fr;column-gap:var(--s8)}
@media (min-width:800px){.rows[data-cols="2"],.rows[data-cols="3"]{grid-template-columns:1fr 1fr}}
@media (min-width:1180px){
  .rows[data-cols="3"]{grid-template-columns:repeat(3,1fr);column-gap:var(--s7)}
}
.rows-split{margin:var(--s6) 0 var(--s1);font-size:10.5px;letter-spacing:.06em;
  color:var(--faint);border-top:1px solid var(--hair-soft);padding-top:var(--s4)}

/* The page moves itself when a row opens (client.js revealRow); the
   browser's own scroll anchoring would nudge it the other way first. */
.rows{overflow-anchor:none}
.row{border-bottom:1px solid var(--hair-soft)}
.row-btn{width:100%;display:grid;grid-template-columns:48px auto 1fr auto;align-items:center;
  gap:var(--s3);background:none;border:0;padding:10px 0;text-align:left;cursor:pointer;
  min-height:56px;color:inherit;font:inherit}
@media (min-width:800px){.row-btn{padding:8px 0;min-height:46px}}
/* Every line carries the same square whether or not there is a photograph for
   it, so the column of names does not step in and out down the list.
   48px, six steps of the 8px grid: about the height of a two-line name, so
   photo and text sit as one block, and still sharp from the 200px source on
   a 3x screen. The row's padding gave back what the square took, so the
   list is only a little longer. */
.row-shot{width:48px;height:48px;display:block;border-radius:7px;object-fit:cover;
  background:var(--sunk);border:1px solid var(--hair)}
.row-shot-none{display:flex;align-items:center;justify-content:center}
.row-ico{height:24px;width:auto;display:block;fill:var(--gold-rule)}
.row[data-open="1"] .row-ico{fill:var(--gold)}@media (hover:hover){.row:hover .row-ico{fill:var(--gold)}}
.row-ico{transition:fill .4s var(--ease)}
.row-name{transition:color .4s var(--ease)}
/* a piece priced by the kilo says what one weighs, under its name */
.row-title{display:grid;line-height:1.25}
.row-est{font-size:11.5px;color:var(--faint);letter-spacing:.01em}
@media (hover:hover){.row-btn:hover .row-name{color:var(--gold-lit)}}
.row-lead{border-bottom:1px dotted #2E2A22;align-self:center;margin-bottom:2px}
.row-price{color:var(--gold);font-size:15px;white-space:nowrap;letter-spacing:.005em}
.row-price .per{color:var(--faint);font-size:11.5px}
.row-tbc{color:var(--faint);font-size:10px;letter-spacing:.06em;
  border:1px solid var(--hair);border-radius:999px;padding:3px 10px}
.row[data-in-cart="1"] .row-name::after{content:'';display:inline-block;width:6px;height:6px;
  border-radius:999px;background:var(--blood-lit);margin-left:var(--s2);vertical-align:middle;
  box-shadow:0 0 0 3px rgba(179,34,23,.18)}

.row-edit{display:none;padding:var(--s1) 0 var(--s5)}
.row[data-open="1"]{background:var(--sunk);box-shadow:inset 0 0 0 1px var(--gold);
  padding:0 var(--s4);margin:0 calc(var(--s4) * -1);border-radius:var(--r-sm)}
.row[data-open="1"] .row-edit{display:block;animation:rise .5s var(--ease-out) both}
/* Opened, the row is for ordering: the amount and weight come straight
   under the name. The thumbnail doubles to 96px in its own column, enough
   to see the cut, and the name and price stay beside it. */
.row[data-open="1"] .row-btn{transition:grid-template-columns .3s var(--ease-out)}
.row[data-open="1"] .row-shot{transition:width .3s var(--ease-out),height .3s var(--ease-out),border-radius .3s var(--ease-out)}
.row[data-open="1"] .row-btn:has(img.row-shot){grid-template-columns:96px auto 1fr auto}
.row[data-open="1"] img.row-shot{width:96px;height:96px;border-radius:var(--r-sm)}
@media (prefers-reduced-motion:reduce){.row-btn,.row-shot{transition:none}}
@keyframes rise{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

.mine:not(:empty){margin:var(--s4) 0 0;border-top:1px solid var(--hair-soft);padding-top:var(--s3)}
.mine-head{margin:0 0 var(--s1);font-size:10px;letter-spacing:.06em;color:var(--faint)}
.mine-line{display:flex;align-items:center;gap:var(--s3);padding:6px 0;font-size:14px;color:var(--white)}
.mine-line span{flex:1}
.mine-line[data-editing="1"]{color:var(--gold)}
.mine-line span::before{content:'';display:inline-block;width:5px;height:5px;border-radius:999px;
  background:var(--blood-lit);margin-right:var(--s2);vertical-align:2px}
/* 44px to tap, though the line stays its own height */
.mine-line button{background:none;border:0;color:var(--faint);text-decoration:underline;cursor:pointer;
  font-size:13px;min-height:44px;padding:0 var(--s2);margin:-12px calc(var(--s2) * -1) -12px 0;
  transition:color .3s var(--ease)}
.mine-line[data-undo="1"]{color:var(--faint)}
.mine-line[data-undo="1"] span::before{background:var(--faint)}
.mine-line[data-undo="1"] button{color:var(--gold)}
@media (hover:hover){.mine-line button:hover{color:var(--blood-text)}.mine-line button:first-of-type:hover{color:var(--gold)}}

.portion{display:flex;align-items:flex-end;gap:var(--s3)}
.pf{display:grid;gap:var(--s2)}
.pf-k{font-size:10px;letter-spacing:.06em;color:var(--faint)}
.times{color:var(--faint);font-size:15px;padding-bottom:14px}
.stepper{display:flex;align-items:center;gap:var(--s2)}
.stepper button{width:42px;height:46px;border:1px solid var(--hair);background:var(--raised);
  border-radius:var(--r-sm);font-size:18px;cursor:pointer;box-shadow:var(--inner-lift);
  transition:border-color .3s var(--ease),transform .3s var(--ease)}
@media (hover:hover){.stepper button:hover{border-color:var(--gold-rule)}}
.stepper button:active{transform:scale(.94)}
.row-edit .stepper input{width:58px;height:46px;text-align:center;background:var(--black);
  border:1px solid var(--hair);border-radius:var(--r-sm);font-size:16px;padding:0}
.each{display:flex;align-items:center;gap:var(--s2);height:46px;background:var(--black);
  border:1px solid var(--hair);border-radius:var(--r-sm);padding:0 13px}
.row-edit .each input{width:62px;height:44px;background:none;border:0;border-radius:0;text-align:right;
  font-size:16px;padding:0}
.row-edit .each input:focus{outline:none}
.each .unit{color:var(--gold);font-size:13px;min-width:20px}
.each-label{height:46px;display:flex;align-items:center;color:var(--dim);font-size:14px}

.chips{display:flex;gap:var(--s2);flex-wrap:wrap;margin-top:var(--s4)}
.chips button{background:none;border:1px solid var(--hair);border-radius:999px;padding:8px 15px;
  font-size:12px;color:var(--dim);cursor:pointer;transition:.35s var(--ease)}
@media (hover:hover){.chips button:hover{border-color:var(--gold-rule);color:var(--gold);transform:translateY(-1px)}}

.each-est{margin:var(--s4) 0 0;font-size:13px;color:var(--faint)}
.row-foot{display:flex;align-items:center;gap:var(--s4);margin-top:var(--s5)}
.line-est{margin:0;flex:1;font-size:13.5px;color:var(--gold)}
.add{height:46px;padding:0 26px;border:0;border-radius:999px;background:var(--blood);color:#fff;
  font-weight:700;font-size:14px;cursor:pointer;transition:.35s var(--ease)}
@media (hover:hover){.add:hover{background:var(--blood-lit)}}
.add:active{transform:scale(.97)}
.add:disabled{background:none;border:1px solid var(--hair);color:var(--faint);cursor:default;transform:none}
.closed-note{font-size:10.5px;letter-spacing:.06em;color:var(--gold);
  border:1px solid var(--gold-rule);border-radius:999px;padding:5px 12px;white-space:nowrap}

.empty{color:var(--faint);padding:var(--s5) 0 var(--s7);text-align:center}
.repeat{border-top:1px solid var(--hair-soft);padding:var(--s5) 0;text-align:center}
.repeat-t{margin:0;color:var(--white);font-size:14px}
.repeat-s{margin:var(--s1) 0 var(--s4);color:var(--faint);font-size:12.5px}

/* ---------- cart ---------- */
.scrim{cursor:pointer;position:fixed;inset:0;background:rgba(3,3,3,.76);backdrop-filter:blur(3px);opacity:0;
  pointer-events:none;transition:opacity .5s var(--ease);z-index:50}
.scrim[data-on="1"]{opacity:1;pointer-events:auto}
.drawer{position:fixed;z-index:51;background:var(--raised);display:flex;flex-direction:column;
  inset:auto var(--s2) var(--s2) var(--s2);max-height:88vh;border:1px solid var(--hair);
  border-radius:var(--r-xl);box-shadow:var(--inner-lift),0 30px 80px rgba(0,0,0,.7);
  transform:translateY(106%);transition:transform .6s var(--ease)}
.drawer[data-on="1"]{transform:none}
.drawer-head{display:flex;align-items:center;gap:var(--s3);padding:var(--s5) var(--s6);
  border-bottom:1px solid var(--hair-soft)}
.drawer-head h2{flex:1;font-size:26px}
.x{background:none;border:0;font-size:24px;line-height:1;color:var(--faint);cursor:pointer;padding:var(--s1);
  transition:color .3s var(--ease)}
@media (hover:hover){.x:hover{color:var(--white)}}
.drawer-body{overflow:auto;padding:var(--s1) var(--s6) 0;flex:1}
.drawer-foot{padding:var(--s5) var(--s6) calc(var(--s5) + env(safe-area-inset-bottom));
  border-top:1px solid var(--hair-soft)}
.ci{display:grid;grid-template-columns:1fr auto;gap:var(--s1) var(--s4);padding:var(--s4) 0;
  border-bottom:1px solid var(--hair-soft)}
.ci-name{font-size:15px}
.ci-price{color:var(--gold);font-size:15px}
.ci-sub{grid-column:1/-1;display:flex;align-items:center;gap:var(--s3);color:var(--faint);font-size:13px}
.ci-sub span{flex:1}
.ci-sub .ci-toggle{color:var(--dim)}
.ci-sub .ci-toggle[aria-expanded="true"]{color:var(--gold)}
/* the line's own editor in the bag: smaller than the one on the menu */
.ci-edit{grid-column:1/-1;display:flex;align-items:center;gap:var(--s2);margin:var(--s2) 0 var(--s1)}
.ci-edit[hidden]{display:none}
.ci-edit .stepper button{width:38px;height:40px}
.ci-edit .stepper input{width:48px;height:40px;text-align:center;background:var(--black);
  border:1px solid var(--hair);border-radius:var(--r-sm);font-size:16px;padding:0;color:var(--white)}
.ci-edit .times{padding:0}
.ci-edit .each{height:40px;padding:0 11px}
.ci-edit .each input{width:52px;height:38px;background:none;border:0;border-radius:0;text-align:right;
  font-size:16px;padding:0;color:var(--white)}
.ci-edit .each input:focus{outline:none}
.ci-edit .each:focus-within,.ci-edit .stepper input:focus{border-color:var(--gold-rule)}
.ci-unit{color:var(--dim);font-size:13px}
.ci-edit{flex-wrap:wrap}
.ci-chips{flex-basis:100%;margin-top:var(--s2)}
.chips button{-webkit-tap-highlight-color:transparent}
.chips button[aria-pressed="true"]{border-color:var(--gold);color:var(--gold)}
/* the keyboard is up: the bag sits on it, no taller than what is left */
.drawer[data-kb="1"]{bottom:calc(var(--kb) + var(--s2));max-height:calc(var(--vvh) - var(--s4));transition:none}
.ci-sub button{background:none;border:0;color:var(--faint);text-decoration:underline;cursor:pointer;
  padding:0;font-size:13px;transition:color .3s var(--ease)}
@media (hover:hover){.ci-sub button:hover{color:var(--blood-text)}}
.sum{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:var(--s4)}
.sum .k{color:var(--faint);font-size:10.5px;letter-spacing:.06em}
.sum .v{font-family:var(--display);font-weight:600;font-size:42px;color:var(--gold);letter-spacing:.01em}
.note-tbc{color:var(--blood-text);font-size:12px;margin:calc(var(--s2) * -1) 0 var(--s4)}
.note-placed{color:var(--dim);font-size:13px;margin:calc(var(--s2) * -1) 0 var(--s4);text-align:center}
@media (min-width:760px){
  .drawer{inset:var(--s2) var(--s2) var(--s2) auto;width:440px;max-height:none;
    transform:translateX(106%)}
  .drawer[data-on="1"]{transform:none}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--s2);width:100%;
  padding:17px 28px;border:0;border-radius:999px;background:var(--blood);color:#fff;font-weight:700;
  font-size:15px;cursor:pointer;text-decoration:none;transition:.35s var(--ease)}
@media (hover:hover){.btn:hover{background:var(--blood-lit)}}
.btn:active{transform:scale(.985)}
.btn:disabled{opacity:.32;cursor:default;background:var(--blood);transform:none}
.btn-ghost{background:none;border:1px solid var(--hair);color:var(--white);box-shadow:var(--inner-lift)}
@media (hover:hover){.btn-ghost:hover{background:rgba(245,243,238,.05);border-color:var(--gold-rule);color:var(--gold)}}
.btn-row{display:flex;gap:var(--s3);flex-wrap:wrap}
.btn-row .btn{width:auto;flex:1;min-width:160px}
/* Full width is right on a phone and reads as a banner on a desktop, so a
   button on its own stops at the width of the form it belongs to. */
@media (min-width:700px){
  .btn{max-width:420px}
  form.stack .btn{max-width:none}
  main.wrap > form > .btn-row{justify-content:center}
}

.back{position:absolute;top:var(--s5);left:var(--s5);z-index:3;display:inline-flex;align-items:center;
  gap:var(--s2);padding:12px 20px 12px 15px;border-radius:999px;text-decoration:none;font-size:13.5px;
  font-weight:500;color:var(--white);background:rgba(7,7,7,.6);border:1px solid var(--hair);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:.35s var(--ease)}
@media (hover:hover){.back:hover{background:rgba(7,7,7,.85);border-color:var(--gold);color:var(--gold)}}
.back svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;
  stroke-linejoin:round;flex:none;transition:transform .35s var(--ease)}
@media (hover:hover){.back:hover svg{transform:translateX(-3px)}}

/* ---------- forms ---------- */
form.stack{display:grid;gap:var(--s5);max-width:420px}
label{display:grid;gap:var(--s2);font-size:10.5px;letter-spacing:.06em;
  color:var(--faint)}
input[type=text],input[type=email],input[type=password],input[type=number],textarea,select{
  background:var(--sunk);border:1px solid var(--hair);border-radius:var(--r-md);padding:15px 17px;
  width:100%;font-size:16px;letter-spacing:0;text-transform:none;box-shadow:var(--inner-lift);
  color:var(--white);
  transition:border-color .35s var(--ease)}
select{
  color-scheme:dark;color:var(--white);appearance:none;-webkit-appearance:none;
  padding-right:46px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C9A227' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5 8 10.5 12 6.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 17px center;background-size:16px}
select option{background:#14140F;color:var(--white)}
input:focus,textarea:focus,select:focus{border-color:var(--gold-rule)}
textarea{min-height:140px;resize:vertical;line-height:1.6}
.search input{width:100%;background:var(--sunk);border:1px solid var(--hair);border-radius:999px;
  padding:16px 24px;box-shadow:var(--inner-lift)}
input::placeholder,textarea::placeholder{color:var(--faint);opacity:1}
.search input::placeholder{color:var(--faint)}
.search{margin:0 0 var(--s4)}
.err{background:#1C0907;border:1px solid var(--blood);color:#F0B8B1;padding:14px 17px;
  border-radius:var(--r-md);font-size:14px}
.ok{background:#12120C;border:1px solid var(--gold-rule);color:var(--gold-lit);padding:14px 17px;
  border-radius:var(--r-md);font-size:14px}

/* ---------- a recipe photo ---------- */
.stack-wide{max-width:620px}
.photo-field{display:grid;gap:var(--s2)}
.photo-drop{border:1px dashed var(--hair);border-radius:var(--r-lg);padding:var(--s5);
  background:var(--sunk);display:grid;gap:var(--s4);justify-items:center;text-align:center}
.photo-drop img{max-width:100%;max-height:240px;border-radius:var(--r-md);display:block}
.photo-drop img[hidden]{display:none}
.photo-cta{display:flex;gap:var(--s3);flex-wrap:wrap;justify-content:center;align-items:center}
.photo-cta .btn{width:auto;padding:12px 20px;font-size:14px}
.photo-cta .meta{flex:1 1 100%;margin:0}
.saved-tag{margin-top:var(--s2);display:inline-block;font-size:10px;letter-spacing:.06em;
  color:var(--gold);border:1px solid var(--gold-rule);
  border-radius:999px;padding:3px 10px}

/* ---------- cards ---------- */
.card{position:relative;border:1px solid var(--hair);border-radius:var(--r-lg);padding:var(--s5);
  margin-bottom:var(--s3);background:var(--sunk);box-shadow:var(--inner-lift)}
.card-lines{margin-top:var(--s3)}
/* Taking somebody's order off a week is a small, quiet control in the corner
   of their card, not a red button competing with the send. */
.card-x{position:absolute;top:var(--s3);right:var(--s3)}
.card-x button{background:none;border:1px solid var(--hair);border-radius:999px;cursor:pointer;
  width:30px;height:30px;line-height:1;font-size:17px;color:var(--faint);
  transition:color .3s var(--ease),border-color .3s var(--ease)}
@media (hover:hover){.card-x button:hover{color:var(--blood-text);border-color:var(--blood)}}
.card h3{margin:0 0 var(--s1);font-family:var(--display);font-weight:600;font-size:28px;
  letter-spacing:.012em}
.pill{display:inline-block;border:1px solid var(--gold-rule);border-radius:999px;padding:3px 11px;
  font-size:10px;color:var(--gold);letter-spacing:.06em}

.people{border:1px solid var(--hair);border-radius:var(--r-lg);background:var(--sunk);
  box-shadow:var(--inner-lift);overflow:hidden}
.person{display:flex;align-items:center;justify-content:space-between;gap:var(--s4);
  padding:var(--s4) var(--s5);border-bottom:1px solid var(--hair)}
.person:last-child{border-bottom:none}
.person-name{font-weight:700;letter-spacing:.01em}
.person .meta{margin:4px 0 0}
.person .pill{margin-left:8px;vertical-align:1px}
pre.mono.tg-code{font-size:20px;letter-spacing:.04em;color:var(--gold);margin:var(--s3) 0}
/* the DM's link lands here, clear of the fixed header */
#approve{scroll-margin-top:calc(var(--header-h) + var(--s5))}
.tg-preset{scroll-margin-top:calc(var(--header-h) + var(--s5))}
.tg-flash{margin:0 0 var(--s4);color:var(--gold);font-size:14px;text-align:center}
.card-foot{margin-top:var(--s4)}
.card-foot .btn{flex:0 0 auto;min-width:0}
#report{scroll-margin-top:calc(var(--header-h) + var(--s5))}
.person-acts{display:flex;gap:var(--s2);flex-wrap:wrap;justify-content:flex-end}
.btn.btn-sm{width:auto;padding:10px 18px}
.btn.btn-remove{color:var(--blood-text)}
@media (hover:hover){.btn.btn-remove:hover{border-color:var(--blood);color:var(--blood-text);background:rgba(179,34,23,.08)}}


/* ---------- the measurement converter ---------- */
.conv{margin-top:var(--s9);padding:var(--s6);background:var(--sunk);
  border:1px solid var(--hair);border-radius:var(--r-xl);box-shadow:var(--inner-lift)}
.conv-h{font-family:var(--display);font-weight:600;font-size:clamp(32px,4.8vw,44px);
  line-height:.94;letter-spacing:.012em;margin:0 0 var(--s3)}
.conv-lede{color:var(--dim);margin:0 0 var(--s6);max-width:42ch;font-size:15.5px;line-height:1.6}
.conv-grid{display:grid;gap:var(--s4)}
@media (min-width:720px){.conv-grid{grid-template-columns:.8fr 1.1fr 1.1fr}}
.conv-ing{display:grid;margin-top:var(--s4)}
.conv-ing[hidden]{display:none}
.conv-out{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--s3);
  margin:var(--s6) 0 0;padding-top:var(--s5);border-top:1px solid var(--hair)}
.conv-out b{font-family:var(--display);font-weight:600;font-size:clamp(36px,6.2vw,56px);
  line-height:1;letter-spacing:.03em;color:var(--gold);min-height:1em}
/* Bebas has no lowercase, so the unit keeps the body face and its own size */
.conv-out b em{font-family:var(--ui);font-style:normal;font-weight:500;font-size:.42em;
  letter-spacing:.02em;margin-left:.22em}
.conv-out span{color:var(--faint);font-size:13px;line-height:1.5;max-width:40ch}
@media (max-width:640px){
  .conv{padding:var(--s5)}
  .conv-lede{margin-left:auto;margin-right:auto}
  .conv-out{justify-content:center;text-align:center}
}


/* ---------- the cow ---------- */
.anat{margin:var(--s6) 0 0}
@media (max-width:700px){.anat{margin-top:0}}
.anat-in{display:grid;gap:var(--s5);align-items:start}
/* The animal is on its own until you touch it, and it does not move when you
   do: the reading opens under it, at the same width, so the drawing stays
   where your eye left it. */
.anat-in:not(.is-open) .anat-read{display:none}
.anat-read{scroll-margin-top:calc(var(--header-h) + var(--s5))}
.carcass-wrap,.anat-read{max-width:760px;margin-left:auto;margin-right:auto;width:100%}
.carcass-wrap{scroll-margin-top:calc(var(--header-h) + var(--s2))}
/* On a phone the drawing takes the screen because that is all there is. On a
   desktop it is a diagram on a page, not the page, so it comes down by a
   third. This has to sit under the rule above: same specificity, and a media
   query adds none. */
@media (min-width:900px){.carcass-wrap{max-width:532px}}
@media (max-width:899px){.carcass-wrap{max-width:88%}}

.carcass{width:100%;height:auto;display:block;
  -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
/* The artwork under the hotspot is white with a black name on it. Lighting a
   block means covering it in solid red and laying the white name back on. */
/* Solid red with the white name is the cut you are reading, and the one
   under a mouse, so passing over the animal shows exactly what a click will
   pick. Only a real hover: a tap on a phone must not leave a block lit. */
.pr-g{cursor:pointer;outline:none}
.pr{fill:var(--blood);fill-opacity:0;stroke:none;transition:fill-opacity .25s var(--ease)}
.pr-hot{opacity:0;pointer-events:none;transition:opacity .25s var(--ease)}
@media (hover:hover){
  .pr-g:hover .pr{fill-opacity:1}
  .pr-g:hover .pr-hot{opacity:1}
}
.pr-g.on .pr,.pr-g:focus-visible .pr{fill-opacity:1}@media (hover:hover){.pr-g.on:hover .pr{fill-opacity:1}}
.pr-g.on .pr-hot,.pr-g:focus-visible .pr-hot{opacity:1}@media (hover:hover){.pr-g.on:hover .pr-hot{opacity:1}}

.anat-read .eyebrow{font-size:12.5px;letter-spacing:.02em}
.anat-read{border:1px solid var(--hair);border-radius:var(--r-lg);background:var(--sunk);
  box-shadow:var(--inner-lift);padding:var(--s5) var(--s6);min-height:0}
.anat-card{max-width:66ch}
.anat-read h3{margin:0 0 var(--s3);font-family:var(--display);font-weight:600;font-size:38px;
  letter-spacing:.01em}
.fcts{margin:0;padding:0}
/* This panel is what the whole page is for, and it was set at label sizes: a
   10.5px key against 15px of body. It reads now. */
.fct{display:grid;gap:var(--s2);padding:var(--s4) 0;border-top:1px solid var(--hair-soft)}
.fct:first-child{border-top:0;padding-top:var(--s2)}
@media (min-width:760px){.fct{grid-template-columns:190px 1fr;gap:var(--s5);align-items:baseline}}
.fct dt{margin:0;font-size:13px;letter-spacing:.02em;color:var(--gold);font-weight:500}
.fct dd{margin:0;font-size:16.5px;line-height:1.62;color:var(--white);opacity:.88}
.anat-also{margin:var(--s6) 0 var(--s2);font-family:var(--display);font-weight:600;font-size:26px;
  letter-spacing:.01em;color:var(--white);
  padding-top:var(--s5);border-top:1px solid var(--gold-rule)}

@media (max-width:640px){
  .anat-read{text-align:center;padding:var(--s5)}
  .anat .lede{margin-left:auto;margin-right:auto}
  .prl{font-size:24px}
}

/* A search box is a control, not a heading: lifted off the ground, a gold
   hairline, type you can read, and the word inside the box with a glass beside
   it rather than a label above saying what a search field is. */
.cut-search{position:relative;margin:var(--s8) auto 0;max-width:420px}
.cut-search input{width:100%;padding:12px 20px 12px 46px;border-radius:999px;
  background:var(--lift);border:1px solid var(--gold-rule);box-shadow:var(--inner-lift);
  color:var(--white);font-size:15px;transition:border-color .35s var(--ease)}
.cut-search input::placeholder{color:var(--dim);opacity:1}
.cut-search input:focus{outline:none;border-color:var(--gold)}
.cut-search input{padding-right:42px}
/* Undo the search without reaching for the keyboard, and without the native
   cross, which arrives as a black glyph on a dark field. */
.cut-search-x{position:absolute;right:8px;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border:0;border-radius:999px;background:none;cursor:pointer;
  color:var(--faint);font-size:19px;line-height:1;transition:color .3s var(--ease)}
@media (hover:hover){.cut-search-x:hover{color:var(--white)}}
.cut-search input::-webkit-search-cancel-button{display:none}
.cut-search-ico{position:absolute;left:18px;top:50%;transform:translateY(-50%);
  width:17px;height:17px;pointer-events:none;
  fill:none;stroke:var(--gold);stroke-width:1.9;stroke-linecap:round}

/* It is written after the sign it belongs to, so on a phone it falls under it.
   With room it lifts out of the flow into the page's top right corner, level
   with the top of the sign. */
/* A page that opens with a sign gives it room first. */
.page-top{position:relative;margin-top:var(--s7)}
@media (min-width:760px){.page-top{margin-top:var(--s8)}}
.page-top-in{text-align:center}
.cut-search-corner input{padding-top:9px;padding-bottom:9px;font-size:14px}
.cut-search-corner{margin:var(--s5) auto 0}
/* The guide's search is narrower than the page; the recipes one matches the
   button above it. */
.cut-search-narrow{max-width:70%}
/* The guide's search sits straight under its hero, on the page's axis, and
   the line that tells you what to do sits straight over the drawing it is
   about. On a phone the box is narrower than the page. */
.cut-search-under{margin:var(--s6) auto 0;max-width:420px}
@media (max-width:760px){.cut-search-under{max-width:70%}}
.anat-lede{text-align:center;margin:var(--s7) auto var(--s4);max-width:54ch}
/* on a phone the cow has to be on the first screen, so the steps above it tighten */
@media (max-width:700px){
  .cut-search-under{margin-top:var(--s3)}
  .anat-lede{margin:var(--s3) auto var(--s2)}
}
/* The recipes page opens on its hero; the button and the search sit under it
   on the page's axis, the search as wide as the button. */
.page-top-after{margin-top:var(--s6)}
.page-top-after .btn-row{max-width:420px;margin:0 auto}
.recipe-search-under{margin:var(--s4) auto 0;max-width:420px}
@media (max-width:760px){.page-top-after .btn-row,.recipe-search-under{max-width:70%}}
/* A plated steak on a dark ground, wide; a spread of cured meats, square for
   a phone. The title reads white on either, as on the other heroes. */
.hero-recipes.hero-still .shot img{object-position:50% 50%}
@media (max-width:700px){.hero-recipes.hero-still .shot img{object-position:50% 40%}}
@media (min-width:760px){
  /* Lifted out of the flow and up into the week strip's line, so it reads as
     part of the furniture at the top of the page rather than as the first
     thing on it. The lift is measured, and an end-to-end check fails if the
     search and the clock stop sharing a line. */
  .cut-search-corner{position:absolute;right:0;margin:0;max-width:260px;
    top:calc(-1 * var(--strip-lift))}
}

/* What the search found, where the results start. A search box at the top of a
   long page needs to say so somewhere you are looking. */
.found{margin:var(--s6) 0 0;text-align:center;font-size:13px;letter-spacing:.02em;
  color:var(--gold);scroll-margin-top:calc(var(--header-h) + var(--s5))}

/* ---------- recipes ---------- */
.rgrid{display:grid;gap:var(--s4);margin:var(--s7) 0 var(--s5)}
@media (min-width:600px){.rgrid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:860px){.rgrid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1080px){.rgrid{grid-template-columns:repeat(4,1fr)}}
/* five across once the page is at its widest */
@media (min-width:1260px){.rgrid{grid-template-columns:repeat(5,1fr)}
  .rgrid .rcard{height:250px}
  .rgrid .rcard-in{padding:var(--s3)}
  .rgrid .rcard-plate{padding:var(--s3)}
  .rgrid .rcard h3{font-size:21px;line-height:1.05}
  .rgrid .rcard p{font-size:12.5px;max-width:22ch}}
.rcard{position:relative;display:block;text-decoration:none;height:270px;
  border-radius:var(--r-img);transition:.5s var(--ease);overflow:hidden}
.rcard .shot{position:absolute;inset:0;border-radius:var(--r-img)}
.rcard-in{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;
  align-items:center;justify-content:center;padding:var(--s5);text-align:center}
/* A photograph cannot be trusted to stay dark behind type, so the type carries
   its own plate. Measured worst case over the fire image was 1.07:1 without it. */
.rcard-plate{display:flex;flex-direction:column;align-items:center;gap:var(--s2);
  padding:var(--s4) var(--s5);border-radius:var(--r-lg);
  background:rgba(7,7,7,.66);backdrop-filter:blur(14px) saturate(1.2);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  border:1px solid var(--hair);box-shadow:var(--inner-lift);transition:.5s var(--ease)}
@media (hover:hover){.rcard:hover .rcard-plate{background:rgba(7,7,7,.76);border-color:var(--gold-rule)}}
.rcard h3{margin:0 0 var(--s1);font-family:var(--display);font-weight:600;font-size:30px;
  letter-spacing:.012em;color:var(--white);line-height:1}
.rcard p{margin:0;font-size:13.5px;color:var(--white);opacity:.82;line-height:1.45;max-width:30ch}
@media (hover:hover){.rcard:hover{transform:translateY(-3px)}}
@media (hover:hover){.rcard:hover h3{color:var(--gold-lit)}}
@media (hover:hover){.rcard:hover .shot img{transform:scale(1.04);filter:contrast(1.05) saturate(.98) brightness(1.04)}}
/* Three across is a narrower card, so the plate and its type come down with it
   or the title wraps three times and fills the picture. This has to sit below
   the rules it overrides: a media query adds no specificity, so at a tie it is
   source order that decides. */
@media (min-width:1040px){
  .rcard{height:250px}
  .rcard-in{padding:var(--s4)}
  .rcard-plate{padding:var(--s3) var(--s4)}
  .rcard h3{font-size:23px;line-height:1.04}
  .rcard p{font-size:12.5px;max-width:24ch}
}

.rhero,.cuthero{position:relative;height:clamp(330px,44vw,480px);margin:var(--s6) 0 0}
.rhero .frame,.cuthero .frame{position:absolute;inset:0}
.rhero .shot,.cuthero .shot{position:absolute;inset:0;border-radius:var(--r-img)}
/* A soft falloff behind the heading itself, so the photograph keeps its
   brightness at the edges while the type stays readable in the middle. */
.rhero-in,.cuthero-in{
  background:radial-gradient(ellipse 62% 58% at 50% 50%,rgba(7,7,7,.8) 0%,rgba(7,7,7,.6) 48%,
    rgba(7,7,7,.22) 76%,rgba(7,7,7,0) 100%)}
/* The word is printed on the photograph, so the photograph gives it ground. */
.cat-head{
  background:radial-gradient(ellipse 34% 30% at 50% 50%,rgba(7,7,7,.72) 0%,rgba(7,7,7,.46) 54%,
    rgba(7,7,7,.12) 82%,rgba(7,7,7,0) 100%)}
/* With nothing laid over the picture, the headline carries its own shadow.
   It sits on the type, not on the video. */
.hero h1{text-shadow:0 2px 22px rgba(7,7,7,.6),0 1px 3px rgba(7,7,7,.7)}
.rhero-in,.cuthero-in{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;
  align-items:center;justify-content:center;padding:var(--s7);text-align:center}
/* A recipe title is not the masthead. At the h1 size it fills the frame and
   the photograph disappears behind it. */
.rhero-in h1,.cuthero-in h1{margin:0;max-width:18ch;font-size:clamp(42px,6.2vw,86px);line-height:.94}
@media (max-width:640px){.rhero-in,.cuthero-in{padding:var(--s5)}}
.rmeta{display:flex;gap:var(--s3);align-items:center;color:var(--faint);font-size:11px;
  letter-spacing:.06em;margin:var(--s6) 0 var(--s6)}
.rbody{display:grid;gap:var(--s7);margin-top:var(--s2)}
@media (min-width:780px){.rbody{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:var(--s8)}}

/* ---------- the cut guide ---------- */
/* A shop sign: the tool beside the name, the line under the pair, the whole
   thing on the page's axis over a gold rule. */
.cuts-top{display:flex;flex-direction:column;align-items:center;text-align:center;
  gap:var(--s4);margin-top:var(--s5);padding-bottom:var(--s6);
  border-bottom:1px solid var(--gold-rule)}
/* The words sit on the page's axis. The cleaver hangs off their right rather
   than sharing the centre with them, which pushed the words left of it. */
.cuts-title{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:var(--s4)}
.cuts-title h1{grid-column:2}
.cuts-title .axe{grid-column:3;justify-self:start}
.cuts-top h1{margin:0}
.cuts-top .lede{margin:0;max-width:54ch}
/* The cleaver is assets/meat axe traced, in the same gold as everything else.
   The ferrule and the rivet are knocked out in the page colour rather than
   painted gold on gold, which would lose them. It is drawn to the height of
   the heading it stands next to, not to a size of its own. */
.axe{width:auto;height:.83em;flex:none;display:block;
  font-size:clamp(38px,4.4vw,58px)}
.axe-a{fill:var(--gold)}
.axe-b{fill:var(--black)}


/* At full width a row of photograph, name and a line of description would run
   to 1200px, which nobody reads. Two columns instead, each a sane measure. */
.blk{margin-top:var(--s7)}
@media (min-width:1000px){
  .cutlist{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--s7)}
}
.blk-count{font-size:10.5px;color:var(--faint);letter-spacing:.06em}
.blk-head{display:flex;align-items:baseline;justify-content:center;gap:var(--s3);
  border-bottom:1px solid var(--gold-rule);padding-bottom:var(--s3)}
/* A row is a square photograph, a name and a line about the cut. The square is
   there whether or not we have the picture, so the column of names does not
   step in and out as the list goes down. A cut the butcher is cutting this
   week is a .row as well, which is how it opens into the portion editor. */
.cutlist{list-style:none;margin:0;padding:0}
.cutlist > li{list-style:none}
.cutrow{border-bottom:1px solid var(--hair-soft)}
.cutrow-plain{display:grid;grid-template-columns:68px 1fr;gap:var(--s4);align-items:start;
  padding:var(--s4) 0}
.cutrow .row-btn{display:grid;grid-template-columns:68px 1fr auto;gap:var(--s4);
  align-items:center;padding:var(--s4) 0;min-height:0}
.cutshot{width:68px;height:68px;display:block;border-radius:var(--r-thumb);object-fit:cover;
  background:var(--sunk);border:1px solid var(--hair)}
.cutshot-none{display:flex;align-items:center;justify-content:center;background:var(--sunk)}
.cutshot-none .bull{width:38px;height:auto;display:block;fill:var(--gold-rule)}
.cutrow-in{min-width:0;display:block;text-align:left}
.cutrow .row-name{display:block;margin-bottom:5px;font-size:15.5px;font-weight:500;
  letter-spacing:.005em;color:var(--white)}
.cutrow-what{display:block;font-size:14px;line-height:1.6;color:var(--dim)}
.cutrow-price{white-space:nowrap}
.tag{font-size:11px;color:var(--faint);border:1px solid var(--hair);border-radius:999px;padding:4px 11px;
  white-space:nowrap}

/* ---------- account: two short cards ---------- */
.acct-card{max-width:520px;margin:0 auto var(--s5);display:grid;gap:var(--s4)}
.acct-card h3{font-size:24px;margin:0}
.acct-flash{margin:0}
.acct-form{display:grid;grid-template-columns:1fr auto;gap:var(--s3);align-items:end}
.acct-pw{display:grid;gap:var(--s4)}
.acct-pw .btn{justify-self:start}
.acct-fixed{margin:0;display:grid;gap:var(--s2);font-size:15px;color:var(--dim);overflow-wrap:anywhere}
.acct-fixed span{font-size:10.5px;letter-spacing:.06em;color:var(--faint)}
.acct-out{max-width:520px;margin:var(--s6) auto 0;display:flex;justify-content:center}
.acct-card .btn.btn-sm{min-height:48px}
@media (max-width:480px){.acct-form{grid-template-columns:1fr}.acct-form .btn,.acct-pw .btn{justify-self:stretch}}
.factgrid{display:grid;gap:1px;background:var(--hair-soft);border:1px solid var(--hair);
  border-radius:var(--r-lg);overflow:hidden;margin-top:var(--s6);box-shadow:var(--inner-lift)}
@media (min-width:580px){.factgrid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}
.fact{background:var(--sunk);padding:var(--s5) var(--s5);display:grid;gap:var(--s2)}
.fact-k{font-size:10px;letter-spacing:.06em;color:var(--faint)}
.fact-v{font-size:17px;font-weight:500}


/* A page is one column of blocks of different widths. Flush left they leave a
   ragged right edge and an empty half; on the page's own axis they read as one
   thing. Lists, grids and price rows keep their own alignment. */
@media (min-width:701px){
  main.wrap > h1, .page-top-in > h1,
  main.wrap > .lede, .page-top-in > .lede,
  main.wrap > .plain,
  main.wrap > .meta,
  main.wrap > .err,
  main.wrap > .eyebrow{text-align:center;margin-left:auto;margin-right:auto}
  main.wrap > form.stack,
  main.wrap > .btn,
  main.wrap > .btn-row, .page-top-in > .btn-row{margin-left:auto;margin-right:auto}
  main.wrap > .btn-row, .page-top-in > .btn-row{justify-content:center}
}

/* The sign-in page is one narrow column of five things. They were carrying
   their own inline margins and two of them were not on the axis at all. */
.auth-h{margin-top:var(--s9)}
.auth-alt{margin-top:var(--s5)}
.err{max-width:420px}
/* Inside Telegram: the line saying sign-in happens only once, and the form
   kept out of sight for the moment it takes to sign someone in by itself. */
.tg-note{max-width:420px;color:var(--gold-lit)}
.auth-forgot{display:inline-block;margin-top:var(--s2);color:var(--dim)}
.err a{color:inherit;text-decoration:underline}
.tg-note + form.stack{margin-top:var(--s5)}
.tg-wait main{visibility:hidden}

/* A form that follows a line of text needs the same air as anything else
   does, and the admin page had it running straight on. */
.plain + form.stack,.lede + form.stack{margin-top:var(--s5)}
.ok{margin-top:var(--s5)}

/* ---------- scroll entry ---------- */
[data-reveal]{opacity:0;transform:translateY(22px);filter:blur(6px)}
[data-reveal].is-in{opacity:1;transform:none;filter:none;
  transition:opacity .9s var(--ease-out),transform .9s var(--ease-out),filter .9s var(--ease-out)}

/* ============================================================
   On a phone the whole page is centred. One block, so it is easy to tune.
   ============================================================ */
@media (max-width:640px){
  main.wrap{text-align:center}
  .lede,.plain,.rcard p{margin-left:auto;margin-right:auto}
  .lede{max-width:34ch}

  /* week strip */
  .tally-in{flex-direction:column;align-items:flex-start;gap:var(--s3)}
  .tally-what{flex:none}
  .tally .prefs{margin:0}
  .prefs{justify-content:center;flex-wrap:wrap}

  /* section headings */
  .section-head{flex-direction:column;align-items:center;gap:var(--s2);text-align:center}
  .blk-head{flex-direction:column;align-items:center;gap:var(--s2);text-align:center}
  .rows-split{text-align:center}

  /* the guide masthead stacks, sign over tool */
  .cuts-top{flex-direction:column;align-items:center;text-align:center;gap:var(--s5)}
  .axe{width:64px}

  /* The rest of the page centres, but sixty-seven prices stacked down the
     middle of a phone are unreadable and were what made this feel cramped.
     A price list reads across: name on the left edge, price on the right,
     a leader between them, the way it is printed in a shop. */
  .row-btn{text-align:left;padding:12px 0;gap:var(--s3)}
  .rows-split{text-align:left}
  /* The rest of the phone layout centres, but a list of a hundred cuts read
     down the middle is unreadable, so a cut row keeps its photo and its left
     edge and only gets smaller. */
  .cutrow-plain{grid-template-columns:52px 1fr;gap:var(--s3);text-align:left}
  .cutrow .row-btn{grid-template-columns:52px 1fr auto;gap:var(--s3);text-align:left}
  .cutshot{width:52px;height:52px}
  .cutshot-none .bull{width:30px}
  .blk-head{flex-direction:row;justify-content:center}

  /* the portion editor */
  /* the portion editor hangs from the same left edge as its row, and the
     price sits beside Add, where the thumb already is */
  .row-edit{text-align:left}
  .portion{flex-wrap:wrap}
  .add{min-width:120px}

  /* cart, cards, forms, footer */
  .ci{grid-template-columns:1fr;justify-items:center;text-align:center;gap:var(--s1)}
  .ci-sub{justify-content:center;flex-wrap:wrap;row-gap:var(--s1)}
  .ci-sub span{flex:0 1 100%}
  .ci-edit{justify-content:center}
  .sum{flex-direction:column;align-items:center;gap:var(--s1)}
  .card{text-align:center}
  .factgrid{text-align:center}
  .fact{justify-items:center}
  .rmeta{justify-content:center}
  form.stack{margin-left:auto;margin-right:auto;justify-items:stretch}
  label{text-align:center;justify-items:center}
  label input,label textarea,label select{text-align:center}
  .btn-row{justify-content:center}
  .drawer-head{justify-content:center;text-align:center}
  .drawer-head h2{flex:none}
}

@media (prefers-reduced-motion:reduce){
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
  [data-reveal]{opacity:1;transform:none;filter:none}
}

/* ---------- the admin page ----------
   Built from the site's own parts: the centred column of Account and Past
   orders, the order menu's section heading with its gold rule, the person
   cards of This week's order, and the kg / lb toggles for the section
   buttons. Only what has no counterpart elsewhere is written here. */
.adm-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--s2);margin:0 auto;max-width:640px}
.adm-nav a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 var(--s4);
  border:1px solid var(--hair);border-radius:999px;background:var(--sunk);
  font-size:13px;letter-spacing:.01em;color:var(--dim);text-decoration:none;
  transition:color .3s var(--ease),background .3s var(--ease)}
/* the section being shown: red, the site's own colour for the one thing in hand */
.adm-nav a[aria-selected="true"]{background:var(--blood);border-color:var(--blood);color:#fff}
.adm-nav a[aria-selected="true"] .adm-dot{background:#fff}
@media (hover:hover){.adm-nav a[aria-selected="true"]:hover{background:var(--blood-lit);color:#fff}}
/* one section at a time: it sits straight under the tabs, and a heading that
   only repeats the tab's name is left out */
.adm-tabs .adm-head-dup{display:none}
.adm-tabs .adm-head-dup + *{margin-top:var(--s6)}
.adm-tabs .adm-panel > .section-head:first-child,
.adm-tabs .adm-panel > #todo:first-child + .section-head{margin-top:var(--s7)}
@media (max-width:700px){
  .adm-tabs .adm-panel > .section-head:first-child,
  .adm-tabs .adm-panel > #todo:first-child + .section-head{margin-top:var(--s6)}
}
@media (hover:hover){.adm-nav a:hover{color:var(--white)}}
.adm-nav a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
/* On a phone all five are in view at once, nothing to swipe and nothing that
   moves: the job at hand across the top, the four standing tools two by two.
   Squarer than the pills, so the red one reads as the section you are in,
   not a button that does something. */
@media (max-width:560px){
  .adm-nav{display:grid;grid-template-columns:1fr 1fr;gap:4px;max-width:none;padding:4px;
    background:var(--sunk);border:1px solid var(--hair);border-radius:16px;box-shadow:var(--inner-lift)}
  .adm-nav a{justify-content:center;min-height:44px;padding:0 var(--s2);border:0;border-radius:12px;
    background:transparent;font-size:14px;text-align:center}
  .adm-nav a:first-child{grid-column:1 / -1}
}
.adm-nav .adm-dot{margin-left:2px}
.adm .section-head{grid-template-columns:1fr;justify-items:center;margin-top:var(--s9);
  scroll-margin-top:calc(var(--header-h) + var(--s5))}
@media (max-width:700px){.adm .section-head{margin-top:var(--s8)}}
.adm .section-head + .eyebrow{margin-top:var(--s5)}
.adm .section-head h2{grid-column:1}
.adm .section-head + .lede{margin:var(--s5) auto var(--s5);text-align:center}
.adm-also{text-align:center;margin:var(--s5) 0 0}
.adm-manual{text-align:center;margin:var(--s4) 0 0}
.linklike{background:none;border:0;padding:10px 4px;min-height:44px;cursor:pointer;font:inherit;font-size:14px;
  color:var(--dim);text-decoration:underline;text-underline-offset:3px}
@media (hover:hover){.linklike:hover{color:var(--white)}}
/* a part inside a section: This week's orders, People's three lists */
.adm .adm-sub{margin:var(--s8) 0 var(--s3);text-align:center;scroll-margin-top:calc(var(--header-h) + var(--s5))}
.adm .section-head + .adm-sub{margin-top:var(--s5)}
/* the site's own desktop centring, which only reaches what sits straight in
   the page column, applied to what sits in the admin page's sections */
@media (min-width:701px){
  .adm > .eyebrow,.adm > .lede,.adm > .meta,.adm > .empty{text-align:center;margin-left:auto;margin-right:auto}
  .adm > form.stack,.adm > .btn-row,.adm > form > .btn-row{margin-left:auto;margin-right:auto}
  .adm > .btn-row,.adm > form > .btn-row{justify-content:center}
}
/* a sent round opens to show everyone's order, so the list stays short */
.sent-round summary{list-style:none;cursor:pointer;display:grid;gap:var(--s1)}
.sent-round summary::-webkit-details-marker{display:none}
.sent-round summary h3{margin:0}
.sent-round summary::after{content:'Show the orders';font-size:13px;color:var(--gold);margin-top:var(--s1)}
.sent-round[open] summary::after{content:'Hide the orders'}
.sent-round summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:6px}
.sent-person{margin-top:var(--s5)}
.sent-name{margin:0;font-weight:700}
.sent-round + .sent-round{margin-top:var(--s3)}
.tg-user{display:flex;align-items:center;gap:var(--s2);margin-top:var(--s2)}
.tg-user-l{display:flex;align-items:center;gap:var(--s2);font-size:12.5px;color:var(--faint)}
.tg-user-l input{width:170px;padding:7px 12px;font-size:13.5px;text-align:left}
.tg-member{margin-top:0;flex-wrap:wrap}
.tg-member .tg-user-l input{width:150px}
@media (max-width:700px){.tg-user{justify-content:center}.tg-user-l{flex-direction:row}}
.adm-flash{margin:0 auto var(--s4);text-align:center}
.adm-gap{margin-top:var(--s7)}
.adm-body{margin:var(--s2) 0 var(--s3);color:var(--white);line-height:1.55;white-space:pre-wrap}
.adm-row{margin-top:var(--s3)}
.adm-row form{display:contents}
/* the email reads as a letter, left to right, in the site's own type */
.adm-mail{display:block;width:100%;white-space:pre-wrap;font-family:var(--ui);font-size:14.5px;line-height:1.65;
  color:var(--white);background:var(--sunk);border:1px solid var(--hair);border-radius:var(--r-lg);
  padding:var(--s5);margin:0 0 var(--s5);text-align:left}
.adm-mail-edit{min-height:420px;resize:vertical;outline:none}
.adm-mail-edit:focus-visible{border-color:var(--gold-rule)}
.adm-note{text-align:center;margin:0 0 var(--s3)}
.adm .tg-preset textarea{text-align:left;line-height:1.55;font-size:15px}
/* inside a card, a form takes the card's width, as the rows of an order card
   do; its buttons are the small ones, like Mark handled and Make admin */
.tg-form{display:grid;gap:var(--s3);margin-top:var(--s3)}
.tg-form textarea{width:100%;min-height:8.5em;field-sizing:content}
.card-acts{display:flex;flex-wrap:wrap;gap:var(--s2)}
.tg-preset .meta{margin:var(--s1) 0 0}
.tg-preset h3{margin-bottom:0}
@media (max-width:700px){.card-acts{justify-content:center}}
.tg-preset h3 .pill{font-family:var(--ui);font-size:11px;vertical-align:4px}
.tg-fields{line-height:1.7}
.tg-fields code{font-family:var(--ui);color:var(--gold);font-size:12.5px}
@media (max-width:700px){
  .adm-mail{font-size:14px;padding:var(--s4)}
  .adm .person{flex-direction:column;align-items:center;text-align:center;gap:var(--s3)}
  .adm .person-acts{justify-content:center}
}
