
html { scroll-behavior: smooth; }
body { margin: 0; background: #151514; font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #e0a24a; outline-offset: 4px; }

.cl { background-color: #c4c2bc; background-image: url(img/tex-light.jpg); background-size: 512px 512px; color: #121212; }
.cd { background-color: #1a1a19; background-image: url(img/tex-dark.jpg); background-size: 512px 512px; color: #e9e7e2; }

.disp { font-family: 'Archivo', Arial, sans-serif; font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.025em; line-height: 0.9; }
.lab { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.num { font-family: 'Archivo', Arial, sans-serif; font-stretch: 125%; font-weight: 800; color: transparent; -webkit-text-stroke: 1px currentColor; line-height: 0.85; }
.brand { font-family: 'Archivo', Arial, sans-serif; font-stretch: 125%; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

.mask { display: block; overflow: hidden; padding-bottom: 0.05em; }
.mask > span { display: block; animation: rise 1.25s cubic-bezier(0.16, 0.84, 0.2, 1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.unclip { animation: unclip 1.5s cubic-bezier(0.77, 0, 0.18, 1) 0.5s both; }
@keyframes unclip { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.kbl { animation: kbl 26s ease-in-out infinite alternate; transform-origin: 60% 55%; }
@keyframes kbl { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.led { height: 2px; background: var(--amb); box-shadow: 0 0 14px var(--amb); transform-origin: left; animation: ledin 1.8s cubic-bezier(0.77, 0, 0.18, 1) 0.2s both; }
@keyframes ledin { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.fade { animation: fade 1.2s ease 1.3s both; }
@keyframes fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.marq { display: flex; width: max-content; animation: marq 46s linear infinite; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tease { position: relative; overflow: hidden; background: #0e0e0e; }
.tease img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) blur(3px) brightness(0.85); transform: scale(1.04); transition: filter 0.9s ease, transform 1.2s cubic-bezier(0.16, 0.84, 0.2, 1); }
.tease:hover img, .tease:focus-within img { filter: none; transform: none; }
@media (hover: none) { .tease img { filter: grayscale(0.6) blur(1px); } }
.progress { position: fixed; top: 0; right: 0; bottom: 0; width: 6px; z-index: 60; pointer-events: none; background: rgba(120, 120, 120, 0.18); }
.progress > div { height: 100%; background: var(--amb); box-shadow: 0 0 10px var(--amb); transform-origin: top; transform: scaleY(0); }
@supports (animation-timeline: scroll()) { .progress > div { animation: grow-y linear both; animation-timeline: scroll(root); } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.nudge { position: fixed; right: 16px; bottom: 18px; z-index: 50; transform: translateY(14px); opacity: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 16px 8px; background: rgba(18, 18, 18, 0.85); color: #e9e7e2; transition: opacity 0.5s ease, transform 0.5s ease; }
.nudge.on { opacity: 1; transform: none; }
.nudge svg { animation: bob 1.1s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.nav-a { display: inline-block; padding: 10px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s ease; }
.nav-a:hover { background-size: 100% 1px; }

.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 54px; box-sizing: border-box; padding: 0 26px; font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: background-color 0.3s, color 0.3s, gap 0.3s; }
.btn:hover { gap: 26px; }
.btn-solid { background: #121212; color: #e9e7e2; border-color: #121212; }
.btn-solid:hover { background: var(--amb); color: #121212; border-color: var(--amb); }
.btn-ghost:hover { background: #121212; color: #e9e7e2; }
.btn-amb { background: var(--amb); color: #121212; border-color: var(--amb); }
.btn-amb:hover { background: #e9e7e2; border-color: #e9e7e2; }
.btn-light:hover { background: #e9e7e2; color: #121212; }

.shot { position: relative; overflow: hidden; background: #0e0e0e; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.16, 0.84, 0.2, 1), filter 0.7s ease; }
@media (hover: hover) {
  .gray img { filter: grayscale(1) contrast(1.06); }
  .gray:hover img { filter: none; transform: scale(1.05); }
}
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; box-sizing: border-box; border: 1px dashed currentColor; }

.track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 22px; scrollbar-color: #e0a24a transparent; scrollbar-width: thin; cursor: grab; }
.track > .shot { flex: 0 0 min(84vw, 760px); aspect-ratio: 3 / 2; scroll-snap-align: start; }

.slab { transition: translate 0.5s cubic-bezier(0.16, 0.84, 0.2, 1); }
.slab:hover { translate: 0 -8px; }
.row { transition: background-color 0.25s, color 0.25s, padding 0.25s; }
.row:hover { background: #e9e7e2; color: #121212; padding-left: 16px; }
.rowl:hover { background: #121212; color: #e9e7e2; padding-left: 16px; }
.biglink { display: inline-block; background: linear-gradient(var(--amb), var(--amb)) 0 100% / 100% 6px no-repeat; transition: background-size 0.4s ease, color 0.3s; }
.biglink:hover { background-size: 100% 100%; color: #121212; }
.rule { height: 1px; background: currentColor; transform-origin: left; }
.vled { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--amb); box-shadow: 0 0 12px var(--amb); transform-origin: top; }

/* comparison */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.cmp th, .cmp td { text-align: left; padding: 18px 16px; border-bottom: 1px solid rgba(18, 18, 18, 0.35); vertical-align: top; }
.cmp thead th { border-bottom: 2px solid #121212; }
.cmp .us { background: #121212; color: #e9e7e2; }
.cmp thead .us { color: var(--amb); }

/* drawings */
.stage { position: relative; margin: 0 auto; }
.stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.axo { height: 72vh; max-height: 980px; min-height: 420px; aspect-ratio: 710 / 1502; max-width: 100%; }
.fnd { width: 100%; aspect-ratio: 1200 / 849; }
.rf { width: 100%; aspect-ratio: 1200 / 709; }
.kit { width: min(100%, calc(74vh * 16 / 9)); aspect-ratio: 16 / 9; background: #0e0e0e; overflow: hidden; }
.kit > img { object-fit: cover; }
.sky { width: min(100%, calc(72vh * 4 / 3)); aspect-ratio: 4 / 3; background: #0e0e0e; overflow: hidden; }
.sky > img { object-fit: cover; }
.wl { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; background: var(--amb); box-shadow: 0 0 16px var(--amb); opacity: 0; pointer-events: none; }
.stick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 900px) { .stick { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.stick-k { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.caps { display: grid; gap: 28px; }
.cap h3 { margin: 0; }
.cap p { margin: 10px 0 0; max-width: 460px; font-size: 15px; line-height: 1.7; }
.heropan::-webkit-scrollbar { display: none; }
.slidecap { display: block; font-family: 'Archivo', Arial, sans-serif; font-stretch: 100%; font-weight: 600; font-size: clamp(12px, 1.1vw, 14px); line-height: 1.4; letter-spacing: 0; text-transform: none; }
.bar { height: 2px; background: var(--amb); box-shadow: 0 0 10px var(--amb); transform-origin: left; }
.det img { transition: transform 0.9s cubic-bezier(0.16, 0.84, 0.2, 1); }
.det:hover img { transform: scale(1.08) rotate(-1deg); }
.det .tip { transition: transform 0.45s cubic-bezier(0.16, 0.84, 0.2, 1); transform: translateY(101%); }
.det:hover .tip { transform: none; }
@media (hover: none) { .det .tip { transform: none; } }

.tog { display: inline-flex; border: 1px solid rgba(233, 231, 226, 0.5); }
.tog button { min-height: 44px; padding: 0 20px; font-family: inherit; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; border: 0; background: transparent; color: #e9e7e2; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.tog button[aria-pressed="true"] { background: var(--amb); color: #121212; }

/* floor plan */
.plan { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #ffffff; }
.plan > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.spot { position: absolute; border: 0; padding: 0; margin: 0; background: rgba(224, 162, 74, 0); cursor: pointer; transition: background-color 0.3s, box-shadow 0.3s; }
.spot:hover { background: rgba(224, 162, 74, 0.28); }
.spot.on { background: rgba(224, 162, 74, 0.42); box-shadow: inset 0 0 0 2px #b9751c; }
.chip { min-height: 44px; padding: 0 14px; font-family: inherit; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; border: 1px solid rgba(233, 231, 226, 0.4); background: transparent; color: #e9e7e2; cursor: pointer; }
.chip.on { background: var(--amb); border-color: var(--amb); color: #121212; }

@supports (animation-timeline: view()) {
  .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 5% entry 45%; }
  .rule { animation: rulein linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .par img { animation: par linear both; animation-timeline: view(); animation-range: cover; }
  .vled { animation: vgrow linear both; animation-timeline: view(); animation-range: cover 5% cover 60%; }
  @keyframes rv { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
  @keyframes rulein { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes par { from { transform: translateY(-9%) scale(1.2); } to { transform: translateY(9%) scale(1.2); } }
  @keyframes vgrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

  .scene { position: relative; }
  .sc-axo { height: 620vh; view-timeline-name: --axo; }
  .sc-fnd { height: 420vh; view-timeline-name: --fnd; }
  .sc-rf { height: 340vh; view-timeline-name: --rf; }
  .sc-kit { height: 380vh; view-timeline-name: --kit; }
  .sc-sky { height: 440vh; view-timeline-name: --sky; }
  .stick { position: sticky; top: 0; height: 100vh; box-sizing: border-box; padding: 24px 0; }
  .stick-k { position: sticky; top: 0; height: 100vh; box-sizing: border-box; padding: 24px 0; }
  .caps { position: relative; display: grid; min-height: 0; }
  .caps-k { min-height: 0; }
  .cap { position: relative; grid-area: 1 / 1; animation: cap linear both; }
  .cap.last { animation-name: capin; }
  .sc-axo .cap, .sc-axo .lay, .sc-axo .bar { animation-timeline: --axo; }
  .sc-fnd .cap, .sc-fnd .lay, .sc-fnd .bar { animation-timeline: --fnd; }
  .sc-rf .cap, .sc-rf .lay, .sc-rf .bar { animation-timeline: --rf; }
  .sc-kit .cap, .sc-kit .lay, .sc-kit .bar, .sc-kit .wl { animation-timeline: --kit; }
  .sc-sky .cap, .sc-sky .lay, .sc-sky .bar { animation-timeline: --sky; }
  .bar { animation: grow linear both; }
  .sc-axo .bar, .sc-fnd .bar, .sc-rf .bar, .sc-kit .bar, .sc-sky .bar { animation-range: contain 0% contain 100%; }

  @keyframes cap { 0% { opacity: 0; transform: translateY(24px); } 18% { opacity: 1; transform: none; } 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-24px); } }
  @keyframes capin { from { opacity: 0; transform: translateY(24px); } 30% { opacity: 1; transform: none; } to { opacity: 1; transform: none; } }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes rise-up { from { opacity: 0; transform: translateY(12%); } to { opacity: 1; transform: none; } }
  @keyframes drop-in { from { opacity: 0; transform: translateY(-14%); } to { opacity: 1; transform: none; } }
  @keyframes build-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes land { from { opacity: 0; transform: translateY(-60%); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
  @keyframes fall { from { opacity: 0; transform: translateY(-35%); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
  @keyframes xfade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes sweep { 0% { left: 0%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

  .a1 { animation: rise-up linear both; animation-timeline: --axo; animation-range: contain 1% contain 13%; }
  .a2 { animation: drop-in linear both; animation-timeline: --axo; animation-range: contain 21% contain 31%; }
  .a3 { animation: drop-in linear both; animation-timeline: --axo; animation-range: contain 41% contain 51%; }
  .a4 { animation: build-up linear both; animation-timeline: --axo; animation-range: contain 60% contain 76%; }
  .a5 { animation: drop-in cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-timeline: --axo; animation-range: contain 80% contain 94%; }
  .ac1 { animation-range: contain 0% contain 22%; }
  .ac2 { animation-range: contain 20% contain 42%; }
  .ac3 { animation-range: contain 40% contain 62%; }
  .ac4 { animation-range: contain 60% contain 82%; }
  .ac5 { animation-range: contain 80% contain 100%; }

  @keyframes xout { from { opacity: 1; } to { opacity: 0; } }
  @keyframes mid { 0% { opacity: 0; } 28% { opacity: 1; } 72% { opacity: 1; } 100% { opacity: 0; } }
  .f1 { animation: xout linear both; animation-timeline: --fnd; animation-range: contain 24% contain 34%; }
  .f2 { animation: mid linear both; animation-timeline: --fnd; animation-range: contain 24% contain 59%; }
  .f3 { animation: mid linear both; animation-timeline: --fnd; animation-range: contain 49% contain 84%; }
  .f4 { animation: xfade linear both; animation-timeline: --fnd; animation-range: contain 74% contain 84%; }
  .fc1 { animation-range: contain 0% contain 28%; }
  .fc2 { animation-range: contain 24% contain 53%; }
  .fc3 { animation-range: contain 49% contain 78%; }
  .fc4 { animation-range: contain 74% contain 100%; }

  .r2 { animation: land cubic-bezier(0.3, 0, 0.15, 1) both; animation-timeline: --rf; animation-range: contain 14% contain 50%; }
  .r3 { animation: fall cubic-bezier(0.3, 0, 0.15, 1) both; animation-timeline: --rf; animation-range: contain 58% contain 84%; }
  .rc1 { animation-range: contain 0% contain 30%; }
  .rc2 { animation-range: contain 26% contain 60%; }
  .rc3 { animation-range: contain 56% contain 100%; }

  .k2 { animation: wipe linear both; animation-timeline: --kit; animation-range: contain 16% contain 44%; }
  .k3 { animation: wipe linear both; animation-timeline: --kit; animation-range: contain 56% contain 84%; }
  .w2 { animation: sweep linear both; animation-timeline: --kit; animation-range: contain 16% contain 44%; }
  .w3 { animation: sweep linear both; animation-timeline: --kit; animation-range: contain 56% contain 84%; }
  @keyframes zin { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
  .s2 { animation: zin cubic-bezier(0.3, 0, 0.2, 1) both; animation-timeline: --sky; animation-range: contain 20% contain 36%; }
  .s3 { animation: zin cubic-bezier(0.3, 0, 0.2, 1) both; animation-timeline: --sky; animation-range: contain 45% contain 61%; }
  .s4 { animation: zin cubic-bezier(0.3, 0, 0.2, 1) both; animation-timeline: --sky; animation-range: contain 70% contain 86%; }
  .yc1 { animation-range: contain 0% contain 28%; }
  .yc2 { animation-range: contain 24% contain 53%; }
  .yc3 { animation-range: contain 49% contain 78%; }
  .yc4 { animation-range: contain 74% contain 100%; }
  .kc1 { animation-range: contain 0% contain 30%; }
  .kc2 { animation-range: contain 26% contain 70%; }
  .kc3 { animation-range: contain 66% contain 100%; }
}
@media (max-width: 899px) {
  .axo { height: 60vh; min-height: 0; }
  .stick { gap: 12px; align-content: start; padding-top: 14px !important; padding-bottom: 8px !important; }
  .cap p { font-size: 14px; line-height: 1.55; }
  .kit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .scene { height: auto !important; }
  .stick, .stick-k { position: static !important; height: auto !important; }
  .caps { display: grid !important; min-height: 0 !important; }
  .cap { position: static !important; }
}

/* Google Website Translator: a plain native dropdown (compact on desktop, wheel picker on iPhone) */
#google_translate_element { display: inline-flex; align-items: center; }
.goog-te-gadget { font-family: inherit !important; font-size: 0 !important; color: inherit !important; line-height: 0; }
.goog-te-gadget > span, .goog-te-gadget > div > span, .goog-logo-link { display: none !important; }
.goog-te-gadget .goog-te-combo { margin: 0 !important; font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 0; padding: 8px 10px; min-height: 36px; max-width: 220px; cursor: pointer; }
body { top: 0 !important; }
.goog-te-banner-frame, .skiptranslate > iframe { display: none !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

@media (prefers-reduced-motion: reduce) {
  .rv, .rule, .cap { transition: none !important; opacity: 1 !important; transform: none !important; }
  .mask > span, .unclip, .led, .fade, .marq, .nudge svg { animation: none !important; }
}
@media (hover:none) { .goog-te-gadget .goog-te-combo { font-size: 16px; letter-spacing: .04em; text-transform: none; } }
/* globe icon in front of the language menu */
#google_translate_element { gap: 8px; }
#google_translate_element::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E") center / contain no-repeat; }
#google_translate_element:empty::before { display: none; }

/* Fallback layout for browsers without scroll-driven animations (driven by script.js) */
.st-poly .scene { position: relative; }
.st-poly .sc-axo { height: 620vh; } .st-poly .sc-fnd { height: 420vh; } .st-poly .sc-rf { height: 340vh; } .st-poly .sc-kit { height: 380vh; } .st-poly .sc-sky { height: 440vh; }
.st-poly .stick, .st-poly .stick-k { position: sticky; top: 0; height: 100vh; box-sizing: border-box; padding-top: 24px; padding-bottom: 24px; }
.st-poly .caps { position: relative; display: grid; min-height: 0; }
.st-poly .cap { position: relative; grid-area: 1 / 1; }
.st-poly .progress > div { transform: scaleY(0); }
