:root {
  --bg: #efe7da;
  --bg-soft: #f7f2ea;
  --surface: #fbf7f0;
  --surface-strong: #f0e7d8;
  --ink: #171411;
  --ink-soft: rgba(23, 20, 17, 0.72);
  --line: rgba(23, 20, 17, 0.11);
  --charcoal: #11100e;
  --charcoal-soft: #1b1814;
  --brass: #ba9150;
  --brass-soft: #d3b27d;
  --radius: 8px;
  --shadow-soft: 0 24px 80px rgba(18, 14, 10, 0.08);
  --shadow-strong: 0 40px 100px rgba(10, 8, 6, 0.28);
  --content-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.5), transparent 24rem),
    linear-gradient(180deg, #f4eee5 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header,
section,
.site-footer {
  width: min(100%, calc(var(--content-width) + 4rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.94);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.scrolled {
  background: rgba(247, 242, 234, 0.9);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  width: clamp(8.8rem, 17vw, 11rem);
}

.logo-dark {
  display: none;
}

.site-header.scrolled .logo-light {
  display: none;
}

.site-header.scrolled .logo-dark {
  display: block;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-action {
  min-height: 2.9rem;
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header.scrolled .header-action {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 7rem 1rem 2rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(120deg, rgba(11, 10, 8, 0.45), rgba(11, 10, 8, 0.1) 48%, rgba(11, 10, 8, 0.6)),
    url("assets/ai_hero.png") center center / cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0.14), transparent 28%, rgba(9, 8, 7, 0.7) 100%),
    radial-gradient(circle at 75% 18%, rgba(186, 145, 80, 0.28), transparent 18rem);
}

.hero-copy,
.hero-facts {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 49rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 4.2rem;
  height: 0.22rem;
  margin-top: 0.7rem;
  background: var(--brass);
}

.eyebrow-dark {
  color: var(--brass);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 9.4em;
  margin-bottom: 1rem;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.94;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 0.95;
}

.hero-text,
.section-intro,
.material-band p,
.consultation-steps p,
.showroom-copy p,
.site-footer p,
figcaption p {
  font-size: 1rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 37rem;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions,
.showroom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 3rem;
  padding: 0.82rem 1.3rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: var(--brass);
  color: var(--ink);
}

.button-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.button-light:hover {
  background: #fff;
}

.hero-facts {
  display: grid;
  gap: 0.7rem;
  margin-top: 2.25rem;
}

.hero-facts article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.hero-facts span,
.consultation-steps span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

.hero-facts p,
.consultation-steps p {
  margin-bottom: 0;
}

section {
  padding: 5rem 1rem;
}

.section-heading {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.section-heading-light {
  color: #fff;
}

.section-intro {
  max-width: 37rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-heading-light .section-intro {
  color: rgba(255, 255, 255, 0.76);
}

.collection-grid {
  display: grid;
  gap: 0.85rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 19rem;
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.feature-card-large {
  min-height: 26rem;
}

.feature-card img,
.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.feature-card::after,
.room-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 8, 7, 0.82) 100%);
}

.feature-card-copy,
.room-card figcaption {
  position: absolute;
  inset: auto 1rem 1rem;
  z-index: 1;
}

.card-label {
  margin-bottom: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.feature-card-copy h3,
.room-card figcaption span {
  max-width: 12em;
}

.feature-card-copy a {
  display: inline-flex;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

.material-band {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(186, 145, 80, 0.16), transparent 60%),
    var(--surface);
  border: 1px solid rgba(186, 145, 80, 0.18);
}

.material-band h3 {
  max-width: 10em;
  margin-bottom: 0;
}

.material-band p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.rooms {
  background:
    linear-gradient(180deg, rgba(15, 13, 11, 0.94), rgba(15, 13, 11, 0.98)),
    var(--charcoal);
}

.rooms-grid {
  display: grid;
  gap: 0.85rem;
}

.room-card {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.room-card-tall {
  min-height: 26rem;
}

.room-card-wide {
  min-height: 20rem;
}

.room-card figcaption span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.room-card figcaption p {
  max-width: 19rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.consultation-layout {
  display: grid;
  gap: 1rem;
}

.consultation-steps,
.consultation-form {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 20, 17, 0.08);
  box-shadow: var(--shadow-soft);
}

.consultation-steps {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.consultation-steps article {
  padding: 1.4rem;
  background: var(--surface);
}

.consultation-form {
  display: grid;
  gap: 0.95rem;
  padding: 1.4rem;
  background: rgba(255, 251, 245, 0.92);
}

.consultation-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.95rem 1rem;
  background: #fff;
  color: var(--ink);
}

.consultation-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.showroom {
  display: grid;
  gap: 1.4rem;
  background:
    linear-gradient(100deg, rgba(186, 145, 80, 0.14), transparent 40%),
    var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 1rem;
}

.showroom-logo {
  width: min(18rem, 78vw);
  margin: 1rem 0 1.3rem;
}

.showroom-copy p {
  max-width: 34rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.showroom-actions {
  align-items: end;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem 1rem 5.8rem;
  background: transparent;
}

.site-footer img {
  width: 10rem;
}

.site-footer p {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.site-footer a {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mobile-bar {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 16, 14, 0.94);
  color: #fff;
  box-shadow: 0 20px 60px rgba(10, 8, 6, 0.28);
  backdrop-filter: blur(18px);
}

.mobile-bar a {
  min-height: 3.3rem;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-bar a + a {
  background: var(--brass);
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (hover: hover) {
  .feature-card:hover img,
  .room-card:hover img {
    transform: scale(1.04);
  }
}

@media (min-width: 760px) {
  .site-header {
    padding: 1rem 2rem;
  }

  .desktop-nav {
    display: flex;
  }

  .hero {
    padding: 8rem 2rem 3rem;
  }

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

  section {
    padding: 6.5rem 2rem;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr);
    align-items: end;
  }

  .collection-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }

  .feature-card-large {
    grid-row: span 2;
  }

  .material-band {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }

  .rooms-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .room-card-tall {
    grid-column: span 5;
    grid-row: span 2;
  }

  .room-card:not(.room-card-tall):not(.room-card-wide) {
    grid-column: span 7;
  }

  .room-card-wide {
    grid-column: span 7;
  }

  .consultation-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.85fr);
    align-items: start;
  }

  .showroom {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding: 2.5rem 2rem;
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    align-items: end;
    padding: 2.5rem 2rem 2rem;
  }

  .mobile-bar {
    display: none;
  }
}

@media (min-width: 1160px) {
  .site-header,
  section,
  .site-footer {
    width: min(100%, calc(var(--content-width) + 6rem));
  }

  .site-header {
    padding-inline: 3rem;
  }

  .hero {
    padding-inline: 3rem;
  }

  section {
    padding-inline: 3rem;
    padding-block: 7.5rem;
  }

  .showroom,
  .site-footer {
    padding-inline: 3rem;
  }
}
