/* ==========================================================================
   DWS — Design. Craft. Elevate.
   Shared stylesheet for all pages
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  /* Color */
  --black: #0a0908;
  --panel: #121110;
  --panel-2: #17150f;
  --line: rgba(201, 151, 79, 0.22);
  --line-strong: rgba(201, 151, 79, 0.45);
  --gold: #c9974f;
  --gold-light: #e3bd83;
  --gold-dim: #8a6a3c;
  --cream: #f4efe4;
  --muted: #a79f92;
  --muted-2: #7c766a;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max: 1120px;
  --gap: 1rem;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}
.section--tight { padding: 48px 0; }

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------------------------------------------------------------------- */
/* Typography                                                              */
/* ---------------------------------------------------------------------- */

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--cream);
}

.h1 {
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.h1 .accent { color: var(--gold); }

.h2 {
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  font-weight: 500;
}

.h3 {
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  font-weight: 600;
}

.lede {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 46ch;
  margin: 0 0 28px;
}

.rule-short {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 0 0 20px;
}

.section-head { margin-bottom: 32px; }
.section-head.center { text-align: center; }
.section-head.center .rule-short { margin-inline: auto; }
.section-head.center .lede { margin-inline: auto; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-solid {
  background: var(--gold);
  color: var(--black);
}
.btn-solid:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 239, 228, 0.35);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
}
.link-arrow svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 38px;
  height: 38px;
  flex: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.logo-text .tag {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-top: 3px;
}

.hamburger {
  background: none;
  border: none;
  color: var(--cream);
  padding: 6px;
  display: flex;
}
.hamburger svg { width: 24px; height: 24px; }

.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb .current { color: var(--gold); }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--black);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer .wrap { padding-top: 16px; padding-bottom: 40px; }
.nav-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.nav-drawer-close { background: none; border: none; color: var(--cream); }
.nav-drawer-close svg { width: 24px; height: 24px; }
.nav-drawer a.nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}
.nav-drawer a.nav-link:hover { color: var(--gold); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, #17130d 0%, #0a0908 62%);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  opacity: 0.55;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.15) 0%, rgba(10,9,8,0.55) 55%, rgba(10,9,8,0.97) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 0 44px;
}

/* ---------------------------------------------------------------------- */
/* Placeholder photography                                                 */
/* Swap background-image on these with real client photography when ready. */
/* ---------------------------------------------------------------------- */

.ph {
  position: relative;
  background-color: #1c1712;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,151,79,0.16), rgba(0,0,0,0.55));
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,239,228,0.75);
  z-index: 1;
}

/* Real client material photography */
.ph-metal    { background-image: url('../assets/photos/materials/material-metal.jpg'); background-size: cover; background-position: center; }
.ph-wood     { background-image: url('../assets/photos/materials/material-wood.jpg'); background-size: cover; background-position: center; }
.ph-glass    { background-image: url('../assets/photos/materials/material-glass.jpg'); background-size: cover; background-position: center; }
.ph-acrylic  { background-image: url('../assets/photos/materials/material-acrylic.jpg'); background-size: cover; background-position: center; }
.ph-stone    { background-image: url('../assets/photos/materials/material-stone.jpg'); background-size: cover; background-position: center; }
.ph-composite{ background-image: url('../assets/photos/materials/material-composite.jpg'); background-size: cover; background-position: center; }
.ph-specialty{ background-image: url('../assets/photos/materials/material-specialty.jpg'); background-size: cover; background-position: center; }
/* Generated original vector texture/scene assets — still used where no photo exists yet */
.ph-mesh     { background-image: url('../assets/patterns/mesh-weave.svg'); background-size: cover; background-position: center; }
.ph-aluminum { background-image: url('../assets/patterns/aluminum-brushed.svg'); background-size: cover; background-position: center; }
.ph-led      { background-image: url('../assets/patterns/led-rope.svg'); background-size: cover; background-position: center; }
.ph-mirror   { background-image: url('../assets/patterns/mirror-facet.svg'); background-size: cover; background-position: center; }
.ph-dark-interior { background-image: url('../assets/patterns/interior-scene.svg'); background-size: cover; background-position: center; }
.ph-outdoor  { background-image: url('../assets/patterns/outdoor-scene.svg'); background-size: cover; background-position: center; }
.ph-bar      { background-image: url('../assets/patterns/bar-scene.svg'); background-size: cover; background-position: center; }
.ph-screens  { background-image: url('../assets/patterns/screens-pattern.svg'); background-size: cover; background-position: center; }

/* ---------------------------------------------------------------------- */
/* Icon feature rows                                                       */
/* ---------------------------------------------------------------------- */

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex: none;
}
.icon-circle svg { width: 20px; height: 20px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 12px;
}
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }

.feature-item { text-align: left; }
.feature-item .icon-circle { margin-bottom: 12px; }
.feature-item h4 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--cream);
}
.feature-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.feature-strip {
  padding-top: 32px;
  padding-bottom: 8px;
}

/* list rows with icon + title + desc, full width (used for benefits, "why choose") */
.row-list { display: flex; flex-direction: column; }
.row-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.row-item:last-child { }
.row-item .icon-circle { margin-top: 2px; }
.row-item h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.row-item p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* clickable spec rows with chevron, used on architectural screens page */
.spec-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.spec-row .icon-circle { border-radius: 4px; }
.spec-row .body { flex: 1; }
.spec-row h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 4px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.spec-row h4 svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 3px; }
.spec-row p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ---------------------------------------------------------------------- */
/* Card / collection grid                                                  */
/* ---------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.card {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius);
}
.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
  text-align: center;
  padding: 10px;
}
.card-overlay .icon-circle {
  width: 34px; height: 34px;
  background: rgba(10,9,8,0.55);
}
.card-overlay .icon-circle svg { width: 16px; height: 16px; }
.card-overlay span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}

/* material swatch grid */
.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.material-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.material-item {
  aspect-ratio: 1 / 0.85;
  position: relative;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
}
.material-item span {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px;
}
.material-item.more {
  align-items: center;
  justify-content: center;
  background: var(--panel);
}
.material-item.more svg { width: 22px; height: 22px; color: var(--gold); }

/* ---------------------------------------------------------------------- */
/* Carousel (horizontal scroll snap)                                       */
/* ---------------------------------------------------------------------- */

.carousel-group { margin-bottom: 40px; }
.carousel-group h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--cream);
}
.carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel .slide {
  flex: 0 0 82%;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  position: relative;
}
.carousel .slide span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  z-index: 1;
}
.dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}
.dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244,239,228,0.25);
}
.dots span.active { background: var(--gold); width: 18px; border-radius: 3px; }

/* ---------------------------------------------------------------------- */
/* Process timeline                                                        */
/* ---------------------------------------------------------------------- */

.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background-image: linear-gradient(var(--line-strong) 60%, transparent 0%);
  background-size: 1px 8px;
  background-repeat: repeat-y;
}
.timeline-step {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 34px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  z-index: 1;
}
.timeline-body h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 6px 0 6px;
}
.timeline-body h4 svg { width: 18px; height: 18px; color: var(--gold); }
.timeline-body p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ---------------------------------------------------------------------- */
/* CTA banner                                                              */
/* ---------------------------------------------------------------------- */

.cta-banner {
  position: relative;
  padding: 64px 0;
  text-align: left;
  overflow: hidden;
}
.cta-banner .ph { position: absolute; inset: 0; }
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,9,8,0.96) 15%, rgba(10,9,8,0.55) 100%);
}
.cta-banner .wrap { position: relative; z-index: 1; }
.cta-banner .lede { margin-bottom: 24px; }
.cta-banner .btn { width: auto; padding-left: 28px; padding-right: 28px; }
.cta-banner .phone {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.cta-banner .phone a { color: var(--gold); font-weight: 500; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */

.site-footer {
  background: var(--panel-2);
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.footer-intro { margin-bottom: 24px; }
.footer-intro .logo { margin-bottom: 14px; }
.footer-intro p {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 40ch;
}
.social-row {
  display: flex;
  gap: 12px;
  margin: 20px 0 8px;
}
.social-row a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.social-row svg { width: 16px; height: 16px; }

.footer-accordion { border-top: 1px solid var(--line); }
.footer-accordion details {
  border-bottom: 1px solid var(--line);
}
.footer-accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.footer-accordion summary::-webkit-details-marker { display: none; }
.footer-accordion summary svg {
  width: 16px; height: 16px; color: var(--gold);
  transition: transform 0.25s ease;
}
.footer-accordion details[open] summary svg { transform: rotate(180deg); }
.footer-accordion .panel {
  padding: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-accordion .panel a {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-accordion .panel a:hover { color: var(--gold-light); }

.footer-contact {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact .item {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted-2);
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------------- */
/* Responsive: widen up for tablet / desktop                               */
/* ---------------------------------------------------------------------- */

@media (min-width: 700px) {
  .btn-row { flex-direction: row; }
  .btn { width: auto; padding-left: 32px; padding-right: 32px; }
  .feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .material-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
}

@media (min-width: 980px) {
  .section { padding: 96px 0; }
  .hero { min-height: 86vh; }
  .h1 { font-size: 4rem; }
}
