/* 523 Events — shared styles. Most layout lives inline in each page. */
html { scroll-behavior: smooth; }
body { margin: 0; background: #F7F6F0; }
img { max-width: 100%; }
a { color: #655519; }
a:hover { color: #4A3E10; }
input, select, textarea, button { font: inherit; }
input::placeholder, textarea::placeholder { color: #6F6955; }
input[type=checkbox], input[type=radio] { accent-color: #655519; width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
:focus-visible { outline: 2px solid #655519; outline-offset: 3px; }

/* Portfolio carousel */
.carousel { position: relative; height: 720px; overflow: hidden; background: #2A2618; }
.carousel .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; transition: opacity 900ms ease; }
.carousel .slide.is-active { opacity: 1; }
.carousel-controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 24px 24px; display: flex; justify-content: flex-end; pointer-events: none; }
.carousel-bar { pointer-events: auto; display: flex; align-items: center; gap: 4px; padding: 6px 10px; background: rgba(24, 20, 10, 0.72); }
.carousel .dot { width: 28px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel .dot span { display: block; width: 20px; height: 3px; background: rgba(247, 246, 240, 0.45); }
.carousel .dot[aria-current="true"] span { background: #F7F6F0; }
.carousel .play-toggle { margin-left: 8px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: transparent; color: #F7F6F0; border: 1px solid rgba(247, 246, 240, 0.6); border-radius: 50%; cursor: pointer; }
.carousel .play-toggle .icon-play { display: none; }
.carousel.is-paused .play-toggle .icon-play { display: block; }
.carousel.is-paused .play-toggle .icon-pause { display: none; }
.carousel :focus-visible { outline-color: #F7F6F0; }

/* Event type pills on the inquiry form */
.pill { position: relative; display: inline-flex; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #3D3826; border: 1px solid #8C866E; }
.pill input:checked + span { background: #655519; border-color: #655519; color: #F7F6F0; font-weight: 500; }
.pill input:focus-visible + span { outline: 2px solid #655519; outline-offset: 3px; }

@media (max-width: 720px) {
  .carousel { height: 440px; }
  .carousel .dot { width: 22px; }
  .carousel .dot span { width: 14px; }
  .footer-brand { grid-column: auto; }
}
@media (min-width: 721px) {
  .footer-brand { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel .slide { transition: none; }
}
