/* Three lightweight windows, each showing an actual part of the work. */
.core-window {
  position: absolute;
  z-index: calc(1 + var(--window-rank, 0));
  top: 0;
  left: 0;
  display: block;
  width: calc(100% - 2cqw);
  height: 27cqh;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d4d3d2;
  border-radius: 12px;
  background: #faf9f6;
  color: #333237;
  text-align: center;
  transform: translate(calc((2 - var(--window-rank, 0)) * 1cqw), calc(var(--window-rank, 0) * 3.7cqh));
  box-shadow: 0 14px 30px -20px #25202f66;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 300ms var(--ease-out), box-shadow 300ms;
}
.core-window[aria-pressed="true"] { border-color: #b6b4b1; box-shadow: 0 18px 40px -24px #25202f80; }
.core-window:focus-visible { outline: 2px solid #e13c27; outline-offset: 4px; }
.core-window__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; height: 30px; padding-inline: 11px; border-bottom: 1px solid #dfdedb; background: linear-gradient(#fdfdfc, #eeeeed); font-size: 11px; font-weight: 550; line-height: 1; }
.core-window__lights { display: flex; gap: 5px; }
.core-window__lights i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #ff6058; }
.core-window__lights i:nth-child(2) { background: #ffbd2e; }
.core-window__lights i:nth-child(3) { background: #28c840; }
.core-window__number { justify-self: end; color: #909095; font-size: 9px; }
.core-window__art { position: relative; display: block; height: calc(100% - 30px); padding: 8px; }
.core-window .hero-core__visual { animation: none; width: 100%; height: 100%; }

/* The finished first page leaves the scaled device, so type is drawn 1:1. */
.hero.is-native-page .hero__sticky { perspective: none; }
.hero.is-native-page .hero__device { visibility: hidden; pointer-events: none; will-change: auto; }
.hero.has-native-layout .arto-os { position: relative; inset: auto; width: 100%; height: 100%; transform: none; will-change: auto; pointer-events: auto; }
/* Invert the physical camera while sharing the navbar's viewport projection.
   The final transform is already 1:1 before this node leaves the device. */
.hero.has-native-layout:not(.is-site-open) .arto-os {
  position: absolute; inset: 0 auto auto 0;
  width: var(--native-page-width); height: 100svh;
  transform-origin: 0 0;
  transform: translate(var(--native-local-x, 0px), var(--native-local-y, 0px)) rotate(var(--native-local-angle, 0deg)) scale(var(--native-local-scale, 1));
  pointer-events: none;
}
.hero.has-native-layout[data-device][data-orientation] .hero-landing {
  position: static; width: 100%; height: 100%; opacity: 1; transform: none; will-change: auto;
}
.hero.has-native-layout[data-device][data-orientation] .hero-landing .os-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  width: min(1520px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 32px) 48px 56px;
  background: none;
}
.hero.has-native-layout[data-device][data-orientation] .hero__eyebrow { margin: 0 0 28px; gap: 9px; color: #49443e; font-size: 11px; line-height: 1.4; letter-spacing: .045em; }
.hero.has-native-layout .hero__eyebrow::before { width: 6px; min-width: 6px; }
.hero.has-native-layout[data-device][data-orientation] .hero__title { max-width: none; margin: 0; font-size: clamp(54px, 6.65vw, 102px); line-height: 1.01; letter-spacing: -.045em; word-spacing: .02em; }
.hero.has-native-layout .hero__title em { color: #e93822; }
.hero.has-native-layout[data-device][data-orientation] .hero__lead { display: block; max-width: 475px; margin-top: 30px; color: #45413d; font-size: 18px; font-weight: 450; line-height: 1.65; }
.hero.has-native-layout[data-device][data-orientation] .hero__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 22px; margin-top: 28px; }
.hero.has-native-layout[data-device][data-orientation] .hero-cta { min-height: 50px; padding: 7px 8px 7px 22px; gap: 15px; font-size: 15px; }
.hero.has-native-layout .hero-cta__arrow { width: 36px; height: 36px; }
.hero.has-native-layout[data-device][data-orientation] .hero-work-link { min-height: 44px; gap: 11px; font-size: 15px; }
.hero.has-native-layout[data-device][data-orientation] .hero-work-link > svg { width: 18px; height: 18px; }
.hero.has-native-layout[data-device][data-orientation] .hero-core {
  --core-window-height: clamp(280px, 39vh, 380px);
  --core-window-step: 42px;
  position: relative; top: auto; right: auto; bottom: auto; left: auto;
  display: block; width: 100%; height: auto;
}
.hero.has-native-layout[data-device][data-orientation] .hero-core__scene { position: relative; inset: auto; width: 100%; height: calc(var(--core-window-height) + 2 * var(--core-window-step)); }
.hero.has-native-layout .hero-core__scene::before { content: ''; position: absolute; inset: 3% -6% -5% -10%; border-radius: 50%; background: radial-gradient(ellipse, #f6a18b55, #f6a18b00 70%); pointer-events: none; }
.hero.has-native-layout .core-window { width: calc(100% - 32px); height: var(--core-window-height); transform: translate(calc((2 - var(--window-rank, 0)) * 16px), calc(var(--window-rank, 0) * var(--core-window-step))); }
.hero.has-native-layout .core-window__bar { height: 38px; padding-inline: 15px; font-size: 12px; }
.hero.has-native-layout .core-window__art { height: calc(100% - 38px); padding: 0; }
.hero.has-native-layout[data-device][data-orientation] .hero-core__caption { width: 100%; min-height: 48px; margin: 26px 0 0; gap: 11px; color: #45413c; font-size: 14px; line-height: 1.6; }
.hero.has-native-layout[data-device][data-orientation] .hero-core__step { width: 28px; font-size: 11px; }

@media (max-width: 1000px) and (min-width: 781px) {
  .hero.has-native-layout[data-device][data-orientation] .hero-landing .os-statement { padding-inline: 32px; gap: 28px; }
  .hero.has-native-layout[data-device][data-orientation] .hero__title { font-size: clamp(42px, 5.9vw, 60px); }
  .hero.has-native-layout[data-device][data-orientation] .hero__lead { font-size: 16px; }
  .hero.has-native-layout[data-device][data-orientation] .hero__actions { gap: 12px; }
}
@media (max-width: 780px) {
  .hero.is-native-page { height: auto; min-height: 100svh; }
  .hero.is-native-page .hero__sticky { height: auto; min-height: 100svh; }
  .hero.has-native-layout[data-device][data-orientation] .hero-landing { height: auto; }
  .hero.has-native-layout[data-device][data-orientation] .hero-landing .os-statement { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 38px; height: auto; padding: calc(var(--header-h) + 30px) 24px 38px; }
  .hero.has-native-layout[data-device][data-orientation] .hero__eyebrow { margin-bottom: 21px; font-size: 10px; }
  .hero.has-native-layout[data-device][data-orientation] .hero__title { font-size: clamp(36px, 10.5vw, 68px); }
  .hero.has-native-layout[data-device][data-orientation] .hero__lead { max-width: 560px; margin-top: 23px; font-size: 16px; line-height: 1.55; }
  .hero.has-native-layout[data-device][data-orientation] .hero__actions { flex-wrap: nowrap; gap: 17px; margin-top: 24px; }
  .hero.has-native-layout[data-device][data-orientation] .hero-cta { min-height: 48px; gap: 9px; padding-left: 17px; font-size: 13px; white-space: nowrap; }
  .hero.has-native-layout .hero-cta__arrow { width: 30px; height: 30px; }
  .hero.has-native-layout[data-device][data-orientation] .hero-work-link { gap: 8px; font-size: 13px; white-space: nowrap; }
  .hero.has-native-layout[data-device][data-orientation] .hero-core { --core-window-height: 230px; --core-window-step: 37px; max-width: 500px; margin: 0 auto; }
  .hero.has-native-layout[data-device][data-orientation] .hero-core__caption { min-height: 42px; margin-top: 18px; font-size: 14px; }
}
@media (max-width: 360px) {
  .hero.has-native-layout[data-device][data-orientation] .hero-landing .os-statement { padding-inline: 20px; }
  .hero.has-native-layout[data-device][data-orientation] .hero__actions { flex-wrap: wrap; gap: 5px 18px; }
}
@media (min-width: 781px) and (max-height: 650px) {
  .hero.is-native-page, .hero.is-native-page .hero__sticky { height: auto; min-height: 100svh; }
  .hero.has-native-layout[data-device][data-orientation] .hero-landing { height: auto; }
  .hero.has-native-layout[data-device][data-orientation] .hero-landing .os-statement { height: auto; grid-template-rows: auto; }
  .hero.has-native-layout[data-device][data-orientation] .hero-core { --core-window-height: 230px; }
}

/* Concrete previews, drawn with HTML/CSS rather than a canvas or video. */
.core-map { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 22px; background: #f1efea; font-size: 12px; }
.core-map__root { position: relative; z-index: 1; padding: 13px 24px; border-radius: 10px; background: #24211e; color: #fffdfa; font-size: 14px; font-weight: 550; box-shadow: 0 5px 12px #24211e16; }
.core-map__root::after { content: ''; position: absolute; left: 50%; top: 100%; height: 24px; border-left: 2px solid #ea4c36; }
.core-map__branches { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 360px; margin-top: 46px; }
.core-map__branches::before { content: ''; position: absolute; top: -23px; left: calc(16.666% - 5px); right: calc(16.666% - 5px); border-top: 2px solid #ea4c36; }
.core-map__page { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 13px; border: 1px solid #dad6cd; border-radius: 9px; background: #fffefb; text-align: left; font-weight: 550; box-shadow: 0 5px 10px #24211e05; }
.core-map__page::before { content: ''; position: absolute; left: 50%; top: -24px; height: 23px; border-left: 2px solid #ea4c36; }
.core-map__page-icon { width: 18px; height: 21px; border: 1.5px solid #ea4c36; border-radius: 3px; background: linear-gradient(#ea4c36,#ea4c36) 4px 6px/8px 2px no-repeat; }
.core-map__page i { width: 100%; height: 3px; border-radius: 2px; background: #dedbd4; }
.core-map__page i:last-child { width: 65%; }
.core-design { display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; padding: 20px 28px; background: #f5c4b1; text-align: left; }
.core-design__type { display: block; color: #25211e; font-size: clamp(100px, 13vw, 180px); font-weight: 750; letter-spacing: -.085em; line-height: 1; }
.core-design__type > span { color: #e94129; }
.core-design__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #30282033; color: #3c2b23; font-size: 12px; }
.core-design__swatches { display: flex; }
.core-design__swatches i { width: 28px; height: 28px; margin-left: -5px; border: 2px solid #f5c4b1; border-radius: 50%; background: #25211e; }
.core-design__swatches i:nth-child(2) { background: #e94129; }
.core-design__swatches i:nth-child(3) { background: #fffaf0; }
.core-build { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 30px 48px 44px 25px; background: #e9e8e3; }
.core-build__desktop { position: relative; display: block; width: 100%; max-width: 330px; height: 175px; padding: 10px 12px; border: 5px solid #292623; border-radius: 10px; background: #fcfaf4; box-shadow: 0 10px 20px #26211c20; }
.core-build__desktop::after { content: ''; position: absolute; bottom: -10px; left: -7%; width: 114%; height: 5px; border-radius: 1px 1px 7px 7px; background: #aaa7a1; }
.core-build__nav { display: flex; align-items: center; gap: 6px; height: 18px; border-bottom: 1px solid #ded8cd; }
.core-build__nav i { display: block; width: 16px; height: 3px; background: #a8a297; border-radius: 2px; }
.core-build__nav i:first-child { width: 27px; margin-right: auto; background: #e94129; }
.core-build__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: calc(100% - 18px); padding-top: 14px; }
.core-build__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding-top: 6px; }
.core-build b { display: block; width: 90%; height: 7px; background: #292623; border-radius: 2px; }
.core-build b + b { width: 62%; }
.core-build__copy i { display: block; width: 90%; height: 3px; background: #c7c1b5; border-radius: 2px; }
.core-build__copy i:nth-of-type(1) { margin-top: 7px; }
.core-build em { display: block; width: 44px; height: 14px; margin-top: 6px; border-radius: 8px; background: #e94129; }
.core-build__image { display: block; border-radius: 4px; background: radial-gradient(circle at 42% 52%, #ed6246 0 23%, transparent 24%), radial-gradient(circle at 67% 37%, #f1af8f 0 25%, transparent 26%), #dfd2bb; }
.core-build__phone { position: absolute; right: 8%; bottom: 30px; display: flex; flex-direction: column; gap: 5px; width: 74px; height: 138px; padding: 9px 7px; border: 4px solid #292623; border-radius: 13px; background: #fcfaf4; box-shadow: 0 8px 12px #26211c20; }
.core-build__phone > i { width: 17px; height: 3px; margin: -5px auto 2px; background: #292623; border-radius: 2px; }
.core-build__phone .core-build__image { height: 46px; margin-bottom: 5px; }
.core-build__phone b { height: 4px; }
.core-build__phone em { height: 10px; width: 30px; margin-top: 3px; }
.core-build__label { position: absolute; bottom: 12px; left: 25px; color: #5d5750; font-size: 10px; }
html[lang="en"] .hero.has-native-layout[data-device][data-orientation] .hero__title { font-size: clamp(42px, 5.2vw, 80px); }
@media (max-width: 780px) {
  .core-map { padding: 17px; font-size: 10px; }
  .core-map__root { padding: 10px 18px; font-size: 12px; }
  .core-map__branches { gap: 8px; margin-top: 34px; }
  .core-map__root::after { height: 18px; }
  .core-map__branches::before { top: -17px; }
  .core-map__page { padding: 10px 9px; gap: 7px; }
  .core-map__page::before { top: -18px; height: 17px; }
  .core-design { padding: 14px 22px; }
  .core-design__type { font-size: 116px; }
  .core-design__bottom { margin-top: 12px; padding-top: 12px; font-size: 10px; }
  .core-design__swatches i { width: 25px; height: 25px; }
  .core-build { padding: 20px 36px 38px 20px; }
  .core-build__desktop { height: 137px; }
  .core-build__phone { right: 7%; bottom: 20px; width: 58px; height: 115px; padding-inline: 5px; }
  .core-build__phone .core-build__image { height: 35px; }
  .core-build__label { left: 20px; bottom: 8px; }
  html[lang="en"] .hero.has-native-layout[data-device][data-orientation] .hero__title { font-size: clamp(30px, 8.1vw, 54px); }
}
@media (prefers-reduced-motion: reduce) {
  .core-window { transition: none; }
}
