/* Bold system display type with a rotating photo accordion. */
.brand__name, .hero__title, .h-section, .statement, .marquee__list li,
.home-base__text strong, .facts dd, .svc__title, .step__q,
.booking__summary-title, .booking__title, .menu-sheet__links a,
.board__title, .day__num, .step-card__title, .help-card__title, .done__title,
.site-footer__line { font-weight: 400; font-synthesis: none; font-stretch: normal; }

.hero { max-width: 1680px; margin-inline: auto; }
.site-footer .brand__text { min-width: 0; }
.site-footer .brand__desc { white-space: normal; line-height: 1.5; }
@media (max-width: 1099px) {
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .site-header__actions { grid-column: 2; }
}
@media (max-width: 359px) {
  .site-header .brand { gap: 6px; }
  .site-header .brand__name { font-size: 12px; }
  .site-header .brand__desc { font-size: 8px; }
  .site-header .brand__marks, .site-header .brand__marks img { width: 32px; }
  .menu-toggle { gap: 5px; padding-inline: 10px; font-size: 13px; }
}
.hero__card {
  display: flex; flex-direction: column; align-items: stretch;
  min-height: 0; padding: 84px 12px 0;
  background: #171816;
}
.hero__card::after { display: none; }
.hero__content { order: 2; padding: 28px 10px 30px; }
.hero__content::before { display: none; }
.hero__title {
  font-size: clamp(2.4rem, 8.8vw, 4.5rem); line-height: 1.04;
  letter-spacing: -.045em; max-width: 13ch; margin-top: 18px;
  text-wrap: initial;
}
.hero__lead { max-width: 34ch; font-size: 16px; }
.hero__actions { margin-top: 24px; }
.hero__reach { gap: 0; flex-direction: column; margin-top: 14px; }
.hero__reach a { font-size: 13.5px; }
.hero__content .kicker { font-size: 13px; }
.hero-gallery { order: 1; min-width: 0; }
.hero-gallery__rail {
  position: relative; overflow: hidden; display: flex; gap: 8px; height: clamp(260px, 80vw, 400px);
  touch-action: pan-y; border-radius: 18px;
}
.hero-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: none; width: 100%; min-width: 0;
  border-radius: 18px; color: #fff; background: #353630;
  text-align: left; -webkit-tap-highlight-color: transparent;
}
.hero-panel.is-active { display: block; }
.hero-panel[hidden] { display: none !important; }
.hero-panel { transform-origin: left center; }
.hero-panel--exit { position: absolute !important; display: block !important; pointer-events: none; z-index: 2; }
.hero-gallery__rail.is-stepping .hero-panel { transition: none; animation: none; }
.hero-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; pointer-events: none;
}
.hero-panel[data-hero-label="Roofing"] img { object-position: 27% center; }
.hero-panel::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 26%, transparent 48%, rgba(0,0,0,.76));
}
.hero-panel__number {
  position: absolute; z-index: 1; left: 16px; top: 16px;
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.65); border-radius: 50%;
  font: 500 12px/1 var(--font-text); background: rgba(0,0,0,.28);
}
.hero-panel__caption { position: absolute; left: 22px; bottom: 26px; z-index: 1; white-space: nowrap; }
.hero-panel__caption small { display: block; font-size: 12px; margin-bottom: 8px; }
.hero-panel__caption strong { font: 400 clamp(28px, 3vw, 42px)/1 var(--font-display); letter-spacing: -.035em; }
.hero-panel__spine { display: none; }
.hero-panel__arrow {
  position: absolute; right: 18px; bottom: 24px; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--marker-500); border-radius: 50%; color: #171816; font-size: 24px;
}
.hero-panel:focus-visible { outline: 3px solid var(--marker-400); outline-offset: -5px; }
.hero-gallery__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 4px 0; }
.hero-gallery__hint { font-size: 12px; color: #c4c3bc; }
.hero-gallery__controls { display: flex; align-items: center; gap: 7px; }
.hero-gallery__controls button { display: grid; place-items: center; padding: 0; line-height: 1; width: 44px; height: 44px; text-align: center; color: #fff; font-size: 22px; border: 1px solid #53544e; border-radius: 50%; }
.hero-gallery__controls button:hover { color: #171816; background: var(--marker-500); border-color: var(--marker-500); }
.hero-rotation__icon { display: block; width: 20px; height: 20px; fill: currentColor; }
.hero-rotation__play { display: none; }
[data-hero-rotation][data-paused="true"] .hero-rotation__play { display: block; }
[data-hero-rotation][data-paused="true"] .hero-rotation__pause { display: none; }
.hero-gallery__count { font-size: 11px; font-variant-numeric: tabular-nums; min-width: 46px; text-align: center; }
.no-js .hero-gallery__controls { display: none; }
@media (max-width: 767px) {
  .hero-gallery__hint, .hero-gallery__controls [data-hero-prev], .hero-gallery__controls [data-hero-next] { display: none; }
  .hero-gallery__footer { justify-content: flex-end; }
  .hero-panel { display: block; flex: 1.1 1 0%; width: auto; transition: flex-grow .75s cubic-bezier(.22,1,.36,1); }
  .hero-panel.is-active { flex-grow: 4.6; }
  .hero-panel__number { left: 10px; top: 12px; width: 28px; height: 28px; font-size: 10px; }
  .hero-panel__caption { left: 14px; bottom: 22px; }
  .hero-panel__caption small { font-size: 11px; }
  .hero-panel__caption strong { font-size: clamp(22px, 6vw, 28px); }
  .hero-panel__arrow { display: none; }
  .hero-panel img { transition: filter .65s ease; }
  .hero-panel:not(.is-active) img { filter: brightness(.65); }
  .hero-panel:not(.is-active) .hero-panel__caption { opacity: 0; visibility: hidden; transition: none; }
  .hero-panel__caption { transition: opacity .25s .2s ease, visibility .25s; }
  .hero-panel__spine { display: block; position: absolute; z-index: 1; bottom: 24px; left: 50%; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
  .hero-panel.is-active .hero-panel__spine { opacity: 0; }
  .no-js .hero-panel:nth-child(n+3) { display: none; }
}

@media (min-width: 768px) {
  .hero__card { padding: 100px 24px 0; }
  .hero__content { padding: 36px 16px 40px; }
  .hero__title { font-size: 64px; }
  .hero__content .kicker { font-size: 14px; }
  .hero-gallery__rail { height: 460px; }
  .hero-panel { display: block; flex: .72 1 0%; width: auto; transition: flex-grow .75s cubic-bezier(.22,1,.36,1); }
  .hero-panel.is-active { flex-grow: 4.6; }
  .hero-panel img { transition: filter .65s ease; }
  .hero-panel:not(.is-active) img { filter: brightness(.65); }
  .hero-panel:not(.is-active) .hero-panel__caption, .hero-panel:not(.is-active) .hero-panel__arrow { opacity: 0; visibility: hidden; transition: none; }
  .hero-panel__caption, .hero-panel__arrow { transition: opacity .25s .2s ease, visibility .25s; }
  .hero-panel__spine { display: block; position: absolute; z-index: 1; bottom: 30px; left: 50%; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
  .hero-panel.is-active .hero-panel__spine { opacity: 0; }
}
@media (min-width: 1024px) {
  .hero__card { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.4fr); gap: 28px; align-items: center; padding: 112px 24px 30px 38px; }
  .hero__content { grid-column: auto; order: 0; padding: 20px 0 34px; }
  .hero__title { font-size: clamp(46px, 4.1vw, 69px); }
  .hero__lead { font-size: 17px; margin-top: 24px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { --h: 52px; font-size: 14px; }
  .hero-gallery__rail { height: clamp(500px, 43vw, 650px); }
  .hero-panel { border-radius: 22px; }
  .hero-gallery__footer { padding-top: 14px; }
  .hero-gallery__hint { font-size: 13px; }
}
@media (min-width: 1360px) {
  .hero__card { gap: 44px; padding-left: 52px; padding-right: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-panel, .hero-panel img, .hero-panel__caption, .hero-panel__arrow { transition: none; animation: none; }
}
