/* Brand fonts from the official VI sources */
@font-face {
  font-family: "Forum";
  src: url("./assets/fonts/Forum-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "OPlusSans";
  src: url("./assets/fonts/OPPOSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "OPlusSans";
  src: url("./assets/fonts/OPPOSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* Design tokens */
:root {
  --bg: #1b1b1b;
  --bg-deep: #0b0b0b;
  --bg-soft: #222222;
  --surface: #262626;
  --text: #f3f3f0;
  --muted: #bab9b6;
  --faint: #959491;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --accent: #bbda48;
  --accent-dark: #bbda48;
  --vi-stone: #c2c0bb;
  --container: 1320px;
  --page-pad: clamp(20px, 4vw, 64px);
  --section-space: clamp(88px, 10vw, 152px);
  --font-sans: "OPlusSans", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-display: "Forum", "OPlusSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--bg-deep); }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg-deep);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - var(--page-pad) * 2), var(--container));
  margin-inline: auto;
}
.section { padding: var(--section-space) 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
  flex: 0 0 auto;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
.brand-name, .eyebrow, .card-index, .hero-signature, .hero-side-note,
.stat strong, .system-diagram span, .system-diagram small, .footer-meta {
  font-family: var(--font-display);
}
h2 {
  font-size: clamp(36px, 4.5vw, 66px);
  letter-spacing: -0.045em;
  line-height: 1.15;
}
h2 strong { font-weight: 500; }
.lead { color: var(--text) !important; font-size: 17px !important; line-height: 1.9 !important; }
.section-note { display: block; margin-top: 30px; color: var(--faint); font-size: 11px; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 96px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: height 300ms ease, background-color 300ms ease, border-color 300ms ease;
}
.site-header.is-scrolled {
  height: 74px;
  border-color: var(--line);
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: auto; height: 42px; object-fit: contain; flex: 0 0 auto; }
.brand-wordmark { display: block; width: 146px; height: auto; flex: 0 0 auto; }
.brand-type { display: flex; flex-direction: column; }
.brand-name { font-size: 16px; font-weight: 400; letter-spacing: 0.18em; line-height: 1.3; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); margin-left: auto; }
.desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: #d7d7d3;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav a.is-active { color: var(--text); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-left: clamp(20px, 3vw, 48px);
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  transition: background-color 200ms ease, color 200ms ease;
}
.header-cta:hover { background: var(--text); color: var(--bg-deep); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 25px; height: 1px; margin: 7px auto; background: var(--text); transition: transform 250ms ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 126px var(--page-pad) 42px;
  background: var(--bg-deep);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 22px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: clamp(26px, 7vw, 40px); font-weight: 400; }
.mobile-menu nav a span { color: var(--accent); font-size: 10px; letter-spacing: 0.14em; }
.mobile-menu > p { color: var(--faint); font-size: 9px; letter-spacing: 0.2em; }

/* Hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 720px;
  max-height: 1020px;
  overflow: hidden;
  background: #080808;
  isolation: isolate;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; pointer-events: none; transition: opacity 750ms ease; }
.hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 82px;
  padding-bottom: 100px;
}
.hero-copy h1, .hero-copy h2 {
  max-width: 1040px;
  font-size: clamp(46px, 6.4vw, 100px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.08;
}
.hero-copy h1 span, .hero-copy h2 span { font-weight: 400; }
.hero-copy .eyebrow, .hero-copy h1, .hero-copy h2, .hero-description, .hero-copy .text-link {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.hero-slide.is-active .eyebrow { opacity: 1; transform: none; transition-delay: 120ms; }
.hero-slide.is-active h1, .hero-slide.is-active h2 { opacity: 1; transform: none; transition-delay: 220ms; }
.hero-slide.is-active .hero-description { opacity: 1; transform: none; transition-delay: 340ms; }
.hero-slide.is-active .text-link { opacity: 1; transform: none; transition-delay: 440ms; }
.hero-description { max-width: 530px; margin-top: 30px; color: #b8b8b4; font-size: 15px; line-height: 1.9; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  align-self: flex-start;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  transition: border-color 200ms ease, color 200ms ease;
}
.text-link:hover { border-color: var(--accent); color: var(--accent); }
.hero-art {
  position: absolute;
  top: 0;
  right: -3%;
  bottom: 0;
  width: 53%;
  color: #363636;
  opacity: 0.62;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-slide.is-active .hero-art { transform: scale(1); }
.hero-art svg { width: 100%; height: 100%; }
.hero-art .art-accent { color: var(--accent-dark); stroke: currentColor; }
.hero-art-grid { right: 0; width: 47%; }
.hero-art-nodes { color: #3b3b3b; }
.hero-art-layers { color: #343434; }
.hero-side-note {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 22px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}
.hero-bottom {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 32px;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
}
.hero-signature { color: var(--faint); font-size: 9px; letter-spacing: 0.18em; }
.scroll-cue { display: grid; place-items: center; width: 28px; height: 48px; border: 1px solid var(--line-strong); border-radius: 20px; }
.scroll-cue span { width: 4px; height: 4px; border-radius: 50%; background: var(--text); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0%, 100% { transform: translateY(-8px); opacity: 0.5; } 50% { transform: translateY(8px); opacity: 1; } }
.slider-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.slider-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.slider-controls button:hover { border-color: var(--accent); background: rgba(255,255,255,0.05); }
.slide-count { margin-right: 14px; color: var(--muted); font-size: 10px; letter-spacing: 0.14em; }
.slide-progress { position: absolute; z-index: 5; right: 0; bottom: 0; left: 0; height: 2px; background: rgba(255,255,255,0.08); }
.slide-progress span { display: block; width: 33.333%; height: 100%; background: var(--accent); transition: width 500ms ease; }

/* About */
.about-section { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.about-visual { position: relative; min-height: 590px; overflow: hidden; border: 1px solid var(--line); background: #202020; color: #444441; }
.about-visual svg, .about-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-photo { object-fit: cover; }
.about-visual .art-accent { stroke: var(--accent-dark); }
.about-logo { position: absolute; right: 28px; bottom: 24px; width: 38px; height: auto; opacity: 0.76; }
.about-copy > p:not(.eyebrow) { max-width: 620px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.about-copy h2 { margin-bottom: 32px; }
.principles { margin-top: 42px; border-top: 1px solid var(--line); }
.principles p { display: flex; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); color: #d3d3cf; font-size: 12px; }
.principles span { color: var(--accent); font-size: 10px; }

/* Facts */
.facts-section { position: relative; padding: clamp(80px, 9vw, 132px) 0; overflow: hidden; background: #111111; }
.facts-section::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  pointer-events: none;
}
.facts-heading { position: relative; max-width: 750px; }
.facts-heading h2 { font-size: clamp(34px, 4vw, 58px); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
.stat { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.stat strong { display: block; font-size: clamp(48px, 6vw, 80px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.stat span { display: block; margin-top: 18px; color: var(--muted); font-size: 11px; }

/* Expertise */
.expertise-section { background: var(--bg); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr); gap: 60px; align-items: end; margin-bottom: clamp(50px, 6vw, 86px); }
.section-heading > p { max-width: 460px; padding-bottom: 8px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-height: 350px; padding: clamp(28px, 4vw, 52px); background: var(--bg); transition: background-color 300ms ease; }
.service-card:hover { background: var(--bg-soft); }
.card-index { display: block; margin-bottom: 40px; color: var(--accent); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }
.service-card h3, .system-copy h3 { margin-bottom: 20px; font-size: clamp(25px, 2.6vw, 36px); line-height: 1.3; }
.service-card p { max-width: 480px; color: var(--muted); }
.service-card ul, .system-copy ul { margin-top: 26px; }
.service-card li, .system-copy li { position: relative; padding: 6px 0 6px 20px; color: #cececa; font-size: 12px; }
.service-card li::before, .system-copy li::before { position: absolute; top: 16px; left: 0; width: 8px; height: 1px; background: var(--accent); content: ""; }

/* Digital process */
.digital-section { background: #141414; }
.digital-grid { display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr); gap: clamp(60px, 9vw, 140px); align-items: start; }
.digital-intro { position: sticky; top: 120px; }
.digital-intro > p:not(.eyebrow) { max-width: 430px; margin-top: 28px; color: var(--muted); }
.process-accordion { border-top: 1px solid var(--line-strong); }
.process-item { border-bottom: 1px solid var(--line); }
.process-item h3 { font-size: 16px; font-weight: 400; }
.process-item h3 button {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 28px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.process-item h3 button > span { color: var(--accent); font-size: 10px; letter-spacing: 0.12em; }
.process-item h3 button > strong { font-size: clamp(17px, 1.8vw, 23px); font-weight: 400; }
.process-item h3 i { position: relative; width: 18px; height: 18px; }
.process-item h3 i::before, .process-item h3 i::after { position: absolute; top: 8px; left: 2px; width: 14px; height: 1px; background: var(--muted); content: ""; transition: transform 250ms ease; }
.process-item h3 i::after { transform: rotate(90deg); }
.process-item.is-open h3 i::after { transform: rotate(0); }
.process-item.is-open h3 button > strong { color: var(--accent); }
.process-panel { padding: 0 0 32px 58px; }
.process-panel > p { max-width: 600px; color: var(--muted); }
.process-panel dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.process-panel dl > div { padding: 16px; background: var(--bg-soft); }
.process-panel dt { margin-bottom: 8px; color: var(--accent); font-size: 10px; }
.process-panel dd { color: #c5c5c1; font-size: 11px; line-height: 1.7; }

/* Systems */
.systems-section { background: var(--bg); }
.bimass-word { display: inline-block; white-space: nowrap; letter-spacing: normal; }
.bimass-prefix { font-size: 0.6667em; letter-spacing: inherit; vertical-align: baseline; }
.tab-list { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line-strong); scrollbar-width: thin; }
.tab-list button {
  flex: 0 0 auto;
  min-height: 50px;
  padding: 12px 26px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}
.tab-list button:first-child { padding-left: 0; }
.tab-list button[aria-selected="true"] { border-color: var(--accent); color: var(--text); }
.system-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr); gap: clamp(50px, 8vw, 110px); align-items: center; min-height: 470px; padding: 58px 0 0; }
.system-copy > p { max-width: 590px; color: var(--muted); }
.system-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: #181818;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.system-diagram::before, .system-diagram::after { position: absolute; border: 1px solid var(--accent-dark); content: ""; transform: rotate(45deg); }
.system-diagram::before { width: 38%; aspect-ratio: 1; }
.system-diagram::after { width: 58%; aspect-ratio: 1; border-color: var(--line); }
.system-diagram span { position: relative; z-index: 1; padding: 8px 14px; background: #181818; font-size: clamp(24px, 4vw, 48px); font-weight: 400; letter-spacing: -0.04em; }
.system-diagram small { position: relative; z-index: 1; margin-top: 8px; padding: 4px 8px; background: #181818; color: var(--accent); font-size: 8px; letter-spacing: 0.16em; }

/* Projects placeholders */
.projects-section { padding: var(--section-space) 0; background: #141414; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 36px); }
.project-art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); background: #202020; transition: border-color 250ms ease; }
.project-art::before, .project-art::after { position: absolute; content: ""; transition: transform 700ms ease; }
.project-art::before { inset: 12%; border: 1px solid #444441; }
.project-art::after { top: 50%; left: -10%; width: 120%; height: 1px; background: var(--accent-dark); transform: rotate(-35deg); }
.project-art-b::before { inset: 18% 10%; transform: rotate(45deg); }
.project-art-b::after { transform: rotate(35deg); }
.project-art-c::before { inset: 10% 24%; border-radius: 50%; }
.project-art-c::after { top: 0; left: 50%; width: 1px; height: 100%; transform: none; }
.project-art > span { position: absolute; z-index: 1; right: 18px; bottom: 12px; color: #555551; font-size: 60px; font-weight: 400; line-height: 1; }
.project-card:hover .project-art { border-color: var(--accent-dark); }
.project-card:hover .project-art::before { transform: scale(1.04); }
.project-card:hover .project-art-b::before { transform: rotate(45deg) scale(1.04); }
.project-meta { padding-top: 20px; }
.project-meta > span { color: var(--accent); font-size: 9px; letter-spacing: 0.12em; }
.project-meta h3 { margin-top: 8px; font-size: 21px; font-weight: 400; }
.project-meta p { margin-top: 4px; color: var(--faint); font-size: 11px; }

/* Contact */
.contact-section { background: var(--bg-deep); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); gap: clamp(60px, 10vw, 150px); }
.contact-copy > p:not(.eyebrow) { max-width: 470px; margin-top: 28px; color: var(--muted); }
.contact-copy h2 { font-size: clamp(32px, 3.5vw, 52px); }
.contact-copy h2 strong { white-space: nowrap; }
.contact-details { display: flex; flex-direction: column; gap: 6px; margin-top: 46px; color: var(--muted); font-size: 11px; }
.contact-details a { align-self: flex-start; color: var(--accent); }
.contact-qr { width: 148px; margin: 28px 0 0; }
.qr-frame { display: block; padding: 8px; border: 0; background: transparent; }
.qr-frame img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.qr-frame:hover { outline: none; }
.contact-qr figcaption { margin-top: 9px; color: var(--accent); font-size: 10px; letter-spacing: 0.08em; }
.project-form { padding-top: 6px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-form label { display: block; margin-bottom: 24px; color: var(--muted); font-size: 10px; letter-spacing: 0.06em; }
.project-form input:not([type="checkbox"]):not([type="file"]), .project-form select, .project-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  resize: vertical;
}
.project-form input:focus, .project-form select:focus, .project-form textarea:focus { border-color: var(--accent); }
.project-form select option { background: var(--bg-soft); color: var(--text); }
.project-form ::placeholder { color: var(--faint); opacity: 1; }
.file-field input { display: block; width: 100%; margin-top: 10px; color: var(--muted); font-size: 11px; }
.file-field input::file-selector-button { margin-right: 14px; padding: 8px 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; }
.file-note { display: block; margin-top: 6px; color: var(--faint); font-size: 10px; }
.project-form .consent { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg-deep);
  font-size: 12px;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.button-primary:hover { border-color: var(--accent); background: var(--accent); }
.form-status { min-height: 26px; margin-top: 16px; color: var(--accent); font-size: 11px; }

/* Footer */
.site-footer { padding: 48px 0 42px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(22px, 3vw, 48px); align-items: center; }
.footer-brand { flex-direction: row; align-items: center; gap: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--muted); font-size: 10px; }
.footer-links a { display: inline-flex; align-items: baseline; gap: 5px; min-height: 30px; align-items: center; }
.footer-links a:hover { color: var(--accent); }
.footer-pending { color: var(--faint); cursor: default; opacity: 0.72; }
.footer-external { color: var(--accent); font-size: 10px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; color: var(--faint); font-size: 9px; letter-spacing: 0.1em; }
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--bg-deep);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 200ms ease, border-color 200ms ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { border-color: var(--accent); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 750ms ease, transform 750ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.service-grid .reveal:nth-child(2), .project-grid .reveal:nth-child(2) { transition-delay: 100ms; }
.service-grid .reveal:nth-child(3), .project-grid .reveal:nth-child(3) { transition-delay: 180ms; }
.service-grid .reveal:nth-child(4) { transition-delay: 260ms; }

/* Responsive */
@media (max-width: 1100px) {
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 10px; }
  .header-cta { margin-left: 22px; }
  .hero-art { right: -12%; width: 62%; opacity: 0.48; }
  .about-grid { gap: 60px; }
  .about-visual { min-height: 500px; }
  .digital-grid { gap: 60px; }
  .process-panel dl { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 700px; }
  .hero-copy { padding-top: 92px; }
  .hero-copy h1, .hero-copy h2 { max-width: 740px; }
  .hero-art { right: -22%; width: 78%; opacity: 0.38; }
  .about-grid, .digital-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 440px; }
  .about-copy { max-width: 680px; }
  .digital-intro { position: static; }
  .digital-intro > p:not(.eyebrow) { max-width: 640px; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .section-heading > p { max-width: 600px; }
  .system-panel { grid-template-columns: 1fr; gap: 42px; padding-top: 44px; }
  .system-diagram { max-width: 620px; width: 100%; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .contact-copy { max-width: 720px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 10px 20px; }
  .footer-meta { align-items: flex-start; flex-direction: row; gap: 14px; }
}

@media (max-width: 640px) {
  :root { --page-pad: 20px; --section-space: 82px; }
  body { font-size: 13px; }
  .brand-mark { width: auto; height: 34px; }
  .brand-wordmark { width: 118px; }
  .brand-name { font-size: 14px; }
  .hero { min-height: 680px; max-height: 860px; }
  .hero-copy { justify-content: flex-start; padding-top: 160px; padding-bottom: 130px; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(40px, 12vw, 58px); line-height: 1.12; }
  .hero-description { max-width: 92%; margin-top: 24px; font-size: 13px; }
  .hero-copy .eyebrow { max-width: 86%; font-size: 8px; }
  .hero-art { top: 12%; right: -46%; width: 125%; opacity: 0.25; }
  .hero-side-note { display: none; }
  .hero-bottom { bottom: 24px; grid-template-columns: 1fr auto; }
  .hero-signature { display: none; }
  .scroll-cue { justify-self: start; }
  .slider-controls { grid-column: 2; }
  .slide-count { margin-right: 4px; }
  .slider-controls button { width: 40px; height: 40px; }
  .about-grid { gap: 46px; }
  .about-visual { min-height: 340px; }
  .about-copy h2 { margin-bottom: 24px; }
  .lead { font-size: 15px !important; }
  .principles p { gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 20px; margin-top: 50px; }
  .stat strong { font-size: 54px; }
  .stat span { font-size: 10px; line-height: 1.6; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 30px 24px 34px; }
  .card-index { margin-bottom: 28px; }
  .digital-grid { gap: 44px; }
  .process-item h3 button { grid-template-columns: 30px 1fr 20px; gap: 10px; padding: 23px 0; }
  .process-panel { padding: 0 0 26px 40px; }
  .process-panel dl { gap: 8px; }
  .tab-list button { padding-inline: 18px; }
  .tab-list button:first-child { padding-left: 0; }
  .system-panel { min-height: auto; }
  .system-diagram { aspect-ratio: 1 / 1; }
  .project-grid { grid-template-columns: 1fr; gap: 44px; }
  .project-card:last-child { grid-column: auto; max-width: none; }
  .project-art { aspect-ratio: 1 / 1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { gap: 52px; }
  .contact-details { margin-top: 32px; overflow-wrap: anywhere; }
  .footer-grid { gap: 26px; }
  .footer-links { gap: 6px 18px; }
  .footer-links a, .footer-pending { min-height: 36px; display: inline-flex; align-items: center; }
  .footer-meta { font-size: 8px; }
  .back-to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
