@font-face { font-family: "Fraunces"; font-weight: 300 900; font-display: swap; src: url("/fonts/Fraunces.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("/fonts/Figtree-Medium.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("/fonts/Figtree-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("/fonts/Figtree-Bold.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-display: swap; src: url("/fonts/Figtree-ExtraBold.ttf") format("truetype"); }

/* Palette sampled from the Life in the Home artwork */
:root {
  --cream: #f4ebdb;
  --paper: #fbf6ec;
  --white: #ffffff;
  --line: #e2d4bb;
  --sage: #506046;        /* bottom band */
  --sage-2: #697555;      /* logo ring */
  --sage-soft: #dfe3d2;
  --rose: #c47b6f;        /* SHOW ribbon */
  --rose-soft: #f3dcd5;
  --ink: #3b4a35;         /* headline green */
  --text: #4a3f33;        /* warm brown body text */
  --muted: #86786a;
  --danger: #b4483f;
  --ok: #4f7a45;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(80, 60, 30, .06), 0 8px 24px rgba(80, 60, 30, .08);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--sans); font-weight: 500; color: var(--text); background: var(--cream);
}
main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px 56px; }
a { color: var(--sage); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.1; color: var(--ink); font-family: var(--serif); font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 72; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; max-width: 1240px; width: 100%; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 25px; font-variation-settings: "SOFT" 100, "opsz" 72; letter-spacing: -.01em; }
.logo img { width: 52px; height: 52px; }
.topbar nav { display: flex; align-items: center; gap: 18px; font-weight: 700; white-space: nowrap; }
.topbar nav a { text-decoration: none; }
.topbar nav a.quiet { color: var(--muted); font-weight: 600; }
.inline { display: inline; margin: 0; }
.linkish { background: none; border: 0; padding: 0; color: var(--sage); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.topbar .linkish { text-decoration: none; }

/* flashes */
.flashes { max-width: 1240px; margin: 0 auto; padding: 0 20px; width: 100%; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 10px; font-weight: 600; }
.flash.ok { background: var(--sage-soft); border: 1px solid #b9c3a6; color: var(--ink); }
.flash.error { background: var(--rose-soft); border: 1px solid #e0aaa0; color: #7a2f28; }

/* hero */
.hero { margin: 4px 0 40px; }
.hero img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow); }

/* shop header */
.shop-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 26px; }
.eyebrow { margin: 0 0 8px; color: var(--rose); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 13px; }
.shop-head h2 { font-size: clamp(34px, 5vw, 50px); }
.lede { margin: 10px 0 0; font-size: 18px; color: var(--muted); }
.tools { display: flex; flex-direction: column; gap: 12px; flex: 1 1 440px; max-width: 640px; }
input[type=search], input[type=text], input[type=password], input[type=url], input:not([type]) {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
input::placeholder { color: #aa9c8c; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 700; font-size: 14px; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.chip:hover { border-color: var(--sage-2); }
.chip.on { background: var(--sage); border-color: var(--sage); color: var(--paper); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.photo { background: var(--white); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 22px; border-bottom: 1px solid var(--line); }
.photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.photo.quad { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; padding: 16px; }
.photo.quad img { width: 100%; height: 100%; }
.body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.brand { margin: 0 0 6px; color: var(--rose); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 12.5px; }
.card h3 { font-size: 23px; }
.card ul, .row ul { list-style: none; padding: 0; margin: 12px 0 18px; }
.card li, .row li { position: relative; padding-left: 20px; margin: 6px 0; line-height: 1.35; }
.card li::before, .row li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 8px; height: 8px; border-radius: 50% 0; background: var(--sage-2); transform: rotate(45deg); }
.price { margin-top: auto; border: 2px solid var(--sage); border-radius: 14px; overflow: hidden; text-align: center; background: var(--white); }
.price .label { display: block; background: var(--sage); color: var(--paper); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; padding: 6px; }
.price .value { display: block; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 32px; padding: 8px 10px 10px; font-variation-settings: "SOFT" 100, "opsz" 72; }
.price.tbd .value { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--rose); padding: 14px 10px; letter-spacing: .02em; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* footer, echoing the band on the show artwork */
footer { margin-top: auto; }
.band { background: var(--sage); color: var(--paper); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; padding: 22px 20px; font-size: 16px; }
.band .strong { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 19px; }
.band .sep { width: 1.5px; height: 26px; background: rgba(251, 246, 236, .5); }
.band .script { font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 400; margin-left: 12px; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin: 0; padding: 16px 20px 24px; background: var(--cream); }

/* team pages */
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 16px; }
.btn:hover { border-color: var(--sage-2); }
.btn.primary { background: var(--sage); color: var(--paper); border-color: var(--sage); }
.btn.primary:hover { background: var(--ink); }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.team-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; padding: 22px 0 22px; }
.team-head h1 { font-size: 38px; }
.team-head p { margin: 8px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.panel-inline { background: var(--sage-soft); border: 1px solid #c6cdb3; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.panel-inline p { margin: 10px 0 0; font-size: 14px; }
.barcode-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.barcode-form label:first-of-type { flex: 2 1 240px; }
.barcode-form label { flex: 1 1 140px; }
.rows { display: flex; flex-direction: column; gap: 14px; }
.row { display: grid; grid-template-columns: 110px 1fr minmax(260px, 340px); gap: 20px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; scroll-margin-top: 20px; box-shadow: var(--shadow); }
.row:target { border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft); }
.row.hidden-item { opacity: .6; }
.thumb img { width: 110px; height: auto; display: block; border-radius: 8px; border: 1px solid var(--line); }
.row h2 { font-size: 22px; }
.row ul { margin: 8px 0 0; font-size: 15px; }
.tag { display: inline-block; margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.controls { display: flex; flex-direction: column; gap: 12px; }
.price-form { display: flex; gap: 8px; align-items: end; }
.price-form label { flex: 1; }
label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); }
label input { margin-top: 6px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 700; }

.panel { max-width: 720px; margin: 24px auto 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel.narrow { max-width: 420px; }
.panel h1 { font-size: 32px; margin-bottom: 6px; }
.panel form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; padding: 0; }
input[type=file] { font: inherit; color: var(--text); margin-top: 8px; display: block; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--sage); }
.current { display: flex; gap: 10px; flex-wrap: wrap; }
.current img { width: 120px; height: 120px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.danger { border-top: 1px solid var(--line); padding-top: 20px; }

@media (max-width: 820px) {
  .row { grid-template-columns: 80px 1fr; }
  .thumb img { width: 80px; }
  .controls { grid-column: 1 / -1; }
  .band .script { margin-left: 0; flex-basis: 100%; text-align: center; }
}
@media (max-width: 520px) {
  main { padding: 0 16px 40px; }
  .topbar, .flashes { padding-left: 16px; padding-right: 16px; }
  .logo { font-size: 21px; gap: 10px; }
  .logo img { width: 44px; height: 44px; }
  .hero { margin-bottom: 28px; }
  .hero img { border-radius: 14px; }
  .grid { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .price-form { flex-direction: column; align-items: stretch; }
  .band .sep { display: none; }
  .band { gap: 6px 16px; }
}
.source-note { margin: 0; font-size: 14px; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; }
.current img { width: 180px; height: 180px; }
.req { color: var(--rose); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-left: 4px; }
.hint { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.links a.ss { color: #b82026; }

/* cart */
.cart-link { position: relative; }
.cart-link .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--rose); color: var(--white); font-size: 12.5px; font-weight: 800; }
.btn.buy { margin-top: 12px; width: 100%; font-size: 16px; padding: 12px; }
.btn.buy.added { background: var(--ink); border-color: var(--ink); }
.btn.big { width: 100%; font-size: 17px; padding: 14px; }
.cart-panel { max-width: 760px; }
.lines { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.lines.static .line { grid-template-columns: 72px 1fr auto; }
.line img { width: 72px; height: 72px; object-fit: contain; }
.line p { margin: 0; }
.line .brand { font-size: 11.5px; margin-bottom: 2px; }
.line .name { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); }
.line .each { font-size: 14px; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-size: 18px; font-weight: 700; color: var(--ink); cursor: pointer; }
.qty span { min-width: 20px; text-align: center; font-weight: 800; }
.line-total { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.subtotal strong { font-family: var(--serif); font-size: 28px; color: var(--ink); }
.small { font-size: 14px; }
.summary form { margin-top: 12px; }
@media (max-width: 600px) {
  .line { grid-template-columns: 56px 1fr auto; }
  .line img { width: 56px; height: 56px; }
  .line .qty { grid-column: 2; }
  .line .remove { grid-column: 3; justify-self: end; }
}
.price .value.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 8px 4px; padding: 10px 8px 12px; font-size: 20px; }
.price .value.options span { display: flex; flex-direction: column; align-items: center; min-width: 0; white-space: nowrap; }
.price .value.options small { font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--sage-2); }
.buy-row { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.size-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: -2px; }
.buy-row select { width: 100%; font: inherit; font-size: 16px; font-weight: 700; color: var(--text); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 12px; }
.buy-row .btn.buy { margin-top: 0; width: 100%; }
.small-btn { font-size: 13.5px; padding: 6px 12px; }
.disc-btn { color: var(--danger); border-color: #e3b2ac; background: var(--white); }
.tag.disc { color: var(--danger); border-color: #e3b2ac; }
.opt-row { gap: 8px; }

/* shows */
.latest-show { margin: 0 0 48px; }
.latest-show h1, .latest-show h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.latest-show .eyebrow a { color: inherit; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #1d1a15; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch { margin: 12px 0 0; font-weight: 700; }
.featured-head { font-size: 26px; margin: 30px 0 16px; }
.prev-shows { margin-top: 56px; }
.prev-shows h2 { font-size: 34px; margin-bottom: 18px; }
.page-head { padding: 20px 0 26px; }
.page-head h1 { font-size: clamp(34px, 5vw, 50px); }
.show-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.show-tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 14px; }
.show-tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 8px; }
.show-tile span { padding: 0 14px; }
.show-tile .date { color: var(--rose); font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.show-tile .title { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); line-height: 1.2; }
.show-tile .count { font-size: 14px; color: var(--muted); }
.show-tile:hover { border-color: var(--sage-2); }
.show-row { grid-template-columns: 160px 1fr minmax(240px, 320px); }
.yt-thumb { width: 160px; border-radius: 10px; }
.panel.wide { max-width: 1100px; }
.order-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.col-head { font-size: 22px; margin: 6px 0 4px; }
.running, .pick { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.pick { max-height: 520px; overflow: auto; padding-right: 4px; }
.running li, .pick li { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.running li { cursor: grab; }
.running li.dragging { opacity: .4; }
.running img, .pick img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.running .num { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--rose); width: 28px; flex: none; }
.running .nm, .pick li > span { flex: 1; min-width: 0; font-weight: 700; color: var(--ink); line-height: 1.2; }
.running small, .pick small { display: block; font-size: 11px; font-weight: 800; color: var(--rose); text-transform: uppercase; letter-spacing: .06em; }
.move { display: flex; gap: 4px; flex: none; }
.move button:not(.linkish) { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 800; color: var(--ink); }
.move .linkish { padding: 0 6px; text-decoration: none; color: var(--danger); }
.pick li.in-show { opacity: .45; }
.pick li.in-show .add { pointer-events: none; }
@media (max-width: 820px) {
  .order-cols { grid-template-columns: 1fr; }
  .show-row { grid-template-columns: 1fr; }
  .yt-thumb { width: 100%; }
}
