/* Shared brand size tokens. The homepage hero and navbar are the
   source of truth (Jeff, Nov 22, 2026): one logo size site-wide, and
   content-page hero headings match the homepage heading at each
   breakpoint. */

:root {
  /* Homepage unscrolled navbar logo: clamp(5rem, 8vw, 6.5rem).
     80px on phones and tablets, 104px from ~1300px up. */
  --ohl-logo-height: clamp(5rem, 8vw, 6.5rem);
  /* Homepage nav is top: 1rem with padding-top: 1rem, so the logo
     starts 2rem from the top of the viewport. */
  --ohl-logo-top: 2rem;

  /* Homepage #hero .hero-heading-1 / .hero-heading-2 on a tall phone
     (home-refresh.css, iPhone 13 and similar). */
  --ohl-hero-title-size: 2.05rem;
  --ohl-hero-title-leading: 1.05; /* .heading-xl */
  --ohl-hero-italic-size: 2.65rem;
  --ohl-hero-italic-leading: 1.1; /* .drama-text */
}

/* Same short-phone step as the homepage. */
@media (max-height: 760px) and (max-width: 767px) {
  :root {
    --ohl-hero-title-size: 1.65rem;
    --ohl-hero-italic-size: 2rem;
  }
}

/* Tailwind md: text-6xl / text-8xl */
@media (min-width: 768px) {
  :root {
    --ohl-hero-title-size: 3.75rem;
    --ohl-hero-italic-size: 6rem;
  }
}

/* Tailwind lg: text-7xl / text-[8rem] */
@media (min-width: 1024px) {
  :root {
    --ohl-hero-title-size: 4.5rem;
    --ohl-hero-italic-size: 8rem;
  }
}

.brand-logo {
  height: var(--ohl-logo-height);
  width: auto;
}

/* iOS Safari: native date inputs overflow their grid cell unless they
   shrink to the parent width. Reserve and check-your-date use custom
   calendars today; this still covers any date control on a branded page. */
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="time"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
