/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
@font-face {
  font-family: "SZK Sans";
  src: url("/fonts/open-sans-r.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "SZK Sans";
  src: url("/fonts/open-sans-sb.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500 700;
}

@font-face {
  font-family: "SZK Display";
  src: url("/fonts/ubuntu-r.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "SZK Display";
  src: url("/fonts/ubuntu-m.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500 700;
}

:root {
  --font-geist: "SZK Sans";
  --font-outfit: "SZK Display";
  --font-mono: "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;

  --bg: #ffffff;
  --text: #111111;
  --accent: #678e43;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #111111;
  --text: #ffffff;
  --accent: #8fd965;

  color-scheme: dark;
}

[data-theme="dark"] .site-shell {
  filter: invert(1) hue-rotate(180deg);
  background: #ffffff;
}

/* Smooth theme transitions while the reveal curtain is active. */
html[data-theme-transition],
html[data-theme-transition] body {
  transition: background-color 0.8s ease;
}

html[data-theme-transition] .site-shell {
  transition: filter 0.8s ease, background-color 0.8s ease;
}

/* Keep raster images and map tiles in their original colors. */
[data-theme="dark"] .site-shell img,
[data-theme="dark"] .site-shell [role="img"]:not(.logo):not(.theme-toggle svg) {
  filter: invert(1) hue-rotate(180deg);
}

/* Keep brand accent elements with their original light-mode colors. */
[data-theme="dark"] .logo,
[data-theme="dark"] .hero-wordmark p,
[data-theme="dark"] .contact-map-marker {
  filter: invert(1) hue-rotate(180deg);
}

/* Ensure the custom cursor stays visible in dark mode. */
[data-theme="dark"] .cursor-dot {
  background: #ffffff;
}

[data-theme="dark"] .cursor-square {
  border-color: rgba(255, 255, 255, 0.35);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: #ffffff;
  color: #111111;
}

[data-theme="dark"] html,
[data-theme="dark"] body {
  background: #000000;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-geist), sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Shell ── */
.site-shell {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1600px;
  background: #ffffff;
}

/* ── Theme reveal overlay ── */
.theme-bg-reveal {
  position: fixed;
  inset: 0;
  z-index: 100;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.theme-bg-reveal.open {
  transform: scaleY(1);
  pointer-events: auto;
}

.theme-bg-reveal.no-transition {
  transition: none !important;
}

/* ── Header ── */
.header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  height: 118px;
  padding: 0 100px;
  background: #ffffff;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  width: 100px;
  height: 50px;
  background: var(--accent);
}

.logo-main {
  color: #ffffff;
  font-family: var(--font-geist), sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 7px;
  text-align: center;
  line-height: 1.25;
  padding-left: 7px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 26px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.theme-toggle:hover:not(:disabled) {
  opacity: 0.7;
}

.theme-toggle:disabled {
  cursor: default;
}

.top-nav {
  display: flex;
  align-items: flex-start;
  gap: 46px;
  padding-top: 38px;
  margin-left: auto;
}

.reveal-arrow-pocket {
  padding-top: 12px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: opacity 180ms ease;
}

.nav-item:hover {
  opacity: 0.7;
}

.nav-index {
  display: block;
  color: #1f1f1f;
  font-family: var(--font-mono), monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.nav-label {
  color: #1f1f1f;
  font-family: var(--font-geist), sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

.nav-arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #1f1f1f;
  transition: opacity 180ms ease;
}

.nav-arrow:hover {
  opacity: 0.7;
}

/* ── Mobile burger & menu ── */
.burger-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: #111111;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 340ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 300ms ease;
}

.burger-button.is-open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-button.is-open .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-button.is-open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.burger-button:hover {
  opacity: 0.6;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  background: #f2f2f2;
  padding: 16px 24px 40px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 520ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 420ms ease,
    visibility 420ms ease;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
}

.mobile-menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: #111111;
  cursor: pointer;
}

.mobile-menu-close:hover {
  opacity: 0.6;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1;
  overflow-y: auto;
}

.mobile-menu-item-pocket {
  overflow: hidden;
}

.mobile-menu-item-pocket > .mobile-menu-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  color: #111111;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
}

.mobile-menu.is-open .mobile-menu-item-pocket > .mobile-menu-item {
  animation: reveal-up-mobile 0.9s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.mobile-menu-item:hover {
  opacity: 0.6;
}

@keyframes reveal-up-mobile {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu.is-open .mobile-menu-delay-1 > .mobile-menu-item { animation-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu-delay-2 > .mobile-menu-item { animation-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu-delay-3 > .mobile-menu-item { animation-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu-delay-4 > .mobile-menu-item { animation-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu-delay-5 > .mobile-menu-item { animation-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu-delay-6 > .mobile-menu-item { animation-delay: 0.38s; }

.mobile-menu-index {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(26px, 8vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  color: #111111;
  min-width: 44px;
}

.mobile-menu-label {
  flex: 1 1;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(26px, 8vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mobile-menu-arrow {
  display: grid;
  place-items: center;
  color: #111111;
  opacity: 0.55;
  transform: translateY(2px);
}

.mobile-menu-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
  gap: 24px;
  margin-top: auto;
  padding-top: 40px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 380ms ease 160ms, transform 380ms ease 160ms;
}

.mobile-menu.is-open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.mobile-menu-contact a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mobile-menu-contact a:hover {
  opacity: 0.6;
}

.mobile-menu-contact address {
  font-style: normal;
}

.mobile-menu-contact-index {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #111111;
  border-radius: 999px;
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  font-weight: 500;
}

.mobile-menu-contact-title {
  display: block;
  margin-bottom: 4px;
  color: #555555;
  font-size: 12px;
}

/* ── Shared Dot Texture ── */
.hero,
.project-preview,
.services,
.featured,
.about,
.testimonials,
.cta,
.contact-page,
.services-page,
.presentation-page,
.about-page-hero,
.about-page-section {
  position: relative;
  overflow: hidden;
}

/* Dots texture fade-in on page load */
@keyframes dots-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.38;
  }
}

/* Black hole reverse: dots emerge from center and spread outward */
@keyframes dots-blackhole {
  0% {
    opacity: 0;
    -webkit-clip-path: circle(0% at 50% 50%);
            clip-path: circle(0% at 50% 50%);
  }
  20% {
    opacity: 0.1;
    -webkit-clip-path: circle(5% at 50% 50%);
            clip-path: circle(5% at 50% 50%);
  }
  40% {
    opacity: 0.2;
    -webkit-clip-path: circle(15% at 50% 50%);
            clip-path: circle(15% at 50% 50%);
  }
  60% {
    opacity: 0.28;
    -webkit-clip-path: circle(30% at 50% 50%);
            clip-path: circle(30% at 50% 50%);
  }
  80% {
    opacity: 0.34;
    -webkit-clip-path: circle(50% at 50% 50%);
            clip-path: circle(50% at 50% 50%);
  }
  100% {
    opacity: 0.38;
    -webkit-clip-path: circle(75% at 50% 50%);
            clip-path: circle(75% at 50% 50%);
  }
}

.hero::before,
.project-preview::before,
.services::before,
.featured::before,
.about::before,
.testimonials::before,
.cta::before,
.contact-page::before,
.services-page::before,
.presentation-page::before,
.about-page-hero::before,
.about-page-section::before,
.project-detail-hero::before,
.project-detail-gallery::before,
.project-detail-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#111111 0.55px, transparent 0.55px);
  background-size: 11px 11px;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  animation: dots-blackhole 2.4s cubic-bezier(0.7, 0, 0.3, 1) 0.2s forwards;
}

.hero > *,
.project-preview > *,
.services > *,
.featured > *,
.about > *,
.testimonials > *,
.cta > *,
.contact-page > *,
.services-page > *,
.presentation-page > *,
.about-page-hero > *,
.about-page-section > *,
.project-detail-hero > *,
.project-detail-gallery > *,
.project-detail-body > * {
  position: relative;
  z-index: 1;
}

/* ── Custom Cursor ── */
body {
  cursor: none;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  background: #111111;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transform: translate(-100px, -100px);
  /* Center the dot on the cursor point */
  margin-top: -2.5px;
  margin-left: -2.5px;
}

.cursor-square {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  transform: translate(-100px, -100px);
  /* Center the circle so the dot sits in the middle */
  margin-top: -18px;
  margin-left: -18px;
  transition: width 200ms ease, height 200ms ease, border-width 200ms ease, margin 200ms ease;
}

.cursor-square.cursor-hover {
  width: 54px;
  height: 54px;
  margin-top: -27px;
  margin-left: -27px;
  border-width: 3px;
  border-radius: 50%;
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .cursor-square { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  body { cursor: auto; }
  .cursor-dot, .cursor-square { display: none !important; }
}

/* ── Reveal Animation ── */
/*
  Technology: pure CSS @keyframes animation.
  Each element is wrapped in a parent with overflow: hidden (.reveal-pocket).
  The child starts fully below the pocket (translateY(120%)) and invisible,
  then slides up with a heavy, smooth deceleration and a subtle overshoot
  so it feels like a solid object settling into place.
*/
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(120%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-pocket {
  overflow: hidden;
}

.reveal-pocket > .reveal-up,
.reveal-pocket.reveal-up {
  opacity: 0;
  transform: translateY(120%);
  will-change: transform, opacity;
  animation: reveal-up 2.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* Card reveal: card unfolds from an already-mostly-open position,
   rotating slightly upward on the X-axis — like a heavy card already
   leaning on the table, settling into place. Starts at ~70% open. */
@keyframes reveal-card-unfold {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateX(18deg) scaleY(0.92) translateY(30px);
    transform-origin: center bottom;
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) scaleY(1) translateY(0);
    transform-origin: center bottom;
  }
}

.reveal-card {
  opacity: 0;
  transform-origin: center bottom;
  will-change: transform, opacity;
  animation: reveal-card-unfold 2.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* When the whole card animates, keep its inner reveal-up children visible and static. */
.reveal-card .reveal-up {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Header reveal: elements slide down from above the white header pocket */
@keyframes reveal-down {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-pocket-down {
  overflow: hidden;
}

.reveal-pocket-down > .reveal-down,
.reveal-pocket-down.reveal-down {
  opacity: 0;
  transform: translateY(-100%);
  will-change: transform, opacity;
  animation: reveal-down 1.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.reveal-arrow-pocket {
  overflow: hidden;
}

.reveal-arrow-pocket > .reveal-down,
.reveal-arrow-pocket.reveal-down {
  opacity: 0;
  transform: translateY(-180%);
  will-change: transform, opacity;
  animation: reveal-down 1.3s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.reveal-down-delay-1 > .reveal-down,
.reveal-down-delay-1.reveal-down {
  animation-delay: 0.15s;
}

.reveal-down-delay-2 > .reveal-down,
.reveal-down-delay-2.reveal-down {
  animation-delay: 0.25s;
}

.reveal-down-delay-3 > .reveal-down,
.reveal-down-delay-3.reveal-down {
  animation-delay: 0.35s;
}

.reveal-down-delay-4 > .reveal-down,
.reveal-down-delay-4.reveal-down {
  animation-delay: 0.45s;
}

.reveal-arrow-pocket > .reveal-down,
.reveal-arrow-pocket.reveal-down {
  animation-delay: 1s;
}

.header-actions .reveal-arrow-pocket > .reveal-down {
  animation-delay: 1.35s;
}

/* Logo reveal: slides down from above */
.reveal-logo-pocket {
  overflow: hidden;
}

.reveal-logo-pocket > .reveal-down,
.reveal-logo-pocket.reveal-down {
  opacity: 0;
  transform: translateY(-200%);
  will-change: transform, opacity;
  animation: reveal-down 2.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.reveal-delay-1 > .reveal-up,
.reveal-delay-1.reveal-up,
.reveal-delay-1.reveal-card {
  animation-delay: 0.2s;
}

.reveal-delay-2 > .reveal-up,
.reveal-delay-2.reveal-up,
.reveal-delay-2.reveal-card {
  animation-delay: 0.35s;
}

.reveal-delay-3 > .reveal-up,
.reveal-delay-3.reveal-up,
.reveal-delay-3.reveal-card {
  animation-delay: 0.5s;
}

.reveal-delay-4 > .reveal-up,
.reveal-delay-4.reveal-up,
.reveal-delay-4.reveal-card {
  animation-delay: 0.65s;
}

.reveal-delay-5 > .reveal-up,
.reveal-delay-5.reveal-up,
.reveal-delay-5.reveal-card {
  animation-delay: 0.8s;
}

.reveal-delay-6 > .reveal-up,
.reveal-delay-6.reveal-up,
.reveal-delay-6.reveal-card {
  animation-delay: 0.95s;
}

.reveal-delay-7 > .reveal-up,
.reveal-delay-7.reveal-up,
.reveal-delay-7.reveal-card {
  animation-delay: 1.1s;
}

.reveal-delay-8 > .reveal-up,
.reveal-delay-8.reveal-up,
.reveal-delay-8.reveal-card {
  animation-delay: 1.25s;
}

/* Interactive project image hover + scroll tilt */
.interactive-project-image-wrapper {
  perspective: 1200px;
}

.interactive-project-image {
  will-change: transform;
}

.interactive-project-image-inner {
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* Letter-by-letter reveal for hero wordmark */
.hero-letter {
  display: inline-block;
  vertical-align: bottom;
  line-height: 1;
  margin-top: -0.13em;
  margin-bottom: -0.13em;
}

/* Nav letter — same metal reveal for nav items */
.nav-letter {
  display: inline-block;
  vertical-align: bottom;
  line-height: 1.35;
}

.nav-label {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
}

/* Letter twist reveal — each letter unfolds from an already-mostly-open position
   like a heavy metal plate settling into place. Same feel as project cards. */
@keyframes reveal-letter-twist {
  0% {
    opacity: 0;
    transform: perspective(1200px) rotateX(18deg) scaleY(0.92) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) scaleY(1) translateY(0);
  }
}

.hero-letter .reveal-up,
.reveal-subtitle-delay .reveal-up {
  display: inline-block;
}

.hero-letter > .reveal-up {
  animation: reveal-letter-twist 2.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
  transform-origin: center bottom;
}

/* Nav letters also use twist reveal */
.nav-letter > .reveal-up {
  animation: reveal-letter-twist 1.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
  transform-origin: center bottom;
}

.reveal-letter-delay-1 > .reveal-up,
.reveal-letter-delay-1.reveal-up {
  animation-delay: 0.2s;
}

.reveal-letter-delay-2 > .reveal-up,
.reveal-letter-delay-2.reveal-up {
  animation-delay: 0.35s;
}

.reveal-letter-delay-3 > .reveal-up,
.reveal-letter-delay-3.reveal-up {
  animation-delay: 0.5s;
}

.reveal-letter-delay-4 > .reveal-up,
.reveal-letter-delay-4.reveal-up {
  animation-delay: 0.65s;
}

.reveal-letter-delay-5 > .reveal-up,
.reveal-letter-delay-5.reveal-up {
  animation-delay: 0.8s;
}

.reveal-letter-delay-6 > .reveal-up,
.reveal-letter-delay-6.reveal-up {
  animation-delay: 0.95s;
}

.reveal-letter-delay-7 > .reveal-up,
.reveal-letter-delay-7.reveal-up {
  animation-delay: 1.1s;
}

.reveal-letter-delay-8 > .reveal-up,
.reveal-letter-delay-8.reveal-up {
  animation-delay: 1.25s;
}

.reveal-subtitle-delay > .reveal-up,
.reveal-subtitle-delay.reveal-up {
  animation-delay: 1.0s;
}

.reveal-subtitle-delay > .reveal-up:nth-child(2) { animation-delay: 1.05s; }
.reveal-subtitle-delay > .reveal-up:nth-child(3) { animation-delay: 1.1s; }
.reveal-subtitle-delay > .reveal-up:nth-child(4) { animation-delay: 1.15s; }
.reveal-subtitle-delay > .reveal-up:nth-child(5) { animation-delay: 1.2s; }
.reveal-subtitle-delay > .reveal-up:nth-child(6) { animation-delay: 1.25s; }
.reveal-subtitle-delay > .reveal-up:nth-child(7) { animation-delay: 1.3s; }
.reveal-subtitle-delay > .reveal-up:nth-child(8) { animation-delay: 1.35s; }
.reveal-subtitle-delay > .reveal-up:nth-child(9) { animation-delay: 1.4s; }
.reveal-subtitle-delay > .reveal-up:nth-child(10) { animation-delay: 1.45s; }
.reveal-subtitle-delay > .reveal-up:nth-child(11) { animation-delay: 1.5s; }
.reveal-subtitle-delay > .reveal-up:nth-child(12) { animation-delay: 1.55s; }
.reveal-subtitle-delay > .reveal-up:nth-child(13) { animation-delay: 1.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-pocket > .reveal-up,
  .reveal-pocket.reveal-up,
  .reveal-pocket-down > .reveal-down,
  .reveal-pocket-down.reveal-down,
  .reveal-arrow-pocket > .reveal-down,
  .reveal-arrow-pocket.reveal-down,
  .reveal-logo-pocket > .reveal-down,
  .reveal-logo-pocket.reveal-down,
  .reveal-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero::before,
  .project-preview::before,
  .services::before,
  .featured::before,
  .about::before,
  .testimonials::before,
  .cta::before,
  .contact-page::before,
  .services-page::before,
  .presentation-page::before,
  .about-page-hero::before,
  .about-page-section::before {
    animation: none;
    opacity: 0.38;
  }
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 72px);
  background: #ffffff;
  padding: 54px 96px 34px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-gap: 120px;
  gap: 120px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-brand-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.42fr);
  grid-gap: clamp(48px, 5vw, 86px);
  gap: clamp(48px, 5vw, 86px);
  align-items: start;
}

.hero-kicker {
  color: #1a1a1a;
  font-family: var(--font-geist), sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-self: end;
  width: 100%;
  padding-top: 12px;
  min-width: 0;
}

.hero-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  gap: 18px;
  width: max-content;
  max-width: 100%;
  text-align: left;
}

.hero h1 {
  font-family: var(--font-geist), sans-serif;
  font-size: 360px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.74;
  color: #171717;
  white-space: nowrap;
}

.hero-wordmark p {
  color: var(--accent);
  color: var(--accent);
  font-family: var(--font-geist), sans-serif;
  font-size: 44px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
  align-self: flex-end;
  padding-bottom: 12px;
}

.hero-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

.hero-services span {
  display: block;
  min-width: 0;
  padding: 0;
  text-align: left;
  white-space: nowrap;
}

.hero-services span:last-child {
  white-space: nowrap;
}

.hero-projects {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: start;
  grid-gap: 80px;
  gap: 80px;
}

.text-link {
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  transition: opacity 180ms ease;
}

.text-link:hover {
  opacity: 0.7;
}

.mono-small {
  color: #6b6b6b;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  font-weight: 500;
}

.hero-project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.hero-project-image {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 540px;
  overflow: hidden;
  background: #d9d9d9;
}

.hero-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  font-family: var(--font-mono), monospace;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.hero-project-caption {
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  line-height: 1.08;
}

.hero-project-caption h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-project-caption p {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 400;
}

.hero-summary {
  display: none;
}

.home-project-preview {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 70px 64px;
  gap: 70px 64px;
}

.home-project-card,
.home-project-more {
  color: #111111;
  text-decoration: none;
}

.home-project-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.home-project-card-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.home-project-card-wide {
  grid-column: span 8;
}

.home-project-card-narrow {
  grid-column: span 4;
}

.home-project-card-half {
  grid-column: span 6;
}

.home-project-card-full {
  grid-column: span 12;
}

.home-project-image {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #dddddd;
}

.home-project-card-wide .home-project-image,
.home-project-card-narrow .home-project-image,
.home-project-card-full .home-project-image {
  height: 500px;
}

.home-project-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-geist), sans-serif;
  font-size: 16px;
  line-height: 1.12;
}

.home-project-caption strong {
  font-weight: 700;
}

.home-project-more {
  position: relative;
  grid-column: span 6;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 430px;
  justify-content: center;
  font-family: var(--font-geist), sans-serif;
}

.home-project-more strong {
  font-size: 300px;
  font-weight: 500;
  line-height: 0.75;
}

.home-project-more > span:last-child {
  font-size: 18px;
  font-weight: 500;
}

.home-project-more-arrow {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.18em;
  vertical-align: 0.06em;
  color: currentColor;
}

.home-project-more-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-project-stat {
  grid-column: span 6;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 430px;
  justify-content: center;
  font-family: var(--font-geist), sans-serif;
  color: #111111;
}

.home-project-stat > span:first-child {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.home-project-stat > strong {
  font-size: 180px;
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.home-project-stat > span:last-child {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  max-width: 420px;
  color: #333333;
}

.cover {
  object-fit: cover;
}

/* ── Services ── */
.services {
  background: #ffffff;
  padding: 48px clamp(32px, 6vw, 96px) 120px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.services-top-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.services-pill {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  font-family: var(--font-geist), sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1f1f1f;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  line-height: 1;
}

.services-line {
  flex: 1 1;
  height: 1px;
  background: #c2c2c2;
}

.services-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #1f1f1f;
}

.services-title {
  width: 100%;
  max-width: 1400px;
  margin: 18px auto 0;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: #1f1f1f;
}

.services-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: clamp(36px, 3.2vw, 96px);
  gap: clamp(36px, 3.2vw, 96px);
  align-items: start;
  width: 100%;
  max-width: 1400px;
  margin: 72px auto 0;
}

.services-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-gap: 22px;
  gap: 22px;
  align-items: start;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.1;
  transition: opacity 180ms ease;
}

.service-item:hover {
  opacity: 0.6;
}

.service-label {
  display: inline;
}

.service-arrow {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.18em;
  vertical-align: 0.08em;
  color: currentColor;
}

.service-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.service-preview {
  position: absolute;
  top: 50%;
  left: calc(100% + 24px);
  width: min(640px, 45vw);
  height: min(440px, 31vw);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(16px);
  transition: opacity 420ms ease, transform 420ms ease, visibility 420ms ease;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.service-preview-image {
  object-fit: cover;
}

.service-item:hover .service-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Right column previews appear on the left side */
.services-col:nth-child(2) .service-preview {
  left: auto;
  right: calc(100% + 24px);
  transform: translateY(-50%) translateX(-16px);
}

.services-col:nth-child(2) .service-item:hover .service-preview {
  transform: translateY(-50%) translateX(0);
}

.service-number {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 0.32em;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  color: #3a3a3a;
  font-family: var(--font-geist), sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}

/* ── Featured Projects ── */
.featured {
  background: #ffffff;
  padding: 102px clamp(32px, 6vw, 96px) 120px;
}

.projects-index {
  min-height: 100vh;
}

.projects-title-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 66px);
  width: 100%;
  max-width: 1760px;
  margin: 0 auto 40px;
  padding-top: 16px;
}

.projects-subtitle {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto 132px;
  color: #5b5b5b;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.45;
}

.projects-title-row h1,
.projects-title-row h2 {
  flex: 1 1 auto;
  min-width: 0;
  color: #171717;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(72px, 9.5vw, 156px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
  text-wrap: balance;
}

.projects-title-row sup {
  position: relative;
  top: -0.95em;
  margin-left: 18px;
  font-size: clamp(24px, 2.5vw, 44px);
  font-weight: 400;
}

.projects-title-arrow {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #111111;
  transform: rotate(90deg);
}

.projects-title-arrow svg {
  width: 100%;
  height: 100%;
}

.projects-filter {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) minmax(130px, 170px) 36px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid #c9c9c9;
  color: #151515;
  font-family: var(--font-geist), sans-serif;
  font-size: 16px;
}

.projects-filter-label,
.projects-filter-type,
.projects-filter-count,
.projects-filter-button {
  min-height: 58px;
  display: flex;
  align-items: center;
}

.projects-filter-type,
.projects-filter-button,
.projects-filter-count {
  padding-left: 24px;
}

.projects-filter-button {
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.projects-filter-button svg {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.projects-filter-button svg.is-open {
  transform: rotate(180deg);
}

.projects-filter-corner {
  display: grid;
  place-items: center;
  justify-self: end;
  min-height: 58px;
}

.projects-filter-body {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 58px;
  gap: 8px;
  padding: 10px 0 10px 24px;
}

.projects-category-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.projects-category-dropdown-label {
  color: #6f6f6f;
  font-size: 16px;
  font-weight: 400;
}

.projects-category-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #111111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.projects-category-dropdown-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  background: transparent;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: background 120ms ease;
}

.projects-category-dropdown-menu button:last-child {
  border-bottom: 0;
}

.projects-category-dropdown-menu button:hover {
  background: #f5f5f5;
}

.projects-category-dropdown-menu button.is-active {
  background: #111111;
  color: #ffffff;
}

.projects-category-dropdown-menu button small {
  color: currentColor;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  opacity: 0.72;
}

.projects-filter-map {
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) minmax(130px, 170px) 36px;
  max-width: 1760px;
  width: 100%;
  margin: 0;
}

.projects-filter-map .projects-filter-type {
  color: #6f6f6f;
  font-size: 16px;
  font-weight: 400;
  border-left: 0;
  padding-left: 0;
}

/* category tabs removed — replaced by dropdown in .projects-category-dropdown */

.projects-filter-count {
  justify-content: flex-end;
  padding-right: 20px;
  font-size: 16px;
}

.projects-filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #6f6f6f;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  padding: 6px 0;
  margin-left: 4px;
  cursor: pointer;
  transition: color 180ms ease;
}

.projects-filter-clear:hover {
  color: #111111;
}

.projects-map-layout {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0;
  gap: 0;
  max-width: 1760px;
  margin: 0 auto 96px;
  align-items: stretch;
}

.projects-map-layout-flat {
  gap: 8px;
}

.projects-map-frame {
  position: relative;
  min-height: 500px;
  height: clamp(540px, 38vw, 720px);
  border: 2px solid #111111;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.projects-yandex-map {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.projects-yandex-map [class*="ymaps-"][class*="-ground-pane"] {
  filter: grayscale(1) contrast(1.06);
}

.projects-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  grid-gap: 8px;
  gap: 8px;
  background:
    radial-gradient(#111111 0.55px, transparent 0.55px) 0 0 / 9px 9px,
    #ffffff;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  text-align: center;
}

.projects-map-fallback span {
  font-size: clamp(32px, 5vw, 68px);
  line-height: 0.95;
}

.projects-map-fallback p {
  max-width: 360px;
  color: #6f6f6f;
  font-size: 16px;
  line-height: 1.35;
}

.projects-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  align-items: end;
  grid-gap: clamp(16px, 2vw, 34px) clamp(24px, 4vw, 64px);
  gap: clamp(16px, 2vw, 34px) clamp(24px, 4vw, 64px);
  padding: 0 0 10px;
  font-family: var(--font-geist), sans-serif;
}

.projects-map-panel-kicker {
  grid-column: 1 / -1;
  color: #6f6f6f;
  font-size: 16px;
}

.projects-map-panel h2 {
  grid-column: 1;
  min-width: 0;
  max-width: none;
  color: #111111;
  font-size: clamp(38px, 4.2vw, 66px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.projects-map-panel-count {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(30px, 3.2vw, 54px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.94;
  white-space: nowrap;
}

.projects-map-list {
  grid-column: 1 / -1;
  margin-top: clamp(8px, 1.2vw, 18px);
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: clamp(280px, 30vh, 360px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 12px;
  border-top: 1px solid #c9c9c9;
  scrollbar-color: #111111 transparent;
  scrollbar-width: thin;
}

.projects-map-list::-webkit-scrollbar {
  width: 6px;
}

.projects-map-list::-webkit-scrollbar-track {
  background: transparent;
}

.projects-map-list::-webkit-scrollbar-thumb {
  background: #111111;
  border-radius: 999px;
}

.projects-map-list button {
  display: grid;
  grid-template-columns: minmax(36px, 54px) minmax(120px, 170px) minmax(0, 1fr);
  align-items: baseline;
  grid-gap: clamp(14px, 2vw, 30px);
  gap: clamp(14px, 2vw, 30px);
  border: 0;
  border-bottom: 1px solid #c9c9c9;
  background: transparent;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
  padding: 20px 0;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, padding-left 180ms ease;
}

.projects-map-list-number,
.projects-map-list-category {
  color: #6f6f6f;
  font-size: 13px;
  font-weight: 500;
}

.projects-map-list-number {
  font-family: var(--font-mono), monospace;
}

.projects-map-list button strong {
  min-width: 0;
  color: inherit;
  font: inherit;
}

.projects-map-list button:hover,
.projects-map-list button.is-active {
  color: var(--accent);
  padding-left: 12px;
}

.projects-map-list-empty {
  border-bottom: 1px solid #c9c9c9;
  color: #6f6f6f;
  font-family: var(--font-geist), sans-serif;
  font-size: 18px;
  padding: 24px 0;
}

.projects-browser {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.projects-search-row {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  align-items: center;
  border-top: 1px solid #c9c9c9;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  min-height: 58px;
}

.projects-search-row label {
  min-height: 58px;
  display: flex;
  align-items: center;
}

.projects-search-row label {
  color: #6f6f6f;
  font-size: 16px;
  font-weight: 400;
}

.projects-search-row input {
  min-height: 58px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  outline: 0;
  padding: 0 24px;
}

.projects-search-row input::placeholder {
  color: #b0b0b0;
}

.projects-browser-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-gap: 0;
  gap: 0;
  align-items: start;
}

.projects-browser-layout .projects-map-list {
  max-height: clamp(280px, 30vh, 360px);
}

.projects-selected-card {
  position: -webkit-sticky;
  position: sticky;
  top: 28px;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid #111111;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  padding-top: 24px;
}

.projects-selected-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
}

.projects-selected-main-image,
.projects-selected-empty-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #dedede;
}

.projects-selected-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.projects-selected-thumb {
  position: relative;
  min-height: 104px;
  overflow: hidden;
  background: #e9e9e9;
}

.projects-selected-thumb span {
  position: absolute;
  inset: auto 8px 8px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.projects-selected-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.projects-selected-info > span {
  color: #6f6f6f;
  font-size: 14px;
}

.projects-selected-info h3 {
  max-width: 520px;
  color: #111111;
  font-size: clamp(34px, 3.2vw, 58px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.projects-selected-info p,
.projects-selected-empty p {
  color: #444444;
  font-size: 17px;
  line-height: 1.42;
}

.projects-selected-empty {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.projects-selected-empty span {
  color: #111111;
  font-size: clamp(32px, 3vw, 52px);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.project-index-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 88px clamp(44px, 5vw, 80px);
  gap: 88px clamp(44px, 5vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
}

.project-index-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.project-index-card-wide {
  grid-column: span 8;
}

.project-index-card-narrow {
  grid-column: span 4;
}

.project-index-card-half {
  grid-column: span 6;
}

.project-index-image {
  position: relative;
  display: block;
  min-height: 360px;
  width: 100%;
  height: clamp(420px, 42vw, 680px);
  border: 0;
  overflow: hidden;
  background: #dddddd;
  cursor: pointer;
  padding: 0;
}

.project-index-card-narrow .project-index-image {
  height: clamp(420px, 42vw, 680px);
}

.project-index-card-half .project-index-image {
  height: clamp(340px, 32vw, 520px);
}

.project-index-badge {
  z-index: 3;
}

.project-index-info h2,
.project-index-info h3,
.project-index-info p {
  font-family: var(--font-geist), sans-serif;
  color: #111111;
  line-height: 1.1;
}

.project-index-info h2,
.project-index-info h3 {
  font-size: 19px;
  font-weight: 700;
}

.project-index-info p {
  font-size: 18px;
  font-weight: 400;
}

.project-index-info-rich {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-index-info-rich > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-index-info-rich span {
  color: #6f6f6f;
  font-size: 13px;
}

.project-index-info-rich > p {
  max-width: 620px;
  color: #444444;
  font-size: 16px;
  line-height: 1.38;
}

.project-index-info-rich a {
  width: max-content;
  font-size: 17px;
  font-weight: 700;
  transition: opacity 180ms ease;
}

.project-index-info-rich a:hover {
  opacity: 0.7;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #111111;
  font-size: 12px;
  padding: 6px 10px;
}

.project-index-info-rich small {
  color: #6f6f6f;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
}

.projects-tag-filter {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  align-items: center;
  border-top: 1px solid #c9c9c9;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  min-height: 58px;
}

.projects-tag-filter > span {
  color: #6f6f6f;
  font-size: 16px;
  font-weight: 400;
}

.projects-tag-filter > div {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  min-height: 58px;
  align-items: center;
  gap: 8px;
  padding-left: 24px;
}

.projects-tag-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #111111;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 7px 11px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.projects-tag-filter button:hover {
  opacity: 0.72;
}

.projects-tag-filter button.is-active {
  background: #111111;
  color: #ffffff;
}

.projects-tag-filter small {
  color: currentColor;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  opacity: 0.72;
}

.projects-list-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #c9c9c9;
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 48px 40px;
  gap: 48px 40px;
  padding: 48px 0 64px;
  align-items: start;
}

.project-card-wide {
  grid-column: span 8;
}

.project-card-narrow {
  grid-column: span 4;
}

.project-card-half {
  grid-column: span 6;
}

@media (max-width: 900px) {
  .project-card-grid {
    grid-template-columns: 1fr;
    gap: 40px 0;
    padding: 36px 0 48px;
  }

  .project-card-wide,
  .project-card-narrow,
  .project-card-half {
    grid-column: auto;
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: opacity 180ms ease;
}

.project-card:hover {
  opacity: 0.85;
}

.project-card-image {
  position: relative;
  overflow: hidden;
  background: #dddddd;
}

.project-card-wide .project-card-image {
  aspect-ratio: 16 / 10;
}

.project-card-narrow .project-card-image {
  aspect-ratio: 3 / 4;
}

.project-card-half .project-card-image {
  aspect-ratio: 4 / 3;
}

.project-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.project-card-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-geist), sans-serif;
}

.project-card-info h3 {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  color: #111111;
  line-height: 1.15;
}

.project-card-info p {
  font-size: 14px;
  color: #5b5b5b;
  line-height: 1.3;
}

.projects-ordered-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.projects-ordered-list li {
  border-bottom: 1px solid #c9c9c9;
  padding: 20px 0;
}

.projects-ordered-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  grid-gap: clamp(16px, 2.2vw, 32px);
  gap: clamp(16px, 2.2vw, 32px);
  align-items: start;
}

.projects-ordered-text {
  min-width: 0;
}

.projects-ordered-list li.is-active {
  border-color: #111111;
  background: rgba(11, 107, 24, 0.055);
}

.projects-ordered-list li button {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
  font-family: var(--font-geist), sans-serif;
  text-align: left;
  padding: 0;
}

.projects-ordered-number {
  color: #6f6f6f;
  font-family: var(--font-mono), monospace;
  font-size: 16px;
}

.projects-ordered-name {
  color: #111111;
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.projects-ordered-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-left: 38px;
  color: #6f6f6f;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
}

.projects-ordered-meta a {
  color: #111111;
  font-weight: 700;
}

.projects-ordered-photo {
  position: relative;
  width: 170px;
  aspect-ratio: 4 / 3;
  justify-self: end;
  margin-top: -6px;
  border: 8px solid #ffffff;
  border-radius: 0;
  background: #f2f2f2;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transform: rotate(-2.6deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.projects-ordered-list li:nth-child(even) .projects-ordered-photo {
  transform: rotate(2.2deg);
}

.projects-ordered-list li:hover .projects-ordered-photo,
.projects-ordered-list li.is-active .projects-ordered-photo {
  transform: rotate(0);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

.projects-list-card {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  grid-gap: clamp(20px, 2.8vw, 42px);
  gap: clamp(20px, 2.8vw, 42px);
  border-bottom: 1px solid #c9c9c9;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  padding: 22px 0;
  transition: border-color 180ms ease, background 180ms ease, padding-left 180ms ease;
}

.projects-list-card.is-active {
  border-color: #111111;
  background: rgba(11, 107, 24, 0.055);
  padding-left: 14px;
}

.projects-list-card-media {
  position: relative;
  min-height: 150px;
  border: 0;
  background: #dddddd;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.projects-list-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.projects-list-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #6f6f6f;
  font-size: 13px;
}

.projects-object-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #111111;
  border-radius: 999px;
  color: #111111;
  font-family: var(--font-mono), monospace;
  font-size: 14px;
}

.projects-list-card h2 {
  max-width: 760px;
  color: #111111;
  font-size: clamp(28px, 2.7vw, 46px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.projects-list-card p,
.projects-list-card address {
  max-width: 760px;
  color: #444444;
  font-size: 16px;
  font-style: normal;
  line-height: 1.38;
}

.projects-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.projects-card-actions button,
.projects-card-actions a,
.projects-selected-info a,
.projects-pagination button {
  border: 1px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 11px 14px;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.projects-card-actions a,
.projects-selected-info a {
  display: inline-flex;
  align-items: center;
}

.projects-card-actions button:hover,
.projects-card-actions a:hover,
.projects-selected-info a:hover,
.projects-pagination button:hover:not(:disabled) {
  opacity: 0.72;
}

.projects-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 0;
}

.projects-pagination span {
  color: #111111;
  font-family: var(--font-mono), monospace;
  font-size: 14px;
}

.projects-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.project-detail {
  background: #ffffff;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  padding: 108px clamp(32px, 6vw, 96px) 120px;
}

.project-detail-title-row,
.project-detail-hero,
.project-detail-gallery,
.project-detail-body {
  position: relative;
  max-width: 1760px;
  margin: 0 auto;
}

.project-detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  color: #6f6f6f;
  font-size: 16px;
}

.project-detail-title-row a {
  color: #111111;
  font-weight: 700;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  grid-gap: clamp(42px, 7vw, 120px);
  gap: clamp(42px, 7vw, 120px);
  padding: 78px 0 84px;
}

.project-detail-hero h1 {
  max-width: 100%;
  color: #111111;
  font-size: clamp(44px, 5.8vw, 96px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.project-detail-hero p,
.project-detail-body p {
  color: #333333;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.34;
}

.project-detail-hero > div {
  min-width: 0;
}

.project-detail-hero > div > p {
  max-width: 760px;
  margin-top: 28px;
}

.project-detail-hero aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 22px;
}

.project-detail-hero aside span,
.project-detail-body span:first-child {
  color: #6f6f6f;
  font-size: 14px;
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: clamp(18px, 2.2vw, 34px);
  gap: clamp(18px, 2.2vw, 34px);
}

.project-detail-gallery figure {
  position: relative;
  grid-column: span 6;
  min-height: clamp(320px, 34vw, 560px);
  background: #dddddd;
  overflow: hidden;
}

.project-detail-gallery figure.is-large {
  grid-column: 1 / -1;
  min-height: clamp(480px, 48vw, 780px);
}

.project-detail-gallery figcaption {
  position: absolute;
  inset: auto 16px 16px;
  z-index: 2;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

/* Hover zoom for project detail images */
.project-detail-gallery figure img {
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.project-detail-gallery figure:hover img {
  transform: scale(1.1);
}

.project-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  grid-gap: clamp(42px, 7vw, 120px);
  gap: clamp(42px, 7vw, 120px);
  margin-top: 76px;
  padding-top: 28px;
}

.project-detail-body > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── About ── */
.about {
  background: #ffffff;
  padding: 92px clamp(32px, 6vw, 96px) 112px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-top-row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.about-pill {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  color: #1f1f1f;
  font-family: var(--font-geist), sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.about-line {
  flex: 1 1;
  height: 1px;
  background: #b7b7b7;
}

.about-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #1f1f1f;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: clamp(48px, 6vw, 96px);
  gap: clamp(48px, 6vw, 96px);
  width: 100%;
  max-width: 1400px;
  margin: 80px auto 0;
}

.about-label {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-heading {
  font-family: var(--font-geist), sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: #111111;
  line-height: 1.18;
}

.about-sub {
  color: #171717;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(42px, 4.6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.about-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 620px;
}

.about-body {
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.5;
}

.about-main .about-link {
  grid-column: 2;
  grid-row: 2;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 15px;
  font-weight: 500;
  align-self: flex-start;
  transition: opacity 180ms ease;
}

.about-link:hover {
  opacity: 0.6;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1220px;
  margin: 90px auto 0;
  padding: 32px 0;
  border-top: 1px solid #c9c9c9;
  border-bottom: 1px solid #c9c9c9;
}

.stat-num {
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(48px, 5vw, 84px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ── Testimonials ── */
.testimonials {
  background: #ffffff;
  padding: 64px clamp(32px, 6vw, 96px) 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.testimonials-top-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.testimonials-title {
  width: 100%;
  max-width: 1480px;
  margin: 18px auto 0;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1f1f1f;
  padding-left: 56px;
}

.testimonials-pill {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1f1f1f;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  line-height: 1;
}

.testimonials-line {
  flex: 1 1;
  height: 1px;
  background: #c2c2c2;
}

.testimonials-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #1f1f1f;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: clamp(48px, 6vw, 96px);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials-large {
  display: flex;
  flex-direction: column;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #171717;
}

.testimonials-body {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.testimonials-lead {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.35;
  color: #1f1f1f;
}

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

.testimonials-columns p {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: #444444;
}

.testimonials-construction-graphic {
  width: 100%;
  max-width: 600px;
  margin: 48px auto 0;
}

.testimonials-construction-graphic svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── CTA ── */
.cta {
  background: #ffffff;
  padding: 140px 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  justify-content: center;
}

.cta-top-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.cta-pill {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1f1f1f;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  line-height: 1;
}

.cta-line {
  flex: 1 1;
  height: 1px;
  background: #c2c2c2;
}

.cta-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #1f1f1f;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1120px;
  max-width: 100%;
  margin: 0 auto;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
}

.cta h2 {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #171717;
}

.cta p {
  font-family: var(--font-outfit), sans-serif;
  font-size: 16px;
  color: #666666;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-geist), sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background: #111111;
  border: 1px solid #111111;
  border-radius: 0;
  padding: 14px 28px;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease;
}

.cta-btn:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

/* ── Footer ── */
.footer {
  background: #ffffff;
  padding: 0 100px;
}

.footer-inner {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 54px;
  padding: 58px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr) minmax(140px, 0.6fr);
  grid-gap: clamp(36px, 4vw, 72px);
  gap: clamp(36px, 4vw, 72px);
  align-items: start;
}

.footer-copy,
.footer-contacts,
.footer-address-column,
.footer-address,
.footer-end,
.footer-hours,
.footer-end-links,
.footer-presentation,
.footer-presentation-column {
  font-family: var(--font-geist), sans-serif;
  font-size: 16px;
  line-height: 1.18;
}

.footer-copy,
.footer-contacts *,
.footer-address-column,
.footer-address-column *,
.footer-address,
.footer-address *,
.footer-end *,
.footer-hours,
.footer-hours *,
.footer-end-links,
.footer-end-links *,
.footer-presentation,
.footer-presentation-column,
.footer-presentation-column * {
  font-size: inherit;
  line-height: inherit;
}

.footer-copy {
  color: #b8b8b8;
  font-size: 14px;
  font-weight: 400;
}

.footer-hours {
  display: flex;
  max-width: 420px;
  flex-direction: column;
  gap: 20px;
  color: #111111;
}

.footer-hours p {
  max-width: 250px;
  font-weight: 400;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-phone {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  min-width: 0;
  align-items: center;
  grid-gap: 12px;
  gap: 12px;
  color: #111111;
}

.footer-phone div {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-address span {
  color: #111111;
  font-weight: 400;
}

.footer-phone a {
  width: -moz-fit-content;
  width: fit-content;
  font-weight: 400;
  transition: opacity 180ms ease;
}

.footer-phone a:hover {
  opacity: 0.68;
}

.footer-index {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  color: #111111;
  font-weight: 400;
  font-style: normal;
}

.footer-end {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  color: #111111;
}

.footer-end-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  color: #111111;
}

.footer-presentation {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111111;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 180ms ease;
}

.footer-presentation-arrow {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: currentColor;
}

.footer-presentation-arrow svg {
  width: 18px;
  height: 18px;
}

.footer-presentation:hover {
  opacity: 0.68;
}

/* ── Contact ── */
.contact-page {
  background: #ffffff;
  padding: 118px clamp(32px, 6vw, 96px) 120px;
}

.contact-title-row,
.contact-meta-row,
.contact-layout,
.contact-map-frame {
  max-width: 1400px;
  margin-inline: auto;
}

.contact-title-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 66px);
  margin-bottom: 132px;
}

.contact-title-row h1 {
  color: #171717;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(72px, 9.5vw, 156px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
}

.contact-title-row sup {
  position: relative;
  top: -0.95em;
  margin-left: 18px;
  font-size: clamp(24px, 2.5vw, 44px);
  font-weight: 400;
}

.contact-title-arrow {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #111111;
  transform: rotate(90deg);
}

.contact-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 98px;
  color: #151515;
  font-family: var(--font-geist), sans-serif;
  font-size: 18px;
}

.contact-meta-row > span:not(.contact-meta-corner) {
  min-height: 56px;
  display: flex;
  align-items: center;
}

.contact-meta-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.contact-meta-right > a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  color: #111111;
}

.contact-meta-corner {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(480px, 820px);
  grid-gap: clamp(48px, 6vw, 96px);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto 64px;
}

.contact-info-col {
  font-family: var(--font-geist), sans-serif;
  color: #111111;
  padding: 8px 0 0;
}

.contact-company {
  margin-bottom: 24px;
  color: #171717;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.2;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.2;
  transition: opacity 180ms ease;
}

.contact-phone-btn:hover {
  opacity: 0.75;
}


.contact-office {
  margin-bottom: 10px;
  color: #444444;
  font-family: var(--font-geist), sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.contact-address-plain {
  display: block;
  font-style: normal;
  color: #333333;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.5;
  margin-bottom: 10px;
  max-width: 420px;
}

.contact-hours {
  color: #6f6f6f;
  font-size: 14px;
  line-height: 1.4;
}

.contact-form {
  font-family: var(--font-geist), sans-serif;
  color: #111111;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 40px);
  border: 2px solid #111111;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.contact-form h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 400;
  line-height: 1;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #6f6f6f;
  font-size: 14px;
  padding: 12px 0 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #111111;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-size: 18px;
  line-height: 1.35;
  padding: 10px 0 14px;
  outline: none;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a6a6a6;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3.5vw, 48px);
  border: 2px solid #111111;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.contact-form h2 {
  margin-bottom: 34px;
  font-size: clamp(48px, 5vw, 82px);
  font-weight: 400;
  line-height: 0.98;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #6f6f6f;
  font-size: 15px;
  padding: 18px 0 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #111111;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-size: 20px;
  line-height: 1.35;
  padding: 12px 0 18px;
  outline: none;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a6a6a6;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--accent);
}

/* File upload */
.contact-file-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.contact-file-wrap input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.contact-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 180ms ease;
  white-space: nowrap;
}

.contact-file-wrap:hover .contact-file-link,
.contact-file-link:hover {
  opacity: 0.6;
}

.contact-file-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.contact-file-name {
  font-family: var(--font-geist), sans-serif;
  font-size: 15px;
  color: #6f6f6f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.contact-file-hint {
  font-size: 12px;
  color: #9a9a9a;
  margin-top: 2px;
}

.contact-form button {
  align-self: flex-start;
  margin-top: 32px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 180ms ease;
}

.contact-form button:hover {
  opacity: 0.6;
}

.contact-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-form-status {
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 8px;
}

.contact-form-status--success {
  color: var(--accent);
}

.contact-form-status--error {
  color: #c0392b;
}

.cf-turnstile {
  margin-top: 16px;
}

.contact-map-frame {
  position: relative;
  width: 100%;
  height: clamp(320px, 28vw, 460px);
  border: 2px solid #111111;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-frame [class*="ymaps-"][class*="-ground-pane"] {
  filter: grayscale(1) contrast(1.06);
}

.contact-map-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 50px;
  background: var(--accent);
  font-family: var(--font-geist), sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.contact-map-marker-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 7px;
  line-height: 1.25;
  padding-left: 7px;
  text-align: center;
}

/* ── Presentation ── */
.presentation-page {
  background: #ffffff;
  padding: 118px clamp(32px, 6vw, 96px) 120px;
}

.presentation-title-row,
.presentation-toolbar,
.presentation-viewer {
  max-width: 1400px;
  margin-inline: auto;
}

.presentation-title-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 66px);
  margin-bottom: 104px;
}

.presentation-title-row h1 {
  color: #171717;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(92px, 13vw, 218px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
}

.presentation-title-arrow {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #111111;
  transform: rotate(90deg);
}

.presentation-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 30px;
  gap: 30px;
  align-items: center;
  margin-bottom: 34px;
  border-top: 1px solid #c9c9c9;
  padding-top: 24px;
  font-family: var(--font-geist), sans-serif;
}

.presentation-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.presentation-toolbar span {
  color: #6f6f6f;
  font-size: 14px;
}

.presentation-toolbar strong {
  color: #111111;
  font-size: clamp(24px, 2.6vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.presentation-actions {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.presentation-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.presentation-actions a:hover {
  opacity: 0.6;
}

.presentation-actions a svg {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.presentation-viewer {
  height: clamp(640px, 74vh, 980px);
  border: 2px solid #111111;
  background: #f2f2f2;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.presentation-viewer iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f2f2f2;
}

/* ── Services Page ── */
.services-page {
  background: #ffffff;
  padding: 118px clamp(32px, 6vw, 96px) 120px;
}

.services-page-title-row,
.services-page-meta,
.services-page-nav,
.services-detail-list,
.services-why {
  max-width: 1400px;
  margin-inline: auto;
}

.services-page-title-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 66px);
  margin-bottom: 118px;
}

.services-page-title-row h1 {
  color: #171717;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(72px, 9.5vw, 156px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
}

.services-page-title-row sup {
  position: relative;
  top: -0.95em;
  margin-left: 18px;
  font-size: clamp(24px, 2.5vw, 44px);
  font-weight: 400;
}

.services-page-title-arrow {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #111111;
  transform: rotate(90deg);
}

.services-page-meta {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(260px, 1fr) minmax(180px, 240px) 36px;
  align-items: center;
  margin-bottom: 70px;
  border-top: 1px solid #c9c9c9;
  color: #151515;
  font-family: var(--font-geist), sans-serif;
  font-size: 18px;
}

.services-page-meta > span:not(.services-page-corner),
.services-page-meta > a {
  min-height: 56px;
  display: flex;
  align-items: center;
}

.services-page-meta > span:not(.services-page-corner) + span:not(.services-page-corner),
.services-page-meta > a {
  border-left: 1px solid #d8d8d8;
  padding-left: 24px;
}

.services-page-meta > a {
  color: #111111;
  font-weight: 700;
}

.services-page-corner {
  display: grid;
  place-items: center;
  justify-self: end;
}

.services-page-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 1px;
  gap: 1px;
  margin-bottom: 72px;
  background: #d8d8d8;
  border: 1px solid #d8d8d8;
}

.services-page-nav a {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px 20px 20px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.services-page-nav a:hover {
  background: #111111;
  color: #ffffff;
}

.services-page-nav span {
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  color: currentColor;
}

.services-detail-list {
  display: flex;
  flex-direction: column;
}

.services-detail-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  grid-gap: clamp(40px, 7vw, 118px);
  gap: clamp(40px, 7vw, 118px);
  padding: 64px 0 74px;
  border-top: 1px solid #c9c9c9;
  scroll-margin-top: 36px;
}

.services-detail-card:last-child {
  border-bottom: 1px solid #c9c9c9;
}

.services-detail-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
}

.services-detail-aside span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #ffffff;
  font-size: 18px;
}

.services-detail-content {
  max-width: 960px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
}

.services-detail-content h2 {
  margin-bottom: 26px;
  color: #171717;
  font-size: clamp(58px, 8vw, 128px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.88;
}

.services-detail-lead {
  max-width: 860px;
  margin-bottom: 48px;
  font-size: clamp(23px, 2.4vw, 38px);
  line-height: 1.12;
}

.services-detail-group {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
  grid-gap: clamp(24px, 4vw, 62px);
  gap: clamp(24px, 4vw, 62px);
  padding: 30px 0;
  border-top: 1px solid #d8d8d8;
}

.services-detail-group h3 {
  color: #111111;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.services-detail-group p,
.services-detail-group li {
  color: #222222;
  font-size: 18px;
  line-height: 1.48;
}

.services-detail-group p + p {
  margin-top: 16px;
}

.services-detail-group ul {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  list-style: none;
}

.services-detail-group li {
  position: relative;
  padding-left: 22px;
}

.services-detail-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 1px;
  background: #111111;
}

.services-why {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  grid-gap: clamp(44px, 7vw, 108px);
  gap: clamp(44px, 7vw, 108px);
  align-items: start;
  margin-top: 86px;
  padding: 54px 0 0;
}

.services-why span {
  display: block;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 700;
}

.services-why p {
  max-width: 760px;
  font-size: clamp(32px, 4.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.services-why ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  border-top: 1px solid #c9c9c9;
}

.services-why li {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-gap: clamp(18px, 2.5vw, 32px);
  gap: clamp(18px, 2.5vw, 32px);
  align-items: center;
  padding: clamp(22px, 2.2vw, 34px) 0;
  border-bottom: 1px solid #c9c9c9;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  transition: padding-left 220ms ease, background 220ms ease;
}

.services-why li::before {
  content: attr(data-index);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #ffffff;
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111111;
  transition: background 220ms ease, color 220ms ease;
}

.services-why li:hover {
  padding-left: 12px;
  background: rgba(17, 17, 17, 0.03);
}

.services-why li:hover::before {
  background: #111111;
  color: #ffffff;
}

/* ── Services Capabilities Overview ── */
.services-capabilities {
  max-width: 1400px;
  margin-inline: auto;
  margin-bottom: 96px;
  padding-top: 24px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
}

.services-capabilities-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: clamp(40px, 7vw, 118px);
  gap: clamp(40px, 7vw, 118px);
  margin-bottom: 56px;
  padding-bottom: 16px;
}

.services-capabilities-header span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.services-capabilities-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: clamp(40px, 7vw, 118px);
  gap: clamp(40px, 7vw, 118px);
}

.services-capabilities-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.services-capabilities-title {
  display: block;
  color: #171717;
  font-size: clamp(32px, 4.2vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: color 180ms ease;
}

.services-capabilities-title:hover {
  color: #6b6b6b;
}

.services-capabilities-title sup {
  position: relative;
  top: -0.6em;
  margin-left: 10px;
  font-size: 0.38em;
  font-weight: 400;
  color: #6b6b6b;
  letter-spacing: 0;
}

.services-capabilities-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 12px;
}

.services-capabilities-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-gap: 18px;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid #e4e4e4;
}

.services-capabilities-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.services-capabilities-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #111111;
  border-radius: 999px;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 500;
  color: #111111;
}

.services-capabilities-item p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.52;
  color: #333333;
}

/* ── Services Bottom Text ── */
.services-bottom-text {
  max-width: 1400px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: clamp(32px, 5vw, 72px);
  gap: clamp(32px, 5vw, 72px);
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid #c9c9c9;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
}

.services-bottom-text p {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.5;
  color: #333333;
}

/* ── Responsive ── */
@media (max-width: 1400px) {
  .header {
    padding: 0 72px;
  }

  .footer {
    padding: 0 72px;
  }

  .hero {
    padding: 50px 72px 34px;
  }

  .hero-inner {
    gap: 90px;
  }

  .hero-brand-row {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.42fr);
    gap: 48px;
  }

  .hero-projects {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 48px;
  }

  .hero h1 {
    font-size: 316px;
  }

  .hero-wordmark p {
  color: var(--accent);
    font-size: 40px;
  }

  .hero-services {
    font-size: 44px;
  }

  .hero-project-image {
    height: 500px;
  }

  .home-project-preview {
    gap: 58px 48px;
  }

  .home-project-image,
  .home-project-card-wide .home-project-image,
  .home-project-card-narrow .home-project-image,
  .home-project-card-full .home-project-image {
    height: 440px;
  }

  .home-project-more {
    min-height: 380px;
  }

  .home-project-more strong {
    font-size: 240px;
  }

  .home-project-stat {
    min-height: 380px;
  }

  .home-project-stat > strong {
    font-size: 140px;
  }
}

@media (max-width: 1200px) {
  .header {
    padding: 0 48px;
  }

  .footer {
    padding: 0 48px;
  }

  .footer-inner {
    min-height: 0;
    gap: 48px;
    padding: 48px 0 24px;
  }

  .footer-top {
    grid-template-columns: minmax(180px, 0.75fr) minmax(220px, 1fr);
    gap: 42px 64px;
    padding-left: 0;
  }

  .footer-presentation-column {
    grid-column: span 2;
  }

  .footer-end {
    align-items: flex-start;
    text-align: left;
  }

  .footer-end-links {
    align-items: flex-start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: 680px;
  }

  .services-page-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-detail-card {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 44px;
  }

  .services-detail-group {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-why {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 48px 34px;
  }

  .hero-brand-row {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
  }

  .hero-projects {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
  }

  .hero h1 {
    font-size: 252px;
  }

  .hero-wordmark p {
  color: var(--accent);
    font-size: 34px;
  }

  .hero-side {
    padding-top: 46px;
  }

  .hero-services {
    font-size: 34px;
  }

  .hero-project-image {
    height: 430px;
  }

  .home-project-preview {
    gap: 48px 36px;
  }

  .home-project-image,
  .home-project-card-wide .home-project-image,
  .home-project-card-narrow .home-project-image,
  .home-project-card-full .home-project-image {
    height: 360px;
  }

  .home-project-more {
    min-height: 320px;
  }

  .home-project-more strong {
    font-size: 190px;
  }

  .services {
    padding: 48px 48px 92px;
  }

  .services-title,
  .services-cols {
    padding-left: 0;
  }

  .services-cols {
    margin-top: 68px;
  }

  .service-item {
    font-size: 52px;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 64px;
    padding-left: 0;
  }

  .projects-filter {
    grid-template-columns: 120px 130px minmax(260px, 1fr) 120px 36px;
    font-size: 16px;
  }

  .projects-filter-body {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .projects-map-layout {
    grid-template-columns: 1fr;
  }

  .projects-map-panel {
    gap: 22px;
  }

  .projects-browser-layout {
    grid-template-columns: 1fr;
  }

  .projects-selected-card {
    position: relative;
    top: auto;
  }

  .project-index-grid {
    gap: 72px 44px;
  }

  .about-top-row,
  .about-layout,
  .stats-row {
    width: 100%;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .header {
    height: auto;
    min-height: 72px;
    padding: 14px 24px;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .header-actions {
    padding-top: 0;
  }

  .top-nav {
    display: none;
  }

  .burger-button {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: 32px 24px 36px;
  }

  .hero-inner {
    gap: 34px;
  }

  .hero-brand-row,
  .hero-projects {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(80px, 22vw, 148px);
    line-height: 0.82;
  }

  .hero-wordmark {
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .hero-wordmark p {
    color: var(--accent);
    font-size: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .hero-side {
    gap: 14px;
    justify-self: start;
    padding-top: 0;
  }

  .hero-services {
    gap: 6px;
    font-size: 28px;
    line-height: 1.08;
  }

  .hero-project-image {
    height: 320px;
  }

  .home-project-preview {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-project-card,
  .home-project-card-wide,
  .home-project-card-narrow,
  .home-project-card-half,
  .home-project-card-full,
  .home-project-more,
  .home-project-stat {
    grid-column: auto;
    width: 100%;
  }

  /* Disable the 3D unfold on mobile; keep a simple fade/slide to avoid overlap and jank. */
  .reveal-card {
    animation: reveal-up 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform: none;
    transform-origin: center center;
  }

  .home-project-image,
  .home-project-card-wide .home-project-image,
  .home-project-card-narrow .home-project-image,
  .home-project-card-full .home-project-image {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }

  .home-project-more,
  .home-project-stat {
    min-height: 220px;
    gap: 12px;
  }

  .home-project-more strong {
    font-size: 130px;
  }

  .home-project-stat > strong {
    font-size: 80px;
  }

  .home-project-stat > span:first-child,
  .home-project-stat > span:last-child {
    font-size: 18px;
  }

  .hero-badge {
    top: 18px;
    left: 18px;
  }

  .hero-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 620px;
    color: #444444;
    font-size: 15px;
    line-height: 1.5;
  }

  .project-preview {
    padding: 32px 24px;
  }

  .preview-grid {
    flex-direction: column;
    height: auto;
  }

  .preview-image {
    width: 100%;
    height: 240px;
  }

  .services {
    padding: 44px 24px 76px;
    gap: 0;
  }

  .services-top-row {
    gap: 14px;
  }

  .services-pill {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .services-title {
    margin-top: 24px;
    padding-left: 0;
  }

  .services-cols {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 48px;
    padding-left: 0;
  }

  .service-item {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    font-size: clamp(38px, 8vw, 52px);
    line-height: 1.15;
  }

  .service-preview {
    display: none;
  }

  .service-number {
    width: 22px;
    height: 22px;
    margin-top: 0.24em;
    font-size: 12px;
  }

  .featured {
    padding: 52px 24px 80px;
  }

  .contact-page {
    padding: 68px 24px 80px;
  }

  .contact-title-row {
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 58px;
  }

  .contact-title-arrow {
    width: 38px;
    height: 38px;
  }

  .contact-title-row sup {
    top: -0.72em;
    margin-left: 10px;
    font-size: clamp(18px, 4vw, 30px);
  }

  .contact-meta-row {
    grid-template-columns: 1fr;
    margin-bottom: 54px;
  }

  .contact-meta-row > span:not(.contact-meta-corner),
  .contact-meta-row > a {
    min-height: 44px;
    border-left: 0;
    padding-left: 0;
  }

  .contact-meta-corner {
    display: none;
  }

  .contact-layout {
    gap: 48px;
    margin-bottom: 56px;
  }

  .contact-company {
    margin-bottom: 34px;
    font-size: 26px;
  }

  .contact-phone a {
    font-size: 30px;
  }

  .contact-address {
    font-size: 24px;
  }

  .contact-form h2 {
    font-size: 44px;
  }

  .contact-map-frame {
    height: 360px;
    margin-top: 8px;
    border-width: 2px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  }

  .presentation-page {
    padding: 68px 24px 80px;
  }

  .presentation-title-row {
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 58px;
  }

  .presentation-title-row h1 {
    font-size: clamp(56px, 14vw, 118px);
  }

  .presentation-title-arrow {
    width: 38px;
    height: 38px;
  }

  .presentation-toolbar {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .presentation-actions {
    justify-content: flex-start;
  }

  .presentation-viewer {
    height: 520px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  }

  .services-page {
    padding: 68px 24px 80px;
  }

  .services-page-title-row {
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 58px;
  }

  .services-page-title-arrow {
    width: 38px;
    height: 38px;
  }

  .services-page-title-row sup {
    top: -0.72em;
    margin-left: 10px;
    font-size: clamp(18px, 4vw, 30px);
  }

  .services-page-meta {
    grid-template-columns: 1fr;
    margin-bottom: 46px;
  }

  .services-page-meta > span:not(.services-page-corner),
  .services-page-meta > a {
    min-height: 44px;
    border-left: 0;
    padding-left: 0;
  }

  .services-page-corner {
    display: none;
  }

  .services-page-nav {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .services-page-nav a {
    min-height: 82px;
    font-size: 28px;
  }

  .services-detail-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 46px 0 54px;
  }

  .services-detail-aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .services-detail-aside span {
    width: 50px;
    height: 50px;
    font-size: 15px;
  }

  .services-detail-content h2 {
    margin-bottom: 18px;
    font-size: clamp(48px, 14vw, 78px);
  }

  .services-detail-lead {
    margin-bottom: 32px;
    font-size: 24px;
  }

  .services-detail-group {
    padding: 24px 0;
  }

  .services-detail-group p,
  .services-detail-group li {
    font-size: 16px;
  }

  .services-why {
    margin-top: 48px;
    padding-top: 20px;
  }

  .services-why p {
    font-size: 34px;
  }

  .services-why li {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 18px 0;
    font-size: 19px;
  }

  .services-why li::before {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }

  .services-why li:hover {
    padding-left: 0;
  }

  .services-capabilities {
    margin-bottom: 54px;
  }

  .services-capabilities-header {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 32px;
  }

  .services-capabilities-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-capabilities-left {
    gap: 14px;
  }

  .services-capabilities-title {
    font-size: clamp(28px, 8vw, 48px);
  }

  .services-capabilities-right {
    padding-top: 0;
  }

  .services-capabilities-item {
    grid-template-columns: 32px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .services-capabilities-number {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .services-bottom-text {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 54px;
    padding-top: 32px;
  }

  .projects-title-row {
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 20px;
  }

  .projects-subtitle {
    margin-bottom: 72px;
    font-size: clamp(15px, 4vw, 18px);
  }

  .projects-title-row h1,
  .projects-title-row h2,
  .contact-title-row h1,
  .services-page-title-row h1,
  .about-page-title-row h1 {
    font-size: clamp(48px, 12vw, 84px);
    line-height: 1;
  }

  .projects-title-row sup {
    top: -0.48em;
    margin-left: 8px;
    font-size: clamp(22px, 5.5vw, 34px);
    font-weight: 500;
  }

  .projects-title-arrow {
    width: 38px;
    height: 38px;
  }

  .projects-filter {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 54px;
  }

  .projects-filter-label,
  .projects-filter-type,
  .projects-filter-body,
  .projects-filter-button,
  .projects-filter-count {
    min-height: 44px;
  }

  .projects-filter-type,
  .projects-filter-body,
  .projects-filter-button,
  .projects-filter-count {
    border-left: 0;
    padding-left: 0;
  }

  .projects-filter-body {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 0 16px;
  }

  .projects-filter-corner {
    display: none;
  }

  .projects-map-layout {
    gap: 36px;
    margin-bottom: 62px;
  }

  .projects-map-frame {
    height: 420px;
    min-height: 360px;
  }

  .projects-map-panel h2 {
    font-size: 42px;
  }

  .projects-map-panel-count {
    font-size: 44px;
  }

  .projects-map-panel {
    grid-template-columns: 1fr;
  }

  .projects-map-panel-kicker,
  .projects-map-panel h2,
  .projects-map-panel-count,
  .projects-map-list {
    grid-column: auto;
    grid-row: auto;
  }

  .projects-map-panel-count {
    justify-self: start;
  }

  .projects-search-row {
    grid-template-columns: 1fr;
  }

  .projects-search-row label {
    min-height: 42px;
  }

  .projects-search-row input {
    min-height: 54px;
    border-left: 0;
    border-right: 0;
    padding: 0;
    font-size: 22px;
  }

  .projects-tag-filter {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 10px 0;
  }

  .projects-tag-filter > div {
    border-left: 0;
    padding-left: 0;
  }

  .projects-browser-layout .projects-map-list {
    max-height: 420px;
  }

  .projects-map-list button {
    grid-template-columns: 42px 1fr;
  }

  .projects-map-list-category {
    grid-column: 2;
  }

  .projects-map-list button strong {
    grid-column: 2;
  }

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

  .project-index-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .project-index-card-wide,
  .project-index-card-narrow,
  .project-index-card-half {
    grid-column: auto;
  }

  .project-index-image,
  .project-index-card-narrow .project-index-image,
  .project-index-card-half .project-index-image {
    height: 320px;
    min-height: 0;
  }

  .projects-list-card {
    grid-template-columns: 1fr;
  }

  .projects-list-card-media {
    min-height: 240px;
  }

  .projects-list-card h2 {
    font-size: 30px;
  }

  .projects-ordered-name {
    font-size: clamp(22px, 8.6vw, 34px);
  }

  .projects-ordered-meta {
    padding-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .projects-ordered-row {
    grid-template-columns: 1fr;
  }

  .projects-ordered-photo {
    justify-self: start;
    width: 148px;
    margin-top: 8px;
    margin-left: 38px;
    transform: rotate(-1.8deg);
  }

  .project-detail {
    padding: 74px 24px 82px;
  }

  .project-detail-title-row,
  .project-detail-hero,
  .project-detail-body {
    grid-template-columns: 1fr;
  }

  .project-detail-hero {
    padding: 54px 0 58px;
  }

  .project-detail-hero h1 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .project-detail-gallery {
    grid-template-columns: 1fr;
  }

  .project-detail-gallery figure,
  .project-detail-gallery figure.is-large {
    grid-column: auto;
    min-height: 320px;
  }

  .project-detail-body {
    margin-top: 48px;
  }

  .about {
    padding: 68px 24px 76px;
  }

  .about-top-row {
    gap: 18px;
  }

  .about-pill {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 46px;
    padding-left: 0;
  }

  .about-main {
    padding-top: 0;
  }

  .about-body {
    font-size: clamp(20px, 5.5vw, 30px);
  }

  .about-sub {
    max-width: 100%;
  }

  .about-body {
    font-size: clamp(30px, 9vw, 46px);
  }

  .stats-row {
    flex-direction: column;
    gap: 24px;
    margin-top: 54px;
    padding-left: 0;
    padding: 24px 0;
  }

  .testimonials {
    padding: 48px 24px;
  }

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

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

  .cta {
    padding: 80px 24px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta h2 {
    font-size: clamp(38px, 8vw, 52px);
  }

  .footer {
    padding: 0 24px;
  }

  .footer-inner {
    align-items: flex-start;
    gap: 30px;
    min-height: 0;
    padding: 38px 0 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 0;
  }

  .footer-presentation-column {
    grid-column: auto;
  }

  .footer-hours,
  .footer-hours p,
  .footer-address {
    max-width: none;
  }

  .footer-phone div,
  .footer-address {
    gap: 6px;
  }

  .footer-end {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE REFINEMENTS — 390px viewport (iPhone 12 Pro)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 430px) {
  /* Header: tighter padding, smaller logo, burger menu */
  .header {
    min-height: 64px;
    padding: 12px 16px;
    gap: 10px;
  }

  .logo {
    width: 88px;
    height: 44px;
  }

  .logo-main {
    font-size: 18px;
    letter-spacing: 5px;
    padding-left: 5px;
  }

  .top-nav {
    display: none;
  }

  .burger-button {
    display: flex;
  }

  .mobile-menu {
    padding: 12px 16px 28px;
  }

  .mobile-menu-header {
    margin-bottom: 28px;
  }

  .mobile-menu-index,
  .mobile-menu-label {
    font-size: clamp(26px, 10vw, 42px);
  }

  .mobile-menu-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
  }

  /* Hero: prevent subtitle letter overlap */
  .hero {
    padding: 24px 16px 32px;
  }

  .hero h1 {
    font-size: clamp(64px, 20vw, 100px);
    line-height: 0.85;
  }

  .hero-wordmark {
    gap: 8px;
  }

  .hero-wordmark p {
    font-size: 20px;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    white-space: nowrap;
    overflow: visible;
    align-self: flex-start;
  }

  .hero-wordmark p .reveal-up {
    display: inline-block;
    white-space: pre;
  }

  .hero-services {
    font-size: 22px;
    line-height: 1.1;
  }

  .hero-summary {
    font-size: 14px;
    line-height: 1.45;
    max-width: 100%;
  }

  /* Project preview */
  .home-project-preview {
    gap: 28px;
  }

  .home-project-image,
  .home-project-card-wide .home-project-image,
  .home-project-card-narrow .home-project-image,
  .home-project-card-full .home-project-image {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 200px;
  }

  .home-project-caption {
    font-size: 15px;
    line-height: 1.25;
  }

  .home-project-more,
  .home-project-stat {
    min-height: 160px;
  }

  .home-project-more strong {
    font-size: 80px;
  }

  .home-project-stat > strong {
    font-size: 56px;
  }

  .home-project-stat > span:first-child,
  .home-project-stat > span:last-child {
    font-size: 14px;
  }

  /* About */
  .about {
    padding: 48px 16px 56px;
  }

  .about-body {
    font-size: clamp(18px, 5vw, 26px);
    line-height: 1.35;
  }

  .about-sub {
    font-size: 16px;
    line-height: 1.45;
  }

  /* Services */
  .services {
    padding: 36px 16px 56px;
  }

  .service-item {
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.25;
    gap: 10px;
  }

  .service-number {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  /* Testimonials */
  .testimonials {
    padding: 36px 16px;
  }

  .testimonials-large {
    font-size: clamp(36px, 10vw, 56px);
  }

  .testimonials-lead {
    font-size: 18px;
  }

  .testimonials-columns p {
    font-size: 15px;
  }

  /* CTA */
  .cta {
    padding: 56px 16px;
  }

  .cta h2 {
    font-size: clamp(30px, 7vw, 42px);
  }

  .cta-text p {
    font-size: 15px;
  }

  /* Footer */
  .footer {
    padding: 0 16px;
  }

  .footer-inner {
    padding: 28px 0 20px;
    gap: 24px;
  }

  .footer-top {
    gap: 22px;
  }

  .footer-phone a,
  .footer-email a {
    font-size: 20px;
  }

  .footer-address {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  /* Project page titles */
  .projects-title-row h1,
  .projects-title-row h2,
  .contact-title-row h1,
  .services-page-title-row h1,
  .about-page-title-row h1 {
    font-size: clamp(40px, 11vw, 64px);
    line-height: 1;
  }

  .projects-subtitle {
    font-size: 14px;
    margin-bottom: 48px;
  }

  /* Contact page */
  .contact-page {
    padding: 56px 16px 60px;
  }

  .contact-company {
    font-size: 22px;
  }

  .contact-phone a {
    font-size: 26px;
  }

  .contact-address {
    font-size: 20px;
  }

  .contact-form h2 {
    font-size: 36px;
  }

  .contact-map-frame {
    height: 280px;
  }

  /* Presentation */
  .presentation-page {
    padding: 56px 16px 60px;
  }

  .presentation-title-row h1 {
    font-size: clamp(44px, 12vw, 72px);
  }

  .presentation-viewer {
    height: 400px;
  }

  /* Services page */
  .services-page {
    padding: 56px 16px 60px;
  }

  .services-page-nav a {
    min-height: 64px;
    font-size: 22px;
  }

  .services-detail-content h2 {
    font-size: clamp(36px, 11vw, 56px);
  }

  .services-detail-lead {
    font-size: 20px;
  }

  .services-why p {
    font-size: 26px;
  }

  .services-why li {
    font-size: 17px;
  }

  /* About page */
  .about-page-hero {
    padding: 56px 16px 32px;
  }

  .about-page-large-text {
    font-size: clamp(26px, 7vw, 38px);
  }

  .about-page-section {
    padding: 28px 16px 44px;
  }

  /* Project detail */
  .project-detail {
    padding: 56px 16px 60px;
  }

  .project-detail-hero h1 {
    font-size: clamp(32px, 10vw, 52px);
  }

  .project-detail-gallery figure,
  .project-detail-gallery figure.is-large {
    min-height: 260px;
  }

  /* License drawer */
  .license-lightbox-panel {
    width: 90vw;
    padding: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE — editorial layout
   ═══════════════════════════════════════════════════════════════ */

.about-hero {
  position: relative;
  padding: 64px clamp(32px, 6vw, 96px) 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-hero-kicker {
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(103, 142, 67, 0.9);
}

.about-hero-title {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(72px, 10vw, 160px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.about-hero-lead {
  max-width: 720px;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* Intro + Stats */
.about-intro {
  padding: 48px clamp(32px, 6vw, 96px) 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-gap: clamp(48px, 6vw, 96px);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.about-intro-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-intro-body {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-stat {
  padding: 32px 36px;
  text-align: center;
}

.about-stat-value {
  display: block;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
}

.about-stat-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* Sections */
.about-section {
  padding: 24px clamp(32px, 6vw, 96px);
  max-width: 1400px;
  margin: 0 auto;
}

.about-panel {
  padding: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 64px);
}

.about-panel-accent {
  background: linear-gradient(
    155deg,
    rgba(103, 142, 67, 0.1) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.015) 100%
  );
  border-color: rgba(103, 142, 67, 0.35);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    0 24px 64px rgba(0, 0, 0, 0.18),
    0 0 40px rgba(103, 142, 67, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.about-section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.about-section-num {
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  font-weight: 500;
  color: rgba(103, 142, 67, 0.9);
  letter-spacing: 0.1em;
}

.about-section-header h2 {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.95);
}

.about-section-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-section-body p {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.about-section-body strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.about-license {
  margin-top: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.about-license-label {
  display: block;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}

.about-license-value {
  display: block;
  font-family: var(--font-geist), sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

/* Director */
.about-director {
  padding: 48px clamp(32px, 6vw, 96px);
  max-width: 1400px;
  margin: 0 auto;
}

.about-panel-director {
  padding: clamp(48px, 5vw, 72px) clamp(32px, 4vw, 64px);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-director-label {
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(103, 142, 67, 0.9);
  margin-bottom: 16px;
}

.about-director-name {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: #ffffff;
}

.about-director-note {
  margin-top: 20px;
  font-family: var(--font-geist), sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA */
.about-cta {
  padding: 48px clamp(32px, 6vw, 96px) 80px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Active nav */
.glass-theme .nav-item.is-active .nav-label {
  color: rgba(103, 142, 67, 0.95);
}

.glass-theme .nav-item.is-active .nav-index {
  color: rgba(103, 142, 67, 0.7);
}

/* Responsive */
@media (max-width: 900px) {
  .about-hero {
    padding: 40px 24px 32px;
  }

  .about-hero-title {
    font-size: clamp(48px, 14vw, 80px);
  }

  .about-intro {
    padding: 32px 24px;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: row;
    gap: 12px;
  }

  .about-stat {
    flex: 1 1;
    padding: 24px 16px;
  }

  .about-section {
    padding: 16px 24px;
  }

  .about-director {
    padding: 32px 24px;
  }

  .about-cta {
    padding: 32px 24px 56px;
  }
}

/* ── About Page (light theme) ── */
.about-page-hero {
  position: relative;
  padding: 118px clamp(32px, 6vw, 96px) 64px;
  max-width: 1480px;
  margin: 0 auto;
}

.about-page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.about-page-title-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 66px);
  margin-bottom: 64px;
}

.about-page-title-row h1 {
  color: #171717;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(72px, 9.5vw, 156px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
}

.about-page-title-row sup {
  position: relative;
  top: -0.95em;
  margin-left: 18px;
  font-size: clamp(24px, 2.5vw, 44px);
  font-weight: 400;
}

.about-page-title-arrow {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #111111;
  transform: rotate(90deg);
}

.about-page-lead {
  max-width: 720px;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: #444444;
}

/* Top row */
.about-page-top-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.about-page-pill {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1f1f1f;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  line-height: 1;
}

.about-page-line {
  flex: 1 1;
  height: 1px;
  background: #c2c2c2;
}

.about-page-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #1f1f1f;
}

/* Section */
.about-page-section {
  position: relative;
  padding: 48px clamp(32px, 6vw, 96px) 80px;
  max-width: 1480px;
  margin: 0 auto;
}

.about-page-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: clamp(48px, 6vw, 96px);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  margin-top: 64px;
}

.about-page-large-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #171717;
}

.about-page-body-columns {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-page-body-columns p {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: #1f1f1f;
}

/* Intro combined grid */
.about-page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: clamp(48px, 6vw, 96px);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.about-page-intro-right {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 56px);
}

.about-page-intro-lead {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: #444444;
}

.about-page-intro-subgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: clamp(28px, 3vw, 48px);
  gap: clamp(28px, 3vw, 48px);
}

.about-page-intro-subgrid p {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: #1f1f1f;
}

@media (max-width: 900px) {
  .about-page-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-page-intro-subgrid {
    grid-template-columns: 1fr;
  }
}

/* License */
.about-page-license-block {
  margin-top: 56px;
  max-width: 720px;
}

.about-page-license {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: opacity 180ms ease;
}

.about-page-license:hover {
  opacity: 0.6;
}

.about-page-license-line {
  display: none;
}

.about-page-license-arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #111111;
  flex-shrink: 0;
}

.about-page-license-value {
  font-family: var(--font-geist), sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #111111;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .about-page-license-value {
    font-size: 16px;
  }

  .about-page-license-arrow {
    width: 20px;
    height: 20px;
  }
}

/* Bottom row */
.about-page-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: clamp(48px, 6vw, 96px);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid #c9c9c9;
}

.about-page-director {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-page-director-label {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-page-director-name {
  font-family: var(--font-geist), sans-serif;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  color: #111111;
}

@media (max-width: 900px) {
  .about-page-hero {
    padding: 68px 24px 40px;
  }

  .about-page-hero-inner {
    margin-top: 32px;
  }

  .about-page-title-row {
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 48px;
  }

  .about-page-title-arrow {
    width: 38px;
    height: 38px;
  }

  .about-page-title-row sup {
    top: -0.72em;
    margin-left: 10px;
    font-size: clamp(18px, 4vw, 30px);
  }

  .about-page-section {
    padding: 36px 24px 56px;
  }

  .about-page-section-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 40px;
  }

  .about-page-large-text {
    font-size: clamp(32px, 8vw, 48px);
  }

  .about-page-bottom-row {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 48px;
    padding-top: 40px;
  }
}

/* ── License Lightbox ── */
.license-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.license-lightbox.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.license-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(17, 17, 17, 0.88);
}

.license-lightbox-inner {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: auto 0;
}

.license-lightbox-image {
  display: inline-block;
  width: min(800px, calc(100vw - 48px));
  aspect-ratio: 800 / 1132;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.license-lightbox-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.license-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  color: #111111;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.license-lightbox-close:hover {
  opacity: 0.8;
  transform: scale(1.05);
  background: #ffffff;
}

.license-lightbox-download {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: #111111;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 180ms ease, background 180ms ease;
}

.license-lightbox-download:hover {
  opacity: 0.8;
  background: #ffffff;
}

@media (max-width: 900px) {
  .license-lightbox {
    padding: 24px 16px;
  }

  .license-lightbox-image {
    width: min(800px, calc(100vw - 32px));
  }

  .license-lightbox-close {
    top: 8px;
    right: 8px;
    width: 36px;
  height: 36px;
  }

  .license-lightbox-close svg {
    width: 18px;
    height: 18px;
  }

  .license-lightbox-download {
    bottom: 8px;
    right: 8px;
    padding: 8px 12px;
    font-size: 13px;
  }
}

