/* GLASSMAX — structural glazing, premium architectural UI */
/* Fonts via <link> in each HTML head (no @import in CSS). */

:root {
  --color-bg: #ffffff;
  --color-bg-muted: #f5f5f4;
  --color-surface: #ffffff;
  --color-text: #121212;
  --color-text-muted: #5a5a58;
  --color-border: #e3e3e0;
  --color-border-strong: #cfcfcd;
  --color-accent: #121212;
  --color-accent-line: #2a3f36;
  --color-cta: #252829;
  --color-cta-hover: #3a3e40;
  --color-bronze: #6b5c4d;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-logo: "Playfair Display", "Cormorant Garamond", serif;
  --radius-premium: 12px;
  --shadow-soft: 0 8px 32px rgba(15, 15, 15, 0.08);
  --transition-smooth: 0.3s ease;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.75rem;
  --space-xl: 4.5rem;
  --space-2xl: 6.5rem;
  --space-section: clamp(3.5rem, 6vw, 5.5rem);
  --container: 1240px;
  --header-bg-match: #fefefe;
  --header-accent-bar: #5e2a34;
  --radius-btn: 10px;
  --ease: cubic-bezier(0.22, 0.12, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}


body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-lg);
  }
}

/* ----- Header — premium architectural ----- */

:root {
  --header-h: 76px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-h);
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(18, 18, 18, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  transition:
    background var(--transition-smooth),
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

body.page-home .site-header:not(.is-scrolled),
body.page-quote .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

body.page-home .site-header.is-scrolled,
body.page-quote .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(18, 18, 18, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.75rem);
  box-sizing: border-box;
}

.logo {
  justify-self: start;
  font-family: var(--font-logo) !important;
  font-size: clamp(1.325rem, 2.45vw, 1.625rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  line-height: 1;
  transition: color 0.3s ease;
}

.logo:hover {
  text-decoration: none;
}

.logo span {
  font-weight: 300;
  letter-spacing: 0.32em;
  opacity: 0.85;
}

body.page-home .site-header:not(.is-scrolled) .logo {
  color: #ffffff;
}

body.page-home .site-header.is-scrolled .logo {
  color: #000000;
}

body.inner-page .site-header .logo {
  color: #000000;
}

.site-nav {
  justify-self: center;
  display: flex;
  flex: 0 1 auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0;
  transition: color var(--transition-smooth);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav__link:hover {
  color: #fff;
  text-decoration: none;
}

.site-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

body.page-home .site-header:not(.is-scrolled) .site-nav__link,
body.page-quote .site-header:not(.is-scrolled) .site-nav__link {
  color: rgba(255, 255, 255, 0.92);
}

body.page-home .site-header:not(.is-scrolled) .site-nav__link::after,
body.page-quote .site-header:not(.is-scrolled) .site-nav__link::after {
  background: #fff;
  opacity: 0.5;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.header-search-wrap {
  position: relative;
  z-index: 1205;
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .header-actions {
    gap: 0.65rem;
  }
}

.btn-enquire,
.header-enquiry-btn {
  height: 44px;
  padding: 0 1.35rem;
  background: #121212;
  color: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: none;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition:
    background var(--transition-smooth),
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.btn-enquire:hover,
.header-enquiry-btn:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: #fff;
}

body.page-home .site-header:not(.is-scrolled) .btn-enquire,
body.page-home .site-header:not(.is-scrolled) .header-enquiry-btn,
body.page-quote .site-header:not(.is-scrolled) .btn-enquire,
body.page-quote .site-header:not(.is-scrolled) .header-enquiry-btn {
  background: #fff;
  color: #121212;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

body.page-home .site-header:not(.is-scrolled) .btn-enquire:hover,
body.page-home .site-header:not(.is-scrolled) .header-enquiry-btn:hover,
body.page-quote .site-header:not(.is-scrolled) .btn-enquire:hover,
body.page-quote .site-header:not(.is-scrolled) .header-enquiry-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #000;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition:
    background var(--transition-smooth),
    color var(--transition-smooth);
}

.cart-link:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.cart-link svg {
  width: 22px;
  height: 22px;
}

body.page-home .site-header:not(.is-scrolled) .cart-link,
body.page-quote .site-header:not(.is-scrolled) .cart-link {
  color: rgba(255, 255, 255, 0.95);
}

body.page-home .site-header:not(.is-scrolled) .cart-link:hover,
body.page-quote .site-header:not(.is-scrolled) .cart-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.page-home .site-header:not(.is-scrolled) .header-actions,
body.page-quote .site-header:not(.is-scrolled) .header-actions {
  color: rgba(255, 255, 255, 0.95);
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 4px;
  background: #121212;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

@media (max-width: 1023px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
  }

  .logo {
    grid-column: 1;
  }

  .header-actions {
    grid-column: 2;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 9px;
  flex-shrink: 0;
  margin-left: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

/* Premium Header Search Toggle */
.header-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.header-search-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.05);
}

.header-search-toggle svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8; /* Slightly thicker for architectural presence */
}

/* Header search / menu contrast on dark hero (home + quote) */
.page-home .site-header:not(.is-scrolled) .header-search-toggle:hover,
body.page-quote .site-header:not(.is-scrolled) .header-search-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.page-home .site-header:not(.is-scrolled) .nav-toggle,
body.page-quote .site-header:not(.is-scrolled) .nav-toggle {
  color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 1024px) {
  .header-search-toggle {
    margin-right: 0.25rem;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
}

/* Only on small screens — desktop must never get a full-viewport click blocker here */
@media (max-width: 1023px) {
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.38);
    z-index: 998;
    animation: navBackdropIn 0.35s ease forwards;
  }
}

@keyframes navBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile — full-height slide-in navigation */
@media (max-width: 1023px) {
  .nav-toggle {
    display: flex !important;
    position: relative;
    z-index: 1006;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100vw - 2.5rem, 400px);
    height: 100vh;
    height: -webkit-fill-available;
    height: 100dvh;
    margin: 0;
    padding: calc(var(--header-h) + 1.75rem) 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.12);
    z-index: 1005;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box;
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
  }

  .site-nav__link {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link:hover {
    color: #000;
    padding-left: 0.35rem;
  }

  .site-nav__link:last-child {
    border-bottom: none;
  }
}

@media (min-width: 1024px) {
  .site-nav {
    position: static;
    display: flex !important;
    padding: 0;
    background: transparent !important;
    transform: none !important;
    width: auto;
    height: auto;
    box-shadow: none;
    border: none;
    overflow: visible;
  }

  .site-nav__list {
    display: flex;
    flex-direction: row;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-nav__link {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2a2a2a;
    text-decoration: none;
    padding: 0.35rem 0;
    border: 0;
  }

  .site-nav__link::after {
    display: block;
  }
}

/* Secondary Overrides Removed */

.site-nav__chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
  opacity: 0.6;
}

@media (min-width: 1024px) {
  .site-nav__chevron {
    margin-top: 0;
    transform: rotate(45deg) translateY(-1px);
  }

  li.has-dropdown:hover .site-nav__chevron {
    transform: rotate(-135deg) translateY(-2px);
  }
}

@media (max-width: 1023px) {
  li.has-dropdown.is-open .site-nav__chevron {
    transform: rotate(-135deg) translateY(-2px);
  }
}

.dropdown {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-sm) 0;
}

@media (max-width: 1023px) {
  .has-dropdown:not(.has-page-link):not(.is-open) .dropdown {
    display: none;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .has-dropdown.has-page-link .dropdown {
    display: block;
    margin-top: 0.25rem;
    margin-left: 0.35rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--color-border);
  }
}

@media (min-width: 1024px) {
  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: var(--space-xs) 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border-strong);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(2px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  }

  li.has-dropdown:hover .dropdown,
  li.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: none;
}

.dropdown a:hover {
  color: var(--color-text);
  background: var(--color-bg);
  text-decoration: none;
}

@media (min-width: 1024px) {
  .dropdown a {
    padding: 0.55rem 1rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .header-actions {
    gap: var(--space-sm);
  }
}

/* Action Overrides Removed */

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: min(85vh, 720px);
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.33);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
}

@media (min-width: 768px) {
  .hero__content {
    padding-inline: var(--space-lg);
  }
}

.hero h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 0 var(--space-md);
}

.hero__lead {
  font-size: 1rem;
  font-weight: 400;
  max-width: 36ch;
  margin: 0 0 var(--space-lg);
  opacity: 0.95;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero .btn {
  border-color: #fff;
}

.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.hero .btn--ghost:hover {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

.hero .btn:not(.btn--ghost) {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

.hero .btn:not(.btn--ghost):hover {
  background: transparent;
  color: #fff;
}

/* ----- Section typography ----- */
.section {
  padding-block: var(--space-section);
}

.section--surface {
  background: var(--color-surface);
}

.section--muted {
  background: var(--color-bg-muted);
  border-block: 1px solid var(--color-border);
}

.section__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-bronze);
  margin: 0 0 var(--space-sm);
}

.section__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
}

.section__intro {
  max-width: 62ch;
  margin: 0 0 var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.section__divider {
  width: 48px;
  height: 1px;
  background: var(--color-text);
  margin: var(--space-md) 0 var(--space-lg);
  opacity: 0.25;
}

.text-center {
  text-align: center;
}

.text-center .section__intro {
  margin-inline: auto;
}

/* ----- Trust ----- */
.trust-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.trust-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-xs);
}

.trust-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.trust-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  opacity: 0.85;
}

.trust-card__icon svg {
  width: 100%;
  height: 100%;
}

.about-link-row {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.about-link-row a {
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ----- Services 4 col ----- */
.services-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
}

.service-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ----- Product grids ----- */
.product-grid {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}

.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__image img {
  transform: scale(1.02);
}

.product-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 auto;
  padding-bottom: var(--space-sm);
}

.product-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  margin-top: var(--space-sm);
}

.product-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.products-split {
  margin-top: var(--space-xl);
}

.products-split:first-of-type {
  margin-top: 0;
}

.products-split__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 var(--space-sm);
}

.products-split__title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
}

.products-split__intro {
  margin: 0 0 var(--space-lg);
  max-width: 65ch;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ----- Smart glass ----- */
.smart-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .smart-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.smart-card {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: grid;
}

@media (min-width: 768px) {
  .smart-card {
    grid-template-columns: 1fr 1fr;
  }
}

.smart-card__image {
  min-height: 220px;
  background: #e5e5e5;
}

.smart-card__image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.smart-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.smart-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
}

.smart-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ----- Gallery ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-grid a {
  aspect-ratio: 1;
  overflow: hidden;
  background: #ddd;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Quote ----- */
.quote-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.quote-layout {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .quote-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    gap: var(--space-2xl);
  }
}

.quote-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--color-text-muted);
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  margin-bottom: var(--space-md);
  border-radius: 0;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--color-cta);
}

.quote-form textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-form .btn {
  margin-top: var(--space-xs);
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-block h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-xs);
}

.contact-block p,
.contact-block a {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.contact-block a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----- Footer — premium minimal (luxury architectural) ----- */
.footer {
  --footer-gold: #c4b6a0;
  --footer-bg: #0f0f0f;
  --footer-text: rgba(235, 232, 226, 0.72);
  --footer-text-soft: rgba(235, 232, 226, 0.48);
  --footer-heading-color: rgba(248, 246, 242, 0.94);
  position: relative;
  margin-top: 0;
  padding: clamp(3.75rem, 8vw, 6.25rem) 0 clamp(2rem, 4vw, 2.75rem);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--footer-text);
  background-color: var(--footer-bg);
  background-image: radial-gradient(ellipse 90% 60% at 50% -25%, rgba(196, 182, 160, 0.06), transparent 50%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer.footer--section-gap {
  margin-top: var(--space-xl);
}

/* Scroll reveal (respect reduced motion in main.js) */
.footer[data-footer-reveal].is-footer-pending .footer-container--lux,
.footer[data-footer-reveal].is-footer-pending .footer-divider,
.footer[data-footer-reveal].is-footer-pending .footer-bar {
  opacity: 0;
  transform: translateY(14px);
}

.footer[data-footer-reveal].is-footer-visible .footer-container--lux,
.footer[data-footer-reveal].is-footer-visible .footer-divider,
.footer[data-footer-reveal].is-footer-visible .footer-bar {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer[data-footer-reveal].is-footer-visible .footer-divider {
  transition-delay: 0.06s;
}

.footer[data-footer-reveal].is-footer-visible .footer-bar {
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .footer[data-footer-reveal] .footer-container--lux,
  .footer[data-footer-reveal] .footer-divider,
  .footer[data-footer-reveal] .footer-bar {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.footer-container--lux {
  box-sizing: border-box;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(1.35rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(1.75rem, 4vw, 3rem);
  row-gap: clamp(2rem, 4vw, 2.75rem);
  align-items: start;
}

.footer-col--lux {
  min-width: 0;
}

/* Match header wordmark in footer: same premium serif treatment */
.footer-col--brand.footer-col--lux > .logo {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 1.25rem;
  font-family: var(--font-logo) !important;
  font-size: clamp(1.325rem, 2.45vw, 1.625rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
}

.footer-col--brand.footer-col--lux > .logo:hover {
  color: #ffffff;
}

.footer-brand__lead--lux {
  margin: 0;
  max-width: 38ch;
  line-height: 1.7;
  color: var(--footer-text);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.footer-heading--lux {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--footer-gold);
}

.footer-nav--lux {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav--lux li {
  margin-bottom: 0.85rem;
}

.footer-nav--lux li:last-child {
  margin-bottom: 0;
}

.footer-nav--lux a {
  display: inline-block;
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.90625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition:
    color 0.28s ease,
    background-size 0.28s ease;
}

.footer-nav--lux a:hover {
  color: var(--footer-gold);
  background-size: 100% 1px;
}

.footer-contact-block {
  margin: 0;
}

.footer-contact-block__row {
  margin-bottom: 1.1rem;
}

.footer-contact-block__row:last-child {
  margin-bottom: 0;
}

.footer-contact-block__row dt {
  margin: 0 0 0.2rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--footer-text-soft);
}

.footer-contact-block__row dd {
  margin: 0;
  font-size: 0.90625rem;
  letter-spacing: 0.02em;
  color: rgba(235, 232, 226, 0.88);
}

.footer-contact-block__row a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition:
    color 0.28s ease,
    background-size 0.28s ease;
}

.footer-contact-block__row a:hover {
  color: var(--footer-gold);
  background-size: 100% 1px;
}

.footer-col--partner-lux {
  justify-self: center;
  text-align: center;
  align-self: start;
  min-width: 0;
}

.footer-partner--main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding-top: 0.15rem;
}

.footer-partner--main .footer-partner__logo {
  width: min(10.5rem, 28vw);
  max-width: 100%;
  height: auto;
}

.footer-col--contact-lux {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  justify-self: end;
  text-align: left;
  width: 100%;
  max-width: 22rem;
}

.footer-divider {
  max-width: 1220px;
  margin: clamp(2.5rem, 5vw, 3.75rem) auto 0;
  padding: 0 clamp(1.35rem, 4vw, 2rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1) 15%,
    rgba(255, 255, 255, 0.1) 85%,
    transparent
  );
  border: none;
}

.footer-bar {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.35rem, 4vw, 2rem) 0;
}

.footer-bar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 1.5rem;
}

.footer-bar__copy {
  margin: 0;
  justify-self: start;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--footer-text-soft);
}

.footer-partner--bar {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}

.footer-partner__label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(235, 232, 226, 0.38);
}

.footer-partner__link {
  display: inline-block;
  line-height: 0;
  opacity: 0.88;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.footer-partner__link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-partner__logo {
  display: block;
  width: min(9rem, 36vw);
  height: auto;
}

.footer-bar__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.footer-bar__legal a {
  color: rgba(235, 232, 226, 0.62);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bar__legal a:hover {
  color: var(--footer-gold);
}

.footer-bar__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.footer a:hover {
  text-decoration: none;
}

/* Legacy footer utilities (older markup / product notes) */
.footer-brand {
  display: inline-block;
  margin-bottom: 1.35rem;
  text-decoration: none;
  line-height: 0;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-brand__logo {
  display: block;
  width: auto;
  height: 68px;
  max-height: none;
  aspect-ratio: 817 / 270;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.footer-brand__lead:not(.footer-brand__lead--lux) {
  margin: 0 0 1.5rem;
  max-width: 28ch;
  line-height: 1.65;
  color: var(--footer-text);
  font-size: 0.875rem;
}

.footer-heading:not(.footer-heading--lux) {
  margin: 0 0 1.35rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(203, 191, 163, 0.18);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.footer-nav:not(.footer-nav--lux) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav:not(.footer-nav--lux) li {
  margin-bottom: 0.65rem;
}

.footer-nav:not(.footer-nav--lux) a {
  display: inline-block;
  color: var(--footer-text);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.22s ease;
}

.footer-nav:not(.footer-nav--lux) a:hover {
  color: var(--footer-gold);
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact__glyph {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--footer-gold);
  opacity: 0.75;
}

.footer-contact__link {
  color: rgba(235, 232, 226, 0.78);
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-contact__link:hover {
  color: var(--footer-gold);
}

@media (max-width: 1024px) {
  .footer-container--lux {
    grid-template-columns: 1fr;
    row-gap: clamp(2.25rem, 5vw, 3rem);
  }

  .footer-col--brand.footer-col--lux {
    max-width: 40rem;
  }

  .footer-col--partner-lux {
    justify-self: center;
    padding: 0.25rem 0;
  }

  .footer-col--contact-lux {
    justify-self: start;
    max-width: 24rem;
  }

  .footer-bar__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-bar__legal {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-container--lux {
    text-align: left;
  }

  .footer-col--brand.footer-col--lux {
    text-align: left;
  }

  .footer-heading--lux {
    margin-bottom: 1.15rem;
  }

  .footer-col--contact-lux {
    max-width: none;
  }

  .footer-bar__inner {
    gap: 1.25rem;
  }
}

.about-detail {
  margin-top: var(--space-xl);
}

.section__intro--tight {
  margin-bottom: 0;
  max-width: 70ch;
}

.quote-lead {
  margin-bottom: 0;
}

.legal-page {
  max-width: 65ch;
  margin: var(--space-xl) auto;
  padding: 0 var(--space-md) var(--space-2xl);
}

.legal-page h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.legal-page p {
  color: var(--color-text-muted);
  line-height: 1.65;
}

.legal-back {
  font-weight: 500;
  margin-bottom: var(--space-lg);
  display: inline-block;
}

/* body lock when menu open */
body.nav-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  body.nav-open {
    overflow: auto;
  }
}

/* ----- Nav: section pages (Rooflights / Balustrades top-level links) ----- */
.has-page-link > a.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (min-width: 1024px) {
  .has-page-link > a.site-nav__link {
    justify-content: flex-start;
    width: auto;
    gap: 0.2rem;
  }
}

.has-page-link .site-nav__chevron--desktop {
  display: none;
}

@media (min-width: 1024px) {
  .has-page-link .site-nav__chevron--desktop {
    display: block;
  }
}

/* ----- Inner pages: premium glazing (rooflights, balustrades, products) ----- */
body.page-rooflights,
body.page-glazing {
  background: var(--color-bg);
}

body.page-rooflights .btn:not(.btn--ghost),
body.page-glazing .btn:not(.btn--ghost),
body.page-standard .btn:not(.btn--ghost),
body.page-walkon .btn:not(.btn--ghost),
body.page-smartglass .btn:not(.btn--ghost) {
  border-color: var(--color-cta);
  background: var(--color-cta);
  color: #fff;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

body.page-rooflights .btn:not(.btn--ghost):hover,
body.page-glazing .btn:not(.btn--ghost):hover,
body.page-standard .btn:not(.btn--ghost):hover,
body.page-walkon .btn:not(.btn--ghost):hover,
body.page-smartglass .btn:not(.btn--ghost):hover {
  background: #fff;
  color: var(--color-cta);
  border-color: var(--color-cta);
}

body.page-rooflights .btn--ghost,
body.page-glazing .btn--ghost,
body.page-standard .btn--ghost,
body.page-walkon .btn--ghost,
body.page-smartglass .btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-cta);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

body.page-rooflights .btn--ghost:hover,
body.page-glazing .btn--ghost:hover,
body.page-standard .btn--ghost:hover,
body.page-walkon .btn--ghost:hover,
body.page-smartglass .btn--ghost:hover {
  background: var(--color-cta);
  color: #fff;
  border-color: var(--color-cta);
}

a.btn,
button.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  box-sizing: border-box;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

a.btn:hover,
button.btn:hover {
  text-decoration: none;
}

h1,
h2.home-section__title,
.home-section__title,
.page-intro-block h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Minimal contact page (no duplicate luxury contact block) */
.page-contact-minimal {
  padding-top: calc(var(--header-h, 76px) + var(--space-xl));
  padding-bottom: var(--space-2xl);
}

.page-contact-minimal__inner {
  max-width: 36rem;
}

.page-contact-minimal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.page-contact-minimal__lead {
  margin: 0 0 var(--space-lg);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 42ch;
}

.page-contact-minimal__actions {
  margin: 0 0 var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-contact-minimal__hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-intro-block {
  padding-block: var(--space-2xl) var(--space-xl);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-intro-block h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.page-intro-block .page-lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.page-banner {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-muted);
}

.page-banner img {
  width: 100%;
  max-height: min(78vh, 720px);
  object-fit: cover;
}

.product-grid-page {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  border: 0;
  background: transparent;
}

@media (min-width: 640px) {
  .product-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .product-grid-page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-tile {
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn, 2px);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.product-tile__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eaeaea;
}

.product-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-tile:hover .product-tile__image img {
  transform: scale(1.02);
}

.product-tile__body {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--color-border);
}

.product-tile__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.35rem;
}

.product-tile__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.product-tile__meta {
  margin: 0 0 auto;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.product-tile__cta {
  margin-top: var(--space-md);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-cta);
  border-bottom: 1px solid var(--color-cta);
  padding-bottom: 2px;
  align-self: flex-start;
}

.product-tile__cta:hover {
  color: var(--color-text);
  border-color: var(--color-text);
  text-decoration: none;
}

.contact-strip {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.contact-strip__grid {
  display: grid;
  gap: 0;
}

@media (min-width: 900px) {
  .contact-strip__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.contact-strip__visual {
  min-height: 220px;
  background: #e8e8e8;
}

@media (min-width: 900px) {
  .contact-strip__visual {
    min-height: 100%;
  }
}

.contact-strip__visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.contact-strip__panel {
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--color-border);
}

@media (min-width: 900px) {
  .contact-strip__panel {
    border-top: 0;
    border-left: 1px solid var(--color-border);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.contact-strip__panel h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-lg);
}

.contact-strip__item {
  margin-bottom: var(--space-md);
}

.contact-strip__item:last-child {
  margin-bottom: 0;
}

.contact-strip__item h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.25rem;
}

.contact-strip__item p,
.contact-strip__item a {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-strip__item a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----- Glass balustrades category: 2×2 grid ----- */
.product-grid-page--bal {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  border: 0;
  background: transparent;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .product-grid-page--bal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----- Product detail (balustrades) ----- */
.pd-gallery {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.pd-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.65rem, 1.5vw, 0.85rem);
  background: transparent;
}

@media (min-width: 768px) {
  .pd-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pd-gallery__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-btn, 2px);
  border: 1px solid var(--color-border);
}

.pd-main {
  padding-block: var(--space-section);
  background: var(--color-surface);
}

.pd-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.pd-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pd-section h2 {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}

.pd-section p {
  margin: 0;
  max-width: 68ch;
  color: var(--color-text);
  line-height: 1.65;
}

.pd-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  max-width: 68ch;
  color: var(--color-text);
  line-height: 1.65;
}

.pd-list li {
  margin-bottom: 0.35rem;
}

.pd-enquire {
  margin-top: var(--space-lg);
}

.pd-related {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.pd-related h2 {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.pd-related__grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--color-border);
  background: var(--color-border);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pd-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pd-related__card {
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}

.pd-related__card a {
  text-decoration: none;
  color: inherit;
}

.pd-related__card a:hover .pd-related__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-related__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eaeaea;
}

.pd-related__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-related__body {
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pd-related__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0 var(--space-sm);
}

.pd-related__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cta);
  margin-top: auto;
}

.quote-section--inner {
  border-top: 1px solid var(--color-border);
}

/* ----- Premium logo + header search ----- */

.logo {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  text-decoration: none;
  color: #ffffff;
  background: transparent;
  padding: 0;
  gap: 0;
  line-height: 1;
  text-transform: uppercase;
}

.logo:hover {
  text-decoration: none;
  opacity: 1;
}

@media (max-width: 1023px) {
  .logo {
    font-size: clamp(1.12rem, 5.2vw, 1.3rem);
    letter-spacing: 0.18em;
  }
}

/* Legacy: inline desktop search removed — use header search icon + popover only */
.header-search-slot,
.header-search-slot--desktop {
  display: none !important;
}

.header-search {
  position: relative;
  width: 100%;
}

.header-search__input {
  width: 100%;
  box-sizing: border-box;
  height: 40px; /* Slimmer search input */
  padding: 0 1rem 0 2.45rem;
  font: inherit;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px; /* More architectural than rounded */
  transition: all 0.2s var(--ease);
}

.site-header.is-scrolled .header-search__input {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--color-text);
}

.header-search__input::placeholder {
  color: #9a9996;
}

.header-search__input:hover {
  border-color: var(--color-border-strong);
}

.header-search__input:focus {
  outline: none;
  border-color: #b8b5b0;
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.05), 0 2px 8px rgba(18, 18, 18, 0.06);
  background: #fff;
}

.header-search::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  margin-top: -0.45rem;
  border: 1.5px solid var(--color-text-muted);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.75;
}

.header-search::after {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 50%;
  width: 5px;
  height: 1.5px;
  background: var(--color-text-muted);
  transform: rotate(45deg);
  margin-top: 0.15rem;
  pointer-events: none;
  opacity: 0.75;
}

.header-search__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(18, 18, 18, 0.08);
  max-height: min(70vh, 360px);
  overflow-y: auto;
  z-index: 1100;
  animation: header-search-in 0.18s var(--ease);
}

@keyframes header-search-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-search__hit {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  color: inherit;
}

.header-search__hit:hover {
  text-decoration: none;
  background: var(--color-bg-muted);
}

.header-search__hit-img {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #eee;
}

.header-search__hit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-search__hit-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.header-search__hit-name {
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search__hit-cat {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.header-search-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, 90vw);
  padding: 12px;
  margin: 0;
  box-sizing: border-box;
  z-index: 1210;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 24px 48px rgba(15, 15, 15, 0.12),
    0 8px 16px rgba(15, 15, 15, 0.06),
    0 0 0 1px rgba(18, 18, 18, 0.04) inset;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease),
    visibility 0.28s;
}

.header-search-popover.header-search-popover--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header-search--popover-form {
  position: relative;
  width: 100%;
}

.header-search--popover-form .header-search__input {
  height: 44px;
  padding: 0 0.9rem 0 2.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: #141414;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 12px;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.header-search--popover-form .header-search__input::placeholder {
  color: #8a8986;
}

.header-search--popover-form .header-search__input:hover {
  border-color: rgba(18, 18, 18, 0.12);
}

.header-search--popover-form .header-search__input:focus {
  outline: none;
  border-color: rgba(18, 18, 18, 0.2);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.06);
}

.header-search--popover-form::before {
  left: 0.95rem;
  border-color: rgba(18, 18, 18, 0.35);
  opacity: 0.65;
}

.header-search--popover-form::after {
  left: 1.55rem;
  background: rgba(18, 18, 18, 0.35);
  opacity: 0.65;
}

.header-search-popover .header-search__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin-top: 0;
  max-height: min(52vh, 320px);
  border-radius: 14px;
  z-index: 1220;
}

.page-search .search-results {
  padding: var(--space-lg) 0 var(--space-xl);
}

.page-search .search-results__intro {
  max-width: 40rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text-muted);
}

.page-search .search-results__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}

.page-search .search-results__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-search .search-results__card:hover {
  text-decoration: none;
  border-color: var(--color-border-strong);
  box-shadow: 0 8px 28px rgba(18, 18, 18, 0.06);
}

.page-search .search-results__img {
  aspect-ratio: 4 / 3;
  background: #eaeaea;
  overflow: hidden;
}

.page-search .search-results__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-search .search-results__body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.page-search .search-results__name {
  font-weight: 600;
  font-size: 1rem;
}

.page-search .search-results__cat {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.page-search .search-results__cta {
  margin-top: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cta);
}

.page-search .search-results__empty {
  max-width: 36rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
