/* ==========================================================================
   GRUPO GAUCHO — shared foundation
   The family language: white paper, black ink, one sans, one serif,
   hard edges, wide-tracked micro-type, photography doing the emotional work.
   Each venue then overrides accent, display voice and layout signature.
   ========================================================================== */

:root {
  --paper:      #ffffff;
  --paper-2:    #f5f3f0;   /* warm off-white — keeps the white from going clinical */
  --paper-3:    #ebe7e2;
  --ink:        #101010;
  --ink-2:      #3d3d3d;
  --ink-3:      #6f6f6f;
  --ink-4:      #a3a3a3;
  --line:       rgba(16, 16, 16, .13);
  --line-2:     rgba(16, 16, 16, .28);

  /* venues override these three */
  --accent:     #101010;
  --accent-ink: #101010;   /* accent, darkened enough for small text on white */
  --accent-wash:#f5f3f0;

  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Times, serif;

  --gutter: 20px;
  --maxw: 1600px;
  --measure: 62ch;

  --nav-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (min-width: 760px)  { :root { --gutter: 40px; --nav-h: 84px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; } }

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

/* --- layout ------------------------------------------------------------ */
.wrap      { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--nar { max-width: 1120px; }
.bleed     { width: 100%; }
.section   { padding-block: clamp(64px, 9vw, 140px); }
.section--tight { padding-block: clamp(44px, 6vw, 88px); }
.section--flush-top { padding-top: 0; }
.section--flush-bot { padding-bottom: 0; }
.section--paper2 { background: var(--paper-2); }

.grid { display: grid; gap: var(--gutter); }
@media (min-width: 860px) {
  .grid--2   { grid-template-columns: repeat(2, 1fr); }
  .grid--3   { grid-template-columns: repeat(3, 1fr); }
  .grid--12  { grid-template-columns: repeat(12, 1fr); }
}

/* --- type -------------------------------------------------------------- */
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: .9em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.eyebrow--accent { color: var(--accent-ink); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.d1 { font-size: clamp(44px, 8.4vw, 124px); }
.d2 { font-size: clamp(34px, 5.4vw, 76px); }
.d3 { font-size: clamp(27px, 3.4vw, 46px); }

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
  text-wrap: pretty;
}
.body  { color: var(--ink-2); max-width: var(--measure); text-wrap: pretty; }
.body + .body { margin-top: 1.1em; }
.small { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }

.caps {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 500;
}
.num {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  color: var(--accent);
}

/* labelled fact list — shared across the group and all three venues */
.entry__facts { margin-top: 26px; display: grid; gap: 0; }
.entry__facts li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.entry__facts b { flex: none; width: 92px; font-weight: 500; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-4); padding-top: 3px; }
.entry__facts span { color: var(--ink-2); }

/* --- rules ------------------------------------------------------------- */
.rule      { height: 1px; background: var(--line); border: 0; }
.rule--ink { background: var(--line-2); }
.rule--accent { height: 2px; background: var(--accent); }

/* --- buttons ----------------------------------------------------------- */
.btn {
  --btn-fg: var(--ink);
  --btn-bg: transparent;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .8em;
  padding: 15px 26px;
  border: 1px solid var(--btn-bd);
  color: var(--btn-fg);
  background: var(--btn-bg);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--solid { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--solid:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: #fff; }
.btn--accent { --btn-bd: var(--accent); --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--accent:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--light { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--bare { border: 0; padding-inline: 0; }
.btn--bare::after { content: "→"; letter-spacing: 0; transition: transform .35s var(--ease); }
.btn--bare:hover { --btn-bg: transparent; --btn-fg: var(--accent-ink); }
.btn--bare:hover::after { transform: translateX(5px); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- media ------------------------------------------------------------- */
.media { position: relative; overflow: hidden; background: var(--paper-3); }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media--fill { position: absolute; inset: 0; }
.r-32 { aspect-ratio: 3/2; }
.r-43 { aspect-ratio: 4/3; }
.r-11 { aspect-ratio: 1/1; }
.r-45 { aspect-ratio: 4/5; }
.r-23 { aspect-ratio: 2/3; }
.r-916{ aspect-ratio: 9/16; }
.r-21 { aspect-ratio: 2/1; }

.shade::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.05) 38%, rgba(0,0,0,.62) 100%);
  pointer-events: none;
}
.shade--soft::after {
  background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.42) 100%);
}

figcaption {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* --- navigation -------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav__in {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__brand img { width: auto; }
.nav__mark { height: 22px; }
@media (min-width: 760px) { .nav__mark { height: 26px; } }
.nav__links { display: none; gap: clamp(18px, 2.2vw, 34px); align-items: center; }
@media (min-width: 1000px) { .nav__links { display: flex; } }
.nav__links a {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10.5px;
  font-weight: 500;
  padding-block: 6px;
  position: relative;
  opacity: .88;
  transition: opacity .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor; transition: right .4s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current]::after { right: 0; }
.nav__end { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__cta {
  border: 1px solid currentColor;
  padding: 10px 20px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10.5px;
  font-weight: 500;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav__cta:hover { background: currentColor; }
.nav__cta:hover span { color: var(--paper); }
.nav__burger { display: grid; gap: 5px; padding: 10px; margin-right: -10px; }
@media (min-width: 1000px) { .nav__burger { display: none; } }
.nav__burger i { display: block; width: 22px; height: 1.5px; background: currentColor; }

/* solid state once scrolled, or on pages that never have a dark hero */
.nav.is-solid, .nav--solid {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-solid .nav__mark--light, .nav--solid .nav__mark--light { display: none; }
.nav__mark--dark { display: none; }
.nav.is-solid .nav__mark--dark, .nav--solid .nav__mark--dark { display: block; }

/* mobile drawer */
.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--paper); color: var(--ink);
  padding: var(--gutter);
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
  overflow-y: auto;
}
.menu.is-open { transform: none; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--nav-h) - var(--gutter)); }
.menu__close { font-size: 26px; line-height: 1; padding: 8px; margin-right: -8px; }
.menu__links { margin-top: auto; margin-bottom: auto; display: grid; gap: 4px; }
.menu__links a {
  font-family: var(--serif);
  font-size: clamp(32px, 9vw, 54px);
  line-height: 1.12;
}
.menu__foot { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); }

/* --- reservation drawer ------------------------------------------------ */
.rez-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(12, 12, 12, .55);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.rez-backdrop.is-open { opacity: 1; pointer-events: auto; }
.rez {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 81;
  width: min(480px, 100%);
  background: var(--paper);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex; flex-direction: column;
}
.rez.is-open { transform: none; }
.rez__head {
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.rez__body { flex: 1; overflow-y: auto; padding: 0; }
.rez__body iframe { width: 100%; height: 100%; min-height: 640px; border: 0; }
.rez__foot { padding: 18px var(--gutter); border-top: 1px solid var(--line); display: grid; gap: 8px; }
.rez__pick { display: grid; }
.rez__pick a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 24px var(--gutter);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.rez__pick a:hover { background: var(--paper-2); }
.rez__pick strong { font-family: var(--serif); font-weight: 400; font-size: 26px; }

/* --- footer ------------------------------------------------------------ */
.foot { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(48px, 6vw, 88px) 34px; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gutter); } }
.foot h4 { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px; font-weight: 500; }
.foot li + li { margin-top: 9px; }
.foot__bar {
  margin-top: clamp(40px, 5vw, 72px); padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45);
}
.foot__mark img { height: 34px; width: auto; }

/* --- motion ------------------------------------------------------------ */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
.rise[data-d="1"] { transition-delay: .09s; }
.rise[data-d="2"] { transition-delay: .18s; }
.rise[data-d="3"] { transition-delay: .27s; }
.rise[data-d="4"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- utility ----------------------------------------------------------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 44px; } .mt-xl { margin-top: clamp(48px,6vw,88px); }
.stack > * + * { margin-top: 18px; }
.flow > * + * { margin-top: 28px; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }
