:root {
  --ivory: #f8f6f2;
  --ink: #1b1b1b;
  --sand: #d9c9a3;
  --bronze: #b88a44;
  --olive: #5c6f5d;
  --white: #ffffff;
  --muted: #6f706d;
  --line: rgba(27, 27, 27, 0.13);
  --light-line: rgba(248, 246, 242, 0.18);
  --shadow: 0 24px 70px rgba(27, 27, 27, 0.11);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}
.section { padding: clamp(88px, 9vw, 148px) clamp(20px, 5vw, 76px); }
.eyebrow {
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: grid;
  min-height: 94px;
  padding: 7px clamp(20px, 4vw, 64px);
  grid-template-columns: minmax(124px, 1fr) auto minmax(100px, 1fr);
  gap: 22px;
  align-items: center;
  color: var(--ink);
  border-bottom: 1px solid rgba(27, 27, 27, 0.08);
  background: rgba(248, 246, 242, 0.84);
  backdrop-filter: blur(18px);
  transition: min-height .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  min-height: 78px;
  background: rgba(248, 246, 242, 0.97);
  box-shadow: 0 16px 42px rgba(27, 27, 27, 0.08);
}
.brand { display: block; justify-self: start; }
.brand img {
  width: clamp(105px, 9vw, 138px);
  height: auto;
  max-height: 80px;
  object-fit: contain;
}
.site-nav { display: flex; gap: clamp(13px, 1.7vw, 28px); align-items: center; }
.site-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--bronze);
  transition: width .3s ease;
}
.site-nav a:hover::after { width: 100%; }
.header-cta {
  justify-self: end;
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  background: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .3s ease, background .3s ease;
}
.header-cta:hover { color: var(--ink); background: var(--sand); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--sand);
}
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg { object-position: center; animation: hero-reveal 14s ease-out both; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248,246,242,.96), rgba(248,246,242,.78) 38%, rgba(248,246,242,.1) 76%),
    linear-gradient(180deg, rgba(248,246,242,.2), transparent 56%, rgba(27,27,27,.16));
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 100px 0 22px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero-logo {
  width: clamp(176px, 16vw, 215px);
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
  object-position: left center;
}
.hero-kicker {
  margin-bottom: 16px;
  color: var(--bronze);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 600;
}
.hero h1 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 4.7vw, 4.25rem);
  line-height: 1.02;
}
.hero-lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: #50524f;
  font-size: 16px;
  line-height: 1.75;
}
.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ivory); background: var(--ink); box-shadow: 0 16px 34px rgba(27,27,27,.14); }
.button-primary:hover { color: var(--ink); background: var(--sand); }

.business-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
}
.business-nav a {
  display: grid;
  min-height: 140px;
  padding: 24px;
  gap: 22px;
  align-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color .3s ease, background .3s ease;
}
.business-nav a + a { border-left: 1px solid var(--line); }
.business-nav a:hover { color: var(--ivory); background: var(--olive); }
.business-nav span { color: var(--bronze); font-size: 10px; font-weight: 700; }
.business-nav strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; }

.catalog-section { background: var(--ivory); }
.section-sand { background: #eee7d9; }
.catalog-heading {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto clamp(52px, 7vw, 90px);
  grid-template-columns: 1fr .6fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}
.catalog-heading h2, .loft-copy h2, .contact h2 {
  margin-bottom: 0;
  font-size: clamp(46px, 6vw, 84px);
  line-height: .98;
}
.catalog-heading > p, .loft-copy > p, .contact-copy > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
}
.featured-system {
  display: grid;
  width: min(var(--max), 100%);
  min-height: 600px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  grid-template-columns: 1.25fr .75fr;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
  box-shadow: 0 22px 60px rgba(27,27,27,.12);
}
.featured-system > img { min-height: 600px; }
.featured-system > div {
  display: flex;
  padding: clamp(40px, 6vw, 80px);
  flex-direction: column;
  justify-content: center;
  color: var(--ivory);
}
.featured-system h3 { margin-bottom: 22px; font-size: clamp(34px, 4vw, 58px); line-height: 1.02; }
.featured-system > div > p:not(.eyebrow) { color: rgba(248,246,242,.68); line-height: 1.8; }
.featured-system > .material-sample {
  gap: clamp(26px, 4vw, 42px);
  align-items: center;
  color: var(--ink);
  background: var(--white);
}
.material-sample-image {
  display: grid;
  width: min(230px, 100%);
  aspect-ratio: 1;
  padding: 20px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(184,138,68,.22);
  border-radius: 6px;
  background: var(--ivory);
  box-shadow: 0 16px 36px rgba(27,27,27,.09);
}
.material-sample-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.material-sample-copy {
  width: 100%;
  text-align: center;
}
.material-sample-copy .eyebrow { margin-bottom: 14px; }
.material-sample-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.4vw, 48px);
}
.featured-system .material-sample-copy > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.catalog-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 18px;
}
.catalog-grid-four { grid-template-columns: repeat(4, 1fr); }
.catalog-grid-five { grid-template-columns: repeat(5, 1fr); }
.catalog-grid-three { grid-template-columns: repeat(3, 1fr); }
.catalog-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(27,27,27,.07);
  box-shadow: 0 12px 38px rgba(27,27,27,.055);
}
.catalog-card > img { height: 260px; transition: transform .65s ease, filter .65s ease; }
.catalog-card:hover > img { transform: scale(1.04); filter: brightness(.91); }
.catalog-card > div { padding: 25px 24px 28px; }
.catalog-card h3 { margin-bottom: 12px; font-size: clamp(24px, 2.2vw, 33px); line-height: 1.05; }
.catalog-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.loft-section {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 0;
  padding: 0;
  background: var(--sand);
}
.loft-image { min-height: 760px; }
.loft-copy { display: flex; padding: clamp(48px, 7vw, 100px); flex-direction: column; justify-content: center; }
.loft-copy h2 { margin-bottom: 28px; }
.loft-copy ul { display: grid; gap: 12px; margin: 30px 0; padding: 0; list-style: none; }
.loft-copy li { padding-bottom: 10px; border-bottom: 1px solid rgba(27,27,27,.16); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.text-link {
  align-self: flex-start;
  margin-top: 28px;
  padding-bottom: 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--bronze);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.technical-backing {
  display: grid;
  padding: 32px clamp(20px, 5vw, 76px);
  grid-template-columns: auto auto 1fr;
  gap: 28px;
  align-items: center;
  color: rgba(248,246,242,.7);
  background: var(--olive);
}
.technical-backing span { color: var(--sand); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.technical-backing strong { color: var(--ivory); font-family: "Cormorant Garamond", Georgia, serif; font-size: 25px; }
.technical-backing p { margin: 0; justify-self: end; font-size: 13px; }

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(50px, 9vw, 130px);
  color: var(--ivory);
  background: var(--olive);
}
.contact h2 { margin-bottom: 28px; }
.contact-copy > p { max-width: 560px; color: rgba(248,246,242,.72); }
.contact-whatsapp {
  display: inline-flex;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-form { display: grid; gap: 18px; padding: clamp(30px, 4vw, 54px); color: var(--ink); background: var(--ivory); }
.contact-form label { display: grid; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 14px 0;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid rgba(27,27,27,.22);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--bronze); }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .button { margin-top: 10px; }

.site-footer {
  display: grid;
  padding: 42px clamp(20px, 5vw, 76px);
  grid-template-columns: .65fr 1fr .7fr;
  gap: 40px;
  align-items: center;
  color: rgba(248,246,242,.68);
  background: var(--ink);
}
.footer-brand img { width: min(166px,100%); height: auto; object-fit: contain; object-position: left; }
.footer-copy { display: grid; gap: 6px; }
.footer-copy strong { color: var(--ivory); font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; letter-spacing: .08em; }
.footer-copy span { color: var(--sand); }
.footer-links { display: grid; gap: 8px; justify-items: end; font-size: 13px; }
.whatsapp-float {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--ivory);
  border: 1px solid rgba(217,201,163,.72);
  border-radius: 50%;
  background: rgba(27,27,27,.9);
  box-shadow: 0 20px 50px rgba(27,27,27,.24);
  backdrop-filter: blur(14px);
  transition: transform .3s ease, filter .3s ease, box-shadow .3s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-5px); filter: brightness(1.14); box-shadow: 0 28px 62px rgba(27,27,27,.32); }
.reveal-card { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-card.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-reveal { from { transform: scale(1.045); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1120px) {
  .site-header { grid-template-columns: minmax(110px,1fr) auto; }
  .header-cta { display: none; }
  .catalog-grid-four, .catalog-grid-five { grid-template-columns: repeat(2,1fr); }
  .catalog-grid-three { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .site-header { min-height: 80px; grid-template-columns: 1fr auto; }
  .brand img { width: 116px; max-height: 72px; }
  .nav-toggle {
    display: grid;
    width: 44px;
    height: 38px;
    padding: 9px;
    place-items: center;
    border: 1px solid rgba(27,27,27,.25);
    color: var(--ink);
    background: rgba(248,246,242,.72);
  }
  .nav-toggle span { display: block; width: 18px; height: 1px; background: currentColor; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(248,246,242,.98);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; font-size: 11px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(248,246,242,.94), rgba(248,246,242,.62)); }
  .business-nav { grid-template-columns: 1fr 1fr; }
  .catalog-heading, .featured-system, .loft-section, .contact { grid-template-columns: 1fr; }
  .featured-system > img { min-height: 66vw; }
  .featured-system > .material-sample { padding-block: 56px; }
  .loft-image { min-height: 72vw; }
  .technical-backing { grid-template-columns: 1fr; gap: 10px; }
  .technical-backing p { justify-self: start; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-items: start; }
}

@media (max-width: 560px) {
  .section { padding: 74px 18px; }
  .hero-content { width: calc(100% - 36px); padding: 96px 0 28px; }
  .hero-logo { width: min(180px,56vw); }
  .hero h1 { font-size: clamp(2.45rem,11.5vw,3.5rem); }
  .hero-lead { font-size: 14px; line-height: 1.65; }
  .button { width: 100%; }
  .business-nav { grid-template-columns: 1fr; padding: 0 18px 74px; }
  .business-nav a { min-height: 104px; }
  .business-nav a + a { border-left: 0; border-top: 0; }
  .catalog-heading h2, .loft-copy h2, .contact h2 { font-size: 45px; }
  .catalog-grid-four, .catalog-grid-five, .catalog-grid-three { grid-template-columns: 1fr; }
  .featured-system { min-height: 0; }
  .featured-system > img { min-height: 72vw; }
  .featured-system > div { padding: 38px 28px 44px; }
  .material-sample-image { width: min(200px, 74vw); }
  .catalog-card > img { height: 68vw; }
  .loft-copy { padding: 52px 22px 62px; }
  .loft-image { min-height: 82vw; }
  .technical-backing { padding: 28px 18px; }
  .contact { gap: 40px; }
  .contact-form { margin-inline: -4px; padding: 28px 22px; }
  .site-footer { padding: 40px 18px 100px; grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
  .whatsapp-float { right: 16px; bottom: 16px; }
}
