/* SIDE REEL - one fixed video on the left, one menu column scrolling on the right.
   Measured from cafepy-wbs.framer.website (teardown 2026-09-29). Every brand only
   sets the tokens in :root (written by build.py); structure below is shared. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--frame); -webkit-text-size-adjust: 100%; }
body {
  background: var(--frame); color: var(--ink);
  font-family: var(--f-text); font-weight: var(--w-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display { font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; letter-spacing: var(--ls-display); }

/* ---------- layout: the reel (fixed) + the column (scrolls) ---------- */
:root { --gut: 10px; --col: 520px; --col-gap: 150px; --main-gap: 100px; --ease: cubic-bezier(0.44, 0, 0.56, 1); }
.reel {
  position: fixed; z-index: 2; top: var(--gut); left: var(--gut); bottom: var(--gut);
  width: calc(100vw - var(--col) - var(--gut) * 3);
  border-radius: 10px; overflow: hidden; background: #0a0a0a;
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.col {
  position: relative; width: var(--col); margin: var(--gut) var(--gut) var(--gut) auto;
  background: var(--paper); border-radius: 10px; padding: 20px;
  display: flex; flex-direction: column; gap: var(--col-gap);
  min-height: calc(100vh - var(--gut) * 2);
}
.col > main { display: flex; flex-direction: column; gap: var(--main-gap); flex: 1; }
.col > .foot { margin-top: calc(var(--foot-gap, var(--main-gap)) - var(--col-gap)); }
.p-home { --foot-gap: 50px; }

/* pause */
.pause {
  position: absolute; right: 30px; bottom: 30px; width: 40px; height: 40px; border-radius: 50px;
  background: var(--paper); display: grid; place-items: center; color: var(--ink);
}
.pause svg { width: 16px; height: 16px; }
.pause .i-play { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }
.pause[aria-pressed="true"] .i-pause { display: none; }

/* ---------- masthead ---------- */
.mast { display: flex; flex-direction: column; gap: 20px; padding-bottom: 30px; }
.mast-top {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-bottom: 16px; border-bottom: 1px dashed var(--rule-soft);
  font-size: 18px; line-height: 1.2; color: var(--ink-soft);
}
.clock b { font-weight: inherit; color: var(--ink); }
.clock .state::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 6px 1px 2px; background: var(--ink-soft); }
.clock .state.open::before { background: var(--open, #2e9e4f); }
.nav a { transition: color .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.logo { position: relative; display: block; width: 100%; container-type: inline-size; }
.logo > img, .logo > svg { width: 100%; height: auto; overflow: visible; }
.badge {
  position: absolute; right: var(--badge-x); bottom: var(--badge-y); transform: rotate(var(--badge-r));
  transform-origin: 50% 50%; white-space: nowrap;
  background: var(--badge-bg); color: var(--badge-ink); border-radius: 100px; padding: 4px 10px 5px;
  font-size: 14px; line-height: 1.2;
}
.badge em { font-style: normal; color: var(--badge-em); }

/* ---------- menu ---------- */
.sec { display: flex; flex-direction: column; gap: 40px; }
.sec-head { display: flex; align-items: center; gap: 10px; }
.sec-head img { width: 26px; height: 26px; object-fit: contain; }
.sec-head h2 { font-size: 30px; line-height: .8; color: var(--accent); }
.rows { list-style: none; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 0 15px; border-bottom: 1px dashed var(--rule);
  font-size: 20px; line-height: var(--lh-item);
}
.row .name { display: flex; align-items: center; gap: 16px; text-transform: uppercase; font-weight: var(--w-item); }
.row .price { color: var(--ink-soft); font-weight: var(--w-item); font-variant-numeric: tabular-nums; flex: none; }
.tag {
  font-size: 14px; line-height: 1.2; text-transform: none; padding: 3px 8px; border-radius: 2px;
  background: var(--tag-bg); color: var(--tag-ink); font-weight: var(--w-tag); white-space: nowrap;
}
.tag.new { background: var(--new-bg); color: var(--new-ink); }

/* ---------- about ---------- */
.about { display: flex; flex-direction: column; gap: 50px; }
.about h1, .page-title {
  font-size: 60px; line-height: .8; color: var(--h1-color);
  -webkit-text-stroke: var(--h1-stroke-w) var(--h1-stroke); paint-order: stroke fill;
}
.about .lede { max-width: 92%; margin-top: 20px; font-size: 18px; line-height: 1.2; font-weight: var(--w-body); }
.about h2 { font-size: 24px; line-height: .8; color: var(--accent); }
.values { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.values li { display: flex; align-items: baseline; gap: 10px; font-size: 18px; line-height: 1.2; font-weight: var(--w-body); }
.values li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tag-bg); flex: none; transform: translateY(-3px); }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; margin-top: 30px; }
.person { display: flex; gap: 16px; align-items: center; }
.person img { width: 100px; height: 100px; border-radius: 10px; object-fit: cover; flex: none; }
.person .who { display: flex; flex-direction: column; gap: 16px; }
.person h3 { font-size: 18px; line-height: .8; color: var(--accent); }
.person p { font-size: 14px; line-height: 1.2; color: var(--ink-soft); margin-top: 6px; }
.socials { display: flex; gap: 10px; align-items: center; }
.socials a { display: block; color: var(--ink); transition: color .3s var(--ease); }
.socials a:hover { color: var(--accent); }
.socials svg { width: 18px; height: 18px; }

/* ---------- footer ---------- */
.foot { display: flex; flex-direction: column; gap: 16px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed var(--rule-soft); }
.foot-top h2 { font-size: 18px; line-height: .8; color: var(--accent); }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; font-size: 16px; line-height: 1.2; font-weight: var(--w-body); }
.foot-bot .credit a { color: var(--link); }
.foot-bot > a { white-space: nowrap; color: var(--ink-soft); transition: color .3s var(--ease); }
.foot-bot a:hover { color: var(--accent); }

/* ---------- order dock (sits on the reel) ---------- */
.dock { position: fixed; z-index: 5; left: 40px; bottom: 40px; }
.order {
  display: flex; align-items: center; gap: 16px; padding: 12px 24px; border-radius: 10px;
  background: var(--btn); color: var(--btn-ink); font-size: 20px; line-height: 1;
  text-transform: uppercase; font-weight: var(--w-item); transition: background-color .3s var(--ease), color .3s var(--ease);
}
.order:hover { background: var(--btn-hover); color: var(--btn-hover-ink); }
.plus { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--btn-ink); flex: none; }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; border-radius: 2px;
  background: var(--btn); translate: -50% -50%; transition: rotate .3s var(--ease), background-color .3s var(--ease);
}
.plus::after { rotate: 90deg; }
.plus { transition: background-color .3s var(--ease); }
.order:hover .plus { background: var(--btn-hover-ink); }
.order:hover .plus::before, .order:hover .plus::after { background: var(--btn-hover); }
.dock.open .plus::after { rotate: 0deg; }
.pop {
  position: absolute; left: 0; bottom: calc(100% + 8px); width: 240px; padding: 20px;
  display: flex; flex-direction: column; gap: 20px;
  background: var(--paper); border: 1px dashed var(--rule-soft); border-radius: 10px;
  box-shadow: var(--pop-shadow, none); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.96); transform-origin: 0 100%;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.dock.open .pop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile {
  height: 80px; border-radius: 10px; padding: 10px; background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; white-space: nowrap; font-size: var(--tile-t, 16px); line-height: 1; text-transform: uppercase; color: var(--tile-ink); font-weight: var(--w-item);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.tile img { width: 34px; height: 34px; object-fit: contain; }
.tile.dark, .tile:hover { background: var(--dark); color: var(--tag-bg); }
.book {
  display: block; text-align: center; padding: 10px 20px; border-radius: 10px; background: var(--tag-bg); color: var(--tag-ink);
  font-size: 16px; line-height: 1; text-transform: uppercase; font-weight: var(--w-item);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.book:hover { background: var(--dark); color: var(--paper); }

/* ---------- contact ---------- */
.contact-sec { display: flex; flex-direction: column; gap: 40px; }
.contact-sec h1 { font-size: 24px; line-height: .8; color: var(--accent); }
.contact-sec h2 { font-size: 30px; line-height: .8; color: var(--accent); }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.place { background: var(--card); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.place img { width: 100%; height: 105px; object-fit: cover; border-radius: 6px; }
.place .body { padding: 10px; display: flex; flex-direction: column; gap: 16px; }
.place h3 { font-size: 18px; line-height: 1.2; color: var(--accent); font-weight: var(--w-item); }
.place p { display: flex; gap: 8px; font-size: 16px; line-height: 1.2; font-weight: var(--w-body); }
.place p svg { width: 18px; height: 18px; flex: none; color: var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 16px; line-height: 1.2; font-weight: var(--w-body); }
.field input, .field textarea {
  font: inherit; font-size: 16px; font-weight: var(--w-body); color: var(--ink); width: 100%;
  background: var(--card); border: 1px dashed var(--rule-soft); border-radius: 4px; padding: 6px 16px; height: 40px; outline: none;
  transition: border-color .2s var(--ease);
}
.field textarea { height: 150px; padding: 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.field input:focus, .field textarea:focus { border-color: var(--accent); border-style: solid; }
.submit {
  justify-self: start; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: #fff;
  font-size: 16px; line-height: 1; text-transform: uppercase; font-weight: var(--w-item); transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.submit:disabled { opacity: .5; cursor: default; }
.submit:not(:disabled):hover { background: var(--dark); }
.thanks { grid-column: 1 / -1; font-size: 18px; line-height: 1.3; font-weight: var(--w-body); }

/* ---------- legal ---------- */
.legal { display: flex; flex-direction: column; gap: 40px; }
.legal .page-title { font-size: 64px; }
.legal .date { margin-top: 20px; font-size: 16px; color: var(--ink-soft); font-weight: var(--w-body); }
.legal .date b { color: var(--ink); font-weight: inherit; }
.legal .copy { display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.2; color: var(--ink-soft); font-weight: var(--w-body); }
.legal .copy a { color: var(--ink); }

/* ---------- tablet 810-1199 ---------- */
@media (max-width: 1199.98px) {
  :root { --col: calc((100vw - 30px) / 2 + 5px); }
  .sec-head h2 { font-size: 26px; }
  .row { font-size: var(--item-t, 20px); }
  .tag { font-size: 12px; padding: 3px 6px; }
  .about h1, .page-title { font-size: 40px; }
  .legal .page-title { font-size: 44px; }
  .team { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
}

/* ---------- phone < 810: reel on top, column below (measured at 390) ---------- */
@media (max-width: 809.98px) {
  :root { --col: auto; --col-gap: 60px; --main-gap: 40px; }
  .reel { position: relative; top: auto; left: auto; bottom: auto; width: auto; margin: var(--gut) var(--gut) 0; aspect-ratio: 370 / 208; }
  .col { width: auto; margin: var(--gut) var(--gut) 76px; min-height: 0; } /* button parks on the frame at page end */
  .pause { right: 20px; bottom: 20px; width: 32px; height: 32px; }
  .pause svg { width: 13px; height: 13px; }
  .mast { gap: 10px; padding-bottom: 20px; }
  .mast-top { padding-bottom: 10px; font-size: 16px; }
  .badge { font-size: 12px; }
  .sec { gap: 12px; }
  .sec-head { gap: 6px; }
  .sec-head img { width: 20px; height: 20px; }
  .sec-head h2 { font-size: 24px; }
  .row { font-size: var(--item-m, 18px); }
  .row .name { gap: 12px; }
  .tag { font-size: var(--tag-m, 12px); padding: 3px 6px; }
  .about h1, .page-title { font-size: 34px; }
  .about .lede { max-width: none; font-size: 17px; }
  .about h2 { font-size: 20px; }
  .values li { font-size: 17px; }
  .legal .page-title { font-size: 38px; }
  .team { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .person { flex-direction: column; align-items: stretch; gap: 16px; }
  .person img { width: 100%; height: auto; aspect-ratio: 1; }
  .foot { gap: 10px; }
  .foot-top { padding-bottom: 10px; }
  .form { grid-template-columns: 1fr; }
  .dock { left: 20px; bottom: 20px; }
  .order { padding: 8px 16px; gap: 10px; font-size: 18px; }
  .plus { width: 24px; height: 24px; }
  .pop { padding: 10px; gap: 10px; }
  .tiles { gap: 10px; }
  .tile { height: 62px; padding: 6px; gap: 6px; }
  .tile img { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
