/**
 * TO3EDEV v5 — صفحه اصلی
 */

.t3-h2 { font-size: clamp(38px, 6vw, 84px); font-weight: 900; line-height: 1.25; margin: 0; letter-spacing: -1.5px; color: var(--t3-ink); }
.t3-sec-head { margin-bottom: 44px; }

/* first paint: hide intro items until GSAP starts (4s safety in <head>) */
@media (min-width: 1000px) and (hover: hover) {
  .t3-js:not(.t3-ready) [data-t3-in],
  .t3-js:not(.t3-ready) .t3-hero__name,
  .t3-js:not(.t3-ready) .t3-hero__visual { opacity: 0; }
}

/* ── Hero ───────────────────────────────────────── */
.t3-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 0; overflow: clip; }
body.admin-bar .t3-hero { padding-top: 160px; }
.t3-hero__ghost {
  position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%);
  font: 900 clamp(110px, 22vw, 360px)/.8 var(--t3-mono); letter-spacing: -.06em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--t3-stroke); pointer-events: none; z-index: 0; user-select: none;
}
.t3-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; padding-bottom: 60px; }
.t3-hero__grid > * { min-width: 0; }
@media (min-width: 1000px) { .t3-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; } }

.t3-hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--t3-line); background: var(--t3-glass); color: var(--t3-mute); font-size: 15px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.t3-pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: t3-pulse 2s infinite; display: inline-block; flex: none; }
@keyframes t3-pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.t3-hero__name { font-size: clamp(54px, 8vw, 128px); font-weight: 900; line-height: 1.25; margin: 6px 0 10px; letter-spacing: -1.5px; color: var(--t3-head-1); overflow-wrap: anywhere; }
.t3-hero__name .t3-w:nth-child(even) .t3-wi { background: linear-gradient(170deg, var(--t3-head-2), var(--t3-a) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t3-hero__role { margin: 0 0 20px; font-size: clamp(17px, 1.6vw, 21px); color: var(--t3-mute); }
.t3-hero__build { display: flex; align-items: center; flex-wrap: wrap; gap: .35em; margin: 0 0 22px; font-size: clamp(26px, 3.2vw, 44px); font-weight: 800; }
.t3-rot { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 1.5em; padding: 0 .4em; border-radius: 14px; overflow: clip; background: linear-gradient(120deg, var(--t3-a), var(--t3-b)); color: var(--t3-on-a); box-shadow: 0 10px 40px -12px rgba(45, 212, 191, .8); transition: width .5s var(--t3-ease); }
.t3-rot__word { display: inline-block; white-space: nowrap; line-height: 1.5; }
.t3-hero__intro { max-width: 560px; margin: 0 0 32px; color: var(--t3-mute); font-size: 17.5px; line-height: 2.1; }
.t3-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.t3-hero__visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.t3-photo { position: relative; width: min(430px, 78vw); aspect-ratio: 4 / 5; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--t3-ease); }
.t3-photo__frame {
  position: absolute; inset: 0; border-radius: 34px; overflow: clip; background: var(--t3-bg-2);
  border: 1px solid var(--t3-line-2);
  box-shadow: 0 50px 120px -40px rgba(45, 212, 191, .45), 0 30px 80px -30px var(--t3-shadow);
}
.t3-photo__img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 1.2s var(--t3-ease), filter 1.2s var(--t3-ease); }
/* عکس دوم: با اسکرول از وسط به شکل دایره باز می‌شود */
.t3-photo__img--alt { position: absolute; inset: 0; z-index: 1; clip-path: circle(0% at 50% 42%); transform: scale(1.18); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1), transform 1.4s var(--t3-ease); }
.t3-photo.is-alt .t3-photo__img--alt { clip-path: circle(150% at 50% 42%); transform: scale(1.04); }
.t3-photo.is-alt .t3-photo__img:not(.t3-photo__img--alt) { transform: scale(1.14); filter: blur(4px); }
.t3-photo.is-alt .t3-photo__frame { box-shadow: 0 50px 120px -36px rgba(45, 212, 191, .65), 0 30px 80px -30px var(--t3-shadow); }
.t3-photo__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; text-align: center; color: var(--t3-mute); font-size: 14px; background: radial-gradient(ellipse at 50% 30%, rgba(45,212,191,.12), transparent 60%), repeating-linear-gradient(45deg, var(--t3-grid) 0 12px, transparent 12px 24px); }
.t3-photo__beam { position: absolute; inset-inline: 0; height: 120px; top: -120px; background: linear-gradient(180deg, transparent, rgba(45, 212, 191, .22), transparent); border-bottom: 1px solid rgba(45, 212, 191, .8); animation: t3-beam 4.5s var(--t3-ease) infinite; pointer-events: none; z-index: 2; }
@keyframes t3-beam { 0% { top: -120px; } 60%, 100% { top: 105%; } }
.t3-photo__corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--t3-a); z-index: 3; }
.t3-photo__corner--1 { top: 18px; right: 18px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 8px; }
.t3-photo__corner--2 { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 8px; }
.t3-photo__corner--3 { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 8px; }
.t3-photo__corner--4 { bottom: 18px; left: 18px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 8px; }
.t3-photo__ring { position: absolute; inset: -8%; border-radius: 44px; border: 1px dashed var(--t3-line-2); animation: t3-rotate 50s linear infinite; }
.t3-photo__ring--2 { inset: -4%; border: 1.5px solid transparent; border-top-color: var(--t3-a); border-left-color: var(--t3-c); animation-duration: 12s; animation-direction: reverse; border-radius: 40px; }
@keyframes t3-rotate { to { transform: rotate(360deg); } }
.t3-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; white-space: nowrap;
  font: 600 12.5px var(--t3-mono); color: var(--t3-ink);
  background: var(--t3-chip-bg); border: 1px solid var(--t3-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px var(--t3-shadow); animation: t3-float 7s ease-in-out infinite;
}
.t3-chip--1 { top: 8%; left: -12%; color: var(--t3-a-ink); }
.t3-chip--2 { top: 46%; right: -10%; font-family: var(--t3-font); animation-delay: -2s; }
.t3-chip--3 { bottom: 16%; left: -14%; color: var(--t3-c); animation-delay: -4s; }
.t3-chip--4 { bottom: -4%; right: 8%; font-family: var(--t3-font); animation-delay: -5.5s; }
@keyframes t3-float { 50% { transform: translateY(-14px); } }
@media (max-width: 999px) {
  .t3-chip--1, .t3-chip--3 { display: none; }
  /* موبایل: «آماده همکاری» گوشه پایین سمت راست عکس، روی صورت نمی‌افتد */
  .t3-chip--2 { top: auto; bottom: 16px; right: 16px; padding: 8px 12px; font-size: 12px; }
  .t3-chip--4 { right: auto; left: 50%; bottom: -18px; transform: translateX(-50%); animation: none; }
}

.t3-hero__scroll { position: absolute; bottom: 96px; right: 50%; transform: translateX(50%); display: none; flex-direction: column; align-items: center; gap: 8px; color: var(--t3-mute); font-size: 12px; z-index: 3; }
.t3-mouse { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid var(--t3-mute); display: flex; justify-content: center; padding-top: 7px; }
.t3-mouse i { width: 3px; height: 8px; border-radius: 3px; background: var(--t3-a); animation: t3-wheel 1.8s var(--t3-ease) infinite; }
@keyframes t3-wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 1000px) and (min-height: 820px) { .t3-hero__scroll { display: flex; } }

.t3-marquee { position: relative; z-index: 3; margin-top: auto; padding: 18px 0; background: linear-gradient(90deg, var(--t3-a), var(--t3-b)); color: var(--t3-on-a); transform: rotate(-1.6deg) scale(1.04); overflow: clip; box-shadow: 0 20px 60px -20px rgba(45, 212, 191, .6); user-select: none; }
.t3-marquee__track { display: flex; width: max-content; font: 900 clamp(22px, 2.6vw, 34px)/1 var(--t3-mono); letter-spacing: -.5px; white-space: nowrap; will-change: transform; animation: t3-marquee 30s linear infinite; }
.t3-marquee__track span { padding-inline-end: 1em; }
.t3-marquee__track b { font-weight: 400; margin: 0 .35em; }
@keyframes t3-marquee { to { transform: translateX(-50%); } }

/* ── Manifesto (scrub words) ───────────────────────────────────────── */
.t3-manifesto { padding: clamp(110px, 16vw, 220px) 0 clamp(60px, 10vw, 140px); position: relative; z-index: 2; }
.t3-manifesto__text { font-size: clamp(28px, 4.3vw, 64px); font-weight: 800; line-height: 1.6; margin: 0; max-width: 1150px; letter-spacing: -.5px; }
.t3-sw { opacity: .14; }
.t3-sw.is-hot { color: var(--t3-a-ink); }
html:not([data-theme="light"]) .t3-sw.is-hot { color: var(--t3-a); }

/* ── Works (horizontal) ───────────────────────────────────────── */
.t3-works { position: relative; z-index: 2; padding: 40px 0 0; }
.t3-works__pin { position: relative; padding: 40px 0; overflow: clip; }
.t3-works__head { margin-bottom: 40px; }
.t3-works__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 0 30px; }
.t3-works__viewport::-webkit-scrollbar { display: none; }
.t3-works__track { display: flex; gap: 22px; width: max-content; padding-inline: max(20px, calc((100vw - 1240px) / 2)); will-change: transform; }
.t3-panel {
  position: relative; scroll-snap-align: center; flex: none; width: min(500px, 82vw); min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 34px;
  border-radius: 30px; border: 1px solid var(--t3-line); overflow: clip; isolation: isolate;
  background: var(--t3-glass);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  color: var(--t3-ink);
  transition: border-color .5s;
}
.t3-panel::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; top: -160px; left: -120px; background: var(--t3-a); filter: blur(100px); opacity: .14; z-index: -1; transition: opacity .6s; }
.t3-panel:nth-child(2n)::before { background: var(--t3-c); }
.t3-panel:hover { border-color: rgba(45, 212, 191, .5); }
.t3-panel:hover::before { opacity: .32; }
.t3-panel__num { position: absolute; top: 18px; left: 26px; font: 900 clamp(110px, 12vw, 170px)/1 var(--t3-mono); color: transparent; -webkit-text-stroke: 1.5px var(--t3-line-2); letter-spacing: -6px; transition: -webkit-text-stroke-color .5s; user-select: none; }
.t3-panel:hover .t3-panel__num { -webkit-text-stroke-color: rgba(45, 212, 191, .6); }
.t3-panel__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--t3-a-ink); background: rgba(45, 212, 191, .12); border: 1px solid rgba(45, 212, 191, .28); margin-bottom: auto; }
html:not([data-theme="light"]) .t3-panel__icon { color: var(--t3-a); }
.t3-panel h3 { margin: 0; font-size: clamp(26px, 2.5vw, 34px); font-weight: 900; line-height: 1.35; }
.t3-panel p { margin: 0; color: var(--t3-mute); font-size: 16px; line-height: 2; }
.t3-panel__line { position: absolute; bottom: 0; right: 0; height: 3px; width: 100%; background: linear-gradient(270deg, var(--t3-a), var(--t3-c)); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--t3-ease); }
.t3-panel:hover .t3-panel__line { transform: scaleX(1); }
.t3-panel--cta { background: linear-gradient(140deg, var(--t3-a), var(--t3-b)); color: var(--t3-on-a); border-color: transparent; }
.t3-panel--cta h3 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.3; }
.t3-panel--cta p { color: rgba(3, 21, 19, .75); }
.t3-panel--cta .t3-panel__num { -webkit-text-stroke-color: rgba(3, 21, 19, .25); }
.t3-panel--cta:hover { color: var(--t3-on-a); }
.t3-panel--cta .t3-btn { align-self: flex-start; margin-top: 8px; }
/* راهنمای کشیدن در موبایل */
.t3-works__swipe { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: min(1240px, calc(100% - 40px)); margin: 4px auto 0; color: var(--t3-mute); font-size: 13px; transition: opacity .5s; }
.t3-works__swipe.is-used .t3-works__hint { opacity: 0; }
.t3-works__hint { display: inline-flex; align-items: center; gap: 8px; transition: opacity .5s; }
.t3-works__hand { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(45, 212, 191, .14); color: var(--t3-a); animation: t3-swipe 1.6s ease-in-out infinite; }
@keyframes t3-swipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-10px); } }
.t3-works__dots { display: inline-flex; gap: 6px; }
.t3-works__dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--t3-line-2); transition: width .4s var(--t3-ease), background .4s; }
.t3-works__dots i.is-on { width: 22px; background: var(--t3-a); }
.t3-works.is-pinned .t3-works__swipe { display: none; }
@media (min-width: 1000px) and (hover: hover) { .t3-works__swipe { display: none; } }
.t3-works__meter { width: min(1240px, calc(100% - 40px)); margin: 10px auto 0; height: 2px; background: var(--t3-line); border-radius: 2px; overflow: clip; display: none; }
.t3-works__meter span { display: block; height: 100%; background: linear-gradient(270deg, var(--t3-a), var(--t3-c)); transform: scaleX(0); transform-origin: right; }

@media (min-width: 1000px) {
  .t3-works.is-pinned .t3-works__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 30px; }
  .t3-works.is-pinned .t3-works__viewport { overflow: visible; scroll-snap-type: none; }
  .t3-works.is-pinned .t3-works__meter { display: block; }
  .t3-works.is-pinned .t3-panel { min-height: min(460px, 52vh); }
}

/* SEO text */
.t3-seo { position: relative; margin-top: 70px; padding: clamp(26px, 4vw, 48px); border-radius: 30px; border: 1px solid var(--t3-line); background: var(--t3-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.t3-seo__title { margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.t3-seo__content { color: var(--t3-mute); font-size: 16px; line-height: 2.2; position: relative; overflow: clip; transition: max-height .8s var(--t3-ease); }
.t3-seo__content.is-collapsed { max-height: 9.5em; }
.t3-seo__content.is-collapsed::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5em; background: linear-gradient(transparent, var(--t3-bg)); }
.t3-seo__content.is-open { max-height: 4000px; }
.t3-seo__content strong { color: var(--t3-ink); }
.t3-seo__content a { color: var(--t3-a-ink); }
.t3-seo__toggle { margin-top: 14px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--t3-line); background: var(--t3-glass-2); color: var(--t3-ink); font: 600 14px var(--t3-font); cursor: pointer; }
.t3-seo__toggle:hover { border-color: var(--t3-a); }

/* ── Categories ───────────────────────────────────────── */
.t3-cats { position: relative; z-index: 2; padding: clamp(100px, 14vw, 180px) 0 0; }
.t3-cats__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; perspective: 1400px; }
.t3-cat {
  position: relative; aspect-ratio: 3 / 4; border-radius: 26px; overflow: clip; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  color: var(--t3-ink); border: 1px solid var(--t3-line);
  background: radial-gradient(120% 80% at 100% 0%, rgba(45, 212, 191, .2), transparent 60%), radial-gradient(100% 70% at 0% 100%, rgba(139, 92, 246, .18), transparent 60%), var(--t3-glass);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .5s var(--t3-ease), border-color .4s;
}
.t3-cat:hover { border-color: rgba(45, 212, 191, .55); }
.t3-cat.has-img, .t3-cat.has-img:hover { color: #fff; }
.t3-cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.2s var(--t3-ease); }
.t3-cat:hover .t3-cat__img { transform: scale(1.16); }
.t3-cat.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,6,10,0) 30%, rgba(5,6,10,.92)); }
.t3-cat::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.16), transparent 45%); opacity: 0; transition: opacity .4s; }
.t3-cat:hover::before { opacity: 1; }
.t3-cat__idx { position: absolute; top: 18px; right: 20px; font: 700 13px var(--t3-mono); color: var(--t3-a); }
.t3-cat__body { display: flex; flex-direction: column; gap: 6px; }
.t3-cat__body strong { font-size: 26px; font-weight: 900; line-height: 1.35; }
.t3-cat__body small { opacity: .75; font-size: 14px; line-height: 1.8; }
.t3-cat__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--t3-line-2); font-size: 13px; opacity: .8; }
.t3-cat.has-img .t3-cat__foot { border-top-color: rgba(255,255,255,.18); }
.t3-cat__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--t3-glass-2); transition: transform .5s var(--t3-ease), background .4s, color .4s; }
.t3-cat:hover .t3-cat__go { background: var(--t3-a); color: var(--t3-on-a); transform: rotate(45deg); }
.t3-cat--skeleton { gap: 10px; }
.t3-cat--skeleton span { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--t3-glass), var(--t3-line-2), var(--t3-glass)); background-size: 200% 100%; animation: t3-shimmer 1.8s linear infinite; }
.t3-cat--skeleton span:first-child { width: 70%; height: 22px; }
.t3-cat--skeleton span:last-child { width: 45%; }
@keyframes t3-shimmer { to { background-position: -200% 0; } }
.t3-cats__grid--empty .t3-cat { opacity: .55; }
.t3-cats__soon { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; justify-self: center; margin: 20px auto 0; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--t3-line); background: var(--t3-glass); color: var(--t3-mute); font-size: 15px; }
.t3-cats__soon svg { color: var(--t3-a); }

/* ── Articles ring ───────────────────────────────────────── */
.t3-arts { position: relative; z-index: 2; padding: clamp(100px, 14vw, 170px) 0 0; overflow: clip; }
.t3-ring { position: relative; height: clamp(400px, 46vw, 520px); perspective: 1600px; perspective-origin: 50% 40%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.t3-ring.is-drag { cursor: grabbing; }
.t3-ring__stage { position: absolute; top: 44%; left: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.t3-ring__item {
  position: absolute; width: var(--t3-card-w, 240px); aspect-ratio: 3 / 4; left: calc(var(--t3-card-w, 240px) / -2); top: calc(var(--t3-card-w, 240px) * -0.6667);
  border-radius: 22px; overflow: clip; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 60px -25px var(--t3-shadow), 0 0 0 1px var(--t3-line-2);
  transition: box-shadow .4s;
  -webkit-box-reflect: below 14px linear-gradient(transparent 65%, rgba(255,255,255,.16));
}
.t3-ring__item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: transform .8s var(--t3-ease); }
.t3-ring__item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.18), transparent 40%); pointer-events: none; }
.t3-ring__item:hover, .t3-ring__item:focus-visible { box-shadow: 0 30px 80px -20px rgba(45, 212, 191, .6), 0 0 0 2px var(--t3-a); }
.t3-ring__item:hover img { transform: scale(1.08); }
.t3-ring__floor { position: absolute; left: 10%; right: 10%; bottom: 2%; height: 120px; background: radial-gradient(ellipse at center, rgba(45, 212, 191, .2), transparent 70%); filter: blur(10px); pointer-events: none; }
.t3-arts__hint { text-align: center; color: var(--t3-mute); font-size: 14px; margin: 6px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .t3-sw { opacity: 1; }
  .t3-marquee__track { animation: none; }
}

/* ── Phones: lightweight reveal (no GSAP) ── */
.t3-rv { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--t3-ease), transform .9s var(--t3-ease); }
.t3-rv.is-in { opacity: 1; transform: none; }
.t3-cat.t3-rv.is-in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.t3-sw { transition: opacity .25s linear; }

/* ── Phones: performance ── */
@media (max-width: 999px) {
  .t3-hero { min-height: auto; padding-top: 110px; }
  .t3-hero__ghost { display: none; }
  .t3-photo__ring:not(.t3-photo__ring--2) { display: none; }
  .t3-photo__beam { animation-duration: 6s; }
  .t3-chip, .t3-panel, .t3-cat, .t3-seo, .t3-hero__kicker { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .t3-chip { background: var(--t3-bg-2); }
  .t3-panel { background: var(--t3-glass-2); min-height: 360px; padding: 26px; }
  .t3-panel::before { display: none; }
  .t3-ring__item { -webkit-box-reflect: unset; }
  .t3-ring__floor { display: none; }
  .t3-marquee { padding: 12px 0; }
}
