/* =====================================================
   SunModu — design system ported from demo-v2
   (baseline: demo-v2/styles.css; typos fixed; WP blocks added)
   ===================================================== */

:root {
  /* Surfaces */
  --bg-white: #FFFFFF;
  --bg-cream: #F8F7F4;
  --bg-light: #F2F1ED;
  --bg-dark: #0F0F0F;
  --bg-darker: #000000;

  /* Text */
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #999999;
  --text-inverse: #FFFFFF;
  --text-inverse-muted: #B0B0B0;

  /* Hairlines */
  --border-subtle: #E8E8E8;
  --border-strong: #111111;
  --border-dark: rgba(255, 255, 255, 0.14);
  --border-footer: #C4C4C4;

  /* Accents */
  --accent-pastel-blue: #A8C5DD;
  --accent-pastel-sage: #B9C9B0;
  --accent-lime: #C7C866;
  --accent-blueprint: #2E5C8A;
  --accent-corten: #B85D38;

  /* Fonts */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad-x: clamp(20px, 4vw, 64px);

  --ease-architectural: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mechanical: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }

::selection { background: var(--text-primary); color: var(--text-inverse); }

:focus-visible { outline: 2px solid var(--accent-corten); outline-offset: 2px; }

.container {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: #000;
  color: #fff;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Typography helpers ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.mono.muted { color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}
.eyebrow-light { color: rgba(255,255,255,0.7); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 400ms var(--ease-mechanical),
              color 400ms var(--ease-mechanical),
              border-color 400ms var(--ease-mechanical);
  white-space: nowrap;
}
.btn--block { width: 100%; }

.btn--primary { background: #242426; color: #fff; border-color: #242426; }
.btn--primary:hover { background: #000; border-color: #000; }

.btn--black { background: #000; color: #fff; border-color: #000; }
.btn--black:hover { background: #fff; color: #000; border-color: #000; }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost-light:hover { background: #fff; color: #111; border-color: #fff; }

.btn--ghost-dark {
  background: transparent;
  color: #242426;
  border-color: rgba(36,36,38,0.4);
}
.btn--ghost-dark:hover { background: #242426; color: #fff; border-color: #242426; }

.btn--white { background: #fff; color: #111; border-color: #fff; }
.btn--white:hover { background: transparent; color: #fff; border-color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 4px;
  transition: gap 300ms var(--ease-architectural);
}
.link-arrow:hover { gap: 12px; }
.link-arrow.small { font-size: 11px; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  color: var(--text-inverse);
  transition: background-color 400ms var(--ease-architectural),
              color 400ms var(--ease-architectural),
              padding 400ms var(--ease-architectural);
}
.site-header--solid,
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}
/* Header CTA over the white scrolled/solid header: black bg, white text */
.site-header.is-scrolled .btn--ghost-light,
.site-header--solid .btn--ghost-light {
  background: #242426;
  color: #fff;
  border-color: #242426;
}
.site-header.is-scrolled .btn--ghost-light:hover,
.site-header--solid .btn--ghost-light:hover {
  background: #000;
  border-color: #000;
}

.header-inner {
  max-width: none;
  margin: 0 auto;
  padding: 24px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 32px;
  transition: padding 400ms var(--ease-architectural);
}
.site-header--solid .header-inner,
.site-header.is-scrolled .header-inner { padding-top: 14px; padding-bottom: 14px; }

/* Header search */
.search-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  color: inherit;
  justify-self: end;
  transition: border-color 200ms, background 200ms;
}
.search-toggle:hover { border-color: currentColor; }
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border-strong);
  padding: 40px 0;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 400ms var(--ease-architectural), opacity 300ms, visibility 300ms;
}
.search-overlay.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.search-overlay-form {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.search-overlay-form .mono { color: var(--text-muted); }
.search-overlay-form input[type="search"] {
  border: 0;
  border-bottom: 1px solid var(--text-primary);
  background: transparent;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  padding: 8px 2px;
  outline: none;
  border-radius: 0;
  width: 100%;
}
.search-overlay-form input[type="search"]::placeholder { color: var(--text-muted); }
.search-overlay-submit,
.search-overlay-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  transition: background 200ms, color 200ms;
}
.search-overlay-submit:hover { background: var(--text-primary); color: #fff; }
.search-overlay-close { border-color: var(--border-subtle); color: var(--text-secondary); }
.search-overlay-close:hover { color: var(--text-primary); border-color: var(--text-primary); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: inherit;
}
.brand svg { color: currentColor; }
.brand-logo-img {
  height: 34px;
  width: auto;
  filter: invert(1);
  transition: filter 400ms var(--ease-architectural);
}
.site-header--solid .brand-logo-img,
.site-header.is-scrolled .brand-logo-img { filter: none; }

.primary-nav > ul {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.primary-nav a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: inherit;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: opacity 200ms var(--ease-architectural);
}
.primary-nav a:hover,
.primary-nav a.is-active { opacity: 0.65; }
.primary-nav .has-submenu { position: relative; }

.submenu {
  position: absolute;
  top: 100%;
  left: -32px;
  background: #fff;
  color: var(--text-primary);
  padding: 28px 32px;
  min-width: 280px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 250ms, transform 250ms, visibility 250ms;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu-col { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.submenu-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.submenu a {
  font-size: 13px;
  color: var(--text-primary);
  padding: 2px 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 300ms, opacity 200ms;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: #fff;
  padding: 96px var(--pad-x) 32px;
  transform: translateY(-100%);
  transition: transform 400ms var(--ease-architectural);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.mobile-nav .mobile-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav .mobile-item > a { border-bottom: 0; flex: 1; }
.mobile-sub-toggle {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-primary);
  transition: transform 300ms var(--ease-architectural);
}
li.has-sub.is-open > .mobile-item .mobile-sub-toggle { transform: rotate(45deg); }
.mobile-nav li.has-sub > ul.mobile-sub { display: none; }
.mobile-nav li.has-sub.is-open > ul.mobile-sub { display: block; }
.mobile-nav .mobile-sub { margin: 0 0 8px; }
.mobile-nav .mobile-sub a {
  font-size: 17px;
  font-weight: 400;
  padding: 7px 0 7px 14px;
  color: var(--text-secondary);
}
.mobile-nav .mobile-sub li.is-active a,
.mobile-nav li.is-active > a { color: var(--text-primary); }
.mobile-nav li li { border-bottom: 0; }
/* drawer CTA: white text (`.mobile-nav a` would otherwise darken it) + roomier padding */
.mobile-nav .btn {
  margin-top: 32px;
  padding: 15px 24px;
  color: #fff;
}
.mobile-nav .btn:hover { color: #fff; }

/* Menu-open header: solid white so the dark logo stays visible over the drawer */
.site-header.is-menu-open,
.site-header.is-menu-open.site-header--solid {
  background: #fff;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header.is-menu-open .brand-logo-img { filter: none; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  color: var(--text-inverse);
  background: #111;
}
.hero--two-thirds { height: 72vh; min-height: 520px; }
.hero--half { height: 52vh; min-height: 420px; }
.hero-media { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s var(--ease-architectural);
  transform: scale(1.06);
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.0);
  transition: opacity 1.6s var(--ease-architectural), transform 22s var(--ease-architectural);
  will-change: transform, opacity;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}

.hero-content {
  position: absolute;
  z-index: 3;
  left: var(--pad-x);
  bottom: 96px;
  max-width: 860px;
}
.hero--two-thirds .hero-content,
.hero--half .hero-content { bottom: 64px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--text-inverse);
}
.hero-title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroWord 1.1s var(--ease-architectural) forwards;
}
@keyframes heroWord {
  to { opacity: 1; transform: translateY(0); }
}
.hero-title-italic {
  font-style: italic;
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: -0.04em;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
  max-width: 560px;
  opacity: 0;
  animation: fadeIn 1s 0.8s var(--ease-architectural) forwards;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s 1s var(--ease-architectural) forwards;
}
.hero-arrows {
  display: flex;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1s var(--ease-architectural) forwards;
}
.hero-arrow {
  width: 56px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 0;
  color: var(--text-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms, border-color 200ms, color 200ms;
}
.hero-arrow:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
@keyframes fadeIn { to { opacity: 1; } }

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.4s var(--ease-architectural) forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,1);
  transform: translateY(-32px);
  animation: scrollDown 2.4s 1.6s infinite;
}
@keyframes scrollDown { to { transform: translateY(32px); } }

.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  right: var(--pad-x);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 200ms;
}
.hero-dot.is-active { background: #fff; }

/* =====================================================
   SECTIONS — Common
   ===================================================== */
.section {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--bg-white);
}
.section + .section {
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(48px, 6vw, 80px);
}
.section--cream { background: var(--bg-cream); }
.section--light { background: var(--bg-light); }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}
.section-head--simple { grid-template-columns: 1fr; }
.section-head-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}
.section-head-left { max-width: 720px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
  color: var(--text-primary);
}
.section-lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 20px 0 0;
  max-width: 640px;
}

/* =====================================================
   SLIDER
   ===================================================== */
.slider-nav {
  display: flex;
  gap: 8px;
  align-self: start;
  padding-top: 32px;
}
.slider-arrow {
  width: 44px;
  height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: 0;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.slider-arrow:hover { background: var(--text-primary); color: var(--text-inverse); }
.slider-arrow:disabled,
.slider-arrow.is-disabled { opacity: 0.35; cursor: not-allowed; }

.slider {
  position: relative;
  overflow: hidden;
  margin: 0 calc(var(--pad-x) * -1);
  padding: 0 var(--pad-x);
}
.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 700ms var(--ease-architectural);
}
.slider-slide {
  flex: 0 0 calc((100% - 2 * 24px) / 3);
  min-width: 0;
}

/* =====================================================
   CARD (project style)
   ===================================================== */
.project-card { display: flex; flex-direction: column; gap: 12px; }
.project-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-light);
  overflow: hidden;
  position: relative;
}
.project-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 400ms var(--ease-architectural);
  pointer-events: none;
}
.project-card:hover .project-img::after { background: rgba(0,0,0,0.08); }
.project-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-architectural);
}
.project-card:hover .project-img-el { transform: scale(1.03); }
.project-img-link { display: block; width: 100%; height: 100%; }

.project-info { display: flex; flex-direction: column; gap: 2px; }
.project-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.project-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  color: var(--text-primary);
}
.project-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.02em;
}

/* =====================================================
   STATS BAR
   ===================================================== */
.section-stats { padding: clamp(40px, 5vw, 64px) 0; }
.section-stats--dark { background: var(--bg-dark); color: var(--text-inverse); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
}
.section-stats--dark .stat-box { border-top-color: var(--border-dark); }
.stat-box-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-box-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: inherit;
  opacity: 0.6;
  margin-left: 6px;
  text-transform: uppercase;
}
.stat-box-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-stats--dark .stat-box-label { color: var(--text-inverse-muted); }

/* =====================================================
   SPLIT FEATURE
   ===================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.split-grid--image-left { grid-template-columns: 1.2fr 1fr; }
.split-grid--image-left .split-text { order: 2; }
.split-grid--image-left .split-image { order: 1; }
.split-text { max-width: 560px; }
.split-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 20px 0 16px;
}
.split-body { margin-bottom: 24px; }
.split-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-light);
}
.split-img { width: 100%; height: 100%; object-fit: cover; }
.split-text .btn { margin-top: 8px; }

/* =====================================================
   CHECKLIST
   ===================================================== */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.checklist-head { max-width: 480px; }
.checklist-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  list-style: none;
}
.checklist-item { display: flex; gap: 12px; align-items: flex-start; }
.checklist-tick {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid var(--text-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: var(--text-primary);
}
.checklist-text { font-size: 14px; line-height: 1.55; color: var(--text-secondary); }

/* =====================================================
   RICH TEXT
   ===================================================== */
.richtext-wrap { max-width: 820px; }
.page-title-wrap { max-width: 900px; }
.page-title-wrap .section-title { margin-bottom: 24px; }

/* =====================================================
   PROCESS
   ===================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process-step { display: flex; flex-direction: column; gap: 16px; }
.process-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-light);
  overflow: hidden;
}
.process-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-architectural);
}
.process-step:hover .process-img-el { transform: scale(1.02); }
.process-info { display: flex; flex-direction: column; gap: 6px; }
.process-num { font-size: 11px; letter-spacing: 0.06em; color: var(--accent-corten); font-weight: 600; }
.process-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text-primary);
}
.process-info p { font-size: 13px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.process-time {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* =====================================================
   SPECS
   ===================================================== */
.section-specs { background: var(--bg-cream); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-strong);
}
.spec-block {
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.spec-block:nth-child(3n) { border-right: 0; padding-right: 0; }
.spec-block:nth-child(3n+1) { padding-left: 0; }
.spec-block:nth-last-child(-n+3) { border-bottom: 0; }
.spec-block-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--text-primary);
}
.spec-list { margin: 0; }
.spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: baseline;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { font-size: 13px; color: var(--text-secondary); margin: 0; }
.spec-row dd {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0;
  text-align: right;
  font-weight: 500;
}

/* =====================================================
   TABLE
   ===================================================== */
.table-wrap { overflow-x: auto; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--border-strong);
  font-size: 13px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.spec-table thead th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 16px;
}
.spec-table tbody th {
  font-weight: 500;
  color: var(--text-primary);
  width: 220px;
}
.spec-table td { color: var(--text-secondary); }
.table-note { margin: 12px 0 0; color: var(--text-muted); }

/* =====================================================
   COMPLIANCE
   ===================================================== */
.section-compliance { background: var(--bg-cream); }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-strong);
}
.compliance-card {
  padding: 28px 28px 32px 0;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 200ms;
}
.compliance-card:nth-child(4n) { border-right: 0; padding-right: 0; }
.compliance-card:nth-child(4n+1) { padding-left: 0; }
.compliance-card:nth-last-child(-n+4) { border-bottom: 0; }
.compliance-card:hover { background: rgba(255,255,255,0.5); }
.compliance-region { font-size: 10px; letter-spacing: 0.08em; color: var(--accent-corten); font-weight: 600; }
.compliance-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 6px;
  color: var(--text-primary);
}
.compliance-card p { font-size: 13px; line-height: 1.55; color: var(--text-secondary); margin: 0; flex: 1; }

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 4 / 3;
}
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-architectural); }
.gallery-item:hover .gallery-img { transform: scale(1.03); }

/* =====================================================
   VIDEO FEATURE
   ===================================================== */
.section-video .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.video-frame {
  margin: 0;
  position: relative;
  border: 1px solid var(--border-subtle);
  background: var(--bg-darker);
}
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-darker);
}
.video-cue {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  pointer-events: none;
  transition: opacity 400ms var(--ease-mechanical);
}
.video-cue svg { margin-left: 2px; }
.video-frame.is-playing .video-cue { opacity: 0; }
.video-caption {
  display: block;
  padding: 10px 16px;
  border-top: 1px solid var(--border-dark);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-inverse-muted);
}
@media (max-width: 760px) {
  .video-cue { width: 52px; height: 36px; }
  .video-cue svg { width: 11px; height: 13px; }
  .video-caption { padding: 8px 12px; font-size: 10px; }
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--border-strong);
}
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  position: relative;
  transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-corten); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 300;
  color: var(--text-primary);
  transition: transform 300ms var(--ease-architectural);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 4px 48px 28px 0; max-width: 720px; }
.faq-body p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin: 0; }

/* =====================================================
   PRODUCT PAGE
   ===================================================== */
.page-product { padding-top: 88px; }

.breadcrumb {
  position: relative;
  z-index: 5;
  background: var(--bg-light);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.breadcrumb nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); transition: color 200ms; }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb [aria-current="page"] { color: var(--text-primary); }
.breadcrumb-sep { color: var(--text-muted); }

.product-hero { padding: 64px 0 96px; background: var(--bg-white); }
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.product-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-light);
  transition: opacity 180ms ease;
}
.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.thumb { padding: 0; border: 1px solid transparent; background: transparent; cursor: pointer; aspect-ratio: 4 / 3; }
.thumb span {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-light);
  transition: opacity 200ms;
}
.thumb.is-active { border-color: var(--text-primary); }
.thumb:hover span { opacity: 0.85; }

.product-info { padding-top: 0; }
.product-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 12px 0 24px;
  color: var(--text-primary);
}
.product-tagline {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 460px;
}

.product-key-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: 32px;
}
.product-key-stats .stat {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border-subtle);
}
.product-key-stats .stat:last-child { border-right: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-primary);
}
.stat-unit {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 4px 0;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-actions { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }

.product-meta-list { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.meta-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.meta-row span:first-child { color: var(--text-muted); }

/* =====================================================
   ADD-ONS (square cards, 4-up)
   ===================================================== */
.addon-card { display: flex; flex-direction: column; gap: 10px; }
.addon-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-light);
  overflow: hidden;
}
.addon-img-el { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-architectural); }
.addon-card:hover .addon-img-el { transform: scale(1.02); }
.addon-code { font-size: 10px; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 500; margin-top: 4px; }
.addon-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-primary);
}
.addon-desc { font-size: 12px; line-height: 1.5; color: var(--text-secondary); margin: 0; }

/* =====================================================
   JOURNAL CARDS
   ===================================================== */
.journal-card { display: flex; flex-direction: column; gap: 14px; }
.journal-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-light);
  overflow: hidden;
}
.journal-img-el { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-architectural); }
.journal-card:hover .journal-img-el { transform: scale(1.02); }
.journal-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}
.journal-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
  color: var(--text-primary);
}

/* Certificate / document variant: show the full image, no crop */
.project-img--contain { background: #fff; }
.project-img--contain .project-img-el { object-fit: contain; padding: 10px; }
.project-img--contain::after { background: rgba(0,0,0,0) !important; }

/* Blog topic filter chips (mono, sharp corners) */
.topic-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 40px;
}
.topic-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.topic-chip:hover { border-color: var(--text-primary); color: var(--text-primary); }
.topic-chip.is-active { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }

/* Related modules spacing (article tail & further reading) */
.related-solutions-head { margin-top: 56px; }
.related-solutions-list { margin-top: 24px; max-width: 860px; }
.related-grid { margin-top: 8px; }

/* =====================================================
   ENQUIRY CTA (dark)
   ===================================================== */
.section-enquiry {
  background: var(--bg-darker);
  color: var(--text-inverse);
  padding: clamp(80px, 10vw, 140px) 0;
}
.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.enquiry-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 16px 0 24px;
  color: var(--text-inverse);
}
.enquiry-lede {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0 0 32px;
  max-width: 460px;
}
.enquiry-contact { display: flex; flex-direction: column; gap: 16px; }
.enquiry-contact > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.enquiry-contact a,
.enquiry-contact-plain {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: border-color 200ms;
  text-transform: none;
  letter-spacing: 0;
  word-break: break-word;
}
.enquiry-contact a:hover { border-color: #fff; }

.enquiry-form-wrap { background: transparent; }
.enquiry-form { display: flex; flex-direction: column; gap: 16px; }
.enquiry-form--empty { align-items: flex-start; }
.enquiry-form .form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.form-note a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 1px;
}

/* =====================================================
   FORM PAGE (contact / dealer)
   ===================================================== */
.formpage-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}
.formpage-lede { margin-bottom: 40px; }
.formpage-rail {
  border-top: 1px solid var(--border-strong);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 110px;
}
.formpage-rail-item h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin: 12px 0 8px;
  color: var(--text-primary);
}
.formpage-rail-item .wp-body { font-size: 14px; color: var(--text-secondary); }
.formpage-rail-item .wp-body p { margin: 0 0 6px; }

/* =====================================================
   ARTICLE (journal single)
   ===================================================== */
.article-wrap { max-width: 860px; }
.article-head { margin-bottom: 32px; }
.article-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 12px 0 20px;
  color: var(--text-primary);
}
.article-lede { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.article-hero { margin: 0 0 40px; }
.article-hero img { width: 100%; height: auto; }
.article-body { margin-bottom: 48px; }
.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-strong);
  padding-top: 24px;
}

/* ---------- Article sidebar (desktop) ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(300px, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.article-side {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.side-block { border-top: 1px solid var(--border-strong); padding-top: 16px; }
.side-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 10px 0 4px;
  color: var(--text-primary);
}
.side-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
}
.side-card-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-light); }
.side-card-img .side-card-img-el { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-architectural); }
.side-card:hover .side-card-img-el { transform: scale(1.04); }
.side-card-info { display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.side-card-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.side-card-title { font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--text-primary); }
.side-card:hover .side-card-title { color: var(--text-secondary); }
.side-card-meta { font-size: 12px; color: var(--text-muted); }
.side-products .link-arrow { margin-top: 14px; display: inline-block; }
.side-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.side-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  text-decoration: none;
  transition: background 400ms var(--ease-mechanical), color 400ms var(--ease-mechanical);
}
.side-tag:hover { background: var(--bg-dark); color: var(--text-inverse); }
@media (max-width: 1160px) {
  .article-layout { grid-template-columns: 1fr; gap: 56px; }
  .article-side { position: static; }
}
@media (max-width: 560px) {
  .side-card { grid-template-columns: 88px 1fr; gap: 12px; }
}

/* =====================================================
   ARCHIVE
   ===================================================== */
.archive-head { max-width: 720px; margin-bottom: 40px; }
.archive-head .section-title { margin-bottom: 4px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}
.archive-pagination { margin-top: 56px; }
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  margin-right: 6px;
}
.archive-pagination .page-numbers.current { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }
.archive-pagination .page-numbers:hover { border-color: var(--text-primary); }

/* =====================================================
   404
   ===================================================== */
.section-404 { padding: clamp(80px, 12vw, 160px) 0; }
.wrap-404 { max-width: 640px; }
.wrap-404-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #24D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 200ms var(--ease-architectural);
}
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float svg { width: 26px; height: 26px; }

/* =====================================================
   BODY CONTENT (wysiwyg)
   ===================================================== */
.wp-body { font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
.wp-body p { margin: 0 0 18px; }
.wp-body h2, .wp-body h3, .wp-body h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 32px 0 12px;
}
.wp-body h2 { font-size: 26px; }
.wp-body h3 { font-size: 20px; }
.wp-body h4 { font-size: 16px; }
.wp-body a { border-bottom: 1px solid var(--text-primary); padding-bottom: 1px; transition: opacity 200ms; }
.wp-body a:hover { opacity: 0.65; }
.wp-body ul, .wp-body ol { margin: 0 0 18px; padding-left: 20px; }
.wp-body ul { list-style: square; }
.wp-body ol { list-style: decimal; }
.wp-body li { margin-bottom: 6px; }
.wp-body img { height: auto; }
.wp-body blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--text-primary);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
}

/* =====================================================
   FLUENT FORMS — design-system skin
   ===================================================== */
.fluentform { font-family: var(--font-body); }
.fluentform * { box-sizing: border-box; }
.ff-el-group { margin-bottom: 16px; }

/* two-column rows like demo-v2 enquiry form (textarea & submit span full width)
   FF6 wraps fields in a <fieldset>, so the grid goes on the fieldset */
.section-enquiry .fluentform form fieldset,
.formpage-form .fluentform form fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.site-footer .fluentform form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.section-enquiry .ff-el-group,
.formpage-form .ff-el-group { margin-bottom: 0; }
.site-footer .ff-el-group { margin-bottom: 0; }
.section-enquiry .ff-el-group:has(textarea),
.section-enquiry .ff-el-group:has(.ff-btn),
.formpage-form .ff-el-group:has(textarea),
.formpage-form .ff-el-group:has(.ff-btn),
.site-footer .ff-el-group:has(.ff-btn) { grid-column: 1 / -1; }
@supports not selector(:has(*)) {
  .section-enquiry .fluentform form fieldset,
  .formpage-form .fluentform form fieldset { grid-template-columns: 1fr; }
}

.ff-el-input--label { display: block; }
.ff-el-input--label label,
.ff-el-form-check-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-block;
  margin-bottom: 6px;
}
.ff-el-form-control {
  width: 100%;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 0 !important; /* Fluent Forms default skin adds rounded corners */
  outline: none;
  transition: border-color 200ms;
}
.ff-el-form-control:focus { border-color: var(--text-primary); }
textarea.ff-el-form-control { min-height: 120px; resize: vertical; }
.ff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid #242426;
  border-radius: 0 !important;
  background: #242426;
  color: #fff;
  cursor: pointer;
  transition: background-color 400ms var(--ease-mechanical), border-color 400ms var(--ease-mechanical);
}
.ff-btn:hover { background: #000; border-color: #000; }
.ff-btn.ff-btn-md { line-height: 1; }
.ff-el-form-check { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.ff-el-form-check-label { text-transform: none; letter-spacing: 0; font-size: 14px; font-family: var(--font-body); }
.ff_msg_err, .ff-el-is-error .ff-el-form-control { border-color: var(--accent-corten); }
.fluentform .ff-message-success,
.ff-success-message {
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  font-size: 15px;
  color: var(--text-primary);
  grid-column: 1 / -1;
}

/* dark section variant (demo enquiry styling) */
.section-enquiry .fluentform .ff-el-input--label label,
.section-enquiry .fluentform .ff-el-form-check-label {
  color: rgba(255,255,255,0.7);
}
.section-enquiry .ff-el-form-control {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.section-enquiry .ff-el-form-control:focus { border-color: #fff; }
.section-enquiry .ff-el-form-control::placeholder { color: rgba(255,255,255,0.35); }
.section-enquiry select.ff-el-form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}
.section-enquiry select.ff-el-form-control option { background: #0F0F0F; color: #fff; }
.section-enquiry .ff-el-form-check-label { color: rgba(255,255,255,0.75); }
.section-enquiry .ff-success-message,
.section-enquiry .fluentform .ff-message-success {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-dark);
  color: #fff;
}
.section-enquiry .ff_msg_err { color: #ffb4a0; }

/* footer light variant */
.site-footer .fluentform .ff-el-group { margin-bottom: 0; }
.site-footer .ff-btn { width: 100%; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--bg-light);
  color: var(--text-primary);
  padding: 96px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.2fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-footer);
}
.footer-col h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--text-primary);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--text-primary);
}
.footer-slogan { font-family: var(--font-display); font-size: 16px; color: var(--text-secondary); }

.footer-emails { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; list-style: none; }
.footer-emails li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.footer-emails a { color: var(--text-primary); border-bottom: 1px solid transparent; transition: border-color 200ms; }
.footer-emails a:hover { border-color: var(--text-primary); }
.footer-label-small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-socials { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.social-icons { display: flex; gap: 8px; }
.social-icons a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background 200ms, color 200ms;
}
.social-icons a:hover { background: var(--text-primary); color: #fff; }

.footer-address { margin-bottom: 20px; }
.footer-address-line { margin: 0 0 4px; }
.footer-address p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 2px;
}
.footer-address strong { color: var(--text-primary); font-weight: 500; }
.footer-address a { color: var(--text-primary); }

.footer-nav-list { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-nav-list a {
  font-size: 14px;
  color: var(--text-primary);
  display: inline-block;
  padding: 2px 0;
  transition: color 200ms;
}
.footer-nav-list a:hover { color: var(--text-secondary); }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  font-size: 12px;
}
.footer-bottom-left { justify-self: start; }
.footer-bottom-center { justify-self: center; display: flex; gap: 12px; align-items: center; }
.footer-bottom-right { justify-self: end; }
.footer-bottom a { color: var(--text-primary); }
.footer-bottom a:hover { color: var(--text-secondary); }
.footer-copy { margin: 0; font-size: 12px; color: var(--text-muted); }
.dot-sep { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; display: inline-block; }

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-architectural),
              transform 800ms var(--ease-architectural);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .header-inner { gap: 24px; }
  .primary-nav > ul { gap: 22px; }
  .primary-nav a { font-size: 12.5px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-block { border-right: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 24px 24px 24px 0; }
  .spec-block:nth-child(3n) { border-right: 1px solid var(--border-subtle); padding: 24px 24px 24px 0; }
  .spec-block:nth-child(2n) { border-right: 0; padding-right: 0; }
  .spec-block:nth-child(3n+1) { padding-left: 0; }
  .spec-block:nth-child(odd) { padding-left: 0; }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-card:nth-child(4n) { border-right: 1px solid var(--border-subtle); padding-right: 28px; }
  .compliance-card:nth-child(2n) { border-right: 0; padding-right: 0; }
  .compliance-card:nth-child(4n+1) { padding-left: 28px; }
  .compliance-card:nth-child(odd) { padding-left: 28px; }
  .compliance-card:nth-last-child(-n+2) { border-bottom: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid, .split-grid--image-left { grid-template-columns: 1fr; gap: 40px; }
  .split-grid--image-left .split-text { order: 1; }
  .split-grid--image-left .split-image { order: 2; }
  .checklist-grid { grid-template-columns: 1fr; gap: 40px; }
  .formpage-grid { grid-template-columns: 1fr; gap: 48px; }
  .formpage-rail { position: static; }
}

@media (max-width: 900px) {
  .primary-nav, .header-inner > .btn { display: none; }
  .hamburger { display: inline-flex; }
  .header-inner { grid-template-columns: auto 1fr auto auto; gap: 16px; }
  .hero-title { font-size: 56px; }
  .search-overlay-form { grid-template-columns: auto 1fr auto; }
  .search-overlay-close { display: none; }
  .hero-content { bottom: 64px; }
  .section-head, .section-head-row { grid-template-columns: 1fr; gap: 24px; }
  .slider-nav { justify-self: start; }
  .slider-slide { flex: 0 0 calc((100% - 24px) / 2); }
  .about-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .enquiry-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }
  .product-key-stats { grid-template-columns: repeat(2, 1fr); }
  .product-key-stats .stat { border-right: 0; border-bottom: 1px solid var(--border-subtle); }
  .compliance-grid { grid-template-columns: 1fr; }
  .compliance-card { border-right: 0; border-bottom: 1px solid var(--border-subtle); padding: 24px 0; }
  .compliance-card:last-child { border-bottom: 0; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-item summary { padding: 20px 32px 20px 0; font-size: 15px; }
  .faq-body { padding: 0 32px 20px 0; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist-items { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --pad-x: 20px; }
  .hero { min-height: 580px; }
  .hero--half, .hero--two-thirds { min-height: 420px; }
  .hero-title { font-size: 42px; }
  .hero-content { bottom: 80px; }
  .section-title { font-size: 28px; }
  .slider-slide { flex: 0 0 100%; }
  .specs-grid { grid-template-columns: 1fr; }
  .spec-block { border-right: 0; padding: 24px 0 !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .footer-bottom-left, .footer-bottom-right { justify-self: center; }
  .footer-bottom-center { flex-wrap: wrap; justify-content: center; }
  .product-key-stats { grid-template-columns: 1fr 1fr; }
  .product-name { font-size: 32px; }
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }
  .archive-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  /* form grids collapse to a single column on phones */
  .section-enquiry .fluentform form fieldset,
  .formpage-form .fluentform form fieldset,
  .site-footer .fluentform form fieldset { grid-template-columns: 1fr; }
  .search-overlay { padding: 28px 0; }
  .search-overlay-form { gap: 14px; }
  .whatsapp-float { width: 46px; height: 46px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide { transform: none !important; }
}
