/* ============================================================
   Scarlet Thread Designs — Design System
   CI: Red #961c36 | Charcoal #201d1e | Dark Grey #6e6f72 | Light Grey #e2e3e2
   Headings: Dosis | Body: Noto Sans Display
   ============================================================ */

:root {
  --st-red: #961c36;
  --st-red-dark: #7a1029;
  --st-charcoal: #201d1e;
  --st-grey: #6e6f72;
  --st-light: #e2e3e2;
  --st-offwhite: #f7f7f6;
  --st-white: #ffffff;
  --font-head: 'Dosis', sans-serif;
  --font-body: 'Noto Sans Display', sans-serif;
  --shadow-sm: 0 2px 8px rgba(32, 29, 30, .08);
  --shadow-md: 0 8px 30px rgba(32, 29, 30, .12);
  --radius: 6px;
  --maxw: 1200px;
  --tr: all .25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--st-charcoal);
  background: var(--st-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: var(--st-red); text-decoration: none; transition: var(--tr); }
a:hover { color: var(--st-red-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--grey { background: var(--st-offwhite); }
.section--dark { background: var(--st-charcoal); color: var(--st-white); }

/* Section headings */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker {
  display: inline-block; font-family: var(--font-head); font-size: 14px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--st-red);
  margin-bottom: 10px; font-weight: 600;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.section-head p { color: var(--st-grey); }
.section--dark .section-head p { color: var(--st-light); }
.rule { width: 56px; height: 3px; background: var(--st-red); margin: 18px auto 0; border: 0; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; font-size: 14px;
  padding: 14px 32px; border-radius: var(--radius); border: 2px solid var(--st-red);
  background: var(--st-red); color: #fff; cursor: pointer; transition: var(--tr);
}
.btn:hover { background: var(--st-red-dark); border-color: var(--st-red-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--st-red); }
.btn--ghost:hover { background: var(--st-red); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--st-charcoal); }
.btn--light:hover { background: var(--st-light); border-color: var(--st-light); color: var(--st-charcoal); }
.btn--sm { padding: 9px 18px; font-size: 12px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--st-light);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand .brand-text { font-family: var(--font-head); font-size: 16px; letter-spacing: 2px; color: var(--st-charcoal); text-transform: uppercase; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--st-charcoal);
  padding: 6px 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--st-red); transition: var(--tr);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--st-red); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--st-charcoal); margin: 5px 0; transition: var(--tr); }

/* ============ Hero (full-bleed banner) ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--st-offwhite) url('../img/banner.jpg') center / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(20,18,19,.55) 0%, rgba(20,18,19,.25) 45%, rgba(20,18,19,0) 70%);
}
.hero .container {
  position: relative; display: flex; align-items: center;
  min-height: min(78vh, 720px); padding-top: 64px; padding-bottom: 64px;
}
.hero-content { max-width: 560px; }
.hero-logo { height: 210px; width: auto; margin-bottom: 28px; }
.hero h1 { font-size: clamp(36px, 5.5vw, 62px); font-weight: 500; color: #fff; }
.hero h1 strong { color: var(--st-red); font-weight: 700; }
.hero p.lead { font-size: 18px; color: #fff; opacity: .9; margin: 20px 0 32px; max-width: 480px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero::before { background: rgba(20,18,19,.5); }
  .hero .container { min-height: 65vh; }
  .hero-logo { height: 150px; }
}

/* ============ Value cards (Why choose us) ============ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  background: #fff; border: 1px solid var(--st-light); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; transition: var(--tr);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.value-card .icon {
  height: 60px; margin: 0 auto 18px; color: var(--st-red);
  display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.value-card .icon img { max-height: 100%; width: auto; }
.value-card h3 { font-size: 19px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.value-card p { color: var(--st-grey); font-size: 15px; }

/* ============ Services ============ */
.service-group { margin-bottom: 56px; }
.service-group:last-child { margin-bottom: 0; }
.service-group > h3 {
  font-size: 24px; letter-spacing: 3px; text-transform: uppercase; text-align: center;
  margin-bottom: 28px; color: var(--st-charcoal); position: relative;
}
.service-group > h3 span { background: inherit; padding: 0 18px; position: relative; z-index: 1; background: var(--st-offwhite); }
.service-group > h3::before {
  content: ''; position: absolute; left: 15%; right: 15%; top: 50%; height: 1px; background: var(--st-light);
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.services-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto; }
.service-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--st-charcoal); display: block;
}
.service-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease, filter .5s ease;
  filter: grayscale(100%);
}
.service-card:hover img { transform: scale(1.06); filter: grayscale(0%); }
.service-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px;
  background: linear-gradient(transparent, rgba(32,29,30,.85));
  color: #fff; font-family: var(--font-head); font-size: 18px; letter-spacing: 2px; text-transform: uppercase;
}
.service-card .ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 46px; color: rgba(255,255,255,.35);
  background: linear-gradient(135deg, #2b2728, #4a4547);
}

/* ============ Clients strip ============ */
.clients-strip { overflow: hidden; position: relative; }
.clients-track { display: flex; gap: 0; align-items: center; animation: scroll 80s linear infinite; width: max-content; }
@keyframes scroll { to { transform: translateX(-50%); } }
/* Client logos are served as one sprite strip (spacing baked in) to keep the
   homepage to a single request instead of ~50. Two identical copies sit flush
   so the translateX(-50%) loop stays seamless. Runs continuously (no hover pause). */
.clients-strip-img { height: 56px; width: auto; display: block; opacity: .85; }
.client-logo {
  font-family: var(--font-head); font-size: 20px; letter-spacing: 2px; color: var(--st-grey);
  white-space: nowrap; text-transform: uppercase; opacity: .75; transition: var(--tr);
}
.client-logo:hover { opacity: 1; color: var(--st-red); }
.client-logo-img { height: 56px; width: auto; opacity: .85; transition: opacity .3s ease; }
.client-logo-img:hover { opacity: 1; }

/* ============ Testimonials ============ */
.testi-wrap { position: relative; max-width: 980px; margin: 0 auto; }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .45s ease; }
.testi-card { flex: 0 0 50%; padding: 0 14px; }
.testi-inner {
  background: #fff; border-radius: var(--radius); padding: 34px 30px; height: 100%;
  border: 1px solid var(--st-light); position: relative;
}
.testi-inner::before {
  content: '\201C'; font-family: Georgia, serif; font-size: 64px; color: var(--st-red);
  line-height: 1; position: absolute; top: 14px; left: 22px; opacity: .25;
}
.testi-inner p { font-style: italic; color: var(--st-charcoal); margin-bottom: 18px; position: relative; }
.testi-inner cite { font-style: normal; font-family: var(--font-head); font-weight: 600; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; color: var(--st-grey); }
.testi-nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.testi-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--st-light);
  background: #fff; cursor: pointer; font-size: 18px; color: var(--st-charcoal); transition: var(--tr);
}
.testi-nav button:hover { background: var(--st-red); color: #fff; border-color: var(--st-red); }

/* ============ Instagram ============ */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-item {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--st-light), #cfd0cf); display: block;
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.insta-item:hover img { transform: scale(1.07); }
.insta-item .ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--st-grey); font-size: 28px;
}
.insta-item .overlay {
  position: absolute; inset: 0; background: rgba(150,28,54,.82); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  opacity: 0; transition: var(--tr);
}
.insta-item:hover .overlay { opacity: 1; }

/* ============ Page hero (interior pages) ============ */
.page-hero { background: var(--st-charcoal); color: #fff; padding: 72px 0; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); letter-spacing: 2px; }
.page-hero p { color: var(--st-light); max-width: 620px; margin: 14px auto 0; }

/* ============ About ============ */
.about-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.about-intro .img-frame { position: relative; }
.about-intro .img-frame::after {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--st-red);
  border-radius: var(--radius); z-index: -1;
}
.about-intro img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-intro h2 { font-size: 32px; margin-bottom: 18px; }
.about-intro p { color: var(--st-grey); margin-bottom: 14px; }

.methods-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 860px; margin: 0 auto; }
.methods-col { background: #fff; border-radius: var(--radius); border: 1px solid var(--st-light); padding: 34px; }
.methods-col h3 { font-size: 20px; letter-spacing: 2px; text-transform: uppercase; color: var(--st-red); margin-bottom: 18px; }
.methods-col ul { list-style: none; }
.methods-col li { padding: 9px 0; border-bottom: 1px dashed var(--st-light); color: var(--st-charcoal); display: flex; align-items: center; gap: 10px; }
.methods-col li:last-child { border-bottom: 0; }
.methods-col li::before { content: '✦'; color: var(--st-red); font-size: 12px; }

.founder { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; max-width: 960px; margin: 0 auto; }
.founder .portrait {
  aspect-ratio: 3/4; border-radius: var(--radius); background: linear-gradient(160deg, var(--st-light), #cfd0cf);
  display: flex; align-items: center; justify-content: center; color: var(--st-grey); font-size: 46px;
  overflow: hidden;
}
.founder .portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: 26px; }
.founder .role { font-family: var(--font-head); color: var(--st-red); letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin: 4px 0 16px; }
.founder p { color: var(--st-grey); }

/* ============ Catalogue ============ */
/* Single "Categories" dropdown in the toolbar */
.cat-select { position: relative; }
.cat-select-btn {
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  min-width: 210px; padding: 12px 16px; border: 1px solid var(--st-light);
  border-radius: var(--radius); background: #fff; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; color: var(--st-charcoal); transition: var(--tr);
}
.cat-select-btn:hover { border-color: var(--st-grey); }
.cat-select.open .cat-select-btn { border-color: var(--st-red); box-shadow: 0 0 0 3px rgba(150,28,54,.08); }
.cat-select-btn .caret { font-size: 12px; opacity: .6; }
.cat-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 90; min-width: 280px; max-width: 340px;
  max-height: 60vh; overflow-y: auto; background: #fff; border: 1px solid var(--st-light);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 6px; display: none;
}
.cat-select.open .cat-menu { display: block; }
.cat-menu-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  text-align: left; background: none; border: 0; cursor: pointer; border-radius: 5px;
  font-family: var(--font-body); font-size: 15px; color: var(--st-charcoal); padding: 11px 13px; transition: var(--tr);
}
.cat-menu-item:hover { background: rgba(150,28,54,.07); color: var(--st-red); }
.cat-menu-item.active { color: var(--st-red); font-weight: 600; }
.cat-menu-item .mchev { font-size: 11px; opacity: .55; transition: transform .2s ease; }
.cat-menu-group.open > .cat-menu-item .mchev { transform: rotate(90deg); }
.cat-menu-sub { display: none; padding: 2px 0 6px 10px; margin-left: 8px; border-left: 2px solid var(--st-light); }
.cat-menu-group.open .cat-menu-sub { display: block; }
.cat-menu-subitem {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  border-radius: 5px; font-family: var(--font-body); font-size: 14px; color: var(--st-grey);
  padding: 9px 12px; transition: var(--tr);
}
.cat-menu-subitem:hover { background: rgba(150,28,54,.07); color: var(--st-red); }
.cat-menu-subitem.active { color: var(--st-red); font-weight: 600; }
.cat-sub {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; color: var(--st-charcoal);
  padding: 9px 12px; border-radius: 4px; transition: var(--tr);
}
.cat-sub:hover { background: rgba(150,28,54,.07); color: var(--st-red); }
.cat-sub--all { font-weight: 600; border-bottom: 1px solid var(--st-light); border-radius: 4px 4px 0 0; margin-bottom: 4px; }

.active-filter {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 14px; color: var(--st-grey);
}
.active-filter strong { color: var(--st-charcoal); }
.active-filter button {
  background: none; border: 1px solid var(--st-light); border-radius: 20px; padding: 4px 12px;
  font-size: 12px; cursor: pointer; color: var(--st-grey); transition: var(--tr);
}
.active-filter button:hover { border-color: var(--st-red); color: var(--st-red); }

/* colour swatches */
.mini-swatch-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mini-swatch {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(32,29,30,.18); vertical-align: middle;
}
.mini-more { font-size: 11px; color: var(--st-grey); }
.cswatch {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(32,29,30,.15); transition: var(--tr); padding: 0;
}
.cswatch:hover { transform: scale(1.12); border-color: var(--st-grey); }
.cswatch.active { border-color: var(--st-red); box-shadow: 0 0 0 3px rgba(150,28,54,.25); }
.cswatch.out { opacity: .35; position: relative; }
.cswatch.out::after {
  content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px;
  background: rgba(32,29,30,.55); transform: rotate(-45deg);
}

.cat-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.quote-panel {
  position: sticky; top: 96px; background: #fff; border: 1px solid var(--st-light);
  border-radius: var(--radius); padding: 22px; max-height: calc(100vh - 130px);
  display: flex; flex-direction: column;
}
.quote-panel h3 { font-size: 19px; letter-spacing: 1px; margin-bottom: 12px; }
.quote-panel-body { flex: 1; overflow-y: auto; margin-bottom: 16px; }

.cat-toolbar {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 32px;
}
.cat-toolbar input[type="search"] {
  flex: 1; min-width: 220px; padding: 12px 18px; border: 1px solid var(--st-light);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 15px; outline: none;
}
.cat-toolbar input[type="search"]:focus { border-color: var(--st-red); }
.cat-toolbar select {
  padding: 12px 16px; border: 1px solid var(--st-light); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; background: #fff; cursor: pointer;
}
.cat-toolbar #sortSelect { min-width: 190px; }
.cat-toolbar #sortSelect:focus { border-color: var(--st-red); outline: none; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  font-family: var(--font-head); font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 30px; border: 1px solid var(--st-light); background: #fff;
  cursor: pointer; transition: var(--tr); color: var(--st-charcoal);
}
.chip:hover { border-color: var(--st-red); color: var(--st-red); }
.chip.active { background: var(--st-red); border-color: var(--st-red); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--st-light); border-radius: var(--radius);
  overflow: hidden; transition: var(--tr); display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card .pimg { aspect-ratio: 1; background: var(--st-offwhite); position: relative; }
.product-card .pimg img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-card .pimg .ph { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:38px; color: var(--st-light); }
.stock-pill {
  position: absolute; top: 10px; left: 10px; font-size: 11px; font-family: var(--font-head);
  font-weight: 600; letter-spacing: 1px; padding: 4px 10px; border-radius: 20px; text-transform: uppercase;
}
.stock-pill.in { background: #e8f5ec; color: #1d7a3c; }
.stock-pill.low { background: #fdf3e3; color: #b97a12; }
.stock-pill.out { background: #fbe9ec; color: var(--st-red); }
.product-card .pbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .pcode { font-size: 12px; color: var(--st-grey); letter-spacing: 1px; }
.product-card h3 { font-size: 16px; font-family: var(--font-body); font-weight: 600; line-height: 1.4; }
.product-card .pcat { font-size: 13px; color: var(--st-grey); }
.product-card .pfoot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card .colours { font-size: 12px; color: var(--st-grey); }

/* Enquiry drawer */
.enquiry-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; background: var(--st-red); color: #fff;
  border: 0; border-radius: 50px; padding: 14px 24px; font-family: var(--font-head); font-weight: 600;
  letter-spacing: 1px; cursor: pointer; box-shadow: var(--shadow-md); font-size: 15px; transition: var(--tr);
}
.enquiry-fab:hover { background: var(--st-red-dark); transform: translateY(-2px); }
.enquiry-fab .count { background: #fff; color: var(--st-red); border-radius: 50%; padding: 2px 8px; margin-left: 8px; font-size: 13px; }
.drawer {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 92vw; height: 100vh; z-index: 200;
  background: #fff; box-shadow: -8px 0 40px rgba(0,0,0,.18); transition: right .35s ease;
  display: flex; flex-direction: column;
}
.drawer.open { right: 0; }
.drawer-head { padding: 22px 24px; border-bottom: 1px solid var(--st-light); display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { font-size: 20px; letter-spacing: 1px; }
.drawer-head button { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--st-grey); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--st-light); }
.drawer-item .di-name { flex: 1; font-size: 14px; }
.drawer-item .di-code { font-size: 12px; color: var(--st-grey); }
.drawer-item input { width: 64px; padding: 6px; border: 1px solid var(--st-light); border-radius: 4px; text-align: center; }
.drawer-item .di-remove { background: none; border: 0; color: var(--st-red); cursor: pointer; font-size: 17px; }
.drawer-foot { padding: 18px 24px; border-top: 1px solid var(--st-light); }
.drawer-foot .btn { width: 100%; text-align: center; }
.drawer-empty { text-align: center; color: var(--st-grey); padding: 40px 0; }
.scrim { position: fixed; inset: 0; background: rgba(32,29,30,.45); z-index: 150; opacity: 0; pointer-events: none; transition: var(--tr); }
.scrim.show { opacity: 1; pointer-events: auto; }

/* Product detail modal */
.product-modal {
  position: fixed; z-index: 300; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(880px, 94vw); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--st-light); background: #fff; cursor: pointer;
  font-size: 16px; color: var(--st-charcoal); transition: var(--tr);
}
.modal-close:hover { background: var(--st-red); color: #fff; border-color: var(--st-red); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-media { display: flex; flex-direction: column; background: var(--st-offwhite); }
.modal-img { position: relative; min-height: 320px; flex: 1; display: flex; align-items: center; justify-content: center; }
.modal-img img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; padding: 28px; }
.modal-img .ph { font-size: 64px; color: var(--st-light); }
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--st-light);
  background: rgba(255,255,255,.92); cursor: pointer; font-size: 20px; color: var(--st-charcoal);
  transition: var(--tr);
}
.gal-arrow:hover { background: var(--st-red); color: #fff; border-color: var(--st-red); }
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
.gal-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: #fff; border-top: 1px solid var(--st-light); }
.gal-thumb {
  flex: 0 0 58px; width: 58px; height: 58px; border-radius: 6px; overflow: hidden;
  border: 2px solid var(--st-light); background: var(--st-offwhite); cursor: pointer; padding: 0; transition: var(--tr);
}
.gal-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gal-thumb:hover { border-color: var(--st-grey); }
.gal-thumb.active { border-color: var(--st-red); }
.modal-info { padding: 36px 32px; display: flex; flex-direction: column; gap: 10px; }
.modal-info h2 { font-size: 26px; line-height: 1.2; }
.modal-desc { color: var(--st-grey); font-size: 15px; }
.modal-label { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  font-family: var(--font-body); font-size: 13px; padding: 7px 14px; border-radius: 20px;
  border: 1px solid var(--st-light); background: #fff; cursor: pointer; transition: var(--tr);
}
.swatch:hover { border-color: var(--st-red); }
.swatch.active { background: var(--st-red); border-color: var(--st-red); color: #fff; }
.swatch.out { opacity: .4; text-decoration: line-through; }
.qty-row { display: flex; gap: 8px; align-items: center; }
.qty-row input { width: 84px; padding: 10px; text-align: center; border: 1px solid var(--st-light); border-radius: var(--radius); font-size: 15px; }
.qty-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--st-light);
  background: #fff; cursor: pointer; font-size: 18px; transition: var(--tr);
}
.qty-btn:hover { background: var(--st-red); color: #fff; border-color: var(--st-red); }
.modal-info .btn { margin-top: 12px; }
.modal-note { font-size: 13px; color: var(--st-grey); }

/* ============ Portfolio (masonry / Pinterest layout) ============ */
.folio-grid { columns: 3; column-gap: 24px; }
.folio-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: var(--st-charcoal);
  break-inside: avoid; margin-bottom: 24px; display: block;
}
.folio-item .ph {
  width: 100%; height: 320px; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; color: rgba(255,255,255,.45);
  font-size: 40px; background: linear-gradient(150deg, #2b2728, #45403f);
}
/* varied placeholder heights create the Pinterest rhythm; real photos will
   size naturally (img keeps its own aspect ratio) */
.folio-item:nth-child(3n+1) .ph { height: 380px; }
.folio-item:nth-child(3n+2) .ph { height: 260px; }
.folio-item:nth-child(4n) .ph { height: 440px; }
.folio-item img { width: 100%; height: auto; display: block; }
.folio-item .ph small { font-size: 13px; font-family: var(--font-head); letter-spacing: 2px; text-transform: uppercase; }
.folio-item img { transition: transform .4s ease; cursor: zoom-in; }
.folio-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400; background: rgba(20,18,19,.92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: 4px;
  box-shadow: 0 20px 70px rgba(0,0,0,.5);
}
.lb-close, .lb-arrow {
  position: absolute; z-index: 2; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.25); cursor: pointer; transition: var(--tr);
}
.lb-close {
  top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; font-size: 20px;
}
.lb-arrow {
  top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; font-size: 30px;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close:hover, .lb-arrow:hover { background: var(--st-red); border-color: var(--st-red); }
.lb-count {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-family: var(--font-head); letter-spacing: 2px; font-size: 14px;
}
@media (max-width: 600px) {
  .lb-arrow { width: 44px; height: 44px; font-size: 24px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; }
}
.folio-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 36px 18px 16px;
  background: linear-gradient(transparent, rgba(32,29,30,.9)); color: #fff;
}
.folio-item .cap h3 { font-size: 17px; letter-spacing: 1px; }
.folio-item .cap span { font-size: 12px; color: var(--st-light); letter-spacing: 2px; text-transform: uppercase; }

/* ============ Contact ============ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 30px; margin-bottom: 16px; }
.contact-info p { color: var(--st-grey); margin-bottom: 26px; }
.info-line { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-line .ico {
  width: 40px; height: 40px; flex: 0 0 40px;
  display: flex; align-items: center; justify-content: center;
}
.info-line .ico img { max-width: 30px; max-height: 30px; width: auto; height: auto; }
.info-line h4 { font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.info-line a, .info-line span { color: var(--st-grey); font-size: 15px; }

.form-card { background: #fff; border: 1px solid var(--st-light); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--st-light); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; outline: none; transition: var(--tr); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--st-red); box-shadow: 0 0 0 3px rgba(150,28,54,.08); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--st-grey); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); font-size: 15px; display: none; }
.form-status.ok { display: block; background: #e8f5ec; color: #1d7a3c; }
.form-status.err { display: block; background: #fbe9ec; color: var(--st-red); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============ CTA band ============ */
.cta-band { background: var(--st-red); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 28px; }

/* ============ Footer ============ */
.site-footer { background: var(--st-charcoal); color: var(--st-light); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h4 { color: #fff; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--st-light); font-size: 15px; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 64px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { font-size: 14px; color: var(--st-grey); max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 13px; color: var(--st-grey); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
/* Loader / empty states */
.loader { text-align: center; padding: 60px 0; color: var(--st-grey); }
.loader .spin {
  width: 38px; height: 38px; border: 3px solid var(--st-light); border-top-color: var(--st-red);
  border-radius: 50%; margin: 0 auto 16px; animation: rot 1s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }
.notice { background: #fdf3e3; color: #7a5a1a; border-radius: var(--radius); padding: 12px 18px; font-size: 14px; margin-bottom: 24px; }

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

/* Quote list responsive split: sidebar on desktop, FAB+drawer on smaller screens */
.enquiry-fab { display: none; }
.cat-layout .product-grid { grid-template-columns: repeat(3, 1fr); }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .product-grid, .cat-layout .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-layout { grid-template-columns: 1fr; }
  .quote-panel { display: none; }
  .enquiry-fab.has-items { display: block; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-img { min-height: 240px; }
  .values-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .folio-grid { columns: 2; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column;
    gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--st-light);
    transform: translateY(-130%); transition: transform .3s ease; z-index: 99; align-items: flex-start;
  }
  .nav.open { transform: none; }
  .nav a { padding: 13px 0; width: 100%; }
  .nav-toggle { display: block; }
  .hero .container, .about-intro, .contact-wrap, .founder { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .product-grid, .cat-layout .product-grid, .services-grid, .services-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .methods-cols { grid-template-columns: 1fr; }
  .testi-card { flex: 0 0 100%; }
  .cat-select, .cat-select-btn { width: 100%; }
  .cat-menu { left: 0; right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .folio-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 44px; }
  .brand .brand-text { font-size: 13px; letter-spacing: 1px; }
}
@media (max-width: 480px) {
  .product-grid, .cat-layout .product-grid, .services-grid, .services-grid--2 { grid-template-columns: 1fr; }
  .folio-grid { columns: 1; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .brand .brand-text { font-size: 11px; }
  .section { padding: 44px 0; }
  .form-card { padding: 26px 20px; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
