:root {
  --ink: #151413;
  --muted: #6f6a63;
  --paper: #f4f0e8;
  --warm: #ddd2c1;
  --stone: #b9ad9e;
  --coffee: #2a221d;
  --olive: #55614d;
  --line: rgba(21, 20, 19, .14);
  --topbar-size: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.premium-page {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, 0)),
    var(--paper);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

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

.premium-page a {
  color: inherit;
}

.premium-page .site-shell {
  width: min(100%, 1920px);
  max-width: none;
  margin: 0 auto;
  overflow: clip;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(42, 34, 29, .08);
}

.premium-page .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--topbar-size);
  padding: 12px max(28px, 6vw);
  border-bottom: 1px solid rgba(21, 20, 19, .12);
  background: rgba(244, 240, 232, .92);
  backdrop-filter: blur(18px);
}

.premium-page .brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  text-decoration: none;
}

.premium-page .brand__logo {
  width: 168px;
  height: 48px;
  object-fit: contain;
}

.premium-page .brand__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.premium-page .brand__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 33px;
  line-height: .95;
}

.premium-page .brand__line,
.premium-page .micro,
.premium-page .eyebrow {
  letter-spacing: 0;
}

.premium-page .brand__line {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.premium-page .nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.premium-page .nav a {
  text-decoration: none;
  white-space: nowrap;
}

.premium-page .button,
.premium-page .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(21, 20, 19, .18);
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.premium-page .button {
  color: #fbf8f2;
  background: var(--ink);
  border-color: var(--ink);
}

.premium-page .button:hover,
.premium-page .ghost-button:hover {
  transform: translateY(-2px);
}

.premium-page .button--accent {
  color: #fffaf0;
  background: var(--coffee);
  border-color: var(--coffee);
}

.premium-page .ghost-button {
  color: var(--ink);
  background: rgba(255, 255, 255, .42);
}

.premium-page .ghost-button--light {
  color: #fffaf0;
  border-color: rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .08);
}

.premium-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 36px;
  height: clamp(470px, calc(100svh - var(--topbar-size)), 620px);
  min-height: 470px;
  padding: 58px max(28px, 6vw);
  isolation: isolate;
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, .82), rgba(12, 11, 10, .36) 52%, rgba(12, 11, 10, .12)),
    linear-gradient(0deg, rgba(12, 11, 10, .42), rgba(12, 11, 10, .08)),
    var(--hero-image) center / cover no-repeat;
}

.premium-hero__content {
  max-width: 820px;
}

.premium-hero .eyebrow,
.premium-page .eyebrow {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.premium-hero h1,
.premium-page h1,
.premium-page h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

.premium-hero h1 {
  max-width: 860px;
  margin-top: 14px;
  font-size: 86px;
  line-height: .9;
}

.premium-page .lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, .86);
  font-size: 20px;
  line-height: 1.55;
}

.premium-page .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.premium-page .hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  min-height: 0;
  border-bottom: 1px solid rgba(21, 20, 19, .12);
  background: #f7f4ee;
}

.premium-page .hero__copy {
  display: grid;
  align-content: center;
  gap: 34px;
  min-height: clamp(470px, calc(100svh - var(--topbar-size)), 620px);
  padding: 52px max(28px, 6vw);
}

.premium-page .hero__text {
  max-width: 760px;
}

.premium-page .hero h1 {
  margin-top: 14px;
  font-size: 76px;
  line-height: .92;
}

.premium-page .hero .lead {
  color: var(--muted);
}

.premium-page .hero__media {
  position: relative;
  min-height: clamp(470px, calc(100svh - var(--topbar-size)), 620px);
  margin: 0;
  overflow: hidden;
}

.premium-page .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-page .hero .proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.premium-page .hero .proof-strip div {
  min-height: 116px;
  padding: 20px;
  background: #eee6da;
}

.premium-page .hero .proof-strip b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.premium-page .hero .proof-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.main-page .hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  height: clamp(470px, calc(100svh - var(--topbar-size)), 620px);
  overflow: hidden;
  color: #fffaf0;
  background: #171513;
}

.main-page .hero__media {
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: 0;
}

.main-page .hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 11, 10, .86), rgba(12, 11, 10, .46) 52%, rgba(12, 11, 10, .12)),
    linear-gradient(0deg, rgba(12, 11, 10, .22), rgba(12, 11, 10, .08));
}

.main-page .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-page .hero__copy {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  min-height: 100%;
  padding: 52px max(28px, 6vw);
}

.main-page .hero h1 {
  font-size: 72px;
}

.main-page .hero .lead {
  color: rgba(255, 250, 240, .76);
}

.main-page .hero .proof-strip,
.main-page .hero .image-caption {
  display: none;
}

.main-page .hero .ghost-button {
  color: #fffaf0;
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .08);
}

.premium-hero__aside {
  display: grid;
  gap: 1px;
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.premium-hero__aside div {
  display: grid;
  align-content: end;
  gap: 16px;
  min-height: 126px;
  padding: 22px;
  background: rgba(11, 10, 9, .18);
}

.premium-hero__aside span,
.proof-band span,
.premium-services span,
.editorial-card span,
.reference-card span {
  color: rgba(255, 250, 240, .68);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.premium-hero__aside b {
  color: #fffaf0;
  font-size: 17px;
  line-height: 1.35;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(21, 20, 19, .12);
  border-bottom: 1px solid rgba(21, 20, 19, .12);
  background: #ede5d8;
}

.proof-band div {
  min-height: 118px;
  padding: 28px max(22px, 3vw);
  border-right: 1px solid rgba(21, 20, 19, .12);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band span {
  color: var(--muted);
}

.proof-band b {
  display: block;
  margin-top: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  line-height: 1.02;
}

.premium-page .section {
  padding: 82px max(28px, 6vw);
}

.premium-page .section--editorial {
  background: #f7f4ee;
}

.premium-page .section--dark {
  color: #fffaf0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)),
    #1c1916;
}

.premium-page .section__head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .75fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.premium-page h2 {
  font-size: 58px;
  line-height: .96;
}

.premium-page h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.premium-page .section__intro {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.premium-page .section--dark .section__intro {
  color: rgba(255, 250, 240, .68);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 14px;
}

.editorial-card,
.reference-card,
.atelier-split figure {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #d9d0c3;
}

.editorial-card img,
.reference-card img,
.atelier-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-card::after,
.reference-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .72));
}

.editorial-card figcaption,
.reference-card {
  color: #fffaf0;
}

.editorial-card figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 22px;
}

.editorial-card span {
  color: rgba(255, 250, 240, .72);
}

.editorial-card b {
  display: block;
  max-width: 540px;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.35;
}

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

.editorial-card--wide {
  grid-column: span 2;
}

.premium-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.premium-services article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .28);
}

.premium-services span {
  color: var(--olive);
}

.premium-services h3 {
  margin-top: 58px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
}

.premium-services p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.atelier-split {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
}

.atelier-split figure {
  min-height: 560px;
}

.atelier-split > div {
  display: grid;
  align-content: center;
  gap: 22px;
}

.atelier-split .eyebrow {
  color: var(--olive);
}

.atelier-split h2 {
  margin-top: 12px;
}

.premium-page .list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.65;
}

.premium-page .list li {
  padding-left: 22px;
  background: linear-gradient(var(--olive), var(--olive)) left .72em / 7px 1px no-repeat;
}

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

.reference-card {
  display: block;
  min-height: 360px;
  text-decoration: none;
}

.reference-card img {
  position: absolute;
  inset: 0;
}

.reference-card span,
.reference-card b {
  position: relative;
  z-index: 1;
}

.reference-card span {
  display: block;
  padding: 22px 22px 0;
}

.reference-card b {
  display: block;
  max-width: 290px;
  margin: 218px 22px 0;
  font-size: 18px;
  line-height: 1.35;
}

.premium-page .steps,
.premium-page .faq-list,
.premium-page .cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.premium-page .step,
.premium-page .faq-item,
.premium-page .card {
  min-height: 210px;
  padding: 28px;
  background: #f7f4ee;
}

.premium-page .step h3,
.premium-page .faq-item h3,
.premium-page .card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
}

.premium-page .step p,
.premium-page .faq-item p,
.premium-page .card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.premium-page .quote-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .75fr);
  gap: 54px;
  padding: 52px;
  color: #fffaf0;
  background: var(--coffee);
}

.premium-page blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

.premium-page .quote-card p {
  margin: 0;
  color: rgba(255, 250, 240, .72);
  line-height: 1.75;
}

.premium-page .quote-card .ghost-button {
  color: #fffaf0;
  border-color: rgba(255, 255, 255, .36);
  background: transparent;
}

.premium-page .contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1fr);
  gap: 16px;
}

.premium-page .contact-panel,
.premium-page .form-card {
  padding: 36px;
  background: #f8f5ef;
  border: 1px solid var(--line);
}

.premium-page .contact-panel {
  display: grid;
  align-content: space-between;
  min-height: 520px;
  color: #fffaf0;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, .2), rgba(12, 11, 10, .82)),
    url("/assets/images/client/main-selected/main-wood-door-panels.jpg") center / cover no-repeat;
}

.premium-page .contact-number {
  display: block;
  margin-top: 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  line-height: .95;
  text-decoration: none;
}

.premium-page .contact-panel p {
  max-width: 420px;
  color: rgba(255, 250, 240, .78);
  line-height: 1.7;
}

.premium-page .form-card h2 {
  margin-top: 8px;
  font-size: 50px;
}

.premium-page .lead-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.premium-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.premium-page .field {
  display: grid;
  gap: 8px;
}

.premium-page label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.premium-page input,
.premium-page textarea,
.premium-page select {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid rgba(21, 20, 19, .18);
  border-radius: 0;
  background: #fffaf3;
  font: inherit;
}

.premium-page textarea {
  min-height: 118px;
  resize: vertical;
}

.premium-page .form-status {
  min-height: 22px;
  color: var(--muted);
  line-height: 1.4;
}

.premium-page .form-status.is-success {
  color: #2f6a39;
}

.premium-page .form-status.is-error {
  color: #9b2f23;
}

.premium-page .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(28px, 6vw);
  color: rgba(255, 250, 240, .76);
  background: #151413;
}

.premium-page .footer strong {
  color: #fffaf0;
}

.premium-page .footer a {
  text-decoration: none;
}

.premium-page .sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 30;
  display: none;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  color: #fffaf0;
  text-decoration: none;
  background: var(--coffee);
  box-shadow: 0 18px 45px rgba(21, 20, 19, .22);
}

@media (max-width: 1180px) {
  .premium-page .nav {
    gap: 16px;
    font-size: 14px;
  }

  .premium-hero h1 {
    font-size: 68px;
  }

  .premium-services,
  .reference-grid,
  .premium-page .steps,
  .premium-page .faq-list,
  .premium-page .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --topbar-size: 70px;
  }

  .premium-page .topbar {
    padding: 10px 18px;
  }

  .premium-page .brand__logo {
    width: 132px;
  }

  .premium-page .brand__name,
  .premium-page .brand__line,
  .premium-page .nav {
    display: none;
  }

  .premium-hero {
    grid-template-columns: 1fr;
    align-items: end;
    height: auto;
    min-height: 610px;
    padding: 42px 18px;
  }

  .premium-hero__aside {
    display: none;
  }

  .premium-hero h1 {
    font-size: 52px;
  }

  .premium-page .lead {
    font-size: 18px;
  }

  .proof-band,
  .premium-page .hero,
  .premium-page .section__head,
  .atelier-split,
  .premium-page .quote-card,
  .premium-page .contact-layout {
    grid-template-columns: 1fr;
  }

  .premium-page .hero__copy,
  .premium-page .hero__media {
    min-height: auto;
  }

  .premium-page .hero h1 {
    font-size: 52px;
  }

  .premium-page .hero .proof-strip {
    grid-template-columns: 1fr;
  }

  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
  }

  .editorial-card--large,
  .editorial-card--wide {
    grid-column: span 2;
  }

  .premium-page .section {
    padding: 58px 18px;
  }

  .premium-page h2 {
    font-size: 44px;
  }

  .atelier-split figure {
    min-height: 420px;
  }

  .premium-page .quote-card,
  .premium-page .contact-panel,
  .premium-page .form-card {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .premium-hero {
    min-height: 620px;
  }

  .premium-hero h1 {
    font-size: 44px;
    line-height: .95;
  }

  .premium-page .hero__actions,
  .premium-page .form-grid {
    grid-template-columns: 1fr;
  }

  .premium-page .hero__actions {
    display: grid;
  }

  .premium-page .button,
  .premium-page .ghost-button {
    width: 100%;
    min-height: 52px;
  }

  .proof-band,
  .premium-services,
  .reference-grid,
  .premium-page .steps,
  .premium-page .faq-list,
  .premium-page .cards {
    grid-template-columns: 1fr;
  }

  .editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .editorial-card,
  .editorial-card--large,
  .editorial-card--wide {
    grid-column: auto;
    min-height: 380px;
  }

  .reference-card {
    min-height: 340px;
  }

  .premium-page blockquote,
  .premium-page .contact-number {
    font-size: 38px;
  }

  .premium-page .footer {
    display: grid;
  }

  .premium-page .sticky-cta {
    display: none;
    left: 14px;
    right: 14px;
    bottom: 12px;
  }
}

/* Main site completion pass: scoped so the door landing keeps its own visual language. */
.premium-page {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(21, 20, 19, .12);
  touch-action: manipulation;
}

.main-page {
  overflow-x: hidden;
}

.main-page .skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #fffaf0;
  background: #151413;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(21, 20, 19, .22);
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(.2, .8, .2, 1);
}

.main-page .skip-link:focus-visible {
  transform: translateY(0);
}

.main-page :is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid rgba(121, 55, 47, .9);
  outline-offset: 3px;
}

.main-page :is(.button, .ghost-button) {
  transition-property: scale, transform, background-color, color, border-color, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(.2, .8, .2, 1);
}

.main-page :is(.button, .ghost-button):active {
  scale: .96;
}

.main-page :is(h1, h2, h3) {
  text-wrap: balance;
}

.main-page :is(p, li, figcaption, .section__intro) {
  text-wrap: pretty;
}

.main-page img {
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}

.main-page .brand__logo {
  outline: 0;
}

.main-page .section--dark img,
.main-page .hero img {
  outline-color: rgba(255, 255, 255, .1);
}

.main-page :is(.section, .material-strip, .hero) {
  scroll-margin-top: calc(var(--topbar-size) + 22px);
}

.main-page .hero__copy {
  gap: 22px;
}

.main-page .hero h1 {
  max-width: 780px;
  font-size: clamp(56px, 6.1vw, 88px);
  line-height: .88;
}

.main-page .hero .lead {
  max-width: 690px;
  margin-top: 20px;
}

.main-page .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 760px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 250, 240, .22);
  border-bottom: 1px solid rgba(255, 250, 240, .18);
}

.main-page .hero__facts span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: rgba(255, 250, 240, .78);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 250, 240, .18);
}

.main-page .hero__facts span:first-child {
  padding-left: 0;
}

.main-page .hero__facts span:last-child {
  border-right: 0;
}

.main-page .material-strip__spec b {
  max-width: 430px;
}

.main-page :is(.service-card, .card, .faq-item, .form-card, .contact-panel, .step) {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .04),
    0 1px 2px -1px rgba(0, 0, 0, .08),
    0 20px 44px rgba(21, 20, 19, .035);
}

.main-page .service-card {
  min-height: 255px;
}

.main-page .service-card h3,
.main-page .card h3,
.main-page .step h3,
.main-page .faq-item h3 {
  color: #211c18;
}

.main-page .section--dark .section__head {
  align-items: start;
}

.main-page .project-tile {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 24px 80px rgba(0, 0, 0, .16);
}

.main-page .project-tile figcaption {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .06),
    0 18px 40px rgba(22, 22, 21, .18);
}

.main-page .reference-card {
  display: grid;
  align-content: end;
  min-height: 390px;
  padding: 22px;
  cursor: default;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .09),
    0 20px 60px rgba(0, 0, 0, .18);
}

.main-page .reference-card::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .18) 38%, rgba(0, 0, 0, .82)),
    linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .04) 62%);
}

.main-page .reference-card img {
  transform: scale(1.01);
  filter: saturate(.86) contrast(1.04);
}

.main-page .reference-card--living img {
  object-position: 52% 60%;
}

.main-page .reference-card--kitchen img {
  object-position: 50% 54%;
}

.main-page .reference-card--doors img {
  object-position: 50% 42%;
}

.main-page .reference-card--vanity img {
  object-position: 50% 48%;
}

.main-page .reference-card span {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  padding: 0;
  color: rgba(255, 250, 240, .74);
}

.main-page .reference-card b {
  max-width: 330px;
  margin: 0;
  font-size: 19px;
  text-shadow: 0 14px 34px rgba(0, 0, 0, .42);
}

.main-page :is(.project-tile, .reference-card)[data-lightbox-item] {
  cursor: zoom-in;
}

.main-page :is(.project-tile, .reference-card)[data-lightbox-item]:focus-visible {
  outline: 2px solid rgba(255, 250, 240, .9);
  outline-offset: 5px;
}

.main-page .reference-card[data-lightbox-item] {
  cursor: zoom-in;
}

body.has-lightbox {
  overflow: hidden;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 250, 240, .1), transparent 34%),
    rgba(13, 12, 11, .94);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 180ms ease-out;
}

.image-lightbox.is-open {
  opacity: 1;
}

.image-lightbox__figure {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 1440px);
  max-height: calc(100svh - 54px);
  margin: 0;
}

.image-lightbox__image {
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 138px);
  object-fit: contain;
  background: #151413;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .48);
}

.image-lightbox__caption {
  max-width: 920px;
  color: rgba(255, 250, 240, .78);
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.image-lightbox__close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 1001;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 250, 240, .34);
  border-radius: 999px;
  color: #fffaf0;
  background: rgba(21, 20, 19, .78);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.main-page .cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.main-page .contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(280px, .9fr) auto;
  align-content: stretch;
  min-height: 100%;
  padding: 0;
  background: #201c18;
}

.main-page .contact-panel::before {
  content: none;
}

.main-page .contact-panel__image {
  position: relative;
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, .04), rgba(20, 18, 16, .18)),
    url("/assets/images/client/main-selected/main-kitchen-detail.jpg") 50% 48% / cover no-repeat;
}

.main-page .contact-panel__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  content: "";
  background: linear-gradient(180deg, transparent, #201c18);
}

.main-page .contact-panel__body {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
}

.main-page .contact-panel > * {
  position: relative;
  z-index: 1;
}

.main-page .contact-number {
  margin: 0;
  font-size: clamp(36px, 3.3vw, 54px);
  line-height: .96;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
}

.main-page .contact-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.main-page .contact-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: rgba(255, 250, 240, .84);
  border: 1px solid rgba(255, 250, 240, .18);
  background: rgba(255, 250, 240, .07);
  font-size: 13px;
  font-weight: 700;
}

.main-page .field input,
.main-page .field textarea,
.main-page .field select {
  outline: 0;
  transition-property: border-color, box-shadow, background-color;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.main-page .field input:focus-visible,
.main-page .field textarea:focus-visible,
.main-page .field select:focus-visible {
  border-color: rgba(121, 55, 47, .72);
  box-shadow: 0 0 0 4px rgba(121, 55, 47, .11);
  background-color: #fffdf8;
}

.main-page .field input::placeholder,
.main-page .field textarea::placeholder {
  color: rgba(21, 20, 19, .42);
}

.main-page .form-card .section__intro {
  max-width: 620px;
}

.main-page .section--compact {
  padding-top: 42px;
  padding-bottom: 42px;
}

.main-page .service-card--link {
  color: inherit;
  text-decoration: none;
}

.main-page .service-card--link:hover {
  transform: translateY(-2px);
}

.main-page .card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: #79372f;
  font-size: 13px;
  font-weight: 800;
}

.main-page .door-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .56fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  color: #fffaf0;
  border: 1px solid rgba(255, 250, 240, .18);
  background:
    linear-gradient(90deg, rgba(21, 20, 19, .95), rgba(42, 34, 29, .86)),
    url("/assets/images/client/main-selected/main-hidden-door.jpg") right 42% / min(520px, 38vw) auto no-repeat,
    #151413;
}

.main-page .door-route .eyebrow,
.main-page .door-route .section__intro {
  color: rgba(255, 250, 240, .74);
}

.main-page .door-route h2 {
  max-width: 760px;
  margin-top: 12px;
}

.main-page .door-route__actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.main-page .door-route__actions .ghost-button {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, .34);
  background: rgba(255, 250, 240, .06);
}

.main-page .door-route__facts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.main-page .door-route__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: rgba(255, 250, 240, .82);
  border: 1px solid rgba(255, 250, 240, .18);
  background: rgba(255, 250, 240, .07);
  font-size: 13px;
  font-weight: 700;
}

.main-page .contact-actions {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.main-page .contact-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  color: #fffaf0;
  border: 1px solid rgba(255, 250, 240, .18);
  background: rgba(255, 250, 240, .07);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.main-page .contact-action::after {
  content: ">";
  color: rgba(255, 250, 240, .58);
}

.main-page .consent-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(21, 20, 19, .68);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
}

.main-page .consent-field input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: #2a221d;
}

.main-page .consent-field a {
  color: #2a221d;
  font-weight: 800;
}

.main-page .footer--main {
  display: grid;
  grid-template-columns: minmax(220px, .6fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 70px);
  padding: 44px max(28px, 6vw);
}

.main-page .footer__brand {
  display: grid;
  gap: 8px;
}

.main-page .footer__brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.main-page .footer__grid {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(190px, .9fr) minmax(220px, 1fr);
  gap: 22px;
}

.main-page .footer__item,
.main-page .footer__links {
  display: grid;
  gap: 8px;
}

.main-page .footer__item span {
  color: rgba(255, 250, 240, .52);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-page .footer__item p {
  margin: 0;
  color: rgba(255, 250, 240, .82);
}

.main-page .footer__phone {
  color: #fffaf0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.main-page .footer__links a {
  width: fit-content;
  color: rgba(255, 250, 240, .82);
  font-weight: 700;
}

.main-page .footer__links a:hover {
  color: #fffaf0;
}

.legal-page .legal-hero,
.legal-page .legal-content {
  padding: 72px max(28px, 6vw);
}

.legal-page .legal-hero {
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(21, 20, 19, .94), rgba(42, 34, 29, .82)),
    #151413;
}

.legal-page .legal-hero h1 {
  max-width: 900px;
  margin: 12px 0 0;
  font-size: clamp(44px, 5vw, 76px);
}

.legal-page .legal-content {
  display: grid;
  gap: 28px;
  max-width: 1060px;
}

.legal-page .legal-content section {
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-page .legal-content h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.legal-page .legal-content p,
.legal-page .legal-content li {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .main-page .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-page .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .main-page .topbar {
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .main-page .nav {
    display: flex;
    margin-left: auto;
  }

  .main-page .nav a:not(.button) {
    display: none;
  }

  .main-page .nav .button {
    width: auto;
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .main-page .hero h1 {
    font-size: clamp(48px, 10.8vw, 60px);
  }

  .main-page .hero__facts {
    margin-top: 18px;
  }

  .main-page .door-route,
  .main-page .footer--main {
    grid-template-columns: 1fr;
  }

  .main-page .door-route {
    background:
      linear-gradient(90deg, rgba(21, 20, 19, .95), rgba(42, 34, 29, .86)),
      #151413;
  }
}

@media (max-width: 620px) {
  .premium-page.main-page {
    padding-bottom: 0;
  }

  .main-page :is(.section, .material-strip, .hero) {
    scroll-margin-top: calc(var(--topbar-size) + 106px);
  }

  .main-page .topbar {
    position: sticky;
    top: 0;
  }

  .main-page .brand__logo {
    width: 110px;
  }

  .main-page .nav .button {
    min-height: 42px;
    padding: 0 13px;
    font-size: 13px;
  }

  .main-page .hero {
    min-height: 0;
    height: auto;
  }

  .main-page .hero__copy {
    min-height: 615px;
    padding: 46px 22px 38px;
  }

  .main-page .hero h1 {
    max-width: 340px;
    font-size: clamp(45px, 13vw, 52px);
    line-height: .93;
  }

  .main-page .hero .lead {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.58;
  }

  .main-page .hero__facts {
    display: grid;
    margin-top: 20px;
  }

  .main-page .hero__facts span {
    min-height: 35px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, .14);
    font-size: 12px;
  }

  .main-page .hero__facts span:last-child {
    border-bottom: 0;
  }

  .main-page .material-strip__spec {
    padding: 18px 22px;
  }

  .main-page .service-card {
    min-height: 210px;
  }

  .main-page .section__head {
    gap: 18px;
  }

  .main-page .cards {
    grid-template-columns: 1fr;
  }

  .main-page .contact-panel {
    min-height: 420px;
  }

  .main-page .form-card h2 {
    font-size: clamp(39px, 12vw, 48px);
  }

  .main-page .door-route {
    padding: 26px 22px;
  }

  .main-page .door-route__actions,
  .main-page .footer__grid {
    grid-template-columns: 1fr;
  }

  .main-page .footer--main {
    padding: 36px 22px;
  }

  .main-page .footer__brand strong {
    font-size: 30px;
  }

  .main-page .footer__phone {
    font-size: 28px;
  }

  .image-lightbox {
    padding: 14px;
  }

  .image-lightbox__figure {
    gap: 10px;
    max-height: calc(100svh - 28px);
  }

  .image-lightbox__image {
    max-height: calc(100svh - 112px);
  }

  .image-lightbox__caption {
    font-size: 12px;
  }

  .image-lightbox__close {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .main-page .sticky-cta {
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: none;
    min-height: 52px;
    color: #fffaf0;
    background: #2a221d;
    box-shadow: 0 18px 45px rgba(21, 20, 19, .25);
  }
}

@media (max-width: 620px) {
  .legal-page .legal-hero h1 {
    font-size: 38px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

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

  .main-page *,
  .main-page *::before,
  .main-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
