@font-face {
  font-family: "Woxi Serif SC";
  src: url("../assets/fonts/noto-serif-sc-subset.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Woxi Sans SC";
  src: url("../assets/fonts/noto-sans-sc-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #06070b;
  --ink-2: #0a0b11;
  --ink-3: #0f1119;
  --ink-4: #161923;
  --paper: #f2eee4;
  --paper-2: #e9e3d5;
  --paper-3: #faf7ef;
  --ink-text: #171810;
  --ink-muted: #605f56;
  --bone: #f2ecdf;
  --bone-muted: rgba(242, 236, 223, 0.62);
  --bone-faint: rgba(242, 236, 223, 0.12);
  --gold: #d8b56f;
  --gold-bright: #f0dcae;
  --gold-deep: #996d26;
  --blue: #93b0ff;
  --red: #bd4b39;
  --line-dark: rgba(23, 24, 16, 0.16);
  --line-light: rgba(242, 236, 223, 0.15);
  --font-display: "Woxi Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Woxi Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-latin: "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", "Consolas", monospace;
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 78px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--ink);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

dialog {
  color: inherit;
  font: inherit;
}

p,
h1,
h2,
h3,
h4 {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold-bright);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.3s var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: 1392px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: calc(var(--container) + (var(--gutter) * 2));
}

.section {
  position: relative;
  padding-top: clamp(5rem, 9vw, 8.75rem);
  padding-bottom: clamp(5rem, 9vw, 8.75rem);
  padding-block: clamp(5rem, 9vw, 8.75rem);
}

.section--ink {
  background: var(--ink);
  color: var(--bone);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.015em;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.accent {
  color: var(--gold-deep);
  background: linear-gradient(102deg, #8b601f 5%, #b98a3c 54%, #d0a65d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =====================
   Header
   ===================== */

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  inset: 0 0 auto;
  z-index: 120;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright) 55%, var(--blue));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  background: var(--ink);
  border-bottom: 1px solid var(--line-light);
  transition: box-shadow 0.4s ease, background-color 0.4s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand__mark {
  width: 33px;
  color: var(--gold);
  transition: transform 0.7s var(--ease-out);
}

.brand__orbit {
  opacity: 0.38;
  transform-origin: center;
  animation: orbit-spin 26s linear infinite;
}

.brand__spark {
  transform-origin: center;
  animation: brand-twinkle 6s ease-in-out infinite;
}

.brand:hover .brand__mark {
  transform: rotate(18deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.13em;
  color: var(--bone);
}

.brand__text small {
  color: rgba(242, 236, 223, 0.58);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.2;
  letter-spacing: 0.18em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-block: 12px;
  color: rgba(242, 236, 223, 0.66);
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.desktop-nav a span {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.desktop-nav a[aria-current="page"] {
  color: var(--bone);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-left: 10px;
  padding-left: 16px;
  padding-right: 16px;
  padding-inline: 16px;
  border: 1px solid rgba(242, 236, 223, 0.26);
  border-radius: 999px;
  color: var(--bone);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.header-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out);
}

.header-action:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.header-action:hover svg {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid rgba(242, 236, 223, 0.22);
  border-radius: 999px;
  color: var(--bone);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.menu-toggle__lines {
  position: relative;
  display: block;
  width: 17px;
  height: 10px;
}

.menu-toggle__lines i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}

.menu-toggle__lines i:first-child {
  top: 1px;
}

.menu-toggle__lines i:last-child {
  bottom: 1px;
}

.menu-toggle:hover .menu-toggle__lines i:first-child {
  transform: translateY(3px);
}

.menu-toggle:hover .menu-toggle__lines i:last-child {
  transform: translateY(-3px);
}

/* =====================
   Hero
   ===================== */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  overflow: clip;
  padding-top: var(--header-h);
  background: var(--ink);
}

.starfield,
.hero__aura,
.hero__orbits,
.hero__grain,
.hero__watermark {
  position: absolute;
}

.starfield {
  top: 0;
  left: 0;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero__aura {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 78% 21%, rgba(216, 181, 111, 0.19), transparent 38%),
    radial-gradient(ellipse at 10% 80%, rgba(84, 111, 207, 0.14), transparent 43%),
    radial-gradient(ellipse at 55% 50%, rgba(35, 44, 76, 0.17), transparent 60%),
    linear-gradient(180deg, #06070b 0%, #07080e 54%, #080a11 100%);
}

.hero__aura::before {
  content: "";
  position: absolute;
  top: 4%;
  right: 4%;
  width: min(52vw, 760px);
  height: min(52vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 181, 111, 0.13), rgba(216, 181, 111, 0.025) 42%, transparent 69%);
  filter: blur(26px);
  animation: aura-drift 16s ease-in-out infinite alternate;
}

.hero__aura::after {
  content: "";
  position: absolute;
  left: 4%;
  bottom: 4%;
  width: min(42vw, 600px);
  height: min(42vw, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 123, 220, 0.12), transparent 64%);
  filter: blur(30px);
  animation: aura-drift 20s ease-in-out infinite alternate-reverse;
}

.hero__orbits {
  top: 49%;
  left: 58%;
  z-index: 0;
  width: min(124vw, 1500px);
  height: min(124vw, 1500px);
  aspect-ratio: 1;
  opacity: 0.58;
  transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at center, #000 12%, rgba(0, 0, 0, 0.7) 46%, transparent 71%);
  mask-image: radial-gradient(circle at center, #000 12%, rgba(0, 0, 0, 0.7) 46%, transparent 71%);
}

.hero__orbits svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(242, 236, 223, 0.15);
  stroke-width: 0.7;
  animation: orbit-spin 100s linear infinite;
  transform-origin: center;
}

.hero__orbits circle:nth-child(2) {
  stroke: rgba(216, 181, 111, 0.2);
  stroke-dasharray: 1 12;
}

.hero__orbits ellipse {
  stroke: rgba(147, 176, 255, 0.12);
}

.hero__orbits path {
  stroke: rgba(242, 236, 223, 0.09);
}

.hero__watermark {
  right: -0.08em;
  bottom: 7%;
  z-index: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(23rem, 48vw, 45rem);
  font-weight: 900;
  line-height: 0.72;
  opacity: 0.75;
  -webkit-text-stroke: 1px rgba(242, 236, 223, 0.075);
  user-select: none;
  pointer-events: none;
}

.hero__grain {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 4;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-top: clamp(1.5rem, 3.8vh, 3rem);
  padding-bottom: clamp(1.25rem, 2.5vh, 2.25rem);
}

.hero__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(242, 236, 223, 0.12);
  color: rgba(242, 236, 223, 0.48);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.hero__coords {
  color: rgba(216, 181, 111, 0.74);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 181, 111, 0.08), 0 0 14px rgba(240, 220, 174, 0.75);
  animation: dot-pulse 3.4s ease-in-out infinite;
}

.hero__title-block {
  margin-top: clamp(2.4rem, 6.5vh, 5.2rem);
  perspective: 1200px;
}

.hero__pretitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  color: rgba(242, 236, 223, 0.58);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.hero__pretitle-line {
  display: inline-block;
  width: clamp(26px, 3vw, 50px);
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

.hero__title {
  margin-top: clamp(1rem, 2.3vh, 1.8rem);
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, min(12.5vw, 15vh), 10.8rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.01em;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.hero__line--second {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 2.2rem);
  margin-top: 0.08em;
}

.hero__line--second > [data-split] {
  white-space: nowrap;
}

.hero__entity {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.7em 0.95em;
  border: 1px solid rgba(216, 181, 111, 0.4);
  border-radius: 999px;
  background: rgba(216, 181, 111, 0.055);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: clamp(8px, 0.95vw, 12px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  white-space: nowrap;
  transform: translateY(-0.04em);
  backdrop-filter: blur(4px);
}

.hero__entity i {
  color: var(--gold-bright);
  font-style: normal;
  font-size: 0.75em;
}

.hero__statement {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(1.6rem, 4.5vw, 4.5rem);
  margin-top: clamp(1.8rem, 4.2vh, 3rem);
}

.hero__tagline {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.8vw, 1.62rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.035em;
}

.hero__tagline em {
  color: var(--gold);
  font-style: normal;
}

.hero__description {
  max-width: 280px;
  padding-left: 18px;
  border-left: 1px solid var(--line-light);
  color: var(--bone-muted);
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.035em;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: auto;
  padding-top: clamp(2.5rem, 6vh, 4.75rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.09em;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.45s var(--ease-out);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn--light {
  background: var(--bone);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--gold-bright);
}

.btn--ghost {
  border-color: rgba(242, 236, 223, 0.26);
  color: var(--bone);
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(216, 181, 111, 0.07);
}

.orbit-badge {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(108px, 9vw, 136px);
  height: clamp(108px, 9vw, 136px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--bone);
}

.orbit-badge::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  border: 1px solid rgba(242, 236, 223, 0.2);
  border-radius: 50%;
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out);
}

.orbit-badge::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(240, 220, 174, 0.6);
}

.orbit-badge__text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(242, 236, 223, 0.52);
  animation: orbit-spin 32s linear infinite;
}

.orbit-badge__text text {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.orbit-badge__center {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(242, 236, 223, 0.22);
  border-radius: 50%;
  background: rgba(6, 7, 11, 0.28);
  backdrop-filter: blur(4px);
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.orbit-badge__center svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.orbit-badge:hover::before {
  border-color: rgba(216, 181, 111, 0.55);
  transform: scale(1.03);
}

.orbit-badge:hover .orbit-badge__center {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.hero__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(1.6rem, 3.6vh, 2.75rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(242, 236, 223, 0.1);
  color: rgba(242, 236, 223, 0.34);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.23em;
}

.hero__footer p:last-child {
  color: rgba(216, 181, 111, 0.5);
}

.hero__footer-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 236, 223, 0.17), transparent);
}

/* Hero kinetic type */

.js .char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.55em, 0) rotate(3deg);
  filter: blur(14px);
  animation: char-enter 1s var(--ease-out) calc(0.16s + (var(--i) * 0.068s)) both;
}

.js .char__inner {
  display: inline-block;
  animation: char-float 7s ease-in-out calc(var(--i) * -0.67s) infinite alternate;
}

.js .char--accent .char__inner {
  background: linear-gradient(172deg, var(--gold-bright) 8%, var(--gold) 47%, #ad7d34 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.js .hero__entity {
  opacity: 0;
  animation: fade-rise 0.9s var(--ease-out) 0.85s both;
}

.js .hero__pretitle,
.js .hero__topline {
  opacity: 0;
  animation: fade-rise 0.9s var(--ease-out) 0.18s both;
}

.js .hero__statement {
  opacity: 0;
  animation: fade-rise 0.9s var(--ease-out) 0.72s both;
}

.js .hero__bottom {
  opacity: 0;
  animation: fade-rise 0.9s var(--ease-out) 0.9s both;
}

.js .hero__footer {
  opacity: 0;
  animation: fade-rise 0.9s var(--ease-out) 1.05s both;
}

/* =====================
   Ticker
   ===================== */

.ticker {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--ink-text);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-move 42s linear infinite;
  will-change: transform;
}

.ticker__half {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.35rem);
  padding: 13px 0;
  padding-right: clamp(1rem, 2.4vw, 2.35rem);
}

.ticker__half span {
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 0.98vw, 0.94rem);
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.ticker__half i {
  color: var(--red);
  font-size: 0.55rem;
  font-style: normal;
  opacity: 0.8;
}

/* =====================
   Section furniture
   ===================== */

.section-marker {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.section-marker > p:first-child {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.section-marker__num {
  color: #7b551c;
  font-size: 9px;
}

.section-marker__name {
  letter-spacing: 0.2em;
}

.section-marker__cn {
  padding-left: 12px;
  border-left: 1px solid var(--line-dark);
  color: var(--ink-text);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.section-marker__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line-dark);
}

.section-marker__aside {
  text-align: right;
  white-space: nowrap;
}

.section-marker--on-dark {
  color: rgba(242, 236, 223, 0.42);
}

.section-marker--on-dark .section-marker__num {
  color: var(--gold);
}

.section-marker--on-dark .section-marker__cn {
  border-color: var(--line-light);
  color: var(--bone);
}

.section-marker--on-dark .section-marker__rule {
  background: var(--line-light);
}

.section-title {
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 5.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.015em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold-deep);
  color: var(--ink-text);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.text-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out);
}

.text-link:hover {
  border-color: var(--ink-text);
  color: var(--gold-deep);
}

.text-link:hover svg {
  transform: translate(2px, -2px);
}

/* =====================
   About
   ===================== */

.about {
  background: var(--paper);
  color: var(--ink-text);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.about__visual {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  padding-left: 16px;
}

.portrait-card {
  position: relative;
  z-index: 1;
  width: min(100%, 445px);
  margin: 0;
}

.portrait-card__offset {
  position: absolute;
  top: 16px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  border: 1px solid rgba(153, 109, 38, 0.42);
  pointer-events: none;
}

.portrait-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #cfcac0;
  box-shadow: 0 32px 70px -38px rgba(20, 18, 10, 0.55);
}

.portrait-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03) sepia(0.05);
  transform: scale(1.015);
  transition: transform 1.2s var(--ease-out), filter 0.8s ease;
}

.portrait-card:hover .portrait-card__media img {
  filter: saturate(0.98) contrast(1.02) sepia(0.02);
  transform: scale(1.045);
}

.portrait-card__scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 52%, rgba(6, 7, 11, 0.52) 100%),
    linear-gradient(95deg, rgba(216, 181, 111, 0.12), transparent 45%);
  pointer-events: none;
}

.portrait-card__caption {
  position: absolute;
  bottom: 21px;
  left: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--paper-3);
}

.portrait-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.portrait-card__role {
  color: rgba(250, 247, 239, 0.58);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.17em;
}

.portrait-card__index {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 8px;
  background: rgba(6, 7, 11, 0.28);
  color: rgba(250, 247, 239, 0.65);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.16em;
  backdrop-filter: blur(4px);
}

.about__seal {
  position: absolute;
  bottom: 64px;
  left: -27px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 236, 223, 0.46);
  background: var(--red);
  color: var(--paper-3);
  transform: rotate(-7deg);
  box-shadow: 0 14px 30px -18px rgba(52, 17, 10, 0.8);
}

.about__seal span {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.about__seal small {
  position: absolute;
  bottom: 7px;
  color: var(--paper-3);
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 0.09em;
}

.about__vertical {
  position: absolute;
  right: -32px;
  bottom: 2px;
  color: rgba(23, 24, 16, 0.66);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.26em;
  writing-mode: vertical-rl;
}

.about__content {
  min-width: 0;
  padding-top: clamp(0rem, 3vw, 2.5rem);
}

.about__copy {
  max-width: 42rem;
  margin-top: clamp(1.7rem, 3vw, 2.6rem);
}

.about__copy .lead {
  color: var(--ink-text);
  font-size: clamp(1rem, 1.24vw, 1.13rem);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.015em;
}

.about__copy p + p {
  max-width: 35rem;
  margin-top: 1.2rem;
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 2;
}

.about__numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.1rem, 4vw, 3.4rem);
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.about-number {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  padding-inline: 1.2rem;
  border-right: 1px solid var(--line-dark);
}

.about-number:first-child {
  padding-left: 0;
}

.about-number:last-child {
  border-right: 0;
}

.about-number__value {
  color: var(--gold-deep);
  font-family: var(--font-latin);
  font-size: clamp(2.5rem, 3.8vw, 3.6rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
}

.about-number__label {
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.about-number__label small {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.15em;
}

.company-facts {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-dark);
}

.company-facts__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0.4rem;
}

.company-facts__head h3 {
  color: var(--ink-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.company-facts__head span {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.company-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
}

.company-facts dl > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line-dark);
}

.company-facts dl > .is-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.company-facts dt {
  flex: 0 0 auto;
  color: var(--ink-muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.company-facts dd {
  color: var(--ink-text);
  font-size: 12.5px;
  line-height: 1.6;
  text-align: right;
}

.company-facts .is-wide dd {
  text-align: right;
}

.company-facts dd.mono {
  font-size: 11px;
  letter-spacing: 0.06em;
}

.company-facts__note {
  margin-top: 0.7rem;
  color: var(--ink-muted);
  font-size: 8.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* =====================
   Manifesto
   ===================== */

.manifesto {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4.5rem, 8vw, 8rem);
  padding-bottom: clamp(4.5rem, 8vw, 8rem);
  padding-block: clamp(4.5rem, 8vw, 8rem);
  background: var(--paper-2);
  color: var(--ink-text);
  border-top: 1px solid var(--line-dark);
}

.manifesto__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}

.manifesto__label {
  grid-column: 1 / -1;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.19em;
}

.manifesto__copy {
  max-width: 970px;
  margin-top: clamp(1.8rem, 4vw, 3.4rem);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.8vw, 4.8rem);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: 0.01em;
}

.manifesto__copy span {
  display: block;
}

.manifesto__copy span + span {
  padding-left: clamp(1.5rem, 8vw, 7rem);
}

.manifesto__copy em {
  color: var(--gold-deep);
  font-style: normal;
  background: linear-gradient(180deg, transparent 72%, rgba(216, 181, 111, 0.34) 72%, rgba(216, 181, 111, 0.34) 82%, transparent 82%);
}

.manifesto__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 0.6rem;
  color: var(--ink-muted);
  text-align: right;
}

.manifesto__meta span {
  color: var(--red);
  font-size: 0.85rem;
}

.manifesto__meta p {
  font-family: var(--font-latin);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: 0.015em;
}

.manifesto__ghost {
  position: absolute;
  right: 0.02em;
  bottom: -0.34em;
  z-index: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(18rem, 32vw, 31rem);
  font-weight: 900;
  line-height: 0.75;
  opacity: 0.6;
  -webkit-text-stroke: 1px rgba(23, 24, 16, 0.08);
  pointer-events: none;
  user-select: none;
}

/* =====================
   Services
   ===================== */

.services {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 91% 7%, rgba(147, 176, 255, 0.08), transparent 32%),
    radial-gradient(ellipse at 7% 82%, rgba(216, 181, 111, 0.07), transparent 37%),
    var(--ink);
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 16% 24%, rgba(242, 236, 223, 0.4) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 66%, rgba(216, 181, 111, 0.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 86% 18%, rgba(147, 176, 255, 0.35) 0 1px, transparent 1.5px),
    radial-gradient(circle at 30% 82%, rgba(242, 236, 223, 0.25) 0 1px, transparent 1.5px);
  background-size: 420px 420px, 540px 540px, 360px 360px, 480px 480px;
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(3rem, 5.5vw, 5rem);
}

.services__intro .section-title {
  color: var(--bone);
}

.services .accent {
  color: var(--gold-bright);
  background: linear-gradient(102deg, #c79a4b, #f0dcae 56%, #d8b56f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services__intro-copy {
  max-width: 30rem;
  padding-bottom: 0.35rem;
}

.services__intro-copy p {
  color: var(--bone-muted);
  font-size: 12.5px;
  line-height: 2;
  letter-spacing: 0.02em;
}

.services__note {
  margin-top: 1.25rem;
  padding-left: 14px;
  border-left: 1px solid rgba(216, 181, 111, 0.42);
  color: rgba(242, 236, 223, 0.42) !important;
  font-size: 10px !important;
  line-height: 1.85 !important;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(340px, 29vw, 420px);
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
  overflow: hidden;
  border: 1px solid var(--line-light);
  background:
    linear-gradient(152deg, rgba(242, 236, 223, 0.038), rgba(242, 236, 223, 0.008) 58%),
    rgba(10, 12, 18, 0.62);
  transition: border-color 0.45s ease, transform 0.55s var(--ease-out), background-color 0.45s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: radial-gradient(360px circle at var(--spot-x, 50%) var(--spot-y, 20%), rgba(216, 181, 111, 0.11), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(216, 181, 111, 0.46);
  transform: translateY(-3px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > :not(.service-card__ghost) {
  position: relative;
  z-index: 1;
}

.service-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.service-card__act i {
  color: rgba(242, 236, 223, 0.3);
  font-style: normal;
  font-size: 7px;
}

.service-card__count {
  color: rgba(242, 236, 223, 0.42);
  font-family: var(--font-latin);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.service-card h3 {
  margin-top: clamp(1.1rem, 2.1vw, 1.7rem);
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.service-card__lead {
  max-width: 28rem;
  margin-top: 0.7rem;
  color: rgba(242, 236, 223, 0.5);
  font-size: 11.5px;
  line-height: 1.9;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: clamp(1.4rem, 2.4vw, 2rem);
}

.service-tags li {
  padding: 6px 10px;
  border: 1px solid rgba(242, 236, 223, 0.14);
  border-radius: 999px;
  color: rgba(242, 236, 223, 0.68);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.025em;
  transition: border-color 0.35s ease, color 0.35s ease, background-color 0.35s ease;
}

.service-card:hover .service-tags li {
  border-color: rgba(216, 181, 111, 0.26);
  color: rgba(242, 236, 223, 0.82);
}

.service-card__ghost {
  position: absolute;
  top: 53%;
  right: 0.18em;
  z-index: 0;
  color: transparent;
  font-family: var(--font-latin);
  font-size: clamp(8rem, 13vw, 12rem);
  line-height: 0.7;
  opacity: 0.72;
  transform: translateY(-50%);
  -webkit-text-stroke: 1px rgba(216, 181, 111, 0.22);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out);
}

.service-card:hover .service-card__ghost {
  opacity: 0.95;
  transform: translate(-4px, calc(-50% - 4px));
}

.scope {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.scope summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
}

.scope summary::-webkit-details-marker {
  display: none;
}

.scope summary:focus-visible {
  outline-offset: 6px;
}

.scope__title {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  letter-spacing: 0.06em;
}

.scope__meta {
  color: rgba(242, 236, 223, 0.38);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
}

.scope__toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  aspect-ratio: 1;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: border-color 0.35s ease, transform 0.4s var(--ease-out);
}

.scope__toggle i {
  position: absolute;
  width: 11px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.4s var(--ease-out);
}

.scope__toggle i:last-child {
  transform: rotate(90deg);
}

.scope[open] .scope__toggle i:last-child {
  transform: rotate(0deg);
}

.scope summary:hover .scope__toggle {
  border-color: var(--gold);
  transform: rotate(90deg);
}

.scope__panel {
  max-width: 78rem;
  padding: 0 0 1.7rem;
  animation: scope-open 0.45s var(--ease-out) both;
}

.scope__panel p {
  color: var(--bone-muted);
  font-size: 11.5px;
  line-height: 2.1;
  letter-spacing: 0.02em;
}

.scope__panel .scope__note {
  margin-top: 1rem;
  color: rgba(242, 236, 223, 0.36);
  font-size: 9.5px;
}

/* =====================
   Process
   ===================== */

.process {
  background: var(--paper);
  color: var(--ink-text);
}

.process__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.92fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(3rem, 5.5vw, 5rem);
}

.process__intro .section-title {
  color: var(--ink-text);
}

.process__intro > p {
  max-width: 26rem;
  padding-bottom: 0.4rem;
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 2;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  margin-top: clamp(3rem, 5.5vw, 4.5rem);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
}

.step::before {
  content: "✦";
  position: absolute;
  top: -0.47em;
  left: 0;
  padding-right: 8px;
  background: var(--paper);
  color: var(--gold-deep);
  font-size: 0.62rem;
}

.step__num {
  display: block;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold-deep);
  font-family: var(--font-latin);
  font-size: clamp(2.1rem, 3.1vw, 2.9rem);
  line-height: 0.8;
  letter-spacing: -0.01em;
  transition: transform 0.45s var(--ease-out);
}

.step:hover .step__num {
  transform: translateY(-4px);
}

.step__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.step__body p {
  margin-top: 0.55rem;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.95;
}

.step__en {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.2em;
}

.process__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2.6rem, 4.5vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
}

.process__foot > p {
  color: var(--ink-muted);
  font-size: 10px;
  letter-spacing: 0.02em;
}

/* =====================
   Contact
   ===================== */

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 76% 32%, rgba(216, 181, 111, 0.08), transparent 39%),
    linear-gradient(180deg, #07080d, #05060a 88%);
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 14% 18%, rgba(242, 236, 223, 0.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 81% 23%, rgba(216, 181, 111, 0.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 78%, rgba(147, 176, 255, 0.34) 0 1px, transparent 1.5px),
    radial-gradient(circle at 29% 69%, rgba(242, 236, 223, 0.28) 0 1px, transparent 1.5px);
  background-size: 380px 380px, 510px 510px, 440px 440px, 320px 320px;
  pointer-events: none;
}

.contact__glow {
  position: absolute;
  top: -16vw;
  right: -19vw;
  width: min(70vw, 900px);
  height: min(70vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 181, 111, 0.16), rgba(216, 181, 111, 0.035) 38%, transparent 67%);
  filter: blur(28px);
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(280px, 0.83fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
  margin-top: clamp(2.8rem, 5.5vw, 4.6rem);
}

.contact__eyebrow {
  margin-bottom: 1.3rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.contact__eyebrow span {
  margin-left: 0.45em;
  color: var(--gold-bright);
}

.contact__title {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.9vw, 6.7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.contact__title span {
  display: block;
}

.contact__title .accent {
  color: var(--gold-bright);
  background: linear-gradient(100deg, #b88738, #f0dcae 50%, #c79a4b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact__lead {
  max-width: 34rem;
  margin-top: 1.7rem;
  color: var(--bone-muted);
  font-size: 12.5px;
  line-height: 2.05;
}

.contact__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 43rem;
  margin-top: clamp(1.9rem, 3.4vw, 2.7rem);
}

.contact-action {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  min-height: 88px;
  padding: 16px 17px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: rgba(242, 236, 223, 0.025);
  color: var(--bone);
  text-align: left;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.contact-action__label {
  grid-column: 1;
  color: rgba(242, 236, 223, 0.52);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  transition: color 0.4s ease;
}

.contact-action strong {
  grid-column: 1;
  overflow-wrap: anywhere;
  font-family: var(--font-latin);
  font-size: clamp(1.03rem, 1.36vw, 1.3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.contact-action__icon {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 236, 223, 0.18);
  border-radius: 50%;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease-out);
}

.contact-action__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-action:hover {
  border-color: var(--gold);
  background: var(--bone);
  color: var(--ink);
}

.contact-action:hover .contact-action__label {
  color: rgba(23, 24, 16, 0.48);
}

.contact-action:hover .contact-action__icon {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bone);
  transform: translate(2px, -2px);
}

.contact__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 43rem;
  margin-top: clamp(1.6rem, 2.8vw, 2.2rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-light);
}

.contact__meta dt {
  color: rgba(242, 236, 223, 0.5);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.contact__meta dd {
  margin-top: 5px;
  color: rgba(242, 236, 223, 0.78);
  font-size: 11px;
  line-height: 1.65;
}

.contact__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: end;
  width: min(100%, 340px);
}

.qr-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(216, 181, 111, 0.42);
  background: var(--paper-3);
  color: var(--ink-text);
  text-align: left;
  box-shadow: 0 40px 90px -44px rgba(0, 0, 0, 0.92);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s ease;
}

.qr-card:hover {
  transform: translateY(-5px) rotate(-0.35deg);
  box-shadow: 0 50px 100px -44px rgba(0, 0, 0, 0.98);
}

.qr-card__frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
}

.qr-card__frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-card__scan {
  position: absolute;
  top: -15%;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(172, 38, 38, 0.58), transparent);
  box-shadow: 0 0 10px rgba(190, 66, 44, 0.35);
  animation: qr-scan 4.6s var(--ease-in-out) infinite;
  pointer-events: none;
}

.qr-card__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-left: 3px;
  padding-right: 3px;
  padding-inline: 3px;
}

.qr-card__caption-main {
  color: var(--ink-text);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.qr-card__caption-main i {
  color: var(--red);
  font-size: 0.6em;
  font-style: normal;
}

.qr-card__caption-sub {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.qr-card__hint {
  margin-top: 0.85rem;
  color: rgba(242, 236, 223, 0.34);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.contact__footer-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-light);
}

.contact__footer-label {
  color: rgba(242, 236, 223, 0.4);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.contact__footer-line {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
}

/* =====================
   Footer
   ===================== */

.site-footer {
  padding-top: 26px;
  padding-bottom: 26px;
  padding-block: 26px;
  border-top: 1px solid var(--line-light);
  background: #040509;
  color: rgba(242, 236, 223, 0.82);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.site-footer__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  color: rgba(242, 236, 223, 0.78);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.035em;
  text-align: center;
}

.site-footer__line a {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.site-footer__line a:hover {
  color: var(--gold-bright);
  text-decoration-color: rgba(216, 181, 111, 0.55);
}

.site-footer__sep {
  color: rgba(242, 236, 223, 0.26);
}

.site-footer__police {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-footer__police img {
  width: 18px;
  height: auto;
  opacity: 0.92;
}

.site-footer__line--credit {
  color: rgba(242, 236, 223, 0.7);
  font-size: 16px;
}

.site-footer__upyun {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 7px;
  border: 1px solid rgba(242, 236, 223, 0.16);
  background: rgba(242, 236, 223, 0.04);
  color: var(--bone) !important;
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none !important;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-footer__upyun:hover {
  border-color: rgba(216, 181, 111, 0.5);
  background: rgba(216, 181, 111, 0.08);
}

.site-footer__upyun-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 3px 7px;
  border-radius: 1px;
  background: #fff;
}

.site-footer__upyun-mark img {
  width: auto;
  height: 22px;
}

/* =====================
   Dialogs
   ===================== */

.menu-dialog {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  border: 0;
  background: var(--ink);
  color: var(--bone);
}

.menu-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
}

.menu-dialog__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px var(--gutter) max(28px, calc(28px + env(safe-area-inset-bottom)));
  background:
    radial-gradient(ellipse at 94% 10%, rgba(216, 181, 111, 0.12), transparent 32%),
    radial-gradient(ellipse at 3% 90%, rgba(82, 111, 207, 0.12), transparent 38%),
    var(--ink);
}

.menu-dialog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}

.menu-dialog__kicker {
  color: rgba(242, 236, 223, 0.42);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.menu-dialog__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--bone);
  font-size: 10px;
  letter-spacing: 0.08em;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.menu-dialog__close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.menu-dialog__close:hover {
  border-color: var(--gold);
  background: rgba(216, 181, 111, 0.08);
}

.menu-dialog__nav {
  display: flex;
  flex-direction: column;
  margin-top: clamp(2.5rem, 7vh, 5.5rem);
}

.menu-dialog__nav a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding-top: clamp(15px, 2.5vh, 26px);
  padding-bottom: clamp(15px, 2.5vh, 26px);
  padding-block: clamp(15px, 2.5vh, 26px);
  border-bottom: 1px solid var(--line-light);
  color: var(--bone);
  transition: color 0.3s ease, padding-left 0.4s var(--ease-out);
}

.menu-dialog__nav a span {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.menu-dialog__nav a strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.menu-dialog__nav a em {
  color: rgba(242, 236, 223, 0.38);
  font-family: var(--font-latin);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.menu-dialog__nav a:hover {
  padding-left: 8px;
  color: var(--gold-bright);
}

.menu-dialog__foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: auto;
  padding-top: 3rem;
  color: rgba(242, 236, 223, 0.48);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.menu-dialog__foot a {
  color: var(--bone);
  font-family: var(--font-latin);
  font-size: 1.25rem;
  letter-spacing: 0.025em;
}

.menu-dialog__star {
  color: var(--gold);
  font-size: 1rem;
}

.menu-dialog[open] .menu-dialog__top,
.menu-dialog[open] .menu-dialog__foot {
  animation: fade-rise 0.6s var(--ease-out) both;
}

.menu-dialog[open] .menu-dialog__nav a {
  animation: menu-row-in 0.7s var(--ease-out) both;
}

.menu-dialog[open] .menu-dialog__nav a:nth-child(1) { animation-delay: 0.04s; }
.menu-dialog[open] .menu-dialog__nav a:nth-child(2) { animation-delay: 0.08s; }
.menu-dialog[open] .menu-dialog__nav a:nth-child(3) { animation-delay: 0.12s; }
.menu-dialog[open] .menu-dialog__nav a:nth-child(4) { animation-delay: 0.16s; }
.menu-dialog[open] .menu-dialog__nav a:nth-child(5) { animation-delay: 0.2s; }

.qr-dialog {
  width: min(92vw, 430px);
  max-width: 430px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  background: transparent;
  color: var(--ink-text);
}

.qr-dialog::backdrop {
  background: rgba(2, 3, 5, 0.78);
  backdrop-filter: blur(9px);
}

.qr-dialog__panel {
  position: relative;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(216, 181, 111, 0.52);
  background: var(--paper);
  text-align: center;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.9);
}

.qr-dialog[open] .qr-dialog__panel {
  animation: modal-in 0.5s var(--ease-out) both;
}

.qr-dialog__kicker {
  color: var(--gold-deep);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.19em;
}

.qr-dialog h2 {
  margin-top: 0.55rem;
  color: var(--ink-text);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.qr-dialog__image {
  margin-top: 1.35rem;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line-dark);
}

.qr-dialog__image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-dialog__copy {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.9;
}

.qr-dialog__copy a {
  border-bottom: 1px solid rgba(153, 109, 38, 0.45);
  color: var(--gold-deep);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.qr-dialog__copy a:hover {
  border-color: var(--ink-text);
  color: var(--ink-text);
}

.qr-dialog__note {
  margin-top: 0.4rem;
  color: rgba(96, 95, 86, 0.68);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  aspect-ratio: 1;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--ink-text);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.dialog-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.dialog-close:hover {
  border-color: var(--ink-text);
  background: var(--ink-text);
  color: var(--paper-3);
}

/* =====================
   Toast and reveal
   ===================== */

.toast {
  position: fixed;
  bottom: max(24px, calc(24px + env(safe-area-inset-bottom)));
  left: 50%;
  z-index: 400;
  max-width: calc(100vw - 32px);
  padding: 11px 17px;
  border: 1px solid rgba(216, 181, 111, 0.45);
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.35;
  letter-spacing: 0.03em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out);
  box-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.65);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 0.9s var(--ease-out),
    transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* =====================
   Motion
   ===================== */

@keyframes char-enter {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translate3d(0, 0.55em, 0) rotate(3deg);
  }
  60% {
    opacity: 1;
    filter: blur(0.6px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes char-float {
  0% {
    transform: translate3d(0, 0.02em, 0) rotate(-0.35deg);
  }
  100% {
    transform: translate3d(0, -0.075em, 0) rotate(0.4deg);
  }
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes brand-twinkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.76;
    transform: scale(0.9);
  }
}

@keyframes dot-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(216, 181, 111, 0.07), 0 0 12px rgba(240, 220, 174, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(216, 181, 111, 0.12), 0 0 20px rgba(240, 220, 174, 0.9);
  }
}

@keyframes aura-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-3%, 4%, 0) scale(1.07);
  }
}

@keyframes ticker-move {
  to {
    transform: translateX(-50%);
  }
}

@keyframes qr-scan {
  0%, 12% {
    top: -10%;
    opacity: 0;
  }
  28% {
    opacity: 0.7;
  }
  78% {
    opacity: 0.7;
  }
  92%, 100% {
    top: 108%;
    opacity: 0;
  }
}

@keyframes scope-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menu-row-in {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =====================
   Responsive
   ===================== */

@media (max-width: 1200px) {
  .about__vertical {
    display: none;
  }

  .service-card__ghost {
    display: none;
  }

  .about__visual {
    padding-left: 10px;
  }

  .portrait-card {
    max-width: 410px;
  }

  .portrait-card__offset {
    top: 13px;
    right: -13px;
    bottom: -13px;
    left: 13px;
    inset: 13px -13px -13px 13px;
  }
}

@media (max-width: 1000px) {
  :root {
    --header-h: 70px;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero__orbits {
    left: 64%;
    opacity: 0.42;
  }

  .about__grid {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .about__visual {
    position: static;
  }

  .about__seal {
    left: -18px;
    bottom: 45px;
    width: 62px;
    height: 62px;
  }

  .about__seal span {
    font-size: 26px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .contact__aside {
    max-width: 300px;
  }
}

@media (max-width: 860px) {
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.8rem, 7vw, 4.5rem);
  }

  .about__visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1.5rem;
    padding-left: 14px;
  }

  .portrait-card {
    width: min(100%, 500px);
  }

  .about__seal {
    position: static;
    width: 64px;
    height: 64px;
    margin-bottom: 2.2rem;
    transform: rotate(-7deg);
  }

  .about__vertical {
    display: none;
  }

  .about__content {
    padding-top: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 310px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem 2rem;
  }

  .step {
    min-height: 220px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3.25rem;
  }

  .contact__aside {
    justify-self: start;
    align-items: flex-start;
    max-width: 330px;
  }

  .contact__footer-card {
    max-width: 330px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: clamp(1.15rem, 5vw, 1.75rem);
    --header-h: 66px;
  }

  .section {
    padding-top: clamp(4.2rem, 11vw, 6rem);
    padding-bottom: clamp(4.2rem, 11vw, 6rem);
    padding-block: clamp(4.2rem, 11vw, 6rem);
  }

  .brand__mark {
    width: 29px;
  }

  .brand__text strong {
    font-size: 16px;
  }

  .brand__text small {
    font-size: 6.5px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__inner {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding-top: 1.35rem;
  }

  .hero__topline {
    font-size: 7px;
    letter-spacing: 0.13em;
  }

  .hero__coords {
    display: none;
  }

  .hero__kicker {
    gap: 7px;
  }

  .hero__title-block {
    margin-top: clamp(2.6rem, 7vh, 4rem);
  }

  .hero__pretitle {
    gap: 10px;
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .hero__pretitle-line {
    width: 22px;
  }

  .hero__title {
    font-size: clamp(2.65rem, min(13.3vw, 14vh), 7rem);
    line-height: 0.92;
  }

  .hero__line--second {
    gap: clamp(0.7rem, 3vw, 1.4rem);
  }

  .hero__entity {
    padding: 0.64em 0.82em;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .hero__statement {
    display: block;
    margin-top: 1.8rem;
  }

  .hero__tagline {
    font-size: 1.16rem;
  }

  .hero__description {
    margin-top: 1rem;
    padding-left: 0;
    border-left: 0;
    font-size: 10px;
    line-height: 1.85;
  }

  .hero__description br {
    display: none;
  }

  .hero__bottom {
    align-items: flex-start;
    padding-top: 2.4rem;
  }

  .orbit-badge {
    display: none;
  }

  .btn {
    min-height: 44px;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    padding-inline: 1.1rem;
    font-size: 11px;
  }

  .hero__footer {
    margin-top: 2rem;
    font-size: 6.5px;
    letter-spacing: 0.15em;
  }

  .hero__footer p:last-child {
    display: none;
  }

  .section-marker {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    font-size: 7.5px;
  }

  .section-marker__aside {
    display: none;
  }

  .section-marker__rule {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .section-marker > p:first-child {
    gap: 9px;
  }

  .section-title {
    font-size: clamp(2.35rem, 9.6vw, 3.8rem);
  }

  .about__grid {
    margin-top: 2.4rem;
  }

  .about__visual {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    padding-left: 9px;
  }

  .portrait-card {
    max-width: none;
  }

  .portrait-card__offset {
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
    inset: 10px -10px -10px 10px;
  }

  .portrait-card__caption {
    bottom: 16px;
    left: 16px;
  }

  .portrait-card__index {
    top: 12px;
    right: 12px;
  }

  .about__seal {
    width: 50px;
    height: 50px;
    margin-bottom: 1.2rem;
  }

  .about__seal span {
    font-size: 21px;
  }

  .about__seal small {
    bottom: 5px;
    font-size: 3.6px;
  }

  .about__copy {
    margin-top: 1.55rem;
  }

  .about__copy .lead {
    font-size: 0.98rem;
    line-height: 1.95;
  }

  .about__copy p + p {
    font-size: 11.5px;
  }

  .about__numbers {
    margin-top: 2rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    padding-block: 1.1rem;
  }

  .about-number {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-inline: 0.75rem;
  }

  .about-number__value {
    font-size: clamp(2.1rem, 8vw, 2.7rem);
  }

  .about-number__label {
    font-size: 9px;
  }

  .about-number__label small {
    font-size: 5.5px;
  }

  .company-facts__head h3 {
    font-size: 11px;
  }

  .company-facts dl {
    grid-template-columns: 1fr;
  }

  .company-facts dl > .is-wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .company-facts dd,
  .company-facts .is-wide dd {
    text-align: left;
  }

  .manifesto__inner {
    grid-template-columns: 1fr;
  }

  .manifesto__copy {
    font-size: clamp(1.85rem, 7.2vw, 3rem);
    line-height: 1.4;
  }

  .manifesto__copy span + span {
    padding-left: 1.4rem;
  }

  .manifesto__meta {
    display: none;
  }

  .manifesto__ghost {
    font-size: 15rem;
    opacity: 0.6;
  }

  .services__intro,
  .process__intro {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    margin-top: 2.4rem;
  }

  .services__intro-copy,
  .process__intro > p {
    max-width: 32rem;
  }

  .service-grid {
    margin-top: 2.4rem;
    gap: 10px;
  }

  .service-card {
    min-height: 0;
    padding: 1.25rem;
  }

  .service-card h3 {
    margin-top: 1rem;
  }

  .service-tags {
    margin-top: 0;
  }

  .service-card__ghost {
    display: none;
  }

  .scope summary {
    grid-template-columns: 1fr auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-block: 1rem;
  }

  .scope__meta {
    display: none;
  }

  .scope__panel p {
    font-size: 10.5px;
    line-height: 2;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.4rem;
    margin-top: 2.6rem;
  }

  .step {
    min-height: 210px;
    padding-top: 1rem;
  }

  .step__num {
    margin-bottom: 2rem;
  }

  .step__body p {
    font-size: 10.5px;
  }

  .process__foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 2.5rem;
  }

  .contact__grid {
    margin-top: 2.4rem;
    gap: 2.8rem;
  }

  .contact__title {
    font-size: clamp(2.9rem, 12vw, 4.6rem);
  }

  .contact__lead {
    font-size: 11.5px;
  }

  .contact__actions {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 1.7rem;
  }

  .contact-action {
    min-height: 76px;
  }

  .contact__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .contact__meta > div:last-child {
    grid-column: 1 / -1;
  }

  .contact__aside {
    max-width: 300px;
  }

  .site-footer {
    padding-top: 22px;
    padding-bottom: 22px;
    padding-block: 22px;
  }

  .site-footer__line {
    gap: 6px 12px;
    font-size: 16px;
  }

  .site-footer__line--credit {
    font-size: 16px;
  }

  .qr-dialog__panel {
    padding: 21px;
  }
}

@media (max-width: 520px) {
  .menu-toggle__label {
    display: none;
  }

  .contact__title {
    font-size: clamp(2.45rem, 11.7vw, 3.2rem);
  }

  .hero__pretitle span:last-child {
    display: none;
  }

  .hero__pretitle-line {
    width: 30px;
  }

  .hero__title {
    font-size: clamp(2.5rem, 13.2vw, 4.1rem);
  }

  .hero__line--second {
    margin-top: 0.14em;
  }

  .hero__entity {
    font-size: 8px;
    padding: 0.66em 0.75em;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-inline: 0.8rem;
  }

  .hero__tagline {
    font-size: 1.06rem;
  }

  .hero__tagline br {
    display: none;
  }

  .hero__description {
    max-width: 20rem;
  }

  .hero__footer {
    padding-top: 0.8rem;
  }

  .about-number {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    padding-inline: 0.55rem;
  }

  .about-number__label {
    max-width: 5.5em;
    line-height: 1.5;
  }

  .service-tags li {
    font-size: 9.5px;
    padding: 5px 8px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .step {
    min-height: 0;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    padding-block: 1.2rem;
    border-top: 1px solid var(--line-dark);
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.2rem;
  }

  .step::before {
    display: none;
  }

  .step__num {
    margin: 0;
    font-size: 1.8rem;
    padding-top: 0.1rem;
  }

  .step__body h3 {
    font-size: 1.25rem;
  }

  .step__body p {
    margin-top: 0.35rem;
  }

  .step__en {
    display: none;
  }

  .contact__meta {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .contact__meta > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--line-light);
  }

  .contact__meta > div:last-child {
    grid-column: auto;
  }

  .contact__meta dd {
    margin-top: 0;
    text-align: right;
  }

  .qr-card {
    padding: 10px;
    gap: 9px;
  }

  .qr-card__caption-main {
    font-size: 1.08rem;
  }

  .contact__footer-card {
    margin-top: 1.4rem;
  }

  .site-footer__line {
    line-height: 2;
  }

  .site-footer__police img {
    width: 18px;
  }

  .site-footer__upyun-mark {
    height: 30px;
  }

  .site-footer__upyun-mark img {
    height: 22px;
  }
}

@media (max-height: 740px) and (min-width: 861px) {
  .hero__title-block {
    margin-top: clamp(1.6rem, 4vh, 3rem);
  }

  .hero__statement {
    margin-top: 1.5rem;
  }

  .hero__bottom {
    padding-top: 2rem;
  }

  .hero__footer {
    margin-top: 1.5rem;
  }
}

@media (max-height: 660px) and (max-width: 760px) {
  .hero__description {
    display: none;
  }

  .hero__statement {
    margin-top: 1.25rem;
  }

  .hero__bottom {
    padding-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .js .char {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
  }

  .js .char__inner {
    animation: none !important;
  }

  .js .hero__entity,
  .js .hero__pretitle,
  .js .hero__topline,
  .js .hero__statement,
  .js .hero__bottom,
  .js .hero__footer {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hero__aura::before,
  .hero__aura::after,
  .hero__orbits svg,
  .brand__orbit,
  .brand__spark,
  .dot,
  .orbit-badge__text,
  .ticker__track,
  .qr-card__scan {
    animation: none !important;
  }

  .service-card:hover,
  .qr-card:hover,
  .contact-action:hover .contact-action__icon,
  .btn:hover {
    transform: none !important;
  }
}

@media (hover: none) {
  .service-card:hover {
    transform: none;
  }

  .qr-card:hover {
    transform: none;
  }

  .orbit-badge:hover::before {
    transform: none;
  }
}
