/* The opening as one picture with the heading and buttons on it, under a soft dark layer. Loaded after home.css;
   the earlier split layout (sections/home-hero-split.liquid) keeps its own rules in home.css. */
.hero-o { background: var(--sand); padding-block: 12px 28px; }
.hero-o__card { position: relative; display: grid; place-items: center; min-height: min(78svh, 560px); overflow: hidden; isolation: isolate; background: var(--sand-deep); --corner: 44px; color: var(--on-dark); }
.hero-o__card .hero__img { object-position: 50% 42%; height: calc(100% + 10px); transform: translateY(calc(var(--hero-p, 0) * -10px)); }
.hero-o__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  radial-gradient(ellipse 80% 60% at 50% 50%, rgba(34, 10, 14, 0.5), rgba(34, 10, 14, 0) 100%),
  linear-gradient(180deg, rgba(34, 10, 14, 0.34), rgba(34, 10, 14, 0.5)); }
.hero-o__card .hero__mask { z-index: 2; }
.hero-o__copy { position: relative; z-index: 3; display: grid; justify-items: center; gap: 16px; max-width: 46rem; padding: 40px 22px; text-align: center; text-shadow: 0 1px 18px rgba(34, 10, 14, 0.35); }
.hero-o__place { display: inline-flex; align-items: center; gap: 12px; font-size: 0.875rem; font-weight: 500; color: var(--on-dark); }
.hero-o__place::before, .hero-o__place::after { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.8; }
.hero-o h1 { color: #fff; font-size: clamp(2.1rem, 9vw, 2.7rem); line-height: 1.25; }
.hero-o__text { max-width: 34rem; font-size: 1.0625rem; color: var(--cream); }
.hero-o__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block-start: 8px; width: 100%; }
.hero-o__actions .btn { flex: 1 1 11rem; max-width: 16rem; text-shadow: none; }
.hero-o__actions .btn--outline-light { background: rgba(34, 10, 14, 0.18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (min-width: 768px) {
  .hero-o { padding-block: clamp(14px, 1.6vw, 24px) clamp(36px, 4vw, 56px); }
  .hero-o__card { min-height: clamp(540px, 68vh, 700px); --corner: clamp(72px, 9vw, 130px); }
  .hero-o__card .hero__img { height: calc(100% + 16px); object-position: 50% 56%; transform: translateY(calc(var(--hero-p, 0) * -16px)); }
  .hero-o__copy { gap: 20px; padding: 56px 40px; }
  .hero-o h1 { font-size: clamp(2.7rem, 4.6vw, 4.1rem); }
  .hero-o__text { font-size: 1.1875rem; }
  .hero-o__actions { width: auto; }
  .hero-o__actions .btn { flex: 0 0 auto; }
  .hero-o__scrim { background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(34, 10, 14, 0.5), rgba(34, 10, 14, 0) 100%),
    linear-gradient(180deg, rgba(34, 10, 14, 0.3), rgba(34, 10, 14, 0.46)); }
}
@media (hover: hover) and (pointer: fine) { .hero-o__actions .btn--outline-light:hover { color: var(--oxblood); } }
@media (prefers-reduced-motion: reduce) { .hero-o__card .hero__img { transform: none !important; } }

/* the logo takes the heading place; the heading stays for screen readers */
.hero-o__logo { margin: 0; line-height: 0; }
.hero-o__logo img { width: min(76vw, 360px); height: auto; filter: drop-shadow(0 2px 14px rgba(34, 10, 14, 0.4)); }
@media (min-width: 768px) { .hero-o__logo img { width: clamp(360px, 36vw, 540px); } }
