/* Shared type and controls for the landing page and cafe directory. */
.home-v4 {
  --camel: "The Year of The Camel", sans-serif;
  --sans: var(--camel);
  --majlis-serif: var(--camel);
  font-family: var(--camel);
}
.home-v4 :is(button, input, select, textarea) { font-family: var(--camel); }
.home-v4 :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.3; }
.home-v4 .home-hero h1 {
  max-width: 10ch;
  font-size: clamp(3.25rem, 5.7vw, 5.5rem);
  line-height: 1.2;
  letter-spacing: 0;
}
.home-v4 .home-ritual-heading h2,
.home-v4 .home-latest-heading h2 {
  max-width: none;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0;
}
.home-v4 .home-latest-copy h3 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.35; letter-spacing: 0; }
.home-v4 .home-latest-facts strong { text-align: start; }

.home-v4 .home-action,
.home-v4 .stamp-button,
.home-v4 .map-link,
.home-v4 .home-ritual-lead a,
.home-v4 .home-latest-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid var(--majlis-rule);
  border-radius: 4px;
  background: transparent;
  color: var(--majlis-ink);
  font-family: var(--camel);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transform: none;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.home-v4 .home-action-primary { background: #b4482f; border-color: #b4482f; color: #fffaf1; }
.home-v4 .home-action:hover,
.home-v4 .stamp-button:hover,
.home-v4 .map-link:hover,
.home-v4 .home-ritual-lead a:hover {
  border-color: var(--majlis-ink);
  background: var(--majlis-sand);
  color: var(--majlis-ink);
  transform: none;
}
.home-v4 .home-action-primary:hover { background: #963b27; border-color: #963b27; color: #fffaf1; }
.home-v4 .home-action::after,
html[dir="ltr"] .home-v4 .home-action::after,
.home-v4 .home-ritual-lead a::after,
html[dir="ltr"] .home-v4 .home-ritual-lead a::after { content: none; display: none; }
.home-v4 .pick-entry .map-link,
.home-v4 .pick-entry .stamp-button { border: 1px solid #a8b2a0; color: #fffaf1; background: transparent; }
.home-v4 .pick-entry .map-link:hover,
.home-v4 .pick-entry .stamp-button:hover { background: #fffaf1; border-color: #fffaf1; color: #30382f; }
.home-v4 .home-latest-link { align-self: flex-start; }
.home-v4 .home-latest-card:hover .home-latest-link { border-color: var(--majlis-ink); background: var(--majlis-sand); }
.home-v4 :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--majlis-thread); outline-offset: 4px; }
.home-v4 .pick-entry :is(a, button):focus-visible { outline-color: #fffaf1; }
@media (prefers-reduced-motion: reduce) { .home-v4 :is(a, button) { transition: none; } }
