/* Pikett · division pages (divisions/*.html)
   Each page sets its colour on <body style="--c: var(--c-web)"> and owns one bespoke
   live demo in .dhero__stage (scene file js/scenes/div-<id>.js). */

.dhero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) 0 clamp(32px, 4vw, 56px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.dhero::before { /* soft colour bloom in the division colour */
  content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -18vw; top: -22vw; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 26%, transparent), transparent 72%);
  filter: blur(10px); opacity: .9; pointer-events: none;
}
.dhero__grid { width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 36px; align-items: center; }
.dhero__copy { grid-column: 1 / -1; position: relative; z-index: 2; }
.dhero__stage {
  grid-column: 1 / -1; position: relative; height: min(72vh, 760px); min-height: 420px;
  border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 70% 20%, color-mix(in srgb, var(--c) 14%, #121216), #0D0D10 70%);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -40px color-mix(in srgb, var(--c) 40%, transparent);
}
.dhero__stage > .scene { position: absolute; inset: 0; }
.dhero__hint { position: absolute; left: 18px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); pointer-events: none; }
.dhero__hint i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.dhero__crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.dhero__crumbs a:hover { color: var(--fg); }
.dhero__eyebrow { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.dhero__eyebrow i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.dhero__title { margin-top: 18px; font-size: clamp(46px, 6.6vw, 124px); max-width: 10ch; }
.dhero__lead { margin-top: 24px; }
.dhero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1000px) {
  .dhero__copy { grid-column: 1 / span 5; }
  .dhero__stage { grid-column: 6 / -1; height: min(78vh, 820px); }
}

/* what we make */
.makes { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .makes { grid-template-columns: repeat(2, 1fr); column-gap: var(--gutter); } }
.make { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.make__no { font-family: var(--mono); font-size: 12px; color: var(--c); padding-top: 5px; }
.make__name { font-size: var(--fs-h4); font-stretch: 118%; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.make__text { grid-column: 2; color: var(--fg-2); max-width: 46ch; }

/* billing flood block */
.billing { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .billing { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.billing__title { font-size: var(--fs-h2); font-stretch: 125%; font-weight: 800; letter-spacing: -.04em; line-height: .92; }
.billing__list { border-top: 1.5px solid currentColor; }
.billing__list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); font-size: 18px; line-height: 1.4; }
.billing__list li::before { content: "→"; font-family: var(--mono); }
.billing__note { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }

/* next division */
.next-div { position: relative; display: block; padding: clamp(48px, 8vw, 120px) 0; border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.next-div::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nc, var(--accent)); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .8s var(--ease); }
.next-div:hover { color: #0A0A0C; }
.next-div:hover::before { transform: scaleY(1); }
.next-div__label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); transition: color .4s; }
.next-div:hover .next-div__label { color: rgba(10, 10, 12, .7); }
.next-div__name { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: var(--fs-mega); font-stretch: 125%; font-weight: 800; letter-spacing: -.05em; line-height: .84; }
.next-div__name svg { width: clamp(40px, 6vw, 110px); height: auto; flex: none; transition: transform .8s var(--ease); }
.next-div:hover .next-div__name svg { transform: translateX(12px) rotate(-45deg); }

/* division index (divisions/index.html) */
.dindex-hero { padding-top: calc(var(--header-h) + clamp(60px, 9vw, 140px)); padding-bottom: clamp(32px, 4vw, 64px); }

/* hero facts */
.dhero__facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.dhero__facts div { display: grid; gap: 4px; }
.dhero__facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.dhero__facts dd { font-size: 16px; font-weight: 600; font-stretch: 110%; }
.scene.is-fallback .dhero__fallback, .no-webgl .scene .dhero__fallback { display: grid; place-items: center; }
/* nothing to spin or drag under reduced motion */
html.reduced .division--apps .dhero__hint, html.reduced .division--web .dhero__hint { display: none; }
.dhero__fallback { background: radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); }
.dhero__fallback p { color: var(--fg-2); max-width: 28ch; text-align: center; }

/* billing flood details */
.billing-sec .label__no { color: currentColor; }
.billing__body { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.38; max-width: 34ch; }
.billing__side { display: grid; gap: 28px; }
.billing__h { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.billing__note { font-family: var(--sans); font-size: 16px; line-height: 1.45; max-width: 52ch; opacity: .85; }
.table--flood th { color: currentColor; opacity: .7; border-color: currentColor; }
.table--flood td { border-color: color-mix(in srgb, currentColor 25%, transparent); }
html.is-flood .billing-sec .arrow-link { color: currentColor; }

.cta-block__line--div { font-size: clamp(54px, 10vw, 190px); }
.next-all { padding-block: 28px 8px; }
