/* Ryan 11-12 (t2909u): ivory tiger head is the large hero mark (fills #f3efe7, linework #0f2a20);
   the ivory Teton Tiger script moves into the header, home and menu. */

/* Header script: 6.75rem on phone fits the 4.5rem bar (script aspect 288/167 → ~3.9rem tall).
   Desktop 10.5rem is close to the old 88px head's visual height so nav / Reserve stay put. */
.site-header .site-logo.tt-script-logo {
  flex: 0 1 auto;
  min-width: 0;
  width: 6.75rem;
  margin-right: auto;
}
.site-header .site-logo.tt-script-logo picture,
.site-header .site-logo.tt-script-logo img {
  display: block;
  width: 6.75rem;
  max-width: 100%;
  height: auto;
  max-height: calc(var(--ph-hdr-in, 4.5rem) - 8px);
  object-fit: contain;
  object-position: left center;
}

@media screen and (max-width: 63.99rem) {
  /* A few px of top breathing room so the Teton script doesn't kiss the header edge. */
  .site-header .wrap:has(.tt-script-logo) {
    padding-top: 6px;
    min-height: calc(var(--ph-hdr-in, 4.5rem) + 6px);
  }
}

@media screen and (min-width: 64rem) {
  .site-header .site-logo.tt-script-logo {
    width: 10.5rem;
    margin-right: 0;
  }
  .site-header .site-logo.tt-script-logo picture,
  .site-header .site-logo.tt-script-logo img {
    width: 10.5rem;
    max-height: 5.75rem;
  }
}

/* Hero head takes the script's place. Sized to feel as big as the old ivory script:
   9.5rem wide on the phone (taller than the script was, still inside the column);
   min(17rem, 34vh) on desktop so it leads the food photo without overflowing short viewports. */
.hero--howard h1.tt-head-h1 {
  margin: 0 auto;
  line-height: 0;
  font-size: 1rem;
}
.hero--howard h1.tt-head-h1 img {
  display: block;
  width: 9.5rem;
  height: auto;
  margin-inline: auto;
}
body .hero.hero--howard .wrap > div:not(.hw-arches) > h1.tt-head-h1 {
  margin-top: 0;
  margin-bottom: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media screen and (min-width: 64rem) {
  .hero--howard h1.tt-head-h1 img,
  body .hero.hero--howard h1.tt-head-h1 img {
    width: min(17rem, 34vh);
  }
}

/* Hours / Reserve / Visit centred over the large hero arch (Ryan 11-12). Same geometry as
   .hw-arches in howard.css: large arch box = --lw + 18px (8px pad + 1px rule each side),
   small arch box = --sw + 18px, gap = --lw * 0.06, flush to the wrap's right content edge.
   A small script in index.html sets --tt-nav-x to the measured arch centre (short viewports shrink the arches). */
@media screen and (min-width: 64rem) {
  body:has(.hw-arches) .site-header .wrap {
    --lw: min(calc(40vw - 130px), 500px);
    --sw: calc(var(--lw) * 0.74);
    position: relative;
  }
  body:has(.hw-arches) .site-header .site-nav {
    position: absolute;
    top: 50%;
    left: var(--tt-nav-x, calc(100% - var(--edge, 0px) - (var(--sw) + 18px) - var(--lw) * 0.06 - (var(--lw) + 18px) / 2));
    transform: translate(-50%, -50%);
    white-space: nowrap;
  }
  body:has(.hw-arches) .site-header .hdr-cta { grid-column: 3; }
}
