/* Tiling Wizards - styles.css (bump CSS_V in _build/gen.py on every edit)
   Brand (TWA branding guidelines): royal yellow #FCD94E, true black #000000, medium grey #77787B, pure white #FFFFFF.
   Logos: twA. primary mark + "tiling wizards. australia" wordmark (vector, traced from the guide by _build/brand.py).
   Type: the guide's Foco + Menco are commercial fonts with no web licence here, so Source Sans 3 (self-hosted variable)
   stands in: light lowercase display headings that end in the logo's yellow full stop, as in the guide.
   Legacy token names (--purple, --indigo...) are kept but mapped to the monochrome palette. Motif: tiles with grout lines,
   plus the business card's diagonal-stripe circle. */

@font-face { font-family: 'Source Sans 3'; src: url(fonts/sourcesans3-var.woff2) format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --ink: #000; --ink-2: #0e0e0f; --ink-3: #1e1e20; --grout-dark: #242426;
  --grey: #77787b; --grey-soft: #efefef;
  --purple: #000; --purple-2: #77787b; --purple-soft: #efefef; --indigo: #000; --indigo-deep: #000;
  --yellow: #fcd94e; --yellow-2: #f0c928;
  --canvas: #f4f4f4; --stone: #e2e2e2; --paper: #fff;
  --text: #0b0b0c; --muted: #555659; --line: rgba(0, 0, 0, .12); --line-2: rgba(0, 0, 0, .24);
  --on-dark: #fff; --on-dark-2: rgba(255, 255, 255, .74); --on-dark-3: rgba(255, 255, 255, .54);
  --red: #b4232f; --green: #1f7a4d;
  --font-d: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --font-b: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 6px; --r-lg: 10px;
  --shadow: 0 1px 0 rgba(22, 20, 27, .04), 0 14px 34px -16px rgba(22, 20, 27, .28);
  --shadow-lg: 0 30px 70px -30px rgba(10, 8, 14, .6);
  --head-h: 78px;
}

/* ---------------------------------------------------------------- reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font: 400 1.125rem/1.6 var(--font-b); color: var(--text); background: var(--canvas); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1, .sec-head h2, .cta-band h2, .tool h2, .care-type h2, .care-grout h2, .form-h, .next h2, .dd h3 { font-weight: 300; text-transform: lowercase; letter-spacing: -0.025em; }
.dot { color: var(--yellow); }
.kc { text-transform: none; }
.sec-yellow .dot, .tool-calc .dot { color: #000; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--purple-2); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.muted { color: var(--muted); }

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* motion gating: hidden only while motion.js is in charge */
html.js:not(.no-motion) .rv,
html.js:not(.no-motion) .hero-reveal,
html.js:not(.no-motion) .mz { visibility: hidden; }

/* ---------------------------------------------------------------- icons + sparkle */
.i { width: 20px; height: 20px; flex: none; }
.i-arrow { transition: transform .25s ease; }
.spark { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); flex: none; }
.spark-sm { width: 9px; height: 9px; }

/* ---------------------------------------------------------------- buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: var(--r); border: 1.5px solid transparent; font: 600 1.06rem/1.1 var(--font-b); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-yellow { background: var(--yellow); color: #000; box-shadow: 0 8px 22px -12px rgba(252, 217, 78, .55); }
.btn-yellow:hover { background: #ffe47c; transform: translateY(-1px); }
.btn-line { border-color: rgba(244, 242, 247, .38); color: var(--on-dark); }
.btn-line:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2a2c; }
.btn-lg { padding: 17px 26px; font-size: 1.05rem; }
.btn-sm { padding: 11px 16px; font-size: .94rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: #000; font-weight: 600; text-decoration: none; padding-bottom: 3px; box-shadow: inset 0 -2px 0 var(--yellow); }
.link-arrow:hover { box-shadow: inset 0 -6px 0 var(--yellow); }
.link-arrow:hover .i-arrow { transform: translateX(4px); }
.link-arrow .i { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- eyebrows + section heads */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 400 1.02rem/1.2 var(--font-b); letter-spacing: .01em; text-transform: lowercase; color: var(--muted); }
.eyebrow-on-dark, .subhero .eyebrow, .hero .eyebrow, .sec-slate .eyebrow { color: var(--on-dark-2); }
.sec-yellow .eyebrow, .tool-calc .eyebrow { color: #000; }
.sec-yellow .spark, .tool-calc .spark { background: #000; }
.sec { position: relative; padding: clamp(64px, 9vw, 116px) 0; }
.sec-canvas { background: var(--canvas); }
.sec-white { background: var(--paper); }
.sec-slate { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.sec-slate > .wrap { position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(30px, 4vw, 50px); }
.sec-head h2 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); line-height: 1.02; margin: 0; max-width: 20ch; }
.sec-lead { margin: 18px 0 0; padding-left: 18px; border-left: 1px solid var(--grey); color: var(--muted); max-width: 62ch; font-size: 1.12rem; }
.sec-head-dark .sec-lead { color: var(--on-dark-2); }
.sec-head > a { flex: none; }

/* grout grid backdrop for dark areas */
.grout-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 92px 92px; background-position: -1px -1px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 25%, transparent 78%); }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--on-dark); transition: background .3s, transform .35s ease, box-shadow .3s; }
.site-header.is-scrolled, .site-header.mega-open { background: rgba(0, 0, 0, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-in { display: flex; align-items: center; gap: 18px; height: var(--head-h); }
.brand { display: block; flex: none; }
.brand-img, .brand-logo { height: 40px; width: auto; display: block; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-list > li > a, .mega-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; border-radius: var(--r); color: var(--on-dark); font-weight: 400; font-size: 1.06rem; text-decoration: none; position: relative; transition: color .2s, background .2s; }
.nav-list > li > a:hover, .mega-btn:hover { color: var(--yellow); }
.nav-list > li > a[aria-current="page"]::after, .has-mega.is-on > .mega-btn::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--yellow); border-radius: 2px; }
.i-chev { width: 16px; height: 16px; transition: transform .25s; }
.has-mega { position: static; }
.header-in { position: relative; }
.has-mega.is-open .i-chev { transform: rotate(180deg); }
.mega { position: absolute; left: 50%; top: calc(100% - 4px); width: min(960px, 94vw); transform: translate(-50%, 8px); background: var(--paper); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 14px; visibility: hidden; opacity: 0; transition: opacity .22s, transform .22s, visibility .22s; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.has-mega.is-open .mega { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.mega-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-list a { display: flex; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; transition: background .18s; }
.mega-list a:hover, .mega-list a[aria-current="page"] { background: var(--canvas); }
.mega-list strong { display: block; font-family: var(--font-d); font-size: 1.08rem; font-weight: 600; }
.mega-list small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.mega-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--purple-soft); color: var(--purple); }
.mega-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 14px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.mega-foot:hover .i-arrow { transform: translateX(4px); }
.nav-cta { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 650; text-decoration: none; white-space: nowrap; }
.header-phone .i { color: var(--yellow); width: 18px; height: 18px; }
.header-phone:hover { color: var(--yellow); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: var(--r); background: transparent; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; left: 0; right: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.menu-open .nav-toggle .bars { background: transparent; }
.menu-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) { .header-phone span { display: none; } }
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .header-cta { margin-left: auto; }
  .site-nav { position: fixed; inset: 0; z-index: -1; margin: 0; background: var(--ink); padding: calc(var(--head-h) + 12px) clamp(16px, 4vw, 40px) 32px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; display: flex; flex-direction: column; gap: 24px; }
  .menu-open .site-nav { visibility: visible; opacity: 1; }
  .menu-open .site-header { background: var(--ink); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-list > li > a, .mega-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font: 300 1.7rem/1.2 var(--font-d); text-transform: lowercase; }
  .nav-list > li > a[aria-current="page"]::after, .has-mega.is-on > .mega-btn::after { display: none; }
  .nav-list > li > a[aria-current="page"] { color: var(--yellow); }
  .mega { position: static; width: auto; transform: none; box-shadow: none; padding: 0 0 12px; background: transparent; color: var(--on-dark); display: none; visibility: visible; opacity: 1; }
  .has-mega.is-open .mega { display: block; transform: none; }
  .mega-list { grid-template-columns: 1fr; }
  .mega-list a:hover, .mega-list a[aria-current="page"] { background: var(--ink-2); }
  .mega-list small { color: var(--on-dark-3); }
  .mega-ico { background: var(--ink-3); color: var(--yellow); }
  .mega-foot { background: var(--ink-2); }
  .nav-cta { display: flex; flex-direction: column; gap: 12px; }
  .html-menu-lock { overflow: hidden; }
}
@media (max-width: 560px) { .header-cta { display: none; } .nav-toggle { margin-left: auto; } .brand-img, .brand-logo { height: 34px; } }

/* ---------------------------------------------------------------- home hero */
.hero { position: relative; background: var(--ink); color: var(--on-dark); padding: calc(var(--head-h) + clamp(28px, 5vw, 64px)) 0 0; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px 460px at 82% 18%, rgba(252, 217, 78, .13), transparent 70%); }
.stripes { position: absolute; width: 440px; aspect-ratio: 1; border-radius: 50%; pointer-events: none; color: #fff; background: repeating-linear-gradient(-45deg, currentColor 0 15px, transparent 15px 30px); }
.hero .stripes { color: rgba(255, 255, 255, .07); left: -250px; bottom: -150px; }
.cta-band .stripes { color: #000; right: -250px; bottom: -290px; width: 470px; opacity: .9; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.5rem); line-height: .98; margin-bottom: .36em; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; font-weight: 400; color: var(--yellow); }
.hero .lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--on-dark-2); max-width: 56ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-locs { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 34px; }
.hero-locs a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 650; font-size: 1.1rem; }
.hero-locs .i { width: 40px; height: 40px; padding: 10px; border-radius: var(--r); background: var(--ink-3); color: var(--yellow); }
.hero-locs small { display: block; font-weight: 500; font-size: .8rem; color: var(--on-dark-3); }
.hero-locs a:hover { color: var(--yellow); }
.mosaic { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; padding: 10px; aspect-ratio: 1 / 1; background: var(--grout-dark); border-radius: 12px; box-shadow: var(--shadow-lg); transform: perspective(1600px) rotateY(-7deg) rotateX(3deg); }
.mz { position: relative; overflow: hidden; border-radius: 4px; background: var(--ink-3); }
.mz img { width: 100%; height: 100%; object-fit: cover; }
.mz-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.mz-2 { grid-column: 3; grid-row: 1; }
.mz-3 { grid-column: 3; grid-row: 2; }
.mz-4 { grid-column: 1; grid-row: 3; }
.mz-5 { grid-column: 2; grid-row: 3; }
.mz-6 { grid-column: 3; grid-row: 3; }
.mz-brand { background: var(--yellow); color: #000; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(10px, 1.4vw, 18px); }
.mz-brand .mz-logo { width: 80%; height: auto; }
.mz-brand > span { display: block; font-size: clamp(.68rem, .95vw, .9rem); font-weight: 400; line-height: 1.2; }
.mz-brand .spark { fill: var(--purple); width: clamp(20px, 2.2vw, 30px); height: auto; }
.mz-brand p { margin: 0; line-height: 1.15; }
.mz-brand strong { display: block; font: 800 clamp(1.1rem, 2vw, 1.75rem)/1 var(--font-d); letter-spacing: .02em; }
.mz-brand span { display: block; font-size: clamp(.66rem, .9vw, .8rem); font-weight: 600; margin-top: 4px; }
.stats { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(44px, 6vw, 80px); border-top: 1px solid rgba(255, 255, 255, .1); }
.stats li { padding: 26px 24px 30px 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stats strong { display: block; font: 300 clamp(2.5rem, 4.4vw, 3.6rem)/1 var(--font-d); color: var(--yellow); letter-spacing: -0.03em; }
.stats span { display: block; margin-top: 8px; font-size: .92rem; color: var(--on-dark-2); line-height: 1.4; }

/* ---------------------------------------------------------------- inner hero */
.subhero { position: relative; background: var(--ink); color: var(--on-dark); padding: calc(var(--head-h) + clamp(36px, 6vw, 72px)) 0 clamp(54px, 7vw, 92px); overflow: hidden; }
.subhero-bg { position: absolute; inset: 0; background: url(img/darktile-1600.webp) center 70% / cover no-repeat; opacity: .32; filter: grayscale(1); }
.subhero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #000 18%, rgba(0, 0, 0, .58) 70%, rgba(0, 0, 0, .25)), radial-gradient(500px 300px at 90% 0%, rgba(252, 217, 78, .1), transparent 70%); }
.subhero-in { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.subhero.has-side .subhero-in { grid-template-columns: 1.2fr .8fr; }
.subhero h1 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); line-height: .98; max-width: 18ch; margin-bottom: .4em; }
.subhero .lead { font-size: clamp(1.1rem, 1.35vw, 1.25rem); color: var(--on-dark-2); max-width: 60ch; margin-bottom: 28px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .45); }
.subhero .lead:last-child { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .88rem; color: var(--on-dark-3); }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: var(--on-dark); }
.subhero-side { position: relative; }
.subhero-side .tile-frame { transform: rotate(2deg); border: 8px solid var(--grout-dark); }
.subhero-side::before { content: ''; position: absolute; width: 64px; height: 64px; left: -18px; bottom: -18px; z-index: 1; background: var(--yellow); border-radius: 6px; transform: rotate(-6deg); }
.subhero-plain h1 { max-width: 24ch; }
.subhero-404 { min-height: 80vh; display: flex; align-items: center; }
.subhero-404 .subhero-in { grid-template-columns: 1.2fr .8fr; }
.missing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; background: var(--grout-dark); border-radius: 12px; aspect-ratio: 1; max-width: 360px; justify-self: center; width: 100%; }
.missing span { border-radius: 4px; background: linear-gradient(135deg, #3a3542, #2a2631); }
.missing span:nth-child(5) { background: transparent; border: 2px dashed rgba(243, 234, 33, .6); }
.missing span:nth-child(1), .missing span:nth-child(9) { background: var(--grey); }
.missing span:nth-child(3) { background: var(--yellow); }

/* ---------------------------------------------------------------- frames + prose */
.tile-frame { position: relative; overflow: hidden; border-radius: 10px; background: var(--stone); box-shadow: var(--shadow); }
.tile-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.tile-frame.tall img { aspect-ratio: 4 / 5; }
.prose p { color: var(--muted); }
.prose-page { max-width: 780px; }
.prose-page h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose-page ul { padding-left: 1.2em; color: var(--muted); margin-bottom: 1em; }
.prose-page li { margin-bottom: .4em; }
.prose-page a { color: var(--purple); }

/* ---------------------------------------------------------------- intro (home) */
.intro-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.intro-media { position: relative; }
.intro-badge { position: absolute; right: -14px; bottom: 28px; margin: 0; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--yellow); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow); }
.intro-badge .spark { background: #000; width: 16px; height: 16px; }
.intro-badge strong { display: block; font: 600 1.35rem/1.1 var(--font-d); }
.intro-badge span { font-size: .85rem; font-weight: 600; }
.intro-copy .sec-head { margin-bottom: 22px; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 26px; }
.pillar { background: var(--paper); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); }
.pillar h3 { font-size: 1.2rem; margin: 14px 0 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.pillar-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--ink); color: var(--yellow); }

/* ---------------------------------------------------------------- service tiles (a tiled wall: tiles + grout) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; background: var(--stone); border-radius: var(--r-lg); }
.svc { position: relative; display: flex; flex-direction: column; min-height: 248px; padding: 24px; background: var(--paper); border-radius: 5px; text-decoration: none; overflow: hidden; transition: background .3s, color .3s, transform .3s, box-shadow .3s; }
.svc::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.svc:hover { background: var(--ink); color: var(--on-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); z-index: 1; }
.svc:hover::after { transform: scaleX(1); }
.svc-num { position: absolute; top: 20px; right: 22px; font: 700 .85rem/1 var(--font-d); color: var(--muted); letter-spacing: .04em; }
.svc:hover .svc-num { color: var(--on-dark-3); }
.svc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); background: var(--purple-soft); color: var(--purple); transition: background .3s, color .3s; }
.svc-ico .i { width: 26px; height: 26px; }
.svc:hover .svc-ico { background: var(--yellow); color: var(--ink); }
.svc h3 { margin: 30px 0 8px; font-size: 1.36rem; }
.svc p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; transition: color .3s; }
.svc:hover p { color: var(--on-dark-2); }
.svc-go { position: absolute; right: 18px; top: 60px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.svc:hover .svc-go { opacity: 1; transform: none; }
.svc-cta { background: var(--yellow); }
.svc-cta p { color: var(--ink); }
.svc-cta .svc-ico { background: var(--ink); color: var(--yellow); }

/* ---------------------------------------------------------------- projects */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { position: relative; background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard-link { display: block; text-decoration: none; height: 100%; }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-count { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(22, 20, 27, .78); color: #fff; font-size: .8rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pcard-count .i { width: 15px; height: 15px; color: var(--yellow); }
.pcard-body { padding: 18px 20px 22px; }
.pcard-sector { margin: 0 0 6px; font-size: .98rem; font-weight: 400; letter-spacing: .01em; text-transform: lowercase; color: var(--muted); }
.pcard h3 { font-size: 1.28rem; margin: 0 0 6px; }
.pcard-loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .92rem; }
.pcard-loc .i { width: 16px; height: 16px; }
.pcard-text { box-shadow: none; border: 1.5px dashed var(--line-2); background: transparent; }
.pcard-text:hover { transform: none; box-shadow: none; }
.pcard-pattern { display: grid; place-items: center; background-color: var(--grey-soft); background-image: linear-gradient(rgba(0, 0, 0, .08) 2px, transparent 2px), linear-gradient(90deg, rgba(0, 0, 0, .08) 2px, transparent 2px); background-size: 40px 40px; background-position: -1px -1px; }
.pcard-pattern .spark { width: 22px; height: 22px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btns button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.filter-btns button span { font-size: .78rem; color: var(--muted); }
.filter-btns button:hover { border-color: var(--ink); }
.filter-btns button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btns button[aria-pressed="true"] span { color: var(--yellow); }
.search { position: relative; flex: 1 1 260px; max-width: 340px; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.search input { width: 100%; padding: 12px 14px 12px 42px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); }
.search input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(252, 217, 78, .6); }
.filter-count { margin: 0 0 22px; color: var(--muted); font-size: .92rem; }
.empty { text-align: center; padding: 40px 0; }

/* ---------------------------------------------------------------- quality / time / cost + points */
.qtc-list, .points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.qtc-item, .point { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 24px; }
.qtc-n, .point-n { display: block; font: 800 3.2rem/1 var(--font-d); color: transparent; -webkit-text-stroke: 1.5px var(--yellow); margin-bottom: 18px; }
.qtc-item h3, .point h3 { font-size: 1.5rem; }
.qtc-item p, .point p { margin: 0; color: var(--on-dark-2); }
.sec-head-dark .sec-lead { color: var(--on-dark-2); }
.points-light .point { border-top-color: var(--line-2); }
.points-light .point-n { -webkit-text-stroke-color: var(--purple); }
.points-light .point p { color: var(--muted); }

/* ---------------------------------------------------------------- tools (home) */
.tools-in { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tool { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: clamp(28px, 4vw, 46px); border-radius: var(--r-lg); text-decoration: none; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 0 0 10px; max-width: 14ch; }
.tool p { max-width: 46ch; }
.tool .btn { margin-top: auto; }
.tool-calc { background: var(--yellow); color: var(--ink); }

.tool-care { background: var(--canvas); border: 1.5px solid var(--line); }
.tool-art { position: absolute; right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: repeat(3, 22px); gap: 5px; }
.tool-art span { width: 22px; height: 22px; border-radius: 3px; background: rgba(22, 20, 27, .16); transition: background .3s, transform .3s; }
.tool-calc:hover .tool-art span:nth-child(odd) { background: var(--indigo); transform: rotate(8deg); }
.tool-art-care { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--ink); color: var(--yellow); grid-template-columns: 1fr; }
.tool-art-care .i { width: 30px; height: 30px; }
.tool .eyebrow { padding-right: 90px; }

/* ---------------------------------------------------------------- brand wall */
.brand-wall { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 8px; background: var(--stone); border-radius: var(--r-lg); }
.bw-tile { position: relative; aspect-ratio: 1; background: var(--paper); border-radius: 4px; }
.bw-tile img { position: absolute; left: 14%; top: 14%; width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s, transform .3s; }
.bw-tile:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------------------------------------------------------------- FAQ */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.faq-split .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
.faq-wrap { max-width: 900px; }
:is(.faq-item, .qa-item) { border-bottom: 1px solid var(--line); }
:is(.faq-item, .qa-item):first-child { border-top: 1px solid var(--line); }
:is(.faq-item, .qa-item) summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; cursor: pointer; list-style: none; font: 600 1.24rem/1.3 var(--font-d); }
:is(.faq-item, .qa-item) summary::-webkit-details-marker { display: none; }
.faq-i { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); transition: transform .3s, background .3s, color .3s; }
:is(.faq-item, .qa-item)[open] .faq-i { transform: rotate(45deg); background: var(--ink); color: var(--yellow); }
:is(.faq-item, .qa-item) summary:hover { color: var(--purple); }
.faq-a p { margin: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------------------------------------------------------------- CTA band */
.sec-yellow { background: var(--yellow); color: #000; overflow: hidden; }
.cta-band { padding: clamp(56px, 7vw, 92px) 0; }
.band-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px 60px; align-items: center; }
.cta-band h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1; margin-bottom: 16px; }
.cta-band p { color: rgba(0, 0, 0, .74); max-width: 52ch; margin: 0; }
.band-actions { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.band-phones { display: grid; gap: 12px; }
.band-phones a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: #fff6cf; border: 1px solid rgba(0, 0, 0, .14); text-decoration: none; transition: background .2s; }
.band-phones a:hover { background: #fff; }
.band-phones .i { color: #000; }
.band-phones small { display: block; font-size: .85rem; color: rgba(0, 0, 0, .62); }
.band-phones strong { font-size: 1.08rem; white-space: nowrap; }
.band-in { z-index: 1; }

/* ---------------------------------------------------------------- split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split-copy .sec-head { margin-bottom: 22px; }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 24px 0 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 550; }
.ticks .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--yellow); color: var(--ink); margin-top: 1px; }
.pool-art { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; padding: 5px; aspect-ratio: 4 / 3; background: #e8f4f6; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.pool-art span { border-radius: 3px; background: #2b8fb5; }
.pool-art span:nth-child(3n) { background: #1f6f99; }
.pool-art span:nth-child(5n) { background: #49b2cf; }
.pool-art span:nth-child(7n) { background: #7fcbe0; }
.pool-art span:nth-child(-n+8) { background: var(--indigo); }
.pool-art span:nth-child(11), .pool-art span:nth-child(30) { background: var(--yellow); }
.pool-water { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 45%, transparent 60%); background-size: 260% 100%; animation: shimmer 7s linear infinite; mix-blend-mode: screen; }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.timber-art { display: grid; grid-template-columns: 2.3fr 7px 1fr; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: #d9d5cc; }
.ta-planks { display: grid; grid-template-rows: repeat(8, 1fr); gap: 3px; padding: 3px; background: #5b4231; }
.ta-planks div { display: flex; gap: 3px; }
.ta-planks span { border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 11px), linear-gradient(180deg, #d3a879, #bf9064); }
.ta-planks div:nth-child(3n) span:nth-child(2), .ta-planks div:nth-child(4n+1) span:nth-child(3) { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 13px), linear-gradient(180deg, #c19468, #a97b52); }
.ta-planks div:nth-child(odd) span:nth-child(1), .ta-planks div:nth-child(5n) span:nth-child(3) { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 9px), linear-gradient(180deg, #dcb58a, #c99e72); }
.ta-trim { background: linear-gradient(90deg, #8e8e97, #ececf1 45%, #9b9ba4); }
.ta-tiles { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 1fr); gap: 4px; padding: 4px; background: #cfcac0; }
.ta-tiles span { border-radius: 2px; background: linear-gradient(135deg, #f4f2ed, #e2ded5); }

/* about: C.A.R.E. card */
.care-card { position: relative; background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); overflow: hidden; }
.care-card-spark { position: absolute; right: 26px; top: 26px; width: 18px; height: 18px; }
.care-card-letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 360px; margin-bottom: 24px; }
.care-card-letters span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 4px; background: var(--yellow); color: #000; font: 300 clamp(2.2rem, 4.4vw, 3.4rem)/1 var(--font-d); }
.care-card-letters span:nth-child(even) { background: #fff; color: #000; }
.care-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 300 1.7rem/1.2 var(--font-d); margin-bottom: 16px; }
.care-card strong { font-weight: 600; }
.care-card strong { color: var(--yellow); }
.care-card p { color: var(--on-dark-2); margin: 0; }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { background: var(--canvas); border-radius: var(--r-lg); overflow: hidden; }
.member-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.05); }
.member-body { padding: 22px 24px 26px; }
.member-role { margin: 0 0 4px; font-size: .98rem; font-weight: 400; letter-spacing: .01em; text-transform: lowercase; color: var(--muted); }
.member h3 { font-size: 1.5rem; margin-bottom: 10px; }
.member-body p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.member-body p:last-child { margin: 0; }

/* sister companies */
.sister-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sister { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); padding: 26px; text-decoration: none; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.sister:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sister-logo { height: 92px; display: flex; align-items: center; margin-bottom: 18px; }
.sister-logo img { max-height: 84px; width: auto; max-width: 100%; object-fit: contain; }
.sister-tag { margin: 0 0 4px; font-size: .98rem; font-weight: 400; letter-spacing: .01em; text-transform: lowercase; color: var(--muted); }
.sister h3 { font-size: 1.35rem; }
.sister p { color: var(--muted); font-size: .95rem; }
.sister .link-arrow { margin-top: auto; }

/* ---------------------------------------------------------------- care guide */
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dd { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); background: var(--canvas); border-top: 5px solid var(--yellow); }
.dd-dont { border-top-color: #000; }
.dd h3 { font-size: 2.2rem; }
.dd ul { list-style: none; display: grid; gap: 12px; }
.dd li { display: flex; gap: 12px; align-items: flex-start; }
.dd .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--yellow); color: #000; margin-top: 1px; }
.dd-dont .i { background: #000; color: #fff; }
.care-layout { display: grid; grid-template-columns: 230px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.care-nav { position: sticky; top: 100px; }
.care-nav p { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.care-nav ul { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.care-nav a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 550; }
.care-nav a:hover { color: var(--purple); border-left-color: var(--purple); }
.care-main { display: grid; gap: 20px; }
.care-type, .care-grout { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.care-type header, .care-grout header { margin-bottom: 14px; }
.care-tag { margin: 0 0 6px; font-size: .98rem; font-weight: 400; letter-spacing: .01em; text-transform: lowercase; color: var(--muted); }
.care-type h2, .care-grout h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0; }
.care-what { color: var(--muted); max-width: 75ch; }
.care-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.care-box { background: var(--canvas); border-radius: 10px; padding: 18px 20px; }
.care-box h3 { display: flex; align-items: center; gap: 8px; font-size: 1.08rem; }
.care-box h3 .i { width: 20px; height: 20px; color: var(--purple); }
.care-avoid { background: #fff; border: 1.5px solid var(--line-2); }
.care-box ul { padding-left: 1.1em; display: grid; gap: 8px; font-size: .95rem; color: var(--muted); line-height: 1.5; }
.grout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grout-card { background: var(--canvas); border-radius: 10px; padding: 18px 20px; }
.grout-card h3 { font-size: 1.1rem; }
.grout-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.care-disclaimer { font-size: .9rem; color: var(--muted); margin: 8px 4px 0; }

/* ---------------------------------------------------------------- tile calculator */
.calc-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.calc-out { position: sticky; top: 100px; background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.calc-out dl { margin: 0 0 22px; display: grid; gap: 0; }
.calc-out dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.calc-out dt { color: var(--on-dark-2); font-size: .95rem; }
.calc-out dd { margin: 0; font: 700 1.25rem/1.2 var(--font-d); white-space: nowrap; }
.calc-out .big dd { font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--yellow); }
.calc-notes { margin: 20px 0 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: .86rem; color: var(--on-dark-3); line-height: 1.5; }
.seg { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--canvas); border: 1.5px solid var(--line); margin-bottom: 16px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 16px; border-radius: 7px; font-weight: 600; font-size: .94rem; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--purple-2); outline-offset: 2px; }
.pill-opt small { color: var(--muted); font-weight: 500; }
.pill-opt input:checked + span small { color: var(--yellow); }
.tip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tip { background: var(--canvas); border-radius: var(--r-lg); padding: 22px; }
.tip h3 { font-size: 1.2rem; }
.tip p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* ---------------------------------------------------------------- forms */
.form-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form-h { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.f { display: grid; gap: 7px; margin: 0 0 18px; min-width: 0; }
.f > span, .f legend { font-weight: 650; font-size: .93rem; }
.f small { font-weight: 450; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; padding: 13px 14px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: #fff; transition: border-color .2s, box-shadow .2s; }
.f textarea { resize: vertical; min-height: 120px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(252, 217, 78, .6); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.f-hint { color: var(--muted); font-size: .84rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs { margin-bottom: 8px; }
.fs > legend { font: 700 1.15rem/1.3 var(--font-d); margin-bottom: 14px; padding: 0; }
.pills legend { margin-bottom: 10px; padding: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pills .pill-row { margin-bottom: 0; }
.pill-opt { position: relative; }
.pill-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-opt span { display: inline-block; padding: 10px 15px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .93rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; user-select: none; }
.pill-opt span:hover { border-color: var(--ink); }
.pill-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-opt input:focus-visible + span { outline: 3px solid var(--purple-2); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--r); font-weight: 550; }
.form-status.ok { background: #e6f4ec; color: #145a36; }
.form-status.err { background: #fbe9ea; color: #8c1b25; }
.f-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.f-note a { color: var(--purple); }
.form-aside .sec-head { margin-bottom: 20px; }
.form-aside .ticks { grid-template-columns: 1fr; margin-bottom: 22px; }
.locs { display: grid; gap: 14px; margin-bottom: 28px; }
.loc-card { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow); }
.loc-ico { position: absolute; right: 20px; top: 20px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--ink); color: var(--yellow); }
.loc-label { margin: 0 0 2px; font-size: .98rem; font-weight: 400; letter-spacing: .01em; text-transform: lowercase; color: var(--muted); }
.loc-card h3 { font-size: 1.5rem; margin-bottom: 2px; }
.loc-note { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.loc-addr, .loc-phone { display: flex; align-items: flex-start; gap: 10px; text-decoration: none; padding: 5px 0; font-weight: 550; }
.loc-addr .i, .loc-phone .i { color: var(--purple); margin-top: 2px; }
.loc-addr:hover, .loc-phone:hover { color: var(--purple); }
.next h2 { font-size: 1.5rem; }
.steps { list-style: none; display: grid; gap: 16px; margin-bottom: 22px; }
.steps li { display: flex; gap: 14px; }
.step-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: var(--yellow); font: 800 1.05rem/1 var(--font-d); }
.steps h3 { font-size: 1.1rem; margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.form-aside .muted a { color: var(--purple); }
.thanks { text-align: center; max-width: 600px; margin: 0 auto; }
.thanks-i { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--yellow); color: var(--ink); margin: 0 auto 18px; }
.lead-dark { font-size: 1.25rem; font-weight: 600; }
.ref-box { background: var(--canvas); border-radius: var(--r); padding: 12px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: clamp(56px, 7vw, 86px) 0 0; font-size: .95rem; }
.foot-top { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.1fr; gap: 40px; padding-bottom: 50px; }
.foot-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .6); text-decoration: none; margin-bottom: 22px; }
.foot-mark { width: 184px; height: auto; display: block; }
.foot-tag { color: #fff; font-weight: 300; font-size: .875rem; letter-spacing: .01em; white-space: nowrap; }
.foot-word { display: block; height: 30px; width: auto; margin: 0 0 18px; opacity: .9; }
.foot-brand p { max-width: 38ch; }
.foot-care { display: flex; align-items: center; gap: 10px; color: var(--yellow); font-weight: 600; }
.foot-social { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); font-weight: 600; }
.foot-social .i { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--ink-3); color: var(--yellow); }
.foot-social:hover { color: var(--yellow); }
.foot-col h2 { font: 400 1.2rem/1.2 var(--font-d); color: #fff; text-transform: lowercase; margin-bottom: 16px; }
.foot-col ul { list-style: none; display: grid; gap: 9px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--yellow); }
.foot-loc { margin-bottom: 18px; }
.loc-label + .loc-addr { margin-top: 4px; }
.foot-loc .loc-label { color: var(--yellow); }
.foot-loc .loc-addr, .foot-loc .loc-phone { color: var(--on-dark); font-weight: 500; padding: 3px 0; }
.foot-loc .i { color: var(--yellow); width: 18px; height: 18px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px clamp(16px, 4vw, 40px) 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; color: var(--on-dark-3); }
.foot-bottom p { margin: 0; }
.foot-bottom a { margin-left: 18px; text-decoration: none; }
.foot-bottom a:hover { color: var(--yellow); }
.callbar { display: none; }

/* ---------------------------------------------------------------- lightbox */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(12, 10, 15, .95); opacity: 0; transition: opacity .25s; }
.lb.is-open { opacity: 1; }
.lb-fig { margin: 0; display: grid; place-items: center; gap: 14px; width: 100%; height: 100%; padding: 70px 76px 30px; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lb-cap { display: flex; gap: 14px; align-items: baseline; color: var(--on-dark-2); font-size: .95rem; }
.lb-cap strong { color: #fff; font-family: var(--font-d); font-size: 1.15rem; }
.lb button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, color .2s; }
.lb button:hover { background: var(--yellow); color: var(--ink); }
.lb button svg { width: 22px; height: 22px; }
.lb-close { right: 18px; top: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-single .lb-prev, .lb-single .lb-next { display: none; }
html.lb-open { overflow: hidden; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid > .svc:last-child:nth-child(odd) { grid-column: span 2; }
  .svc { min-height: 220px; }
  .tip-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .care-cols, .grout-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-in, .intro-in, .split, .faq-split, .band-in, .form-split, .calc-in, .subhero.has-side .subhero-in, .subhero-404 .subhero-in { grid-template-columns: 1fr; }
  .mosaic { max-width: 560px; transform: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .pgrid, .team, .sister-grid { grid-template-columns: 1fr 1fr; }
  .qtc-list, .points { grid-template-columns: 1fr; }
  .tools-in { grid-template-columns: 1fr; }
  .brand-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .split-rev .split-media { order: 2; }
  .subhero-side { max-width: 520px; }
  .care-layout { grid-template-columns: 1fr; }
  .care-nav { position: static; }
  .care-nav ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .care-nav a { border: 1.5px solid var(--line-2); border-radius: 999px; padding: 7px 14px; margin: 0; font-size: .9rem; }
  .calc-out { position: static; }
  .intro-badge { right: 12px; }
  .missing { max-width: 260px; justify-self: start; }
}
@media (max-width: 760px) {
  body { padding-bottom: 66px; }
  .callbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .1); padding-bottom: env(safe-area-inset-bottom); }
  .callbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 9px; color: var(--on-dark); text-decoration: none; font-size: .78rem; font-weight: 600; }
  .callbar a:last-child { background: var(--yellow); color: var(--ink); }
  .callbar .i { width: 20px; height: 20px; }
  .lb-open .callbar { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .pillars, .dodont, .care-cols, .grout-grid { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .lb-fig { padding: 70px 12px 24px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { transform: scaleX(-1); }
}
@media (max-width: 640px) {
  .pgrid, .team, .sister-grid, .tip-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; padding: 8px; gap: 8px; }
  .svc-grid > .svc:last-child:nth-child(odd) { grid-column: auto; }
  .svc { min-height: 0; padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; }
  .svc-ico { grid-row: span 2; }
  .svc h3 { margin: 0; padding: 0; font-size: 1.2rem; }
  .svc-num, .svc-go { display: none; }
  .brand-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-locs { flex-direction: column; }
  .stats li { padding-right: 12px; }
  .stats li + li { padding-left: 12px; }
  .stats li:nth-child(3) { padding-left: 0; }
  .filter-btns button { padding: 8px 12px; font-size: .86rem; }
  .search { max-width: none; }
}

/* ---------------------------------------------------------------- reduced motion + print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .callbar, .cta-band, .care-nav, .hero-cta, .subhero-bg, .subhero-side, .crumbs, .lb { display: none !important; }
  body { background: #fff; padding: 0; font-size: 11pt; }
  .subhero { background: #fff; color: #000; padding: 0 0 12px; }
  .subhero .lead, .subhero .eyebrow { color: #333; }
  .rv, .hero-reveal, .mz { visibility: visible !important; opacity: 1 !important; transform: none !important; }
  .sec { padding: 12px 0; background: #fff !important; }
  .care-layout { grid-template-columns: 1fr; }
  .care-type, .care-grout, .dd { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .care-cols { grid-template-columns: repeat(3, 1fr); }
  a { text-decoration: none; }
}
