:root {
  --bg: #0b0b0c;
  --bg-deep: #050506;
  --text: #f5f4f2;
  --muted: #b7b2aa;
  --accent: #b08d57;
  --emerald: #1c3a2b;
  --glass: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --max-width: 1600px;
  --section-pad: 160px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 30px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(176, 141, 87, 0.14), transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(28, 58, 43, 0.25), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.02em;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 1;
}

body[data-night="true"] {
  background: radial-gradient(circle at 25% 20%, rgba(28, 58, 43, 0.4), transparent 55%),
    var(--bg-deep);
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 6vw;
  position: relative;
  z-index: 2;
}

.section-head {
  margin-bottom: 60px;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 1.05;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
}

p {
  color: var(--muted);
  font-size: 1.05rem;
}

.label {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border 0.4s ease;
}

.site-header.scrolled {
  background: rgba(11, 11, 12, 0.65);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 6vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  font-family: "IBM Plex Mono", monospace;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.3em;
}

.brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 30px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.site-nav a {
  position: relative;
  padding-bottom: 6px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease, left 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
  left: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0b0b0c;
  box-shadow: 0 20px 40px rgba(176, 141, 87, 0.25);
}

.btn-primary:hover {
  background: #c69a63;
  box-shadow: 0 24px 48px rgba(176, 141, 87, 0.35);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: rgba(176, 141, 87, 0.15);
  color: var(--text);
}

.btn-ghost {
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(176, 141, 87, 0.12);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 120vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 140px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 11, 12, 0.8), rgba(11, 11, 12, 0.2));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  gap: 48px;
  align-items: end;
}

.hero-right {
  display: grid;
  gap: 24px;
  align-items: start;
}

.hero-label {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 12px;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.2rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-meta {
  display: grid;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero.hero-center {
  min-height: 100vh;
  padding-top: 120px;
}

.hero.hero-center .hero-content {
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
  text-align: center;
}

.hero.hero-center .hero-action-block {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: max-content;
  margin: 0 auto;
}

.hero.hero-center .hero-actions {
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 0;
}

.hero.hero-center .hero-sub {
  margin-bottom: 0;
  width: 100%;
}

.hero.hero-center .hero-meta {
  justify-items: center;
  text-align: center;
}

@media (min-width: 1100px) {
  .hero.hero-center {
    padding-top: 84px;
  }
}

@media (max-width: 900px) {
  .hero.hero-center .hero-action-block {
    width: min(100%, 520px);
  }

  .hero.hero-center .hero-actions {
    flex-wrap: wrap;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 6vw;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  z-index: 2;
  color: var(--muted);
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--accent);
  animation: scroll-line 2.6s ease infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

.usp,
.material,
.showcase,
.tech,
.studio,
.legal {
  padding: var(--section-pad) 0;
}

.usp {
  background: rgba(5, 5, 6, 0.7);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.usp-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.material-surface {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 520px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.surface-layer {
  position: absolute;
  inset: 0;
  transition: opacity 0.8s ease;
}

.surface-1 {
  background: linear-gradient(120deg, rgba(11, 11, 12, 0.35), rgba(11, 11, 12, 0.6)),
    url("../images/pexels-curtis-adams-1694007-8583860.jpg") center/cover no-repeat;
}

.surface-2 {
  background: linear-gradient(120deg, rgba(11, 11, 12, 0.35), rgba(11, 11, 12, 0.65)),
    url("../images/pexels-readymade-3847520.jpg") center/cover no-repeat;
  opacity: 0;
}

.surface-3 {
  background: linear-gradient(120deg, rgba(11, 11, 12, 0.35), rgba(11, 11, 12, 0.65)),
    url("../images/pexels-artbovich-7535011.jpg") center/cover no-repeat;
  opacity: 0;
}

.material-list {
  margin: 30px 0;
  display: grid;
  gap: 18px;
}

.showcase {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), transparent 60%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.card-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
}

.image-1 { background-image: linear-gradient(120deg, rgba(11, 11, 12, 0.25), rgba(11, 11, 12, 0.65)), url("../images/pexels-curtis-adams-1694007-8583860.jpg"); }
.image-2 { background-image: linear-gradient(120deg, rgba(11, 11, 12, 0.25), rgba(11, 11, 12, 0.65)), url("../images/pexels-readymade-3847520.jpg"); }
.image-3 { background-image: linear-gradient(120deg, rgba(11, 11, 12, 0.25), rgba(11, 11, 12, 0.65)), url("../images/pexels-bertellifotografia-9056668.jpg"); }
.image-4 { background-image: linear-gradient(120deg, rgba(11, 11, 12, 0.25), rgba(11, 11, 12, 0.65)), url("../images/pexels-artbovich-7535011.jpg"); }
.image-5 { background-image: linear-gradient(120deg, rgba(11, 11, 12, 0.25), rgba(11, 11, 12, 0.65)), url("../images/photorealistic-wooden-house-interior-with-timber-decor-furnishings.jpg"); }
.image-6 { background-image: linear-gradient(120deg, rgba(11, 11, 12, 0.25), rgba(11, 11, 12, 0.65)), url("../images/pexels-curtis-adams-1694007-15062099.jpg"); }

.card-meta {
  padding: 22px 26px 28px;
}

.card-meta p {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manufaktur {
  position: relative;
  padding: 0;
  min-height: 80vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.manufaktur-media {
  position: absolute;
  inset: 0;
}

.manufaktur-video {
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(11, 11, 12, 0.3), rgba(11, 11, 12, 0.7)),
    url("../images/pexels-artbovich-7535011.jpg") center/cover no-repeat;
  filter: saturate(0.9);
}

.manufaktur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.2), rgba(11, 11, 12, 0.85));
}

.manufaktur-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 0 6vw;
}

.tech {
  background: rgba(5, 5, 6, 0.75);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.tech-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 30px;
  border-radius: var(--radius-md);
}

.studio-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px;
  border-radius: var(--radius-md);
  display: grid;
  gap: 16px;
}

.studio-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.studio-form input,
.studio-form textarea {
  background: rgba(11, 11, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  font-family: "Manrope", sans-serif;
}

.form-note {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.legal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px;
}

.legal-card summary {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  margin-bottom: 14px;
}

.site-footer {
  padding: 80px 0 40px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-links,
.footer-social {
  display: flex;
  gap: 22px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-legal {
  justify-content: center;
  padding-bottom: 30px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.idle-light .hero-overlay {
  background: radial-gradient(circle at 50% 50%, rgba(176, 141, 87, 0.15), rgba(11, 11, 12, 0.6));
}

.page-hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 160px 0 120px;
}

.page-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 11, 12, 0.65), rgba(11, 11, 12, 0.2)),
    url("../images/photorealistic-wooden-house-interior-with-timber-decor-furnishings.jpg") center/cover no-repeat;
  filter: saturate(0.9);
}

.page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 11, 12, 0.85), rgba(11, 11, 12, 0.2));
}

.page-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 6vw;
}

.page-sub {
  font-size: 1.15rem;
  margin-top: 18px;
  max-width: 600px;
}

.section-tight {
  padding: 120px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: start;
}

.content-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: var(--radius-md);
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.detail-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px;
  border-radius: var(--radius-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-image {
  aspect-ratio: 5 / 4;
  background: linear-gradient(120deg, rgba(100, 72, 49, 0.5), rgba(16, 12, 8, 0.7)),
    url("../images/pexels-curtis-adams-1694007-15062099.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-image.alt {
  background: linear-gradient(120deg, rgba(68, 54, 38, 0.6), rgba(12, 10, 8, 0.7)),
    url("../images/pexels-readymade-3847520.jpg") center/cover no-repeat;
}

.gallery-meta {
  padding: 18px 20px 22px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.filter-chip {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 22px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.timeline-item {
  display: grid;
  gap: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.map-panel {
  min-height: 320px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(120deg, rgba(11, 11, 12, 0.55), rgba(11, 11, 12, 0.2)),
    url("../images/pexels-bertellifotografia-9056668.jpg") center/cover no-repeat;
}

.cta-panel {
  padding: 50px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(176, 141, 87, 0.15), rgba(11, 11, 12, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-panel p {
  max-width: 520px;
}

.form-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px;
  border-radius: var(--radius-md);
  display: grid;
  gap: 16px;
}

.form-panel label {
  display: grid;
  gap: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.form-panel input,
.form-panel textarea {
  background: rgba(5, 5, 6, 0.75);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-family: "Manrope", sans-serif;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-panel input:focus,
.form-panel textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.2);
  background: rgba(9, 9, 10, 0.9);
}

.form-panel textarea {
  resize: vertical;
  min-height: 140px;
}

.form-panel .btn {
  justify-self: start;
}

.form-panel .form-note {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .usp-grid,
  .card-grid,
  .tech-grid,
  .legal-grid,
  .list-grid,
  .gallery-grid,
  .stats-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  :root { --section-pad: 120px; }

  #cursor { display: none; }

  .header-inner {
    padding: 0 5vw;
  }

  .usp-grid,
  .card-grid,
  .tech-grid,
  .legal-grid,
  .list-grid,
  .gallery-grid,
  .stats-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}
