/* Turboflo Blocks — generated from the approved V2 design (main.css + pages.css) with WordPress compatibility. */
/* ==========================================================================
   Turboflo Water Sciences — Homepage, Version 2
   Layout language: left index rail + wide content column, light editorial
   hero, comparison rows, zig-zag timeline, alternating overlapped rows.
   Order: tokens → base → layout → components → sections → motion
   Mobile-first. Breakpoints: 640 / 900 / 1024 / 1280.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root  {
  /* Locked palette */
  --marine: #0B2E4A;
  --accent: #1C7FC4;
  --tint: #E6F0F7;
  --warm: #F6F3EE;
  --white: #FFFFFF;
  --slate: #3A4A57;
  --wa: #25D366;

  /* Derived (tints/alphas of the palette only) */
  --accent-hover: color-mix(in srgb, var(--accent) 84%, var(--marine));
  --marine-soft: rgba(11, 46, 74, .58);
  --line: rgba(11, 46, 74, .12);
  --line-strong: rgba(11, 46, 74, .2);
  --line-inv: rgba(255, 255, 255, .16);
  --on-dark: rgba(255, 255, 255, .8);
  --on-dark-muted: rgba(255, 255, 255, .62);

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(11, 46, 74, .05), 0 4px 14px -6px rgba(11, 46, 74, .08);
  --shadow: 0 2px 4px rgba(11, 46, 74, .04), 0 22px 48px -18px rgba(11, 46, 74, .22);
  --shadow-lg: 0 4px 10px rgba(11, 46, 74, .06), 0 30px 64px -20px rgba(11, 46, 74, .32);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --section: clamp(88px, 11vw, 168px);
  --nav-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after  { box-sizing: border-box; }
html  { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html  { scroll-behavior: smooth; } }

body  {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 900px) { body  { font-size: 1.0625rem; } }

:where(.tf) img, :where(.tf) svg  { display: block; max-width: 100%; }
:where(.tf) img  { height: auto; }
:where(.tf) a  { color: inherit; }
:where(.tf) :is(p, figure, blockquote, dl, dd)  { margin: 0; }
:where(.tf) :is(ul, ol)  { margin: 0; padding: 0; list-style: none; }
:where(.tf) :is(button, input, textarea, select)  { font: inherit; color: inherit; }
:where(.tf) address  { font-style: normal; }
:where(.tf) strong  { font-weight: 600; color: var(--marine); }

:where(.tf) :is(h1, h2, h3, h4)  {
  margin: 0;
  color: var(--marine);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1.05;
  text-wrap: balance;
}
/* Larger, lighter editorial headings than Version 1 */
:where(.tf) h2  {
  font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.05em;
}
:where(.tf) h3  { font-size: 1.25rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.25; }
:where(.tf) p  { text-wrap: pretty; }
.soft  { color: var(--marine-soft); }
.bg-marine .soft  { color: rgba(230, 240, 247, .58); }

:focus-visible  { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.bg-marine :focus-visible, .site-footer :focus-visible  { outline-color: #fff; }

.sr-only  {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link  {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--marine); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus  { top: 16px; }
.sprite  { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic  {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 3. Layout ---------- */
.container  {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section  { position: relative; padding-block: var(--section); }
.bg-tint  { background: var(--tint); }
.bg-warm  { background: var(--warm); }
.bg-marine  { background: var(--marine); color: var(--on-dark); }
.bg-marine h2, .bg-marine h3  { color: #fff; }
.bg-marine strong  { color: #fff; }

/* Index rail: section number + label in a narrow left column, content right */
.rail-grid  { display: grid; gap: 8px; }
@media (min-width: 1024px) {
  .rail-grid  { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .rail  { grid-column: 1 / span 3; padding-top: .9rem; }
  .main  { grid-column: 4 / -1; }
}
.section-head  { margin-bottom: clamp(56px, 7vw, 104px); }
.section-head h2  { max-width: 17ch; }
.section-head__lead  { margin-top: 32px; max-width: 58ch; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }

/* ---------- 4. Components ---------- */

/* Label: "02  WHY TURBOFLO" — index in accent, caps label */
.label  {
  display: inline-flex; align-items: baseline; gap: 14px;
  margin-bottom: 20px;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--marine);
}
.label__idx  {
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
  color: var(--accent);
  padding-right: 14px;
  border-right: 1px solid var(--line-strong);
}
.label--light  { color: rgba(255, 255, 255, .88); }
.label--light .label__idx  { color: #fff; border-right-color: var(--line-inv); }

/* Buttons */
.btn  {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; letter-spacing: -.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              background-color .25s, border-color .25s, color .25s;
}
.btn .ic  { width: 1.2rem; height: 1.2rem; stroke-width: 1.6; }
.btn:hover  { transform: translateY(-2px); }
.btn:active  { transform: translateY(0); }
.btn--accent  {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 2px rgba(11, 46, 74, .14), 0 10px 24px -12px rgba(28, 127, 196, .7);
}
.btn--accent:hover  { background: var(--accent-hover); box-shadow: 0 2px 4px rgba(11, 46, 74, .12), 0 16px 32px -12px rgba(28, 127, 196, .75); }
/* WhatsApp green is reserved for WhatsApp actions. Marine text keeps contrast at 7:1. */
.btn--wa  { background: var(--wa); color: var(--marine); box-shadow: 0 1px 2px rgba(11, 46, 74, .12), 0 10px 24px -12px rgba(37, 211, 102, .8); }
.btn--wa:hover  { box-shadow: 0 2px 4px rgba(11, 46, 74, .1), 0 16px 32px -12px rgba(37, 211, 102, .85); }
.btn--outline  { border-color: var(--line-strong); color: var(--marine); background: transparent; }
.btn--outline:hover  { border-color: var(--marine); background: #fff; }
.btn--outline-light  { border-color: rgba(255, 255, 255, .42); color: #fff; background: transparent; }
.btn--outline-light:hover  { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--light  { background: #fff; color: var(--marine); }
.btn--light:hover  { box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .5); }
.btn--sm  { --h: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--block  { width: 100%; }

.icon-btn  {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  text-decoration: none;
  transition: transform .45s var(--ease-out);
}
.icon-btn:hover  { transform: translateY(-2px); }
.icon-btn .ic  { width: 22px; height: 22px; stroke-width: 1.6; }
.icon-btn--wa  { background: var(--wa); color: var(--marine); }

.link-arrow  {
  display: inline-flex; align-items: center; gap: 8px;
  padding-block: 4px;
  font-size: .9375rem; font-weight: 600;
  color: var(--marine); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow .ic  { width: 1.1rem; height: 1.1rem; color: var(--accent); stroke-width: 1.6; transition: transform .45s var(--ease-out); }
.link-arrow:hover  { background-size: 100% 1px; }
.link-arrow:hover .ic  { transform: translateX(4px); }

/* Brand (placeholder logo) */
.brand  { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand__mark  {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--marine);
}
.brand__mark .ic  { width: 20px; height: 20px; color: #fff; stroke-width: 1.6; }
.brand__text  { display: grid; line-height: 1; }
.brand__name  { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.03em; }
.brand__tag  { margin-top: 5px; font-size: .5625rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }

/* ---------- 5. Header / nav ---------- */
.site-header  {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--marine);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header__inner  {
  display: flex; align-items: center; gap: 40px;
  height: var(--nav-h);
  transition: height .4s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open  {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 46, 74, .28);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled .site-header__inner  { height: 68px; }

.site-header__actions  { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-header__visit  { display: none; }
@media (min-width: 560px) { .site-header__visit  { display: inline-flex; } }

.site-nav__list a  {
  position: relative; display: block;
  padding: 8px 0;
  font-size: .9375rem; font-weight: 500;
  text-decoration: none;
}

.nav-toggle  {
  display: inline-grid; place-content: center; gap: 6px;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; cursor: pointer;
}
.nav-toggle__bar  { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out); }
.site-header.is-open .nav-toggle__bar:first-of-type  { transform: translateY(3.75px) rotate(45deg); }
.site-header.is-open .nav-toggle__bar:last-of-type  { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 1023.98px) {
  .site-nav  {
    position: fixed; left: 0; right: 0; top: 68px;
    max-height: calc(100dvh - 68px); overflow-y: auto;
    padding: 12px var(--gutter) 32px;
    background: #fff;
    box-shadow: 0 30px 40px -30px rgba(11, 46, 74, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s .45s;
  }
  .site-header.is-open .site-nav  {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s;
  }
  .site-nav__list a  { padding: 16px 0; font-size: 1.5rem; font-weight: 300; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
  .site-nav__list a[aria-current]  { color: var(--accent); }
  .site-nav__mobile-cta  { display: grid; gap: 10px; margin-top: 28px; }
  .site-nav__mobile-contact  { margin-top: 8px; font-size: .875rem; text-align: center; }
  .site-nav__mobile-contact a  { text-decoration: none; }

  /* No-JS fallback: links as a scrollable row under the logo. */
  html:not(.js) .site-header  { position: absolute; }
  html:not(.js) .site-header__inner  { flex-wrap: wrap; height: auto; padding-block: 14px; gap: 16px; }
  html:not(.js) .nav-toggle  { display: none; }
  html:not(.js) .site-nav  { position: static; order: 3; width: 100%; padding: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; overflow-x: auto; }
  html:not(.js) .site-nav__list  { display: flex; gap: 16px; }
  html:not(.js) .site-nav__list a  { font-size: .9375rem; border: 0; padding: 4px 0; }
  html:not(.js) .site-nav__mobile-cta  { display: none; }
}

@media (min-width: 1024px) {
  .site-nav  { display: flex; }
  .site-nav__list  { display: flex; gap: 30px; }
  /* Underline indicator instead of pills */
  .site-nav__list a::after  {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform .45s var(--ease-out);
  }
  .site-nav__list a:hover::after  { transform: scaleX(1); }
  .site-nav__list a[aria-current]::after  { transform: scaleX(1); background: var(--accent); }
  .site-nav__mobile-cta  { display: none; }
  .nav-toggle  { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .site-nav__list  { gap: 20px; }
}

/* Dropdowns (Products, Technology) */
.sub-toggle  { display: none; }
.sub__name  { display: block; }
.sub__desc  { display: block; font-size: .8125rem; font-weight: 400; color: var(--slate); }

@media (max-width: 1023.98px) {
  /* Mobile menu: child pages always listed, indented under their parent */
  .sub  { padding: 4px 0 12px 20px; border-bottom: 1px solid var(--line); }
  .site-nav__list .sub a  { padding: 10px 0; font-size: 1.0625rem; font-weight: 400; letter-spacing: -.01em; border: 0; }
  .site-nav__list .has-sub > a  { border-bottom: 0; }
  html:not(.js) .sub  { display: none; }
}

@media (min-width: 1024px) {
  .has-sub  { position: relative; display: flex; align-items: center; gap: 2px; }
  .sub-toggle  {
    display: grid; place-items: center;
    width: 22px; height: 22px; padding: 0;
    border: 0; border-radius: 6px; background: none; color: inherit; cursor: pointer;
  }
  .sub-toggle .ic  { width: 16px; height: 16px; stroke-width: 1.6; transition: transform .35s var(--ease-out); }
  .sub  {
    position: absolute; left: -18px; top: calc(100% + 12px); z-index: 10;
    min-width: 300px; padding: 8px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .25s var(--ease), transform .4s var(--ease-out), visibility 0s .4s;
  }
  .sub::before  { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
  .has-sub:hover > .sub,
  .has-sub:focus-within > .sub,
  .has-sub.is-open > .sub  {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .25s var(--ease), transform .4s var(--ease-out), visibility 0s;
  }
  .has-sub:hover .sub-toggle .ic,
  .has-sub.is-open .sub-toggle .ic  { transform: rotate(180deg); }
  .site-nav__list .sub a  { padding: 12px 14px; border-radius: var(--radius-sm); color: var(--marine); transition: background-color .2s; }
  .site-nav__list .sub a::after  { display: none; }
  .site-nav__list .sub a:hover  { background: var(--tint); }
  .site-nav__list .sub a[aria-current]  { background: var(--tint); }
  .sub__name  { font-weight: 500; }
  .has-sub.is-current > a::after  { transform: scaleX(1); background: var(--accent); }
}

/* ---------- 6. Hero: editorial text | layered image composition ---------- */
.hero  {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(32px, 6vh, 72px));
  background: var(--warm);
  overflow: hidden;
}
.hero__grid  { display: grid; gap: 56px; }

.hero__title  {
  font-size: clamp(2.75rem, 1rem + 4.7vw, 5.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.052em;
}
.hero__l2  { display: block; margin-top: .08em; color: var(--marine-soft); }

/* Hand-drawn ripple under "understand" — draws in on load */
.hero__mark  { position: relative; display: inline-block; white-space: nowrap; }
.hero__mark svg  {
  position: absolute; left: -2%; bottom: -.1em;
  width: 104%; max-width: none; height: .2em;
  overflow: visible;
}
.hero__mark path  { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.js .hero__mark path  { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out) .7s; }
.js .hero__title.is-visible .hero__mark path  { stroke-dashoffset: 0; }

.hero__lead  {
  margin-top: 32px;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.6;
}
.hero__actions  { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__call  { margin-top: 22px; font-size: .9375rem; }
.hero__call a  {
  color: var(--marine); font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
}
.hero__call a:hover  { background-size: 100% 2px; }

/* Layered visual: tint panel → main image → inset image → chip + seal */
.hero__visual  { position: relative; padding: 0 0 56px 40px; }
.hero__visual::before  {
  content: ""; position: absolute; z-index: 0;
  top: 12%; right: calc(var(--gutter) * -1); bottom: 0; left: 30%;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--tint);
}
.hero__frame  {
  position: relative; z-index: 1; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--marine);
  box-shadow: var(--shadow-lg);
}
body .tf .hero__img {
  position: absolute; left: 0; top: -8%;
  width: 100%; height: 116%;
  object-fit: cover; will-change: transform;
}
.hero__inset  {
  position: absolute; z-index: 2; left: 0; bottom: 0;
  width: 44%; aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 6px solid var(--warm);
  box-shadow: var(--shadow);
  background: var(--tint);
}
body .tf .hero__inset img { width: 100%; height: 100%; object-fit: cover; }

.hero__chip  {
  position: absolute; z-index: 3; left: 0; top: 36px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .875rem; line-height: 1.3; color: var(--slate);
}
.hero__chip-icon  { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--accent); }
.hero__chip-icon .ic  { width: 18px; height: 18px; stroke-width: 1.6; }

/* Rotating seal CTA on the frame's top-right corner */
.seal  {
  position: absolute; z-index: 3; right: 16px; top: -40px;
  display: grid; place-items: center;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--marine); color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  outline: 6px solid var(--warm);
  transition: transform .6s var(--ease-out);
}
.seal:hover  { transform: scale(1.05); }
.seal:focus-visible  { outline: 2px solid var(--accent); outline-offset: 4px; }
.seal__ring  {
  position: absolute; inset: 0; width: 100%; height: 100%;
  font-size: 8.6px; font-weight: 600; letter-spacing: .12em;
  fill: currentColor;
  animation: spin 26s linear infinite;
}
.seal__icon  { width: 26px; height: 26px; stroke-width: 1.5; transition: transform .45s var(--ease-out); }
.seal:hover .seal__icon  { transform: translate(2px, -2px); }

@media (min-width: 640px) {
  .hero__visual  { padding: 0 0 72px 72px; max-width: 620px; }
}
@media (min-width: 1024px) {
  .hero__grid  { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
  .hero__copy  { grid-column: 1 / span 6; padding-bottom: 48px; }
  .hero__visual  { grid-column: 8 / -1; max-width: none; padding: 0 0 72px 80px; }
  .hero__visual::before  { right: calc(var(--edge) * -1); }
  .hero__frame  { aspect-ratio: auto; height: clamp(440px, 64vh, 620px); }
  .seal  { right: -40px; top: auto; bottom: 132px; width: 124px; height: 124px; }
  .seal__icon  { width: 30px; height: 30px; }
}

/* Trust strip as ruled cells */
.trust-cells  {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--line-strong);
}
.trust-cells li  {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 18px 28px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--marine);
}
.trust-cells li:nth-child(even)  { padding-left: 18px; border-left: 1px solid var(--line-strong); }
.trust-cells li:last-child  { grid-column: 1 / -1; }
.trust-cells .ic  { width: 26px; height: 26px; stroke-width: 1.2; color: var(--marine); }
@media (min-width: 900px) {
  .trust-cells  { grid-template-columns: repeat(5, 1fr); }
  .trust-cells li  { padding: 30px 24px 34px; border-bottom: 0; }
  .trust-cells li:nth-child(even)  { padding-left: 24px; }
  .trust-cells li + li  { border-left: 1px solid var(--line-strong); }
  .trust-cells li:first-child  { padding-left: 0; }
  .trust-cells li:last-child  { grid-column: auto; }
}

/* ---------- 7. Why (Marine) ---------- */
.why  { overflow: hidden; }
.why::before  {
  content: ""; position: absolute; left: -25vw; bottom: -35vw;
  width: 70vw; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 54px, rgba(255, 255, 255, .035) 54px 55px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.why .container  { position: relative; }
.why__grid  { display: grid; gap: 64px; }
@media (min-width: 1024px) {
  .why__grid  { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .vstats  { grid-column: 1 / span 5; }
  .why__benefits  { grid-column: 7 / -1; }
}

.vstats  { border-top: 1px solid var(--line-inv); }
.vstat  {
  display: grid; grid-template-columns: 52% 1fr; align-items: end; gap: 12px 24px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line-inv);
}
.vstat__num  {
  display: flex; align-items: flex-start;
  min-width: 2.2ch;
  font-size: clamp(4rem, 2rem + 6vw, 8rem);
  font-weight: 300; line-height: .85; letter-spacing: -.065em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.vstat__suffix  { color: var(--accent); }
.vstat__label  { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.vstat__desc  { margin-top: 6px; font-size: .9375rem; color: var(--on-dark-muted); max-width: 26ch; }

.blist  { border-top: 1px solid var(--line-inv); }
.blist__item  {
  display: grid; grid-template-columns: 44px 1fr 28px; gap: 16px;
  grid-template-areas: "idx body icon";
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line-inv);
}
.blist__idx  { grid-area: idx; padding-top: 6px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.blist__item > div  { grid-area: body; }
.blist__icon  { grid-area: icon; width: 26px; height: 26px; stroke-width: 1.2; color: var(--on-dark-muted); margin-top: 4px; transition: color .3s; }
.blist__item h3  { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 300; letter-spacing: -.025em; transition: transform .6s var(--ease-out); }
.blist__item p  { margin-top: 6px; font-size: .9375rem; color: var(--on-dark-muted); max-width: 46ch; }
.blist__item:hover h3  { transform: translateX(6px); }
.blist__item:hover .blist__icon  { color: #fff; }
.why__cta  { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- 8. Problem ---------- */
.problem__grid  { display: grid; gap: 56px; }
@media (min-width: 1024px) {
  .problem__grid  { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .problem__aside  { grid-column: 1 / span 5; position: sticky; top: 112px; }
  .issues  { grid-column: 7 / -1; }
}
.problem__aside h2  { max-width: 12ch; }
.problem__intro  { margin-top: 28px; max-width: 42ch; }
.problem__figure  { margin-top: 40px; max-width: 440px; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 9 / 7; }
body .tf .problem__figure img { width: 100%; height: 100%; object-fit: cover; }

.issues  { border-top: 1px solid var(--line-strong); }
.issue  {
  display: grid; grid-template-columns: 44px 1fr 36px; gap: 16px;
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--line-strong);
}
.issue__idx  { padding-top: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--accent); }
.issue h3  { font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.375rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }
.issue p  { margin-top: 12px; max-width: 40ch; }
.issue__icon  { width: 34px; height: 34px; stroke-width: 1.1; color: var(--marine); margin-top: 4px; transition: transform .6s var(--ease-out); }
.issue:hover .issue__icon  { transform: translateY(-4px); }
.issues__next  { padding-top: 32px; }

/* ---------- 9. Solution finder: comparison rows ---------- */
.srows__legend  { display: none; }
@media (min-width: 1024px) {
  .srows__legend  {
    display: grid; grid-template-columns: 3fr 3.4fr 3.2fr 1.7fr; gap: 40px;
    padding: 0 36px 14px;
    font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--slate);
  }
}
.srows  { display: grid; gap: 12px; }
.srow  {
  display: grid; gap: 24px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.srow:hover  { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (min-width: 640px) { .srow  { grid-template-columns: 1fr 1fr; padding: 32px; } }
@media (min-width: 1024px) {
  .srow  { grid-template-columns: 3fr 3.4fr 3.2fr 1.7fr; gap: 40px; align-items: center; padding: 36px; }
}

.srow--condition  { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.srow--condition:hover  { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); }
.srow--soften  { background: var(--tint); }
.srow--complete  { background: var(--marine); color: var(--on-dark); }

.srow__cat  { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--marine); }
.srow__name  { margin-top: 10px; font-size: clamp(2.5rem, 1.7rem + 2.6vw, 3.75rem); font-weight: 300; letter-spacing: -.05em; line-height: .95; }
.srow__text p  { max-width: 34ch; }
.srow__text .link-arrow  { margin-top: 14px; }
.srow--complete .srow__cat,
.srow--complete .srow__name,
.srow--complete .link-arrow,
.srow--complete .link-arrow .ic  { color: #fff; }

/* Hardness gauge: In vs Out */
.gauge__row  { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; margin-bottom: 10px; }
.gauge__row:has(.gauge__ag)  { grid-template-columns: 34px 1fr auto; }
.gauge__lbl  { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.gauge__bar  { position: relative; height: 10px; border-radius: 5px; background: rgba(11, 46, 74, .08); overflow: hidden; }
.gauge__bar span  {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: calc(var(--v) * 100%); min-width: 6px;
  border-radius: inherit;
  background: var(--marine);
  transform-origin: left;
}
/* Conditioned: hardness still present, drawn hatched */
.gauge__bar--conditioned span  {
  background: repeating-linear-gradient(135deg, var(--marine) 0 3px, rgba(11, 46, 74, .25) 3px 7px);
}
/* Softened: hardness removed */
.gauge__bar--soft span  { background: var(--accent); }
.gauge figcaption  { margin-top: 12px; font-size: .8125rem; line-height: 1.5; max-width: 34ch; }
.gauge__ag  {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  font-size: .6875rem; font-weight: 600; color: #fff;
}
.srow--complete .gauge__bar  { background: rgba(255, 255, 255, .14); }
.srow--complete .gauge__bar span  { background: #fff; }
.srow--complete .gauge__bar--soft span  { background: var(--accent); }
.srow--complete .gauge figcaption  { color: var(--on-dark-muted); }

.srow__verdict  { display: grid; gap: 2px; align-content: center; }
.srow__q  { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.srow__verdict strong  { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); font-weight: 300; letter-spacing: -.05em; line-height: 1.05; }
.srow__note  { font-size: .8125rem; }
.srow--soften .srow__verdict strong  { color: var(--accent); }
.srow--complete .srow__verdict strong  { color: #fff; }
.srow--complete .srow__q, .srow--complete .srow__note  { color: var(--on-dark-muted); }
@media (min-width: 1024px) {
  .srow__q  { display: none; } /* the legend row names the column on desktop */
}

.finder__help  {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 40px; padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--warm);
}
.finder__help p  { max-width: 62ch; }

/* ---------- 10. Process: zig-zag timeline ---------- */
.zig  { position: relative; display: grid; gap: 40px; }
.zig::before, .zig::after  {
  content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 1px;
  background: var(--line-strong);
}
.zig::after  { background: var(--accent); transform-origin: top; transform: scaleY(var(--progress, 1)); }
.js .zig::after  { --progress: 0; transition: transform 2.4s var(--ease-out) .2s; }
.js .zig.is-visible::after  { --progress: 1; }

.zig__step  { position: relative; z-index: 1; display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start; }
.zig__num  {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--tint);
  font-size: 1rem; font-weight: 500; color: var(--marine);
  font-variant-numeric: tabular-nums;
  transition: background-color .5s, color .5s, border-color .5s;
}
.zig__step:hover .zig__num  { background: var(--marine); border-color: var(--marine); color: #fff; }
.zig__body h3  { padding-top: 12px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); font-weight: 300; letter-spacing: -.04em; }
.zig__body p  { margin-top: 10px; max-width: 36ch; }

@media (min-width: 1024px) {
  .zig  { gap: 0; }
  .zig::before, .zig::after  { left: 50%; top: 56px; bottom: 56px; }
  .zig__step  { grid-template-columns: 1fr 112px 1fr; column-gap: 56px; align-items: center; min-height: 168px; }
  .zig__num  { grid-column: 2; grid-row: 1; width: 112px; height: 112px; font-size: 1.75rem; font-weight: 300; letter-spacing: -.03em; }
  .zig__body h3  { padding-top: 0; }
  .zig__step:nth-child(odd) .zig__body  { grid-column: 1; grid-row: 1; text-align: right; }
  .zig__step:nth-child(odd) .zig__body p  { margin-left: auto; }
  .zig__step:nth-child(even) .zig__body  { grid-column: 3; grid-row: 1; }
}

.process__cta  {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-top: clamp(64px, 8vw, 104px); padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.process__cta p  { font-size: clamp(1.375rem, 1.1rem + .9vw, 2rem); font-weight: 300; letter-spacing: -.03em; color: var(--marine); }

/* ---------- 11. Applications: typographic list + image panel ---------- */
.apps  { position: relative; border-top: 1px solid var(--line-strong); }
.apps__item  {
  display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-strong);
}
.apps__idx  { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--accent); }
.apps__name  {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.75rem);
  font-weight: 300; letter-spacing: -.05em; line-height: 1;
  transition: transform .7s var(--ease-out), color .4s;
}
.apps__desc  { grid-column: 2; max-width: 34ch; font-size: .9375rem; }
body .tf .apps__img {
  grid-column: 1 / -1;
  width: 100%; aspect-ratio: 21 / 9; margin-top: 16px;
  object-fit: cover; border-radius: var(--radius);
}
@media (min-width: 1024px) {
  .apps  { padding-right: 42%; min-height: 620px; }
  .apps__item  { grid-template-columns: 56px 1fr minmax(0, 17ch); align-items: center; padding: 30px 0; cursor: default; }
  .apps__desc  { grid-column: 3; }
body .tf .apps__img {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 38%; height: 100%; margin: 0; aspect-ratio: auto;
    border-radius: var(--radius-lg);
    opacity: 0; transform: scale(1.03);
    transition: opacity .7s var(--ease), transform 1.4s var(--ease-out);
    pointer-events: none;
  }
body .tf .apps:not(.has-active) .apps__item:first-child .apps__img, body .tf .apps__item.is-active .apps__img { opacity: 1; transform: none; }
  .apps.has-active .apps__item:not(.is-active) .apps__name  { color: var(--marine-soft); }
  .apps__item.is-active .apps__name  { transform: translateX(14px); }
}

/* ---------- 12. Portfolio: alternating overlapped rows ---------- */
.prows  { display: grid; gap: clamp(64px, 9vw, 136px); }
.prow  { display: grid; }
.prow__media  { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 10; background: var(--tint); }
body .tf .prow__media img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
.prow__card  {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 14px;
  margin: -56px 16px 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.prow__card:hover  { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prow__meta  { display: flex; justify-content: space-between; gap: 16px; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--marine); }
.prow__idx  { color: var(--accent); }
.prow__card h3  { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); font-weight: 300; letter-spacing: -.045em; line-height: 1; }
.prow__card .link-arrow  { margin-top: 8px; align-self: flex-start; }
@media (min-width: 1024px) {
  .prow  { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
  .prow__media  { grid-column: 1 / span 8; grid-row: 1; }
  .prow__card  { grid-column: 8 / -1; grid-row: 1; margin: 0; padding: 48px; }
  .prow--flip .prow__media  { grid-column: 5 / -1; }
  .prow--flip .prow__card  { grid-column: 1 / span 5; }
}

/* ---------- 13. Testimonials: peek carousel ---------- */
.testimonials  { padding-bottom: calc(var(--section) - 16px); }
.testimonials__main  { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.testimonials__head h2  { max-width: 11ch; }

.slider__track  {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px;
  padding: 0 var(--edge) 16px;
  scroll-padding-inline: var(--edge);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar  { display: none; }
html:not(.js) .slider__track  { scrollbar-width: thin; }
@media (min-width: 900px) { .slider__track  { grid-auto-columns: min(820px, 62%); gap: 24px; } }

.qcard  {
  display: flex; flex-direction: column;
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--tint);
  scroll-snap-align: start;
  transition: opacity .6s var(--ease);
}
.js .qcard[data-active="false"]  { opacity: .45; }
.qcard__mark  { width: 44px; height: 44px; color: var(--accent); stroke-width: 1.1; }
.qcard blockquote  { margin-top: 28px; }
.qcard blockquote p  { font-size: clamp(1.375rem, 1.05rem + 1.3vw, 2.25rem); font-weight: 300; line-height: 1.32; letter-spacing: -.03em; color: var(--marine); }
.qcard figcaption  { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 40px; }
.avatar  {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: var(--marine);
}
.qcard__name  { display: block; font-weight: 600; color: var(--marine); }
.qcard__meta  { display: block; font-size: .875rem; }

.slider__controls  { display: flex; align-items: center; gap: 10px; }
html:not(.js) .slider__controls  { display: none; }
.slider__count  { margin-right: 12px; font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--marine); }
.slider__btn  {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; color: var(--marine); cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--ease-out);
}
.slider__btn:hover  { background: var(--marine); border-color: var(--marine); color: #fff; transform: translateY(-2px); }
.slider__btn .ic  { width: 20px; height: 20px; }

/* ---------- 14. Contact: full-bleed split ---------- */
.contact  { display: grid; }
@media (min-width: 1024px) { .contact  { grid-template-columns: 1fr 1fr; } }
.contact__left  { position: relative; overflow: hidden; padding: var(--section) var(--gutter); }
.contact__left::before  {
  content: ""; position: absolute; right: -30%; top: -30%;
  width: 90%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 44px, rgba(255, 255, 255, .04) 44px 45px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.contact__inner  { position: relative; max-width: 580px; }
.contact__left h2  { font-size: clamp(2.375rem, 1.4rem + 3.2vw, 4.25rem); max-width: 13ch; }
.contact__actions  { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.contact__lines  { margin-top: 56px; border-top: 1px solid var(--line-inv); }
.contact__lines div  { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line-inv); }
.contact__lines dt  { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact__lines a  { color: #fff; text-decoration: none; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); letter-spacing: -.01em; word-break: break-word; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.contact__lines a:hover  { background-size: 100% 1px; }

.contact__right  { display: flex; align-items: center; padding: clamp(56px, 8vw, 120px) var(--gutter); }
@media (min-width: 1024px) {
  .contact__left  { padding-left: var(--edge); padding-right: clamp(40px, 5vw, 96px); }
  .contact__right  { padding-right: var(--edge); padding-left: clamp(40px, 5vw, 96px); }
}

.enquiry  { width: 100%; max-width: 580px; }
.enquiry h3  { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 300; letter-spacing: -.04em; }
.enquiry__sub  { margin-top: 12px; margin-bottom: 12px; max-width: 48ch; }
.field  { display: grid; gap: 6px; margin-top: 18px; }
.field label  { font-size: .8125rem; font-weight: 600; color: var(--marine); }
.field__opt  { font-weight: 400; color: var(--slate); }
.field input, .field textarea  {
  width: 100%; padding: 15px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--marine); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:hover, .field textarea:hover  { border-color: rgba(11, 46, 74, .4); }
.field input:focus, .field textarea:focus  { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(28, 127, 196, .18); }
.field textarea  { min-height: 120px; resize: vertical; }
.field [aria-invalid="true"]  { border-color: var(--marine); border-width: 1.5px; background: var(--warm); }
.field__error  { font-size: .8125rem; font-weight: 600; color: var(--marine); }
.field__error::before  { content: "! "; color: var(--accent); }
.field-row  { display: grid; column-gap: 14px; }
@media (min-width: 640px) { .field-row  { grid-template-columns: 1fr 1fr; } }
.enquiry__foot  { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.enquiry__alt  { font-size: .875rem; }
.enquiry__alt a  { color: var(--marine); font-weight: 600; text-underline-offset: 3px; }
.enquiry__status:not(:empty)  { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; color: var(--marine); font-size: .9375rem; font-weight: 500; }

/* ---------- 15. Footer ---------- */
.site-footer  {
  padding-top: clamp(64px, 8vw, 104px);
  background: var(--marine); color: var(--on-dark-muted);
  font-size: .9375rem;
  border-top: 1px solid var(--line-inv);
}
.footer__top  {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-inv);
}
.brand--light  { color: #fff; }
.brand--light .brand__mark  { background: #fff; }
.brand--light .brand__mark .ic  { color: var(--marine); }
.brand--lg .brand__mark  { width: 52px; height: 52px; }
.brand--lg .brand__mark .ic  { width: 26px; height: 26px; }
.brand--lg .brand__name  { font-size: 1.5rem; }
.footer__statement  {
  max-width: 18ch;
  font-size: clamp(1.625rem, 1.1rem + 2vw, 3rem);
  font-weight: 300; line-height: 1.08; letter-spacing: -.045em;
  color: #fff;
}
@media (min-width: 900px) { .footer__statement  { text-align: right; } }

.footer__grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; padding-top: 56px; }
@media (min-width: 1024px) { .footer__grid  { grid-template-columns: 3fr 3fr 4fr 2fr; } }
.footer__title  { margin-bottom: 18px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer__links a  { display: inline-block; padding: 6px 0; color: var(--on-dark); text-decoration: none; transition: color .25s; }
.footer__links a span  { margin-left: 6px; font-size: .8125rem; color: rgba(255, 255, 255, .45); }
.footer__links a:hover  { color: #fff; }
.footer__contact li  { display: flex; gap: 12px; padding: 6px 0; }
.footer__contact .ic  { width: 18px; height: 18px; margin-top: 4px; color: rgba(255, 255, 255, .55); }
.footer__contact a  { color: var(--on-dark); text-decoration: none; word-break: break-word; }
.footer__contact a:hover  { color: #fff; }
.footer__social a  { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--on-dark); text-decoration: none; transition: color .25s; }
.footer__social a:hover  { color: #fff; }
.footer__social .ic  { width: 20px; height: 20px; }
@media (max-width: 639.98px) { .footer__grid > :nth-child(3)  { grid-column: 1 / -1; } }

.footer__bottom  {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: 64px; padding-block: 28px;
  border-top: 1px solid var(--line-inv);
  font-size: .8125rem;
}
.footer__legal  { display: flex; gap: 24px; }
.footer__bottom  { padding-right: 76px; } /* clear of the floating WhatsApp button */
.footer__legal a  { color: var(--on-dark-muted); text-decoration: none; }
.footer__legal a:hover  { color: #fff; }

/* ---------- 16. Floating WhatsApp ---------- */
.wa-float  {
  position: fixed; z-index: 60;
  right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px);
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: var(--marine);
  box-shadow: 0 2px 6px rgba(11, 46, 74, .18), 0 14px 32px -10px rgba(11, 46, 74, .45);
  transition: transform .45s var(--ease-out);
}
.wa-float .ic  { width: 28px; height: 28px; stroke-width: 1.6; }
.wa-float:hover  { transform: translateY(-3px); }
.wa-float__label  {
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: 8px 12px; border-radius: var(--radius-sm);
  background: var(--marine); color: #fff;
  font-size: .8125rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translate(6px, -50%); pointer-events: none;
  transition: opacity .3s, transform .45s var(--ease-out);
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label  { opacity: 1; transform: translate(0, -50%); }

/* ---------- 17. Motion ---------- */
@keyframes spin { to  { transform: rotate(360deg); } }

/* Reveal uses `translate` so `transform` stays free for hover lifts. */
.js [data-reveal],
.js [data-reveal-stagger] > *  {
  opacity: 0;
  translate: 0 28px;
  transition-property: opacity, translate, transform, box-shadow;
  transition-duration: .7s, .9s, .6s, .6s;
  transition-timing-function: var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s;
}
.js [data-reveal].is-visible,
.js [data-reveal-stagger].is-visible > *  { opacity: 1; translate: 0 0; }

/* Gauges fill once their row is revealed */
.js .gauge__bar span  { transform: scaleX(0); transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + .4s); }
.js .srows.is-visible .gauge__bar span  { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after  {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js [data-reveal-stagger] > *  { opacity: 1; translate: none; }
body .tf .hero__img, body .tf .prow__media img { transform: none !important; }
  .js .hero__mark path  { stroke-dashoffset: 0; }
}


/* ==========================================================================
   Turboflo Water Sciences — Internal pages (Version 2)
   Loaded after main.css. Reuses every homepage component; this file adds
   only what internal pages need: page hero modifier, breadcrumbs, jump
   cells, product key points, FAQ, CTA band, quote popup, cycle diagram,
   content-to-supply note.
   ========================================================================== */

/* ---------- Page hero (modifier of the homepage hero) ---------- */
.hero--page  { padding-bottom: clamp(56px, 7vw, 104px); }
.hero--page .hero__title  { font-size: clamp(2.75rem, 1rem + 4.4vw, 5.25rem); }
.hero--page .hero__copy  { padding-bottom: 0; }
@media (min-width: 1024px) {
  .hero--page .hero__frame  { height: clamp(400px, 56vh, 540px); }
}
.hero__brands  {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}
.hero__brands li  {
  padding: 7px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--marine);
}

/* Breadcrumbs */
.crumbs  { margin-bottom: 28px; }
.crumbs ol  { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; }
.crumbs li  { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before  { content: "/"; color: var(--line-strong); }
.crumbs a  { color: var(--slate); text-decoration: none; }
.crumbs a:hover  { color: var(--marine); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current]  { color: var(--marine); font-weight: 600; }

/* ---------- Jump / sibling cells (same ruled-cell language as the homepage trust strip) ---------- */
.cells-nav  {
  display: grid;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.cells-nav a  {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px;
  padding: 24px 20px 26px 0;
  color: var(--marine); text-decoration: none;
  transition: background-color .3s;
}
.cells-nav li + li a  { border-top: 1px solid var(--line-strong); }
.cells-nav__idx  { grid-column: 1 / -1; font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.cells-nav__name  { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }
.cells-nav__meta  { grid-column: 1; font-size: .8125rem; color: var(--slate); }
.cells-nav .ic  { grid-column: 2; grid-row: 2 / span 2; width: 22px; height: 22px; color: var(--accent); transition: transform .45s var(--ease-out); }
.cells-nav a:hover .ic  { transform: translate(3px, 3px); }
.cells-nav a[aria-current]  { cursor: default; }
.cells-nav a[aria-current] .cells-nav__name  { color: var(--accent); }
.cells-nav a[aria-current] .ic  { display: none; }
@media (min-width: 900px) {
  .cells-nav  { grid-template-columns: repeat(var(--cols, 3), 1fr); }
  .cells-nav a  { padding: 28px 28px 30px; }
  .cells-nav li:first-child a  { padding-left: 0; }
  .cells-nav li + li a  { border-top: 0; border-left: 1px solid var(--line-strong); }
  .cells-nav a:hover  { background: rgba(255, 255, 255, .55); }
}
.bg-marine .cells-nav, .bg-marine .cells-nav a, .bg-marine .cells-nav li + li a  { border-color: var(--line-inv); color: #fff; }

/* ---------- Product detail rows (extends homepage .prow) ---------- */
.prow  { scroll-margin-top: 96px; }
.ptag  {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--marine);
}
.ptag--condition  { box-shadow: inset 0 0 0 1px var(--line-strong); }
.ptag--soften  { background: var(--tint); }
.ptag--complete  { background: var(--marine); color: #fff; }
.prow__line  { font-size: 1.0625rem; color: var(--marine); }

.keypoints  { margin-top: 6px; border-top: 1px solid var(--line); }
.keypoints li  {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
}
.keypoints .ic  { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); stroke-width: 1.8; }
.keypoints li.is-no .ic  { color: var(--marine); }
.prow__actions  { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; }

/* ---------- Two-column prose (editorial) ---------- */
.prose  { display: grid; gap: 24px; max-width: 62ch; }
.prose p  { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }
.prose p:first-child  { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.45; color: var(--marine); }

/* ---------- Three jobs (conditioning / softening / filtration) ---------- */
.jobs  { display: grid; gap: 12px; }
@media (min-width: 900px) { .jobs  { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.job  {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.job:hover  { transform: translateY(-3px); }
.job--current  { background: var(--marine); box-shadow: none; color: var(--on-dark); }
.job__cat  { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--marine); }
.job h3  { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 300; letter-spacing: -.045em; line-height: 1; }
.job__does  { font-size: .9375rem; }
.job__product  { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; }
.job__product strong  { display: block; font-size: 1.0625rem; font-weight: 500; }
.job--current .job__cat, .job--current h3, .job--current .job__product strong  { color: #fff; }
.job--current .job__product  { border-top-color: var(--line-inv); }
.job .link-arrow  { align-self: flex-start; }
.job--current .link-arrow, .job--current .link-arrow .ic  { color: #fff; }

/* ---------- Cycle diagram (ion exchange) ---------- */
.cycle  { position: relative; display: grid; gap: 36px; counter-reset: none; }
.cycle::before  {
  content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 1px;
  background: var(--line-strong);
}
.cycle__step  { position: relative; z-index: 1; display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-content: start; }
.cycle__num  {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--tint);
  color: var(--marine); font-weight: 500;
  transition: background-color .5s, color .5s, border-color .5s;
}
.cycle__step:hover .cycle__num  { background: var(--marine); border-color: var(--marine); color: #fff; }
.cycle__step h3  { padding-top: 14px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 300; letter-spacing: -.035em; }
.cycle__step p  { margin-top: 8px; max-width: 34ch; font-size: .9375rem; }
.cycle__loop  {
  display: flex; align-items: center; gap: 12px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  font-size: .9375rem; color: var(--marine);
}
.cycle__loop .ic  { width: 24px; height: 24px; color: var(--accent); }
@media (min-width: 1024px) {
  .cycle  { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .cycle::before  { left: 32px; right: calc((100% - 96px) / 4 - 32px); top: 32px; bottom: auto; width: auto; height: 1px; }
  .cycle__step  { grid-template-columns: 1fr; gap: 28px; }
  .cycle__step h3  { padding-top: 0; }
}

/* ---------- FAQ (native details/summary — works without JS) ---------- */
.faq  { border-top: 1px solid var(--line-strong); }
.faq details  { border-bottom: 1px solid var(--line-strong); }
.faq summary  {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  cursor: pointer; list-style: none;
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.25;
  color: var(--marine);
}
.faq summary::-webkit-details-marker  { display: none; }
.faq summary .ic  { width: 22px; height: 22px; color: var(--accent); transition: transform .4s var(--ease-out); }
.faq details[open] summary .ic  { transform: rotate(45deg); }
.faq summary:hover  { color: var(--accent); }
.faq__a  { padding: 0 48px 28px 0; max-width: 64ch; }
.faq__a p + p  { margin-top: 12px; }

/* ---------- Content-to-supply note (honest placeholder for client content) ---------- */
.supply  {
  padding: clamp(24px, 3vw, 36px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .5);
}
.supply__tag  {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.supply__tag .ic  { width: 16px; height: 16px; }
.supply h3  { font-size: 1.375rem; font-weight: 400; letter-spacing: -.02em; }
.supply ul  { margin-top: 14px; display: grid; gap: 8px; }
.supply li  { position: relative; padding-left: 18px; font-size: .9375rem; }
.supply li::before  { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--accent); }

/* ---------- Closing CTA band ---------- */
.cta-band  { overflow: hidden; }
.cta-band::before  {
  content: ""; position: absolute; right: -15vw; top: -35vw;
  width: 60vw; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 48px, rgba(255, 255, 255, .04) 48px 49px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.cta-band .container  { position: relative; }
.cta-band__grid  { display: grid; gap: 40px; }
.cta-band h2  { font-size: clamp(2.375rem, 1.4rem + 3.2vw, 4.25rem); max-width: 15ch; }
.cta-band__lead  { margin-top: 24px; max-width: 46ch; }
.cta-band__actions  { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__lines  { margin-top: 32px; border-top: 1px solid var(--line-inv); }
.cta-band__lines div  { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line-inv); }
.cta-band__lines dt  { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.cta-band__lines a  { color: #fff; text-decoration: none; font-size: 1.125rem; word-break: break-word; }
.cta-band__lines a:hover  { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1024px) {
  .cta-band__grid  { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
  .cta-band__intro  { grid-column: 1 / span 7; }
  .cta-band__side  { grid-column: 9 / -1; }
  .cta-band__actions  { display: grid; }
  .cta-band__actions .btn  { justify-content: flex-start; }
}

/* ---------- Quote popup (native <dialog>) ---------- */
.qmodal  {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0; border: 0;
  border-radius: var(--radius-lg);
  background: #fff; color: var(--slate);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.qmodal::backdrop  { background: rgba(11, 46, 74, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.qmodal[open]  { animation: qmodal-in .45s var(--ease-out); }
@keyframes qmodal-in { from  { opacity: 0; transform: translateY(16px); } to  { opacity: 1; transform: none; } }
.qmodal__head  {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 28px 28px 0;
}
.qmodal__head h2  { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); letter-spacing: -.04em; }
.qmodal__head p  { margin-top: 8px; font-size: .9375rem; }
.qmodal__close  {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--marine); cursor: pointer;
  transition: background-color .25s, color .25s;
}
.qmodal__close:hover  { background: var(--marine); color: #fff; }
.qmodal__close .ic  { width: 18px; height: 18px; transform: rotate(45deg); }
.qmodal form  { padding: 8px 28px 28px; }
.field select  {
  width: 100%; padding: 15px 44px 15px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2E4A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  color: var(--marine); font-size: 1rem;
  -webkit-appearance: none; appearance: none;
}
.field select:focus  { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(28, 127, 196, .18); }
.qmodal .enquiry__foot  { margin-top: 24px; }
.qmodal .enquiry__status:not(:empty)  { background: var(--tint); }
@media (prefers-reduced-motion: reduce) { .qmodal[open]  { animation: none; } }

/* ---------- Spacing helpers ---------- */
.hero--page .cells-nav  { margin-top: clamp(48px, 6vw, 88px); }
.section-gap  { margin-top: clamp(56px, 7vw, 96px); }
.faq-title  { margin-bottom: clamp(32px, 4vw, 56px); }
.faq__a a, .prose a  { color: var(--marine); font-weight: 600; text-underline-offset: 3px; }

/* ==========================================================================
   Projects · About · Contact
   ========================================================================== */

/* "Sample" marker — placeholder projects until real ones are supplied */
.sample-tag  {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  border: 1px dashed var(--accent); border-radius: 6px;
  font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.sample-note  { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: .875rem; }

/* ---------- Featured case study ---------- */
.case  { display: grid; gap: 32px; }
.case__media  { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 11; background: var(--tint); }
body .tf .case__media img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
.case__head  { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.case h3  { margin-top: 18px; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.02; }
.case__meta  { margin-top: 10px; font-size: .9375rem; }
.case__facts  { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.case__facts div  { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.case__facts dt  { padding-top: 3px; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--marine); }
.case__facts dd  { font-size: .9375rem; }
.case__facts a  { color: var(--marine); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .case  { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
  .case__media  { grid-column: 1 / span 7; }
  .case__body  { grid-column: 8 / -1; }
}

/* ---------- Project filters + grid ---------- */
.filters  { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
html:not(.js) .filters  { display: none; }
.filters button  {
  padding: 10px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: transparent; color: var(--marine);
  font-size: .875rem; font-weight: 500; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filters button:hover  { border-color: var(--marine); }
.filters button[aria-pressed="true"]  { background: var(--marine); border-color: var(--marine); color: #fff; }

.pgrid  { display: grid; gap: 20px; }
@media (min-width: 640px) { .pgrid  { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pgrid  { grid-template-columns: repeat(3, 1fr); } }
.pgrid > li[hidden]  { display: none; }
.pcard3  {
  display: flex; flex-direction: column; height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.pcard3:hover  { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard3__media  { overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
body .tf .pcard3__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
body .tf .pcard3:hover .pcard3__media img { transform: scale(1.04); }
.pcard3__body  { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 26px; }
.pcard3__tags  { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pcard3__cat  { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--marine); }
.pcard3 h3  { margin-top: 6px; font-size: 1.5rem; font-weight: 300; letter-spacing: -.035em; }
.pcard3__meta  { font-size: .875rem; }
.pcard3__solution  { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; }
.pcard3__solution strong  { font-weight: 600; }

/* ---------- Contact: hero cards ---------- */
.ccards  {
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ccards li + li  { border-top: 1px solid var(--line); }
.ccards a, .ccards .ccards__static  {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px;
  padding: 20px 24px;
  color: var(--marine); text-decoration: none;
  transition: background-color .25s;
}
.ccards a:hover  { background: var(--tint); }
.ccards__icon  { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--tint); color: var(--accent); }
.ccards__icon .ic  { width: 22px; height: 22px; }
.ccards__icon--wa  { background: var(--wa); color: var(--marine); }
.ccards__label  { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.ccards__value  { display: block; margin-top: 2px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); letter-spacing: -.01em; word-break: break-word; }
.ccards__go  { width: 18px; height: 18px; color: var(--accent); transition: transform .45s var(--ease-out); }
.ccards a:hover .ccards__go  { transform: translate(2px, -2px); }
.hero--contact .hero__visual  { padding: 0; }
.hero--contact .hero__visual::before  { display: none; }

/* ---------- Contact: full quote form extras ---------- */
.choice  { border: 0; padding: 0; margin: 24px 0 0; }
.choice legend  { margin-bottom: 10px; padding: 0; font-size: .8125rem; font-weight: 600; color: var(--marine); }
.choice__opts  { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input  { position: absolute; opacity: 0; pointer-events: none; }
.choice label  {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--marine);
  font-size: .9375rem; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.choice label .ic  { width: 18px; height: 18px; color: var(--accent); }
.choice input:checked + label  { background: var(--marine); border-color: var(--marine); color: #fff; }
.choice input:checked + label .ic  { color: #fff; }
.choice input:focus-visible + label  { outline: 2px solid var(--accent); outline-offset: 2px; }
.field input[type="file"]  { padding: 12px; background: #fff; font-size: .875rem; color: var(--slate); }
.field input[type="file"]::file-selector-button  {
  margin-right: 12px; padding: 8px 14px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--warm); color: var(--marine); font: inherit; font-weight: 600; cursor: pointer;
}
.field__hint  { font-size: .8125rem; }
.contact--page .contact__right  { align-items: flex-start; }
.contact--page .enquiry  { scroll-margin-top: 96px; }

/* ---------- Three-step variant of the cycle ---------- */
@media (min-width: 1024px) {
  .cycle--3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cycle--3::before  { right: calc((100% - 64px) / 3 - 32px); }
}

/* ---------- Map placeholder ---------- */
.map  {
  position: relative; display: grid; place-items: center;
  min-height: 360px;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(11, 46, 74, .06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(11, 46, 74, .06) 39px 40px),
    var(--tint);
  text-align: center;
}
.map__pin  { display: grid; justify-items: center; gap: 10px; color: var(--marine); font-size: .875rem; }
.map__pin .ic  { width: 40px; height: 40px; color: var(--accent); stroke-width: 1.2; }
.visit  { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .visit  { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .visit__info  { grid-column: 1 / span 5; }
  .visit .map  { grid-column: 7 / -1; }
}
@media (min-width: 1024px) {
  .contact--page .contact__inner  { position: sticky; top: 112px; }
}
@media (max-width: 479.98px) {
  .ccards a, .ccards .ccards__static  { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
  .ccards__icon  { width: 44px; height: 44px; }
  .ccards__go  { display: none; }
  .ccards__value  { font-size: 1rem; word-break: normal; overflow-wrap: anywhere; }
}


/* ==========================================================================
   WordPress / Elementor / Hello Elementor compatibility
   ========================================================================== */
/* Turboflo sections fill the full width of their Elementor container */
.elementor-widget[class*="elementor-widget-tf_"] { width: 100%; }
.elementor-widget[class*="elementor-widget-tf_"] > .elementor-widget-container { padding: 0; margin: 0; }
.e-con.tf-stack, .e-con:has(> .elementor-widget[class*="elementor-widget-tf_"]) { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; }

/* Keep Turboflo buttons on-brand in every state */
.tf .slider__btn:hover { background: var(--marine); border-color: var(--marine); color: #fff; }
.tf .qmodal__close:hover { background: var(--marine); color: #fff; }
.tf .filters button:hover { background: transparent; color: var(--marine); border-color: var(--marine); }
.tf .filters button[aria-pressed="true"], .tf .filters button[aria-pressed="true"]:hover { background: var(--marine); color: #fff; border-color: var(--marine); }
.tf .btn:focus { text-decoration: none; }
.tf .btn--accent:focus { background: var(--accent); color: #fff; }
.tf .btn--accent:hover { background: var(--accent-hover); color: #fff; }
.tf .btn--wa:hover, .tf .btn--wa:focus { background: var(--wa); color: var(--marine); }
.tf .btn--light:hover, .tf .btn--light:focus { background: #fff; color: var(--marine); }
.tf .btn--outline:hover, .tf .btn--outline:focus { color: var(--marine); }
.tf .btn--outline-light:hover, .tf .btn--outline-light:focus { color: #fff; }
.tf button.btn { border-radius: var(--radius); font-weight: 600; text-transform: none; }
.tf .btn { text-decoration: none; }
.tf a:hover { text-decoration: none; }
.tf input, .tf textarea, .tf select { border-radius: var(--radius-sm); }
.tf label { line-height: inherit; vertical-align: baseline; }

/* Base for content outside Turboflo sections (e.g. legal pages), since the theme reset is off */
img { max-width: 100%; height: auto; }
:where(body:not(.elementor-editor-active)) :where(a) { color: var(--accent); }
.tf figcaption { font-style: normal; }

/* Honeypot field (spam trap) */
.tf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fixed header sits below the WordPress admin bar when logged in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Optional uploaded logo in the header */
.brand__img { display: block; height: 44px; width: auto; }

/* Live Google map */
.map--live { overflow: hidden; padding: 0; }
.map--live iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* In the Elementor editor: show everything (no scroll animations), keep header out of the way */
.elementor-editor-active .js [data-reveal], .elementor-editor-active .js [data-reveal-stagger] > *,
body.elementor-editor-active [data-reveal], body.elementor-editor-active [data-reveal-stagger] > * { opacity: 1 !important; translate: none !important; }
.elementor-editor-active .site-header { position: absolute; }

/* Elementor resets figure margins inside widgets; restore the ones the design uses */
.elementor .elementor-widget .tf .problem__aside .problem__figure.problem__figure { margin-top: 40px; }
