/* ============================================================
   CROSS CARPETS — BRAND STYLESHEET
   Locked-in brand palette (see BRAND.md):
   Navy, Cream, Sage, Tan, Brown, Espresso.
   Headings: Playfair Display. Body: Montserrat.
   ============================================================ */

:root {
  /* Brand colours — locked in */
  --navy: #1e2d45;       /* headers, footer, logo, buttons */
  --navy-deep: #16223580; /* overlay tint */
  --cream: #f4efe4;      /* backgrounds — never pure white */
  --sage: #7c8560;       /* links, small accents */
  --sage-deep: #646c4c;
  --tan: #b08d57;        /* EST. 1966, dividers, warmth */
  --brown: #5c4433;      /* depth, timber tones */
  --espresso: #2e2620;   /* body text — softer than black */
  --cream-card: #faf7ef; /* card surface, slightly lighter than cream */

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;

  --radius: 6px;
  --shadow: 0 12px 32px rgba(30, 45, 69, 0.12);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p a { color: var(--sage); }
p a:hover { color: var(--sage-deep); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tan);
  margin-bottom: 14px;
}

.section { padding: 96px 0; }

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .section-sub { margin-top: 14px; font-size: 1.02rem; color: #5a5148; }

.section-navy {
  background: var(--navy);
  color: #cfd2c8;
}
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-navy .eyebrow { color: var(--tan); }
.section-navy .section-sub { color: #9aa3ae; }

.rule {
  width: 64px;
  height: 2px;
  background: var(--tan);
  border: none;
  margin: 20px 0;
}
.centered .rule { margin-left: auto; margin-right: auto; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 17px 34px;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.22s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover { background: #2a3d5c; transform: translateY(-2px); }

.btn-light {
  background: var(--cream);
  color: var(--navy);
}
.btn-light:hover { background: #fffdf6; transform: translateY(-2px); }

.btn-ghost {
  border-color: rgba(30, 45, 69, 0.35);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(30, 45, 69, 0.05); }

.btn-ghost-light {
  border-color: rgba(244, 239, 228, 0.5);
  color: var(--cream);
}
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(244, 239, 228, 0.1); }

.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 228, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 45, 69, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 101px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
  line-height: 1;
}
.logo-img {
  height: 58px;
  width: auto;
  display: block;
}
.footer-logo {
  height: 54px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.logo-word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--navy);
  text-transform: uppercase;
}
.logo-est {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
  margin-top: 6px;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  text-decoration: none;
  color: var(--espresso);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.active { color: var(--navy); border-bottom-color: var(--tan); font-weight: 600; }

/* Products dropdown */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-block; }
.drop-caret { font-size: 0.6rem; vertical-align: middle; opacity: 0.6; }
.drop-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  padding: 14px 0 10px;
  min-width: 190px;
  background: var(--cream);
  border: 1px solid rgba(30, 45, 69, 0.1);
  border-top: 2px solid var(--tan);
  box-shadow: 0 18px 34px rgba(30, 45, 69, 0.16);
  display: none;
  flex-direction: column;
  z-index: 60;
}
.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu { display: flex; }
.drop-menu a {
  padding: 9px 20px !important;
  border-bottom: none !important;
  font-size: 0.86rem;
}
.drop-menu a:last-child {
  margin-top: 6px;
  border-top: 1px solid rgba(30, 45, 69, 0.1) !important;
  padding-top: 12px !important;
  color: var(--sage);
  font-weight: 600;
}

.nav-cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 12px 22px !important;
  border-radius: 3px;
  border-bottom: none !important;
  font-size: 0.76rem !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #2a3d5c; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--sage); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------------- Home hero (full-width image) ---------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(22, 32, 50, 0.72) 0%, rgba(22, 32, 50, 0.45) 45%, rgba(22, 32, 50, 0.12) 100%);
}

.hero-content {
  max-width: 640px;
  padding: 120px 0;
  color: var(--cream);
}
.hero-content .eyebrow { color: var(--tan); }
.hero-content h1 { color: var(--cream); }
.hero-content .lead {
  margin: 24px 0 36px;
  font-size: 1.08rem;
  font-weight: 400;
  color: rgba(244, 239, 228, 0.88);
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Trust strip ---------------- */
.trust-strip {
  background: var(--navy);
  padding: 34px 0;
}
.trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #b9c0cb;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--cream);
  letter-spacing: 0;
  text-transform: none;
}
.trust-item .stars { color: var(--tan); letter-spacing: 2px; }

/* ---------------- Intro ---------------- */
.intro-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.intro-copy p { margin-bottom: 18px; max-width: 560px; }
.intro-copy p:last-of-type { margin-bottom: 28px; }
.intro-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ---------------- Product tiles (labels below, not boxed) ---------------- */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.tiles-grid.six { grid-template-columns: repeat(3, 1fr); }

.tile {
  text-decoration: none;
  display: block;
}
.tile-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-card);
}
.tiles-grid.six .tile-img { aspect-ratio: 4 / 3; }
.tile-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tile:hover .tile-img img { transform: scale(1.05); }

.tile-label {
  margin-top: 16px;
  text-align: center;
}
.tile-label h3 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.tile-label span {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--sage);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.tile-label p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #5a5148;
}

/* ---------------- Product catalogue (carpet page) ---------------- */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  background: var(--cream-card);
  border: 1px solid rgba(30, 45, 69, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.product-card .pc-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.pc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(244, 239, 228, 0.88);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}
.pc-prev { left: 10px; }
.pc-next { right: 10px; }
.product-card:hover .pc-nav { opacity: 1; }
.pc-nav:hover { background: var(--navy); color: var(--cream); }

.pc-colour-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(30, 45, 69, 0.85);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 3px;
  pointer-events: none;
}
.pc-colour-label:empty { display: none; }

/* ---------------- In Stock & Ready tiles ---------------- */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stock-tile {
  background: var(--cream-card);
  border: 1px solid rgba(30, 45, 69, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stock-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stock-tile .st-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: none;
  padding: 0;
  background: var(--cream);
  cursor: zoom-in;
}
.stock-tile .st-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.stock-tile .st-img:hover img { transform: scale(1.06); }
.stock-tile .st-noimg {
  display: grid;
  place-items: center;
  cursor: default;
  background: linear-gradient(160deg, var(--bone, #ece6db), var(--cream));
}
.stock-tile .st-noimg span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brown);
}
.stock-tile .st-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.stock-tile h3 { font-size: 1.05rem; line-height: 1.3; }
.stock-tile h3 em { font-style: normal; color: var(--sage-deep); }
.stock-tile .st-brand {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tan);
  margin: 5px 0 10px;
}
.stock-tile .st-note {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
  flex-grow: 1;
}
@media (max-width: 1060px) { .stock-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .stock-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------------- Generic sliders (commercial sectors) ---------------- */
.slider { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.slider .slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.slider .slider-track img {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.pc-nav.always { opacity: 1; }
.product-card .pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.product-card:hover .pc-img img { transform: scale(1.04); }

.product-card .pc-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card h3 { font-size: 1.3rem; }
.product-card .pc-brand {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tan);
  margin: 4px 0 12px;
}
.product-card .pc-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.product-card .spec {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage-deep);
  background: rgba(124, 133, 96, 0.14);
  border-radius: 3px;
  padding: 4px 10px;
}
.product-card p { font-size: 0.9rem; color: #5a5148; flex-grow: 1; margin-bottom: 16px; }

.pc-colours { margin-bottom: 16px; }
.pc-colours-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tan);
  margin-bottom: 8px;
}
.pc-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-swatches img {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(30, 45, 69, 0.15);
  cursor: help;
  transition: transform 0.15s;
}
.pc-swatches img:hover { transform: scale(1.25); border-color: var(--tan); }
.product-card .pc-link {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
}
.product-card .pc-link:hover { color: var(--sage); }

/* ---------------- Instagram strip ---------------- */
.ig-band {
  background: var(--brown);
  padding: 80px 0;
  overflow: hidden;
}
.ig-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.ig-band h2 { color: var(--cream); }
.ig-band .eyebrow { color: var(--tan); }
.ig-band .btn-ghost { border-color: rgba(244, 239, 228, 0.4); color: var(--cream); }
.ig-band .btn-ghost:hover { border-color: var(--cream); background: rgba(244, 239, 228, 0.08); }

.ig-marquee {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.ig-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ig-scroll 45s linear infinite;
}
.ig-marquee:hover .ig-track { animation-play-state: paused; }
.ig-track img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
@keyframes ig-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ig-track { animation: none; }
}
@media (max-width: 720px) {
  .ig-track img { width: 160px; height: 160px; }
}

/* ---------------- Gallery ---------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.gallery-filters .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.gallery-filters .filter-row + .filter-row { margin-top: 4px; }

.filter-chip {
  background: transparent;
  border: 1.5px solid rgba(30, 45, 69, 0.25);
  color: var(--espresso);
  padding: 10px 22px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--navy); }
.filter-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid.teaser { grid-template-columns: repeat(4, 1fr); }

.gallery-item {
  border: none;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  display: block;
}
.gallery-item .gi-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  display: block;
}

.gallery-item .gi-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(30, 45, 69, 0.82);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 3px;
  pointer-events: none;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .gi-caption {
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.45;
}
.section-navy .gallery-item .gi-caption { color: #cfd2c8; }
.gallery-item .gi-caption em {
  display: block;
  font-style: normal;
  font-size: 0.76rem;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.gallery-item.hidden { display: none; }

/* ---------------- Testimonials (rotating) ---------------- */
.testimonials-band { background: var(--cream-card); }
.testimonial-slider {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  min-height: 240px;
  position: relative;
}
.testimonial-slide {
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.testimonial-slide.active { opacity: 1; position: relative; pointer-events: auto; }
.testimonial-slide .stars { color: var(--tan); letter-spacing: 4px; font-size: 1.1rem; margin-bottom: 22px; }
.testimonial-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 24px;
}
.testimonial-slide cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--espresso);
}
.testimonial-slide cite span { color: var(--sage); font-weight: 500; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.testimonial-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 45, 69, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.testimonial-dots button.active { background: var(--tan); transform: scale(1.3); }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
}
.cta-banner .hero-bg::after {
  background: rgba(22, 32, 50, 0.78);
}
.cta-banner h2 { color: var(--cream); margin-bottom: 14px; }
.cta-banner p { color: rgba(244, 239, 228, 0.85); max-width: 560px; margin: 0 auto 34px; }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 0 90px;
}
.page-hero .hero-bg::after {
  background: linear-gradient(rgba(22, 32, 50, 0.66), rgba(22, 32, 50, 0.66));
}
.page-hero h1 { color: var(--cream); max-width: 720px; }
.page-hero .eyebrow { color: var(--tan); }
.page-hero p.lead {
  color: rgba(244, 239, 228, 0.88);
  max-width: 620px;
  margin-top: 18px;
  font-size: 1.05rem;
}
.page-hero.plain {
  background: var(--navy);
  padding: 90px 0 70px;
}

/* ---------------- Prose / info blocks ---------------- */
.prose {
  max-width: 760px;
}
.prose p { margin-bottom: 20px; }
.prose h2 { margin: 44px 0 16px; }
.prose h3 { margin: 32px 0 12px; }
.prose ul { margin: 0 0 20px 22px; }
.prose li { margin-bottom: 8px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------------- Sector strips (Commercial) ---------------- */
.sector-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid rgba(30, 45, 69, 0.1);
}
.sector-strip:last-of-type { border-bottom: none; }
.sector-strip:nth-child(even) .sector-media { order: 2; }
.sector-media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.sector-copy h3 { font-size: 1.5rem; margin-bottom: 12px; }
.sector-copy p { margin-bottom: 16px; color: #5a5148; }
.sector-copy .sector-link {
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  text-decoration: none;
}
.sector-copy .sector-link:hover { color: var(--sage-deep); }

/* ---------------- Team ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.team-card {
  background: var(--cream-card);
  border: 1px solid rgba(30, 45, 69, 0.08);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tan);
  display: block;
  margin-bottom: 12px;
}
.team-card p { font-size: 0.88rem; color: #5a5148; }

/* ---------------- Advice / guide cards ---------------- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.guide-card {
  background: var(--cream-card);
  border: 1px solid rgba(30, 45, 69, 0.08);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-card.has-img { padding: 0; overflow: hidden; }
.guide-card .guide-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 3px solid var(--tan);
}
.guide-card .guide-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.guide-card:hover .guide-img img { transform: scale(1.05); }
.guide-card .guide-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card .guide-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tan);
  margin-bottom: 14px;
}
.guide-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.guide-card p { font-size: 0.92rem; color: #5a5148; flex-grow: 1; }

/* ---------------- Contact page ---------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-aside .showroom-card { position: sticky; top: 110px; }

.showroom-card {
  background: var(--cream-card);
  border: 1px solid rgba(30, 45, 69, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 30px;
  overflow: hidden;
}
.showroom-photo {
  width: calc(100% + 60px);
  margin: -32px -30px 22px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.showroom-card h3 { margin-bottom: 14px; }
.showroom-address { font-weight: 600; color: var(--navy); }
.showroom-note { font-size: 0.88rem; margin-bottom: 18px; }

.hours-list { margin: 0 0 24px; border-top: 1px solid rgba(30, 45, 69, 0.1); }
.hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(30, 45, 69, 0.1);
  font-size: 0.9rem;
}
.hours-list dd { font-weight: 600; color: var(--navy); text-align: right; }

.contact-quick { list-style: none; margin-top: 22px; }
.contact-quick li { margin-bottom: 10px; font-size: 0.94rem; }
.contact-quick a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-quick a:hover { color: var(--sage); }

/* ---------------- Lead form ---------------- */
.lead-form {
  background: var(--cream-card);
  border: 1px solid rgba(30, 45, 69, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 42px;
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(176, 141, 87, 0.4);
  margin: 34px 0 22px;
}
.form-section-title:first-child { margin-top: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { margin-bottom: 18px; }
.form-field > label, .choice-group > legend {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-field label span, .choice-group legend span { color: var(--tan); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--espresso);
  background: var(--cream);
  border: 1.5px solid rgba(30, 45, 69, 0.18);
  border-radius: 4px;
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(124, 133, 96, 0.18);
}
.form-field input.invalid { border-color: #a83c32; }
.form-field textarea { resize: vertical; }

.choice-group { border: none; margin-bottom: 20px; }
.choice-options { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(30, 45, 69, 0.18);
  border-radius: 3px;
  background: var(--cream);
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.choice-options label:hover { border-color: var(--sage); }
.choice-options input { accent-color: var(--sage); }
.choice-options label:has(input:checked) {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.form-hint {
  font-size: 0.88rem;
  color: var(--brown);
  background: rgba(176, 141, 87, 0.12);
  border-radius: 4px;
  padding: 12px 16px;
  margin: 0 0 18px;
}
.form-hint a { color: var(--sage-deep); font-weight: 600; }

.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sage-deep);
  min-height: 1.4em;
}
.form-status.error { color: #a83c32; }

/* ---------------- Contact strip (homepage) ---------------- */
.contact-strip {
  background: var(--cream-card);
  border-top: 1px solid rgba(30, 45, 69, 0.08);
  padding: 72px 0;
}
.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-strip h2 { font-size: 1.7rem; }
.contact-strip p { color: #5a5148; margin-top: 6px; }
.contact-strip .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy);
  color: #9aa3ae;
  padding: 72px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.12);
}

.footer-brand .logo-word { color: var(--cream); font-size: 1.2rem; }
.footer-brand .logo-est { margin: 8px 0 14px; }
.footer-brand p { font-size: 0.88rem; }

.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block;
  color: #9aa3ae;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--cream); }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(244, 239, 228, 0.25);
  border-radius: 50%;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  transition: all 0.2s;
}
.footer-social a svg { width: 17px; height: 17px; fill: currentColor; }
.footer-social a:hover { background: var(--tan); border-color: var(--tan); color: var(--navy); }

.footer-legal {
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(22, 26, 34, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.lightbox[hidden] { display: none; }

.lb-figure {
  max-width: min(1100px, 90vw);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
}
.lb-figure img {
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: contain;
}
.lb-figure figcaption {
  color: var(--cream);
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(244, 239, 228, 0.12);
  border: none;
  color: var(--cream);
  font-size: 1.9rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--tan); color: var(--navy); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------------- Reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Stagger: cards in a grid arrive one beat apart */
.tiles-grid > .reveal:nth-child(2), .catalogue-grid > .reveal:nth-child(3n+2),
.guides-grid > .reveal:nth-child(3n+2), .gallery-grid > .reveal:nth-child(4n+2),
.stock-grid > .reveal:nth-child(4n+2), .team-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.tiles-grid > .reveal:nth-child(3), .catalogue-grid > .reveal:nth-child(3n),
.guides-grid > .reveal:nth-child(3n), .gallery-grid > .reveal:nth-child(4n+3),
.stock-grid > .reveal:nth-child(4n+3), .team-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }
.tiles-grid > .reveal:nth-child(4), .gallery-grid > .reveal:nth-child(4n),
.stock-grid > .reveal:nth-child(4n), .team-grid > .reveal:nth-child(4) { transition-delay: 0.3s; }

/* The tan rule draws itself in */
.reveal .rule, .reveal.rule {
  width: 0;
  transition: width 0.9s cubic-bezier(0.25, 0.8, 0.3, 1) 0.35s;
}
.reveal.visible .rule, .reveal.visible.rule { width: 64px; }

/* Hero entrance: eyebrow, headline, lead and buttons rise in sequence */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.hero-content > * { opacity: 0; animation: rise-in 0.85s cubic-bezier(0.25, 0.8, 0.3, 1) forwards; }
.hero-content > .eyebrow { animation-delay: 0.15s; }
.hero-content > h1 { animation-delay: 0.3s; }
.hero-content > .lead { animation-delay: 0.5s; }
.hero-content > .hero-actions { animation-delay: 0.68s; }
.page-hero .container > * { opacity: 0; animation: rise-in 0.8s cubic-bezier(0.25, 0.8, 0.3, 1) forwards; }
.page-hero .container > .eyebrow { animation-delay: 0.1s; }
.page-hero .container > h1 { animation-delay: 0.22s; }
.page-hero .container > .lead { animation-delay: 0.38s; }

/* Hero imagery drifts, slow and almost imperceptible */
@keyframes slow-drift {
  from { transform: scale(1.02); }
  to   { transform: scale(1.09); }
}
.hero .hero-bg img, .page-hero .hero-bg img {
  animation: slow-drift 22s ease-out forwards;
  will-change: transform;
}

/* Nav links: underline slides in */
.main-nav > a:not(.nav-cta), .nav-drop > a {
  background-image: linear-gradient(var(--tan), var(--tan));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: left calc(100% + 2px);
  transition: color 0.2s, background-size 0.3s ease;
}
.main-nav > a:not(.nav-cta):hover, .nav-drop > a:hover { background-size: 100% 2px; }

/* Testimonials: fade + gentle slide */
.testimonial-slide { transform: translateX(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.testimonial-slide.active { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal .rule, .reveal.rule, .reveal.visible .rule { width: 64px; transition: none; }
  .hero-content > *, .page-hero .container > * { opacity: 1; animation: none; }
  .hero .hero-bg img, .page-hero .hero-bg img { animation: none; }
  .testimonial-slide { transform: none; transition: opacity 0.4s ease; }
  .ig-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1060px) {
  .tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles-grid.six { grid-template-columns: repeat(2, 1fr); }
  .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .gallery-grid.teaser { grid-template-columns: repeat(3, 1fr); }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-inner, .feature-inner, .split, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .sector-strip { grid-template-columns: 1fr; gap: 28px; }
  .sector-strip:nth-child(even) .sector-media { order: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-aside .showroom-card { position: static; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 101px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    gap: 2px;
    border-bottom: 1px solid rgba(30, 45, 69, 0.12);
    box-shadow: 0 18px 30px rgba(30, 45, 69, 0.14);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; font-size: 1rem; border-bottom: none; }
  .main-nav .nav-cta { text-align: center; margin-top: 12px; }

  /* dropdown becomes an inline indented list on mobile */
  .nav-drop { position: static; }
  .drop-menu {
    display: flex;
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 4px 18px;
    min-width: 0;
  }
  .drop-menu a { font-size: 0.94rem !important; padding: 9px 4px !important; }
  .drop-menu a:last-child { border-top: none !important; margin-top: 0; padding-top: 9px !important; }

  .logo-img { height: 44px; }
  .footer-logo { height: 44px; }
  .hero { min-height: 68vh; }
  .hero-content { padding: 90px 0; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tiles-grid, .tiles-grid.six { grid-template-columns: 1fr; }
  .catalogue-grid { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid.teaser { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .guides-grid, .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 30px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .lightbox { padding: 16px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ---------------- Video ---------------- */
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
  display: flex;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.video-frame video {
  display: block;
  max-width: 100%;
  max-height: 76vh;   /* keeps portrait phone clips a sensible size */
  width: auto;
  height: auto;
}
@media (max-width: 720px) { .video-frame video { max-height: 68vh; } }
