@font-face { font-family: "Arimo"; src: url("../fonts/arimo-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }   /* Ryan 11-04: Arimo (OFL) back for the holiday line */
/* Django look check 11-04 12:45: "Book your holiday parties" is one slim full-width strip above the header at every width
   (replaces the header pill and the 1024-1279 bar). 36px visible; the link's ::after reaches 48px, extending into the header's top padding. */
.tm-holiday { grid-column: 1 / -1; width: 100%; max-width: none; box-sizing: border-box; position: relative; z-index: 5; margin: 0; height: 36px; background: #1a1714; text-align: center; }
.tm-holiday a { position: relative; display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 1rem; font-family: "Arimo", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f4efe4; text-decoration: none; }
p.tm-holiday a:not(:hover):not(:focus-visible) { text-decoration: none; }
.tm-holiday a::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 48px; }
.tm-holiday a:hover, .tm-holiday a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }
.tm-holiday a:focus-visible { outline: 2px solid #f4efe4; outline-offset: -4px; }
.tm-cta { display: inline-grid; grid-template-columns: auto; gap: 14px; max-width: 100%; }
.hero .tm-cta .tm-cabin { display: block; width: 0 !important; min-width: 100%; max-width: none; height: auto; margin: 0 !important; left: 0 !important; }   /* Ryan 11-04: cabin spans both pills */
@media (max-width: 63.99rem) { .hero .tm-cta .tm-cabin { order: 2; } }   /* phone/tablet: cabin stays under the pills so they keep the first screen */
@media (max-width: 39.99rem) { .hero--pair .hero-media.hero-pair img { height: 200px; object-fit: cover; } }

@media screen and (min-width: 64rem) and (max-height: 860px) {   /* short laptop screens (1024x768, 1366x768, 1280x800): smaller wordmark keeps the pills above the fold */
  .hero .hero-wordmark { max-width: 280px; }
  .hero .hero-wordmark img { width: 100%; height: auto; }
}   /* 1024-1279: header has no room; the bar under the header shows instead */
.tm-guest { margin-top: 0.5rem; }
.tm-guest .frame { margin: 0; width: 100%; max-width: 24rem; }
.tm-guest img { display: block; width: 100%; height: auto; }
.strip li:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* phone/tablet: the 5th strip tile spans both columns, cropped wide */
.strip li:last-child:nth-child(odd) .frame, .strip li:last-child:nth-child(odd) img { aspect-ratio: 2 / 1; object-fit: cover; width: 100%; height: auto; }
@media screen and (min-width: 64rem) {
  .tm-guest .frame { max-width: none; width: var(--tm-guest-w, 382px); }
  .strip { grid-template-columns: repeat(5, 1fr) !important; }
  .strip li:last-child:nth-child(odd) { grid-column: auto; }
  .strip li:last-child:nth-child(odd) .frame, .strip li:last-child:nth-child(odd) img { aspect-ratio: auto; }
}
@media screen and (min-width: 64rem) {
  .site-header .wrap > nav, .site-header nav { order: 2; }
  .tm-cta { gap: 8px; }
  .tm-cta .actions { margin-top: 0; }
  .hero--pair { padding-top: 0.5rem; }
}
/* layout.css: TYGR Mart layout pass (2026-10-21). Framing from Howard's doors PDF (TM-1 split panel, TM-2 captioned
   framed photo, food/drink strip); colors are this door's own tokens, fonts are the locked pair. Nothing here glows. */
.nav-extra { display: none; }
@media (min-width: 40rem) { .nav-extra { display: list-item; } }
/* Hours (2026-10-21, Caelan): desktop shows hours inside Visit/Contact; phones and tablets keep the #hours section. */
.visit-hours, .nav-desk { display: none; }
.hours-fact { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
@media (min-width: 64rem) {
  #hours, .nav-phone { display: none; }
  .visit-hours { display: block; }
  .nav-desk { display: list-item; }
  #visit .grid--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Phone visitors (≤639px): the same Directions and tel anchors as Visit, placed under Hours.
   Hidden on tablet and desktop, where Visit keeps them. On phones the Visit copies are hidden
   so that section does not repeat them; the footer keeps its own. */
.tm-phone-first { display: none; }
@media (max-width: 39.99rem) {
  .tm-phone-first { display: block; padding-top: var(--space-2); padding-bottom: var(--space-6); border-bottom: var(--border-width) solid var(--color-line); }
  .tm-phone-first .fact { margin-bottom: 0; }
  .tm-phone-first .fact + .fact { margin-top: var(--space-1); }
  .tm-phone-first a { display: inline-flex; align-items: center; min-height: 48px; }
  #hours { border-bottom: 0; padding-bottom: 0; }
  #visit .tm-directions, #visit .tm-phone { display: none; }
  main { display: flex; flex-direction: column; reading-flow: flex-visual; }
  main > * { width: 100%; max-width: 100%; min-width: 0; }
  #hours { order: 1; }
  .tm-phone-first { order: 2; }
  #menu { order: 3; }
  #events { order: 4; }
  #rooms { order: 5; }
  .hero { order: 6; }
  #visit { order: 7; }
}
.hero-eyebrow { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin: 0 0 var(--space-4); }
.hero-eyebrow span[aria-hidden] { opacity: 0.5; }
/* Hero description (2026-11-12): one headline-weight statement and one smaller line.
   Kitchen / Bar / Goods is gone; the statement already says kitchen, bar, and market.
   Phones center with the wordmark. Desktop stays left-aligned in the text column. */
.hero--pair .hero-place { margin: 0 0 var(--space-4); }
.hero--pair .tagline {
  margin: 0 0 var(--space-5);
  max-width: 20.5rem;
  font-size: 1rem;
  text-wrap: pretty;
}
.hero--pair .tagline__lead,
.hero--pair .tagline__sub {
  display: block;
  font-family: var(--font-heading);
  font-style: normal;
  font-synthesis: none;
  text-transform: none;
  letter-spacing: 0;
}
.hero--pair .tagline__lead {
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--color-fg);
  text-wrap: balance;
}
.hero--pair .tagline__sub {
  margin-top: var(--space-2);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--color-muted);
}
@media (max-width: 63.99rem) {
  .hero--pair .wrap > div:not(.hero-media) { text-align: center; }
  .hero--pair .tagline,
  .hero--pair .hero-place { margin-inline: auto; }
  /* Buttons already carry margin-top; don't stack a second gap under the lines. */
  .hero--pair .tagline { margin-bottom: 0; }
}
@media (min-width: 64rem) {
  .hero--pair .tagline { max-width: 100%; margin-bottom: var(--space-5); }
  .hero--pair .tagline__lead { font-size: clamp(1.45rem, 1.1rem + 0.7vw, 1.7rem); }
  .hero--pair .tagline__sub { font-size: 1.0625rem; }
}
.frame { margin: 0; }
.frame img { width: 100%; height: auto; border-radius: 0; background: var(--color-surface); }

/* TM-1: two rooms, side by side */
.rooms-head { text-align: center; max-width: 44rem; margin: 0 auto var(--space-6); }
.rooms-head h2 { /* t959u: one-line Kitchen | Bar | Market — fluid size (not giant nowrap); TYGR rooms-head only */
  font-size: clamp(1.05rem, 0.55rem + 3.4vw, 3.75rem);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
  white-space: nowrap;
  text-wrap: nowrap;
  max-width: 100%;
  overflow-x: visible;
}
.rooms-head p { margin: 0 auto; color: var(--color-muted); }
.rooms { display: grid; grid-template-columns: 1fr; border: var(--border-width) solid var(--color-line); }
.room { padding: var(--space-6) var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.room h3 { font-size: var(--step-3); line-height: var(--leading-tight); margin: 0; }
.room p { margin: 0; }
.room .frame { margin-top: auto; padding-top: var(--space-3); }
/* Market: two portraits side by side, square corners, small gap. Each is capped at 451px (the cooler's 902px native width at 2x).
   Phones: the pair runs 12px into the panel padding so each photo stays >= 160px at 390; if the pair is narrower than
   328px (each < 160px), it stacks. */
.pair { margin-top: auto; padding-top: var(--space-3); container-type: inline-size; }
/* Panel v2 (2026-10-21): each pair keeps the photos' native ratios with matched heights (flex-grow = --ar = w/h). A pair stacks
   when the narrower photo would be under 150px: Market under 318px of pair width, Kitchen under 496px. Text is centered over it. */
.pair__grid { display: flex; gap: var(--space-2); align-items: flex-start; }
.pair__grid > .frame { flex: var(--ar) 1 0; min-width: 0; }
.room .pair .frame { margin: 0; padding: 0; }
@container (max-width: 317.98px) { .pair--market .pair__grid { flex-direction: column; } .pair--market .pair__grid > .frame { flex: none; width: 100%; } }
@container (max-width: 495.98px) { .pair--cabin .pair__grid { flex-direction: column; } .pair--cabin .pair__grid > .frame { flex: none; width: 100%; } }
.room { text-align: center; align-items: center; }
.room > p { margin-inline: auto; }
.room .pair { align-self: stretch; }
@media (max-width: 39.99rem) { .pair { margin-inline: calc(-1 * var(--space-3)); } }
.room--market { background: none; }
.room--cabin { background: none; color: inherit; }
.room--cabin h3 { color: var(--color-accent); }
.room--cabin .label { color: var(--color-muted); }

/* Food and drink strip */
.strip-wrap { margin-top: var(--space-6); }
/* t963u fix: true section centering
   Overrides that beat the first text-align-only attempt:
   1) site.css @40rem .grid--2 { 1fr 1fr } — #menu has THREE direct children (h2, p.fact, p.fact),
      no wrapper div; heading+first link pack into left|right tracks → visual center ~left half.
   2) layout.css @64rem .strip { width:min(100cqw,1920px); margin-inline:calc((100%-…)/2) }
      — cqw full-bleed / negative-margin breakout out of .wrap gutters (left edge → 0).
   3) layout.css @64rem .strip { grid-template-columns: repeat(5, 1fr) !important }
      — with only 4 tiles, empty 5th track left-biases the group (center ~0.4×strip). */
#menu .grid--2 {
  grid-template-columns: minmax(0, 1fr); /* beat .grid--2 1fr 1fr; stack h2+facts full wrap width */
  justify-items: center;
  text-align: center;
}
#menu .grid--2 > * {
  text-align: center;
  width: 100%;
  max-width: 40rem;
}
#menu .strip-wrap {
  text-align: center;
}
#menu .strip-wrap > .label {
  text-align: center;
  margin-inline: auto;
}
@media (min-width: 64rem) {
  #menu .strip {
    width: 100%;
    max-width: 100%;
    margin-inline: 0; /* cancel cqw full-bleed breakout; stay in .wrap content column */
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* beat repeat(5) !important; 4 tiles balanced */
    gap: var(--space-4);
  }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  #menu .strip {
    width: 100%;
    margin-inline: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* cabin v3 (Caelan 2026-10-25): moved from under the food strip into the hero's left column, directly under Order online, at
   95% of its v2 rendered size, never wider than the TYGR MART wordmark (16rem below 64rem, the 400px column from 64rem).
   v2 sizes were 61.74% of the column (phones), 39.69% of the 90vw wrap (40rem+), cap 370.4px. x0.95:
   phones 58.65% of the column; 40-64rem 35.72vw x0.95 = 33.94vw; cap 351.9px. Gap above = intro -> button gap (--space-5).
   Centred on the column (margin auto): on phones the wordmark is centred; from 64rem the column is exactly the wordmark's width,
   so the column centre is the wordmark's centre axis. Vector SVG, so it stays sharp at any size. */
.hero .tm-cabin { display: block; width: min(58.65%, 16rem); height: auto; aspect-ratio: 205.008 / 60.874; margin: var(--space-5) auto 0; }
@media (min-width: 40rem) { .hero .tm-cabin { width: min(33.94vw, 16rem, 100%); } }
@media (min-width: 64rem) { .hero .tm-cabin { width: min(33.94vw, 351.9px, 100%); } }
/* cabin v4 (Caelan 2026-10-25 "more centered under the TYGR Mart section and a little bit lower"): same sizes as v3.
   Centre: the TYGR line's ink spans the whole wordmark image, but the MART line's ink box sits right of it (394-853 of 1200 px,
   centre 51.958% of the wordmark width), so v3, centred on the wordmark, read 5px (phones, 16rem wordmark) to 7.8px (desktop,
   400px wordmark) left of MART. The cabin's ink box is its whole SVG box (ink centroid 0.18% left of it, <1px), so it is
   shifted right by 1.958% of the wordmark width: 16rem x 1.958% below 64rem; from 64rem the column IS the wordmark width,
   so left: 1.958% of the column. Gap below Order online: 24px -> 40px below 64rem (+16), 48px from 64rem (+24), except desktop windows under 790px tall
   (1024x768) keep 40px (+16) so the cabin stays above the fold there (48px would put its bottom 4.6px below 768). */
.hero .tm-cabin { position: relative; left: calc(16rem * 0.01958); margin-top: 40px; }
@media (min-width: 64rem) { .hero .tm-cabin { left: 1.958%; } }
@media (min-width: 64rem) and (min-height: 790px) { .hero .tm-cabin { margin-top: 48px; } }
.strip { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }

/* TM-2: framed photo with a caption tab over its lower-left corner */
.events .wrap { display: grid; gap: var(--space-6); align-items: center; }
.frame--tab { position: relative; }
/* v3 (2026-10-21): photo pair above the copy: 005 (16:9) + 017 (2:3) at matched heights (flex-grow 8:3 = 1.778 : 0.667), 8px gap,
   square edges. Stacks if the pair is under 600px wide (017 would be under 160px). Below 56rem the copy stacks under the pair;
   from 56rem the copy splits into heading | text. */
.ev-pair { container-type: inline-size; }
.ev-pair__row { display: flex; gap: var(--space-2); align-items: flex-start; }
.ev-pair__row > .frame { min-width: 0; flex: 8 1 0; }
.ev-pair__row > .frame--tall { flex: 3 1 0; }
@container (max-width: 599.98px) { .ev-pair__row { flex-direction: column; } .ev-pair__row > .frame, .ev-pair__row > .frame--tall { flex: none; width: 100%; } }
/* Phone only (Django look 2026-11-03): portrait walk-up window was ~540px tall at 390 and pushed
   BOOK YOUR NEXT EVENT down. Cap at 4:5 with a high crop so hat + counter stay in frame. Desktop unchanged. */
@media (max-width: 63.99rem) {
  .ev-pair__row > .frame--tall img {
    aspect-ratio: 4 / 5;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 50% 30%;
  }
}
.ev-copy h2 { margin-top: 0; }
.frame--tab figcaption { position: absolute; left: 0; bottom: 0; max-width: calc(100% - var(--space-6)); background: var(--color-page, var(--color-bg)); color: var(--color-fg); padding: var(--space-2) var(--space-4); font-size: var(--step--1); font-weight: var(--label-weight); line-height: var(--leading-snug); }
/* Events type + gutter (Caelan 2026-11-03): own clamp so the heading stays cozy under the photo frame
   (not the desktop --step-4 which ran 60–80px). Arrow scales with --ev-h. */
.events { --ev-h: clamp(1.75rem, 1.05rem + 2vw, 2.75rem); }
.events h2 { font-size: var(--ev-h); line-height: var(--leading-tight); }
.ev-copy > div:not(.ev-head) { font-size: clamp(0.875rem, 0.82rem + 0.25vw, 1.0625rem); }
.ev-copy > div:not(.ev-head) > p { text-wrap: pretty; }
@media (max-width: 40rem) {
  /* phone/tablet: nudge wrap so 'cabin.' / 'details.' are not lone last words */
  .ev-copy > div:not(.ev-head) > p { max-width: 36ch; }
}
.ev-copy > div:not(.ev-head) .btn {
  font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);
  min-height: 48px;
  padding-block: max(0.65em, calc((48px - 1.2em) / 2));
  box-sizing: border-box;
}
/* events arrow (Caelan 2026-10-25): centred under "book your next event". .ev-head hugs the heading text: one line when it fits
   (max-content), else min-content = the wider of the two nowrap groups "book your" / "next event". Arrow width ~1.35x the
   heading size, in the heading ink. */
.ev-head { width: max-content; max-width: 100%; }
.ev-head h2 { margin-bottom: 0; }
.ev-h__g { white-space: nowrap; }
.ev-arrow { display: block; width: clamp(48px, 1.35 * var(--ev-h), 88px); height: auto; margin: calc(var(--space-3) + 0.75rem) auto 0; fill: var(--color-accent); }
.events, .ev-pair, .ev-pair__row, .ev-copy { max-width: 100%; min-width: 0; }
@media (max-width: 30rem) {
  /* With --ev-h (Caelan 2026-11-03) "NEXT EVENT" fits at 360/390; keep the two nowrap groups (was white-space:normal after FONT-SPEC). */
  .ev-head { width: min-content; max-width: 100%; }
}
@media (max-width: 55.99rem) {
  /* phone/tablet: stacked; keep comfortable space under the arrow before the body + email */
  .ev-copy { display: flex; flex-direction: column; gap: var(--space-5); }
}

@media (min-width: 40rem) {
  .strip { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
}
@media (min-width: 56rem) {
  .room { padding: var(--space-7) var(--space-6); }
  /* wider gutter than letter height so BOOK YOUR / right copy no longer crowd (Caelan 2026-11-03) */
  .ev-copy { display: grid; grid-template-columns: minmax(0, 4.25fr) minmax(0, 7.75fr); gap: clamp(2.75rem, 1.5rem + 5.5vw, 6.5rem); align-items: start; }
  .ev-head { width: min-content; }   /* the heading column always wraps it to two lines here */
}

/* ---- Desktop pilot (2026-10-21, TYGR Mart only; this file ships only with TYGR). Caelan: "for desktop/laptop the website is
   framed just like the mobile but more blank space". Everything below is >= 64rem, so phones and tablets are unchanged.
   - Container: up to 1320px with fluid side padding clamp(24px, 5vw, 80px) (was 1152px with 24px).
   - Full bleed: hero photo pair runs to the right edge; the Mart/Kitchen split panel runs edge to edge with its content aligned
     to the container; the food strip runs edge to edge up to 1920px.
   - Events pair is capped at 1157px wide: wider would show TM-OLD-005 past its 1672px native width on 2x screens.
   - Fluid type and spacing via the shared tokens, overridden here only. */
@media (min-width: 64rem) {
  :root {
    --pad: clamp(24px, 5vw, 80px); --cmax: 1320px;
    --step--2: 0.8125rem;
    --step--1: clamp(0.875rem, 0.8rem + 0.15vw, 1rem);
    --step-0: clamp(1rem, 0.8rem + 0.35vw, 1.1875rem);
    --step-1: clamp(1.25rem, 0.95rem + 0.55vw, 1.5rem);
    --step-2: clamp(1.625rem, 1.1rem + 0.9vw, 2.125rem);
    --step-3: clamp(2.5rem, 1.5rem + 1.5vw, 3.25rem);
    --step-4: clamp(3.75rem, 2rem + 2.6vw, 5rem);
    --space-6: clamp(2rem, 1rem + 1.4vw, 2.75rem);
    --space-7: clamp(3rem, 1rem + 4vw, 6rem);
    --space-8: clamp(4.5rem, 2rem + 4vw, 7rem);
  }
  /* Menu viewer (main.mv) must not be a query container: typmart desktop wrap padding
     and 100cqw edges are for homepage sections, and container-type can trap the lightbox. */
  main:not(.mv), .site-header, .door-footer { container-type: inline-size; }
  .site-header .wrap,
  .door-footer .wrap,
  main:not(.mv) .wrap { --edge: max(var(--pad), (100cqw - var(--cmax)) / 2); max-width: none; padding-inline: var(--edge); }

  /* Hero (v2, Caelan): text + photo pair as one unit inside the container (equal side margins, no bleed). Photo height is
     min(72svh, 768px) (768 = TM-OLD-004 at its 512 CSS px cap), less if the container is too narrow. */
  /* v5 (hours moved out from under the hero): hero unit may run to 1600px wide with slimmer side margins
     (clamp(24px, 3.3vw, 80px)), still centered with equal margins; height target min(80svh, 768px). */
  .hero--pair { --hero-h: min(80svh, 768px); }
  .site-header .wrap { --edge: max(clamp(24px, 3.3vw, 80px), (100cqw - 1600px) / 2); }   /* header aligns with the hero unit */
  .hero--pair .wrap { --edge: max(clamp(24px, 3.3vw, 80px), (100cqw - 1600px) / 2); grid-template-columns: minmax(25rem, 1fr) minmax(0, calc(var(--hero-h) * 1.4667 + 8px)); gap: clamp(48px, 6vw, 120px); }   /* v3: wider gap (was clamp(2rem, 2.5vw, 3.5rem)) */
  .hero-wordmark img { width: min(100%, var(--wm-w-laptop)); }

  /* Mart / Kitchen panel (v4, Caelan): desktop only. Market stacked above Kitchen, each a centered block on the page cream:
     label, heading and paragraph centered above its photo pair, the pair centered at matched heights with an 8px gap.
     Pair height = min(564px, what the container width allows). 564px keeps TM-OLD-007 <= 451 CSS px (902 native at 2x).
     Widths at 564px: Market 1.54973 * 564 + 8 = 882px; Kitchen 2.16599 * 564 + 8 = 1230px. A pair narrower than that
     (container too small) just gets shorter. Phones and tablets (< 64rem) keep the stacked two-tone halves. */
  .rooms-head { max-width: 52rem; }
  .rooms { grid-template-columns: minmax(0, 1fr); row-gap: clamp(4rem, 2rem + 5vw, 8rem); border: 0; }
  .room { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: 0; }
  .room--market, .room--cabin { background: none; color: inherit; }
  .room--cabin h3 { color: var(--color-accent); }
  .room--cabin .label { color: var(--color-muted); }
  .room > p { max-width: 40rem; }
  .room h3, .room .label { margin: 0; }
  .room .pair { margin: 0; padding-top: var(--space-4); align-self: center; }
  .room .pair--market { width: min(100%, 882px); }
  /* v5 (hours moved): the panel uses the hero's wider unit (up to 1600px, side margins clamp(24px, 3.3vw, 80px)). Market stays
     capped at 564px tall (007); Kitchen fills the width and so runs taller than Market (1440: ~617, 1920: ~735). */
  #rooms .wrap { --edge: max(clamp(24px, 3.3vw, 80px), (100cqw - 1600px) / 2); }
  .room .pair--cabin { width: 100%; }

  /* Food strip: edge to edge up to 1920px, 8px gaps */
  .strip { width: min(100cqw, 1920px); margin-inline: calc((100% - min(100cqw, 1920px)) / 2); gap: var(--space-2); }

  /* Events: pair + copy share one centered column, max 1157px (TM-OLD-005 <= 836 CSS px) */
  .events .ev-pair, .events .ev-copy { width: 100%; max-width: 1157px; margin-inline: auto; }
}
