/* Modesto Casa de Café: website proposal by SIGILLVM.
   The two faces of the house: the cream paper of its menus, with their ornament and the brown of the
   logo, and the night of its photos, dark coffee lit as by candles. Oswald for the condensed capitals
   of the menus, EB Garamond for the reading, Pinyon Script for the names of the set menus. */
:root {
  --esp: #16100c;
  --esp-2: #1e1611;
  --esp-3: #2b2019;
  --esp-4: #3a2b21;
  --paper: #f3ede3;
  --paper-2: #ece4d7;
  --paper-3: #e2d7c6;
  --choco: #533728;
  --ink: #3a281e;
  --ink-2: #5e4a3e;
  --muted: #8b6a4f;
  --taupe: #b9ab9a;
  --line-p: rgba(83, 55, 40, 0.16);
  --dots: rgba(83, 55, 40, 0.34);
  --cream: #efe5d4;
  --cream-2: rgba(239, 229, 212, 0.76);
  --cream-3: rgba(239, 229, 212, 0.5);
  --line-d: rgba(239, 229, 212, 0.14);
  --caramel: #c99b62;
  --caramel-2: rgba(201, 155, 98, 0.5);
  --open: #94b07c;
  --closed: #c98a73;
  --gf: #56683d;
  --cond: "Oswald", "Arial Narrow", sans-serif;
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --pad: clamp(18px, 4vw, 56px);
  --hd-h: 72px;
  --bar-h: 0px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 20px); background: var(--esp); }
body {
  margin: 0; background: var(--esp); color: var(--ink);
  font: 400 19px/1.55 var(--serif); font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { fill: currentColor; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--caramel); color: var(--esp); }
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--pad), 1240px); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 90; padding: 10px 16px; background: var(--cream); color: var(--esp); }
.skip:focus { top: 12px; }

/* line icons (the 24-unit ones); the brand drawings are filled shapes */
svg[viewBox="0 0 24 24"] {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
svg[viewBox="0 0 24 24"] .fill { fill: currentColor; stroke: none; }

/* ---- Buttons and small type ------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 15px 24px 14px; border: 1px solid transparent; border-radius: 2px;
  font: 500 14px/1 var(--cond); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn--sm { padding: 11px 16px 10px; font-size: 13px; }
.btn--cream { background: var(--cream); color: var(--esp); }
.btn--cream:hover { background: #fff6e6; }
.btn--line { border-color: var(--cream-3); color: var(--cream); background: transparent; }
.btn--line:hover { border-color: var(--caramel); color: #fff6e6; }
.btn--choco { background: var(--choco); color: var(--paper); }
.btn--choco:hover { background: var(--ink); }
.btn--line-ink { border-color: rgba(83, 55, 40, 0.35); color: var(--choco); }
.btn--line-ink:hover { border-color: var(--choco); background: rgba(83, 55, 40, 0.06); }

.eyebrow { font: 400 13px/1.3 var(--cond); letter-spacing: 0.3em; text-transform: uppercase; color: var(--caramel); }
.sec--paper .eyebrow, .sec--paper2 .eyebrow, .rs .eyebrow { color: var(--muted); }

/* open or closed, now, in Mendoza's time */
.status { display: inline-flex; align-items: center; gap: 8px; font: italic 400 16px/1.3 var(--serif); color: var(--cream-2); }
.status::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cream-3); }
.status.is-open::before { background: var(--open); box-shadow: 0 0 0 3px rgba(148, 176, 124, 0.2); }
.status.is-closed::before { background: var(--closed); }
.status--sm { font-size: 15px; }

/* the ornament of the menus, painted in the color of where it sits */
.frieze {
  height: 64px; background: var(--taupe); opacity: 0.6;
  -webkit-mask: url("/assets/img/band.svg?v=1") 0 0 / auto 100% repeat-x;
  mask: url("/assets/img/band.svg?v=1") 0 0 / auto 100% repeat-x;
}
.frieze--paper { position: absolute; top: 0; left: 0; right: 0; }
.frieze--hero { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: var(--esp-4); opacity: 1; }
.frieze--dark { height: 48px; background: var(--esp-3); opacity: 1; }

/* ---- Header ----------------------------------------------------------------------------------- */

.hd {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hd-h); color: var(--cream);
  border-bottom: 1px solid transparent; transition: background 0.4s, border-color 0.4s;
}
.hd:not(.hd--over), .hd.is-scrolled, body.nav-open .hd {
  background: rgba(22, 16, 12, 0.92); border-bottom-color: var(--line-d);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hd__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.hd__brand { display: block; color: var(--cream); padding: 6px 0; }
.hd__word { width: auto; height: 24px; }
.nav { display: flex; gap: 26px; margin-left: auto; font: 400 14px/1 var(--cond); letter-spacing: 0.16em; text-transform: uppercase; }
.nav a { position: relative; padding: 6px 0; color: var(--cream-2); text-decoration: none; transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--caramel); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--cream); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hd__toggle { display: none; width: 44px; height: 44px; margin-left: auto; place-items: center; border: 1px solid var(--line-d); border-radius: 50%; background: none; color: var(--cream); cursor: pointer; }
@media (max-width: 1000px) {
  .nav, .hd__cta { display: none; }
  .hd__toggle { display: grid; }
}
.sheet {
  position: fixed; inset: var(--hd-h) 0 0; z-index: 39; overflow: auto;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px var(--pad) calc(30px + var(--bar-h)); background: var(--esp); color: var(--cream);
}
.sheet nav { display: grid; }
.sheet nav a { padding: 15px 0; border-bottom: 1px solid var(--line-d); font: 500 28px/1 var(--cond); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.sheet__foot { display: grid; gap: 18px; margin-top: 28px; }
.sheet__foot a:not(.btn) { display: flex; align-items: center; gap: 10px; color: var(--cream-2); text-decoration: none; font: 400 15px var(--cond); letter-spacing: 0.1em; }
body.nav-open { overflow: hidden; }

/* ---- Hero: the cover of the menu, by night ---------------------------------------------------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  padding: calc(var(--hd-h) + 28px) var(--pad) 104px; color: var(--cream); text-align: center;
  background:
    radial-gradient(ellipse 55% 48% at 50% 38%, rgba(201, 155, 98, 0.17), transparent 72%),
    radial-gradient(ellipse 110% 70% at 50% 108%, #2a1d14, transparent 62%),
    var(--esp);
}
.hero__in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 780px; }
/* the bust stays brown on a cream medallion, as on the house's Instagram */
.hero__cameo {
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  width: clamp(150px, 25vh, 250px); width: clamp(150px, 25svh, 250px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #f6eddd, #e6d8c2); color: var(--choco);
  box-shadow: 0 0 0 6px var(--esp), 0 0 0 7px var(--caramel-2), 0 24px 60px rgba(0, 0, 0, 0.5);
}
.hero__bust { width: 78%; height: auto; margin-bottom: -2%; }
.hero__title { margin-top: clamp(22px, 3.4vh, 34px); display: flex; flex-direction: column; align-items: center; font-weight: 400; }
.hero__word { width: min(620px, 80vw, calc(15vh * 4.03)); width: min(620px, 80vw, calc(15svh * 4.03)); height: auto; }
.hero__sub { margin-top: clamp(12px, 2vh, 18px); padding-left: 0.42em; font: 500 clamp(15px, 1.5vw, 21px)/1 var(--cond); letter-spacing: 0.42em; text-transform: uppercase; }
.hero__place { margin-top: 12px; padding-left: 0.5em; font: 400 12px/1 var(--cond); letter-spacing: 0.5em; text-transform: uppercase; color: var(--caramel); }
.hero__script { margin-top: clamp(14px, 2.4vh, 26px); font: 400 clamp(30px, 3.2vw, 44px)/1.15 var(--script); color: var(--caramel); }
.hero__lede { margin-top: 8px; max-width: 34em; font-size: clamp(17px, 1.35vw, 20px); color: var(--cream-2); }
.hero__cta { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* two of its photos, in arched frames, either side of the cover */
.hero__photo {
  position: absolute; z-index: 1; width: clamp(170px, 16vw, 260px); aspect-ratio: 4 / 5.3;
  border-radius: 999px 999px 3px 3px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  outline: 1px solid var(--caramel-2); outline-offset: 8px; will-change: transform;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--l { left: max(3vw, 24px); top: 21vh; top: 21svh; }
.hero__photo--r { right: max(3vw, 24px); bottom: 15vh; bottom: 15svh; }
@media (max-width: 1180px) { .hero__photo { display: none; } }
.js .hero__in > * { animation: rise 1.1s var(--ease) both; }
.js .hero__in > :nth-child(2) { animation-delay: 0.12s; }
.js .hero__in > :nth-child(3) { animation-delay: 0.22s; }
.js .hero__in > :nth-child(4) { animation-delay: 0.32s; }
.js .hero__in > :nth-child(5) { animation-delay: 0.4s; }
.js .hero__in > :nth-child(6) { animation-delay: 0.48s; }
.js .hero__photo { animation: fade 1.6s var(--ease) 0.3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }

/* today in the four houses */
.today { background: var(--esp-2); color: var(--cream); border-top: 1px solid var(--line-d); }
.today__in { display: flex; align-items: stretch; }
.today__k { display: flex; align-items: center; gap: 8px; padding: 18px 24px 18px 0; font: 400 13px var(--cond); letter-spacing: 0.24em; text-transform: uppercase; color: var(--caramel); }
.today__casa { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 15px 22px; border-left: 1px solid var(--line-d); text-decoration: none; transition: background 0.3s; }
.today__casa:hover { background: var(--esp-3); }
.today__name { font: 500 15px var(--cond); letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 900px) {
  .today__in { display: grid; grid-template-columns: 1fr 1fr; }
  .today__k { grid-column: 1 / -1; padding: 16px 0 4px; }
  .today__casa { padding: 12px 0; border-left: 0; border-top: 1px solid var(--line-d); }
  .today__casa:nth-of-type(even) { padding-left: 14px; border-left: 1px solid var(--line-d); }
}

/* ---- Sections --------------------------------------------------------------------------------- */

.sec { position: relative; padding: clamp(80px, 10vw, 136px) 0; }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--paper2 { background: var(--paper-2); color: var(--ink); }
.sec--ink { background: var(--esp); color: var(--cream); }
.sec--ink2 { background: var(--esp-2); color: var(--cream); }
.sec__hd { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec__hd--center { margin-inline: auto; text-align: center; }
.sec__title { margin-top: 14px; font: 500 clamp(36px, 4.8vw, 62px)/0.98 var(--cond); letter-spacing: 0.01em; text-transform: uppercase; color: var(--choco); }
.sec--ink .sec__title, .sec--ink2 .sec__title { color: var(--cream); }
.sec__lede { margin-top: 18px; max-width: 36em; font-size: 20px; color: var(--ink-2); }
.sec__hd--center .sec__lede { margin-inline: auto; }
.sec--ink .sec__lede, .sec--ink2 .sec__lede { color: var(--cream-2); }
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* the story of Modesto, as the menus tell it */
.story { padding-top: calc(64px + clamp(56px, 8vw, 104px)); }
.story__in { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.story__figure { display: flex; justify-content: center; color: var(--choco); }
.story__svg { width: auto; height: clamp(340px, 44vw, 580px); }
.story__title { margin-top: 12px; font: 400 clamp(42px, 5.2vw, 72px)/1.08 var(--script); color: var(--choco); }
.story__body { margin-top: 24px; display: grid; gap: 22px; }
.story__p {
  font-size: 21px; line-height: 1.55; letter-spacing: 0.07em; color: var(--ink-2);
  font-variant-caps: all-small-caps; font-variant-numeric: oldstyle-nums;
}
.story__p--lead { color: var(--ink); }
.story__end { margin-top: 18px; letter-spacing: 0.5em; color: var(--taupe); }
@media (max-width: 820px) {
  .story__in { grid-template-columns: minmax(0, 1fr); }
  .story__figure { order: 2; }
  .story__svg { height: 300px; }
}

/* a day at Modesto */
.moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.moment { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.moment__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--paper-3); }
.moment__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.moment:hover .moment__img img { transform: scale(1.04); }
.moment__img--cups { display: flex; color: var(--choco); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-p); }
.moment__cups { display: flex; align-items: flex-end; justify-content: center; gap: 5%; width: 100%; padding: 0 8% 20%; }
.moment__cups .cup { width: auto; height: calc(var(--h) * 1.05px); max-width: 30%; transition: transform 0.6s var(--ease); }
.moment:hover .moment__cups .cup:nth-child(2) { transform: translateY(-8px); }
.moment__when { margin-top: 18px; font: 400 12px var(--cond); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.moment__title { margin-top: 8px; font: 500 26px/1.1 var(--cond); text-transform: uppercase; color: var(--choco); }
.moment__text { margin-top: 10px; font-size: 18px; color: var(--ink-2); }
.moment__go { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--choco); }
.moment__go svg { transition: transform 0.3s; }
.moment:hover .moment__go svg { transform: translateX(4px); }
@media (max-width: 1100px) { .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 560px) { .moments { grid-template-columns: minmax(0, 1fr); } }

/* the coffee: the cups drawn on the menu, at their relative sizes */
.cafe__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cafe__text { position: sticky; top: calc(var(--hd-h) + 40px); }
.cafe__lede { margin-top: 20px; font-size: 23px; line-height: 1.4; color: var(--ink); }
.cafe__note { margin-top: 14px; font-style: italic; color: var(--ink-2); }
.cafe__tea { margin: 14px 0 28px; color: var(--ink-2); }
.cups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 18px; }
.cupcell { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--choco); }
.cupcell__fig { height: 130px; display: flex; align-items: flex-end; }
.cupcell .cup { width: auto; height: calc(var(--h) * 0.85px); transition: transform 0.5s var(--ease); transform-origin: 50% 100%; }
.cupcell:hover .cup { transform: translateY(-6px) rotate(-4deg); }
.cupcell__name { margin-top: 14px; font: 500 15px var(--cond); letter-spacing: 0.12em; text-transform: uppercase; }
.cupcell__size { font: 400 13px var(--cond); letter-spacing: 0.1em; color: var(--muted); }
.cupcell__mix { margin-top: 2px; font: italic 400 16px/1.3 var(--serif); color: var(--ink-2); }
@media (max-width: 900px) {
  .cafe__in { grid-template-columns: minmax(0, 1fr); }
  .cafe__text { position: static; }
}
@media (max-width: 560px) {
  .cups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 8px; }
  .cupcell__fig { height: 100px; }
  .cupcell .cup { height: calc(var(--h) * 0.64px); }
  .cupcell__mix { font-size: 14px; }
}

/* the set menus, in the double frame of the menu */
.setmenus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.setmenu {
  display: flex; flex-direction: column; align-items: center; padding: 40px 28px 28px; text-align: center;
  border: 1px solid var(--caramel-2); box-shadow: inset 0 0 0 5px var(--esp), inset 0 0 0 6px rgba(201, 155, 98, 0.3);
}
.setmenu__k { font: 400 12px var(--cond); letter-spacing: 0.34em; text-transform: uppercase; color: var(--caramel); padding-left: 0.34em; }
.setmenu__name { margin-top: 4px; font: 400 clamp(38px, 3.4vw, 48px)/1.1 var(--script); color: var(--cream); }
.setmenu__inc { flex: 1; margin-top: 14px; font-size: 18px; color: var(--cream-2); }
.setmenu__prices { width: 100%; margin-top: 22px; border-top: 1px dotted var(--line-d); }
.setmenu__prices li { display: flex; justify-content: space-between; padding: 9px 4px; border-bottom: 1px dotted var(--line-d); font: 400 14px var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-2); }
.setmenu__prices .price { font-weight: 500; letter-spacing: 0.06em; color: var(--cream); }
.extras { margin-top: 36px; display: grid; gap: 10px; text-align: center; font-size: 18px; color: var(--cream-2); }
.extras b { font: 500 14px var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); }
@media (max-width: 900px) { .setmenus { grid-template-columns: minmax(0, 1fr); } }

/* the night */
.noche__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.noche__lede { margin-top: 20px; font: italic 400 23px/1.45 var(--serif); color: var(--cream-2); }
.feats { margin: 30px 0 34px; }
.feat { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-d); }
.feat dt { font: 500 15px/1.5 var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--caramel); }
.feat dd { font-size: 18px; color: var(--cream-2); }
.noche__photos { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.np { overflow: hidden; border-radius: 2px; }
.np img { width: 100%; height: 100%; object-fit: cover; }
.np--a { grid-row: 1 / span 2; }
.np--b { aspect-ratio: 1; }
.np--c { aspect-ratio: 4 / 5; }
@media (max-width: 960px) {
  .noche__in { grid-template-columns: minmax(0, 1fr); }
  .feat { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* the four houses */
.casas { padding-top: calc(64px + clamp(56px, 8vw, 104px)); }
.casas__grid { display: grid; grid-template-columns: minmax(250px, 0.72fr) minmax(0, 2fr); gap: clamp(18px, 2.6vw, 36px); align-items: start; }
.casa-tabs { display: grid; gap: 10px; }
.casa-tab {
  display: grid; gap: 6px; padding: 18px 20px; text-align: left; cursor: pointer;
  border: 1px solid var(--line-p); border-radius: 2px; background: transparent; color: var(--ink);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.casa-tab:hover { border-color: rgba(83, 55, 40, 0.4); }
.casa-tab[aria-selected="true"] { background: var(--choco); border-color: var(--choco); color: var(--paper); }
.casa-tab__name { font: 500 21px/1 var(--cond); letter-spacing: 0.06em; text-transform: uppercase; }
.casa-tab__m { font-weight: 400; opacity: 0.62; }
.casa-tab__addr { font-size: 16px; line-height: 1.35; color: var(--ink-2); }
.casa-tab .status { color: var(--ink-2); }
.casa-tab[aria-selected="true"] .casa-tab__addr, .casa-tab[aria-selected="true"] .status { color: rgba(243, 237, 227, 0.8); }
.casa-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 1px solid var(--line-p); background: var(--paper-2); }
.casa-panel { padding: clamp(24px, 3vw, 36px); }
.js .casa-panel:not(.is-on) { display: none; }
.casa-panel__kicker { font: 500 13px var(--cond); letter-spacing: 0.3em; color: var(--muted); }
.casa-panel__addr { margin-top: 10px; font: 500 30px/1.05 var(--cond); text-transform: uppercase; color: var(--choco); }
.casa-panel__area { margin-top: 6px; color: var(--ink-2); }
.casa-panel__text { margin-top: 14px; font-size: 18px; }
.hours { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { padding: 8px 0; border-top: 1px dotted var(--dots); font-weight: 400; text-align: left; }
.hours td { text-align: right; font: 400 15px var(--cond); letter-spacing: 0.06em; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 500; color: var(--choco); }
.hours tr.is-today th::after { content: " · hoy"; font-style: italic; font-weight: 400; color: var(--muted); }
.casa-panel__cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.casa-map { position: relative; min-height: 420px; background: var(--paper-3); }
.casa-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(0.22) saturate(0.85); }
html:not(.js) .casa-map { display: none; }
@media (max-width: 1100px) {
  .casa-detail { grid-template-columns: minmax(0, 1fr); }
  .casa-map { min-height: 300px; }
}
@media (max-width: 820px) {
  .casas__grid { grid-template-columns: minmax(0, 1fr); }
  .casa-tabs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .casa-tab { padding: 14px; }
  .casa-tab__addr { display: none; }
  .casa-tab__m { display: none; }
}

/* gift cards and membership */
.gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); max-width: 980px; margin-inline: auto; }
.gift {
  display: flex; flex-direction: column; align-items: center; padding: clamp(30px, 4vw, 48px) clamp(22px, 3vw, 40px); text-align: center;
  border: 1px solid var(--caramel-2); box-shadow: inset 0 0 0 5px var(--esp), inset 0 0 0 6px rgba(201, 155, 98, 0.3);
}
.gift > svg { width: 40px; height: 40px; color: var(--caramel); }
.gift .gift__word { width: 132px; height: 40px; color: var(--caramel); }
.gift h3 { margin-top: 18px; font: 500 26px var(--cond); letter-spacing: 0.06em; text-transform: uppercase; }
.gift p { flex: 1; max-width: 28em; margin: 12px 0 26px; color: var(--cream-2); }
@media (max-width: 760px) { .gifts { grid-template-columns: minmax(0, 1fr); } }

/* the Instagram photos */
.gal__hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 19vw, 280px); grid-auto-flow: dense; gap: 12px; }
.g { overflow: hidden; border-radius: 2px; background: var(--paper-3); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; } }

/* ---- Footer, quick bar, booking ----------------------------------------------------------------- */

.ft { background: var(--esp); color: var(--cream-2); }
.ft__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 48px; padding: 60px 0 40px; }
.ft__lockup { width: 220px; height: auto; color: var(--cream); }
.ft__place { margin-top: 14px; font: 400 12px var(--cond); letter-spacing: 0.4em; text-transform: uppercase; color: var(--caramel); }
.ft__links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; font: 400 14px var(--cond); letter-spacing: 0.12em; text-transform: uppercase; }
.ft__links a, .ft__casa a { color: var(--cream-2); text-decoration: none; transition: color 0.3s; }
.ft__links a:hover, .ft__casa a:hover { color: var(--cream); }
.ft__casas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ft__casa h3 { font: 500 14px var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); }
.ft__casa p { margin-top: 8px; font-size: 16px; line-height: 1.45; }
.ft__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 30px; border-top: 1px solid var(--line-d); font-size: 15px; color: var(--cream-3); }
@media (max-width: 980px) {
  .ft__in { grid-template-columns: minmax(0, 1fr); }
  .ft__casas { grid-template-columns: 1fr 1fr; }
}

.bar { display: none; }
@media (max-width: 760px) {
  :root { --bar-h: 62px; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .bar {
    position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr);
    height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(22, 16, 12, 0.96); border-top: 1px solid var(--line-d); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--cream); text-decoration: none; font: 400 11px var(--cond); letter-spacing: 0.16em; text-transform: uppercase; }
  .bar a + a { border-left: 1px solid var(--line-d); }
}

.rs { width: min(560px, 100% - 24px); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 3px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); }
.rs::backdrop { background: rgba(10, 7, 5, 0.74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.rs__in { position: relative; padding: 34px clamp(20px, 4vw, 36px) 28px; }
.rs__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; color: var(--choco); cursor: pointer; }
.rs__title { margin-top: 8px; font: 400 clamp(34px, 6vw, 42px)/1.1 var(--script); color: var(--choco); }
.rs__lede { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.rs__list { margin-top: 20px; display: grid; gap: 10px; }
.rs__casa { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 14px 16px; border: 1px solid var(--line-p); border-radius: 2px; text-decoration: none; transition: border-color 0.3s, background 0.3s; }
.rs__casa:hover { border-color: var(--choco); background: var(--paper-2); }
.rs__name { font: 500 18px var(--cond); letter-spacing: 0.06em; text-transform: uppercase; color: var(--choco); }
.rs__addr { grid-column: 1; font-size: 15px; color: var(--ink-2); }
.rs__casa .status { grid-column: 1; color: var(--ink-2); }
.rs__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--cond); letter-spacing: 0.12em; text-transform: uppercase; color: var(--choco); }

.lb { max-width: 94vw; max-height: 92vh; padding: 0; border: 0; background: transparent; }
.lb::backdrop { background: rgba(10, 7, 5, 0.92); }
.lb img { width: auto; max-width: 94vw; max-height: 92vh; }
.lb__close { position: fixed; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--cream-3); border-radius: 50%; background: rgba(22, 16, 12, 0.6); color: var(--cream); cursor: pointer; }

/* ---- The menu of each house ------------------------------------------------------------------- */

.page-carta main, .page-carta-index main { background: var(--paper); }
.chero {
  position: relative; padding: calc(var(--hd-h) + clamp(40px, 6vw, 72px)) 0 calc(56px + clamp(36px, 5vw, 60px));
  color: var(--cream); text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 28%, rgba(201, 155, 98, 0.15), transparent 72%), var(--esp);
}
.chero__in { display: flex; flex-direction: column; align-items: center; }
.chero__title { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-weight: 400; }
.chero__word { width: min(420px, 74vw); height: auto; }
.chero__casa { padding-left: 0.32em; font: 500 clamp(18px, 2vw, 24px)/1 var(--cond); letter-spacing: 0.32em; }
.chero__addr { margin-top: 16px; color: var(--cream-2); }
.chero__status { margin-top: 6px; }
.chero__cta { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pills__k { margin-right: 6px; font: 400 12px var(--cond); letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-3); }
.pill { padding: 8px 16px 7px; border: 1px solid var(--line-d); border-radius: 999px; font: 400 13px var(--cond); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-2); text-decoration: none; transition: border-color 0.3s, color 0.3s, background 0.3s; }
.pill:hover { border-color: var(--caramel); color: var(--cream); }
.pill.is-on { background: var(--cream); border-color: var(--cream); color: var(--esp); }
.chero__big { margin-top: 14px; font: 500 clamp(60px, 9vw, 120px)/0.9 var(--cond); text-transform: uppercase; }
.chero__lede { margin-top: 16px; font-size: 20px; color: var(--cream-2); }
.chero--index { padding-bottom: clamp(56px, 7vw, 96px); }

/* the chooser: the four houses as on the last page of the menus */
.cchooser { width: 100%; margin-top: 46px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cc {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 18px 26px;
  border-radius: 2px; background: var(--paper); color: var(--choco); text-decoration: none;
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px rgba(83, 55, 40, 0.3); transition: transform 0.4s var(--ease);
}
.cc:hover { transform: translateY(-4px); }
.cc__arc { padding-left: 0.34em; font: 500 11px var(--cond); letter-spacing: 0.34em; text-transform: uppercase; }
.cc__word { width: 82%; height: auto; }
.cc__casa { padding-left: 0.3em; font: 500 17px var(--cond); letter-spacing: 0.3em; }
.cc__addr { font-size: 16px; line-height: 1.35; color: var(--ink-2); }
.cc .status { color: var(--ink-2); }
.cc__go { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--cond); letter-spacing: 0.14em; text-transform: uppercase; }
.cc__last { display: none; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 4px 10px 3px; border-radius: 999px; background: var(--caramel); color: var(--esp); font: 500 11px var(--cond); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.cc.is-last .cc__last { display: block; }
@media (max-width: 980px) { .cchooser { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cchooser { grid-template-columns: minmax(0, 1fr); } }

/* sections and search, held under the header */
.tools { position: sticky; top: var(--hd-h); z-index: 30; background: rgba(243, 237, 227, 0.95); border-bottom: 1px solid var(--line-p); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tools__in { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.tabs { flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 90%, transparent); mask: linear-gradient(90deg, #000 90%, transparent); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 9px 12px 8px; border-radius: 999px; font: 400 13px var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; transition: background 0.3s, color 0.3s; }
.tab:hover { color: var(--choco); }
.tab[aria-current="true"] { background: var(--choco); color: var(--paper); }
.tools__find { flex: none; display: flex; align-items: center; gap: 8px; }
.search { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-p); border-radius: 999px; background: #fbf6ee; color: var(--ink-2); }
.search input { width: 220px; border: 0; outline: 0; background: none; font: 400 17px var(--serif); color: var(--ink); }
.search:focus-within { border-color: var(--choco); }
.chip { padding: 9px 14px 8px; border: 1px solid var(--line-p); border-radius: 999px; background: transparent; font: 400 12px var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gf); cursor: pointer; transition: background 0.3s, color 0.3s; }
.chip[aria-pressed="true"] { background: var(--gf); border-color: var(--gf); color: var(--paper); }
@media (max-width: 860px) {
  .tools__in { flex-direction: column; align-items: stretch; gap: 8px; }
  .tools__find { order: -1; }
  .search { flex: 1; }
  .search input { width: 100%; }
}

.carta { padding-bottom: clamp(60px, 8vw, 100px); }
.carta-empty { margin-top: 40px; font-size: 20px; }
.carta-empty button { padding: 0; border: 0; background: none; color: var(--choco); text-decoration: underline; cursor: pointer; }
.carta__foot { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line-p); font-style: italic; color: var(--ink-2); }
.mgroup { padding-top: clamp(48px, 6vw, 76px); scroll-margin-top: calc(var(--hd-h) + 66px); }
.mgroup__hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding-bottom: 14px; border-bottom: 1px solid rgba(83, 55, 40, 0.3); }
.mgroup__title { font: 500 clamp(30px, 4vw, 44px)/1 var(--cond); letter-spacing: 0.02em; text-transform: uppercase; color: var(--choco); }
.mgroup__note { font-style: italic; color: var(--ink-2); }
.mgroup__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.msec { padding-top: 26px; scroll-margin-top: calc(var(--hd-h) + 66px); }
.msec--full, .mgroup--desayunos .msec, .mgroup--a-toda-hora .msec { grid-column: 1 / -1; }
.msec__title { display: flex; align-items: center; gap: 14px; font: 500 14px var(--cond); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.msec__title::after { content: ""; flex: 1; border-top: 1px dotted var(--dots); }
.msec__note { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.msec__note--i { font-style: italic; }
.items { margin-top: 6px; }
.mgroup--desayunos .items, .mgroup--a-toda-hora .items { columns: 2; column-gap: clamp(32px, 5vw, 72px); }
.it { display: flex; gap: 14px; padding: 12px 0; break-inside: avoid; }
.it__main { flex: 1; min-width: 0; }
.it__row { display: flex; align-items: baseline; gap: 10px; }
.it__name { font: 500 16px/1.3 var(--cond); letter-spacing: 0.06em; text-transform: uppercase; color: var(--choco); }
.it__name small { margin-left: 4px; font-size: 13px; font-weight: 400; letter-spacing: 0.08em; color: var(--muted); }
.it__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--dots); transform: translateY(-4px); }
.it__price { font: 500 16px var(--cond); letter-spacing: 0.04em; color: var(--choco); white-space: nowrap; }
.it__desc { margin-top: 3px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.it__cup { flex: none; width: 34px; height: 46px; color: var(--choco); }
.it--cup { align-items: center; }
.items--cafe .it:not(.it--cup) { padding-left: 48px; }
.tag { display: inline-block; margin: 6px 6px 0 0; padding: 2px 9px 1px; border: 1px solid rgba(86, 104, 61, 0.45); border-radius: 999px; font: 400 11px var(--cond); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gf); }
.variants { margin-top: 6px; }
.variants li { display: flex; align-items: baseline; gap: 10px; padding: 3px 0; font-size: 17px; color: var(--ink-2); }
.variants .it__price { font-size: 15px; }
@media (max-width: 820px) {
  .mgroup__body { grid-template-columns: minmax(0, 1fr); }
  .mgroup--desayunos .items, .mgroup--a-toda-hora .items { columns: 1; }
}

/* the set menus on the menu page, framed as on paper */
.frame { margin-top: 26px; padding: 34px 24px 26px; text-align: center; border: 1px solid rgba(83, 55, 40, 0.45); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px rgba(83, 55, 40, 0.3); }
.frame--day { max-width: 520px; margin-inline: auto; }
.setcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.it.setcard { display: block; padding: 0; }
.setcard__name { font: 400 clamp(32px, 3vw, 42px)/1.1 var(--script); color: var(--choco); }
.setcard__inc { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.setcard__price { margin-top: 10px; font: 500 18px var(--cond); letter-spacing: 0.04em; color: var(--choco); }
.setcard__when { margin-top: 4px; font: 500 13px var(--cond); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.setcard__k { margin-top: 14px; font: 400 12px var(--cond); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.frame__note { margin-top: 22px; font-style: italic; color: var(--ink-2); }

/* ---- Demo only: whose proposal it is ------------------------------------------------------------ */

.demo-tag {
  position: fixed; z-index: 60; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 0.7rem;
  max-width: calc(100vw - 32px); padding: 0.55rem 1rem; border: 1px solid var(--caramel-2); border-radius: 999px;
  background: rgba(22, 16, 12, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 400 10px/1.4 var(--cond); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-2); text-decoration: none;
}
.demo-tag b { font-weight: 500; color: var(--caramel); }
.demo-tag:hover { border-color: var(--caramel); }
@media (max-width: 760px) {
  .demo-tag {
    left: 0; right: 0; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); max-width: none;
    flex-wrap: wrap; justify-content: center; gap: 0 0.6rem; padding: 0.45rem 16px;
    border-width: 1px 0 0; border-radius: 0; font-size: 9px; letter-spacing: 0.14em; text-align: center;
  }
  body.has-demo-tag { padding-bottom: calc(var(--bar-h) + 28px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .hero__in > *, .js .hero__photo { animation: none; }
}

/* the privacy policy (/privacidad/): the title on the dark, the text in one column on the paper */
.chero__big--sm { font-size: clamp(40px, 6.4vw, 84px); line-height: 0.95; }
.legal { padding-top: clamp(44px, 6vw, 76px); }
.legal__in { max-width: 46rem; }
.legal__date { margin-bottom: clamp(30px, 4vw, 46px); font: 400 13px/1.3 var(--cond); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.legal__sec + .legal__sec { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line-p); }
.legal__sec h2 { margin-bottom: 12px; font: 500 clamp(25px, 2.6vw, 31px)/1.15 var(--serif); color: var(--ink); }
.legal__sec p { color: var(--ink-2); line-height: 1.65; }
.legal__sec p + p { margin-top: 10px; }
.legal__sec a { color: var(--choco); text-decoration: underline; text-decoration-color: var(--caramel); text-underline-offset: 3px; }
.ft__legal a { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line-d); color: var(--cream-2); }
.ft__legal a:hover { color: var(--cream); }
@media (max-width: 560px) { .ft__legal a { display: block; width: fit-content; margin: 6px 0 0; padding: 0; border: 0; } }
