:root {
  --bg: #f7f2ea;
  --bg-soft: #efe6d8;
  --card: rgba(255, 252, 247, 0.88);
  --text: #201814;
  --muted: #6c5a4f;
  --line: rgba(52, 35, 24, 0.12);
  --accent: #8e1238;
  --accent-dark: #6d0d2b;
  --shadow: 0 24px 80px rgba(45, 28, 19, 0.14);
  --wrapper: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(142, 18, 56, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(130, 104, 74, 0.15), transparent 24%),
    linear-gradient(180deg, #f8f4ee 0%, #f4ecdf 52%, #f7f2ea 100%);
  font-family: "Work Sans", "Trebuchet MS", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.wrapper {
  width: var(--wrapper);
  margin: 0 auto;
}

.section-pad {
  padding: 100px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  max-width: 15ch;
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(247, 242, 234, 0.82);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 14px 0 18px;
}

.brand img {
  width: clamp(150px, 19vw, 220px);
}

.menu-toggle {
  display: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.site-nav > a,
.nav-dropdown > a {
  position: relative;
  padding-bottom: 4px;
}

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

.site-nav > a:hover::after,
.nav-dropdown:hover > a::after,
.nav-dropdown > a:hover::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  display: grid;
  gap: 12px;
  min-width: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hero {
  position: relative;
  min-height: calc(100vh - 140px);
}

.hero-slider,
.slide {
  min-height: calc(100vh - 140px);
}

.hero-slider {
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 0 0 92px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-copy {
  width: min(100%, 720px);
  color: #fffaf6;
}

.hero-title {
  font-size: clamp(3rem, 5.1vw, 4.9rem);
  line-height: 0.98;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 13ch;
  text-wrap: balance;
}

.hero-copy p:not(.eyebrow) {
  max-width: 58ch;
  margin-top: 18px;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-solid {
  background: var(--accent);
  color: #fff;
}

.button-solid:hover {
  background: var(--accent-dark);
}

.button-outline {
  border: 1px solid rgba(255, 250, 244, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.dot.is-active {
  background: #fff;
}

.intro {
  display: grid;
  gap: 22px;
}

.intro-heading {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  align-items: center;
}

.intro-heading img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.lead {
  max-width: 78ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  gap: 28px;
  padding-bottom: 100px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.feature-card-offset {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-card img {
  width: 100%;
  height: 360px;
  min-height: 360px;
  object-fit: cover;
}

.feature-card div {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 52px);
}

.feature-card a {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about {
  background: linear-gradient(180deg, rgba(239, 230, 216, 0.46), rgba(255, 250, 244, 0.6));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.service-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.service-list li {
  padding-left: 22px;
  position: relative;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section-heading {
  display: grid;
  gap: 14px;
}

.section-heading h2,
.about-grid h2,
.contact-card h2 {
  max-width: 16ch;
  text-wrap: balance;
}

.gallery-section {
  display: grid;
  gap: 18px;
}

.gallery-copy {
  display: grid;
  gap: 10px;
}

.gallery-grid {
  display: grid;
  gap: 18px;
}

.gallery-grid-cabinets,
.gallery-grid-kitchens,
.gallery-grid-entertainment {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 251, 246, 0.9), rgba(239, 230, 216, 0.8));
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 540px;
}

.contact-details a {
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 600;
}

.contact-card h2 {
  font-size: clamp(1.35rem, 1.85vw, 2rem);
  max-width: 14ch;
  line-height: 1.02;
}

.contact-details p {
  font-size: 0.98rem;
  color: var(--muted);
}

.portfolio-page {
  padding-bottom: 60px;
}

.portfolio-hero {
  padding-bottom: 48px;
}

.portfolio-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}

.portfolio-title {
  max-width: 100%;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
}

.portfolio-lead {
  max-width: 100%;
}

.portfolio-section {
  display: grid;
  gap: 18px;
  padding: 14px 0 18px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-grid-fluid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.portfolio-item {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.portfolio-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: #e8dece;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(20, 15, 12, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(1200px, calc(100vw - 56px));
  max-height: calc(100vh - 96px);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-footer {
  padding: 28px 0 42px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner img {
  width: 140px;
}

@media (max-width: 980px) {
  .topbar {
    justify-content: center;
  }

  .nav-shell {
    position: relative;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    display: none;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.97);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-dropdown {
    display: grid;
    gap: 12px;
  }

  .dropdown-panel {
    position: static;
    opacity: 1;
    pointer-events: auto;
    min-width: 0;
    padding: 12px 0 0 16px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .feature-card,
  .feature-card-offset,
  .about-grid,
  .contact-card,
  .portfolio-hero-grid,
  .intro-heading {
    grid-template-columns: 1fr;
  }

  .feature-card img {
    height: 300px;
    min-height: 300px;
  }

  .gallery-grid-cabinets,
  .gallery-grid-kitchens,
  .gallery-grid-entertainment,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .topbar,
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-shell {
    justify-content: center;
    padding-top: 10px;
  }

  .brand {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .menu-toggle {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .hero-slider,
  .slide {
    min-height: 82vh;
  }

  .slide {
    align-items: center;
    padding-bottom: 76px;
  }

  h1 {
    max-width: 11ch;
  }

  h2 {
    max-width: 14ch;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1,
  .hero-copy h2 {
    max-width: 12ch;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .slider-dots {
    justify-content: center;
  }

  .section-pad {
    padding: 72px 0;
  }

  .intro-heading img {
    max-width: 100%;
  }

  .contact-card h2,
  .portfolio-title {
    max-width: 100%;
  }

  .contact-card h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .gallery-grid-cabinets,
  .gallery-grid-kitchens,
  .gallery-grid-entertainment,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid-fluid {
    grid-template-columns: 1fr;
  }

  .feature-card img {
    height: 220px;
    min-height: 220px;
  }

  .gallery-grid img,
  .portfolio-grid img {
    height: 260px;
  }
}
