:root {
  color-scheme: dark;
  --brown: #362e2f;
  --white: #fff;
  --surface: #f6f3ed;
  --surface-alt: #ede7de;
  --header-height: 80px;
  --inset: clamp(32px, 4.2vw, 80px);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--white);
  background: var(--brown);
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid white; outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.man-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 36px);
  height: var(--header-height);
  padding: 0 var(--inset);
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color .28s ease, border-color .28s ease, backdrop-filter .28s ease, -webkit-backdrop-filter .28s ease;
}
.man-header.is-scrolled {
  border-bottom-color: rgb(255 255 255 / 18%);
  background: rgb(54 46 47 / 76%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.man-brand { display: flex; flex-shrink: 0; align-items: center; gap: 12px; }
.man-brand img { display: block; width: 60px; height: 60px; }
.department-switch { position: relative; flex-shrink: 0; font-size: .8125rem; }
.department-switch summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; white-space: nowrap; }
.department-switch summary::-webkit-details-marker { display: none; }
.department-switch summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.department-switch[open] summary svg { transform: rotate(180deg); }
.department-options { position: absolute; top: calc(100% + 25px); left: -16px; width: 170px; display: grid; padding: 8px; border: 1px solid rgb(255 255 255 / 24%); background: var(--brown); }
.department-options a { padding: 10px 8px; }
.department-options a:hover { background: rgb(255 255 255 / 8%); }
.department-options [aria-current] { opacity: .55; }
.man-menu { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 1.8vw, 28px); margin: 0 auto; font-size: .8125rem; white-space: nowrap; }
.man-menu > a:not(.menu-phone) { opacity: .75; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.man-menu > a:not(.menu-phone):hover { opacity: 1; }
.man-menu > a[aria-current]:not(.menu-phone) { opacity: 1; text-decoration-line: underline; }
.mobile-departments { display: none; }
.menu-phone { display: none; }
.header-phone { display: flex; flex-shrink: 0; align-items: center; gap: 10px; white-space: nowrap; font-size: .9375rem; }
.header-phone > svg { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.header-phone:hover span { text-decoration: underline; text-underline-offset: 5px; }
.header-social { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-icon { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgb(255 255 255 / 30%); background: rgb(255 255 255 / 4%); }
.header-icon img { display: block; width: 24px; height: 24px; }
.header-icon:hover { background: rgb(255 255 255 / 13%); border-color: rgb(255 255 255 / 65%); }
.menu-toggle { display: none; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.menu-toggle .menu-close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }

.man-hero { --hero-min-height: 650px; --hero-height: max(100svh, var(--hero-min-height)); position: relative; height: var(--hero-height); min-height: 0; overflow: hidden; }
@media (min-width: 801px) {
  /* Keep the two stove photos proportional when a desktop window narrows. */
  .man-hero { --hero-height: min(max(100svh, var(--hero-min-height)), 62.5vw); }
}
.hero-photos, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-photos { z-index: 0; overflow: hidden; }
.hero-slide {
  --drift-from-x: -.7%;
  --drift-from-y: .4%;
  --drift-to-x: .7%;
  --drift-to-y: -.4%;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 50%;
  animation: hero-photo-drift 14s linear infinite alternate both;
  animation-play-state: paused;
}
.hero-slide.is-active img { animation-play-state: running; will-change: transform; }
.man-hero[data-motion-paused] .hero-slide img { animation-play-state: paused; }
.hero-slide-stove {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  /* A shared emblem diameter covers both centered photos at any hero height. */
  --stove-emblem-size: max(calc(25vw * 231 / 635.5), calc(var(--hero-height) * 370 / 1719));
  --drift-from-x: 0%;
  --drift-from-y: 0%;
  --drift-to-x: 0%;
  --drift-to-y: 0%;
}
.hero-stove-photo { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.hero-stove-photo-first {
  --photo-width: 1280;
  --photo-height: 1179;
  --emblem-x: 635.5;
  --emblem-y: 586.5;
  --emblem-diameter: 231;
}
.hero-stove-photo-second {
  --photo-width: 2400;
  --photo-height: 1800;
  --emblem-x: 1291.5;
  --emblem-y: 859.5;
  --emblem-diameter: 370;
}
.hero-stove-photo img {
  position: absolute;
  width: calc(var(--stove-emblem-size) * var(--photo-width) / var(--emblem-diameter));
  height: calc(var(--stove-emblem-size) * var(--photo-height) / var(--emblem-diameter));
  left: calc(50% - var(--stove-emblem-size) * var(--emblem-x) / var(--emblem-diameter));
  top: calc(50% - var(--stove-emblem-size) * var(--emblem-y) / var(--emblem-diameter));
  transform-origin: calc(var(--stove-emblem-size) * var(--emblem-x) / var(--emblem-diameter)) calc(var(--stove-emblem-size) * var(--emblem-y) / var(--emblem-diameter));
}
.hero-stove-photo + .hero-stove-photo { border-left: 1px solid rgb(255 255 255 / 22%); }
.hero-slide-outdoor { --drift-from-x: .7%; --drift-from-y: -.4%; --drift-to-x: -.7%; --drift-to-y: .4%; }

@keyframes hero-photo-drift {
  from { transform: translate3d(var(--drift-from-x), var(--drift-from-y), 0) scale(1.04); }
  to { transform: translate3d(var(--drift-to-x), var(--drift-to-y), 0) scale(1.12); }
}
.hero-slide-pool img { object-position: 50% 65%; }
.hero-slide-stove img { object-position: 50% 52%; }
.hero-stove-photo-second img { object-position: 54% 48%; }
.hero-slide-outdoor img { object-position: 50% 100%; }
.hero-shade { z-index: 1; background: radial-gradient(ellipse at 50% 48%, rgb(24 20 20 / 20%), rgb(24 20 20 / 0%) 72%), linear-gradient(180deg, rgb(24 20 20 / 20%), rgb(24 20 20 / 36%) 45%, rgb(24 20 20 / 88%) 100%); }
.hero-inner { position: relative; z-index: 2; height: 100%; padding: calc(var(--header-height) + 48px) var(--inset) 44px; display: flex; flex-direction: column; }
.hero-copy { display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: center; padding-bottom: 30px; text-align: center; }
.hero-name { width: clamp(180px, 18vw, 240px); margin: 0 0 32px; line-height: 1; }
.hero-name img { display: block; width: 100%; height: auto; }
.hero-tagline { display: grid; max-width: 100%; margin: 0; font-family: 'Fira Sans Extra Condensed', 'Arial Narrow', sans-serif; font-size: clamp(44px, 3.5vw, 62px); font-weight: 500; line-height: 1.14; letter-spacing: 0; }
.hero-caption { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.hero-caption.is-active { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; }
.hero-caption > span { display: block; }
.carousel-controls { display: flex; align-items: center; gap: 12px; align-self: center; }
.carousel-arrow, .carousel-pause { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; background: rgb(54 46 47 / 10%); }
.carousel-arrow svg, .carousel-pause svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel-arrow:hover, .carousel-pause:hover { background: rgb(255 255 255 / 14%); border-color: white; }
.carousel-pause { border-color: transparent; margin-left: 4px; }
.carousel-pause .play-symbol { display: none; }
.carousel-pause[aria-pressed="true"] .pause-symbol { display: none; }
.carousel-pause[aria-pressed="true"] .play-symbol { display: block; }
.carousel-pause:disabled { cursor: default; opacity: .4; }
.slide-indicators { display: flex; gap: 5px; }
.slide-indicators button { width: 36px; height: 36px; padding: 0; font-size: .8125rem; border: 0; border-bottom: 1px solid transparent; color: rgb(255 255 255 / 55%); background: transparent; }
.slide-indicators button[aria-current="true"] { color: white; border-bottom-color: white; }
.slide-indicators button:hover { color: white; }

@media (max-width: 1280px) and (min-width: 1101px) {
  :root { --inset: 28px; }
  .man-brand img { width: 52px; height: 52px; }
  .man-header { gap: 18px; }
  .man-menu { gap: 16px; }
  .header-phone { font-size: .8125rem; }
}
@media (max-width: 1100px) {
  :root { --header-height: 72px; --inset: 30px; }
  .man-header { gap: 16px; }
  .man-brand img { width: 56px; height: 56px; }
  .department-switch { display: none; }
  .menu-toggle { display: grid; margin-left: auto; }
  .man-menu { display: none; position: absolute; top: calc(var(--header-height) - 1px); left: 0; right: 0; max-height: calc(100svh - var(--header-height)); overflow-y: auto; padding: 24px var(--inset); flex-direction: column; align-items: stretch; gap: 20px; font-size: 1rem; border-bottom: 1px solid rgb(255 255 255 / 22%); background: rgb(54 46 47 / 98%); }
  .man-menu[data-open] { display: flex; }
  .mobile-departments { display: flex; gap: 28px; padding-bottom: 20px; border-bottom: 1px solid rgb(255 255 255 / 22%); font-size: .875rem; }
  .mobile-departments [aria-current] { color: rgb(255 255 255 / 55%); }
  .menu-phone { display: block; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 22%); }
  .hero-tagline { font-size: clamp(38px, 3.92vw, 44px); }
}
@media (max-width: 640px) {
  :root { --header-height: 64px; --inset: 20px; }
  .man-header { gap: 12px; }
  .man-brand img { width: 40px; height: 40px; }
  .header-phone { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%; }
  .header-phone > svg { display: block; }
  .header-phone > span { display: none; }
  .header-social { gap: 6px; }
  .man-hero { --hero-min-height: 0px; }
  .hero-inner { padding: calc(var(--header-height) + 28px) var(--inset) 20px; }
  .hero-copy { padding-bottom: 24px; }
  .hero-name { width: min(160px, 100%); margin-bottom: 24px; }
  .hero-tagline { font-size: clamp(29px, 7.9vw, 38px); line-height: 1.16; }
  .hero-slide-pool img { object-position: 42% 50%; }
  .hero-slide-stove img { object-position: 50% 50%; }
  .hero-slide-outdoor img { object-position: 52% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgb(24 20 20 / 32%), rgb(24 20 20 / 48%) 45%, rgb(24 20 20 / 92%) 100%); }
}
@media (max-width: 360px) {
  .man-header { padding-inline: 12px; gap: 10px; }
  .carousel-controls { gap: 8px; }
  .carousel-pause { margin-left: 0; }
  .hero-tagline { font-size: 27px; }
}
@media (max-width: 800px) and (orientation: portrait) {
  .hero-slide-stove {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    --stove-emblem-size: max(calc(50vw * 231 / 635.5), calc(max(100svh, var(--hero-min-height)) * 370 / 3438));
  }
  .hero-stove-photo + .hero-stove-photo { border-left: 0; border-top: 1px solid rgb(255 255 255 / 22%); }
}
@media (max-height: 720px) and (min-width: 641px) {
  .man-hero { --hero-min-height: 560px; }
  .hero-inner { padding-top: calc(var(--header-height) + 28px); padding-bottom: 28px; }
  .hero-name { width: clamp(160px, 18vw, 200px); margin-bottom: 24px; }
  .hero-copy { padding-bottom: 20px; }
  .hero-tagline { font-size: clamp(38px, 3.5vw, 44px); }
}
@media (max-height: 680px) and (max-width: 640px) {
  .hero-inner { padding-top: calc(var(--header-height) + 20px); padding-bottom: 16px; }
  .hero-name { margin-bottom: 20px; }
  .hero-copy { padding-bottom: 16px; }
}
@media (max-height: 480px) and (max-width: 640px) {
  .hero-inner { padding-top: calc(var(--header-height) + 16px); }
  .hero-copy { padding-bottom: 12px; }
  .hero-name { width: min(120px, 100%); margin-bottom: 20px; }
  .hero-tagline { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .man-header { transition: none; }
  .hero-slide, .hero-caption { transition: none; }
  .hero-slide img, .hero-slide.is-active img { animation: none; transform: none; will-change: auto; }
}

/* Quiet photo navigation, with a generous clickable area around each dot. */
.slide-indicators { gap: 0; }
.slide-indicators button { display: grid; place-items: center; width: 32px; height: 40px; border: 0; }
.slide-indicators button::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: rgb(255 255 255 / 35%); transition: background .2s, transform .2s; }
.slide-indicators button[aria-current="true"]::before { background: rgb(255 255 255 / 85%); transform: scale(1.3); }
.slide-indicators button:hover::before { background: white; }
.carousel-pause:not(:focus-visible) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; }
