:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-panel: #171512;
  --text: #f7f2e8;
  --muted: #b5aea3;
  --muted-strong: #d9d0c1;
  --line: rgba(255, 255, 255, 0.13);
  --gold: #c9a84c;
  --gold-soft: #f0d783;
  --green: #2f6f5e;
  --paper: #f5efe4;
  --ink: #17130c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.loader-done .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  background:
    radial-gradient(circle at center, rgba(201, 168, 76, 0.2), transparent 30%),
    linear-gradient(135deg, #070707 0%, #12100d 54%, #080808 100%);
  color: var(--text);
  transition: opacity 520ms ease, visibility 520ms ease, transform 720ms ease;
}

.maintenance-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(201, 168, 76, 0.16), transparent 34%),
    linear-gradient(135deg, #070707 0%, #14110d 54%, #080808 100%);
}

.maintenance-shell {
  width: min(100%, 620px);
  text-align: center;
}

.maintenance-shell img {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.maintenance-shell h1 {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
}

.maintenance-shell p:last-child {
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.loader-mark {
  position: relative;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
}

.loader-mark img {
  width: 86px;
  height: 86px;
  border-radius: 6px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(201, 168, 76, 0.18));
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-top-color: var(--gold-soft);
  border-right-color: rgba(201, 168, 76, 0.62);
  border-radius: 50%;
  animation: loader-spin 1.1s linear infinite;
}

.loader-ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(201, 168, 76, 0.48);
  border-radius: 50%;
  animation: loader-spin 1.8s linear infinite reverse;
}

.loader-copy {
  display: grid;
  gap: 4px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: loader-copy-in 700ms ease 180ms forwards;
}

.loader-copy strong {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 3rem);
  line-height: 1.08;
}

.loader-copy span {
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loader-copy-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px max(20px, calc((100vw - 1160px) / 2));
  color: var(--text);
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.subpage .site-header {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(10, 10, 10, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.inline-link:hover,
.footer-grid a:hover {
  color: var(--gold-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  --hero-photo-shift: 0px;
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0 78px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(201, 168, 76, 0.12), transparent 42%),
    linear-gradient(90deg, #080808 0%, #111111 54%, #171512 100%);
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center;
  opacity: 0.16;
}

.hero-media::after {
  background-image: url("../img/hero-dominik-cutout.png");
  background-size: clamp(460px, 45vw, 760px) auto;
  background-position: right 9vw bottom -46px;
  filter: contrast(1.03) saturate(0.92);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.88) 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.88) 80%, transparent 100%);
  transform: translate3d(0, var(--hero-photo-shift), 0);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.78) 42%, rgba(10, 10, 10, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.08) 42%, rgba(10, 10, 10, 0.45) 100%);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: Newsreader, Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
}

h2 {
  font-size: clamp(2.15rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-subtitle {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

blockquote {
  max-width: 640px;
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #17130c;
}

.button-primary:hover {
  background: var(--gold-soft);
}

.button-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 116px 0;
  background: var(--bg);
}

.section-dark {
  background: var(--bg-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
}

.section-heading h2,
.section-title h2 {
  max-width: 820px;
}

.section-title {
  margin-bottom: 36px;
}

.section-intro {
  margin-bottom: 34px;
}

.section-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.about-copy {
  color: var(--muted-strong);
  font-size: 1.04rem;
}

.about-copy p:first-child {
  margin-top: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 68px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  min-height: 150px;
  padding: 30px;
  background: var(--bg);
}

.stat strong {
  display: block;
  color: var(--gold-soft);
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.card-grid,
.project-grid,
.testimonial-grid,
.article-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.project-card,
.testimonial,
.article-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.service-card {
  min-height: 286px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border: 1px solid rgba(201, 168, 76, 0.42);
  border-radius: 50%;
  color: var(--gold-soft);
  font-weight: 700;
}

.service-card p,
.project-card p,
.testimonial p,
.article-card p,
.muted,
.contact-band p,
.page-hero p,
.empty-state p {
  color: var(--muted);
}

.project-controls {
  display: flex;
  gap: 10px;
}

.project-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 168, 76, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-soft);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.project-nav:hover {
  background: var(--gold);
  color: #17130c;
  transform: translateY(-2px);
}

.project-nav:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}

.project-carousel {
  position: relative;
}

.project-track {
  --project-card-width: calc((100% - 18px) / 2);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(390px, var(--project-card-width));
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  align-items: start;
  padding: 34px max(0px, calc((100% - var(--project-card-width)) / 2)) 34px;
  scroll-padding-inline: max(0px, calc((100% - var(--project-card-width)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(201, 168, 76, 0.52) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.project-track::-webkit-scrollbar {
  height: 8px;
}

.project-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.project-track::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.58);
  border-radius: 999px;
}

.project-card {
  --project-opacity: 0.64;
  --project-scale: 0.9;
  --project-reveal-y: 0px;
  scroll-snap-align: center;
  min-height: 420px;
  overflow: hidden;
  background: var(--bg-panel);
  opacity: var(--project-opacity);
  transform: translateY(var(--project-reveal-y)) scale(var(--project-scale));
  transform-origin: center top;
  transition: transform 260ms ease, opacity 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
  will-change: transform;
  cursor: pointer;
}

.project-card.is-active {
  --project-opacity: 1;
  --project-scale: 1.03;
  z-index: 2;
  border-color: rgba(201, 168, 76, 0.44);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.project-card:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.project-content {
  padding: 28px;
}

.project-category,
.article-card time,
.article-card .category {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-yield {
  display: grid;
  gap: 4px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-yield strong {
  margin: 0;
  color: var(--gold-soft);
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
}

.project-yield small {
  color: var(--muted);
  font-weight: 700;
}

.project-parameters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 20px;
}

.project-parameters span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.08);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.project-features {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-strong);
}

.project-features li {
  position: relative;
  padding-left: 24px;
}

.project-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-soft);
  font-weight: 800;
}

.project-content > strong {
  display: block;
  margin-top: 24px;
  color: var(--muted-strong);
}

.project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 26px;
  padding: 10px 16px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: var(--radius);
  color: var(--gold-soft);
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.project-button:hover {
  background: var(--gold);
  color: #17130c;
  transform: translateY(-2px);
}

.project-note {
  max-width: 900px;
  margin-top: 6px;
  color: rgba(217, 208, 193, 0.72);
  font-size: 0.86rem;
}

.project-note p {
  margin: 0;
}

.investor-fit {
  background:
    linear-gradient(135deg, rgba(201, 168, 76, 0.08), transparent 42%),
    var(--bg);
}

.fit-button {
  width: fit-content;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.audience-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.audience-card span {
  display: block;
  margin-bottom: 40px;
  color: var(--gold-soft);
  font-weight: 800;
}

.audience-card p {
  color: var(--muted);
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial {
  min-height: 280px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial p {
  margin-top: 0;
  font-size: 1.02rem;
}

.testimonial strong,
.testimonial span {
  display: block;
}

.testimonial span {
  color: var(--muted);
}

.inline-link {
  color: var(--gold-soft);
  font-weight: 700;
}

.article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.article-grid-wide {
  grid-template-columns: repeat(2, 1fr);
}

.article-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.article-card div {
  padding: 26px;
}

.article-card h2,
.article-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.article-card a {
  transition: color 160ms ease;
}

.article-card a:hover {
  color: var(--gold-soft);
}

.contact-band {
  background: var(--paper);
  color: var(--ink);
}

.contact-band h2,
.contact-band .eyebrow,
.contact-band a {
  color: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: inherit;
  font-weight: 700;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(201, 168, 76, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
}

.contact-form,
.contact-panel {
  padding: 30px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(10, 10, 10, 0.16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.contact-band .contact-form {
  background: #fff;
  color: var(--ink);
}

.contact-band .contact-form label span {
  color: #17130c;
}

.contact-band .contact-form input,
.contact-band .contact-form textarea,
.contact-band .contact-form select {
  border-color: rgba(23, 19, 12, 0.22);
  background: #fbfaf7;
  color: #17130c;
}

.contact-band .contact-form input::placeholder,
.contact-band .contact-form textarea::placeholder {
  color: rgba(23, 19, 12, 0.48);
}

.contact-band .contact-form select option {
  background: #fff;
  color: #17130c;
}

.contact-band .contact-form input:focus,
.contact-band .contact-form textarea:focus,
.contact-band .contact-form select:focus {
  border-color: #a9852e;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.24);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}

.form-message.success {
  background: rgba(47, 111, 94, 0.14);
  color: #2f6f5e;
}

.form-message.error {
  background: rgba(150, 34, 34, 0.14);
  color: #b33636;
}

.page-hero {
  padding: 170px 0 86px;
  background: var(--bg-soft);
}

.page-hero.compact {
  min-height: 430px;
  display: flex;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.page-hero p {
  max-width: 700px;
  margin: 20px 0 0;
  font-size: 1.1rem;
}

.article-hero {
  padding-bottom: 72px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--muted);
}

.article-meta a {
  color: var(--gold-soft);
  font-weight: 700;
}

.article-image {
  margin-top: -44px;
}

.article-image img {
  width: 100%;
  max-height: 520px;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-body {
  max-width: 790px;
  padding: 74px 0 118px;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 42px 0 16px;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
  margin: 0 0 24px;
}

.article-body a {
  color: var(--gold-soft);
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.site-footer {
  padding: 70px 0 24px;
  background: #070707;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.footer-grid a {
  display: flex;
  margin-top: 8px;
}

.footer-brand {
  margin: 0 0 12px;
  color: var(--text);
  font-family: Newsreader, Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 4px;
}

.footer-disclaimer {
  margin-top: 42px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: rgba(217, 208, 193, 0.68);
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-disclaimer strong {
  color: var(--muted-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.site-credit {
  color: rgba(247, 242, 232, 0.42);
  font-size: 0.64rem;
  line-height: 1;
  letter-spacing: 0;
}

.site-credit a {
  color: rgba(240, 215, 131, 0.62);
  transition: color 160ms ease;
}

.site-credit a:hover {
  color: var(--gold-soft);
}

.footer-cookie-button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  text-align: right;
}

.footer-cookie-button:hover {
  color: var(--gold-soft);
}

.cookie-banner {
  position: fixed;
  right: max(18px, calc((100vw - 1160px) / 2));
  bottom: 18px;
  z-index: 120;
  width: min(680px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner strong,
.cookie-modal strong {
  color: var(--text);
}

.cookie-banner p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cookie-actions,
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-link {
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 4px;
}

.cookie-link:hover {
  color: var(--gold-soft);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.64);
}

.cookie-modal-panel {
  width: min(620px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.cookie-modal-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.cookie-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.cookie-options {
  display: grid;
  gap: 12px;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.cookie-option input {
  width: 20px;
  min-height: 20px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.cookie-option small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-modal-actions {
  margin-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card.reveal {
  --project-reveal-y: 22px;
  opacity: 0;
  transform: translateY(var(--project-reveal-y)) scale(var(--project-scale));
}

.project-card.reveal.is-visible {
  --project-reveal-y: 0px;
  opacity: var(--project-opacity);
  transform: translateY(var(--project-reveal-y)) scale(var(--project-scale));
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 10, 10, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: block;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .project-track {
    --project-card-width: 72vw;
    grid-auto-columns: minmax(340px, var(--project-card-width));
  }

  .services-grid,
  .project-grid,
  .audience-grid,
  .testimonial-grid,
  .article-grid,
  .article-grid-wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .site-header {
    padding: 14px;
  }

  .brand {
    min-width: 64px;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .hero {
    min-height: 92svh;
    align-items: flex-start;
    padding-top: 118px;
    padding-bottom: 42svh;
  }

  .hero-media {
    background-position: center bottom;
  }

  .hero-media::after {
    background-size: min(118vw, 620px) auto;
    background-position: right -26vw bottom -18px;
    filter: contrast(1.06) saturate(0.98) brightness(1.08);
    mask-image: linear-gradient(to bottom, #000 0%, #000 74%, rgba(0, 0, 0, 0.82) 84%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 74%, rgba(0, 0, 0, 0.82) 84%, transparent 100%);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.84) 36%, rgba(10, 10, 10, 0.24) 62%, rgba(10, 10, 10, 0.88) 100%),
      linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.68) 58%, rgba(10, 10, 10, 0.22) 100%);
  }

  .hero-content {
    max-width: 92vw;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  }

  h1 {
    font-size: clamp(2.9rem, 16vw, 4.4rem);
  }

  .hero-subtitle {
    max-width: 20rem;
    font-size: 1.04rem;
  }

  blockquote {
    max-width: 19rem;
    margin-top: 22px;
    color: rgba(247, 242, 232, 0.76);
  }

  .section {
    padding: 76px 0;
  }

  .services-grid,
  .project-grid,
  .audience-grid,
  .testimonial-grid,
  .article-grid,
  .article-grid-wide,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-track {
    --project-card-width: 86vw;
    grid-auto-columns: minmax(280px, var(--project-card-width));
  }

  .contact-form,
  .contact-panel,
  .service-card,
  .audience-card,
  .testimonial,
  .empty-state {
    padding: 22px;
  }

  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .project-content {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    justify-items: start;
  }

  .footer-cookie-button {
    text-align: left;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .cookie-actions,
  .cookie-modal-actions {
    justify-content: stretch;
  }

  .cookie-actions .button,
  .cookie-modal-actions .button,
  .cookie-actions .cookie-link,
  .cookie-modal-actions .cookie-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    --hero-photo-shift: 0px;
  }

  .hero-media::after {
    transform: none;
  }

  .loader-ring,
  .loader-ring::after,
  .loader-copy {
    animation: none;
  }

  .loader-copy {
    opacity: 1;
    transform: none;
  }
}
