:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #131311;
  --surface-soft: #191814;
  --text: #f4efe6;
  --muted: #aca79e;
  --line: rgba(244, 239, 230, 0.15);
  --amber: #e6a35e;
  --blue: #9bbfd3;
  --content: min(1180px, calc(100vw - 48px));
  --header-height: 76px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--amber);
  color: #17100a;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #fff4dc;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  transition: background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 9, 0.78);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: var(--content);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand__mark {
  width: 30px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  flex-shrink: 0;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: currentColor;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-toggle {
  min-width: 42px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero {
  --scroll-shift: 0;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #1b1712;
}

.scene-viewport,
.scene-stage,
.scene-layer,
.scene-layer picture,
.scene-layer img,
.scene-hotspots,
.scene-connectors,
.scene-tooltips {
  position: absolute;
  inset: 0;
}

.scene-connectors {
  z-index: 1;
}

.scene-hotspots,
.scene-tooltips {
  z-index: 2;
}

.scene-connector {
  fill: none;
  stroke: rgba(255, 246, 229, 0.72);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(255, 220, 176, 0.34));
}

.scene-viewport {
  overflow: hidden;
  z-index: -2;
}

.scene-stage {
  --scene-size: max(100vw, 100svh);
  top: 50%;
  left: 50%;
  width: var(--scene-size);
  height: var(--scene-size);
  transform: translate(-50%, -50%);
}

.scene-layer {
  pointer-events: none;
  will-change: transform;
  transition: transform 160ms ease-out;
}

.scene-layer--background {
  transform: translate3d(
      0,
      calc(var(--scroll-shift) * -10px),
      0
    ) scale(1.008);
}

.scene-layer--foreground {
  transform: translate3d(
      0,
      calc(var(--scroll-shift) * 16px),
      0
    ) scale(1.008);
}

.scene-is-invalid .scene-layer {
  transform: scale(1.008);
}

.scene-layer img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
}

.scene-hotspots,
.scene-tooltips {
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.scene-hotspots .hotspot {
  pointer-events: auto;
  cursor: pointer;
}

.hotspot__outline {
  fill: rgba(255, 228, 188, 0.001);
  stroke: rgba(255, 237, 207, 0.28);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(244, 179, 108, 0.28));
  transition: fill 160ms ease, stroke 160ms ease, filter 160ms ease;
}

.hotspot__marker {
  color: rgba(255, 245, 225, 0.8);
  opacity: 0.68;
  transition: opacity 160ms ease;
}

.hotspot__marker-ring,
.hotspot__marker-core,
.hotspot__marker path {
  vector-effect: non-scaling-stroke;
}

.hotspot__marker-ring {
  fill: rgba(10, 9, 7, 0.36);
  stroke: currentColor;
  stroke-width: 1;
}

.hotspot__marker-core {
  fill: currentColor;
}

.hotspot__marker path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.hotspot:hover .hotspot__outline,
.hotspot:focus .hotspot__outline {
  fill: rgba(255, 210, 151, 0.12);
  stroke: rgba(255, 244, 223, 0.95);
  filter: drop-shadow(0 0 10px rgba(244, 179, 108, 0.8));
}

.hotspot:hover .hotspot__marker,
.hotspot:focus .hotspot__marker {
  opacity: 1;
}

.scene-tooltip {
  position: absolute;
  top: var(--tooltip-y);
  left: var(--tooltip-x);
  width: clamp(210px, 20vw, 270px);
  padding: 12px 15px;
  transform: translate(calc(10px + var(--collision-x)), calc(-50% + var(--collision-y)));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(13, 12, 10, 0.76);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  opacity: 1;
  color: #fff;
  pointer-events: auto;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), background 180ms ease;
}

.scene-tooltip strong,
.scene-tooltip small {
  display: block;
}

.scene-tooltip__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  margin: -6px -8px;
  padding: 6px 8px;
  border-radius: 7px;
}

.scene-tooltip__title:hover,
.scene-tooltip__title:focus-visible,
.scene-tooltip__caption:hover,
.scene-tooltip__caption:focus-visible {
  background: rgba(255,255,255,.06);
}

.scene-tooltip__title > span:last-child {
  flex: 0 0 auto;
  font-size: 13px;
}

.scene-tooltip__heading {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
}

.scene-tooltip__caption {
  display: block;
  margin: 2px -8px -6px;
  padding: 4px 8px 6px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.product-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  object-fit: cover;
  border-radius: 22%;
}

.scene-tooltip__title > .product-icon {
  position: static;
  inset: auto;
  width: 1em;
  height: 1em;
  font-size: clamp(12px, 1.1vw, 16px);
  object-fit: cover;
}

.scene-tooltip strong {
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 540;
}

.scene-tooltip small {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(9px, 0.78vw, 12px);
}

.scene-tooltip.is-expanded,
.scene-tooltip:hover,
.scene-tooltip:focus-within,
.scene-tooltip:focus {
  width: clamp(230px, 24vw, 330px);
  transform: translate(calc(18px + var(--collision-x)), calc(-50% + var(--collision-y)));
  background: rgba(13, 12, 10, 0.94);
}

.scene-tooltip__expanded {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 150ms ease;
}

.scene-tooltip.is-expanded .scene-tooltip__expanded,
.scene-tooltip:hover .scene-tooltip__expanded,
.scene-tooltip:focus-within .scene-tooltip__expanded,
.scene-tooltip:focus .scene-tooltip__expanded {
  max-height: 190px;
  opacity: 1;
}

.scene-tooltip__description {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.72);
  font-size: clamp(10px, .78vw, 12px);
}

.scene-tooltip__actions {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.scene-tooltip__actions a {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}

.floating-panel {
  --collision-x: 0px;
  --collision-y: 0px;
}

.hero__copy.floating-panel {
  transform: translate(var(--collision-x), var(--collision-y));
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.1) 30%, rgba(5, 5, 5, 0.15) 58%, rgba(5, 5, 5, 0.38)),
    linear-gradient(0deg, rgba(6, 6, 5, 0.48), transparent 35%);
}

.hero__content {
  position: relative;
  z-index: 3;
  width: var(--content);
  min-height: 100svh;
  margin-inline: auto;
  padding-top: calc(var(--header-height) + 10vh);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}

.hero__copy {
  width: min(460px, 40vw);
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 2px;
  background: rgba(16, 14, 12, 0.4);
  backdrop-filter: blur(7px);
  pointer-events: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.8vw, 72px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "↓";
  font-size: 16px;
}

.section {
  padding: clamp(88px, 12vw, 160px) 0;
}

.section__inner {
  width: var(--content);
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.about h2,
.contact h2,
.privacy-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.section-heading__intro {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.projects {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 18%),
    var(--bg);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.project-card__visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #171611;
}

.project-card__visual picture,
.project-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-card__visual img {
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.project-card:hover .project-card__visual img {
  transform: scale(1.025);
}

.project-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 50%, rgba(0,0,0,.2));
}

.project-card__index {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
  font-family: Georgia, serif;
  font-size: 52px;
}

.project-card__body {
  padding: 26px;
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 24px 0 8px;
  font-size: 30px;
  font-weight: 520;
}

.project-card__title {
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.project-card__title-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: inherit;
  text-decoration: none;
}

.project-card__title-link:hover,
.project-card__title-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.project-card__link {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
}

.project-card__qr-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.project-card__qr {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.project-card__qr img {
  display: block;
  width: 68px;
  height: 68px;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
}

.project-card__qr figcaption {
  max-width: 9ch;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.about {
  border-top: 1px solid var(--line);
  background: #d9d0c0;
  color: #171512;
}

.about__header {
  margin-bottom: clamp(40px, 5vw, 60px);
}

.about h2 {
  max-width: 16ch;
  margin-bottom: 18px;
}

.about__lead {
  max-width: 58ch;
  margin: 0;
  color: rgba(23, 21, 18, 0.76);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.45;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.about__timeline-col {
  min-width: 0;
}

.about__col-title {
  margin: 0 0 28px;
  color: rgba(23, 21, 18, 0.52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evolution-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evolution-timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 24px;
  left: 15px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(23, 21, 18, 0.22) 0%,
    rgba(23, 21, 18, 0.22) 78%,
    rgba(23, 21, 18, 0.08) 100%
  );
  z-index: 1;
}

.evolution-step {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 18px;
  padding: 8px 12px 18px 0;
  transition: transform 180ms ease;
}

.evolution-step__marker {
  position: relative;
  display: grid;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(23, 21, 18, 0.28);
  border-radius: 50%;
  background: #d9d0c0;
  box-shadow: 0 0 0 4px #d9d0c0;
  color: #171512;
  place-items: center;
}

.evolution-step__marker svg {
  width: 14px;
  height: 14px;
}

.evolution-step--done .evolution-step__marker {
  border-color: rgba(23, 21, 18, 0.38);
  background: #d9d0c0;
  color: #171512;
}

.evolution-step--current {
  margin: 10px -14px 14px;
  padding: 16px 16px 18px 12px;
  border: 1px solid rgba(23, 21, 18, 0.18);
  border-radius: 12px;
  background: rgba(23, 21, 18, 0.065);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.08);
}

.evolution-step--current .evolution-step__marker {
  border-color: #171512;
  background: #171512;
  box-shadow: 0 0 0 4px #d9d0c0, 0 0 14px rgba(23, 21, 18, 0.3);
  color: #f4efe6;
}

.evolution-step__beacon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6a35e;
  box-shadow: 0 0 10px #e6a35e;
  animation: beacon-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.evolution-step--future {
  opacity: 0.68;
}

.evolution-step--future .evolution-step__marker {
  border: 1.5px dashed rgba(23, 21, 18, 0.4);
  background: #d9d0c0;
}

.evolution-step__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(23, 21, 18, 0.45);
}

.evolution-step__body {
  flex: 1;
  min-width: 0;
}

.evolution-step__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 2px;
}

.evolution-step__num {
  color: rgba(23, 21, 18, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.evolution-step__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #171512;
  color: #f4efe6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.evolution-step__name {
  color: #171512;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
}

.evolution-step__desc {
  margin: 2px 0 0;
  color: rgba(23, 21, 18, 0.68);
  font-size: 13.5px;
  line-height: 1.45;
}

.about__essay-col {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  min-width: 0;
}

.about__essay-card {
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid rgba(23, 21, 18, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 16px 36px -16px rgba(45, 35, 20, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about__essay-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.08);
  color: rgba(23, 21, 18, 0.72);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about__essay-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b85d19;
}

.about__essay-heading {
  margin: 0 0 18px;
  color: #171512;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.about__essay-prose {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: rgba(23, 21, 18, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

.about__essay-prose p {
  margin: 0;
}

.about__essay-quote {
  margin: 4px 0;
  padding: 14px 18px;
  border-left: 3px solid #171512;
  border-radius: 0 8px 8px 0;
  background: rgba(23, 21, 18, 0.06);
}

.about__essay-quote p {
  color: #171512;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.45;
}

.about__essay-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 21, 18, 0.12);
}

.about__footer-text {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex: 1;
}

.about__footer-tag {
  color: #b85d19;
  font-size: 15px;
}

.about__punchline {
  margin: 0;
  color: #171512;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}

.about__signature {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  user-select: none;
  pointer-events: none;
}

.about__signature img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.35;
  filter: invert(1);
  mix-blend-mode: multiply;
}

@keyframes beacon-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

.socials {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(28px, 4vw, 42px) 0;
}

.socials__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.socials__list {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 520px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(244, 239, 230, 0.38);
  background: var(--surface-soft);
}

.social-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(244, 239, 230, 0.06);
  color: var(--blue);
  transition: color 180ms ease, background-color 180ms ease;
}

.social-card:hover .social-card__icon {
  background: rgba(155, 191, 211, 0.14);
  color: #c1e0f2;
}

.social-card__info {
  flex: 1;
  min-width: 0;
}

.social-card__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 3px;
}

.social-card__platform {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.social-card__handle {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  color: var(--muted);
}

.social-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.social-card__arrow {
  color: var(--muted);
  font-size: 16px;
  transition: transform 180ms ease, color 180ms ease;
}

.social-card:hover .social-card__arrow {
  color: var(--text);
  transform: translate(3px, -3px);
}

.contact {
  background: var(--surface-soft);
}

.contact__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
}

.contact h2 {
  max-width: 10ch;
  font-size: clamp(42px, 6vw, 78px);
}

.contact__side {
  max-width: 360px;
}

.contact__side p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer__inner {
  width: var(--content);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.privacy-corner {
  position: fixed;
  right: 13px;
  bottom: 12px;
  z-index: 45;
  width: 30px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: rgba(8, 8, 7, 0.35);
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: color 180ms ease, border-color 180ms ease;
}

.privacy-corner:hover,
.privacy-corner:focus-visible {
  border-color: rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.8);
}

.privacy-corner svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.privacy-page {
  min-height: 100svh;
  padding: calc(var(--header-height) + 72px) 0 100px;
  background:
    radial-gradient(circle at 75% 12%, rgba(221, 159, 92, 0.11), transparent 28%),
    var(--bg);
}

.privacy-page__inner {
  width: min(840px, calc(100vw - 48px));
  margin-inline: auto;
}

.privacy-page h1 {
  max-width: 10ch;
  margin-bottom: 36px;
}

.privacy-page__lead {
  max-width: 62ch;
  color: #d4cec4;
  font-size: 19px;
}

.privacy-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 54px 0;
}

.privacy-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.privacy-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.privacy-card p {
  margin: 0;
  color: var(--muted);
}


/* ── 404 page ─────────────────────────────────────────────────────────────── */

.notfound-page {
  min-height: 100svh;
  padding: calc(var(--header-height) + 64px) 0 100px;
  background:
    radial-gradient(circle at 62% 10%, rgba(230, 163, 94, 0.08), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(155, 191, 211, 0.06), transparent 28%),
    var(--bg);
}

.notfound-page__inner {
  width: min(840px, calc(100vw - 48px));
  margin-inline: auto;
}

.notfound-page__glyph {
  margin: 0 -6px 36px;
  user-select: none;
  pointer-events: none;
}

.notfound-page__glyph svg {
  width: 100%;
  height: auto;
  display: block;
}

.notfound-page__eyebrow {
  margin-bottom: 16px;
}

.notfound-page__heading {
  max-width: 10ch;
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.notfound-page__lead {
  max-width: 52ch;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
}

.notfound-cta {
  display: inline-flex;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 160ms ease;
}

.notfound-cta:hover {
  opacity: 0.72;
}

.notfound-hints {
  margin-top: 72px;
}

.notfound-hints__label {
  margin-bottom: 18px;
}

.notfound-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.notfound-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.notfound-card:hover,
.notfound-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(244, 239, 230, 0.32);
  background: var(--surface-soft);
}

.notfound-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(244, 239, 230, 0.05);
  color: var(--amber);
  font-size: 15px;
  transition: background 200ms ease, color 200ms ease;
}

.notfound-card:hover .notfound-card__icon,
.notfound-card:focus-visible .notfound-card__icon {
  background: rgba(230, 163, 94, 0.12);
}

.notfound-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notfound-card__body strong {
  font-size: 13px;
  font-weight: 560;
}

.notfound-card__body span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.notfound-card__arrow {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 15px;
  transition: color 200ms ease, transform 200ms ease;
}

.notfound-card:hover .notfound-card__arrow,
.notfound-card:focus-visible .notfound-card__arrow {
  color: var(--text);
  transform: translate(2px, -2px);
}

@media (max-width: 820px) {
  .notfound-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .notfound-page {
    padding-top: calc(var(--header-height) + 40px);
  }

  .notfound-cards {
    grid-template-columns: 1fr;
  }
}

/* ── end 404 page ─────────────────────────────────────────────────────────── */

@media (max-width: 820px) {

  :root {
    --content: min(100% - 32px, 1180px);
    --header-height: 66px;
  }

  .brand__text {
    display: none;
  }

  .site-header__inner {
    gap: 12px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero__content {
    align-items: flex-end;
    padding-bottom: 86px;
  }

  .hero__copy {
    width: min(100%, 500px);
    margin-left: auto;
    padding: 22px;
    background: rgba(13, 12, 10, 0.57);
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 52px);
  }

  .hero__body {
    margin-top: 16px;
  }

  .hero__interaction-hint {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .about__grid,
  .contact__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-heading {
    gap: 22px;
  }

  .about__grid {
    gap: 44px;
  }

  .about__essay-col {
    position: static;
  }

  .contact__inner {
    gap: 38px;
  }
}

@media (orientation: portrait) {
  .scene-stage {
    left: 0;
    transform: translateY(-50%);
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(6, 6, 5, 0.78), transparent 62%);
  }

  .hero__content {
    align-items: flex-start;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 0;
  }

  .hero__copy {
    width: min(82vw, 380px);
    margin-left: auto;
    padding: 12px 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    text-shadow: 0 2px 18px rgba(0,0,0,.92);
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(27px, 7vw, 42px);
  }

  .hero .eyebrow { margin-bottom: 10px; }

  .scene-tooltip {
    width: min(230px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: 10px 12px;
  }

  .scene-tooltip[data-tooltip-id="ai-bot"] {
    left: 4% !important;
    top: 46% !important;
  }

  .scene-tooltip[data-tooltip-id="ai360"] {
    left: 6% !important;
    top: 62% !important;
  }

  .scene-tooltip.is-expanded,
  .scene-tooltip:hover,
  .scene-tooltip:focus-within,
  .scene-tooltip:focus {
    width: min(250px, calc(100vw - 32px));
  }
}

@media (max-width: 620px) {
  .site-nav {
    margin-left: auto;
    padding-right: 58px;
  }

  .language-toggle {
    position: fixed;
    top: 17px;
    right: 16px;
    z-index: 55;
  }

  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) {
    display: none;
  }

  .project-grid,
  .privacy-page__grid {
    grid-template-columns: 1fr;
  }

  .project-card__visual {
    min-height: 210px;
  }

  .project-card__qr-list {
    gap: 14px;
  }

  .project-card__qr {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .project-card__qr img {
    width: 64px;
    height: 64px;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}

@media (max-height: 680px) and (orientation: landscape) {
  .hero__content {
    padding-top: var(--header-height);
  }

  .hero__copy {
    padding: 20px 24px;
  }

  .hero__body,
  .hero__interaction-hint {
    margin-top: 14px;
  }

  .scroll-cue {
    display: none;
  }
}

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

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

  .scene-layer--background,
  .scene-layer--foreground {
    transform: scale(1.008);
  }

  .evolution-step__beacon {
    animation: none !important;
  }
}
