body.allday-page {
  --allday-gutter: clamp(30px, 5vw, 90px);
  --allday-line: rgba(255, 255, 255, .22);
  --allday-surface: #080808;
  --allday-blend: clamp(100px, 16vw, 240px);
  --motion-rings-top: 48%;
  --motion-rings-left: 69%;
  --motion-rings-width: min(75vw, 1100px);
  --motion-rings-width-mobile: 115vw;
  --motion-ring-clockwise-top: 50%;
  --motion-ring-clockwise-left: 5%;
  --motion-ring-clockwise-size: 60%;
  --motion-ring-counter-top: 50%;
  --motion-ring-counter-left: 35%;
  --motion-ring-counter-size: 60%;
  height: auto;
  background: var(--allday-surface);
  line-height: normal;
  letter-spacing: normal;
}

body.allday-page *,
body.allday-page *::before,
body.allday-page *::after {
  line-height: normal;
  letter-spacing: normal;
}

/* JS sets this only while observing scroll-driven text transitions. */
.allday-page [data-text-state="hidden"] { opacity: 0; }
.js .allday-page main:not(.isTextMotionReady) :is([data-splitting], [data-fade]) { opacity: 0; }

.allday-page main > section { height: auto; overflow: clip; }
.alldayRingsViewport {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

/* Backgrounds dissolve into a shared surface at every chapter boundary. */
.allday-page .siteFooter { background: var(--allday-surface); }
.allday-page .siteFooter,
.allday-page .siteFooter__inner { min-height: 0; }
.allday-page .siteFooter::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--allday-blend));
  mask-image: linear-gradient(to bottom, transparent, #000 var(--allday-blend));
}

/* Only position and size vary by chapter; opacity follows main.css. */
body.allday-page.is-allday-section2 {
  --motion-rings-top: 52%; --motion-rings-left: 27%;
  --motion-rings-width: min(52vw, 740px);
  --motion-ring-clockwise-top: 50%;
  --motion-ring-clockwise-left: 11%;
  --motion-ring-clockwise-size: 78%;
  --motion-ring-counter-top: 50%;
  --motion-ring-counter-left: 24%;
  --motion-ring-counter-size: 52%;
}
body.allday-page.is-allday-section3 {
  --motion-rings-top: 55%; --motion-rings-left: 30%;
  --motion-rings-width: min(58vw, 820px);
  --motion-ring-clockwise-top: 30%;
  --motion-ring-clockwise-left: 20%;
  --motion-ring-clockwise-size: 60%;
  --motion-ring-counter-top: 70%;
  --motion-ring-counter-left: 20%;
  --motion-ring-counter-size: 60%;
}
body.allday-page.is-allday-section4 {
  --motion-rings-top: 63%; --motion-rings-left: 86%;
  --motion-rings-width: min(60vw, 800px);
}
body.allday-page.is-allday-section5 {
  --motion-rings-top: 52%; --motion-rings-left: 28%;
  --motion-rings-width: min(60vw, 820px);
}
body.allday-page.is-allday-section6 {
  --motion-rings-top: 50%; --motion-rings-left: 50%;
  --motion-rings-width: min(80vw, 1050px);
}

.alldayContainer {
  position: relative;
  z-index: 3;
  width: min(100%, 1680px);
  margin-inline: auto;
  padding-inline: var(--allday-gutter);
}
.alldaySectionInner { padding-block: clamp(64px, 6vw, 100px); }
.alldaySectionLabel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--allday-line);
  color: #b5b5b5;
  font-family: var(--Michroma);
  font-size: 11px;
}
.alldaySectionLabel span:last-child { flex-shrink: 0; }
.alldayEyebrow {
  display: block;
  color: var(--Main);
  font-family: var(--Michroma);
  font-size: clamp(11px, .9vw, 14px);
  font-weight: 400;
}
.alldayTitle { font-size: clamp(30px, 3.55vw, 58px); font-weight: 300; overflow-wrap: anywhere; }
.alldaySubtitle { margin-top: 24px; font-size: clamp(16px, 1.3vw, 21px); font-weight: 400; }
.allday-page p { font-size: 16px; }
.alldayContainer p { font-family: var(--Michroma); }
.allday-page :is(a, button):focus-visible { outline: 2px solid var(--Main); outline-offset: 7px; }

.alldayHero { display: flex; align-items: stretch; }
.alldayHero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .65), rgba(8, 8, 8, .22) 48%, transparent 78%),
    linear-gradient(0deg, var(--allday-surface), rgba(8, 8, 8, .65) 18%, transparent 66%),
    linear-gradient(180deg, rgba(8, 8, 8, .18), transparent 25%);
  pointer-events: none;
}
.alldayHero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
  min-height: 100svh;
  padding-block: 130px 150px;
}
.alldayHero__copy {
  position: relative;
  align-self: center;
  min-width: 0;
  width: 100%;
  max-width: 760px;
  color: var(--White);
  font-family: var(--Michroma);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: left;
  transform-style: preserve-3d;
}
.alldayHero__product {
  --allday-product-shift: -7%;
  align-self: center;
  width: 100%;
  aspect-ratio: 2320 / 2038;
  max-height: min(70svh, 760px);
  pointer-events: none;
}
.alldayProduct {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(12px 28px 30px rgba(0, 0, 0, .3));
  transform: translateX(var(--allday-product-shift, 0%));
  pointer-events: none;
}
/* One image crosses the section boundaries without being clipped. */
.alldayProduct--scrolling {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  height: auto;
  transform-origin: 0 0;
}
.alldayHero__copy h4,
.alldayHero__copy h1,
.alldayHero__copy p { color: var(--White); }
.alldayHero__copy h4 { color: var(--Main); font-size: .9rem; font-weight: 300; }
.alldayHero__copy h1 { font-size: 3.2em; font-weight: 300; }
.alldayHero__copy p { font-size: 18px; }
.alldayHero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.alldayHero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.alldayIntro__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}
.alldayIntro__image {
  align-self: center;
  aspect-ratio: 2320 / 2038;
  padding-bottom: 36px;
}
.alldayIntro__copy .alldaySubtitle { color: var(--Main); margin-block: 22px 26px; }
.alldayIntro__copy p + p { margin-top: 20px; }
.alldayIntro__copy p, .alldayDetails p, .alldayDesign p { color: #c5c5c5; }
.alldayDetails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 72px; }
.alldayDetails article { border-top: 1px solid var(--allday-line); padding-top: 24px; }
.alldayNumber { color: var(--Main); font-family: var(--Michroma); font-size: 12px; }
.alldayDetails h3 { margin-block: 20px 14px; font-size: 23px; }

.alldayDesign__background, .alldayDesign__background::after { position: absolute; inset: 0; }
.alldayDesign__background {
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--allday-blend), #000 calc(100% - var(--allday-blend)), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 var(--allday-blend), #000 calc(100% - var(--allday-blend)), transparent);
}
.alldayDesign__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
}
.alldayDesign__background::after {
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .27), rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .75)), linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 70%);
  pointer-events: none;
}
.alldayDesign__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 160px); }
.alldayDesign__intro { align-self: end; padding-block: 50px; }
.alldayProductIcon { display: block; width: 100px; height: auto; margin-bottom: 32px; }
.alldayDesign__intro > p { max-width: 470px; margin-top: 28px; color: #eee; }
.alldayOccasions { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 32px; }
.alldayOccasions li { padding-bottom: 9px; border-bottom: 1px solid rgba(255, 255, 255, .5); font-size: 13px; }
.alldayDesign__specs {
  padding: 14px 32px;
  background: var(--Glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.alldayDesign__specs article { padding-block: 28px; }
.alldayDesign__specs article + article { border-top: 1px solid var(--allday-line); }
.alldayDesign__specs h3 { margin-block: 12px 16px; font-size: 20px; }
.alldayDesign__specs p { font-size: 15px; }

.alldayEvidence > .alldayContainer > .alldaySubtitle { color: #b8b8b8; }
.alldayMetrics { display: grid; grid-template-columns: 1fr 1fr; margin-top: 64px; border-block: 1px solid var(--allday-line); }
.alldayMetric { padding: 40px 0; }
.alldayMetric + .alldayMetric { padding-left: 50px; border-left: 1px solid var(--allday-line); }
.alldayMetric__label { color: #b8b8b8; }
.alldayMetric .alldayMetric__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block: 24px;
  color: var(--Main);
  font-family: var(--Michroma);
  font-size: clamp(44px, 6.2vw, 100px);
}
.alldayMetric__direction, .alldayMetric__unit { font-size: .4em; }
.alldayMetric h3 { font-size: 20px; }
.alldayEvidence .alldayEvidence__note { margin-top: 24px; color: #aaa; font-size: 12px; }
.alldayContact { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 50px; margin-top: 100px; }
.alldayContact .alldayTitle { font-size: clamp(28px, 2.9vw, 46px); }
.alldayContact__copy > p { margin-top: 22px; color: #aaa; }
.alldayContact__result { padding-left: 50px; border-left: 1px solid var(--Main); }
.alldayContact__result .alldayContact__value { margin-block: 18px; font-family: var(--Michroma); font-size: clamp(40px, 5vw, 80px); }
.alldayContact__unit { font-size: .45em; }

/* Reserve the final number's width while its visible value counts up. */
.alldayCount { display: inline-grid; font-variant-numeric: tabular-nums; text-align: right; }
.alldayCount > span, .alldayCount::after { grid-area: 1 / 1; }
.alldayCount::after { content: attr(data-count-to); visibility: hidden; }
.alldayVisuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.alldayEssentials__layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; margin-top: 60px; }
.alldayEssentials__product img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.alldayEssentials__product figcaption { margin-top: 24px; text-align: center; color: #a6a6a6; font-family: var(--Michroma); font-size: 11px; }
.alldayEssentials__list li { display: flex; align-items: baseline; gap: 28px; padding-block: 28px; border-bottom: 1px solid var(--allday-line); }
.alldayEssentials__list li:first-child { border-top: 1px solid var(--allday-line); }
.alldayEssentials__list h3 { font-size: clamp(18px, 1.65vw, 26px); }
.alldayEssentials__list p { margin-top: 12px; color: #b8b8b8; }

.alldayExplore { display: grid; place-items: center; min-height: 100svh; text-align: center; }
.alldayExplore::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 65%, rgba(105, 61, 34, .25), transparent 65%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  pointer-events: none;
}
.alldayExplore__word {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--Michroma);
  font-size: 14.5vw;
  white-space: nowrap;
  color: rgba(255, 255, 255, .025);
  pointer-events: none;
}
.alldayExplore__inner { padding-block: 120px; }
.alldayExplore .alldayProductIcon { width: 90px; margin: 42px auto 32px; }
.alldayExplore .alldayTitle { font-size: clamp(36px, 5vw, 78px); }
.alldayExplore p { margin-top: 24px; color: #c5c5c5; font-size: clamp(17px, 1.7vw, 24px); }
.alldayButton {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  margin-top: 42px;
  padding: 20px 28px;
  color: var(--White);
  background: var(--Main);
  font-size: 15px;
  transition: color .2s ease, background .2s ease;
}
.alldayButton span { font-size: 22px; }
.alldayButton:hover { background: var(--White); color: var(--Black); }

@media (max-width: 1024px) {
  body.allday-page { --scroll-right: 10px; }
  .alldayIntro__layout, .alldayDesign__layout, .alldayEssentials__layout { gap: 36px; }
  .alldayDesign__specs { padding-inline: 24px; }
  .alldayMetric + .alldayMetric, .alldayContact__result { padding-left: 30px; }
}

@media (orientation: portrait), (max-width: 767px) {
  .alldayHero__layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: clamp(24px, 3vh, 40px);
    padding-block: 110px 120px;
  }
  .alldayHero__product {
    --allday-product-shift: -4%;
    order: -1;
    width: min(100%, 600px);
    max-height: min(34svh, 460px);
  }
  .alldayHero__copy h1 { font-size: clamp(36px, 6vw, 58px); }
  .alldayHero::after {
    background:
      linear-gradient(0deg, var(--allday-surface), rgba(8, 8, 8, .8) 24%, rgba(8, 8, 8, .22) 66%, rgba(8, 8, 8, .1)),
      linear-gradient(90deg, rgba(8, 8, 8, .25), transparent 75%);
  }
  body.allday-page.is-allday-hero { --motion-rings-top: 42%; --motion-rings-left: 58%; }
  body.allday-page.is-allday-section2 {
    --motion-rings-top: 46%;
    --motion-rings-left: 50%;
    --motion-rings-width: min(88vw, 620px);
  }
  body.allday-page.is-allday-section3 {
    --motion-rings-top: 58%;
    --motion-rings-left: 47%;
    --motion-rings-width: min(86vw, 640px);
  }
  .alldayIntro__layout { grid-template-columns: 1fr; }
  .alldayIntro__copy { max-width: 700px; }
  .alldayDesign__layout { grid-template-columns: 1fr; gap: 48px; }
  .alldayDesign__intro { padding-block: 120px 0; }
  .alldayDesign__intro > p { max-width: 600px; }
  .alldayDesign__background { max-height: 1000px; }
  .alldayDesign__background img { object-position: 22% top; }
  .alldayDesign__background::after { background: linear-gradient(0deg, var(--allday-surface), rgba(0, 0, 0, .5) 40%, rgba(0, 0, 0, .12)); }
  .alldayDesign__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .alldayDesign__specs article:nth-child(2) { border-top: 0; }
  .alldayContact { gap: 32px; }
  .alldayEssentials__layout { grid-template-columns: 1fr; gap: 40px; }
  .alldayEssentials__product { width: min(100%, 500px); margin-inline: auto; }
}

@media (max-width: 600px) {
  .alldaySectionLabel { margin-bottom: 38px; gap: 16px; font-size: 9px; }
  .alldayHero__layout { padding-block: 100px 112px; }
  .alldayHero__copy h4 { font-size: 12px; }
  .alldayHero__copy p { font-size: 14px; }
  .alldayDetails, .alldayDesign__specs, .alldayMetrics, .alldayContact { grid-template-columns: 1fr; }
  .alldayDetails { gap: 30px; margin-top: 44px; }
  .alldayDetails article { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: baseline; }
  .alldayDetails h3 { margin: 0; font-size: 22px; }
  .alldayDetails p { grid-column: 2; }
  .alldayDesign__specs { padding: 0 22px; }
  .alldayDesign__specs article:nth-child(2) { border-top: 1px solid var(--allday-line); }
  .alldayDesign__intro { padding-top: 100px; }
  .alldayDesign__background { max-height: 800px; }
  .alldayDesign__background img { object-position: 14% top; }
  body.allday-page.is-allday-section2 {
    --motion-rings-top: 33%;
    --motion-rings-left: 50%;
    --motion-rings-width: 104vw;
  }
  body.allday-page.is-allday-section3 {
    --motion-rings-top: 54%;
    --motion-rings-left: 50%;
    --motion-rings-width: 106vw;
  }
  .alldayProductIcon { width: 72px; }
  .alldayMetrics { margin-top: 40px; }
  .alldayMetric + .alldayMetric { padding-left: 0; border-left: 0; border-top: 1px solid var(--allday-line); }
  .alldayMetric .alldayMetric__value { font-size: clamp(44px, 13vw, 76px); }
  .alldayContact { margin-top: 70px; gap: 40px; }
  .alldayContact__result .alldayContact__value { font-size: clamp(40px, 12vw, 68px); }
  .alldayEssentials__layout { margin-top: 38px; }
  .alldayEssentials__list li { gap: 22px; padding-block: 24px; }
}

@media (orientation: portrait) {
  .alldayHero__product { transform: translateY(clamp(-40px, -4svh, -24px)); }

  /* Keep the rings centered on the product throughout its scroll journey. */
  body.allday-page:is(.is-allday-hero, .is-allday-section2) .motionRings {
    top: var(--allday-product-center-y, 42%);
    left: var(--allday-product-center-x, 50%);
    transition-property: opacity, width;
  }
}

@media (orientation: portrait) and (min-width: 601px) {
  .alldayHero__product {
    width: min(100%, 720px);
    max-height: min(42svh, 560px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .allday-page main:not(.isTextMotionReady) :is([data-splitting], [data-fade]) { opacity: 1; }
  .allday-page .scroll .dot { animation: none; }
  .alldayButton { transition: none; }
}
