:root {
  --bg: #f5f3f0;
  --bg-2: #ebe7e2;
  --surface: #ffffff;
  --ink: #14191d;
  --ink-soft: #5a646c;
  --accent: #c45c52;
  --accent-deep: #9e433c;
  --accent-soft: #d4786e;
  --gold: #b8923a;
  --slate: #1a2228;
  --slate-mid: #3a4650;
  --coral: #c45c52;
  --coral-hot: #d4786e;
  --line: rgba(20, 25, 29, 0.1);
  --line-strong: rgba(20, 25, 29, 0.18);
  --white: #ffffff;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
  --max: 1320px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

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

/* ——— Meander ——— */
.meander {
  height: 6px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--slate-mid) 0 8px,
      transparent 8px 12px,
      var(--slate-mid) 12px 16px,
      transparent 16px 24px,
      var(--accent) 24px 28px,
      transparent 28px 32px,
      var(--gold) 32px 36px,
      transparent 36px 44px
    );
  opacity: 0.5;
}

.meander--inline {
  width: min(100%, 11rem);
  margin-bottom: 1.5rem;
}

.anim-meander {
  transform-origin: left center;
  animation: meanderIn 1.2s var(--ease) 0.5s both;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(20, 25, 29, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-accent {
  color: var(--accent);
}

.logo-link img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}

.logo-link:hover img {
  transform: rotate(-6deg) scale(1.04);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--slate);
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta):hover {
  color: var(--accent-deep);
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.28rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 0.35rem;
  padding: 0.6rem 1.1rem !important;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white) !important;
  box-shadow: 0 6px 18px rgba(196, 92, 82, 0.28);
  transition:
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-deep);
  box-shadow: 0 10px 24px rgba(196, 92, 82, 0.38);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

/* ——— Hero (business / real estate) ——— */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f4f1ee;
  background: #1a1614;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenBurns 32s ease-in-out infinite alternate;
}

.hero-bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(22, 18, 16, 0.92) 0%,
      rgba(28, 22, 20, 0.82) 38%,
      rgba(48, 32, 28, 0.62) 68%,
      rgba(196, 92, 82, 0.28) 100%
    ),
    linear-gradient(180deg, rgba(18, 16, 14, 0.35) 0%, transparent 28%, rgba(18, 16, 14, 0.45) 100%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
}

.hero-content {
  max-width: 52rem;
}

.anim-rise {
  animation: riseIn 0.85s var(--ease) both;
  animation-delay: var(--d, 0s);
}

.hero-eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e08a7c;
}

.hero-brand {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #fff;
}

.hero-brand span {
  color: #e08a7c;
}

.hero-title {
  margin: 0 0 1.25rem;
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.05rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 58ch;
  color: rgba(244, 241, 238, 0.74);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

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

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(196, 92, 82, 0.28);
}

.btn-accent:hover {
  background: var(--accent-deep);
  box-shadow: 0 12px 28px rgba(196, 92, 82, 0.38);
}

.btn-ghost-light,
.btn-outline {
  background: var(--white);
  border-color: rgba(20, 25, 29, 0.16);
  color: var(--slate);
}

.btn-ghost-light:hover,
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  box-shadow: none;
}

.btn-gold {
  background: var(--slate);
  color: var(--white);
}

.btn-gold:hover {
  background: #2a353c;
  box-shadow: 0 8px 22px rgba(30, 42, 50, 0.18);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 8px 22px rgba(196, 92, 82, 0.28);
}

/* project hero still uses photos */
.project-hero-media {
  position: absolute;
  inset: 0;
}

.project-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenBurns 24s ease-in-out infinite alternate;
}

/* Map / screenshot covers: fill frame, muted for readability */
.project-hero-media--contain {
  background: #1c1a18;
}

.project-hero-media--contain img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: none;
  filter: blur(1.5px) saturate(0.72) brightness(0.78);
}

.project-hero-media--contain .project-hero-veil {
  background: linear-gradient(
    180deg,
    rgba(28, 26, 24, 0.42) 0%,
    rgba(28, 26, 24, 0.38) 45%,
    rgba(28, 26, 24, 0.88) 100%
  );
}

/* ——— Sections ——— */
.section {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
}

.section.catalog,
.section.about-brief {
  width: min(100% - 2rem, var(--max));
}

.section.about-brief {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.25rem);
}

.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  margin-bottom: 0.9rem;
}

.section-head h3,
.infra .section-head h3,
.why-block h3,
.project-cta h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.75rem;
}

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

.about-brief {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff8f5 0%, #f3ebe6 48%, #efe6df 100%);
  border-block: 1px solid rgba(196, 92, 82, 0.16);
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
}

.about-atmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.about-glow {
  position: absolute;
  left: -10%;
  top: -18%;
  width: min(48rem, 78vw);
  height: min(48rem, 78vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(196, 92, 82, 0.28) 0%,
    rgba(196, 92, 82, 0.1) 40%,
    transparent 70%
  );
  filter: blur(10px);
  animation: heroGlow 10s ease-in-out infinite alternate;
}

.about-glow--2 {
  left: auto;
  right: -12%;
  top: 35%;
  width: min(36rem, 60vw);
  height: min(36rem, 60vw);
  background: radial-gradient(
    circle,
    rgba(158, 67, 60, 0.18) 0%,
    rgba(212, 120, 110, 0.08) 45%,
    transparent 72%
  );
  animation-delay: -4s;
}

.about-grid {
  position: absolute;
  right: -2%;
  top: 6%;
  width: min(40rem, 58vw);
  height: min(40rem, 58vw);
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(196, 92, 82, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 92, 82, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle, #000 12%, transparent 72%);
  opacity: 1;
  animation: gridDrift 24s linear infinite;
}

.about-brief .about-layout {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: center;
}

.about-copy {
  max-width: none;
  min-width: 0;
}

.about-copy__head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.about-copy .eyebrow {
  color: var(--accent-deep);
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: none;
}

.about-lead {
  margin: 0 0 0.9rem;
  max-width: none;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-word;
}

.about-mark {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -0.4em 0 rgba(196, 92, 82, 0.28);
}

.about-copy .section-text {
  margin: 0 0 1.35rem;
  max-width: none;
  font-size: 1.02rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

.about-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.about-path {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(196, 92, 82, 0.22);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about-path i {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(196, 92, 82, 0.25));
}

.about-path span:first-child,
.about-path span:last-child {
  color: var(--accent-deep);
}

.about-cta {
  flex-shrink: 0;
}

/* Asymmetric photo mosaic */
.about-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.95fr;
  grid-template-rows: 9.5rem 7.5rem 10rem;
  gap: 0.65rem;
  min-height: 0;
  grid-template-areas:
    "a b b"
    "a c d"
    "e e d";
}

.about-stat {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 5;
  padding: 0.85rem 1rem 0.9rem;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 36px rgba(158, 67, 60, 0.35);
}

.about-stat-value {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.3rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: #fff;
}

.about-stat-label {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.88);
}

.about-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d8cfc8;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(20, 25, 29, 0.12);
}

.about-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.about-shot:hover img {
  transform: scale(1.05);
}

.about-shot--a {
  grid-area: a;
}

.about-shot--b {
  grid-area: b;
}

.about-shot--c {
  grid-area: c;
}

.about-shot--d {
  grid-area: d;
}

.about-shot--e {
  grid-area: e;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(196, 92, 82, 0.14);
  box-shadow: 0 10px 28px rgba(20, 25, 29, 0.05);
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.about-points li:hover {
  border-color: rgba(196, 92, 82, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(158, 67, 60, 0.12);
}

.about-points__body {
  position: relative;
  flex: 1;
  padding: 1.35rem 1.25rem 1.45rem;
  background: linear-gradient(180deg, #fff 0%, #fff8f5 100%);
}

.about-points__num {
  position: absolute;
  right: 0.65rem;
  top: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(196, 92, 82, 0.14);
  pointer-events: none;
}

.about-points__label {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin-bottom: 0.55rem;
  padding: 0.22rem 0.5rem;
  background: rgba(196, 92, 82, 0.12);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.about-points strong {
  display: block;
  position: relative;
  z-index: 1;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.about-points p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.section.services {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2.25rem, 4.5vw, 3.25rem) 0 clamp(1.15rem, 2.2vw, 1.65rem);
  background:
    linear-gradient(
      180deg,
      #f3ebe6 0%,
      #f7f4f0 42%,
      #f5f3f0 78%,
      var(--bg) 100%
    );
  border: none;
}

.services-panels {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section.catalog {
  padding-top: clamp(0.85rem, 1.8vw, 1.35rem);
}

.services-panels .section-head {
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.services-panels .section-head h2 {
  max-width: none;
  white-space: nowrap;
}

.services-panels__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.services-panels__grid li {
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: stretch;
  gap: 0.85rem;
  min-height: 17.5rem;
  padding: 1.75rem 1.25rem 1.45rem;
  background: #fff;
  border: 1px solid rgba(196, 92, 82, 0.16);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 10px 28px rgba(20, 25, 29, 0.04);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.services-panels__grid li:hover {
  border-color: rgba(196, 92, 82, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(158, 67, 60, 0.1);
}

.services-panels__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-inline: auto;
  color: var(--accent);
}

.services-panels__icon svg {
  width: 2.65rem;
  height: 2.65rem;
}

.services-panels__grid strong {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.25;
  color: var(--ink);
  padding-inline: 0.15rem;
}

.services-panels__grid p {
  margin: 0;
  width: 100%;
  max-width: none;
  padding-inline: 0.15rem;
  box-sizing: border-box;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 1100px) {
  .services-panels .section-head h2 {
    white-space: normal;
  }

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

@media (max-width: 720px) {
  .services-panels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-panels__grid li {
    grid-template-rows: auto auto auto;
    min-height: 0;
    gap: 0.55rem;
    padding: 1.1rem 1.1rem 1rem;
  }
}

@media (max-width: 480px) {
  .services-panels__grid {
    grid-template-columns: 1fr;
  }

  .services-panels__grid li {
    padding: 1rem 1.15rem 0.95rem;
  }
}

.catalog-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.catalog-head .section-head {
  margin-bottom: 0;
}

.catalog-head .catalog-filters {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0.35rem;
}

@media (max-width: 800px) {
  .catalog-head {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .catalog-head .catalog-filters {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }
}

.filter-btn {
  min-height: auto;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.filter-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.is-active {
  background: transparent;
  border-color: transparent;
  color: var(--ink);
}

.filter-btn.is-active::after {
  transform: scaleX(1);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  background: var(--slate);
  color: #fff;
  isolation: isolate;
}

.tile--feature {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
  min-height: 0;
  max-height: none;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.9s var(--ease);
}

.tile-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 20, 24, 0.05) 0%, rgba(15, 20, 24, 0.25) 40%, rgba(15, 20, 24, 0.82) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.tile-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem 1.4rem 1.55rem;
  display: grid;
  gap: 0.35rem;
}

.tile--feature .tile-content {
  padding: 1.35rem 1.4rem 1.45rem;
  max-width: 28rem;
}

.tile--feature h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.tile-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.tile h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  letter-spacing: -0.03em;
}

.tile p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.tile:hover img {
  transform: scale(1.1);
}

.tile:hover .tile-veil {
  background:
    linear-gradient(180deg, rgba(15, 20, 24, 0.08) 0%, rgba(15, 20, 24, 0.35) 45%, rgba(15, 20, 24, 0.88) 100%);
}

.project-main {
  min-height: 50vh;
}

.project-missing {
  padding-top: calc(var(--header-h) + 4rem);
}

.project-missing .btn {
  margin-top: 1.25rem;
}

.project-loading {
  padding: calc(var(--header-h) + 3rem) 1.5rem 3rem;
  text-align: center;
  color: var(--ink-soft);
}

.project-hero--page {
  min-height: min(78svh, 44rem);
}

.project-hero--page .project-hero-copy {
  padding-bottom: 4rem;
}

.project-hero--page .project-hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 0.55rem;
  letter-spacing: -0.035em;
}

.project-hero--page .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.back-link::before {
  content: "←";
  letter-spacing: 0;
}

.back-link:hover {
  color: #fff;
}

.po {
  margin-bottom: 0;
}

.po-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr);
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: start;
}

.po-title {
  margin: 0 0 1.35rem;
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
}

.po-text {
  display: grid;
  gap: 1rem;
  max-width: none;
  width: 100%;
}

.po-text p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  text-align: justify;
  hyphens: auto;
}

.po-text p:first-child {
  color: var(--ink);
  font-size: clamp(1.06rem, 1.9vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
}

.po-nets-wrap {
  margin-top: 1.85rem;
}

.po-nets-label {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.po-nets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.po-nets li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: min(100%, 9.5rem);
  flex: 1 1 9.5rem;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(165deg, #fff 0%, #fff7f4 100%);
  border: 1px solid rgba(196, 92, 82, 0.16);
}

.po-nets strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.po-nets span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.po-map {
  margin: 0;
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4 / 5;
}

.po-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.po-shell:has(.po-map--aerial) {
  align-items: stretch;
}

.po-map--aerial {
  aspect-ratio: unset;
  align-self: stretch;
  min-height: 100%;
}

.po-map--aerial img {
  object-fit: cover;
  object-position: 52% 46%;
}

.project-infra {
  margin-bottom: clamp(2.75rem, 6vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--slate);
  color: #f4f1ee;
}

.project-infra__head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.project-infra__head .eyebrow {
  color: var(--accent-soft);
}

.project-infra__head h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  color: #fff;
}

.project-infra__head p {
  margin: 0;
  color: rgba(244, 241, 238, 0.72);
  font-size: 0.98rem;
  line-height: 1.55;
}

.project-infra__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-infra__grid li {
  padding: 1.1rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.project-infra__grid li:hover {
  background: rgba(196, 92, 82, 0.12);
  border-color: rgba(196, 92, 82, 0.4);
}

.project-infra__grid strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
}

.project-infra__grid span {
  display: block;
  color: rgba(244, 241, 238, 0.7);
  font-size: 0.88rem;
  line-height: 1.45;
}

.project-gallery {
  width: 100%;
  margin: 0;
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
  background: linear-gradient(180deg, #f3ebe4 0%, #faf7f4 55%, #ffffff 100%);
  border-top: 1px solid rgba(196, 92, 82, 0.1);
}

.project-gallery__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.project-gallery__head {
  margin-bottom: 1.5rem;
}

.project-gallery__head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.project-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.project-mosaic__card {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.project-mosaic__card--1,
.project-mosaic__card--2,
.project-mosaic__card--3 {
  grid-row: auto;
  min-height: 0;
}

.project-mosaic__card--map {
  border: 2px solid #fff;
  background: #f3eee9;
}

.project-mosaic__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.project-mosaic__card--map img {
  object-fit: cover;
  object-position: center;
}

@media (hover: hover) and (pointer: fine) {
  .project-mosaic__card:hover img {
    transform: scale(1.04);
  }
}

@media (max-width: 992px) {
  .project-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .project-mosaic__card--map {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  .project-gallery__head {
    margin-bottom: 1.15rem;
  }

  .project-mosaic {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .project-mosaic__card,
  .project-mosaic__card--map {
    grid-column: auto;
    aspect-ratio: 16 / 10;
  }
}

/* legacy facts (unused on project page) */
.facts--page {
  display: none;
}

/* ——— Project ——— */
.project-page {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-hero {
  position: relative;
  min-height: min(78svh, 46rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.project-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 26, 24, 0.2) 0%,
    rgba(28, 26, 24, 0.15) 45%,
    rgba(28, 26, 24, 0.78) 100%
  );
}

.project-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 3.5rem 0 3rem;
}

.project-hero-copy .lede {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  margin-bottom: 0;
}

.project-hero-copy h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.55rem;
}

.project-place {
  margin-bottom: 1rem;
  color: #f0c4be;
  font-size: 0.95rem;
  font-weight: 600;
}

.facts {
  display: none;
}

.fact {
  padding: 0.75rem 1rem;
  background: var(--white);
}

.fact strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.fact span {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.project-body {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.project-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

.project-intro .section-head {
  margin-bottom: 0;
}

.highlights {
  border-top: 1px solid var(--line);
}

.highlights li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.highlights strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.highlights span {
  color: var(--ink-soft);
}

.hl-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 0.2rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 0.85rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.gallery figure {
  overflow: hidden;
  background: var(--bg-2);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery-main,
.gallery-main img {
  min-height: 26rem;
}

.gallery-side {
  display: grid;
  gap: 0.85rem;
}

.gallery-side figure,
.gallery-side img {
  min-height: 12.5rem;
}

.infra {
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.infra-grid li {
  padding: 1.4rem 1.2rem;
  background: var(--white);
  transition: transform 0.35s var(--ease), background 0.35s ease;
}

.infra-grid li:hover {
  background: #f3f5f7;
  transform: translateY(-2px);
}

.infra-name {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--coral);
}

.infra-grid p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.why-block {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(1.4rem, 3.5vw, 2.25rem);
  padding: clamp(1.6rem, 3.5vw, 2.25rem);
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
  background: linear-gradient(135deg, #f0f3f5, var(--white) 55%);
  border: 1px solid var(--line);
}

.why-block p {
  color: var(--ink-soft);
}

.why-block .aside-label {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.why-block aside {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.project-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.project-cta p {
  color: var(--ink-soft);
  max-width: 34rem;
}

.project-cta .btn-primary {
  color: var(--white);
}

.more {
  padding-top: 2.5rem;
}

/* ——— Contact ——— */
.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(28, 26, 24, 0.05);
}

.contact--manager {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(2.25rem, 4.5vw, 3.25rem) 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(196, 92, 82, 0.1), transparent 42%),
    linear-gradient(165deg, #f8f2ec 0%, #efe6df 55%, #ebe2da 100%);
  color: var(--ink);
  border-top: 1px solid rgba(196, 92, 82, 0.12);
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  width: min(28rem, 70vw);
  height: min(28rem, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 92, 82, 0.16), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  top: -18%;
  left: -8%;
  animation: contactOrb 14s ease-in-out infinite alternate;
}

.contact-glow--2 {
  width: min(22rem, 55vw);
  height: min(22rem, 55vw);
  top: auto;
  left: auto;
  right: -6%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(184, 146, 58, 0.12), transparent 70%);
  animation-duration: 18s;
  animation-direction: alternate-reverse;
}

.contact-manager {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(196, 92, 82, 0.12);
  border-radius: 14px;
  box-shadow:
    0 28px 64px rgba(28, 26, 24, 0.08),
    0 2px 8px rgba(28, 26, 24, 0.03);
  overflow: hidden;
}

.contact-manager__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 92, 82, 0.15) 18%,
    var(--accent) 50%,
    rgba(196, 92, 82, 0.15) 82%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: contactAccent 6s ease-in-out infinite;
  z-index: 2;
}

.contact-manager__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.15rem;
  padding: clamp(1.5rem, 3vw, 2.15rem) clamp(1.35rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, rgba(247, 241, 236, 0.65) 0%, rgba(255, 255, 255, 0) 48%);
  border-right: 1px solid rgba(20, 25, 29, 0.08);
}

.contact-manager.is-visible .contact-manager__intro,
.contact-manager.is-visible .contact-channels li,
.contact-manager.is-visible .contact-form--manager {
  animation: contactRise 0.7s var(--ease) both;
}

.contact-manager.is-visible .contact-manager__intro {
  animation-delay: 0.05s;
}

.contact-manager.is-visible .contact-channels li:nth-child(1) {
  animation-delay: 0.16s;
}

.contact-manager.is-visible .contact-channels li:nth-child(2) {
  animation-delay: 0.26s;
}

.contact-manager.is-visible .contact-form--manager {
  animation-delay: 0.18s;
}

.contact-manager__intro {
  display: grid;
  gap: 0.4rem;
}

.contact-manager h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}

.contact-manager__lead {
  margin: 0;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.contact-channels {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-channels li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  background: #f7f1ec;
  border: 1px solid rgba(196, 92, 82, 0.08);
  border-radius: 10px;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.contact-channels__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(196, 92, 82, 0.12);
  color: var(--accent-deep);
  transition:
    transform 0.35s var(--ease),
    background 0.35s ease,
    color 0.35s ease;
}

.contact-channels li > div span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-channels strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.contact-channels strong a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.contact-channels strong a:hover {
  color: var(--accent-deep);
  border-bottom-color: rgba(158, 67, 60, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .contact-channels li:hover {
    transform: translateY(-2px);
    border-color: rgba(196, 92, 82, 0.22);
    background: #fff8f4;
    box-shadow: 0 10px 24px rgba(196, 92, 82, 0.1);
  }

  .contact-channels li:hover .contact-channels__icon {
    transform: scale(1.08);
    background: rgba(196, 92, 82, 0.2);
    color: var(--accent);
  }
}

.contact-form--manager {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 0.8rem;
  align-content: start;
  align-self: stretch;
  margin: 0;
  padding: clamp(2.35rem, 4vw, 3rem) clamp(1.35rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.15rem);
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-body);
}

.contact-form--manager label {
  gap: 0.18rem;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-form--manager .req {
  margin-left: 0.12em;
  color: var(--accent);
  letter-spacing: 0;
}

.contact-form--manager label.is-full,
.contact-form--manager .btn-accent,
.contact-form--manager .form-note {
  grid-column: 1 / -1;
}

.form-honeypot,
.contact-form .form-honeypot,
.contact-form--manager .form-honeypot {
  display: none !important;
}

.form-consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.35;
  color: rgba(92, 87, 79, 0.78);
  cursor: pointer;
}

.form-consent input {
  flex: 0 0 auto;
  width: 0.85rem !important;
  height: 0.85rem;
  margin-top: 0.12rem;
  padding: 0 !important;
  border: 1px solid rgba(20, 25, 29, 0.22) !important;
  border-radius: 2px;
  background: #fff !important;
  box-shadow: none !important;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-consent span {
  max-width: none;
}

.contact-form--manager input,
.contact-form--manager textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(20, 25, 29, 0.12);
  border-radius: 8px;
  background: #f7f1ec;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.contact-form--manager textarea {
  min-height: 5.25rem;
  height: 5.25rem;
  resize: vertical;
}

.contact-form--manager input:hover,
.contact-form--manager textarea:hover {
  border-color: rgba(196, 92, 82, 0.35);
}

.contact-form--manager input:focus,
.contact-form--manager textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196, 92, 82, 0.14);
}

.contact-form--manager input::placeholder,
.contact-form--manager textarea::placeholder {
  font-family: var(--font-body);
  font-weight: 400;
  color: rgba(90, 100, 108, 0.72);
}

.contact-form--manager .btn-accent {
  width: 100%;
  justify-content: center;
  margin-top: 0.15rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
}

.contact-form--manager .btn-accent:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

.contact-form--manager .form-note {
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-details dt {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}

.contact-details a {
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: var(--coral);
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--slate-mid);
  box-shadow: 0 0 0 3px rgba(61, 79, 90, 0.15);
}

.contact-form .btn {
  width: fit-content;
  margin-top: 0.2rem;
}

.contact-form--manager .btn-accent {
  width: 100%;
  justify-content: center;
}

.form-note {
  color: var(--coral);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 0;
  padding: 1.1rem 0 0.85rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.85rem 2.5rem;
  align-items: start;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}

.site-footer__brand .logo-link {
  color: var(--ink);
}

.site-footer__brand .logo-link img {
  width: 32px;
  height: 32px;
}

.site-footer__brand p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.site-footer__col {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  min-width: 7.5rem;
}

.site-footer__label {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.site-footer__col a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.site-footer__col a:hover {
  color: var(--accent-deep);
}

.site-footer__item {
  display: grid;
  gap: 0.05rem;
  margin: 0;
}

.site-footer__item span {
  font-size: 0.72rem;
  color: rgba(92, 87, 79, 0.75);
}

.site-footer__item strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.site-footer__item strong a {
  color: inherit;
  text-decoration: none;
}

.site-footer__item strong a:hover {
  color: var(--accent-deep);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0.55rem auto 0;
}

.footer-meta {
  margin: 0;
  color: rgba(92, 87, 79, 0.62);
  font-size: 0.78rem;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.15rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(196, 92, 82, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-deep);
  box-shadow: 0 8px 22px rgba(20, 25, 29, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.6rem);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    background 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.to-top svg {
  display: block;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ——— Keyframes ——— */
@keyframes kenBurns {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes meanderIn {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 0.85;
  }
}

@keyframes orbDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, -18px, 0) scale(1.08);
  }
}

@keyframes heroGlow {
  from {
    opacity: 0.7;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.06) translate(-1%, 1%);
  }
}

@keyframes auroraDrift {
  0% {
    background-position: 20% 30%;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    background-position: 65% 45%;
    transform: translate3d(2%, -1.5%, 0) scale(1.04);
  }
  100% {
    background-position: 40% 70%;
    transform: translate3d(-1.5%, 2%, 0) scale(1.02);
  }
}

@keyframes blobPulse {
  from {
    opacity: 0.72;
    filter: blur(34px);
  }
  to {
    opacity: 1;
    filter: blur(46px);
  }
}

@keyframes blobFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, -5%, 0) scale(1.12);
  }
}

@keyframes rippleOut {
  0% {
    transform: scale(0.42);
    opacity: 0.55;
  }
  70% {
    opacity: 0.18;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@keyframes waveDash {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes tideSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 56px 56px;
  }
}

@keyframes lineSweep {
  0%,
  15% {
    opacity: 0;
    transform: translateX(8%);
  }
  35%,
  55% {
    opacity: 0.9;
    transform: translateX(0);
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-14%);
  }
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes planFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes plotIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes plotPulse {
  0%,
  100% {
    fill-opacity: 1;
  }
  50% {
    fill-opacity: 0.72;
  }
}

@keyframes roadFlow {
  to {
    stroke-dashoffset: -36;
  }
}

@keyframes scanMove {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  8% {
    opacity: 0.7;
  }
  92% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(400px);
    opacity: 0;
  }
}

@keyframes contactOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6%, 8%, 0) scale(1.08);
  }
}

@keyframes contactAccent {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.7;
  }
  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

@keyframes contactRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: min(96svh, 860px);
  }

  .hero-shell {
    padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  }

  .hero-content {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-visual {
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-rows: minmax(8rem, 18vw) minmax(6.5rem, 14vw) minmax(8.5rem, 18vw);
    grid-template-areas:
      "a b b"
      "a c d"
      "e e d";
    order: -1;
  }

  .about-stat {
    left: 0.55rem;
    bottom: 0.55rem;
  }

  .about-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .about-points__body {
    padding: 1.15rem 1rem 1.25rem;
  }

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

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

  .tile {
    min-height: 0;
  }

  .tile--feature {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
    min-height: 0;
    max-height: none;
  }

  .project-intro,
  .po-shell,
  .gallery,
  .gallery--page,
  .why-block,
  .contact-shell,
  .contact-manager {
    grid-template-columns: 1fr;
  }

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

  .contact-manager__copy {
    border-right: 0;
    border-bottom: 1px solid rgba(20, 25, 29, 0.08);
  }

  .contact-manager h2 {
    white-space: normal;
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  .contact-form--manager {
    grid-template-columns: 1fr;
    margin-top: 0;
    align-self: stretch;
  }

  .contact-form--manager label.is-full,
  .contact-form--manager .btn-accent,
  .contact-form--manager .form-note {
    grid-column: auto;
  }

  .po-map {
    order: -1;
    max-width: 26rem;
    aspect-ratio: 16 / 11;
    margin-inline: 0;
  }

  .po-shell:has(.po-map--aerial) {
    align-items: start;
  }

  .po-map--aerial {
    aspect-ratio: 16 / 11;
    min-height: 0;
    max-width: none;
  }

  .po-nets li {
    flex: 1 1 calc(50% - 0.55rem);
  }

  .gallery--page figure:first-child {
    grid-column: auto;
  }

  .why-block aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 1.15rem;
  }

  .gallery-main,
  .gallery-main img {
    min-height: 17rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: 0 16px 36px rgba(20, 25, 29, 0.1);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.15rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav-cta {
    margin: 0.75rem 0 0 !important;
    text-align: center;
  }

  .site-header.is-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero-shell {
    padding-top: calc(var(--header-h) + 1.75rem);
    padding-bottom: 3rem;
  }

  .hero-brand {
    font-size: clamp(2.2rem, 9.5vw, 2.75rem);
    letter-spacing: 0.01em;
  }

  .hero-title {
    max-width: 18ch;
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .about-visual {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(9rem, 28vw) minmax(7rem, 22vw) minmax(8rem, 24vw);
    grid-template-areas:
      "a a"
      "b c"
      "e d";
  }

  .about-stat-value {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .about-path {
    font-size: 0.68rem;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
  }

  .about-path i {
    width: 0.75rem;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-lead,
  .about-copy .section-text,
  .about-points p {
    text-align: left;
    hyphens: manual;
  }

  .catalog-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .catalog-grid,
  .infra-grid {
    grid-template-columns: 1fr;
  }

  .tile,
  .tile--feature {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
    min-height: 0;
    max-height: none;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.5rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

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

  .to-top {
    right: 0.75rem;
    bottom: 0.85rem;
  }

  .contact--manager {
    padding-block: 2.5rem;
  }
}

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

  .project-hero-media img,
  .anim-rise,
  .anim-meander,
  .reveal,
  .gallery img,
  .catalog-panel,
  .infra-grid li,
  .logo-link img,
  .hero-bg img,
  .about-glow,
  .about-glow--2,
  .about-grid,
  .contact-glow,
  .contact-manager__accent,
  .contact-manager.is-visible .contact-manager__intro,
  .contact-manager.is-visible .contact-channels li,
  .contact-manager.is-visible .contact-form--manager {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
