/* ==========================================================================
   TECHNOLOGY — technology.css
   近黑科技视觉。基础重置、字体、容器与焦点样式复用 css/style.css。
   ========================================================================== */

body.technology-page {
  --bg: #050506;
  --ink: #F4F1EC;
  --muted: #8B8B8E;
  --blue: #FF4D1F;
  --line: rgba(244, 241, 236, 0.13);
  --line-strong: rgba(244, 241, 236, 0.28);

  --tech-accent: #FF4D1F;
  --tech-accent-soft: rgba(255, 77, 31, 0.48);
  --tech-accent-dim: rgba(255, 77, 31, 0.14);
  --tech-panel: #0A0A0C;
  --tech-panel-soft: #0D0D10;

  min-height: 100vh;
  background-color: #050506;
  background-image:
    radial-gradient(1100px 720px at 12% -6%, rgba(255, 77, 31, 0.1), transparent 62%),
    radial-gradient(900px 680px at 100% 18%, rgba(255, 77, 31, 0.045), transparent 58%),
    linear-gradient(180deg, #070708 0%, #050506 46%, #040405 100%);
  background-size: auto;
  background-position: center;
  background-attachment: fixed;
  color: var(--ink);
}

body.technology-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.technology-page ::selection {
  background: var(--tech-accent);
  color: #060607;
}

.technology-page :focus-visible {
  outline: 2px solid var(--tech-accent);
  outline-offset: 4px;
}

.technology-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* ---------- 1. Header ---------- */
.tech-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 6, 0.92) 0%,
    rgba(5, 5, 6, 0.58) 62%,
    rgba(5, 5, 6, 0) 100%
  );
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tech-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 5, 6, 0.84);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.tech-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.technology-page .brand-mark {
  border: 1px solid rgba(244, 241, 236, 0.3);
  background: transparent;
  color: var(--ink);
  font-size: 9.5px;
}

.technology-page .brand:hover .brand-mark {
  border-color: var(--tech-accent);
  background: var(--tech-accent);
  color: #070708;
}

.technology-page .brand-name {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--ink);
}

.tech-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.tech-nav a {
  color: rgba(244, 241, 236, 0.52);
  transition: color 0.3s var(--ease);
}

.tech-nav a:hover {
  color: var(--ink);
}

.tech-nav a[aria-current="page"] {
  color: var(--tech-accent);
}

.tech-nav .nav-divider {
  color: rgba(244, 241, 236, 0.18);
}

.tech-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: rgba(244, 241, 236, 0.6);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.tech-back:hover {
  color: var(--tech-accent);
}

/* ---------- 2. Hero ---------- */
.tech-hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(36px, 6vh, 74px));
  padding-bottom: clamp(48px, 8vh, 90px);
}

.tech-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.tech-hero-visual {
  position: relative;
  min-width: 0;
}

.tech-hero-figure {
  position: relative;
  display: block;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 474 / 561;
  margin: 0 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tech-hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-composite: intersect;
}

.tech-hero-caption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: rgba(244, 241, 236, 0.52);
}

.tech-hero-caption span:first-child {
  color: var(--tech-accent);
}

.tech-hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(244, 241, 236, 0.028) 0 1px, transparent 1px 11px),
    #0B0B0D;
}

.tech-hero-figure.is-missing img {
  display: none;
}

.tech-hero-figure.is-missing .tech-hero-fallback {
  display: flex;
}

.tech-hero-fallback span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--tech-accent);
}

.tech-hero-fallback strong {
  font-size: 13px;
  font-weight: 400;
  color: rgba(244, 241, 236, 0.7);
}

.tech-hero-fallback code {
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.6;
  color: rgba(244, 241, 236, 0.32);
  word-break: break-all;
}

.tech-hero-copy {
  min-width: 0;
  padding-top: 8px;
}

.tech-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: clamp(28px, 4.5vh, 48px);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.48);
}

.tech-eyebrow-mark {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--tech-accent);
  box-shadow: 0 0 14px rgba(255, 77, 31, 0.8);
}

.tech-hero-kicker {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.38em;
  color: var(--tech-accent);
}

.tech-title {
  margin: 0;
  font-size: clamp(2.9rem, 5.5vw, 5.7rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #FFFFFF;
}

.tech-lede {
  margin-top: clamp(26px, 4vh, 38px);
  padding-left: 18px;
  border-left: 1px solid var(--tech-accent-soft);
  font-size: clamp(13.5px, 1.1vw, 15.5px);
  line-height: 1.95;
  color: rgba(244, 241, 236, 0.6);
}

.tech-hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: clamp(38px, 6.5vh, 66px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tech-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: rgba(244, 241, 236, 0.56);
  transition: color 0.3s var(--ease);
}

.tech-scroll-arrow {
  display: inline-block;
  color: var(--tech-accent);
  transition: transform 0.35s var(--ease);
}

.tech-scroll:hover {
  color: var(--ink);
}

.tech-scroll:hover .tech-scroll-arrow {
  transform: translateY(3px);
}

.tech-hero-index {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: rgba(244, 241, 236, 0.34);
}

/* ---------- 3. Section heading ---------- */
.tech-ai {
  position: relative;
  padding: clamp(58px, 8vw, 112px) 0 clamp(24px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.tech-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 48px;
}

.tech-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tech-accent);
}

.tech-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--tech-accent);
  opacity: 0.8;
}

.tech-section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 20px;
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.7rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.tech-section-title span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(244, 241, 236, 0.32);
}

.tech-section-note {
  padding-bottom: 6px;
  font-size: 11.5px;
  line-height: 1.85;
  text-align: right;
  color: rgba(244, 241, 236, 0.46);
}

/* ---------- 4. Two AI entries ---------- */
.tech-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(36px, 5vw, 60px);
}

.tech-entry {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(24px, 3.4vw, 40px);
  padding: clamp(22px, 2.6vw, 30px) 4px clamp(18px, 2.2vw, 24px);
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    padding-left 0.4s var(--ease),
    border-color 0.4s var(--ease),
    background-color 0.4s var(--ease);
}

.tech-entry::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--tech-accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.45s var(--ease);
}

.tech-entry-index {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(244, 241, 236, 0.38);
  transition: color 0.35s var(--ease);
}

.tech-entry-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-entry-title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  transition: color 0.35s var(--ease);
}

.tech-entry-sub {
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: rgba(244, 241, 236, 0.5);
  transition: color 0.35s var(--ease);
}

.tech-entry-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tech-entry-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  color: rgba(244, 241, 236, 0.36);
  transition: color 0.35s var(--ease);
}

.tech-entry-arrow {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  color: var(--tech-accent);
  transition: transform 0.35s var(--ease);
}

.tech-entry:hover {
  padding-left: 18px;
  border-color: var(--tech-accent-soft);
  background-image: linear-gradient(180deg, rgba(255, 77, 31, 0.055), transparent 78%);
}

.tech-entry:hover::before {
  transform: scaleY(1);
}

.tech-entry:hover .tech-entry-title {
  color: var(--tech-accent);
}

.tech-entry:hover .tech-entry-index,
.tech-entry:hover .tech-entry-tag {
  color: rgba(244, 241, 236, 0.58);
}

.tech-entry:hover .tech-entry-arrow {
  transform: translate(4px, -4px);
}

.tech-entry:focus-visible {
  outline: 2px solid var(--tech-accent);
  outline-offset: 2px;
}

/* ---------- 5. Beyond today's AI ---------- */
.tech-beyond {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(64px, 9vw, 130px);
}

.tech-beyond-line {
  position: relative;
  width: 1px;
  height: clamp(40px, 6vw, 64px);
  margin: 0 auto;
  background: linear-gradient(to bottom, transparent, rgba(255, 77, 31, 0.55));
}

.tech-beyond-pulse {
  position: absolute;
  right: -2px;
  bottom: -3px;
  width: 5px;
  height: 5px;
  background: var(--tech-accent);
  box-shadow: 0 0 0 0 rgba(255, 77, 31, 0.5);
  animation: beyond-pulse 3.6s var(--ease) infinite;
}

@keyframes beyond-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 31, 0.45); }
  55% { box-shadow: 0 0 0 8px rgba(255, 77, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 31, 0); }
}

.tech-beyond-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: clamp(44px, 7vw, 86px) 20px;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(560px 240px at 50% 0, rgba(255, 77, 31, 0.1), transparent 72%),
    transparent;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.tech-beyond-arrow {
  display: block;
  margin-bottom: clamp(20px, 3vw, 30px);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1;
  color: var(--tech-accent);
  transition: transform 0.45s var(--ease);
  animation: beyond-arrow 3.6s var(--ease) infinite;
}

@keyframes beyond-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.tech-beyond-en {
  font-size: clamp(1.3rem, 3.2vw, 2.7rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.14em;
  color: var(--ink);
  transition: color 0.35s var(--ease);
}

.tech-beyond-cn {
  margin-top: 14px;
  font-size: clamp(12.5px, 1.2vw, 15px);
  letter-spacing: 0.06em;
  color: rgba(244, 241, 236, 0.5);
}

.tech-beyond-hint {
  margin-top: clamp(24px, 3.4vw, 34px);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(255, 77, 31, 0.72);
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}

.tech-beyond-button:hover {
  border-color: var(--tech-accent-soft);
  background:
    radial-gradient(620px 280px at 50% 0, rgba(255, 77, 31, 0.16), transparent 74%),
    transparent;
}

.tech-beyond-button:hover .tech-beyond-en {
  color: #FFFFFF;
}

.tech-beyond-button:hover .tech-beyond-arrow {
  transform: translateY(5px);
}

.tech-beyond-button:hover .tech-beyond-hint {
  color: var(--tech-accent);
  transform: translateX(2px);
}

.tech-beyond-button:focus-visible {
  outline: 2px solid var(--tech-accent);
  outline-offset: 2px;
}

/* ---------- 6. Footer ---------- */
.tech-footer {
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
}

.tech-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 236, 0.42);
}

.tech-footer .footer-brand {
  color: var(--ink);
  letter-spacing: 0.18em;
}

.tech-footer .footer-top {
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.tech-footer .footer-top:hover {
  color: var(--tech-accent);
}

/* ---------- 7. Shared modal ---------- */
html {
  --tech-sbw: 0px;
}

body.tech-lock {
  overflow: hidden;
  padding-right: var(--tech-sbw);
}

body.tech-lock .tech-header {
  right: var(--tech-sbw);
}

.tech-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease), visibility 0s linear 0.32s;
}

.tech-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s var(--ease), visibility 0s;
}

.tech-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 3, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.tech-modal-panel {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100vw - 32px));
  height: 80vh;
  height: min(80dvh, 840px);
  overflow: hidden;
  border: 1px solid rgba(244, 241, 236, 0.14);
  background: #08080A;
  box-shadow: 0 44px 120px -48px rgba(0, 0, 0, 0.95);
  transform: translateY(16px) scale(0.99);
  transition: transform 0.35s var(--ease);
}

.tech-modal-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 56px;
  height: 1px;
  background: var(--tech-accent);
  pointer-events: none;
}

.tech-modal-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 58px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #08080a 0%,
    rgba(8, 8, 10, 0.94) 56%,
    rgba(8, 8, 10, 0) 100%
  );
}

.tech-modal.is-open .tech-modal-panel {
  transform: translateY(0) scale(1);
}

.tech-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(244, 241, 236, 0.2);
  background: rgba(8, 8, 10, 0.88);
  color: rgba(244, 241, 236, 0.66);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.tech-modal-close span:last-child {
  font-size: 15px;
  line-height: 1;
}

.tech-modal-close:hover {
  border-color: var(--tech-accent);
  background: var(--tech-accent);
  color: #070708;
}

.tech-modal-scroll {
  height: 100%;
  padding: 70px 28px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 241, 236, 0.22) transparent;
}

.tech-modal-scroll::-webkit-scrollbar {
  width: 4px;
}

.tech-modal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.tech-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(244, 241, 236, 0.2);
}

.tech-modal-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--tech-accent);
}

.tech-modal-inner {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.tech-modal-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--tech-accent);
}

.tech-modal-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 77, 31, 0.3);
}

.tech-modal-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 2.8vw, 2.55rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.tech-modal-subtitle {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.16em;
  color: rgba(244, 241, 236, 0.44);
}

.tech-modal-intro {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(244, 241, 236, 0.58);
}

.tech-modal-section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.tech-modal-num {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--tech-accent);
}

.tech-modal-en {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.6;
  letter-spacing: 0.16em;
  color: rgba(244, 241, 236, 0.52);
}

.tech-modal-cn {
  display: block;
  margin: 7px 0 10px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tech-modal-copy {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.95;
  color: rgba(244, 241, 236, 0.6);
  white-space: pre-line;
}

.tech-modal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: rgba(244, 241, 236, 0.3);
}

/* ---------- 8. Screenshot frame / placeholder ---------- */
.tech-shot {
  position: relative;
  width: 100%;
  aspect-ratio: var(--shot-ratio, 16 / 9);
  margin: 16px 0 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 241, 236, 0.12);
  background: #0B0B0D;
  transition: border-color 0.3s var(--ease);
}

.tech-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050506;
  transition: transform 0.5s var(--ease);
}

.tech-shot.is-loaded {
  cursor: zoom-in;
}

.tech-shot.is-loaded:hover {
  border-color: var(--tech-accent-soft);
}

.tech-shot.is-loaded:hover img {
  transform: scale(1.015);
}

.tech-shot.is-loaded:focus-visible {
  outline: 2px solid var(--tech-accent);
  outline-offset: 3px;
}

.tech-shot-zoom {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  background: rgba(4, 4, 5, 0.78);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 236, 0.62);
  pointer-events: none;
}

.tech-shot.is-loaded .tech-shot-zoom {
  display: inline-flex;
}

.tech-shot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(244, 241, 236, 0.022) 0 1px, transparent 1px 10px),
    #0A0A0C;
}

.tech-shot-placeholder::before,
.tech-shot-placeholder::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 0 solid rgba(255, 77, 31, 0.6);
  pointer-events: none;
}

.tech-shot-placeholder::before {
  top: 8px;
  left: 8px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.tech-shot-placeholder::after {
  right: 8px;
  bottom: 8px;
  border-right-width: 1px;
  border-bottom-width: 1px;
}

.tech-shot-label {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  color: var(--tech-accent);
}

.tech-shot-title {
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(244, 241, 236, 0.66);
}

.tech-shot-path {
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.6;
  color: rgba(244, 241, 236, 0.34);
  word-break: break-all;
}

.tech-shot.is-loaded .tech-shot-placeholder {
  display: none;
}

.tech-modal-shot-note {
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  color: rgba(244, 241, 236, 0.28);
}

/* ---------- 9. Lightbox ---------- */
.tech-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.tech-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease), visibility 0s;
}

.tech-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 1, 2, 0.93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.tech-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(244, 241, 236, 0.2);
  background: rgba(8, 8, 10, 0.86);
  color: rgba(244, 241, 236, 0.66);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.tech-lightbox-close span:last-child {
  font-size: 15px;
  line-height: 1;
}

.tech-lightbox-close:hover {
  background: var(--tech-accent);
  color: #070708;
}

.tech-lightbox-figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 94vw;
  margin: 0;
}

.tech-lightbox-figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(244, 241, 236, 0.14);
  background: #050506;
}

.tech-lightbox-figure figcaption {
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 236, 0.45);
  text-align: center;
}

/* ---------- 10. No-script ---------- */
.tech-noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 200;
  max-width: 560px;
  margin-inline: auto;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: #0A0A0C;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 11. Responsive ---------- */
@media (max-width: 900px) {
  .tech-nav {
    display: none;
  }
}

@media (max-width: 1024px) {
  .tech-hero-grid {
    gap: 36px;
  }

  .tech-title {
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  }
}

@media (max-width: 880px) {
  .tech-hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 56px;
  }

  .tech-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(36px, 6vw, 56px);
  }

  .tech-hero-visual {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .tech-hero-copy {
    max-width: 640px;
  }

  .tech-title {
    font-size: clamp(2.7rem, 7vw, 4.6rem);
  }

  .tech-eyebrow {
    margin-bottom: 28px;
  }

  .tech-section-note {
    text-align: left;
  }

  .tech-entries {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 34px;
  }

  .tech-entry {
    padding-block: 26px;
    border-bottom: 1px solid var(--line);
  }

  .tech-entry + .tech-entry {
    border-top: 0;
  }

  .tech-entry-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

@media (max-width: 620px) {
  .tech-header-inner {
    gap: 16px;
  }

  .tech-hero {
    padding-top: calc(var(--header-h) + 26px);
  }

  .tech-title {
    font-size: clamp(2.35rem, 10.5vw, 3.5rem);
    line-height: 1.16;
  }

  .tech-lede {
    margin-top: 24px;
    font-size: 13px;
  }

  .tech-hero-foot {
    margin-top: 32px;
  }

  .tech-ai {
    padding-top: 52px;
  }

  .tech-section-head {
    display: block;
  }

  .tech-section-note {
    margin-top: 16px;
  }

  .tech-entry {
    gap: 22px;
  }

  .tech-entry:hover {
    padding-left: 12px;
  }

  .tech-beyond {
    padding-bottom: 70px;
  }

  .tech-beyond-button {
    padding-inline: 14px;
  }

  .tech-beyond-en {
    letter-spacing: 0.1em;
  }

  .tech-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tech-modal {
    padding: 10px;
  }

  .tech-modal-panel {
    width: calc(100vw - 20px);
    height: 80vh;
    height: 80dvh;
  }

  .tech-modal-scroll {
    padding: 64px 20px 34px;
  }

  .tech-modal-inner {
    max-width: 100%;
  }

  .tech-lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 420px) {
  .technology-page .brand-name {
    display: none;
  }

  .tech-back {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }

  .tech-title {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .tech-entry-title {
    font-size: clamp(1.9rem, 8.4vw, 2.5rem);
  }

  .tech-entry-tag {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .tech-modal-title {
    font-size: 1.9rem;
  }

  .tech-modal-close {
    top: 10px;
    right: 10px;
    padding: 7px 9px;
  }

  .tech-shot-title {
    font-size: 9.5px;
  }
}

/* Mobile browsers handle fixed backgrounds poorly. */
@media (hover: none) {
  body.technology-page {
    background-attachment: scroll;
  }
}

/* ---------- 12. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .tech-beyond-pulse,
  .tech-beyond-arrow {
    animation: none;
  }

  .tech-entry:hover .tech-entry-arrow,
  .tech-beyond-button:hover .tech-beyond-arrow,
  .tech-scroll:hover .tech-scroll-arrow,
  .tech-shot.is-loaded:hover img {
    transform: none;
  }

  .tech-modal,
  .tech-modal-panel,
  .tech-lightbox {
    transition-duration: 0.001ms;
  }
}
