/* ==========================================================================
   Durawall Singapore — site styles
   Industrial-modern look: near-black + warm paper, amber brand accent,
   oversized tight headings. No framework, no build step.
   ========================================================================== */

:root {
  --ink: #0e1012;
  --ink-2: #15181b;
  --ink-3: #1d2125;
  --paper: #f4f1eb;
  --paper-2: #e9e4da;
  --white: #ffffff;
  --text: #15181b;
  --muted: #61666b;
  --muted-on-dark: #a1a7ad;
  --line: rgba(21, 24, 27, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --brand: #fbb040;          /* logo amber */
  --brand-hover: #ffc463;
  --brand-ink: #8f5400;      /* amber that passes contrast on light backgrounds */

  --font-head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1.1em; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--brand); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .muted, .section--dark p { color: var(--muted-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--brand); }
.muted { color: var(--muted); }
.lead-text { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--brand { background: var(--brand); color: var(--ink); }
.btn--brand:hover { background: var(--brand-hover); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.section:not(.section--dark) .btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(14, 16, 18, .92); color: var(--white);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  transition: transform .35s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1480px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; color: var(--white); }
.brand img { height: 28px; width: auto; }
.brand__word { font-family: "Lato", var(--font-body); font-size: 1.12rem; font-weight: 300; letter-spacing: .3em; line-height: 1; padding-top: 2px; }
.brand__word b { font-weight: 900; }
.brand--footer { margin-bottom: 22px; }
.brand--footer img { height: 34px; }
.brand--footer .brand__word { font-size: 1.3rem; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a, .main-nav .nav-toggle {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius);
  font-size: .93rem; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.86);
  background: none; border: 0; cursor: pointer; transition: color .2s;
}
.main-nav a:hover, .main-nav .nav-toggle:hover, .main-nav [aria-current="page"], .main-nav .is-active > a { color: var(--white); }
.main-nav [aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.has-sub { position: relative; }
.sub-menu {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ease);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.sub-menu a { padding: 10px 12px; }
.sub-menu a:hover { background: var(--ink-3); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .nav-toggle svg, .has-sub.is-open .nav-toggle svg { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-size: .9rem; color: rgba(255,255,255,.86); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--brand); }
.header-cta .btn { min-height: 44px; padding: 0 20px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); content: ""; transition: transform .3s var(--ease), opacity .2s; }
.burger span { top: 50%; margin-top: -1px; }
.burger span::before { left: 0; right: 0; top: -7px; }
.burger span::after { left: 0; right: 0; top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-contact { display: none; }
@media (max-width: 1100px) {
  .header-phone { display: none; }
}
@media (max-width: 980px) {
  /* backdrop-filter would make the fixed menu panel position relative to the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .burger { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); margin: 0;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line-dark); }
  .main-nav a, .main-nav .nav-toggle { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: -0.02em; padding: 16px 0; width: 100%; justify-content: space-between; }
  .main-nav [aria-current="page"] { box-shadow: none; color: var(--brand); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: none; border: 0; box-shadow: none; padding: 0 0 12px 12px; }
  .has-sub.is-open .sub-menu { display: block; }
  .sub-menu a { font-size: 1.15rem; padding: 10px 0; }
  .main-nav .mobile-contact { display: grid; gap: 10px; margin-top: 28px; }
  .main-nav .mobile-contact .btn { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; padding: 0 22px; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- home hero ---------- */
.hero {
  position: relative; min-height: max(680px, 100svh); padding-top: var(--header-h);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: var(--ink); color: var(--white); overflow: hidden;
}
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(150px, 17vw, 260px); }
.hero__intro { max-width: 330px; font-size: 1.02rem; line-height: 1.5; color: rgba(255,255,255,.88); margin-bottom: auto; }
.hero__main { margin-top: 48px; max-width: 640px; }
.hero__main h1 { font-size: clamp(2.2rem, 4.2vw, 4rem); margin-bottom: 28px; }
.hero__media { position: relative; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,18,.15), rgba(14,16,18,.05) 50%, rgba(14,16,18,.55)); }
.hero__word {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: -0.17em; pointer-events: none;
  font-family: var(--font-head); font-weight: 500; letter-spacing: -0.06em; line-height: 1;
  font-size: clamp(5rem, 19.5vw, 22rem); color: var(--white); white-space: nowrap; padding-left: calc(var(--gutter) - .05em);
}
.hero__badges { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 32px); z-index: 3; display: grid; gap: 10px; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(14,16,18,.7); border: 1px solid var(--line-dark); font-size: .82rem; backdrop-filter: blur(6px); }
.badge-pill b { color: var(--brand); font-weight: 600; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; height: 56vh; min-height: 340px; margin-top: 0; }
  .hero__content { padding-top: 32px; padding-bottom: clamp(110px, 26vw, 170px); }
  .hero__intro { display: none; }
  .hero__main { margin-top: 0; }
  .hero__badges { display: none; }
}

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative; background: var(--ink); color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,18,.96) 0%, rgba(14,16,18,.75) 55%, rgba(14,16,18,.35) 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 15ch; margin-bottom: 24px; }
.page-hero__lead { max-width: 640px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.82); margin-bottom: 32px; }
.page-hero__word {
  position: absolute; z-index: 1; right: -0.04em; bottom: -0.2em; pointer-events: none;
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.06em; line-height: 1; white-space: nowrap;
  font-size: clamp(5rem, 17vw, 18rem); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
}
.page-hero--post h1 { max-width: 22ch; font-size: clamp(2.1rem, 4.4vw, 4rem); }

.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 28px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }

.post-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .9rem; color: rgba(255,255,255,.72); }
.post-meta strong { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; }
.post-meta a { color: var(--white); }

/* ---------- intro / about blocks ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-grid h2 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.section--dark .stats { border-color: var(--line-dark); }
.stat__num { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; display: block; }
.stat__label { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted); }
.section--dark .stat__label { color: var(--muted-on-dark); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px rgba(14,16,18,.12); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.45rem; margin: 0 0 4px; }
.card__sub { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; color: var(--muted); text-align: right; }
.card .link-arrow { margin-top: 22px; align-self: flex-start; }
.section--dark .card { background: var(--ink-2); color: var(--white); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; background: var(--white); border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item {
  font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(3.5rem, 10vw, 9rem); padding-right: .5em; white-space: nowrap;
}
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.marquee__item::after { content: "•"; color: var(--brand); padding-left: .5em; -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- split feature (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.split + .split { margin-top: clamp(72px, 9vw, 130px); }
.split--flip .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split__media--wide img { aspect-ratio: 5 / 4; }
.split__num { font-family: var(--font-head); font-size: .9rem; font-weight: 600; color: var(--brand-ink); letter-spacing: .1em; display: block; margin-bottom: 14px; }
.section--dark .split__num { color: var(--brand); }
.split__text h2 { margin-bottom: 24px; }
.split__text p { color: var(--muted); }
.section--dark .split__text p { color: var(--muted-on-dark); }
.split__tag { position: absolute; left: 20px; bottom: 20px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); font-size: .85rem; }
.split__tag b { color: var(--brand); }
.checklist { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1012' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3; }
}

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.section--dark .process { border-color: var(--line-dark); }
.process__step { padding: 32px 28px 8px 0; position: relative; }
.process__step + .process__step { padding-left: 28px; border-left: 1px solid var(--line); }
.section--dark .process__step + .process__step { border-color: var(--line-dark); }
.process__step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-head); font-size: 3.2rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--brand-ink); margin-bottom: 24px; }
.section--dark .process__step::before { color: var(--brand); }
.process__step h3 { margin-bottom: 12px; }
.process__step p { color: var(--muted); font-size: .98rem; }
.section--dark .process__step p { color: var(--muted-on-dark); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process__step, .process__step + .process__step { padding: 28px 20px 8px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { max-width: 460px; margin: 0; color: var(--muted); }
.section--dark .section-head p { color: var(--muted-on-dark); }
@media (max-width: 760px) { .section-head { flex-direction: column; align-items: flex-start; } }

.big-word {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.06em; line-height: .8; white-space: nowrap;
  font-size: clamp(5rem, 22vw, 24rem); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18);
  margin: 0 0 clamp(-30px, -2vw, -10px); user-select: none; overflow: hidden;
}

/* ---------- gallery ---------- */
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; text-align: left; color: var(--white); }
.gallery__item img { width: 100%; transition: transform .8s var(--ease), opacity .3s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(14,16,18,.85)); font-size: .9rem; }
.gallery__cap strong { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 500; }
.gallery__cap span { color: rgba(255,255,255,.7); font-size: .82rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: transparent; font-size: .9rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--text); }
.chip.is-active, .chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--dark .chip { border-color: var(--line-dark); color: var(--white); }
.section--dark .chip.is-active, .section--dark .chip[aria-pressed="true"] { background: var(--brand); color: var(--ink); border-color: var(--brand); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,9,10,.94); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: min(1200px, 100%); width: auto; object-fit: contain; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); color: var(--white); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; padding: 0 70px; }

/* ---------- accordion (details) ---------- */
.accordion { border-top: 1px solid var(--line); }
.section--dark .accordion { border-color: var(--line-dark); }
.accordion details { border-bottom: 1px solid var(--line); }
.section--dark .accordion details { border-color: var(--line-dark); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-head); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--font-body); font-size: 1.2rem; transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: var(--ink); }
.accordion details > div { padding: 0 0 22px; max-width: 680px; color: var(--muted); }
.section--dark .accordion details > div { color: var(--muted-on-dark); }
.accordion details > div p:last-child { margin: 0; }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.section--dark .features { background: var(--line-dark); border-color: var(--line-dark); }
.feature { background: var(--paper); padding: 32px 28px; }
.section--white .feature { background: var(--white); }
.section--dark .feature { background: var(--ink); }
.feature__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: var(--ink); display: grid; place-items: center; margin-bottom: 22px; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.section--dark .feature p { color: var(--muted-on-dark); }

/* ---------- value strip (10+ / 100% / +++) ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.value__num { font-family: var(--font-head); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.05em; color: var(--brand); display: block; margin-bottom: 18px; }
.value h3 { font-size: 1.3rem; margin-bottom: 10px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* ---------- payment / financing strip ---------- */
.paylater { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.paylater__logos { display: flex; gap: 16px; flex-wrap: wrap; }
.paylater__logos a { flex: 1 1 180px; background: var(--white); border-radius: var(--radius); padding: 18px; display: grid; place-items: center; min-height: 120px; border: 1px solid var(--line); }
.paylater__logos img { max-height: 84px; width: auto; object-fit: contain; }
@media (max-width: 860px) { .paylater { grid-template-columns: 1fr; } }

/* ---------- blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.post-card { display: flex; flex-direction: column; text-decoration: none; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); margin-bottom: 20px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta { display: flex; gap: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post-card__meta span:first-child { color: var(--brand-ink); }
.post-card h2, .post-card h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; transition: color .2s; }
.post-card:hover h2, .post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.section--dark .post-card p, .section--dark .post-card__meta { color: var(--muted-on-dark); }
.section--dark .post-card__meta span:first-child { color: var(--brand); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* ---------- article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.article-cover { margin: 0 0 48px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.78; max-width: 760px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 1.8em 0 .6em; letter-spacing: -0.03em; }
.prose h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.12rem; margin: 1.4em 0 .4em; }
.prose p.lead { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.5; letter-spacing: -0.015em; color: var(--text); border-left: 3px solid var(--brand); padding-left: 20px; }
.prose a { color: var(--brand-ink); font-weight: 500; }
.prose a:hover { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand-ink); }
.prose img { border-radius: var(--radius); margin: 2em 0; width: 100%; height: auto; }
.prose img + img { margin-top: -1em; }
.prose blockquote { margin: 2em 0; padding: 24px 28px; background: var(--white); border-left: 3px solid var(--brand); font-family: var(--font-head); font-size: 1.2rem; line-height: 1.5; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--white); }
.inline-cta { margin: 2.4em 0; padding: 32px; background: var(--ink); color: var(--white); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.inline-cta p { margin: 0; font-family: var(--font-head); font-size: 1.4rem; line-height: 1.25; letter-spacing: -0.02em; max-width: 26ch; }
.inline-cta p span { color: var(--brand); }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.side-box { background: var(--white); border-radius: var(--radius); padding: 26px; }
.side-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; border-top: 1px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 10px 0; font-size: .92rem; line-height: 1.4; text-decoration: none; color: var(--muted); }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--brand-ink); font-weight: 600; font-size: .8rem; padding-top: 2px; }
.toc a:hover, .toc a.is-current { color: var(--text); }
.side-box--dark { background: var(--ink); color: var(--white); }
.side-box--dark p { color: var(--muted-on-dark); font-size: .95rem; }
.side-box--dark .btn { width: 100%; margin-top: 8px; }

.article-foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; max-width: 760px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag-list > span { font-weight: 600; font-size: .85rem; margin-right: 4px; }
.share { display: flex; gap: 8px; align-items: center; }
.share > span { font-weight: 600; font-size: .85rem; margin-right: 4px; }
.share a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .2s; }
.share a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.share svg { width: 16px; height: 16px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; max-width: 760px; }
.post-nav a { display: block; padding: 20px 22px; background: var(--white); border-radius: var(--radius); text-decoration: none; }
.post-nav a:hover { box-shadow: inset 0 0 0 1px var(--text); }
.post-nav small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.post-nav strong { font-family: var(--font-head); font-weight: 500; line-height: 1.3; }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 1020px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .toc-box { display: none; }
}
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--brand); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-list a, .contact-list address { font-family: var(--font-head); font-style: normal; font-size: 1.25rem; letter-spacing: -0.015em; text-decoration: none; line-height: 1.35; }
.contact-list a:hover { color: var(--brand-ink); }
.form { background: var(--white); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); }
.form h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .2s, background .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); background: var(--white); }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.map { margin-top: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 7; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--white); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta-band h2, .cta-band__title { font-size: clamp(2rem, 4.4vw, 4rem); max-width: 20ch; margin-bottom: 36px; }
.cta-band h2 a, .cta-band__title a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cta-band h2 a:hover, .cta-band__title a:hover { color: var(--brand-hover); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color: var(--muted-on-dark); padding: clamp(64px, 8vw, 100px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-grid h2, .footer-title { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--brand); }
.footer-about p { max-width: 36ch; }
.footer-grid address { font-style: normal; line-height: 1.6; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--white); transition: all .2s; }
.socials a:hover { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 24px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--brand); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 12px 18px 12px 14px; border-radius: 99px; box-shadow: 0 10px 28px rgba(0,0,0,.25);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- misc ---------- */
.notice { padding: 18px 22px; border-left: 3px solid var(--brand); background: var(--white); font-size: .95rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pagination-note { margin-top: 40px; }
.error-page { min-height: 80vh; display: grid; align-items: center; }
.error-code { font-family: var(--font-head); font-size: clamp(7rem, 24vw, 18rem); line-height: .85; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--brand); margin-bottom: 24px; }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- WordPress additions ---------- */
.cta-band__title { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 980px) { .admin-bar .main-nav { top: calc(var(--header-h) + 46px); } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose .alignleft { float: left; margin: .4em 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 1.5em; max-width: 50%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-caption-text { font-size: .88rem; color: var(--muted); margin-top: -1.2em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.page-hero__bg img, .card__media img, .post-card__media img { height: 100% !important; }
/* ---------- v1.1: 4 service cards, photo placeholders, editor galleries ---------- */
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--4 .card__body { padding: 22px 20px 24px; }
.cards--4 .spec div { flex-direction: column; gap: 2px; }
.cards--4 .spec dd { text-align: left; }
@media (max-width: 1180px) { .cards--4 { grid-template-columns: 1fr 1fr; } .cards--4 .spec div { flex-direction: row; } .cards--4 .spec dd { text-align: right; } }
@media (max-width: 620px) { .cards--4 { grid-template-columns: 1fr; } }

/* placeholder art until a Featured Image is set on the service page */
.ph { width: 100%; height: 100%; min-height: 240px; border-radius: var(--radius); position: relative; overflow: hidden; }
.split__media .ph { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .split__media .ph { aspect-ratio: 4 / 3; } }
.card__media .ph { border-radius: 0; min-height: 0; }
.ph--toilet {
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(160,150,140,.35) 39%, transparent 41% 70%, rgba(150,140,130,.25) 71%, transparent 72%),
    linear-gradient(160deg, transparent 0 55%, rgba(170,160,150,.3) 56%, transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 calc(33.33% - 1px), rgba(14,16,18,.18) calc(33.33% - 1px) 33.33%),
    linear-gradient(180deg, #f3f0eb, #e2ddd5);
}
.ph--ceiling {
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255,252,240,1) 0%, rgba(255,240,205,.92) 35%, rgba(251,176,64,.25) 68%, transparent 80%),
    linear-gradient(180deg, #2a2620 0%, #0e1012 100%);
}
.ph--ceiling::after { content: ""; position: absolute; left: 12%; right: 12%; top: 14%; height: 48%; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; }

/* photos added in the WordPress editor (Gallery / Image blocks) */
.prose--wide { max-width: none; }
.page-photos .prose { color: var(--muted-on-dark); }
.prose .wp-block-gallery, .prose .blocks-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.prose .wp-block-gallery figure, .prose .blocks-gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.prose .wp-block-gallery img, .prose .blocks-gallery-item img { margin: 0; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }
.prose .wp-block-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 30px 14px 12px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(14,16,18,.85)); }
.prose .wp-block-image img { margin: 0; }
.prose .wp-block-image { margin: 1.5em 0; }.ph--paint {
  background:
    linear-gradient(90deg, #e9e4da 0 22%, #c9b8a1 22% 40%, #8f9b88 40% 58%, #3d4a52 58% 76%, #fbb040 76% 100%) bottom / 100% 26% no-repeat,
    linear-gradient(180deg, #f4f1eb, #e6e0d6);
}
.ph--paint::after { content: ""; position: absolute; left: 14%; top: 18%; width: 44%; height: 36%; border-radius: 4px; background: #3d4a52; box-shadow: 18px 18px 0 -4px #c9b8a1; }
.card ul.checklist li { font-size: .95rem; }
/* ---------- clients & partners (greyscale logos) ---------- */
.clients__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client { background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 22px 20px; min-height: 120px; }
.client--dup { display: none; }
.client img, .client svg { display: block; width: auto; height: auto; max-width: 150px; max-height: 52px; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: .72; transition: opacity .3s var(--ease); }
.client svg { width: 150px; height: 38px; max-height: none; }
/* balance logos of very different shapes */
.client--og img { max-height: 30px; }
.client--corten img { max-height: 36px; }
.client--the-noodle-factory img { max-height: 70px; }
.client--puz-restaurant img { max-height: 54px; }
.client--uae-ministry-of-foreign-affairs img { max-width: 160px; max-height: 44px; }
.client:hover img, .client:hover svg { opacity: 1; }

/* phones: one compact, gently scrolling row instead of a tall grid */
@media (max-width: 760px) {
  .clients.section--tight { padding: 44px 0 36px; }
  .clients .section-head { margin-bottom: 22px; gap: 10px; }
  .clients .section-head p { font-size: .95rem; }
  .clients__wrap { overflow: hidden; margin: 0 calc(var(--gutter) * -1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .clients__grid { display: flex; width: max-content; border: 0; animation: clients-scroll 30s linear infinite; }
  .client, .client--dup { display: flex; flex: none; width: 132px; height: 64px; min-height: 0; padding: 0 14px; border: 0; background: transparent; }
  .client img { max-width: 104px; max-height: 40px; }
  .client svg { width: 112px; height: 30px; }
  .client--og img { max-height: 24px; }
  .client--corten img { max-height: 28px; }
  .client--the-noodle-factory img { max-height: 54px; }
  .client--uae-ministry-of-foreign-affairs img { max-width: 112px; max-height: 34px; }
}
@keyframes clients-scroll { to { transform: translateX(-50%); } }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .clients__wrap { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .clients__grid { animation: none; }
  .client--dup { display: none; }
}
/* ---------- phone layout tightening (v1.3.2) ---------- */
@media (max-width: 620px) {
  /* service / info cards: swipeable row with a peek of the next card */
  .cards { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cards::-webkit-scrollbar { display: none; }
  .cards > .card { flex: 0 0 84%; scroll-snap-align: start; }
  .cards > .card:hover { transform: none; }
  .card__body { padding: 20px 18px 22px; }
  /* project photos: two columns */
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .gallery__cap { padding: 28px 10px 8px; }
  .gallery__cap strong { font-size: .85rem; line-height: 1.25; }
  .gallery__cap span { display: none; }
}
/* WhatsApp for WordPress plugin: keep the green button, hide the text bubble that covers content on phones */
@media (max-width: 760px) {
  #wa .wa__btn_popup_txt { display: none !important; }
  #wa .wa__btn_popup { right: 16px !important; bottom: 16px !important; }
}@media (max-width: 480px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stat__num { font-size: 2.3rem; }
  .stat__label { font-size: .8rem; line-height: 1.35; }
}@media (max-width: 620px) {
  .big-word { font-size: 27vw; margin-bottom: 14px; }
}
/* ---------- v1.3.4: gallery tabs, estimator, phone quick bar ---------- */
.btn--wa { background: #1f9d55; color: #fff; }
.btn--wa:hover { background: #18864a; }
.estimator__result .est-label { color: var(--brand); }/* ---------- gallery filter transitions ---------- */
.gallery__item { transition: opacity .35s var(--ease), transform .45s var(--ease); }
.gallery__item.is-leaving { opacity: 0; transform: scale(.96); }
.gallery__item.is-entering { opacity: 0; transform: translateY(12px) scale(.98); }
@media (prefers-reduced-motion: reduce) { .gallery__item { transition: none; } }

/* ---------- estimator ---------- */
.estimator { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.estimator__form { padding: clamp(22px, 3vw, 40px); }
.estimator__form fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.estimator__form legend { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 14px; padding: 0; }
.estimator__form legend > span:first-child { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .78rem; }
.est-options { display: flex; flex-wrap: wrap; gap: 8px; }
.est-option { position: relative; cursor: pointer; }
.est-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.est-option span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; background: var(--paper); transition: all .2s; }
.est-option input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.est-option input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.est-dims { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.est-x { padding-bottom: 14px; color: var(--muted); }
.est-dims .field, .est-or { margin: 0; }
.est-or { margin-top: 14px; max-width: 240px; }
.estimator .field input { background: var(--paper); }
.estimator__result { background: var(--ink); color: var(--white); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.estimator__result .btn { align-self: flex-start; }
.est-area-line { margin: 0; color: var(--muted-on-dark); font-size: .9rem; }
.est-area-line strong { color: var(--white); font-size: 1.1rem; }
.est-label { margin: 0 0 4px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.est-range { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.est-range--enquiry { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.est-help { margin: 0; color: var(--muted-on-dark); font-size: .95rem; }
.est-bnpl { border-top: 1px solid var(--line-dark); padding-top: 14px; margin-top: 4px; }
.est-bnpl__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; }
.est-bnpl__brand { font-weight: 600; padding: 3px 10px; border-radius: 99px; font-size: .8rem; }
.est-bnpl__brand--atome { background: #f1ff4d; color: #111; }
.est-bnpl__brand--grab { background: #00b14f; color: #fff; }
.est-note { margin: 4px 0 0; font-size: .78rem; line-height: 1.5; color: var(--muted-on-dark); }
@media (max-width: 900px) { .estimator { grid-template-columns: 1fr; } }


/* ---------- v1.3.8: quote tool polish ---------- */
.est-range--enquiry { margin-bottom: 12px; }
.est-area-line[hidden] { display: none; }
@media (max-width: 620px) {
  .estimator__form { padding: 24px 18px 8px; }
  .estimator__form fieldset { margin-bottom: 22px; }
  .est-options { gap: 6px; }
  .est-option span { min-height: 40px; padding: 0 13px; font-size: .86rem; }
  .est-dims { gap: 8px; }
  .est-or { max-width: none; }
  .estimator__result { padding: 26px 18px 24px; gap: 12px; }
  .estimator__result .btn { align-self: stretch; }
  .est-range--enquiry { font-size: 1.55rem; }
}
/* v1.4.0 – label for concept/illustrative photos */
.card__media { position: relative; }
.img-note { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(14,16,18,.72); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
/* v1.4.1 – fluted page: price box, material table, reviews */
.price-box { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.price-box__label { margin: 0; color: var(--muted-on-dark); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.price-box__price { margin: 6px 0 4px; font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--brand); }
.price-box__price span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--white); }
.price-box__note { margin: 0 0 24px; color: var(--muted-on-dark); }
.price-box h3 { margin: 0 0 14px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 1.15rem; }
.price-box .checklist li { font-size: .95rem; color: var(--muted-on-dark); }
.price-box .checklist strong { color: var(--white); }
.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.compare tbody th { font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.compare td:last-child { white-space: nowrap; font-weight: 600; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.review blockquote { margin: 0 0 16px; font-size: 1.05rem; }
.review figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }
.price-box__price--text { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.1; }
