/* ==========================================================================
   Ashok Hotelware and Furnishing — static site theme
   Palette: ink charcoal + brass gold + warm cream (drawn from the AHF mark)
   ========================================================================== */

:root {
  --ink: #16120c;
  --ink-2: #221b12;
  --ink-3: #2f2618;
  --gold: #c8880c;
  --gold-2: #e5a72e;
  --gold-soft: rgba(200, 136, 12, 0.12);
  --cream: #faf6ef;
  --cream-2: #f3ece1;
  --line: #e4dacb;
  --text: #2a231a;
  --muted: #7a6d5c;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 18, 12, .05), 0 10px 30px rgba(22, 18, 12, .07);
  --shadow-lg: 0 30px 70px rgba(22, 18, 12, .16);
  --wrap: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto; }
.center { text-align: center; }

/* ---------------------------------------------------------------- eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--gold-2); }

.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.center .lede { margin-inline: auto; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px rgba(200, 136, 12, .3); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 14px 30px rgba(200, 136, 12, .38); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: .7rem 1.25rem; font-size: .85rem; }

/* ---------------------------------------------------------------- header */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
}
.topbar .wrap {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--gold-2); }
.topbar-links { display: flex; gap: 1.4rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 239, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(22, 18, 12, .06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { height: 42px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.brand-sub {
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: .35rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background .2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(16, 12, 8, .93) 0%, rgba(16, 12, 8, .78) 42%, rgba(16, 12, 8, .35) 100%),
    linear-gradient(to top, rgba(16, 12, 8, .8), transparent 45%);
}
.hero .wrap { position: relative; z-index: 2; padding: 5rem 0 4rem; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero p { color: rgba(255, 255, 255, .8); max-width: 52ch; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 4rem;
}
.hero-stats div { background: rgba(16, 12, 8, .55); padding: 1.5rem 1.4rem; backdrop-filter: blur(6px); }
.hero-stats b {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-2);
  display: block;
  line-height: 1;
}
.hero-stats span {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

/* ---------------------------------------------------------------- page head */
.pagehead {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}
.pagehead-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .3;
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 12, 8, .92), rgba(16, 12, 8, .6));
}
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.pagehead p { color: rgba(255, 255, 255, .78); max-width: 58ch; margin: 0; }
.crumbs { font-size: .82rem; color: rgba(255, 255, 255, .6); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--gold-2); }

/* ---------------------------------------------------------------- sections */
section { padding: 5.5rem 0; }
.section-head { max-width: 62ch; margin-bottom: 3rem; }
.center.section-head { margin-inline: auto; }
.section-head p { margin-bottom: 0; }

.tint { background: var(--cream-2); }
.on-dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.on-dark h2, .on-dark h3 { color: #fff; }

/* ---------------------------------------------------------------- about split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-media .badge {
  position: absolute;
  right: -1.4rem;
  bottom: -1.4rem;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.15rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.split-media .badge b {
  font-family: var(--serif);
  font-size: 2rem;
  display: block;
  line-height: 1;
}
.split-media .badge span {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .9;
}

.ticks { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; font-size: .97rem; }
.ticks svg { flex: none; margin-top: .25rem; color: var(--gold); }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: 1.6rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card .ph {
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
  overflow: hidden;
}
.cat-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.2rem;
  transition: transform .6s var(--ease);
}
.cat-card:hover .ph img { transform: scale(1.06); }
.cat-card .body { padding: 1.35rem 1.5rem 1.6rem; }
.cat-card h3 { margin-bottom: .35rem; font-size: 1.15rem; }
.cat-card p { font-size: .88rem; color: var(--muted); margin: 0 0 .9rem; }
.cat-card .more {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}
.cat-card:hover .more svg { transform: translateX(4px); }
.cat-card .more svg { transition: transform .3s var(--ease); }
.pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(22, 18, 12, .82);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .35rem .75rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* product card */
.p-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex;
  flex-direction: column;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card .ph {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.p-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform .55s var(--ease);
}
.p-card:hover .ph img { transform: scale(1.07); }
.p-card .body {
  padding: .95rem 1.1rem 1.15rem;
  border-top: 1px solid var(--line);
  background: var(--white);
  margin-top: auto;
}
.p-card h3 { font-size: .98rem; margin: 0 0 .2rem; font-family: var(--sans); font-weight: 600; }
.p-card .code {
  font-size: .76rem;
  letter-spacing: .07em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.p-card .zoom {
  position: absolute;
  inset: auto 0 0 0;
  padding: .6rem;
  text-align: center;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(22, 18, 12, .75), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.p-card:hover .zoom { opacity: 1; }

/* ---------------------------------------------------------------- filters */
.filterbar {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(250, 246, 239, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  margin-bottom: 2.5rem;
}
.filterbar .wrap {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  border-radius: 999px;
  padding: .5rem 1rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip small { opacity: .55; margin-left: .35rem; font-size: .78em; }
.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search svg { position: absolute; left: .85rem; color: var(--muted); pointer-events: none; }
.search input {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: .62rem 1rem .62rem 2.5rem;
  font: inherit;
  font-size: .88rem;
  min-width: 250px;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s;
}
.search input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.result-count { font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem; }
.empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
  display: none;
}

/* ---------------------------------------------------------------- gallery */
.masonry { columns: 3; column-gap: 1.2rem; }
.masonry figure {
  margin: 0 0 1.2rem;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.masonry img { width: 100%; transition: transform .6s var(--ease); }
.masonry figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 18, 12, .5), transparent 55%);
  opacity: 0;
  transition: opacity .35s;
}
.masonry figure:hover img { transform: scale(1.05); }
.masonry figure:hover::after { opacity: 1; }

/* ---------------------------------------------------------------- lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 9, 6, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(6px);
}
.lb.open { display: flex; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb-inner { max-width: 1000px; width: 100%; text-align: center; }
.lb img {
  max-height: 76vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  background: #fff;
}
.lb-cap { color: rgba(255, 255, 255, .82); margin-top: 1.1rem; font-size: .95rem; }
.lb-cap b { display: block; font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .25s, transform .25s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.lb-prev { left: 1.5rem; top: 50%; margin-top: -24px; }
.lb-next { right: 1.5rem; top: 50%; margin-top: -24px; }
.lb-close { right: 1.5rem; top: 1.5rem; }

/* ---------------------------------------------------------------- features */
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.feature h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }
.on-dark .feature {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .1);
}
.on-dark .feature p { color: rgba(255, 255, 255, .68); }

/* ---------------------------------------------------------------- cta band */
.cta {
  background: linear-gradient(115deg, var(--gold) 0%, #a86f06 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border: 44px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}
.cta h2 { color: #fff; margin: 0 0 .4rem; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.cta p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 52ch; }
.cta .btn-gold { background: #fff; color: var(--ink); box-shadow: none; }
.cta .btn-gold:hover { background: var(--cream); }
.cta > div:first-child { position: relative; z-index: 2; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; z-index: 2; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: start; }
.info-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.info-card:last-child { border-bottom: 0; }
.info-card .ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.info-card h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 600; margin-bottom: .25rem; }
.info-card a, .info-card p { font-size: 1.05rem; color: var(--ink); margin: 0; font-weight: 500; }
.info-card a:hover { color: var(--gold); }

form.enquiry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem 1rem;
  font: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }

/* ---------------------------------------------------------------- footer */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  padding: 4.5rem 0 0;
  font-size: .92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
footer a:hover { color: var(--gold-2); }
.foot-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.foot-brand img { height: 46px; }
.foot-brand .brand-name { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .84rem;
  color: rgba(255, 255, 255, .45);
}

/* ---------------------------------------------------------------- misc */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.totop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all .3s var(--ease);
  z-index: 70;
}
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--gold); }

.wa {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
  z-index: 70;
  transition: transform .3s var(--ease);
}
.wa:hover { transform: scale(1.08); }
/* On the home page the hero's stat row runs to the bottom of the viewport, so
   hold the bubble back until the visitor scrolls past it. The hero already
   carries its own "Call" button. */
body[data-page="home"] .wa {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
body[data-page="home"] .wa.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-media .badge { right: 1rem; bottom: -1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .masonry { columns: 2; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.5rem 1.5rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .burger { display: flex; }
  .nav-cta .btn { display: none; }
  .filterbar { top: 76px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .topbar-links { display: none; }
}

@media (max-width: 720px) {
  section { padding: 3.75rem 0; }
  .wrap { width: calc(100% - 2.5rem); }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-2 { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .cta { padding: 2.2rem 1.6rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .two-up { grid-template-columns: 1fr; }
  form.enquiry { padding: 1.5rem; }
  .search input { min-width: 0; width: 100%; }
  .search { width: 100%; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
  /* Stack both floating buttons on the right so neither lands on a
     left-aligned call-to-action. */
  .wa { left: auto; right: 1rem; bottom: 1rem; }
  .totop { right: 1rem; bottom: 4.8rem; }
}

@media (max-width: 460px) {
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   CMS additions — components the static build did not have
   ========================================================================== */

/* announcement + alerts ------------------------------------------------ */
.announce {
  background: var(--gold);
  color: #fff;
  font-size: .86rem;
  font-weight: 500;
  text-align: center;
  padding: .55rem 0;
}
.alert {
  border-radius: var(--radius);
  padding: .9rem 1.15rem;
  margin: 1.25rem 0;
  font-size: .93rem;
  border: 1px solid transparent;
}
.alert-success { background: #edf7ee; border-color: #bfe0c4; color: #1f5b2a; }
.alert-error   { background: #fdeeee; border-color: #f0c3c3; color: #8c2020; }
.alert-info    { background: #eef3fa; border-color: #c4d6ec; color: #1f4a7a; }

.muted { color: var(--muted); }
.prose { max-width: 76ch; margin-inline: auto; }

/* rich text from the page editor -------------------------------------- */
.rich > :first-child { margin-top: 0; }
.rich h2 { margin-top: 2.2rem; }
.rich h3 { margin-top: 1.8rem; font-size: 1.2rem; }
.rich ul, .rich ol { padding-left: 1.25rem; margin: 0 0 1.1em; }
.rich li { margin-bottom: .4em; }
.rich a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.rich img { border-radius: var(--radius); margin: 1.5rem 0; }
.rich blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0;
  padding: .3rem 0 .3rem 1.25rem;
  color: var(--muted);
  font-style: italic;
}
.rich table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.rich th, .rich td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }

/* chips are links here, not buttons ------------------------------------ */
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on:hover { color: #fff; }
a.chip { display: inline-flex; align-items: center; }

.listbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.listbar .result-count { margin: 0; }
.sorter { display: flex; align-items: center; gap: .55rem; font-size: .86rem; color: var(--muted); }
.sorter select {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: .5rem 1.9rem .5rem .9rem;
  font: inherit;
  font-size: .86rem;
  color: var(--text);
  cursor: pointer;
}
.sorter select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }

/* product card links --------------------------------------------------- */
.p-card { cursor: default; }
.p-card .ph { display: block; text-decoration: none; }
.p-card h3 a { color: inherit; }
.p-card h3 a:hover { color: var(--gold); }
.p-card .tag {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: var(--gold);
  color: #fff;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: 999px;
  z-index: 2;
}

/* pagination ----------------------------------------------------------- */
.pager {
  display: flex;
  gap: .4rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pager a, .pager .current, .pager .gap {
  min-width: 42px;
  height: 42px;
  padding: 0 .85rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 500;
}
.pager a { background: var(--white); border: 1px solid var(--line); transition: all .25s var(--ease); }
.pager a:hover { border-color: var(--gold); color: var(--gold); }
.pager .current { background: var(--ink); color: #fff; }
.pager .gap { color: var(--muted); }

/* slim page head + narrow hero ---------------------------------------- */
.pagehead-slim { padding: 3.5rem 0 3rem; }
.pagehead-slim .crumbs a { text-decoration: none; }
.code-line {
  font-size: .95rem;
  letter-spacing: .1em;
  color: var(--gold-2);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.narrow-hero { padding: 6rem 0; }
.tick-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
}
.errcode {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--gold);
  margin: 0 0 .5rem;
}

/* product detail ------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.main-shot {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.main-shot img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.main-shot.placeholder { color: var(--line); cursor: default; }
.zoom-hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(22, 18, 12, .78);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem .8rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .3s;
}
.main-shot:hover .zoom-hint { opacity: 1; }
.thumbs { display: flex; gap: .7rem; margin-top: .9rem; flex-wrap: wrap; }
.thumb {
  width: 84px;
  height: 84px;
  padding: .3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: border-color .25s, transform .25s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { transform: translateY(-2px); }
.thumb.is-on { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 2rem; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.spec-table th {
  width: 42%;
  font-weight: 500;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.spec-table td { font-weight: 500; }

.buy-box {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-top: 2rem;
}
.buy-box h3 { margin-bottom: .35rem; font-size: 1.15rem; }
.buy-box p { font-size: .93rem; color: var(--muted); }
.buy-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.25rem 0 .75rem; }
.buy-box .muted a { color: var(--gold); font-weight: 500; }

/* testimonials --------------------------------------------------------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  margin: 0;
  box-shadow: var(--shadow);
}
.quote .stars { display: flex; gap: .15rem; color: var(--gold); margin-bottom: 1rem; }
.quote .stars svg { fill: currentColor; }
.quote p { font-size: 1rem; line-height: 1.7; }
.quote cite { font-style: normal; display: block; margin-top: 1.2rem; }
.quote cite b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.quote cite span { font-size: .84rem; color: var(--muted); }

/* home "recent work" tiles -------------------------------------------- */
.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.06); }

/* forms ---------------------------------------------------------------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.has-error input, .field.has-error textarea, .field.has-error select {
  border-color: #d05353;
  background: #fdf6f6;
}
.field .err { color: #b23b3b; font-size: .8rem; display: block; margin-top: .35rem; }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 9;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.social { display: flex; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; font-size: .86rem; }

@media (max-width: 1024px) {
  .product-detail { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 720px) {
  .listbar { align-items: flex-start; }
  .thumb { width: 66px; height: 66px; }
}

/* header search --------------------------------------------------------- */
.nav-search {
  display: flex;
  align-items: center;
  position: relative;
}
.nav-search-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .25s, color .25s;
}
.nav-search-toggle:hover { border-color: var(--gold); color: var(--gold); }
.nav-search input {
  width: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .88rem;
  color: var(--text);
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: width .3s var(--ease), opacity .25s, padding .3s var(--ease);
}
.nav-search.open input {
  width: 230px;
  padding: .55rem 1rem;
  margin-left: .5rem;
  border-color: var(--line);
  opacity: 1;
  pointer-events: auto;
}
.nav-search.open input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

@media (max-width: 1080px) {
  .nav-search.open input { width: 160px; }
}
@media (max-width: 860px) {
  /* On small screens the drawer nav carries the search instead. */
  .nav-search { display: none; }
}

/* Search inside the mobile drawer; the header pill covers desktop. */
.drawer-search { display: none; }

@media (max-width: 860px) {
  .drawer-search {
    display: flex;
    align-items: center;
    position: relative;
    padding: .9rem 0 1rem;
    border-bottom: 1px solid var(--line);
  }
  .drawer-search svg {
    position: absolute;
    left: .95rem;
    color: var(--muted);
    pointer-events: none;
  }
  .drawer-search input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .7rem 1rem .7rem 2.6rem;
    font: inherit;
    font-size: .92rem;
    color: var(--text);
    background: var(--white);
  }
  .drawer-search input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-soft);
  }
}
