/* One reading rhythm and text-link treatment across every photographic hero. */
html body [data-screen-hero] {
  --hero-copy-gap: 24px;
  --hero-support-size: 30px;
}
html body[class] :is(#main-content, main) [data-screen-hero] :is(.brand-subtitle, .menu-hero-lead) {
  font-size: var(--hero-support-size) !important;
  line-height: 1.3;
  max-width: 100%;
  margin: 0 !important;
}
html body[class] :is(#main-content, main) [data-screen-hero] .menu-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-copy-gap);
}
html body[class] :is(#main-content, main) [data-screen-hero] .menu-hero-copy > :is(.eyebrow, h1, .menu-hero-lead, .menu-hero-note, .text-link) {
  margin-block: 0 !important;
}
html body.home-page main #top[data-screen-hero] { row-gap: var(--hero-copy-gap); }
html body.home-page main #top[data-screen-hero] > :is(.home-hero-label, .brand-heading, .brand-support) {
  margin-block: 0 !important;
}
html body.home-page main #top[data-screen-hero] .brand-support {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-copy-gap);
}
html body.home-page main #top[data-screen-hero] .home-hero-actions {
  position: static;
  inset: auto;
  width: fit-content;
  max-width: 100%;
  margin: 0 !important;
}
html body[class] :is(#main-content, main) [data-screen-hero] :is(.brand-cta, .text-link).site-jump {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--white) !important;
  font-size: 18px !important;
  line-height: 1.4;
  text-align: left;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-shadow: 0 1px 4px #000;
  box-shadow: none !important;
}
html body[class] :is(#main-content, main) [data-screen-hero] :is(.brand-cta, .text-link).site-jump:is(:hover, :active, :focus-visible) {
  color: var(--pink) !important;
  background: transparent !important;
}
@media (max-width: 1100px) {
  html body [data-screen-hero] { --hero-support-size: 26px; }
}
@media (max-width: 760px) {
  html body [data-screen-hero] { --hero-support-size: 22px; --hero-copy-gap: 20px; }
}
@media (max-height: 650px) {
  html body [data-screen-hero] { --hero-copy-gap: 16px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  html body [data-screen-hero] { --hero-support-size: 22px; --hero-copy-gap: 12px; }
}

/* The About photograph fills the mobile hero behind the copy. */
@media (max-width: 760px) {
  html body.about-page main section.menu-hero-about[data-hero-atmosphere] > .menu-hero-photo > img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% bottom;
    transform: none;
    mask-image: none;
  }
}

/* Match Home's full-field mobile shade. */
@media (max-width: 760px) {
  html body.code-page main section.menu-hero-code[data-screen-hero] > .menu-hero-photo > img {
    transform: none;
    mask-image: none;
  }
  html body .site-header { column-gap: 16px; }
  html body .site-header .header-talk { display: none; }
  html body .site-header .brand { flex: 0 1 140px; min-width: 0; white-space: nowrap; }
  html body .site-header .menu-toggle { margin-left: auto; flex: 0 0 44px; gap: 6px; }
  html body .site-header .menu-toggle span { height: 1px; width: 24px; }
  html body .site-header.menu-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  html body .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  html body .site-header.menu-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  html body .site-header #navigation a { white-space: nowrap; }
}

/* The expanded navigation stays in one horizontal row, even on narrow phones. */
@media (max-width: 760px) {
 html body .site-header #navigation {
   width: 100%;
   max-width: 100%;
   min-width: 0;
   flex-wrap: nowrap;
   justify-content: space-between;
   column-gap: clamp(4px, 1.6vw, 10px);
 }
 html body .site-header #navigation > a {
   flex: 0 1 auto;
   min-width: 0;
   white-space: nowrap;
   overflow-wrap: normal;
   word-break: normal;
   font-size: clamp(12px, 4.4vw, 15px) !important;
   line-height: 1.35;
 }
 html body :is(#main-content, main, header, footer, dialog) .pf-columns a {
   white-space: nowrap;
   overflow-wrap: normal;
   word-break: normal;
   font-size: clamp(15px, 5vw, 18px) !important;
 }
 html body :is(#main-content, main, header, footer, dialog) .pf-columns :is(.pf-label, .phone-disclosure > summary) {
   white-space: nowrap;
   overflow-wrap: normal;
   word-break: normal;
   font-size: clamp(12px, 4.1vw, 15px) !important;
 }
}

/* Three larger rope strokes keep the familiar mobile menu silhouette. */
@media(max-width:760px){
 html body .site-header .menu-toggle {width:48px;height:48px;min-width:48px;min-height:48px;flex:0 0 48px;gap:6px;padding:8px 7px;color:#e9e1d2}
 html body .site-header .menu-toggle span {width:34px;height:4px;flex:0 0 4px;border:.6px solid currentColor;border-radius:999px;background:repeating-linear-gradient(115deg,currentColor 0 3px,transparent 3px 4.5px);transition:transform .2s ease,opacity .2s ease}
 html body .site-header .menu-toggle:is(:hover,:focus-visible) {color:var(--pink)}
 html body .site-header.menu-open .menu-toggle span:first-child {transform:translateY(10px) rotate(45deg)}
 html body .site-header.menu-open .menu-toggle span:nth-child(2) {opacity:0}
 html body .site-header.menu-open .menu-toggle span:last-child {transform:translateY(-10px) rotate(-45deg)}
}
@media(prefers-reduced-motion:reduce){html body .site-header .menu-toggle span{transition:none}}
