:root {
  --bg: #0d0b0b;
  --bg-soft: #141111;
  --panel: rgba(28, 22, 21, 0.72);
  --panel-solid: #191414;
  --panel-strong: #211918;
  --text: #f2ebe2;
  --muted: #c5b7ab;
  --line: rgba(229, 196, 155, 0.16);
  --line-strong: rgba(229, 196, 155, 0.34);
  --accent: #cb9a63;
  --accent-soft: #e2bc8d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1240px;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(203, 154, 99, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(108, 76, 52, 0.18), transparent 22%),
    linear-gradient(180deg, #0f0c0c 0%, #090707 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.2;
  pointer-events: none;
}

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

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

button,
.button {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 0;
  backdrop-filter: blur(16px);
  background: rgba(10, 8, 8, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-wrap,
.content-wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17, 13, 13, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark strong {
  font-family: var(--serif);
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-mark span {
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
}

.nav-menu a {
  position: relative;
  color: rgba(245, 235, 226, 0.9);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.nav-cta,
.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta,
.button-primary {
  color: #1a120f;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 18px 36px rgba(203, 154, 99, 0.2);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.nav-cta:hover,
.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.page-hero,
.page-section,
.page-slab {
  padding: 78px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1,
.section-head h2,
.split-copy h2,
.editorial h2,
.contact-card h2,
.legal h1,
.legal h2,
.journal-grid h3,
.project-card h3,
.service-card h3,
.project-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(3.8rem, 7vw, 6.4rem);
  line-height: 0.95;
  max-width: 10ch;
}

.hero-copy p,
.section-head p,
.split-copy p,
.editorial p,
.contact-card p,
.project-card p,
.service-card p,
.journal-grid p,
.legal p,
.legal li {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stage {
  position: relative;
  min-height: 610px;
  perspective: 1800px;
}

.stage-floor {
  position: absolute;
  inset: auto 0 20px 60px;
  height: 72%;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(229, 196, 155, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #1e1715, #100d0d 72%);
  box-shadow: var(--shadow);
  transform: rotateX(68deg) rotateZ(-8deg) translateZ(-100px);
  transform-origin: bottom left;
}

.stage-panel,
.glass-card,
.project-plane {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.stage-outline {
  position: absolute;
  inset: 18px 0 auto 60px;
  width: 86%;
  height: 62%;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(229, 196, 155, 0.22);
  transform: rotateY(-11deg) rotateX(5deg);
}

.stage-image {
  inset: 44px 0 auto 86px;
  width: 88%;
  padding: 18px;
  overflow: hidden;
  transform: rotateY(-12deg) rotateX(6deg) translateZ(60px);
}

.stage-image img,
.project-plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.stage-pane {
  inset: 82px 26px auto auto;
  width: 20%;
  height: 52%;
  transform: rotateY(-26deg) translateZ(100px);
}

.stage-pane::before,
.project-plane::before,
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(310deg, rgba(255, 255, 255, 0.18), transparent 34%);
  pointer-events: none;
}

.stage-copy {
  position: absolute;
  left: 24px;
  bottom: 14px;
  width: 50%;
  padding: 26px;
  border-radius: 22px;
  background: rgba(15, 11, 11, 0.8);
  border: 1px solid var(--line);
  transform: translateZ(40px);
}

.stage-copy strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-soft);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 0.98;
}

.bridge-strip {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -170px;
  position: relative;
  z-index: 4;
}

.bridge-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(18, 14, 14, 0.9);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}

.bridge-card h2,
.bridge-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.bridge-card h2 {
  font-size: 2.4rem;
}

.bridge-card h3 {
  font-size: 1.6rem;
}

.bridge-card p {
  margin: 0;
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-soft);
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scroll-showcase {
  position: relative;
  min-height: 210vh;
  margin-top: -220px;
  padding-top: 220px;
}

.sticky-stack {
  position: sticky;
  top: 108px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.story-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(20, 16, 15, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story-panel h2 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1;
  margin-bottom: 18px;
}

.glass-stage {
  position: relative;
  min-height: 820px;
  perspective: 2200px;
}

.glass-axis {
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(229, 196, 155, 0.75), transparent);
}

.glass-node {
  position: absolute;
  left: calc(50% - 9px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 20px rgba(229, 196, 155, 0.4);
}

.glass-card {
  width: min(360px, 42vw);
  padding: 22px;
  overflow: hidden;
  color: var(--text);
  transform-style: preserve-3d;
}

.glass-card img {
  margin-top: 18px;
  height: 210px;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.glass-card strong,
.meta-label {
  display: inline-flex;
  color: var(--accent-soft);
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.glass-card h3 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.glass-card p {
  margin: 0;
  color: rgba(242, 235, 226, 0.85);
}

.card-left {
  left: 4%;
}

.card-right {
  right: 2%;
}

.card-top {
  top: 70px;
}

.card-mid {
  top: 270px;
}

.card-low {
  top: 490px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.process-chip,
.service-card,
.project-card,
.journal-grid article,
.contact-card,
.legal-card,
.studio-grid article {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(18, 15, 15, 0.92);
}

.process-chip strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-soft);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-chip span {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
}

.project-showroom {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.project-intro {
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(20, 15, 14, 0.9);
  min-height: 680px;
}

.project-intro h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.97;
  margin-bottom: 16px;
}

.project-stage {
  position: relative;
  min-height: 760px;
  perspective: 2200px;
}

.project-plane {
  overflow: hidden;
  width: 360px;
  min-height: 510px;
}

.project-plane figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 8, 0.9));
}

.project-plane h3 {
  font-size: 2rem;
}

.project-plane p {
  margin: 6px 0 0;
  color: rgba(242, 235, 226, 0.82);
}

.plane-front {
  left: 8%;
  top: 98px;
  z-index: 4;
  transform: rotateY(-6deg) translateZ(80px);
}

.plane-middle {
  left: 36%;
  top: 142px;
  z-index: 3;
  transform: rotateY(-18deg) translateZ(20px) scale(0.88);
}

.plane-back {
  right: 4%;
  top: 190px;
  z-index: 2;
  transform: rotateY(-26deg) translateZ(-30px) scale(0.76);
}

.split-band,
.studio-grid,
.service-grid,
.journal-grid,
.contact-layout,
.legal-layout,
.footer-grid {
  display: grid;
  gap: 22px;
}

.split-band {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.split-copy,
.editorial,
.contact-card,
.legal-card {
  padding: 38px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(18, 15, 15, 0.9);
}

.split-copy h2,
.editorial h2 {
  font-size: clamp(2.4rem, 4vw, 3.9rem);
  line-height: 1;
  margin-bottom: 16px;
}

.split-media {
  padding: 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.split-media img {
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 12px);
}

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

.service-card h3,
.studio-grid h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

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

.journal-grid article img {
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.journal-grid h3 {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 10px;
}

.journal-grid .read-more,
.project-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-soft);
  font-weight: 600;
}

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

.contact-card ul,
.legal ul {
  padding-left: 18px;
}

.contact-card li,
.legal li {
  margin-bottom: 8px;
}

.cookie-anchor-wrap {
  margin-top: 36px;
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

#cookie-script-anchor {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  margin: 0 auto;
  max-width: 980px;
}

#cookie-script-anchor:not(:empty) {
  display: flex;
}

#cookie-script-anchor > * {
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  padding: 32px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  align-items: start;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 10px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(245, 235, 226, 0.7);
  font-size: 0.92rem;
}

.page-banner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.page-banner .banner-copy,
.page-banner .banner-image {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(18, 15, 15, 0.88);
}

.banner-copy {
  padding: 38px;
}

.banner-copy h1 {
  font-size: clamp(3rem, 5.3vw, 5rem);
  line-height: 0.96;
  margin-bottom: 18px;
}

.banner-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.project-grid,
.legal-layout,
.contact-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid,
.legal-layout {
  display: grid;
  gap: 22px;
}

.project-card img {
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.project-card h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.legal {
  padding-bottom: 84px;
}

.legal h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  margin-bottom: 14px;
}

.legal h2 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 14px;
}

.legal-card {
  padding: 30px;
}

.muted {
  color: var(--muted);
}

.mobile-toggle {
  display: none;
}

@media (max-width: 1120px) {
  .nav-wrap,
  .content-wrap {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-layout,
  .section-head,
  .sticky-stack,
  .project-showroom,
  .split-band,
  .bridge-strip,
  .page-banner,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .project-stage {
    min-height: 620px;
  }

  .sticky-stack {
    position: relative;
    top: 0;
    min-height: unset;
  }

  .scroll-showcase {
    min-height: unset;
    margin-top: 0;
    padding-top: 0;
  }

  .glass-stage {
    min-height: 900px;
  }

  .service-grid,
  .studio-grid,
  .journal-grid,
  .project-grid,
  .legal-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    gap: 26px;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 12px 0;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 18px;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
    gap: 16px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .page-hero,
  .page-section,
  .page-slab {
    padding: 54px 0;
  }

  .hero-copy h1,
  .banner-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-stage {
    min-height: 520px;
  }

  .stage-image {
    inset: 66px 10px auto 48px;
    width: auto;
  }

  .stage-outline {
    inset: 42px 0 auto 24px;
    width: 92%;
    height: 64%;
  }

  .stage-floor {
    inset: auto 0 26px 10px;
    height: 74%;
  }

  .stage-pane {
    display: none;
  }

  .stage-copy {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 360px;
  }

  .glass-stage {
    min-height: 1180px;
  }

  .glass-axis,
  .glass-node {
    display: none;
  }

  .glass-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    margin-bottom: 18px;
  }

  .card-left,
  .card-right,
  .card-top,
  .card-mid,
  .card-low {
    inset: auto;
  }

  .project-stage {
    min-height: 1120px;
  }

  .project-plane {
    width: 100%;
    min-height: 360px;
  }

  .plane-front,
  .plane-middle,
  .plane-back {
    left: 0;
    right: 0;
    transform: none;
  }

  .plane-front {
    top: 0;
  }

  .plane-middle {
    top: 362px;
  }

  .plane-back {
    top: 724px;
  }

  .process-list,
  .service-grid,
  .studio-grid,
  .journal-grid,
  .project-grid,
  .legal-layout,
  .contact-points {
    grid-template-columns: 1fr;
  }

  .bridge-strip {
    margin-top: 0;
  }

  .split-media img,
  .banner-image img {
    min-height: 280px;
  }

  .split-copy,
  .editorial,
  .contact-card,
  .legal-card,
  .banner-copy,
  .project-intro,
  .story-panel {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

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