/* ==========================================================================
   Mavrix Build Co. - Kansas City Construction
   Design system + components. Palette per brand guide.
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */
:root {
  /* brand */
  --orange: #ff5a00;
  --orange-2: #ff7a00;
  --orange-hover: #e94f00;
  --orange-soft: rgba(255, 90, 0, 0.08);
  --orange-soft-2: rgba(255, 90, 0, 0.14);
  --gradient: linear-gradient(135deg, #ff5a00 0%, #ff7a00 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 90, 0, 0.12) 0%, rgba(255, 122, 0, 0.04) 100%);

  /* neutrals */
  --navy: #0d1726;
  --navy-deep: #09111d;
  --navy-2: #111d30;
  --charcoal: #1b2735;
  --white: #ffffff;
  --soft: #f7f8fa;
  --soft-2: #eef1f5;
  --steel: #667085;
  --steel-dark: #4b5563;
  --border: #e5e7eb;
  --border-dark: rgba(255, 255, 255, 0.12);
  --hero-text: #d5dae1;
  --footer-text: #aeb7c2;

  /* status */
  --green: #12b76a;
  --amber: #f79009;

  /* type */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Barlow', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* scale */
  --step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --step--1: clamp(0.82rem, 0.8rem + 0.12vw, 0.9rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.16vw, 1.05rem);
  --step-1: clamp(1.08rem, 1.02rem + 0.3vw, 1.25rem);
  --step-2: clamp(1.3rem, 1.18rem + 0.6vw, 1.65rem);
  --step-3: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-4: clamp(1.9rem, 1.55rem + 1.7vw, 3rem);
  --step-5: clamp(2.2rem, 1.7rem + 2.5vw, 3.9rem);
  --step-6: clamp(2.5rem, 1.8rem + 3.4vw, 4.8rem);

  /* layout */
  --container: 1240px;
  --container-narrow: 860px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* elevation */
  --shadow-xs: 0 1px 2px rgba(13, 23, 38, 0.06);
  --shadow-sm: 0 2px 8px rgba(13, 23, 38, 0.07);
  --shadow: 0 10px 30px -12px rgba(13, 23, 38, 0.16);
  --shadow-lg: 0 24px 60px -24px rgba(13, 23, 38, 0.28);
  --shadow-orange: 0 14px 34px -14px rgba(255, 90, 0, 0.55);

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.18s;
  --t: 0.32s;
  --t-slow: 0.6s;
}

/* ---------------------------------------------------------------- 2. reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--steel);
  background: var(--white);
  overflow-x: hidden;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  overflow-wrap: break-word;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5 { font-size: var(--step-0); font-weight: 700; }
h6 { font-size: var(--step--1); font-weight: 700; }

p {
  overflow-wrap: break-word;
}

strong { font-weight: 700; }

/* icon default size - inline SVG has no intrinsic dimensions */
svg.ico {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

svg.ico-fill {
  stroke: none;
}

/* ----------------------------------------------------------- 3. a11y utils */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--orange);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  transition: top var(--t) var(--ease-out);
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- 4. layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  position: relative;
}

.section-sm {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-soft { background: var(--soft); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--hero-text); }
.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 { color: #fff; }
.section-navy p { color: var(--hero-text); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0.85rem;
}

.section-head p {
  font-size: var(--step-1);
  color: var(--steel);
}

.section-navy .section-head p { color: var(--hero-text); }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: none;
}

.section-head-row .section-head {
  margin-bottom: 0;
}

/* eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid rgba(255, 90, 0, 0.18);
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
  white-space: normal;
  max-width: 100%;
}

.eyebrow .ico { width: 16px; height: 16px; }

.eyebrow-light {
  color: #ffb27a;
  background: rgba(255, 122, 0, 0.12);
  border-color: rgba(255, 122, 0, 0.3);
}

.hl {
  color: var(--orange);
  position: relative;
}

.section-navy .hl { color: var(--orange-2); }

/* ------------------------------------------------------------- 5. buttons */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t) var(--ease-spring), background var(--t-fast) ease,
    box-shadow var(--t) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
  white-space: nowrap;
  max-width: 100%;
}

.btn .ico { width: 18px; height: 18px; transition: transform var(--t) var(--ease-spring); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: scale(0.975); }

/* shine sweep */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease-out);
}

.btn:hover::after { transform: translateX(130%); }

.btn-primary {
  background: var(--orange);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(255, 90, 0, 0.65);
}

.btn-gradient {
  background: var(--gradient);
  box-shadow: var(--shadow-orange);
}

.btn-gradient:hover { transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-soft);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover { background: var(--charcoal); transform: translateY(-2px); }

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: var(--charcoal);
  border-color: var(--border);
}

.btn-ghost-dark:hover { border-color: var(--charcoal); }

.btn-sm { padding: 0.72rem 1.25rem; font-size: var(--step--1); }
.btn-lg { padding: 1.1rem 2rem; font-size: var(--step-1); }
.btn-block { width: 100%; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange);
  font-size: var(--step--1);
  letter-spacing: 0.01em;
}

.btn-text .ico { width: 16px; height: 16px; transition: transform var(--t) var(--ease-spring); }
.btn-text:hover .ico { transform: translateX(4px); }

.link-underline {
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 90, 0, 0.35);
  transition: border-color var(--t-fast) ease;
}

.link-underline:hover { border-color: var(--orange); }

/* --------------------------------------------------------------- 6. header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #fff;
  transition: transform 0.4s var(--ease-out), box-shadow var(--t) ease;
}

.site-header.is-scrolled { box-shadow: 0 4px 24px -8px rgba(13, 23, 38, 0.14); }
.site-header.is-hidden { transform: translateY(-100%); }

.topbar {
  background: var(--navy);
  color: var(--footer-text);
  font-size: var(--step--1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding-block: 0.35rem;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  min-width: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--footer-text);
  transition: color var(--t-fast) ease;
  white-space: nowrap;
}

.topbar-item .ico { width: 15px; height: 15px; color: var(--orange); }
a.topbar-item:hover { color: #fff; }

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  background: rgba(255, 90, 0, 0.16);
  border: 1px solid rgba(255, 90, 0, 0.32);
  padding: 0.24rem 0.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
}

.topbar-badge .ico { width: 14px; height: 14px; color: var(--orange); }

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-social a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--footer-text);
  background: rgba(255, 255, 255, 0.06);
  transition: background var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) ease;
}

.topbar-social a:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.topbar-social .ico { width: 15px; height: 15px; }

/* navbar */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand-logo {
  width: clamp(150px, 16vw, 205px);
  height: auto;
}

.primary-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--charcoal);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--t-fast) ease, background var(--t-fast) ease;
  white-space: nowrap;
}

.nav-link .ico { width: 14px; height: 14px; transition: transform var(--t) var(--ease-out); }
.nav-link:hover { color: var(--orange); background: var(--orange-soft); }
.nav-item.has-children:hover > .nav-link .ico { transform: rotate(180deg); }

.nav-link.is-active { color: var(--orange); }

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

/* dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(720px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.35rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out), visibility var(--t);
  z-index: 20;
}

.nav-item.has-children:hover .nav-dropdown,
.nav-item.has-children:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.nav-dropdown-title {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.nav-dropdown-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--orange);
}

.nav-dropdown-all .ico { width: 15px; height: 15px; }

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.nav-drop-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  transition: background var(--t-fast) ease, transform var(--t-fast) ease;
  min-width: 0;
}

.nav-drop-card:hover { background: var(--soft); transform: translateX(3px); }

.nav-drop-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--orange);
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}

.nav-drop-card:hover .nav-drop-icon { background: var(--orange); color: #fff; }
.nav-drop-icon .ico { width: 21px; height: 21px; }

.nav-drop-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.nav-drop-text strong { font-family: var(--font-head); font-size: var(--step--1); font-weight: 700; color: var(--charcoal); }
.nav-drop-text em { font-size: 0.78rem; font-style: normal; color: var(--steel); line-height: 1.4; }

/* navbar actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: none;
}

.navbar-phone {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-phone-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  flex: none;
  animation: pulse-ring 3s ease-in-out infinite;
}

.navbar-phone-ico .ico { width: 19px; height: 19px; }

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 0, 0.35); }
  50% { box-shadow: 0 0 0 9px rgba(255, 90, 0, 0); }
}

.navbar-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.navbar-phone-text em { font-size: 0.7rem; font-style: normal; color: var(--steel); text-transform: uppercase; letter-spacing: 0.08em; }
.navbar-phone-text strong { font-family: var(--font-head); font-size: var(--step-0); font-weight: 800; color: var(--navy); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  place-items: center;
  flex: none;
}

.nav-toggle-bars { display: grid; gap: 5px; width: 22px; }
.nav-toggle-bars i { display: block; height: 2px; border-radius: 2px; background: var(--charcoal); transition: transform var(--t) var(--ease-out), opacity var(--t) var(--ease-out); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient);
  z-index: 200;
  transition: width 0.1s linear;
}

/* mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 17, 29, 0.55);
  backdrop-filter: blur(3px);
  z-index: 130;
  opacity: 0;
  transition: opacity var(--t) ease;
}

.drawer-backdrop.is-open { opacity: 1; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 92vw);
  background: #fff;
  z-index: 140;
  transform: translateX(102%);
  transition: transform 0.42s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px -20px rgba(9, 17, 29, 0.35);
}

.mobile-drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex: none;
}

.drawer-logo { width: 160px; height: auto; }

.drawer-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--charcoal);
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}

.drawer-close:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.drawer-nav > ul > li { border-bottom: 1px solid var(--border); }

.drawer-nav a,
.drawer-group-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.95rem 0.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--charcoal);
  text-align: left;
  transition: color var(--t-fast) ease;
}

.drawer-nav a:hover,
.drawer-group-toggle:hover { color: var(--orange); }
.drawer-nav a.is-active { color: var(--orange); }

.drawer-group-toggle { justify-content: space-between; }
.drawer-group-toggle .ico { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.drawer-group-toggle[aria-expanded='true'] .ico { transform: rotate(180deg); }

.drawer-sub { padding: 0.25rem 0 0.85rem; display: grid; gap: 0.15rem; }
.drawer-sub a { font-size: var(--step-0); font-weight: 600; padding: 0.6rem 0.25rem; color: var(--steel); }
.drawer-sub a .ico { width: 18px; height: 18px; color: var(--orange); }
.drawer-sub a:hover { color: var(--orange); }

.drawer-extra a { font-size: var(--step-0); font-weight: 600; }

.drawer-foot {
  flex: none;
  padding: 1.1rem 1.25rem 1.4rem;
  border-top: 1px solid var(--border);
  background: var(--soft);
  display: grid;
  gap: 0.6rem;
}

.drawer-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: var(--step--1);
  color: var(--steel);
  margin-top: 0.25rem;
}

.drawer-note .ico { width: 15px; height: 15px; color: var(--orange); margin-top: 3px; }

/* ---------------------------------------------------------------- 7. hero */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--hero-text);
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5.5rem);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.hero-blob-a {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.5), transparent 68%);
  top: -180px;
  right: -140px;
  animation: drift-a 24s ease-in-out infinite;
}

.hero-blob-b {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.34), transparent 68%);
  bottom: -220px;
  left: -120px;
  animation: drift-b 30s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, 50px, 0) scale(1.12); }
}

@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(70px, -40px, 0) scale(1.16); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero h1 {
  color: #fff;
  font-size: var(--step-6);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-lead {
  font-size: var(--step-1);
  color: var(--hero-text);
  max-width: 56ch;
  margin-bottom: 1.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: var(--hero-text);
  font-weight: 500;
}

.hero-trust .ico { width: 17px; height: 17px; color: var(--orange-2); }

/* hero media */
.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  aspect-ratio: 4 / 3.4;
}

.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.hero-media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13, 23, 38, 0.05) 0%, rgba(13, 23, 38, 0.55) 100%);
  pointer-events: none;
}

.hero-media:hover .hero-media-frame img { transform: scale(1.04); }

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: float-y 6s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-badge-num {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
}

.hero-badge-text { font-size: 0.78rem; line-height: 1.35; color: var(--steel); font-weight: 600; }
.hero-badge-text strong { display: block; color: var(--charcoal); font-size: 0.86rem; }

.hero-play {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: var(--step--1);
}

.hero-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  transition: background var(--t-fast) ease, transform var(--t) var(--ease-spring);
}

.hero-play-btn .ico { width: 20px; height: 20px; margin-left: 2px; }
.hero-play:hover .hero-play-btn { background: var(--orange); transform: scale(1.08); }

/* floating stat chips on hero media */
.hero-chip {
  position: absolute;
  top: 26px;
  right: -14px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.75rem 1.05rem;
  box-shadow: var(--shadow-orange);
  z-index: 3;
  animation: float-y 7.5s ease-in-out infinite 0.6s;
  text-align: center;
}

.hero-chip strong { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; line-height: 1; }
.hero-chip span { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.92; }

/* page hero (inner pages) */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--hero-text);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.24;
}

.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13, 23, 38, 0.96) 0%, rgba(13, 23, 38, 0.78) 55%, rgba(13, 23, 38, 0.5) 100%);
}

.page-hero-inner { position: relative; z-index: 2; min-width: 0; }

.page-hero h1 {
  color: #fff;
  font-size: var(--step-5);
  margin-bottom: 1rem;
  text-wrap: balance;
  max-width: 22ch;
}

.page-hero-lead {
  font-size: var(--step-1);
  color: var(--hero-text);
  max-width: 62ch;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero-stats li strong {
  display: block;
  font-family: var(--font-head);
  font-size: var(--step-3);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.page-hero-stats li span { font-size: var(--step--1); color: var(--hero-text); }

/* breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--step--1);
  color: var(--steel);
  margin-bottom: 1.1rem;
}

.page-hero .breadcrumbs { color: var(--footer-text); }
.breadcrumbs a { color: inherit; transition: color var(--t-fast) ease; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .ico { width: 13px; height: 13px; opacity: 0.6; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.45rem; }
.breadcrumbs [aria-current='page'] { color: var(--orange); font-weight: 600; }

/* --------------------------------------------------------------- 8. cards */
.grid {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
}

.grid > * { min-width: 0; }

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Narrow multi-column grids need smaller headings and tighter padding,
   otherwise a 4-across card gets a 26px h3 in a ~230px content box and
   wraps to three words per line. */
.grid-4 > .card,
.grid-5 > .card {
  padding: clamp(1.25rem, 1.8vw, 1.6rem);
}

.grid-4 > .card h3,
.grid-5 > .card h3 {
  font-size: var(--step-0);
}

.grid-4 > .card p,
.grid-5 > .card p {
  font-size: var(--step--1);
}

.grid-4 > .card .card-icon,
.grid-5 > .card .card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.grid-4 > .card .card-icon .ico,
.grid-5 > .card .card-icon .ico {
  width: 25px;
  height: 25px;
}

.grid-auto-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-auto-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out),
    border-color var(--t) var(--ease-out);
  overflow: hidden;
  min-width: 0;
}

/* cursor spotlight */
.card[data-spotlight]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 90, 0, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity var(--t) ease;
  pointer-events: none;
}

.card[data-spotlight]:hover::after { opacity: 1; }

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 90, 0, 0.35);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--orange-soft);
  color: var(--orange);
  margin-bottom: 1.15rem;
  transition: background var(--t) var(--ease-out), color var(--t) var(--ease-out),
    transform var(--t) var(--ease-spring);
}

.card-icon .ico { width: 30px; height: 30px; }

.card:hover .card-icon {
  background: var(--gradient);
  color: #fff;
  transform: scale(1.07) rotate(-4deg);
}

.card h3 {
  font-size: var(--step-1);
  margin-bottom: 0.6rem;
}

.card p { font-size: var(--step-0); }

.card-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: var(--steel);
}

.card-list .ico { width: 16px; height: 16px; color: var(--orange); margin-top: 4px; flex: none; }

.card-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.card-foot {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* service card (image top) */
.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out),
    border-color var(--t) var(--ease-out);
  min-width: 0;
  position: relative;
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 90, 0, 0.4);
}

.svc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft-2);
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.svc-card:hover .svc-media img { transform: scale(1.07); }

.svc-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 38, 0) 40%, rgba(13, 23, 38, 0.7) 100%);
}

.svc-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  background: rgba(13, 23, 38, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
}

.svc-icon-float {
  position: absolute;
  right: 14px;
  bottom: -24px;
  z-index: 3;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-orange);
  transition: transform var(--t) var(--ease-spring);
}

.svc-icon-float .ico { width: 28px; height: 28px; }
.svc-card:hover .svc-icon-float { transform: translateY(-4px) scale(1.06); }

.svc-body {
  padding: 2.1rem clamp(1.2rem, 2.2vw, 1.7rem) clamp(1.3rem, 2.2vw, 1.7rem);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.svc-body h3 { font-size: var(--step-1); margin-bottom: 0.55rem; }
.svc-body > p { font-size: var(--step--1); color: var(--steel); }

.svc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.svc-meta li {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--soft);
  border: 1px solid var(--border);
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
}

.svc-foot {
  margin-top: auto;
  padding-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.svc-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--step-0);
  color: var(--navy);
}

.svc-price em { display: block; font-size: 0.68rem; font-style: normal; font-weight: 600; color: var(--steel); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------------------------------------------------------------- 9. stats */
.stats-band {
  background: var(--navy);
  color: var(--hero-text);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 15% 50%, rgba(255, 90, 0, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 100% at 88% 40%, rgba(255, 122, 0, 0.1), transparent 70%);
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
}

.stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.stat-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: var(--radius);
  background: rgba(255, 90, 0, 0.14);
  border: 1px solid rgba(255, 90, 0, 0.28);
  color: var(--orange-2);
}

.stat-ico .ico { width: 28px; height: 28px; }

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label { display: block; font-size: var(--step--1); color: var(--hero-text); margin-top: 0.3rem; }

/* ---------------------------------------------------------------- 10. about */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split-narrow { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

.split-media { position: relative; min-width: 0; }

.media-stack {
  position: relative;
  display: grid;
  gap: 1rem;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft-2);
}

.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.media-frame-lg { aspect-ratio: 4 / 3.2; }
.media-frame-sm { aspect-ratio: 4 / 3; }

.media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.experience-badge {
  position: absolute;
  left: -14px;
  bottom: -14px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.4rem;
  box-shadow: var(--shadow-orange);
  z-index: 3;
  max-width: 210px;
}

.experience-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.experience-badge span { font-size: 0.8rem; font-weight: 600; line-height: 1.35; display: block; margin-top: 0.35rem; }

.dot-grid {
  position: absolute;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(rgba(255, 90, 0, 0.4) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  z-index: 1;
  pointer-events: none;
}

.dot-grid-tr { top: -18px; right: -18px; }
.dot-grid-bl { bottom: -18px; left: -18px; }

.split-copy { min-width: 0; }

.split-copy h2 { margin-bottom: 1rem; }
.split-copy > p { margin-bottom: 1rem; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 1.5rem 0;
}

.check-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--charcoal);
}

.check-grid .ico { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 3px; }

/* value / vision blocks */
.value-block {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color var(--t) ease, transform var(--t) var(--ease-out);
  min-width: 0;
}

.value-block:hover { border-color: rgba(255, 90, 0, 0.4); transform: translateX(4px); }

.value-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--orange);
}

.value-ico .ico { width: 24px; height: 24px; }
.value-block h3,
.value-block h4 { font-size: var(--step-0); margin-bottom: 0.25rem; }
.value-block p { font-size: var(--step--1); }

/* -------------------------------------------------------------- 11. process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.5rem);
  counter-reset: step;
}

.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem 1.5rem;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out),
    border-color var(--t) var(--ease-out);
  min-width: 0;
  overflow: hidden;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 90, 0, 0.35);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}

.process-step:hover::before { transform: scaleX(1); }

.process-num {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.6rem;
  transition: color var(--t) ease;
  letter-spacing: -0.03em;
}

.process-step:hover .process-num { color: var(--orange); }

.process-step h3 { font-size: var(--step-0); margin-bottom: 0.45rem; }
.process-step p { font-size: var(--step--1); }

.process-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--orange);
  margin-bottom: 0.9rem;
}

.process-ico .ico { width: 22px; height: 22px; }

/* ------------------------------------------------------------- 12. projects */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--charcoal);
  transition: all var(--t-fast) ease;
  white-space: nowrap;
}

.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.is-active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  display: block;
  min-width: 0;
  isolation: isolate;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  transition: transform 0.85s var(--ease-out), opacity var(--t) ease;
}

.project-card:hover img { transform: scale(1.06); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 38, 0.08) 0%, rgba(13, 23, 38, 0.5) 45%, rgba(9, 17, 29, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 2.4vw, 1.75rem);
  z-index: 2;
}

.project-cat {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.7rem;
}

.project-overlay h3 {
  color: #fff;
  font-size: var(--step-1);
  margin-bottom: 0.35rem;
}

.project-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.75);
}

.project-loc .ico { width: 14px; height: 14px; color: var(--orange-2); }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), opacity var(--t) ease, padding var(--t) ease, margin var(--t) ease;
}

.project-card:hover .project-meta {
  max-height: 90px;
  opacity: 1;
}

.project-meta li { font-size: 0.74rem; color: rgba(255, 255, 255, 0.82); }
.project-meta strong { display: block; color: #fff; font-family: var(--font-head); font-size: 0.86rem; }

.project-arrow {
  position: absolute;
  top: clamp(1rem, 2vw, 1.4rem);
  right: clamp(1rem, 2vw, 1.4rem);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #fff;
  z-index: 3;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity var(--t) ease, transform var(--t) var(--ease-spring), background var(--t-fast) ease;
}

.project-card:hover .project-arrow { opacity: 1; transform: translate(0, 0); background: var(--orange); }
.project-arrow .ico { width: 18px; height: 18px; }

/* ------------------------------------------------------------ 13. gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft-2);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 23, 38, 0.6));
  opacity: 0;
  transition: opacity var(--t) ease;
}

.gallery-item:hover::after { opacity: 1; }

.gallery-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--t) ease, transform var(--t) var(--ease-spring);
}

.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }
.gallery-zoom .ico { width: 17px; height: 17px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 17, 29, 0.94);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) ease, visibility var(--t);
}

.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.lightbox-close:hover { background: var(--orange); }

/* -------------------------------------------------------- 14. testimonials */
.quote-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.8vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out),
    border-color var(--t) var(--ease-out);
  min-width: 0;
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 90, 0, 0.32);
}

.quote-mark { color: var(--orange); opacity: 0.24; }
.quote-mark .ico { width: 38px; height: 38px; }

.quote-stars { display: flex; gap: 0.15rem; color: #f79009; }
.quote-stars .ico { width: 16px; height: 16px; }

.quote-card blockquote {
  font-size: var(--step-0);
  color: var(--charcoal);
  line-height: 1.65;
  flex: 1 1 auto;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.quote-avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.quote-person strong { display: block; font-family: var(--font-head); font-size: var(--step--1); color: var(--charcoal); }
.quote-person span { font-size: 0.78rem; color: var(--steel); }
.quote-person em { display: block; font-size: 0.72rem; font-style: normal; color: var(--orange); font-weight: 600; margin-top: 2px; }

.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.rating-score {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}

.rating-detail strong { display: block; font-size: var(--step--1); color: var(--charcoal); }
.rating-detail span { font-size: 0.78rem; color: var(--steel); }

/* --------------------------------------------------------------- 15. team */
.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal);
  min-width: 0;
}

.team-card img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.team-card:hover img { transform: scale(1.05); }

.team-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.35rem;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 17, 29, 0.88) 62%);
  z-index: 2;
}

.team-overlay strong {
  display: block;
  font-family: var(--font-head);
  font-size: var(--step-1);
  font-weight: 800;
  color: #fff;
}

.team-overlay em {
  display: block;
  font-style: normal;
  font-size: var(--step--1);
  color: var(--orange-2);
  font-weight: 600;
  margin-top: 0.15rem;
}

.team-overlay p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity var(--t) ease, margin var(--t) ease;
}

.team-card:hover .team-overlay p { max-height: 130px; opacity: 1; margin-top: 0.6rem; }

.team-card-lg { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.team-card-lg img { aspect-ratio: 1 / 1; height: 100%; }
.team-card-lg .team-body { padding: clamp(1.3rem, 2.6vw, 2rem); display: flex; flex-direction: column; min-width: 0; }
.team-card-lg h3 { font-size: var(--step-2); margin-bottom: 0.2rem; }
.team-card-lg .team-role { color: var(--orange); font-weight: 700; font-size: var(--step--1); margin-bottom: 0.9rem; }
.team-card-lg p { font-size: var(--step--1); }
.team-quote { margin-top: 1rem; padding-left: 1rem; border-left: 3px solid var(--orange); font-style: italic; color: var(--charcoal); font-size: var(--step--1); }

.team-certs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 1.1rem; }
.team-certs li { font-size: 0.7rem; font-weight: 600; background: var(--soft); border: 1px solid var(--border); color: var(--steel); padding: 0.28rem 0.6rem; border-radius: var(--radius-pill); }

/* --------------------------------------------------------------- 16. blog */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out),
    border-color var(--t) var(--ease-out);
  min-width: 0;
  position: relative;
}

.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255, 90, 0, 0.32); }

.post-media { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; background: var(--soft-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.post-card:hover .post-media img { transform: scale(1.06); }

.post-cat {
  position: absolute;
  left: 13px;
  top: 13px;
  z-index: 2;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.68rem;
  border-radius: var(--radius-pill);
}

.post-body { padding: clamp(1.2rem, 2.4vw, 1.6rem); display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  color: var(--steel);
  margin-bottom: 0.7rem;
}

.post-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.post-meta .ico { width: 14px; height: 14px; color: var(--orange); }

.post-body h3,
.post-body h2 { font-size: var(--step-1); margin-bottom: 0.55rem; line-height: 1.25; }
.post-body h3 a,
.post-body h2 a { transition: color var(--t-fast) ease; }
.post-card:hover .post-body h3,
.post-card:hover .post-body h2 { color: var(--orange); }
.post-body p { font-size: var(--step--1); flex: 1 1 auto; }

.post-foot { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.post-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.post-featured .post-media { aspect-ratio: auto; height: 100%; }
.post-featured .post-body { padding: clamp(1.6rem, 3vw, 2.5rem); }
.post-featured .post-body h3,
.post-featured .post-body h2 { font-size: var(--step-3); }

/* article body */
.article-body { max-width: 74ch; }
.article-body > * + * { margin-top: 1.25rem; }
.article-body h2 { font-size: var(--step-3); margin-top: 2.6rem; margin-bottom: 0.4rem; }
.article-body h3 { font-size: var(--step-2); margin-top: 1.9rem; margin-bottom: 0.3rem; }
.article-body p { font-size: var(--step-1); line-height: 1.78; color: var(--steel-dark); }
.article-body ul,
.article-body ol { display: grid; gap: 0.6rem; padding-left: 0; }
.article-body ul li,
.article-body ol li { position: relative; padding-left: 1.7rem; font-size: var(--step-1); line-height: 1.7; color: var(--steel-dark); }
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
}
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before {
  content: counter(ol);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--orange);
  font-size: 0.95em;
}
.article-body strong { color: var(--charcoal); }

.article-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--orange);
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-quote p {
  font-family: var(--font-head);
  font-size: var(--step-2) !important;
  font-weight: 700;
  line-height: 1.4;
  color: var(--charcoal) !important;
  margin: 0;
}

.article-quote cite { display: block; margin-top: 0.75rem; font-size: var(--step--1); font-style: normal; color: var(--orange); font-weight: 700; }

.callout {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 90, 0, 0.08), rgba(255, 122, 0, 0.03));
  border: 1px solid rgba(255, 90, 0, 0.22);
  margin: 1.75rem 0;
}

.callout-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #fff;
}

.callout-ico .ico { width: 22px; height: 22px; }
.callout strong { display: block; font-family: var(--font-head); color: var(--charcoal); margin-bottom: 0.3rem; font-size: var(--step-0); }
.callout p { font-size: var(--step--1) !important; margin: 0; color: var(--steel-dark); }

.table-wrap { overflow-x: auto; margin: 1.75rem 0; border: 1px solid var(--border); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }

table.data-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); min-width: 520px; }
table.data-table th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  text-align: left;
  padding: 0.85rem 1rem;
  white-space: nowrap;
}
table.data-table td { padding: 0.8rem 1rem; border-top: 1px solid var(--border); color: var(--steel-dark); vertical-align: top; }
table.data-table tbody tr:nth-child(even) { background: var(--soft); }
table.data-table td:first-child { font-weight: 600; color: var(--charcoal); }

.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.mini-stat { background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; text-align: center; }
.mini-stat strong { display: block; font-family: var(--font-head); font-size: var(--step-3); font-weight: 800; color: var(--orange); line-height: 1; }
.mini-stat span { font-size: 0.76rem; color: var(--steel); display: block; margin-top: 0.4rem; }

/* ---------------------------------------------------------------- 17. FAQ */
.faq-list { display: grid; gap: 0.75rem; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t) ease, box-shadow var(--t) ease;
}

.faq-item:hover { border-color: rgba(255, 90, 0, 0.35); }
.faq-item.is-open { border-color: var(--orange); box-shadow: var(--shadow-sm); }

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--charcoal);
  transition: color var(--t-fast) ease;
}

.faq-q:hover { color: var(--orange); }

.faq-toggle {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  transition: background var(--t) ease, color var(--t) ease, transform var(--t) var(--ease-spring);
  margin-top: -2px;
}

.faq-toggle .ico { width: 16px; height: 16px; transition: transform var(--t) var(--ease-out); }
.faq-item.is-open .faq-toggle { background: var(--orange); color: #fff; }
.faq-item.is-open .faq-toggle .ico { transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 1.35rem 1.35rem; font-size: var(--step--1); line-height: 1.75; }

.faq-group-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }
.faq-group-head h2 { font-size: var(--step-2); margin: 0; }
.faq-group-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: var(--radius-sm); background: var(--orange-soft); color: var(--orange); }
.faq-group-ico .ico { width: 23px; height: 23px; }

/* --------------------------------------------------------------- 18. forms */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
  min-width: 0;
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.form-field-full { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--charcoal);
}

.form-field label .req { color: var(--orange); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--soft);
  font-size: var(--step-0);
  color: var(--charcoal);
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease, box-shadow var(--t-fast) ease;
  min-width: 0;
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #9aa4b2; }

.form-hint { font-size: 0.76rem; color: var(--steel); }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--step--1);
  color: var(--steel);
  margin-top: 1rem;
  line-height: 1.6;
}

.form-note .ico { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 3px; }

.form-success {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(18, 183, 106, 0.08);
  border: 1px solid rgba(18, 183, 106, 0.3);
  margin-bottom: 1.5rem;
}

.form-success .ico { width: 26px; height: 26px; color: var(--green); flex: none; }
.form-success strong { display: block; font-family: var(--font-head); color: var(--charcoal); margin-bottom: 0.25rem; }
.form-success p { font-size: var(--step--1); margin: 0; }

.radio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.6rem; }

.radio-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--soft);
  cursor: pointer;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--charcoal);
  transition: all var(--t-fast) ease;
}

.radio-tile input { position: absolute; opacity: 0; pointer-events: none; }
.radio-tile:hover { border-color: rgba(255, 90, 0, 0.5); }
.radio-tile:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }

/* ------------------------------------------------------------ 19. pricing */
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.35rem);
  display: flex;
  flex-direction: column;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out),
    border-color var(--t) var(--ease-out);
  min-width: 0;
}

.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255, 90, 0, 0.35); }

.price-card.is-featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255, 90, 0, 0.045), #fff 30%);
}

.price-card.is-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-orange);
}

.price-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--orange-soft); color: var(--orange); margin-bottom: 1rem; }
.price-ico .ico { width: 26px; height: 26px; }

.price-card h3 { font-size: var(--step-2); margin-bottom: 0.3rem; }
.price-tagline { font-size: var(--step--1); color: var(--steel); margin-bottom: 1.1rem; }

.price-amount { font-family: var(--font-head); font-size: var(--step-3); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.price-unit { font-size: var(--step--1); color: var(--steel); margin-top: 0.3rem; display: block; }

.price-divider { height: 1px; background: var(--border); margin: 1.35rem 0; }

.price-features { display: grid; gap: 0.6rem; flex: 1 1 auto; }
.price-features li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: var(--step--1); color: var(--steel-dark); }
.price-features .ico { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 3px; }

.price-foot { margin-top: 1.5rem; }

/* ------------------------------------------------------------- 20. CTA band */
.cta-band {
  position: relative;
  background: var(--navy);
  color: var(--hero-text);
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.cta-band-bg { position: absolute; inset: 0; overflow: hidden; }

.cta-blob { position: absolute; border-radius: 50%; filter: blur(100px); }
.cta-blob-a { width: 640px; height: 640px; background: radial-gradient(circle, rgba(255, 90, 0, 0.42), transparent 70%); top: -240px; left: -140px; animation: drift-a 26s ease-in-out infinite; }
.cta-blob-b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255, 122, 0, 0.3), transparent 70%); bottom: -220px; right: -120px; animation: drift-b 32s ease-in-out infinite; }

.cta-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.cta-band h2 { color: #fff; margin-bottom: 1rem; font-size: var(--step-4); }
.cta-band p { color: var(--hero-text); font-size: var(--step-1); max-width: 56ch; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.9rem; }

.cta-points { display: grid; gap: 0.85rem; }
.cta-points li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: var(--step-0); color: #fff; font-weight: 500; }
.cta-points .ico { width: 20px; height: 20px; color: var(--orange-2); flex: none; margin-top: 3px; }

/* --------------------------------------------------------------- 21. footer */
.site-footer { background: var(--navy-deep); color: var(--footer-text); }

.footer-areas {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.1rem;
  background: rgba(255, 255, 255, 0.015);
}

.footer-areas-inner { display: flex; align-items: flex-start; gap: 1.25rem; flex-wrap: wrap; }

.footer-areas-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex: none;
  padding-top: 0.15rem;
}

.footer-areas-label .ico { width: 16px; height: 16px; color: var(--orange); }

.footer-areas-list { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; font-size: 0.79rem; min-width: 0; }
.footer-areas-list a { color: var(--footer-text); transition: color var(--t-fast) ease; }
.footer-areas-list a:hover { color: var(--orange); }
.footer-areas-list span { color: #7b8695; }
.footer-areas-more { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--orange) !important; font-weight: 600; }
.footer-areas-more .ico { width: 14px; height: 14px; }

.footer-main { position: relative; padding-block: clamp(2.5rem, 5vw, 3.75rem); overflow: hidden; }

.footer-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.13), transparent 68%);
  filter: blur(90px);
  top: -360px;
  right: -220px;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
}

.footer-col { min-width: 0; }

.footer-col h3 {
  font-size: var(--step-0);
  color: #fff;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.7rem;
  font-weight: 700;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.footer-logo { display: inline-block; margin-bottom: 1.1rem; }
.footer-logo img { width: 195px; height: auto; }

.footer-blurb { font-size: var(--step--1); line-height: 1.72; color: var(--footer-text); margin-bottom: 0.85rem; }

.footer-tagline {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-social { display: flex; gap: 0.5rem; }

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--footer-text);
  transition: all var(--t-fast) ease;
}

.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-3px); }
.footer-social .ico { width: 18px; height: 18px; }

/* NOTE: scope link styling to the list, not `.footer-col a .ico`, so it cannot
   outrank the more specific `.footer-contact-list` component rules. */
.footer-links { display: grid; gap: 0.1rem; }

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0;
  font-size: var(--step--1);
  color: var(--footer-text);
  transition: color var(--t-fast) ease, transform var(--t-fast) ease;
}

.footer-links a .ico { width: 14px; height: 14px; color: var(--orange); opacity: 0.55; transition: opacity var(--t-fast) ease, transform var(--t-fast) ease; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-links a:hover .ico { opacity: 1; transform: translateX(2px); }

.footer-contact-list { display: grid; gap: 1.1rem; margin-bottom: 1.5rem; }

.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: var(--step--1); line-height: 1.65; min-width: 0; }

.footer-contact-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 90, 0, 0.13);
  border: 1px solid rgba(255, 90, 0, 0.24);
  color: var(--orange-2);
}

.footer-contact-ico .ico { width: 18px; height: 18px; }
.footer-contact-list strong { display: block; font-family: var(--font-head); color: #fff; font-size: var(--step--1); margin-bottom: 0.1rem; }
.footer-contact-list a { color: var(--footer-text); transition: color var(--t-fast) ease; }
.footer-contact-list a:hover { color: var(--orange); }
.footer-emergency { color: var(--orange-2) !important; font-weight: 600; font-size: 0.76rem; }

.footer-cta { margin-top: 0.25rem; }

.footer-credentials {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-cred-block { min-width: 0; }

.footer-cred-block h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.footer-cred-block h4 .ico { width: 17px; height: 17px; color: var(--orange); }

.footer-cred-block ul { display: grid; gap: 0.5rem; }
.footer-cred-block li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.78rem; }
.footer-cred-block li span { color: var(--footer-text); }
.footer-cred-block li strong { color: #fff; font-family: var(--font-head); font-size: 0.76rem; white-space: nowrap; }

.footer-cert-list { display: grid; gap: 0.45rem; }
.footer-cert-list li { display: flex; align-items: flex-start; gap: 0.5rem; justify-content: flex-start; font-size: 0.78rem; color: var(--footer-text); }
.footer-cert-list .ico { width: 15px; height: 15px; color: var(--orange); flex: none; margin-top: 3px; }

.footer-cred-block p { font-size: 0.78rem; line-height: 1.7; color: var(--footer-text); }
.footer-cred-note { display: flex; gap: 0.5rem; margin-top: 0.7rem; }
.footer-cred-note .ico { width: 15px; height: 15px; color: var(--orange); flex: none; margin-top: 3px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 1.35rem; }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy { font-size: var(--step--1); color: #7b8695; }

.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: var(--step--1); }
.footer-legal a { color: #7b8695; transition: color var(--t-fast) ease; }
.footer-legal a:hover { color: var(--orange); }

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 110;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t) var(--ease-out);
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange-hover); transform: translateY(-3px); }
.back-to-top .ico { width: 20px; height: 20px; transform: rotate(180deg); }

/* ---------------------------------------------------------- 22. misc parts */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}

.trust-item {
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color var(--t) ease, transform var(--t) var(--ease-out);
  min-width: 0;
}

.trust-item:hover { border-color: rgba(255, 90, 0, 0.35); transform: translateY(-4px); }

.trust-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--orange);
}

.trust-ico .ico { width: 22px; height: 22px; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: var(--step-0); color: var(--charcoal); margin-bottom: 0.2rem; }
.trust-item p { font-size: var(--step--1); line-height: 1.65; }

.section-navy .trust-item { background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.1); }
.section-navy .trust-item strong { color: #fff; }
.section-navy .trust-item p { color: var(--hero-text); }

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.logo-strip li {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--steel);
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.section-navy .logo-strip li { color: var(--hero-text); background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }

/* info list */
.info-list { display: grid; gap: 1rem; }

.info-item { display: flex; gap: 0.9rem; align-items: flex-start; min-width: 0; }
.info-item .ico { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 3px; }
.info-item strong { display: block; font-family: var(--font-head); color: var(--charcoal); font-size: var(--step-0); }
.info-item p,
.info-item a { font-size: var(--step--1); color: var(--steel); }
.info-item a:hover { color: var(--orange); }

.section-navy .info-item strong { color: #fff; }
.section-navy .info-item p,
.section-navy .info-item a { color: var(--hero-text); }

/* map embed */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--soft-2);
  aspect-ratio: 16 / 10;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* job card */
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--t) var(--ease-out);
  flex-wrap: wrap;
  min-width: 0;
  position: relative;
}

.job-card:hover { border-color: rgba(255, 90, 0, 0.4); box-shadow: var(--shadow); transform: translateY(-3px); }
.job-card h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.job-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.job-tags li { font-size: 0.72rem; font-weight: 600; color: var(--steel); background: var(--soft); border: 1px solid var(--border); padding: 0.28rem 0.65rem; border-radius: var(--radius-pill); }
.job-tags li.job-salary { color: var(--orange); background: var(--orange-soft); border-color: rgba(255, 90, 0, 0.22); }

/* area card */
.area-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  min-width: 0;
}

.area-card img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.area-card:hover img { transform: scale(1.06); }

.area-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 38, 0.15) 0%, rgba(9, 17, 29, 0.92) 100%);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.area-overlay strong { font-family: var(--font-head); font-size: var(--step-1); color: #fff; font-weight: 800; }
.area-overlay span { font-size: var(--step--1); color: var(--orange-2); font-weight: 600; }
.area-overlay p { font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); margin-top: 0.45rem; }

/* mini area pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-grid li { font-size: var(--step--1); font-weight: 600; color: var(--charcoal); background: #fff; border: 1px solid var(--border); padding: 0.5rem 0.95rem; border-radius: var(--radius-pill); transition: all var(--t-fast) ease; }
.pill-grid a { color: inherit; }
.pill-grid li:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.section-soft .pill-grid li { background: #fff; }

/* sidebar */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.sidebar { position: sticky; top: 130px; display: grid; gap: 1.25rem; min-width: 0; }

.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); min-width: 0; }
.side-card h3 { font-size: var(--step-1); margin-bottom: 0.85rem; }
.side-card p { font-size: var(--step--1); margin-bottom: 1rem; }
.side-card-dark { background: var(--navy); border-color: rgba(255, 255, 255, 0.1); }
.side-card-dark h3 { color: #fff; }
.side-card-dark p { color: var(--hero-text); }

.side-links { display: grid; gap: 0.25rem; }
.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--charcoal);
  transition: all var(--t-fast) ease;
}
.side-links a .ico { width: 15px; height: 15px; color: var(--orange); opacity: 0; transform: translateX(-4px); transition: all var(--t-fast) ease; }
.side-links a:hover { background: var(--orange-soft); color: var(--orange); }
.side-links a:hover .ico { opacity: 1; transform: translateX(0); }
.side-links a.is-active { background: var(--orange); color: #fff; }
.side-links a.is-active .ico { opacity: 1; transform: none; color: #fff; }

/* fact grid */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.85rem; }
.fact { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.15rem; min-width: 0; }
.fact span { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin-bottom: 0.3rem; }
.fact strong { font-family: var(--font-head); font-size: var(--step-0); color: var(--charcoal); }

/* timeline / case study */
.case-list { display: grid; gap: 1rem; counter-reset: case; }
.case-list li { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.case-num {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
}
.case-list p { font-size: var(--step-0); color: var(--steel-dark); }

.result-list { display: grid; gap: 0.75rem; }
.result-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: var(--step-0); color: var(--charcoal); font-weight: 500; }
.result-list .ico { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }

/* legal prose */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.25rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.75rem; }
.prose p,
.prose li { font-size: var(--step-0); line-height: 1.78; }
.prose ul { display: grid; gap: 0.55rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ''; position: absolute; left: 0.3rem; top: 0.75em; width: 6px; height: 6px; border-radius: 2px; background: var(--orange); }

/* error pages */
.error-page { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.error-code { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; line-height: 0.9; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.05em; }
.error-page h1 { margin: 1rem 0 0.75rem; }
.error-page p { max-width: 52ch; margin: 0 auto 2rem; font-size: var(--step-1); }
.error-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ------------------------------------------------------------- 23. motion */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out), filter 0.75s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal[data-delay='1'] { transition-delay: 0.08s; }
.reveal[data-delay='2'] { transition-delay: 0.16s; }
.reveal[data-delay='3'] { transition-delay: 0.24s; }
.reveal[data-delay='4'] { transition-delay: 0.32s; }
.reveal[data-delay='5'] { transition-delay: 0.4s; }
.reveal[data-delay='6'] { transition-delay: 0.48s; }

/* count-up numbers */
[data-count] { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------------------------------------------------------- 24. responsive */
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .nav-toggle { display: grid; }
  .navbar-phone { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 96px; }
  .topbar-hours { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; max-width: 620px; }
  .hero-badge { left: 0; }
  .hero-chip { right: 8px; }
  .split,
  .split-wide,
  .split-narrow { grid-template-columns: minmax(0, 1fr); }
  .split-media { order: -1; }
  .cta-band-inner { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-featured { grid-template-columns: minmax(0, 1fr); }
  .post-featured .post-media { aspect-ratio: 16 / 9.5; }
  .footer-credentials { grid-template-columns: minmax(0, 1fr); }
  .team-card-lg { grid-template-columns: minmax(0, 1fr); }
  .team-card-lg img { aspect-ratio: 4 / 3; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-badge { left: 0; }
}

@media (max-width: 720px) {
  .topbar-email { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-right { display: none; }
  .navbar-cta { display: none; }
  .navbar-inner { min-height: 66px; }
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 { grid-template-columns: minmax(0, 1fr); }
  .check-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; justify-content: center; }
  .footer-legal { justify-content: center; }
  .hero-actions .btn,
  .cta-actions .btn,
  .page-hero-actions .btn { width: 100%; }
  .hero-badge { position: static; margin-top: 1rem; animation: none; }
  .hero-chip { display: none; }
  .hero-play { right: 12px; bottom: 12px; }
  .hero-play span { display: none; }
  .media-duo { grid-template-columns: minmax(0, 1fr); }
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .rating-summary { flex-direction: column; align-items: flex-start; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-card .btn { width: 100%; }
  .footer-areas-inner { flex-direction: column; gap: 0.75rem; }
  .article-quote { padding: 1.25rem; }
}

@media (max-width: 480px) {
  :root { --gutter: 1rem; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.1em; padding: 0.36rem 0.7rem; }
  .card { padding: 1.25rem; }
  .btn { padding: 0.85rem 1.3rem; font-size: var(--step--1); }
  .btn-lg { padding: 0.95rem 1.5rem; }
  .experience-badge { padding: 0.9rem 1.1rem; }
  .experience-badge strong { font-size: 2rem; }
  .dot-grid { display: none; }
  .form-card { padding: 1.25rem; }
  .price-card { padding: 1.4rem; }
}

/* --------------------------------------------------- 25. print / noscript */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .back-to-top,
  .scroll-progress,
  .mobile-drawer,
  .drawer-backdrop { display: none !important; }
  body { color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: 0.8em; }
}

/* If JS never runs, scroll-reveal content must still be visible. */
.no-js .reveal,
noscript ~ * .reveal { opacity: 1; transform: none; filter: none; }
