/* One product module: selector, description, actions, artwork and resources.
   Preserve the original title padding, type scale and dial artwork. */
.design-home {
  --home-content-width: 1120px;
  --home-gutter: clamp(24px, 6vw, 96px);
}
.design-home .section,
.design-home .hero-centered .hero-content {
  max-width: calc(var(--home-content-width) + var(--home-gutter) * 2);
  padding-left: var(--home-gutter);
  padding-right: var(--home-gutter);
}
.design-home > header,
.design-home > footer {
  padding-left: max(var(--home-gutter), calc((100% - var(--home-content-width)) / 2));
  padding-right: max(var(--home-gutter), calc((100% - var(--home-content-width)) / 2));
}
.design-home .performance { max-width: none; }
.design-home .performance-title,
.design-home .performance .metric-grid { max-width: var(--home-content-width); }
:is(.design-home, .design-detail) > header .brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}
:is(.design-home, .design-detail) > header .brand .brand-name {
  font-size: 24px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: -.055em;
}
:is(.design-home, .design-detail) > header .brand .brand-owner {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: #aaa;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .14em;
}
.design-home .hero.hero-centered { display: block; height: auto; padding-bottom: 0; }
.design-home .hero-centered .hero-content { margin: 0 auto; }
.design-home .hero-centered h1 { line-height: 1.08; }
.design-home .hero-centered .hero-description { font-size: 20px; }
.design-home .hero-dial { height: 830px; }
.design-home .hero-clock-second {
  transform-box: view-box;
  transform-origin: 720px 790px;
  transform: rotate(-90deg);
  /* Travel over the visible upper arc, then wait below the SVG's viewport.
     33 1/3 seconds of travel at the original speed, followed by a 4-second pause. */
  animation: hero-clock-orbit 37.333333s linear infinite;
}
@keyframes hero-clock-orbit {
  0% { transform: rotate(-90deg); }
  89.285714%, 100% { transform: rotate(110deg); }
}
.design-home .hero-product-entry { margin: 108px auto 0; text-align: left; }
.design-home .hero-product-entry .model-showcase {
  position: relative;
  padding-top: 28px;
  border: 1px solid #353535;
  border-radius: 16px;
  background: linear-gradient(130deg, #121212, #0b0b0b);
  overflow: visible;
}
@media (min-width: 1001px) {
  .design-home .hero-product-entry .model-showcase {
    transform: perspective(1800px) rotateX(var(--pointer-tilt-x, 0deg)) rotateY(var(--pointer-tilt-y, 0deg));
    transform-origin: 50% 40%;
    box-shadow: 0 36px 80px rgb(0 0 0 / 28%);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  }
}
.design-home .hero-centered .model-toggle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 320px;
  margin: 0;
  background: #0b0b0b;
  z-index: 2;
}
.design-home .hero-product-entry .model-stage { border: 0; border-radius: 0; background: none; }
.design-home .hero-product-entry .model-stage .model-copy {
  align-self: start;
  padding-top: 34px;
}
.design-home .hero-product-entry .model-directory { margin-left: 30px; margin-right: 30px; }
.design-home .hero-product-entry .directory-footer { margin: 10px 30px 24px; }
.design-home .hero-product-entry #decision-models { margin-bottom: 28px; }
.design-home .hero-product-summary { margin-top: 20px; }
.design-home .hero-product-description {
  color: #f5f5f5;
}
.design-home .model-stage .model-copy h3.hero-product-description { margin-bottom: 12px; }
.design-home .hero-product-summary .product-description {
  font-size: 15px;
  line-height: 1.85;
  color: #bdbdbd;
}
.design-home .hero-product-entry .hero-actions {
  margin-top: 24px;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.design-home .hero-product-entry .hero-actions > a {
  flex: 0 0 auto;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  word-break: keep-all;
}
.design-home .hero-product-entry .hero-actions > a > span { flex-shrink: 0; }
.design-home .model-stage .model-copy > p { margin-top: 20px; }
.design-home .directory-footer.product-resource-links {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px 30px;
}
.design-home .product-resource-links .subtle-link {
  min-height: 44px;
  gap: 8px;
  font-size: 13px;
  color: #ddd;
  white-space: normal;
}
.design-home .product-resource-links .subtle-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.design-home .model-copy .io { margin-top: 24px; }
.design-home .model-section { padding-top: 0; }
.design-home .model-directory a.model-row {
  position: relative;
  isolation: isolate;
}
.design-home .model-directory a.model-row::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgb(255 255 255 / 7%), transparent 72%);
  opacity: 0;
  transition: opacity .3s ease;
}
.design-home .model-directory a.model-row:is(:hover, :focus-visible)::before { opacity: 1; }
.design-home .performance-title {
  display: block;
  text-align: left;
}
.design-home .performance-title h2,
.design-home .performance-title p { grid-column: auto; }

/* Detail pages follow the home page's type, alignment and interaction scale. */
.design-detail {
  --muted: #bdbdbd;
  --dim: #bdbdbd;
  --detail-content-width: 1120px;
  --detail-gutter: clamp(24px, 6vw, 96px);
}
.design-detail .section {
  max-width: calc(var(--detail-content-width) + var(--detail-gutter) * 2);
  padding-left: var(--detail-gutter);
  padding-right: var(--detail-gutter);
}
.design-detail > header,
.design-detail > footer {
  padding-left: max(var(--detail-gutter), calc((100% - var(--detail-content-width)) / 2));
  padding-right: max(var(--detail-gutter), calc((100% - var(--detail-content-width)) / 2));
}
.design-detail .page-hero { max-width: none; padding-top: 176px; padding-bottom: 64px; }
.design-detail .page-hero > * { max-width: var(--detail-content-width); }
.design-detail .page-context {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #aaa;
  font-size: 12px;
  line-height: 1.5;
}
.design-detail .page-context a:hover { color: #fff; }
.design-detail .page-hero h1 {
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 450;
}
.design-detail .hero-body { display: block; }
.design-detail .page-hero .hero-description {
  max-width: 780px;
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.7;
  color: #bdbdbd;
  text-wrap: pretty;
}
.design-detail .hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 28px;
}
.design-detail .button,
.design-detail .hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
}
.design-detail .hero-secondary { padding: 12px 0; color: #bdbdbd; }
.design-detail .hero-secondary:hover { color: #fff; }
.design-detail .hero-actions small {
  flex-basis: 100%;
  font: 12px/1.7 var(--sans);
  color: #aaa;
  letter-spacing: 0;
}
.design-detail .block { padding-top: 96px; padding-bottom: 24px; }
.design-detail .page-heading {
  display: block;
  margin-bottom: 40px;
  padding-top: 28px;
  border-color: #353535;
}
.design-detail .page-heading h2 {
  max-width: 1000px;
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.design-detail .page-heading h2 > span { display: block; }
.design-detail .page-heading p {
  max-width: 780px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}
.design-detail .sub-title { font-size: 26px; line-height: 1.3; margin-top: 56px; }
.design-detail .lede { max-width: 780px; font-size: 16px; line-height: 1.85; }
.design-detail .model-directory { align-items: stretch; }
.design-detail .model-row { position: relative; isolation: isolate; }
.design-detail .model-row > div { display: flex; flex-direction: column; width: 100%; }
.design-detail .model-row h4 { font-size: 22px; line-height: 1.3; }
.design-detail .model-row .tag { align-self: flex-start; margin-top: 10px; font-size: 9px; }
.design-detail .model-row .kicker { color: #aaa; font-size: 11px; margin-top: 18px; }
.design-detail .model-row p:not(.kicker) { color: #bdbdbd; font-size: 15px; line-height: 1.85; }
.design-detail .row-stat { align-items: baseline; flex-wrap: wrap; }
.design-detail .row-stat span { color: #aaa; font-size: 12px; }
.design-detail .row-links { padding-top: 24px; margin-top: auto; gap: 12px 24px; }
.design-detail .model-row > div > p + .row-links {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #262626;
}
.design-detail .row-links a { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; }
.design-detail .metric-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.design-detail .metric { padding: 30px 28px; }
.design-detail .metric .eyebrow { font-size: 11px; line-height: 1.6; }
.design-detail .metric p { font-size: 15px; line-height: 1.85; }
.design-detail .metric > small { font-size: 12px; line-height: 1.8; }
.design-detail .bar-label { font-size: 12px; }
.design-detail .process-label { font-size: 11px; color: #aaa; }
.design-detail .process-step h4 { font-size: 23px; line-height: 1.3; text-wrap: balance; }
.design-detail .process-step p { font-size: 15px; line-height: 1.85; color: #bdbdbd; }
.design-detail .figure { padding: 24px; }
.design-detail .figure svg { max-width: 950px; min-width: 640px; margin: 0 auto; }
.design-detail .figure figcaption,
.design-detail .caption { font-size: 13px; line-height: 1.85; color: #aaa; }
.design-detail .table-wrap { border: 1px solid #353535; border-radius: 12px; background: #101010; }
.design-detail table { font-size: 14px; }
.design-detail th { padding: 18px 20px; background: #171717; font-size: 11px; color: #bdbdbd; letter-spacing: .04em; }
.design-detail td { padding: 18px 20px; border-color: #2b2b2b; line-height: 1.7; }
.design-detail tbody tr:last-child td { border-bottom: 0; }
.design-detail tbody tr { transition: background-color .2s ease; }
.design-detail tbody tr:hover { background: #ffffff05; }
.design-detail td small { color: #aaa; font-size: 11px; }
.design-detail .note { padding: 26px 28px; border-color: #414141; }
.design-detail .note strong { font-size: 16px; }
.design-detail .note ul { font-size: 14px; }
.design-detail .code-grid { align-items: stretch; }
.design-detail #demo .code-block { display: flex; flex-direction: column; }
.design-detail #demo .code-block > header { flex-shrink: 0; }
.design-detail #demo .code-block pre { flex: 1; min-width: 0; }
.design-detail .code-block > header { min-height: 52px; flex-wrap: wrap; font-size: 11px; color: #bdbdbd; }
.design-detail .code-block pre { font-size: 13px; line-height: 1.85; }
.design-detail .code-block .c { color: #aaa; }
.design-detail .copy-button { min-height: 32px; padding: 6px 12px; font-size: 11px; }
.design-detail .prob-list { padding: 12px 20px 24px; }
.design-detail .prob-group h4 { font-size: 15px; }
.design-detail .prob-group h4 span { color: #aaa; font-size: 10px; }
.design-detail .prob-row { font-size: 13px; padding-top: 6px; padding-bottom: 6px; }
.design-detail .resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.design-detail .section-followup { margin-top: 40px; }
.design-detail .resource { position: relative; isolation: isolate; padding: 24px 0; }
.design-detail .resource::before { display: none; }
.design-detail .resource .eyebrow { font-size: 10px; color: #aaa; }
.design-detail .resource h4 { font-size: 21px; line-height: 1.35; margin: 12px 0; overflow-wrap: anywhere; }
.design-detail .resource p { font-size: 15px; line-height: 1.85; }
.design-detail .resource .arrow { position: static; display: inline-block; margin-left: 4px; font-size: inherit; white-space: nowrap; }
.design-detail .resource:hover { background: none; }
.design-detail .model-row::after,
.design-detail .resource::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, #ffffff12, transparent 72%);
  opacity: 0;
  transition: opacity .3s ease;
}
.design-detail .model-row:is(:hover, :focus-within)::after,
.design-detail .resource:is(:hover, :focus-visible)::after { opacity: 1; }
.design-detail .faq { padding-top: 96px; padding-bottom: 96px; }
.design-detail .faq > .section-label { font-size: 11px; color: #aaa; }
.design-detail .faq summary { min-height: 64px; font-size: 16px; line-height: 1.5; }
.design-detail .faq details p { font-size: 15px; line-height: 1.85; color: #bdbdbd; }
.design-detail .footer-links { font-size: 12px; }
.design-detail .footer-bottom { font-size: 10px; }
@media (min-width: 701px) and (hover: hover) {
  .design-detail .metric-grid { transition: grid-template-columns .4s cubic-bezier(.22, 1, .36, 1); }
  .design-detail .metric-grid:has(.metric:nth-child(1):hover) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .design-detail .metric-grid:has(.metric:nth-child(2):hover) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}
@media (max-width: 1000px) {
  .design-detail .page-hero { padding-top: 144px; }
  .design-detail .resource-grid { gap: 20px; }
}
@media (max-width: 700px) {
  .design-home { --home-gutter: 24px; }
  .design-detail { --detail-gutter: 24px; }
  .design-detail .page-hero { padding-top: 120px; padding-bottom: 40px; }
  .design-detail .page-context { margin-bottom: 22px; }
  .design-detail .page-hero h1 { font-size: clamp(34px, 8.8vw, 56px); }
  .design-detail .page-hero .hero-description { margin-top: 24px; font-size: 17px; }
  .design-detail .block { padding-top: 64px; padding-bottom: 12px; }
  .design-detail .page-heading { padding-top: 24px; margin-bottom: 30px; }
  .design-detail .page-heading h2 { margin-top: 0; font-size: 34px; }
  .design-detail .page-heading p, .design-detail .lede { font-size: 15px; }
  .design-detail .sub-title { font-size: 23px; margin-top: 40px; }
  .design-detail .model-row p:not(.kicker), .design-detail .resource p { font-size: 14px; }
  .design-detail .process-step h4 { font-size: 22px; }
  .design-detail .process-step p { font-size: 14px; }
  .design-detail .metric-grid { grid-template-columns: minmax(0, 1fr); }
  .design-detail .metric { padding: 28px 22px; }
  .design-detail .metric p { font-size: 14px; }
  .design-detail .figure { padding: 18px; }
  .design-detail .resource-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .design-detail .resource { padding: 24px 0; }
  .design-detail .code-block pre { font-size: 12px; }
  .design-detail th, .design-detail td { padding: 14px 16px; }
  .design-detail table { font-size: 13px; }
  .design-detail .note { padding: 22px; }
  .design-detail .faq { padding-top: 64px; padding-bottom: 64px; }
  .design-detail .faq summary { font-size: 15px; }
  .design-detail .faq details p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .design-detail .metric-grid,
  .design-detail tbody tr,
  .design-detail .model-row::after,
  .design-detail .resource::after { transition: none; }
}
@media (min-width: 701px) {
  .design-home .performance .metric-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .design-home .performance .metric-grid,
  .design-detail .metric-grid {
    height: var(--performance-row-height, auto);
    grid-template-rows: var(--performance-row-height, auto);
  }
  :is(.design-home .performance, .design-detail) .metric { min-height: 0; }
  :is(.design-home .performance, .design-detail) .metric > h4 { min-height: var(--metric-title-height, 0px); }
  :is(.design-home .performance, .design-detail) .metric > p { min-height: var(--metric-description-height, 0px); }
  :is(.design-home .performance, .design-detail) .metric > small { min-height: var(--metric-note-height, 0px); }
}

/* Equal resting cards; the hovered card expands and reverses color. */
:is(.design-home .performance, .design-detail) .metric {
  background: radial-gradient(ellipse at 0 0, #7575751f, transparent 80%);
  color: #f5f5f5;
  border-color: #3c3c3c;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
:is(.design-home .performance, .design-detail) .metric .eyebrow { color: #b2b2b2; }
:is(.design-home .performance, .design-detail) .metric .big-number { font-size: clamp(40px, 4.3vw, 62px); }
:is(.design-home .performance, .design-detail) .metric .big-number small { color: #a7a7a7; }
:is(.design-home .performance, .design-detail) .metric p { color: #b6b6b6; }
:is(.design-home .performance, .design-detail) .metric p strong { color: #f5f5f5; }
:is(.design-home .performance, .design-detail) .metric > small { color: #b0b0b0; }
:is(.design-home .performance, .design-detail) .metric .bar-label { color: #a5a5a5; }
:is(.design-home .performance, .design-detail) .metric .bar-label b,
:is(.design-home .performance, .design-detail) .metric .comparison b { color: #d5d5d5; }
:is(.design-home .performance, .design-detail) .metric .bar { background: #2c2c2c; }
:is(.design-home .performance, .design-detail) .metric .bar i { background: #6c6c6c; }
:is(.design-home .performance, .design-detail) .metric .bar.accent i { background: #e4e4e4; }
.design-home .performance .metric-grid {
  transition: grid-template-columns .4s cubic-bezier(.22, 1, .36, 1);
}
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) {
  background: #e4e4e4;
  color: #1b1b1b;
  border-color: #e4e4e4;
}
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) .eyebrow,
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) .bar-label { color: #5a5a5a; }
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) p,
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) .big-number small,
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) > small { color: #5f5f5f; }
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) .bar-label b,
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) .comparison b { color: #1b1b1b; }
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) p strong { color: #1b1b1b; }
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) .bar { background: #c6c6c6; }
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) .bar i { background: #959595; }
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) .bar.accent i { background: #3c3c3c; }
:is(.design-home .performance, .design-detail) .metric:is(:hover, :focus-within) .comparison span { border-color: #bdbdbd; }
@media (min-width: 701px) and (hover: hover) {
  .design-home .performance .metric-grid:has(.metric:nth-child(1):hover) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
  .design-home .performance .metric-grid:has(.metric:nth-child(2):hover) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); }
  .design-home .performance .metric-grid:has(.metric:nth-child(3):hover) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); }
}

@media (min-width: 1600px) {
  .design-home .hero-dial { height: 900px; }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .design-home .hero-dial { height: 800px; }
}
@media (max-width: 700px) {
  .design-home .hero-centered .hero-description { font-size: 17px; }
  .design-home .hero.hero-centered { padding-bottom: 0; }
  .design-home .hero-dial { height: max(740px, 100svh); }
  .design-home .hero-product-entry .model-toggle { max-width: 280px; margin-top: 0; }
  .design-home .hero-product-entry .model-directory { margin-left: 20px; margin-right: 20px; }
  .design-home .hero-product-entry .directory-footer { margin-left: 20px; margin-right: 20px; }
  .design-home .hero-centered .hero-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .design-home .hero-clock-second { animation: none; }
  .design-home .hero-product-entry .model-showcase { transition: none; }
  .design-home .model-directory a.model-row::before { transition: none; }
  :is(.design-home .performance, .design-detail) .metric,
  .design-home .performance .metric-grid { transition: none; }
}

/* Monochrome particles overlap the hero as a quiet background layer. */
.design-detail .page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  --z-symbol-size: clamp(408px, 40.8vw, 640px);
}
.design-detail .detail-hero-layout { display: block; margin: 0 auto; }
.design-detail .detail-hero-copy { position: relative; z-index: 1; max-width: 720px; min-width: 0; }
.design-detail .z-symbol {
  display: block;
  position: absolute;
  z-index: 0;
  width: var(--z-symbol-size);
  aspect-ratio: 520 / 480;
  min-width: 0;
  max-width: none;
  right: calc(max(var(--detail-gutter), (100% - var(--detail-content-width)) / 2) - var(--z-symbol-size) * .2);
  top: calc(50% + 56px);
  transform: translateY(-50%);
  opacity: .75;
  mask-image: linear-gradient(to right, transparent, #000 40%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40%);
}
@media (max-width: 800px) {
  .design-detail .page-hero { --z-symbol-size: clamp(320px, 70vw, 460px); }
  .design-detail .z-symbol { top: calc(50% + 40px); opacity: .38; }
}

/* Sparse light sweeps emphasize the dial's movement. */
.design-home .clock-light-lane {
  transform-box: view-box;
  transform-origin: 720px 790px;
  animation: clock-light-sweep 18s linear infinite;
}
.design-home .clock-light-lane.lane-1 { animation-duration: 26s; animation-delay: -9s; opacity: .55; }
@keyframes clock-light-sweep { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .design-home .clock-light-lane { animation: none; }
}

.design-home .model-panel:not([hidden]) { animation: model-carousel-in .6s cubic-bezier(.22,1,.36,1) both; }
@keyframes model-carousel-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.design-home .model-rotation-controls { display: flex; justify-content: flex-end; margin-top: 14px; }
.design-home .model-rotation-controls button { border: 0; background: none; padding: 6px 0 6px 12px; color: #999; font: 11px var(--sans); cursor: pointer; }
.design-home .model-rotation-controls button:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .design-home .model-panel:not([hidden]) { animation: none; } }

/* Staged entrance on the home page: title, description, then model showcase. */
.design-home .hero-content > h1 {
  animation: home-title-enter .95s cubic-bezier(.16,1,.3,1) .1s both;
}
.design-home .hero-content > .hero-description {
  animation: home-copy-enter .85s cubic-bezier(.16,1,.3,1) .3s both;
}
.design-home .hero-product-entry {
  animation: home-models-enter 1.1s cubic-bezier(.16,1,.3,1) .5s both;
}
@keyframes home-title-enter {
  from { opacity: 0; transform: translateY(26px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes home-copy-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-models-enter {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .design-home .hero-content > h1,
  .design-home .hero-content > .hero-description,
  .design-home .hero-product-entry { animation: none; }
}

/* White light streaks travel outward behind the home hero. */
.design-home .hero-speed-field {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 760px;
  z-index: -2;
  pointer-events: none;
  mask-image: linear-gradient(#000 60%, transparent 100%);
  animation: hero-speed-enter 1.2s ease-out both;
}
@keyframes hero-speed-enter { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) { .design-home .hero-speed-field { height: 620px; } }
@media (prefers-reduced-motion: reduce) { .design-home .hero-speed-field { animation: none; } }


/* Keep footer links above the decorative wordmark. */
:is(.design-home, .design-detail) .footer-links { position: relative; z-index: 1; }
:is(.design-home, .design-detail) .footer-links a { position: relative; pointer-events: auto; }
:is(.design-home, .design-detail) .footer-word { pointer-events: none; }

/* The same footer and mobile disclosure treatment on every page. */
:is(.design-home, .design-detail) .footer-links { font-size: 12px; }
:is(.design-home, .design-detail) .footer-links > div { flex-wrap: wrap; }
:is(.design-home, .design-detail) .footer-word {
  font-size: clamp(170px, 29vw, 450px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.075em;
  margin-top: 0;
  padding: 0 0 .025em;
  background-image: linear-gradient(180deg, #2b2b2b 0%, #222 24%, #171717 48%, #101010 65%, #0e0e0e 80%, #0e0e0e 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 700px) {
  :is(.design-home, .design-detail) .footer-links { font-size: 11px; }
  :is(.design-home, .design-detail) .footer-word { font-size: 31vw; }
}

/* Preserve the original menu panel; dim the page beneath the fixed header. */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgb(0 0 0 / 48%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s;
}
@media (max-width: 1000px) {
  .mobile-menu-open .mobile-menu-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .mobile-menu-backdrop { transition: none; } }

/* Center the primary navigation independently of the logo and CTA width. */
@media (min-width: 1001px) {
  :is(.design-home, .design-detail) > header > nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    font-size: 12px;
  }
}
