:root {
  --page: #f4f2ee;
  --white: #ffffff;
  --text: #151515;
  --muted: #6d6963;
  --line: rgba(21, 21, 21, .13);
  --dark: #141414;
  --gold: #c38b37;
  --gold-soft: #ddb56a;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-premium: cubic-bezier(.16, 1, .3, 1);
  --section-x: clamp(28px, 6.8vw, 118px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

html.no-js {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: #fff;
  background: var(--dark);
}

.progress-bar {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  animation: scrollProgress linear both;
  animation-timeline: scroll(root block);
}

@supports not (animation-timeline: scroll(root block)) {
  .progress-bar {
    display: none;
  }

  .vision-track {
    animation: none;
  }
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 120px;
  padding: 0 var(--section-x);
  display: grid;
  grid-template-columns: 178px 1fr 126px;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(0, 0, 0, .045);
  transition:
    height .46s var(--ease-premium),
    background .46s var(--ease-premium),
    box-shadow .46s var(--ease-premium);
}

.topbar.is-scrolled {
  height: 88px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 34px rgba(20, 20, 20, .038);
}

.brand {
  width: 116px;
  transform-origin: left center;
  transition: width .46s var(--ease-premium), opacity .25s ease;
}

.topbar.is-scrolled .brand {
  width: 96px;
}

.brand:hover {
  opacity: .82;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(28px, 4.05vw, 58px);
}

.nav a {
  position: relative;
  padding: 14px 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .09em;
  transition: opacity .22s ease, transform .32s var(--ease-premium);
}

.nav a:hover {
  opacity: .62;
  transform: translate3d(0, -1px, 0);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .36s var(--ease-premium);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.outline-btn {
  height: 46px;
  min-width: 120px;
  display: inline-grid;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(21, 21, 21, .55);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition:
    color .34s var(--ease-premium),
    background .34s var(--ease-premium),
    border-color .34s var(--ease-premium),
    transform .34s var(--ease-premium);
}

.outline-btn:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translate3d(0, -2px, 0);
}

.menu-btn {
  display: none;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 466px;
  overflow: hidden;
  background: #e8e6e2;
  isolation: isolate;
  contain: layout paint;
}

.hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 69% 48%;
  transform: translate3d(0, 0, 0) scale(1.015);
  animation: heroImageIn .72s var(--ease-premium) both;
  backface-visibility: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(244, 242, 238, .99) 0%,
      rgba(244, 242, 238, .96) 28%,
      rgba(244, 242, 238, .74) 41%,
      rgba(244, 242, 238, .30) 54%,
      rgba(244, 242, 238, .02) 68%,
      rgba(0, 0, 0, .03) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .20) 0%, rgba(0, 0, 0, .05) 100%);
  animation: softFadeIn .58s .03s ease both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 110px;
  background: linear-gradient(0deg, rgba(244, 242, 238, .92), rgba(244, 242, 238, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  padding: 94px 0 70px var(--section-x);
}

.kicker {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 820;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.kicker span {
  color: var(--gold);
  margin: 0 .2em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 570px;
  margin-bottom: 28px;
  font-size: clamp(40px, 4.85vw, 68px);
  line-height: 1.035;
  letter-spacing: -.062em;
  font-weight: 310;
}

.hero-text {
  max-width: 430px;
  margin-bottom: 38px;
  color: #312f2c;
  font-size: 15px;
  line-height: 1.82;
  font-weight: 430;
}

.hero .kicker {
  animation: textReveal .62s .08s var(--ease-premium) both;
}

.hero h1 {
  animation: textReveal .66s .14s var(--ease-premium) both;
}

.hero-text {
  animation: textReveal .66s .20s var(--ease-premium) both;
}

.hero .dark-btn {
  animation: textReveal .66s .26s var(--ease-premium) both;
}

.dark-btn {
  width: max-content;
  min-height: 50px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  appearance: none;
  border: 0;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: .085em;
  overflow: hidden;
  position: relative;
  transition:
    transform .32s var(--ease-premium),
    background .32s var(--ease-premium),
    box-shadow .32s var(--ease-premium);
}

.dark-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.20) 45%, transparent 70%);
  transform: translate3d(-115%, 0, 0);
  transition: transform .62s var(--ease-premium);
}

.dark-btn:hover {
  transform: translate3d(0, -2px, 0);
  background: #000;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.dark-btn:hover::before {
  transform: translate3d(115%, 0, 0);
}

.dark-btn span,
.outline-btn span {
  transition: transform .32s var(--ease-premium);
}

.dark-btn:hover span,
.outline-btn:hover span {
  transform: translate3d(4px, 0, 0);
}

.scroll-hint {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(21, 21, 21, .52);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: textReveal .66s .32s var(--ease-premium) both;
}

.scroll-hint span {
  width: 38px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}

.hero-meta {
  position: absolute;
  right: var(--section-x);
  bottom: 46px;
  z-index: 2;
  display: grid;
  gap: 7px;
  text-align: right;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  animation: textReveal .66s .38s var(--ease-premium) both;
}

.hero-meta span {
  font-size: 11px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-meta strong {
  font-size: 13px;
  line-height: 1;
  font-weight: 430;
}

.service-row {
  width: 100%;
  padding: 40px var(--section-x) 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(244, 242, 238, .98);
  contain: layout paint;
}

.service {
  min-height: 142px;
  padding: 0 clamp(26px, 4vw, 64px) 0 0;
  margin-right: clamp(24px, 3.5vw, 56px);
  border-right: 1px solid var(--line);
  transition: transform .32s var(--ease-premium);
}

.service:hover {
  transform: translate3d(0, -3px, 0);
}

.service:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.service-icon {
  width: 31px;
  height: 31px;
  margin-bottom: 17px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.28;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .24s ease, transform .32s var(--ease-premium);
}

.service:hover .service-icon svg {
  stroke: var(--gold);
  transform: translate3d(0, -2px, 0);
}

.service h2 {
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.service p {
  max-width: 220px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
  font-weight: 410;
}

.vision-band {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .24);
  contain: layout paint;
}

.vision-track {
  width: max-content;
  display: flex;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation: visionMarquee 34s linear infinite;
}

.vision-band:hover .vision-track {
  animation-play-state: paused;
}

.vision-line {
  flex: 0 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  gap: clamp(34px, 5.8vw, 86px);
  color: rgba(21, 21, 21, .72);
  font-size: clamp(18px, 2.2vw, 34px);
  line-height: 1;
  font-weight: 310;
  letter-spacing: -.045em;
}

.vision-line:first-child {
  padding-left: var(--section-x);
}

.vision-line:last-child {
  padding-left: clamp(34px, 5.8vw, 86px);
  padding-right: var(--section-x);
}

.vision-line span {
  white-space: nowrap;
}

.vision-line span::after {
  content: "•";
  margin-left: clamp(34px, 5.8vw, 86px);
  color: var(--gold);
  font-size: .65em;
}

.vision-line span:last-child::after {
  content: "";
  margin-left: 0;
}

.projects {
  width: 100%;
  padding: 42px var(--section-x) 70px;
  background: rgba(244, 242, 238, .98);
  contain: layout paint;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 21px;
}

.section-title p,
.section-title a {
  margin: 0;
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.section-title a {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  transition: opacity .22s ease, transform .32s var(--ease-premium);
}

.section-title a:hover {
  opacity: .65;
  transform: translate3d(3px, 0, 0);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4.6vw, 72px);
}

.project {
  min-width: 0;
}

.project-media {
  width: 100%;
  height: clamp(98px, 12vw, 164px);
  overflow: hidden;
  margin-bottom: 17px;
  background: #dfddd8;
  contain: paint;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, 0, 0) scale(1.001);
  transition: transform .54s var(--ease-premium);
  backface-visibility: hidden;
}

.project:hover img {
  transform: translate3d(0, 0, 0) scale(1.032);
}

.project-info {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
}

.project-info > span {
  color: var(--gold);
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .08em;
}

.project h3 {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 410;
}

.intro {
  width: 100%;
  padding: 76px var(--section-x);
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #171717;
  contain: layout paint;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, .94), rgba(20, 20, 20, .78)),
    url("/assets/hero-1440.webp") center / cover;
  opacity: 1;
  z-index: 0;
}

.intro > * {
  position: relative;
  z-index: 1;
}

.intro .kicker {
  color: #fff;
}

.intro h2 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.058em;
  font-weight: 315;
}

.intro > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 390;
}

.numbers {
  width: 100%;
  padding: 46px var(--section-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark);
  color: #fff;
  contain: layout paint;
}

.numbers article {
  padding: 10px 18px;
  text-align: center;
}

.numbers strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-size: clamp(42px, 5vw, 78px);
  line-height: .95;
  font-weight: 300;
  letter-spacing: -.065em;
}

.numbers strong::after {
  content: "+";
  font-size: .45em;
  margin-left: .06em;
  font-weight: 350;
}

.numbers article:nth-child(3) strong::before {
  content: "%";
  font-size: .42em;
  margin-right: .04em;
}

.numbers article:nth-child(3) strong::after {
  content: "";
}

.numbers p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.process {
  width: 100%;
  padding: 76px var(--section-x);
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(36px, 7vw, 110px);
  background: #f7f5f1;
  contain: layout paint;
}

.process-head h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.03;
  letter-spacing: -.058em;
  font-weight: 315;
}

.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 52px 128px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .08em;
}

.process-list h3 {
  margin: 0;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 410;
}

.contact {
  width: 100%;
  padding: 76px var(--section-x);
  display: grid;
  grid-template-columns: .88fr 1fr;
  gap: clamp(36px, 7vw, 110px);
  background: #fff;
  contain: layout paint;
}

.contact h2 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.03;
  letter-spacing: -.058em;
  font-weight: 315;
}

.contact p:not(.kicker) {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

form {
  display: grid;
  gap: 15px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 21, 21, .15);
  border-radius: 0;
  outline: 0;
  background: #fbfaf7;
  color: var(--text);
  padding: 17px 18px;
  font-weight: 400;
  transition:
    border-color .22s ease,
    background .22s ease,
    transform .22s var(--ease-premium),
    box-shadow .22s var(--ease-premium);
}

input::placeholder,
textarea::placeholder {
  color: rgba(21, 21, 21, .42);
  font-weight: 350;
}

input:focus,
textarea:focus {
  border-color: rgba(195, 139, 55, .78);
  background: #fff;
  box-shadow: 0 10px 28px rgba(21, 21, 21, .04);
  transform: translate3d(0, -1px, 0);
}

textarea {
  resize: vertical;
}

.footer {
  width: 100%;
  min-height: 128px;
  padding: 34px var(--section-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #101010;
  color: rgba(255, 255, 255, .68);
}

.footer img {
  width: 112px;
}

.footer p {
  margin: 0;
  font-size: 13px;
  font-weight: 380;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity .54s var(--ease-premium),
    transform .54s var(--ease-premium);
  transition-delay: var(--delay, 0ms);
}

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

@keyframes scrollProgress {
  to {
    transform: scaleX(1);
  }
}

@keyframes visionMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: .82;
    transform: translate3d(0, 0, 0) scale(1.026);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.015);
  }
}

@keyframes softFadeIn {
  from {
    opacity: .55;
  }
  to {
    opacity: 1;
  }
}


/* V7 premium editorial refinements */
h1 span {
  display: inline;
  font-weight: 520;
  letter-spacing: -.067em;
}

.hero {
  min-height: 492px;
}

.hero-content {
  padding-top: 104px;
  padding-bottom: 78px;
}

.hero-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .18;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, .48), transparent 24%),
    linear-gradient(115deg, rgba(255, 255, 255, .10), transparent 44%);
}

.hero::before {
  z-index: 2;
}

.hero::after,
.hero-content,
.hero-meta {
  z-index: 3;
}

.statement {
  width: 100%;
  padding: 86px var(--section-x) 76px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.12)),
    var(--page);
  border-bottom: 1px solid var(--line);
  contain: layout paint;
}

.statement h2 {
  max-width: 1080px;
  margin: 0 0 30px;
  font-size: clamp(42px, 5.8vw, 96px);
  line-height: .98;
  letter-spacing: -.07em;
  font-weight: 305;
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(260px, 560px) auto;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.statement-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
  font-weight: 400;
}

.statement-grid a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--text);
  font-size: 12px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: opacity .22s ease, transform .32s var(--ease-premium);
}

.statement-grid a:hover {
  opacity: .68;
  transform: translate3d(4px, 0, 0);
}

.project-info {
  transition: transform .34s var(--ease-premium);
}

.project:hover .project-info {
  transform: translate3d(0, -3px, 0);
}

.project small {
  display: block;
  margin-top: 12px;
  color: rgba(21, 21, 21, .48);
  font-size: 11px;
  line-height: 1;
  font-weight: 640;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.numbers {
  position: relative;
}

.numbers::before,
.numbers::after {
  content: "";
  position: absolute;
  left: var(--section-x);
  right: var(--section-x);
  height: 1px;
  background: rgba(221, 181, 106, .28);
}

.numbers::before {
  top: 28px;
}

.numbers::after {
  bottom: 28px;
}

.numbers article {
  position: relative;
}

.numbers article + article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255,255,255,.10);
}

.process {
  background:
    linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.24)),
    #f7f5f1;
}

.process-list article {
  transition: transform .32s var(--ease-premium), opacity .32s ease;
}

.process-list article:hover {
  transform: translate3d(5px, 0, 0);
}

.process-list article:hover span {
  color: var(--text);
}

.footer {
  position: relative;
  min-height: auto;
  padding: 58px var(--section-x) 34px;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  align-items: start;
  gap: clamp(34px, 7vw, 110px);
}

.footer::before {
  content: "";
  position: absolute;
  left: var(--section-x);
  right: var(--section-x);
  top: 0;
  height: 1px;
  background: rgba(255,255,255,.12);
}

.footer-brand img {
  width: 112px;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 380px;
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 380;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  width: max-content;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .22s ease, transform .32s var(--ease-premium);
}

.footer-links a:hover {
  color: #fff;
  transform: translate3d(3px, 0, 0);
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 15px;
  text-align: right;
}

.footer-contact > span {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-contact a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .22s ease, transform .32s var(--ease-premium);
}

.footer-contact a:hover {
  opacity: .74;
  transform: translate3d(4px, 0, 0);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.50);
  font-size: 12px;
  font-weight: 380;
}

@media (max-width: 1120px) {
  .statement h2 {
    font-size: clamp(40px, 7vw, 76px);
  }

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

  .footer-contact {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding-top: 70px;
    padding-bottom: 72px;
  }

  .statement {
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .statement h2 {
    font-size: clamp(39px, 11.5vw, 64px);
    line-height: 1.02;
  }

  .numbers article + article::before {
    display: none;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-copy {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .statement {
    padding-top: 56px;
  }

  .statement-grid a {
    width: max-content;
  }

  .process-list article:hover {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .progress-bar {
    display: none;
  }

  .vision-track {
    animation: none;
  }
}

@media (max-width: 1120px) {
  :root {
    --section-x: 28px;
  }

  .topbar {
    height: 98px;
    grid-template-columns: 132px 1fr 116px;
  }

  .brand {
    width: 98px;
  }

  .topbar.is-scrolled {
    height: 82px;
  }

  .topbar.is-scrolled .brand {
    width: 88px;
  }

  .nav {
    gap: 22px;
  }

  .nav a,
  .outline-btn {
    font-size: 11px;
  }

  .service-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 38px;
  }

  .service:nth-child(2) {
    border-right: 0;
    margin-right: 0;
  }

  .service:nth-child(3),
  .service:nth-child(4) {
    padding-top: 34px;
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 780px) {
  :root {
    --section-x: 28px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    height: 88px;
  }

  .topbar.is-scrolled {
    height: 78px;
  }

  .brand {
    width: 92px;
  }

  .topbar.is-scrolled .brand {
    width: 84px;
  }

  .outline-btn {
    display: none;
  }

  .menu-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }

  .menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: transform .26s var(--ease-premium);
  }

  .menu-open .menu-btn span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-open .menu-btn span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: 88px 0 auto 0;
    height: calc(100vh - 88px);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    background: rgba(255, 255, 255, .98);
    transform: translate3d(100%, 0, 0);
    transition: transform .32s var(--ease-premium);
  }

  .menu-open .nav {
    transform: translate3d(0, 0, 0);
  }

  .nav a {
    font-size: 20px;
    font-weight: 520;
    letter-spacing: -.02em;
    text-transform: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero-picture img {
    object-position: 70% 50%;
  }

  .hero::before {
    background:
      linear-gradient(180deg,
        rgba(244, 242, 238, .98) 0%,
        rgba(244, 242, 238, .90) 42%,
        rgba(244, 242, 238, .24) 100%),
      linear-gradient(90deg, rgba(244, 242, 238, .35), transparent);
  }

  .hero-content {
    width: 100%;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-text {
    max-width: 370px;
  }

  .hero-meta {
    left: var(--section-x);
    right: auto;
    text-align: left;
  }

  .service-row,
  .project-list,
  .contact,
  .numbers {
    grid-template-columns: 1fr;
  }

  .service,
  .service:nth-child(2) {
    min-height: auto;
    margin-right: 0;
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service:nth-child(3),
  .service:nth-child(4) {
    padding-top: 0;
    border-top: 0;
  }

  .service:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .vision-track {
    animation-duration: 28s;
  }

  .vision-line {
    display: flex;
    gap: 34px;
    font-size: 24px;
  }

  .vision-line span::after {
    display: inline;
    margin-left: 34px;
  }

  .vision-line span:last-child::after {
    content: "";
    margin-left: 0;
  }

  .section-title {
    align-items: flex-start;
  }

  .project-media {
    height: auto;
    aspect-ratio: 2.8 / 1;
  }

  .numbers {
    gap: 24px;
  }

  .process,
  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-list article {
    grid-template-columns: 42px 1fr;
  }

  .process-list p {
    grid-column: 2 / -1;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  :root {
    --section-x: 20px;
  }

  h1 {
    font-size: 42px;
  }

  .dark-btn {
    width: 100%;
  }

  .section-title {
    display: grid;
  }

  .scroll-hint {
    display: none;
  }

  .hero-meta {
    display: none;
  }

  .vision-track {
    animation-duration: 24s;
  }
}


/* V8 cleanup: compact footer + position/spacing fixes */
.hero {
  min-height: 482px;
}

.hero-content {
  padding-top: 96px;
  padding-bottom: 72px;
}

.statement {
  padding-top: 72px;
  padding-bottom: 66px;
}

.statement h2 {
  max-width: 980px;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -.064em;
}

.statement-grid {
  align-items: start;
}

.projects {
  padding-top: 38px;
}

.project-info {
  grid-template-columns: 34px 1fr;
}

.numbers {
  padding-top: 48px;
  padding-bottom: 48px;
}

.numbers::before {
  top: 24px;
}

.numbers::after {
  bottom: 24px;
}

.process {
  padding-top: 68px;
  padding-bottom: 68px;
}

.contact {
  padding-top: 68px;
  padding-bottom: 68px;
}

/* reset old footer behavior */
.footer {
  min-height: 0;
  padding: 0 var(--section-x);
  display: block;
  background: #101010;
  color: rgba(255, 255, 255, .68);
}

.footer::before {
  display: none;
}

.footer-main {
  min-height: 118px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(110px, auto);
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.footer-brand img {
  width: 82px;
  height: auto;
  margin: 0;
  flex: 0 0 auto;
}

.footer-brand p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.58;
  font-weight: 380;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.footer-links a {
  width: auto;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .22s ease, transform .28s var(--ease-premium);
}

.footer-links a:hover {
  color: #fff;
  transform: translate3d(0, -1px, 0);
}

.footer-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,.42);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .22s ease, transform .28s var(--ease-premium);
}

.footer-cta:hover {
  opacity: .72;
  transform: translate3d(3px, 0, 0);
}

.footer-bottom {
  min-height: 48px;
  padding: 14px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p,
.footer-bottom span {
  margin: 0;
  color: rgba(255,255,255,.44);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 420;
  letter-spacing: .02em;
}

.footer-bottom span {
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer img {
  max-width: 100%;
}

.footer-copy,
.footer-contact {
  display: none !important;
}

/* small alignment/polish corrections */
.process-list article {
  align-items: start;
}

.contact form {
  align-self: start;
}

@media (max-width: 1120px) {
  .footer-main {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-cta {
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: 610px;
  }

  .hero-content {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .statement {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .statement h2 {
    font-size: clamp(38px, 10.5vw, 58px);
    letter-spacing: -.06em;
  }

  .numbers {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .numbers::before,
  .numbers::after,
  .numbers article + article::before {
    display: none;
  }

  .process,
  .contact {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .footer {
    padding-left: var(--section-x);
    padding-right: var(--section-x);
  }

  .footer-main {
    min-height: 0;
    padding: 30px 0 26px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand img {
    width: 76px;
  }

  .footer-brand p {
    max-width: 280px;
  }

  .footer-links {
    gap: 16px 22px;
  }

  .footer-bottom {
    min-height: 0;
    padding: 16px 0 20px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .footer-brand {
    display: grid;
    gap: 16px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
  }

  .footer-bottom span {
    letter-spacing: .09em;
  }
}


/* V9 cleanup: statement right balance + footer white-gap fix */
html,
body {
  min-height: 100%;
  background: #101010;
}

main {
  background: var(--page);
}

.statement {
  padding: 70px var(--section-x) 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(42px, 7vw, 120px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.13)),
    var(--page);
}

.statement-copy {
  min-width: 0;
}

.statement-copy h2 {
  max-width: 880px;
  margin: 0 0 26px;
  font-size: clamp(38px, 4.7vw, 72px);
  line-height: 1.01;
  letter-spacing: -.064em;
  font-weight: 305;
}

.statement-copy > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
  font-weight: 400;
}

.statement-aside {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 0;
  padding-bottom: 5px;
}

.principle {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  border-top: 1px solid rgba(21, 21, 21, .13);
}

.principle:last-of-type {
  border-bottom: 1px solid rgba(21, 21, 21, .13);
}

.principle span {
  color: var(--gold);
  font-size: 11px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .08em;
}

.principle strong {
  color: rgba(21, 21, 21, .76);
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.statement-aside a {
  width: max-content;
  justify-self: end;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--text);
  font-size: 12px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: opacity .22s ease, transform .32s var(--ease-premium);
}

.statement-aside a:hover {
  opacity: .68;
  transform: translate3d(4px, 0, 0);
}

/* remove old statement-grid remnants from previous versions */
.statement-grid {
  display: none !important;
}

/* More stable spacing around adjacent sections */
.projects {
  padding-top: 34px;
  border-top: 1px solid rgba(21, 21, 21, .08);
}

.contact {
  margin-bottom: 0;
}

/* Footer compact final */
.footer {
  margin: 0;
  padding: 0 var(--section-x);
  display: block;
  min-height: 0;
  background: #101010;
  color: rgba(255, 255, 255, .68);
  overflow: hidden;
}

.footer-main {
  min-height: 104px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: clamp(22px, 4.5vw, 70px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.footer-brand img {
  width: 74px;
  height: auto;
  margin: 0;
  flex: 0 0 auto;
}

.footer-brand p {
  max-width: 315px;
  margin: 0;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 380;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(17px, 2.2vw, 31px);
}

.footer-links a {
  color: rgba(255,255,255,.68);
  font-size: 11px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .22s ease, transform .28s var(--ease-premium);
}

.footer-links a:hover {
  color: #fff;
  transform: translate3d(0, -1px, 0);
}

.footer-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,.42);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .22s ease, transform .28s var(--ease-premium);
}

.footer-cta:hover {
  opacity: .72;
  transform: translate3d(3px, 0, 0);
}

.footer-bottom {
  min-height: 44px;
  padding: 13px 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p,
.footer-bottom span {
  margin: 0;
  color: rgba(255,255,255,.44);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 420;
  letter-spacing: .02em;
}

.footer-bottom span {
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer::after {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: -1px;
}

@media (max-width: 1180px) {
  .statement {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .statement-aside {
    align-self: auto;
    max-width: 560px;
    padding-bottom: 0;
  }

  .statement-aside a {
    justify-self: start;
  }

  .footer-main {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 22px;
    min-height: 0;
    padding: 28px 0 24px;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-cta {
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .statement {
    padding-top: 56px;
    padding-bottom: 54px;
    gap: 34px;
  }

  .statement-copy h2 {
    font-size: clamp(37px, 10.3vw, 58px);
    line-height: 1.02;
    margin-bottom: 22px;
  }

  .statement-copy > p:last-child {
    font-size: 14px;
  }

  .principle {
    min-height: 50px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand img {
    width: 70px;
  }

  .footer-brand p {
    max-width: 280px;
  }

  .footer-bottom {
    min-height: 0;
    padding: 15px 0 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .statement-aside {
    max-width: none;
  }

  .principle {
    grid-template-columns: 32px 1fr;
    gap: 14px;
  }

  .footer-brand {
    display: grid;
    gap: 14px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
  }
}

/* V10 theme system: premium dark mode */
:root {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #15130f;
  --white: #211d17;
  --text: #f2eadf;
  --muted: #b8ab9a;
  --line: rgba(242, 234, 223, .14);
  --gold: #d2a153;
  --gold-soft: #e2bc75;
}

.topbar {
  grid-template-columns: 178px minmax(0, 1fr) auto 126px;
}

.theme-toggle {
  height: 42px;
  min-width: 86px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  justify-self: end;
  border: 1px solid rgba(21, 21, 21, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition:
    color .28s var(--ease-premium),
    background .28s var(--ease-premium),
    border-color .28s var(--ease-premium),
    transform .28s var(--ease-premium),
    box-shadow .28s var(--ease-premium);
}

.theme-toggle:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(195, 139, 55, .38);
  box-shadow: 0 12px 26px rgba(20, 20, 20, .06);
}

.theme-toggle__icon {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: inset 4px -4px 0 rgba(255, 255, 255, .46);
  transition:
    background .28s var(--ease-premium),
    box-shadow .28s var(--ease-premium),
    transform .28s var(--ease-premium);
}

.theme-toggle:hover .theme-toggle__icon {
  transform: rotate(-12deg) scale(1.04);
}

html[data-theme="dark"] body,
html[data-theme="dark"] main,
html[data-theme="dark"] html {
  background: var(--page);
}

html[data-theme="dark"] ::selection {
  color: #17130d;
  background: var(--gold-soft);
}

html[data-theme="dark"] .topbar {
  background: rgba(29, 25, 20, .92);
  border-bottom-color: rgba(242, 234, 223, .08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

html[data-theme="dark"] .topbar.is-scrolled {
  background: rgba(25, 22, 18, .96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .nav a::after {
  background: var(--gold-soft);
}

html[data-theme="dark"] .outline-btn {
  border-color: rgba(242, 234, 223, .38);
}

html[data-theme="dark"] .outline-btn:hover {
  background: var(--gold-soft);
  color: #17130d;
  border-color: var(--gold-soft);
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(226, 188, 117, .22);
  background: rgba(226, 188, 117, .08);
  color: rgba(242, 234, 223, .86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .015);
}

html[data-theme="dark"] .theme-toggle:hover {
  border-color: rgba(226, 188, 117, .42);
  background: rgba(226, 188, 117, .13);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .theme-toggle__icon {
  background: #f0d18b;
  box-shadow: inset -5px -4px 0 #3b2a17;
}

html[data-theme="dark"] .hero {
  background: #181510;
}

html[data-theme="dark"] .hero-picture img,
html[data-theme="dark"] .project img {
  filter: saturate(.92) brightness(.78) contrast(1.06);
}

html[data-theme="dark"] .hero-picture::after {
  opacity: .24;
  background:
    radial-gradient(circle at 72% 26%, rgba(210, 161, 83, .42), transparent 25%),
    linear-gradient(115deg, rgba(226, 188, 117, .10), transparent 45%);
}

html[data-theme="dark"] .hero::before {
  background:
    linear-gradient(90deg,
      rgba(21, 19, 15, .98) 0%,
      rgba(21, 19, 15, .94) 28%,
      rgba(21, 19, 15, .76) 42%,
      rgba(21, 19, 15, .38) 57%,
      rgba(21, 19, 15, .10) 72%,
      rgba(0, 0, 0, .14) 100%),
    linear-gradient(180deg, rgba(226, 188, 117, .08) 0%, rgba(0, 0, 0, .25) 100%);
}

html[data-theme="dark"] .hero::after {
  background: linear-gradient(0deg, rgba(21, 19, 15, .92), rgba(21, 19, 15, 0));
}

html[data-theme="dark"] .hero-text {
  color: rgba(242, 234, 223, .74);
}

html[data-theme="dark"] .scroll-hint {
  color: rgba(242, 234, 223, .48);
}

html[data-theme="dark"] .dark-btn {
  background: linear-gradient(135deg, #e1bd76 0%, #c38b37 100%);
  color: #17130d;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .dark-btn::before {
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .34) 45%, transparent 70%);
}

html[data-theme="dark"] .dark-btn:hover {
  background: linear-gradient(135deg, #f0d18b 0%, #d2a153 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .service-row,
html[data-theme="dark"] .projects {
  background: rgba(21, 19, 15, .98);
}

html[data-theme="dark"] .vision-band {
  background: rgba(226, 188, 117, .045);
}

html[data-theme="dark"] .vision-line {
  color: rgba(242, 234, 223, .70);
}

html[data-theme="dark"] .statement,
html[data-theme="dark"] .process {
  background:
    linear-gradient(180deg, rgba(226, 188, 117, .055), rgba(255, 255, 255, .018)),
    var(--page);
}

html[data-theme="dark"] .principle,
html[data-theme="dark"] .principle:last-of-type {
  border-color: rgba(242, 234, 223, .13);
}

html[data-theme="dark"] .principle strong {
  color: rgba(242, 234, 223, .76);
}

html[data-theme="dark"] .statement-aside a {
  border-bottom-color: rgba(242, 234, 223, .72);
}

html[data-theme="dark"] .projects {
  border-top-color: rgba(242, 234, 223, .08);
}

html[data-theme="dark"] .project-media {
  background: #221e18;
}

html[data-theme="dark"] .project small {
  color: rgba(242, 234, 223, .46);
}

html[data-theme="dark"] .intro {
  background: #17140f;
}

html[data-theme="dark"] .intro::before {
  background:
    linear-gradient(90deg, rgba(20, 18, 14, .96), rgba(20, 18, 14, .78)),
    url("/assets/hero-1440.webp") center / cover;
}

html[data-theme="dark"] .numbers {
  background: #17140f;
}

html[data-theme="dark"] .numbers article + article::before {
  background: rgba(226, 188, 117, .13);
}

html[data-theme="dark"] .contact {
  background: #1b1813;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
  border-color: rgba(242, 234, 223, .14);
  background: #211d17;
  color: var(--text);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(242, 234, 223, .38);
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus {
  border-color: rgba(226, 188, 117, .72);
  background: #252018;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .footer {
  background: #12100d;
}

html[data-theme="dark"] .footer-main {
  border-bottom-color: rgba(226, 188, 117, .12);
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 132px minmax(0, 1fr) auto 116px;
  }
}

@media (max-width: 780px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    min-width: 42px;
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .theme-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .menu-btn {
    grid-column: 3;
    grid-row: 1;
  }

  html[data-theme="dark"] .menu-btn {
    border-color: rgba(242, 234, 223, .16);
  }

  html[data-theme="dark"] .menu-btn span {
    background: var(--text);
  }

  html[data-theme="dark"] .nav {
    background: rgba(25, 22, 18, .98);
    box-shadow: inset 0 1px 0 rgba(242, 234, 223, .08);
  }

  html[data-theme="dark"] .hero::before {
    background:
      linear-gradient(180deg,
        rgba(21, 19, 15, .98) 0%,
        rgba(21, 19, 15, .90) 42%,
        rgba(21, 19, 15, .36) 100%),
      linear-gradient(90deg, rgba(21, 19, 15, .38), transparent);
  }
}

@media (max-width: 520px) {
  .theme-toggle {
    width: 40px;
    height: 40px;
  }
}

html[data-theme="dark"] {
  background: var(--page);
}

.theme-toggle {
  position: relative;
}

/* V11 controls: minimal theme switch + language selector */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.header-controls {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.topbar {
  grid-template-columns: 178px minmax(0, 1fr) auto 126px;
  gap: 22px;
}

.theme-toggle {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  border-color: rgba(21, 21, 21, .12);
  background: rgba(255, 255, 255, .34);
  box-shadow: none;
}

.theme-toggle__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.theme-toggle__icon {
  width: 13px;
  height: 13px;
  box-shadow: inset 4px -4px 0 rgba(255, 255, 255, .55);
}

.theme-toggle:hover {
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 8px 20px rgba(20, 20, 20, .045);
}

.language-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-select-wrap::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: .62;
  transform: translateY(-64%) rotate(45deg);
  pointer-events: none;
}

.language-select {
  height: 34px;
  min-width: 54px;
  padding: 0 22px 0 11px;
  appearance: none;
  border: 1px solid rgba(21, 21, 21, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
  color: var(--text);
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition:
    background .28s var(--ease-premium),
    border-color .28s var(--ease-premium),
    transform .28s var(--ease-premium),
    box-shadow .28s var(--ease-premium);
}

.language-select:hover,
.language-select:focus-visible {
  border-color: rgba(195, 139, 55, .38);
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 8px 20px rgba(20, 20, 20, .045);
  outline: 0;
}

.scroll-hint b {
  font-weight: inherit;
}

html[data-theme="dark"] .language-select {
  border-color: rgba(226, 188, 117, .20);
  background: rgba(226, 188, 117, .07);
  color: rgba(242, 234, 223, .86);
}

html[data-theme="dark"] .language-select:hover,
html[data-theme="dark"] .language-select:focus-visible {
  border-color: rgba(226, 188, 117, .42);
  background: rgba(226, 188, 117, .12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .language-select option {
  background: #211d17;
  color: #f2eadf;
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(226, 188, 117, .20);
  background: rgba(226, 188, 117, .07);
  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle:hover {
  background: rgba(226, 188, 117, .12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 132px minmax(0, 1fr) auto 116px;
    gap: 16px;
  }
}

@media (max-width: 780px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .header-controls {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }

  .menu-btn {
    grid-column: 3;
    grid-row: 1;
  }

  .theme-toggle {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .language-select {
    height: 34px;
    min-width: 52px;
  }
}

@media (max-width: 520px) {
  .header-controls {
    gap: 5px;
  }

  .theme-toggle {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }

  .language-select {
    height: 32px;
    min-width: 50px;
    padding-left: 10px;
    padding-right: 20px;
  }
}


/* V12 controls polish: clearer day/night toggle + flag language pills */
.topbar {
  grid-template-columns: minmax(118px, 178px) minmax(0, 1fr) auto max-content;
  gap: clamp(14px, 1.7vw, 24px);
}

.outline-btn {
  min-width: 0;
  padding-inline: clamp(15px, 1.25vw, 22px);
  white-space: nowrap;
}

.header-controls {
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(21, 21, 21, .075);
  border-radius: 999px;
  background: rgba(255, 255, 255, .50);
  box-shadow: 0 14px 30px rgba(20, 20, 20, .035);
  backdrop-filter: blur(18px);
}

.theme-toggle {
  width: auto;
  min-width: 96px;
  height: 34px;
  padding: 0 11px 0 7px;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.theme-toggle__track {
  position: relative;
  width: 39px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at 77% 31%, rgba(195, 139, 55, .35) 0 2px, transparent 2.4px),
    linear-gradient(135deg, rgba(241, 223, 187, .78), rgba(255, 255, 255, .92));
  box-shadow:
    inset 0 0 0 1px rgba(195, 139, 55, .18),
    inset 0 -6px 12px rgba(195, 139, 55, .08);
  transition: background .30s var(--ease-premium), box-shadow .30s var(--ease-premium);
}

.theme-toggle__orb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4c66e, #c38b37);
  box-shadow: 0 4px 10px rgba(195, 139, 55, .20);
  transform: translate3d(0, 0, 0);
  transition: transform .34s var(--ease-premium), background .34s var(--ease-premium), box-shadow .34s var(--ease-premium);
}

.theme-toggle__text {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, .70);
}

.theme-toggle:hover {
  transform: translate3d(0, -1px, 0);
  background: rgba(255, 255, 255, .48);
  box-shadow: none;
}

.theme-toggle:focus-visible,
.language-option:focus-visible {
  outline: 2px solid rgba(195, 139, 55, .48);
  outline-offset: 2px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(21, 21, 21, .045);
}

.language-option {
  height: 30px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(21, 21, 21, .54);
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
  font-weight: 830;
  letter-spacing: .07em;
  transition:
    color .24s var(--ease-premium),
    background .24s var(--ease-premium),
    box-shadow .24s var(--ease-premium),
    transform .24s var(--ease-premium);
}

.language-option:hover {
  color: var(--text);
  transform: translate3d(0, -1px, 0);
}

.language-option.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 18px rgba(20, 20, 20, .055);
}

.language-option__flag {
  font-size: 13px;
  line-height: 1;
  transform: translateY(-.5px);
}

html[lang="de"] .nav {
  gap: clamp(16px, 2.45vw, 40px);
}

html[lang="de"] .nav a,
html[lang="de"] .outline-btn {
  letter-spacing: .055em;
}

html[lang="de"] .outline-btn {
  padding-inline: 16px;
}

html[data-theme="dark"] .header-controls {
  border-color: rgba(226, 188, 117, .13);
  background: rgba(33, 29, 23, .72);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .16);
}

html[data-theme="dark"] .theme-toggle {
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle:hover {
  background: rgba(226, 188, 117, .08);
  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle__track {
  background:
    radial-gradient(circle at 28% 34%, rgba(255, 255, 255, .56) 0 1.4px, transparent 1.8px),
    radial-gradient(circle at 70% 62%, rgba(226, 188, 117, .28) 0 1.2px, transparent 1.7px),
    linear-gradient(135deg, rgba(52, 43, 32, .95), rgba(23, 19, 15, .95));
  box-shadow:
    inset 0 0 0 1px rgba(226, 188, 117, .20),
    inset 0 -8px 15px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .theme-toggle__orb {
  transform: translate3d(17px, 0, 0);
  background: linear-gradient(135deg, #f0d18b, #c38b37);
  box-shadow:
    inset -4px -4px 0 rgba(44, 33, 20, .58),
    0 4px 12px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .theme-toggle__text {
  color: rgba(242, 234, 223, .76);
}

html[data-theme="dark"] .language-switcher {
  background: rgba(242, 234, 223, .055);
}

html[data-theme="dark"] .language-option {
  color: rgba(242, 234, 223, .48);
}

html[data-theme="dark"] .language-option:hover {
  color: rgba(242, 234, 223, .88);
}

html[data-theme="dark"] .language-option.is-active {
  color: #17130d;
  background: linear-gradient(135deg, #f0d18b, #d2a153);
  box-shadow: 0 9px 18px rgba(0, 0, 0, .22);
}

@media (max-width: 1180px) {
  html[lang="de"] .nav {
    gap: 14px;
  }

  html[lang="de"] .nav a {
    font-size: 10px;
    letter-spacing: .045em;
  }

  html[lang="de"] .outline-btn {
    font-size: 10px;
    padding-inline: 13px;
  }
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 132px minmax(0, 1fr) auto max-content;
    gap: 12px;
  }

  .header-controls {
    padding: 3px;
  }

  .theme-toggle {
    min-width: 90px;
  }
}

@media (max-width: 780px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .header-controls {
    grid-column: 2;
    grid-row: 1;
    gap: 4px;
    padding: 3px;
  }

  .theme-toggle {
    min-width: 38px;
    width: 38px;
    height: 34px;
    padding: 0;
  }

  .theme-toggle__track {
    width: 32px;
    height: 20px;
  }

  .theme-toggle__orb {
    width: 14px;
    height: 14px;
  }

  html[data-theme="dark"] .theme-toggle__orb {
    transform: translate3d(12px, 0, 0);
  }

  .theme-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .language-switcher {
    gap: 1px;
  }

  .language-option {
    width: 32px;
    padding: 0;
    gap: 0;
  }

  .language-option span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .header-controls {
    transform: scale(.94);
    transform-origin: right center;
  }
}

/* V12.1: cleaner active language state and no wrapped desktop nav labels */
.nav a {
  white-space: nowrap;
}

.language-option.is-active {
  background: linear-gradient(135deg, rgba(241, 223, 187, .96), rgba(255, 255, 255, .96));
  box-shadow: 0 8px 18px rgba(195, 139, 55, .12), 0 2px 8px rgba(20, 20, 20, .045);
}

html[data-theme="dark"] .language-option.is-active {
  background: linear-gradient(135deg, #f0d18b, #d2a153);
  box-shadow: 0 9px 18px rgba(0, 0, 0, .22);
}

html[lang="de"] .nav {
  gap: clamp(10px, 1.15vw, 22px);
}
