:root {
  --bg: #111214;
  --surface: #181a1e;
  --surface-2: #141519;
  --card: #17191d;
  --text: #f4f1ea;
  --muted: #b9b0a3;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #d9a73d;
  --accent-soft: rgba(217, 167, 61, 0.16);
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-slot:empty {
  display: none;
}

.atelier-page {
  width: min(1720px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 28px;
}

.atelier-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  width: min(1720px, calc(100% - 48px));
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 0 36px;
  background: rgba(13, 14, 17, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.atelier-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.atelier-brand__light {
  color: #f5f1e8;
}

.atelier-brand__accent {
  color: var(--accent);
}

.atelier-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.atelier-nav a,
.atelier-mobile-nav a {
  color: #f3efe8;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.atelier-nav a.is-active {
  color: var(--accent);
}

.atelier-nav a.is-active::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}

.atelier-toggle {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.atelier-mobile-nav {
  display: none;
}

.atelier-hero {
  position: relative;
  min-height: 1080px;
  background: url("../img/moduraum-lounge-main.png") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.atelier-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.72) 0%, rgba(10, 11, 13, 0.44) 38%, rgba(10, 11, 13, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.28) 0%, rgba(10, 11, 13, 0.48) 100%);
}

.atelier-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 288px 0 0 98px;
}

.atelier-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.8rem, 8vw, 7.8rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.atelier-hero h1 span {
  color: #f3efe6;
}

.atelier-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.atelier-hero p {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  line-height: 1.7;
}

.atelier-hero__actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.btn-gold,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 34px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.btn-gold {
  background: var(--accent);
  color: #18130a;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.66);
  color: #fff;
}

.btn-outline--gold {
  border-color: rgba(217, 167, 61, 0.7);
  color: #f5e8cb;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 88px;
  margin-top: -18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 9, 10, 0.5);
  color: #fff;
  cursor: pointer;
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
}

.hero-arrow--left {
  left: 0;
}

.hero-arrow--right {
  right: 0;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.hero-dots .is-active {
  background: var(--accent);
}

.services-band,
.studio-band,
.projects-band {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.services-band {
  padding: 62px 54px 68px;
}

.section-head {
  margin-bottom: 46px;
}

.section-head--center {
  text-align: center;
}

.section-head__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.section-head h2,
.studio-band__content h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.7rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.service-columns,
.studio-band,
.project-grid,
.atelier-footer__links,
.atelier-footer__bottom {
  display: grid;
}

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

.service-column {
  padding: 0 34px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.service-column:last-child {
  border-right: 0;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}

.service-icon svg {
  width: 58px;
  height: 58px;
}

.service-column h3,
.project-card h3,
.atelier-footer__links h3 {
  margin: 0 0 16px;
}

.service-column h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-column p,
.studio-band__content p,
.atelier-footer__brand p,
.atelier-footer__links p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.72;
}

.service-column a,
.project-card p {
  color: var(--accent);
}

.service-column a {
  display: inline-flex;
  gap: 10px;
  margin-top: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.service-column a::after {
  content: "->";
}

.studio-band {
  grid-template-columns: 0.44fr 0.72fr 0.84fr;
  align-items: stretch;
}

.studio-band__image img {
  height: 100%;
  object-fit: cover;
}

.studio-band__content {
  padding: 66px 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.studio-band__content p {
  margin: 28px 0 34px;
  max-width: 440px;
}

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

.studio-stats article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
  padding: 34px 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.studio-stats article:nth-child(3),
.studio-stats article:nth-child(4) {
  border-bottom: 0;
}

.studio-stats span {
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-size: 4.3rem;
  font-weight: 600;
  line-height: 0.95;
}

.studio-stats p {
  margin: 12px 0 0;
  color: #fff;
  font-size: 1.12rem;
}

.projects-band {
  padding: 62px 22px 56px;
}

.project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.project-card img {
  aspect-ratio: 1.12 / 0.78;
  object-fit: cover;
}

.project-card div {
  padding: 18px 18px 16px;
}

.project-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
}

.project-card p {
  margin: 0;
  font-size: 0.95rem;
}

.projects-band__cta {
  margin-top: 28px;
  text-align: center;
}

.atelier-footer {
  padding: 34px 34px 18px;
  background: #111215;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.atelier-footer__brand {
  max-width: 320px;
}

.atelier-footer__brand a {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.atelier-footer__brand a span {
  color: #f4f0e7;
}

.atelier-footer__brand a em {
  color: var(--accent);
  font-style: normal;
}

.atelier-socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.atelier-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5efe5;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.atelier-footer__links {
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.atelier-footer__links h3 {
  color: #f4f0e8;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.atelier-footer__links a,
.atelier-footer__links p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.atelier-footer__bottom {
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.atelier-footer__bottom div {
  display: flex;
  gap: 22px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.subpage-shell {
  min-height: 100vh;
  background: #fff;
  color: #111;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.subpage-header,
.subpage-two-col,
.portfolio-grid,
.contact-strip {
  display: flex;
}

.subpage-header {
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand.line-brand,
.brand-copy {
  display: flex;
}

.brand.line-brand {
  align-items: center;
}

.brand-copy {
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.3rem;
  font-weight: 700;
}

.brand-copy small,
.subpage-copy p,
.portfolio-card p,
.contact-strip p,
.subpage-hero p,
.back-link {
  color: #666;
}

.back-link {
  font-weight: 600;
}

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

.section-label,
.section-kicker {
  text-transform: uppercase;
}

.subpage-hero h1,
.subpage-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.subpage-hero p,
.subpage-copy p,
.portfolio-card p,
.contact-strip p {
  font-size: 1.02rem;
  line-height: 1.7;
}

.subpage-two-col {
  gap: 56px;
}

.subpage-two-col > * {
  flex: 1 1 0;
}

.portfolio-grid {
  flex-wrap: wrap;
  gap: 22px;
}

.portfolio-card {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 280px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(18, 18, 18, 0.06);
}

.portfolio-card img {
  height: 300px;
  object-fit: cover;
}

.portfolio-card div {
  padding: 18px 18px 22px;
}

.portfolio-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.contact-strip {
  gap: 18px;
  flex-wrap: wrap;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(15, 15, 15, 0.18);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

@media (max-width: 1240px) {
  .atelier-header,
  .atelier-page {
    width: min(100%, calc(100% - 28px));
  }

  .atelier-hero {
    min-height: 920px;
  }

  .atelier-hero__content {
    padding-left: 72px;
    padding-top: 246px;
  }

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

  .service-column:nth-child(2) {
    border-right: 0;
  }

  .service-column:nth-child(1),
  .service-column:nth-child(2) {
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .studio-band {
    grid-template-columns: 1fr;
  }

  .studio-band__content {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .studio-stats article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 980px) {
  .atelier-header,
  .atelier-page {
    width: min(100%, calc(100% - 18px));
  }

  .atelier-header {
    min-height: 72px;
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .atelier-nav {
    display: none;
  }

  .atelier-toggle {
    display: block;
  }

  .atelier-mobile-nav.is-open {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px 22px;
    background: rgba(12, 13, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .atelier-hero {
    min-height: 820px;
  }

  .atelier-hero__content {
    max-width: 620px;
    padding: 208px 24px 0 34px;
  }

  .atelier-hero h1 {
    font-size: 4.2rem;
  }

  .atelier-hero__actions {
    flex-wrap: wrap;
  }

  .service-columns,
  .project-grid,
  .atelier-footer__links,
  .atelier-footer__bottom {
    grid-template-columns: 1fr;
  }

  .service-column,
  .service-column:nth-child(1),
  .service-column:nth-child(2) {
    padding: 0 0 34px;
    margin: 0 0 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-column:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .studio-stats {
    grid-template-columns: 1fr;
  }

  .studio-stats article,
  .studio-stats article:nth-child(3),
  .studio-stats article:nth-child(4) {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .atelier-footer__bottom div {
    flex-wrap: wrap;
  }

  .subpage-two-col {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .atelier-header,
  .atelier-page {
    width: min(100%, calc(100% - 10px));
  }

  .atelier-brand {
    font-size: 1.72rem;
  }

  .atelier-hero {
    min-height: 680px;
    background-position: 68% center;
  }

  .atelier-hero__content {
    padding: 168px 18px 0;
  }

  .atelier-hero h1 {
    font-size: 3.2rem;
    line-height: 0.94;
  }

  .atelier-hero p {
    font-size: 1rem;
  }

  .btn-gold,
  .btn-outline {
    min-height: 58px;
    width: 100%;
  }

  .services-band,
  .projects-band {
    padding-inline: 18px;
  }

  .studio-band__content,
  .atelier-footer {
    padding-inline: 18px;
  }

  .hero-arrow {
    width: 44px;
    height: 70px;
  }

  .portfolio-card {
    min-width: 100%;
  }
}
