/* =====================================================================
   Homepage gateway -- "tre colonne affiancate" revision (2026-10-22).
   Same color tokens/typography as the previously approved full-width
   stacked-door version, but the three doors are now equal-width cards in
   a single row on desktop: photo on top (uniform aspect-ratio across all
   three), title + short description below. Each card is its own link to
   its dedicated page (/shop/, /private-dining/, /business/) -- forms still
   live only on those pages, never on the gateway itself. ===================================================== */
:root {
  --cream-bg: #E7E0D3;
  --cream-panel: #F8F2E6;
  --tan-panel: #EFE5D2;
  --ink: #2C2422;
  --dark-panel: #2C2422;
  --dark-text: #E9DECB;
  --maroon: #6B1F2A;
  --maroon-dark: #4A141C;
  --maroon-hover: #8A2A38;
  --rust: #A8483C;
  --border-tan: #DDD2BE;
  --border-tan2: #C7A98C;
  --border-cream: #E4D9C4;
  --muted: #6F6557;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream-bg); color: var(--ink); font-family: 'Lato', sans-serif; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Libre Baskerville', Georgia, serif; font-weight: 400; margin: 0; text-wrap: balance; }
a { color: inherit; }
.side-margin { padding-inline: 20px; }
.wrap { max-width: 1040px; margin: 0 auto; }

/* ---- shared header -- logo well visible, centered ---- */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px;
  padding-block: 32px 20px; padding-inline: 20px; text-align: center;
}
/* Logo asset is cropped tight to the visible oval (no transparent margin),
   so width alone sets the visible size -- height: auto keeps the real
   aspect ratio and avoids reserving empty vertical space, which is what
   keeps the mobile header compact even though the oval is bigger here
   (approved sizing: 240px desktop, ~154-161px smartphone). */
.site-header img { width: clamp(154px, 43vw, 240px); height: auto; }
.site-header .name { font-family: 'Libre Baskerville', Georgia, serif; font-size: 26px; }
.site-header .tag { font-size: 13px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

.doors-nav {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  padding-block: 4px 30px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
}
.doors-nav a { text-decoration: none; color: var(--muted); border-bottom: 1px solid transparent; padding-bottom: 3px; }
.doors-nav a:hover { color: var(--maroon); border-color: var(--maroon); }
.doors-nav a[aria-current="page"] { color: var(--maroon); font-weight: 700; border-color: var(--maroon); }

/* ---- Homepage v2 (2026-11-01) -- replaces the old two-column photo hero.
   No photo at all here: just the title and the perks line, centered, right
   above the 4-tile grid. Requested by Cristian: the big photo is gone, the
   Shop tile below is the only "go to Shop" entry point now. ---- */
.hero-home-v2 {
  max-width: 760px; margin: 0 auto; padding: 4px 20px 30px; text-align: center;
}
.hero-home-v2 h1 { font-size: clamp(24px, 3.1vw, 36px); line-height: 1.18; }
.hero-home-v2 .hero-home-perks { font-size: 13px; color: var(--muted); margin: 12px 0 0; letter-spacing: 0.01em; }
/* Each perk stays on one line -- a narrow screen can only wrap between two
   perks (at the middot), never inside one. */
.hero-home-v2 .hero-home-perks .perk { white-space: nowrap; }

.eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--maroon); font-weight: 700; margin-bottom: 8px; }
.lead { font-size: 15px; line-height: 1.5; color: var(--ink); }
.btn {
  display: inline-block; text-decoration: none; font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: 0.02em; padding: 12px 24px; border-radius: 10px; cursor: pointer; border: none;
  white-space: nowrap; /* label + arrow always stay on one line */
}
.btn-maroon { background: var(--maroon); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--dark-text); border: 1px solid var(--dark-text); }
.btn-outline-business { background: transparent; color: var(--maroon); border: 1px solid var(--maroon); }

/* ---- 4 equal tiles: Shop, Private Dining, Business, Books -- homepage v2.
   .doors-grid-4 only ever has 4 or 2 columns, never 1: Cristian asked for
   "2 tiles on top, 2 below" on mobile, not a single stacked column. ---- */
.doors-grid {
  padding-block: 0 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch;
}
.doors-grid-4 { grid-template-columns: repeat(4, 1fr); }
.door-card {
  display: flex; flex-direction: column; text-decoration: none;
  border-radius: 16px; overflow: hidden; box-shadow: 0 12px 28px -20px rgba(44,36,34,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.door-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -20px rgba(44,36,34,0.4); }
.door-card-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--border-tan); }
.door-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.door-card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 18px 20px; }
.door-card-body h2 { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.18; margin-top: 1px; }
.door-card-body .lead { font-size: 13.5px; margin-block: 6px 12px; }
.door-card-body .btn { margin-top: auto; padding: 10px 18px; font-size: 13px; }

.door-card-shop { background: var(--cream-panel); border: 1px solid var(--border-tan); }
.door-card-dining { background: var(--dark-panel); color: var(--dark-text); }
.door-card-dining .eyebrow { color: #D7A9A0; }
.door-card-dining h2 { color: #fff; }
.door-card-dining .byline { font-family: 'Libre Baskerville', Georgia, serif; font-style: italic; font-size: 13px; color: #D7A9A0; margin-top: 2px; }
.door-card-dining .lead { color: var(--dark-text); }
.door-card-business { background: var(--tan-panel); border: 1px solid var(--border-tan); }
.door-card-books { background: var(--tan-panel); border: 1px solid var(--border-tan); }

footer { padding: 26px 20px 40px; text-align: center; font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .doors-grid { grid-template-columns: repeat(2, 1fr); }
  .doors-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 760px) {
  .doors-grid { grid-template-columns: 1fr; gap: 16px; padding-block: 0 36px; }
  /* Re-asserted here (not just inherited from the 900px block above): the
     .doors-grid 1-column rule right above this one has equal specificity
     and would otherwise win by source order on an element carrying both
     classes -- stays 2x2 down to the smallest phone widths, per Cristian's
     request, never collapsing to 1 column like the old 3-card grid does. */
  .doors-grid-4 { grid-template-columns: repeat(2, 1fr); padding-block: 0 36px; }
}

/* ---- Mobile: header, nav and the v2 hero (now just text) tightened up
   together, same spirit as the Blocco 2 budget but with no photo to size. ---- */
@media (max-width: 760px) {
  .site-header { padding-block: 16px 8px; gap: 10px; }
  .site-header img { width: clamp(84px, 26vw, 120px); }
  .site-header .name { font-size: 19px; }
  .site-header .tag { font-size: 10.5px; }

  .doors-nav { gap: 12px 16px; padding-block: 0 14px; font-size: 11px; }

  .hero-home-v2 { padding: 2px 20px 22px; }
  .hero-home-v2 h1 { font-size: clamp(20px, 6vw, 25px); line-height: 1.16; }
  .hero-home-v2 .hero-home-perks { font-size: 11.5px; margin-top: 8px; }

  .doors-grid-4 { gap: 12px; }
  .door-card-body { padding: 12px 12px 16px; }
  .door-card-body .lead { font-size: 12.5px; margin-block: 4px 10px; }
  .door-card-body .btn { font-size: 11px; padding: 8px 12px; letter-spacing: 0.01em; }
}
