@import url("fonts.css");
@import url("layout.css");
/* Playground panel font: Neue Haas Grotesk Display Pro 65 Medium */
@font-face {
  font-family: "Panel Haas";
  src:
    local("Neue Haas Grotesk Display Pro 65 Medium"),
    local("NHaasGroteskDSPro-65Md"),
    url("fonts/HaasGrotDisp-65Medium.otf") format("opentype");
  font-weight: 500;
}
/* Blocks page — reproduces the blocks of Figma "Aperture" (10807:40096, 10704:57073)
   and "Text + CTA" (10807:40681). Separate from the PLP (styles.css). */

:root {
  --font-text: "Focal Text", "Focal Text Trial", system-ui, sans-serif;
  --font-davinci: "DaVinci", "TRJN DaVinci", Georgia, serif;
  --black: #000;
  --white: #fff;
  --gutter: 16px;

  /* playground, driven by blocks.js */
  --p-max: 600px;
  --cta-pad-t: 6px;
  --cta-pad-b: 6px;
  --cta-pad-l: 16px;
  --cta-pad-r: 16px;
  --cta-radius: 3px;
  --cta-border: 0.5px;
  --tag-pad-t: 1px;
  --tag-pad-b: 1px;
  --tag-pad-x: 5px;
  --tag-radius: 3px;
  --cta-hover-sat: 2.2;
  --cta-duration: 400ms;
  --cta-stroke: 1; /* stroke opacity on flat backgrounds */
  --cta-spot: 90px;
  --cta-spot-strength: 0.9;
  --card-cta-fill: 0.22;
  --card-cta-sat: 1.6;
  --card-cta-alpha: 0.45;
  /* CTA width modes (site.js, body[data-cta-layout]) */
  --cta-grid: 8; /* "same width": columns of the page grid */
  --cta-cols: 1.5;
  --cta-fixed-w: calc(
    (100vw - 2 * var(--gutter) - (var(--cta-grid) - 1) * var(--gutter)) / var(--cta-grid) * var(--cta-cols) +
      (var(--cta-cols) - 1) * var(--gutter)
  );
  --cta-pad-r-fit: 72px; /* "wide right padding" */

  /* page tint (blocks.js sets --tint-color and --tint-amount 0–1) */
  --tint-color: #fff;
  --tint-amount: 0;
  --tint-max: 30%;
  --tint-duration: 800ms;
  --header-h: 42px;

  /* light on frosted blocks (Component 197, 10807:41330) */
  --light-grain: 6%;
  --light-duration: 700ms;
  --block-gap: 300px;

  /* billboard CTA glow */
  --glow-rgb: 255 149 0;
  --glow-tint: 0.14;
  --glow-edge: 0.5;
  --glow-blend: saturation;
  --glow-duration: 250ms;

  /* "70 years" foot panel hover */
  --foot-pad-top: 96px;
  --foot-color: 0.31;
  --foot-side: 0px;
}

/* the tint transitions through these registered values */
@property --foot-on {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --glow {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --tint-amount {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --tint-color {
  syntax: "<color>";
  inherits: true;
  initial-value: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  /* defined here, where --tint-amount/--tint-color animate */
  --page-bg: color-mix(
    in srgb,
    var(--tint-color) calc(var(--tint-amount) * var(--tint-max)),
    #fff
  );
  margin: 0;
  background: var(--page-bg);
  transition:
    --tint-amount var(--tint-duration) ease,
    --tint-color var(--tint-duration) ease;
  color: var(--black);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
img {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
  font-weight: inherit;
}

/* ---------- Text styles ---------- */
/* Focal Text S 14 */
/* weight, tracking and line height come from the panel (site.js) */
:root {
  --ft-weight: 400;
  --ft-size: 14px;
  --ft-m-size: 26px;
  --ft-xs-size: 10px;
  --ft-tracking: 0.03em;
  --ft-leading: 1.3;
  --ft-m-tracking: 0.01em;
  --ft-m-leading: 1;
}
body {
  font-weight: var(--ft-weight);
}
.t-14,
body {
  font-size: var(--ft-size);
  line-height: var(--ft-leading);
  letter-spacing: var(--ft-tracking);
}
/* Focal Text M 26 */
.t-26 {
  font-size: var(--ft-m-size);
  line-height: var(--ft-m-leading);
  letter-spacing: var(--ft-m-tracking);
}
/* Focal Text XS 10 */
.t-10 {
  font-size: var(--ft-xs-size);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
/* DaVinci XL 2 */
/* DaVinci sizes come from the panel (sizes.js), in px or vw */
:root {
  --dv-title: 64px;
  --dv-billboard: 64px;
  --dv-small: 48px;
  --dv-statement: 76px;
  /* weight, tracking and line height (panel, site.js) */
  --dv-weight: 500;
  --dv-tracking: -0.03em;
  --dv-leading: 1.1;
  --dv-st-tracking: -0.02em;
  --dv-st-leading: 0.95;
}
.t-davinci {
  font-family: var(--font-davinci);
  font-weight: var(--dv-weight);
  font-size: var(--dv-title);
  line-height: var(--dv-leading);
  letter-spacing: var(--dv-tracking);
}
/* DaVinci 48 */
.billboard .t-davinci,
.sb .t-davinci {
  font-family: var(--font-billboard, var(--font-davinci)); /* panel: Billboard font */
  font-size: var(--dv-billboard);
  letter-spacing: var(--bb-tracking, var(--dv-tracking));
}
.t-davinci-48 {
  font-family: var(--font-davinci);
  font-weight: var(--dv-weight);
  font-size: var(--dv-small);
  line-height: var(--dv-leading);
  letter-spacing: calc(var(--dv-tracking) + 0.01em); /* a touch looser than the large titles */
}
.paragraph {
  max-width: var(--p-max);
}
.muted {
  opacity: 0.5;
}
.on-dark {
  color: var(--white);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  padding: 0 var(--gutter);
  background: transparent;
  transition:
    color 300ms ease,
    background-color 300ms ease;
}
/* Header sits over the first block (Figma 10825:49320 / 49325) */
.header + main {
  margin-top: calc(-1 * var(--header-h));
}
[data-header-bg="solid"] .header {
  background: var(--page-bg);
}
[data-header-bg="solid"] .header + main {
  margin-top: 0;
}
/* "bianco": white text over photos */
.header[data-theme="light"] {
  color: var(--white);
}
.header__logo img {
  transition: filter 300ms ease;
}
.header[data-theme="light"] .header__logo img {
  filter: invert(1);
}
/* parts of the header over a photo half (data-header="split", blocks.js) */
.header .is-light {
  color: var(--white);
}
.header .header__logo.is-light img {
  filter: invert(1);
}
.header__left {
  display: flex;
  align-items: flex-start;
  min-width: 50%; /* grows past the half when the nav needs it */
  padding: 12px 0;
}
.header__logo {
  width: 170px;
  flex-shrink: 0;
  padding-top: 1px;
}
.header__nav {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}
.header__right {
  flex: 1;
  justify-content: flex-end;
  padding: 12px 0;
}

/* ---------- Tag ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--tag-pad-t) var(--tag-pad-x) var(--tag-pad-b);
  border-radius: var(--tag-radius);
  background: rgb(0 0 0 / 0.05);
  white-space: nowrap;
}
.tag--stroke {
  background: none;
  box-shadow: inset 0 0 0 0.7px var(--black);
}
.tag--teal {
  background: rgb(64 129 130 / 0.2);
}
.tag--brown {
  background: rgb(142 122 103 / 0.2);
}

/* ---------- CTA ----------
   All variants share padding/radius/border from the playground.
   - Default CTAs (grey fill) have no stroke; on hover a white spot follows the
     cursor (blocks.js sets --cx/--cy).
   - Stroke CTAs on flat backgrounds keep their stroke.
   - CTAs on images / media have no stroke; inside frosted cards they get either
     a stroke or a lighter fill, chosen in the panel (body[data-card-cta]). */
.cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: var(--cta-pad-t) var(--cta-pad-r) var(--cta-pad-b) var(--cta-pad-l);
  border: var(--cta-border) solid transparent;
  border-radius: var(--cta-radius);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
  transition:
    background-color var(--cta-duration) ease,
    border-color var(--cta-duration) ease,
    color var(--cta-duration) ease,
    backdrop-filter var(--cta-duration) ease,
    -webkit-backdrop-filter var(--cta-duration) ease;
}

/* Default: grey fill, no stroke, white spot following the cursor on hover */
/* Width modes. CTAs centered under a title (site.js marks them [data-cta-center])
   stay centered, with even padding. "Same width" never cuts a label: a longer one grows. */
[data-cta-layout="fixed"] .cta:not([data-cta-center]) {
  justify-content: flex-start;
  width: var(--cta-fixed-w);
  min-width: max-content;
  max-width: 100%;
}
[data-cta-layout="fit"] .cta:not([data-cta-center]) {
  padding-right: var(--cta-pad-r-fit);
}
/* in both modes, centered CTAs get the wide padding on both sides */
:is([data-cta-layout="fixed"], [data-cta-layout="fit"]) .cta[data-cta-center] {
  padding-inline: var(--cta-pad-r-fit);
}
.cta--grey {
  background-color: rgb(0 0 0 / 0.05);
}
.cta--grey::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  /* white, or a color a container gives it (--cta-spot-rgb, e.g. the PDP hero's) */
  background: radial-gradient(
    in oklab circle var(--cta-spot) at var(--cx, 50%) var(--cy, 50%),
    rgb(var(--cta-spot-rgb, 255 255 255)),
    rgb(var(--cta-spot-rgb, 255 255 255) / 0.45) 35%,
    transparent
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--cta-duration) ease;
}
.cta--grey:hover::after {
  opacity: var(--cta-spot-strength);
}

/* Stroke (flat backgrounds) */
.cta--stroke {
  border-color: rgb(0 0 0 / var(--cta-stroke));
}
.cta--stroke:hover {
  background-color: rgb(0 0 0 / 0.05);
}
/* Filled in the block's own color (the saturated tone of its photo, blocks.js) */
.cta--reactive {
  border-color: transparent;
  background-color: var(--cta-reactive, rgb(0 0 0 / 0.05));
}
.cta--reactive:hover {
  background-color: var(--cta-reactive-hover, rgb(0 0 0 / 0.1));
}
/* Dark / color fills: no stroke */
.cta--dark {
  background-color: rgb(0 0 0 / 0.55);
  color: var(--white);
}
.cta--dark:hover {
  background-color: rgb(0 0 0 / 0.75);
}
.cta--color {
  background-color: rgb(99 45 20 / 0.45);
  color: var(--white);
}
.cta--color:hover {
  background-color: rgb(99 45 20 / 0.65);
}
/* Glass, directly on images: no stroke */
.cta--glass {
  background-color: rgb(255 255 255 / 0.15);
  color: var(--white);
}
.cta--glass:hover {
  background-color: rgb(255 255 255 / 0.3);
}
/* Inside frosted cards: stroke or lighter fill (panel option) */
.cta--outline-light {
  color: var(--white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
[data-card-cta="stroke"] .cta--outline-light {
  border-color: rgb(255 255 255 / 0.6);
}
[data-card-cta="stroke"] .cta--outline-light:hover {
  border-color: var(--white);
  background-color: rgb(255 255 255 / 0.12);
}
/* default: no stroke, the card's own color a little more saturated */
[data-card-cta="tint"] .cta--outline-light {
  background-color: hsl(
    from var(--card-rgb, rgb(255 255 255)) h calc(s * var(--card-cta-sat)) l /
      var(--card-cta-alpha)
  );
}
[data-card-cta="tint"] .cta--outline-light:hover {
  background-color: hsl(
    from var(--card-rgb, rgb(255 255 255)) h
      calc(s * var(--card-cta-sat) * 1.25) l / calc(var(--card-cta-alpha) + 0.2)
  );
}
[data-card-cta="fill"] .cta--outline-light {
  background-color: rgb(255 255 255 / var(--card-cta-fill));
}
[data-card-cta="fill"] .cta--outline-light:hover {
  background-color: rgb(255 255 255 / calc(var(--card-cta-fill) + 0.15));
}
/* Story */
.cta--story {
  background-color: rgb(93 36 36 / 0.1);
  border-color: rgb(93 36 36 / 0.4);
}
.cta--story:hover {
  background-color: rgb(93 36 36 / 0.2);
}

/* Billboard CTA (hover logic of 10372:58436). blocks.js sets, from the cursor:
   --glow 0–1 (1 on the button, a fraction when the cursor is near) and --gangle
   (points at the cursor). The button warms up and saturates what's behind it,
   strongest on the side facing the cursor. */
.cta--billboard {
  --glow: 0;
  background-color: rgb(210 184 184 / 0.3);
  color: var(--white);
  -webkit-backdrop-filter: blur(17px)
    saturate(calc(1 + var(--glow) * (var(--cta-hover-sat) - 1)));
  backdrop-filter: blur(17px)
    saturate(calc(1 + var(--glow) * (var(--cta-hover-sat) - 1)));
  transition:
    --glow var(--glow-duration) ease,
    border-color var(--cta-duration) ease;
}
.cta--billboard::before,
.cta--billboard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: var(--glow);
  pointer-events: none;
}
/* warm wash */
.cta--billboard::before {
  background: linear-gradient(
    90deg,
    rgb(var(--glow-rgb) / calc(var(--glow-tint) * 1)),
    rgb(var(--glow-rgb) / calc(var(--glow-tint) * 1.1)) 50%,
    rgb(var(--glow-rgb) / calc(var(--glow-tint) * 1))
  );
}
/* color brightest where the cursor is on the button (--gx / --gy, blocks.js) */
.cta--billboard::after {
  background: radial-gradient(
    in oklab ellipse 70% 160% at var(--gx, 50%) var(--gy, 50%),
    rgb(var(--glow-rgb) / var(--glow-edge)),
    rgb(var(--glow-rgb) / calc(var(--glow-edge) * 0.5)) 45%,
    rgb(var(--glow-rgb) / 0.02) 100%
  );
  mix-blend-mode: var(--glow-blend);
}
/* the glow in the block's own color (blocks.js: --glow-rgb-block), e.g. light blue on
   the glass billboard */
.cta--adaptive {
  --glow-rgb: var(--glow-rgb-block, 210 184 184);
  --cta-hover-sat: 3.4; /* the photo behind it, more saturated on hover (hero: 2.2) */
}
/* at rest too: the block's color instead of the hero's warm fill */
.cta--billboard.cta--adaptive {
  background-color: rgb(var(--glow-rgb-block, 210 184 184) / 0.3);
}
/* no stroke on the hero CTA (border stays, transparent, so padding is unchanged) */
.cta--billboard,
.cta--billboard:hover {
  border-color: transparent;
}

/* ---------- Shared block pieces ---------- */
.block {
  position: relative;
}
.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.stack--center {
  align-items: center;
  text-align: center;
}
.text-block {
  padding: var(--gutter);
}
.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* two exact halves, whatever the images' size */
}
.split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* blocks are spaced by --block-gap (main is a flex column) */
main {
  display: flex;
  flex-direction: column;
  gap: var(--block-gap);
}
.section-gap {
  margin-block: 0;
}

/* Full-bleed image with the text in the left half */
/* Billboards fill the viewport. The title is centered on the page; the
   description block sits at the bottom left and is sticky to the bottom of the
   viewport while the billboard scrolls in. overflow: clip (not hidden) so the
   billboard doesn't become a scroll container and sticky keeps working. */
.billboard {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: clip;
  color: var(--white);
}
/* title centered in the left half of the page */
.billboard > .billboard__center {
  position: absolute;
  inset: 0 50% 0 0;
}
.billboard > .billboard__foot {
  position: sticky;
  bottom: 0;
  align-self: flex-start;
}
/* newsletter keeps its two halves */
.billboard.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.billboard.newsletter > .billboard__center {
  position: relative;
  inset: auto;
}
.billboard--dim::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 0.2);
}
.billboard__center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 60px 50px;
  text-align: center;
}
.billboard__foot {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  padding: var(--gutter);
}

/* Foot panel (Component 173): transparent at rest; on hover a pale blue color and
   a progressive blur rise from the bottom and fade to nothing toward the top.
   blocks.js builds the masks: --foot-color-ramp for the color, and one mask per
   blur layer in .foot-panel__blur (stacked layers, each reaching a little lower,
   so the blur grows toward the bottom). --foot-side fades the right edge. */
.foot-panel {
  --foot-side-mask: linear-gradient(
    to left,
    transparent,
    #000 var(--foot-side),
    #000
  );
  width: min(591px, 100%);
  padding-top: var(--foot-pad-top);
}
.foot-panel {
  --foot-on: 0;
  transition: --foot-on var(--cta-duration) ease;
}
.foot-panel:hover {
  --foot-on: 1;
}
.foot-panel::after,
.foot-panel__blur {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.foot-panel::after {
  opacity: var(--foot-on);
}
.foot-panel::after {
  content: "";
  background: rgb(173 221 253 / var(--foot-color));
  -webkit-mask-image: var(--foot-color-ramp), var(--foot-side-mask);
  mask-image: var(--foot-color-ramp), var(--foot-side-mask);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.foot-panel__blur {
  z-index: -2;
}
.foot-panel__blur > div {
  position: absolute;
  inset: 0;
  /* the blur itself animates (not opacity, which would cut the backdrop mid-fade) */
  -webkit-backdrop-filter: blur(calc(var(--layer-blur) * var(--foot-on)));
  backdrop-filter: blur(calc(var(--layer-blur) * var(--foot-on)));
  -webkit-mask-image: var(--layer-mask), var(--foot-side-mask);
  mask-image: var(--layer-mask), var(--foot-side-mask);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.foot-panel__cta {
  background-color: rgb(255 255 255 / 0.12);
  color: var(--white);
}
.foot-panel:hover .foot-panel__cta {
  border-color: transparent;
  background-color: rgb(118 142 157 / 0.7);
}

/* ---------- 2. Text + CTA variants ---------- */
.text-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px var(--gutter);
  padding-block: 80px;
}

/* ---------- 4. Product split (T-35 Trio) ---------- */
.product-split__left {
  position: relative;
}
.product-split__sticky {
  position: sticky;
  top: 42px;
  height: calc(100vh - 42px);
  max-height: 810px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 98px;
}
.product-split__shot {
  width: 82%;
  aspect-ratio: 1240 / 827;
  object-fit: contain;
}
.product-split__foot {
  position: absolute;
  left: 0;
  bottom: 0;
}
.product-split__right {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

/* ---------- 5. Homescapes split ---------- */
.homescapes__left {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
}
.homescapes__detail {
  width: 50%;
  aspect-ratio: 360 / 405;
  object-fit: cover;
}
.homescapes__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 29px;
  padding: 60px 50px;
}

/* ---------- 7. Reflected identities / 9. Saki ---------- */
.frosted-split__left {
  display: grid;
  place-items: center;
  min-height: min(810px, 100vh);
}
.frosted-split__left img {
  width: 50%;
  aspect-ratio: 360 / 405;
  object-fit: cover;
}
.frosted-split__right {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px;
  overflow: hidden;
}
.frosted-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 360px;
  max-width: 100%;
  min-height: 406px;
  border-radius: 2px;
  color: var(--white);
  text-align: left;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
}
.frosted-card > * {
  padding: var(--gutter);
}
/* --card-rgb is the card's fill color; its CTA uses a more saturated version */
.frosted-card--teal {
  --card-rgb: rgb(169 205 205);
  background: rgb(169 205 205 / 0.21);
}
.frosted-card--sand {
  --card-rgb: rgb(239 220 209);
  background: rgb(239 220 209 / 0.4);
}
.frosted-card--green {
  --card-rgb: rgb(102 142 116);
  background: rgb(102 142 116 / 0.4);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}
.saki__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: min(810px, 100vh);
  text-align: center;
}
.saki__left img {
  width: 80%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin-bottom: 38px;
}
.saki__right {
  aspect-ratio: 2 / 3;
}

/* Light: a brighter, more saturated version of the photo's color spills into the
   white half, the card catches a glow and its CTA fills in. blocks.js builds the
   gradients (--spill-bg, --card-bg) with many eased stops in oklab, so there are
   no visible bands; a faint grain hides what's left. [data-lit] is set on hover /
   in view depending on the "Turns on" option. */
[data-light] {
  --lit: 0;
  isolation: isolate; /* keeps the spill (z-index -1) behind the block's content */
}
[data-light][data-lit] {
  --lit: 1;
}
[data-light]::before,
[data-light]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity var(--light-duration) ease;
}
[data-light]::before {
  background: var(--spill-bg, none);
  opacity: var(--lit);
}
[data-light]::after {
  right: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: calc(var(--lit) * var(--light-grain));
}
[data-light] .frosted-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--card-bg, none);
  opacity: var(--lit);
  pointer-events: none;
  transition: opacity var(--light-duration) ease;
}
[data-light] .frosted-card > * {
  position: relative;
}
[data-light][data-lit] .cta--outline-light {
  border-color: transparent;
  background-color: rgb(243 253 255 / 0.4);
}
/* the whole light (spill, card glow, CTA fill) takes the same time */
[data-light] .cta--outline-light {
  transition-duration: var(--light-duration);
}

/* ---------- 8. Newsletter ---------- */
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgb(0 0 0 / 0.4), transparent);
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field {
  display: block;
  padding: 4px 0;
  border-bottom: 0.5px solid var(--white);
}
.field input {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  outline: none;
}
.field input::placeholder {
  color: var(--white);
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
}
.checkbox input {
  appearance: none;
  width: 7px;
  height: 7px;
  margin: 0;
  border: 0.8px solid var(--white);
  border-radius: 2px;
}
.checkbox input:checked {
  background: var(--white);
}

/* ---------- 10. PDP hero ---------- */
.pdp-hero {
  display: flex;
  align-items: flex-end;
  gap: var(--gutter);
}
.pdp-hero__img {
  flex: 1;
  min-width: 0;
  aspect-ratio: 1068 / 810;
  object-fit: cover;
}
.pdp-hero__list {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  width: 168px;
  padding-right: var(--gutter);
}
.name-tag {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---------- 11. Next story ---------- */
.story__left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(810px, 100vh);
  padding: 0 50px 160px;
}
.story__right {
  aspect-ratio: 720 / 986;
}

/* ---------- Product grids ---------- */
.grid-title {
  padding: 0 var(--gutter) var(--gutter);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 80px var(--gutter);
  padding: var(--gutter);
}
.product-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 120px var(--gutter);
}
.product {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product img {
  width: 100%;
  aspect-ratio: 300 / 163;
  object-fit: contain;
  padding: 0 20px;
}
.product-grid--2 .product img {
  aspect-ratio: 696 / 293;
  padding: 0;
}
.product img.is-opaque {
  mix-blend-mode: multiply;
}

/* ---------- 13. Carousel with arrows ---------- */
.carousel {
  position: relative;
  padding: var(--gutter) 0;
}
.carousel__track {
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 25%;
  padding-inline: 25%;
  padding-bottom: 8px; /* keeps the caption's descenders inside the scroller */
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__item {
  flex: 0 0 50%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 400ms ease;
}
.carousel__item:not(.is-current) {
  opacity: 0.35;
}
.carousel__item:not(.is-current) .carousel__caption {
  visibility: hidden;
}
.carousel__item img {
  width: 100%;
  aspect-ratio: 696 / 293;
  object-fit: contain;
}
.carousel__caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.arrow {
  display: inline-flex;
  justify-content: center;
  padding: 0 10px;
  border-radius: 2px;
  background: rgb(0 0 0 / 0.05);
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
  transition: background-color 200ms ease;
}
.arrow:hover {
  background: rgb(0 0 0 / 0.12);
}
.arrow--prev img {
  transform: scaleX(-1);
}
.carousel .arrow {
  position: absolute;
  top: calc(var(--gutter) + 0.17 * 50vw);
  z-index: 1;
}
.carousel .arrow--prev {
  left: calc(25% - 50px);
}
.carousel .arrow--next {
  right: calc(25% - 50px);
}

/* ---------- 14. Related products ---------- */
.related__head {
  display: flex;
  align-items: flex-end;
  gap: var(--gutter);
  padding: 0 var(--gutter);
}
.related__arrows {
  display: flex;
  gap: 7px;
  padding-bottom: 2px;
}
.related__arrows .arrow {
  padding: 0 12px 0 0;
  background: rgb(0 0 0 / 0.1);
}
.related__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * var(--gutter)) / 2.4);
  gap: var(--gutter);
  padding: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.related__track::-webkit-scrollbar {
  display: none;
}
.related__track .product {
  scroll-snap-align: start;
}
.related__track .product img {
  aspect-ratio: 577 / 293;
  padding: 0;
}

/* ---------- 15. Events & news ---------- */
.events__intro {
  padding: 0 var(--gutter) 32px;
}
.events__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  padding: 0 var(--gutter);
}
.event {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgb(0 0 0 / 0.7);
}
.event img {
  width: 100%;
  aspect-ratio: 341 / 480;
  object-fit: cover;
}

/* ---------- 16. Gallery ---------- */
.gallery {
  display: flex;
  gap: var(--gutter);
  padding: 0 var(--gutter) 180px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar {
  display: none;
}
.gallery img {
  flex: 0 0 auto;
  height: 540px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  scroll-snap-align: start;
}
.gallery img.is-wide {
  aspect-ratio: 3 / 2;
}

/* ---------- Playground controls ---------- */
.controls,
.controls button,
.controls select,
.controls input {
  font-family:
    "Panel Haas", "Neue Haas Grotesk Display Pro", "Helvetica Neue", sans-serif;
  font-weight: 500;
}
.controls {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 240px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  background: var(--white);
  border: 1px solid var(--black);
  font-size: 13px;
  letter-spacing: 0;
}
.controls[hidden] {
  display: none;
}
.controls__head {
  display: flex;
}
.controls__toggle {
  flex: 1;
  padding: 8px 10px;
  text-align: left;
}
.controls__close {
  padding: 8px 10px;
}
.controls__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 10px 10px;
}
.controls[data-collapsed] .controls__body {
  display: none;
}
.controls h2 {
  margin: 6px 0 -2px;
  padding-top: 8px;
  border-top: 1px solid #ddd;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777;
}
.controls__hint {
  color: #777;
}
.controls label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}
.controls output {
  margin-left: auto;
}
.controls input {
  flex: 1 0 100%;
  min-width: 0;
  font: inherit;
}
.controls input[type="color"] {
  height: 24px;
  padding: 0;
  border: 1px solid #ccc;
  background: none;
}
.controls .controls__check {
  flex-wrap: nowrap;
  align-items: center;
}
.controls .controls__check input {
  flex: none;
  margin: 0;
}
.presets {
  display: grid;
  gap: 6px;
}
.presets__select {
  width: 100%;
  font: inherit;
}
.presets__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.presets__actions button {
  padding: 3px 0;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.controls__export {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--black, #000);
  border-radius: 3px;
}
.controls__export:hover {
  background: var(--black, #000);
  color: #fff;
}
.presets__actions button:hover {
  border-color: var(--black);
}
.controls__reset {
  justify-self: start;
  padding: 3px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root {
    --dv-title: 44px;
    --dv-billboard: 44px;
    --dv-statement: 40px;
  }
  .split,
  .billboard,
  .text-variants {
    grid-template-columns: 1fr;
  }
  .billboard.newsletter {
    grid-template-columns: 1fr;
    height: auto;
  }
  .billboard > .billboard__center {
    inset: 0;
  }
  .product-split__sticky {
    position: relative;
    height: auto;
    padding-bottom: 140px;
  }
  .product-grid,
  .events__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header__left .header__nav {
    display: none;
  }
  .pdp-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .pdp-hero__list {
    width: auto;
    padding: 0 var(--gutter);
  }
  .carousel__item {
    flex-basis: 80%;
  }
  .carousel__track {
    padding-inline: 10%;
    scroll-padding-inline: 10%;
  }
  .gallery img {
    height: 360px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --cta-duration: 0ms;
  }
}
