/* One Blender wordmark continues from the intro into the site's identity. */
.intro-scene { position:absolute; inset:0; transform-origin:center; pointer-events:none; }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .intro-scene { transform:scale(1.045); will-change:transform; backface-visibility:hidden; }
}
.hero-word { position:relative; }
.hero-word-copy { display:inline; }
.hero-word-3d { display:none; position:absolute; left:0; top:var(--wordmark-ink-top,0); width:100%; height:var(--wordmark-ink-height,1em); max-width:none; object-fit:fill; pointer-events:none; }
.has-3d-wordmark .hero-word-copy { visibility:hidden; }
.has-3d-wordmark .hero-word-3d { display:block; }
.has-3d-wordmark.is-loading.is-entering .hero-word { visibility:visible; }
.has-3d-wordmark.is-entering:not(.is-wordmark-landed):not(.is-wordmark-dropping) .hero-word-3d { visibility:hidden; }
.is-wordmark-dropping .hero-word { will-change:translate; }
/* Let the falling letters pass in front of the fixed navigation surface. */
.is-wordmark-dropping .site { position:relative; z-index:21; }
.header-wordmark-art { display:none; position:relative; width:132px; }
.header-wordmark-3d { display:block; width:100%; height:auto; }
.header-wordmark-bottle { position:absolute; top:-12%; left:71.38%; width:18%; height:125%; object-fit:contain; transform:translateX(-50%); opacity:0; pointer-events:none; }
.header-wordmark-art.has-nav-bottle .header-wordmark-3d { mask-image:linear-gradient(to right,#000 0 68.58%,transparent 68.58% 74.18%,#000 74.18%); }
.header-wordmark-art.has-nav-bottle .header-wordmark-bottle { opacity:1; }
.has-3d-wordmark .header-wordmark-copy { display:none; }
.has-3d-wordmark .header-wordmark-art { display:block; }
.header-wordmark:has(.has-nav-bottle) .header-wordmark-copy { display:none; }
.header-wordmark-art.has-nav-bottle { display:block; }
.site-header.is-light .header-wordmark-3d { filter:brightness(.24); }
/* A centered link group and balanced outer columns keep the navigation calm. */
.site-header { padding-block:16px; }
.site-header.is-solid { box-shadow:none; }
.site-header .main-nav a { line-height:1.4; }
@media(min-width:851px) {
  .site-header { padding-inline:24px; }
  .site-header-inner { width:min(100%,calc(var(--site-unit) * 84)); grid-template-columns:minmax(116px,1fr) auto minmax(116px,1fr); column-gap:clamp(12px,2vw,32px); }
  .site-header .header-wordmark { display:flex; align-items:center; justify-self:start; grid-column:1; grid-row:1; min-height:44px; }
  .header-wordmark-art { width:clamp(116px,9.2vw,132px); }
  .site-header .main-nav { grid-column:2; justify-content:center; width:auto; gap:clamp(4px,1.1vw,18px); }
  .site-header .main-nav a { padding-inline:12px; white-space:nowrap; }
  .site-header .cart-button { grid-column:3; justify-self:end; min-height:44px; padding-inline:20px; }
}
@media(min-width:851px) and (max-width:1050px) {
  .site-header-inner { width:100%; column-gap:12px; }
  .site-header .main-nav a { font-size:14px; padding-inline:10px; }
}
@media(max-width:850px), (pointer:coarse) and (max-height:600px) {
  .site-header { padding:10px max(20px,env(safe-area-inset-right)) 10px max(20px,env(safe-area-inset-left)); }
  .site-header-inner { width:100%; grid-template-columns:1fr auto 1fr; grid-template-areas:"menu brand connect"; gap:12px; }
  .site-header .header-wordmark { display:flex; align-items:center; grid-area:brand; min-height:44px; }
  .site-header .main-nav { grid-column:auto; inset-inline:-20px; padding:12px 20px 20px; gap:8px; }
  .site-header .cart-button { grid-area:connect; padding-inline:14px; }
  .header-wordmark-art { width:104px; }
}
/* The I is isolated from the very same Blender resting frame. Its adjacent
   letters never change when the prepared bottle replaces it. */
.hero-logo-placeholder { display:inline-block; width:.4em; letter-spacing:0; text-align:center; }
.hero-word-i { display:none; position:absolute; left:0; top:var(--wordmark-ink-top,0); width:100%; height:var(--wordmark-ink-height,1em); max-width:none; object-fit:fill; pointer-events:none; clip-path:inset(0 25.82% 0 68.58%); transform-origin:71.4% 50%; transition:opacity .28s ease-out,transform .4s cubic-bezier(.22,1,.36,1); }
.has-3d-wordmark .hero-word-3d { mask-image:linear-gradient(to right,#000 0 68.58%,transparent 68.58% 74.18%,#000 74.18%); }
.has-3d-wordmark .hero-word-i { display:block; }
.has-3d-wordmark.is-entering:not(.is-wordmark-landed):not(.is-wordmark-dropping) .hero-word-i { visibility:hidden; }
.hero-word > .hero-logo-letter { position:absolute; left:68.58%; top:0; width:5.6%; height:100%; z-index:1; visibility:visible; }
.hero-word.has-bottle .hero-word-i { opacity:0; transform:scaleX(.15); }
/* Default text remains a complete fallback if the rendered wordmark fails. */
html:not(.has-3d-wordmark) .hero-word.has-bottle .hero-word-copy { mask-image:linear-gradient(to right,#000 0 68.58%,transparent 68.58% 74.18%,#000 74.18%); }
@media(prefers-reduced-motion:reduce) { .hero-word-i { transition:opacity .15s linear; transform:none !important; } }

/* The landed wordmark releases the photo stack; scroll motion keeps its own transform. */
.is-photos-held .hero-image-wrap { visibility:hidden; }

/* Static masthead placement survives independently of the removed entry film. */
.hero-word > .hero-logo-letter { left:71.4%; top:calc(var(--wordmark-ink-top,0px) - var(--wordmark-ink-height,1em)*.12); width:18%; height:calc(var(--wordmark-ink-height,1em)*1.25); transform:translateX(-50%); }
.hero-word .hero-logo-bottle { top:0; left:50%; width:100%; height:100%; }
