:root {
  --ink: #111614;
  --muted: #63706b;
  --line: rgba(20, 28, 24, 0.12);
  --paper: #f5f2ec;
  --white: #ffffff;
  --green: #0f8f5b;
  --cyan: #2b8f9f;
  --navy: #121817;
  --gold: #c8a45d;
  --champagne: #efe4cd;
  --charcoal: #0d1211;
  --shadow: 0 28px 80px rgba(9, 13, 12, 0.18);
  --luxury-panel: rgba(255, 250, 240, 0.82);
}

* {
  box-sizing: border-box;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  position: relative;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3f6f4;
  --muted: #a9b5b0;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #0b100f;
  --white: #ffffff;
  --navy: #070b0a;
  --champagne: #2a241a;
  --luxury-panel: rgba(20, 27, 24, 0.92);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

html[data-theme="dark"] .page-section.alt,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .work-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .page-form {
  background-color: #121917;
  color: var(--ink);
}
html[data-theme="dark"] .page-form label { color: var(--ink); }
html[data-theme="dark"] .page-form input,
html[data-theme="dark"] .page-form textarea,
html[data-theme="dark"] .page-form select {
  background: #0a0f0e; color: var(--ink); border-color: rgba(255,255,255,.2);
}

.header-controls { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: rgba(255,255,255,.1);
  color: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
.theme-toggle { width: auto; padding: 0 10px; font-size: 0.72rem; }
.theme-toggle:hover { background: rgba(255,255,255,.2); }

@media (max-width: 980px) {
  .site-header { padding-right: 118px; }
  .header-controls { position: absolute; top: 9px; right: 64px; width: auto; }
  .theme-toggle { height: 44px; }
}

/* Restrained motion and depth enhancements */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease var(--reveal-delay, 0ms), transform .65s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms); }
.reveal-ready [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
.service-card,.feature-card,.work-card,.blog-card,.button,.header-cta { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease; }
.service-card:hover,.feature-card:hover,.work-card:hover,.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(9,20,17,.14); border-color: rgba(15,143,91,.34); }
.button:hover,.header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,143,91,.22); }
.hero-image,.page-hero::before { animation: hero-settle 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hero-settle { from { opacity: .55; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 420px) {
  .brand-logo { width: min(145px, 40vw); }
  .site-header { padding-right: 112px; }
  .header-controls { right: 62px; }
  .theme-toggle { width: 54px; min-width: 54px; padding: 0 6px; }
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(190px, auto) 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(16, 24, 33, 0.78);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(16, 24, 33, 0.94);
  box-shadow: 0 12px 38px rgba(4, 12, 20, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 250px;
}

.brand-logo {
  width: clamp(190px, 21vw, 260px);
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.button-primary {
  background: var(--green);
  color: #051116;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.action-stack {
  display: grid;
  gap: 12px;
  align-content: center;
  justify-items: start;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 680px;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: end;
  gap: 34px;
  padding: 138px max(24px, calc((100vw - 1180px) / 2)) 30px;
  color: var(--white);
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 68% center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 13, 20, 0.96) 0%, rgba(5, 13, 20, 0.72) 34%, rgba(5, 13, 20, 0.08) 76%),
    linear-gradient(0deg, rgba(5, 13, 20, 0.74), rgba(5, 13, 20, 0.04) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  align-self: end;
  width: min(760px, 100%);
  padding-bottom: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 5.4vw, 5.1rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.22rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  min-height: 112px;
  padding: 18px 20px;
  background: rgba(5, 13, 20, 0.34);
}

.hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 1.62rem;
  font-weight: 800;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.48;
}

.section,
.band,
.cta,
.footer {
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: start;
  background: var(--white);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.76;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.services {
  background: #f0f6f4;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 31, 45, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(13, 31, 45, 0.12);
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #e5f7ed;
  color: #11773b;
  font-weight: 800;
}

.service-card p,
.step p,
.cta p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  padding-top: 76px;
  padding-bottom: 76px;
  background: var(--navy);
  color: var(--white);
}

.process-band {
  grid-template-columns: 1fr;
  gap: 34px;
}

.band-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-copy {
  position: static;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: end;
  max-width: 1180px;
}

.process-copy .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.process-copy h2 {
  margin-bottom: 0;
}

.process-copy p:last-child {
  max-width: 600px;
}

.band-copy p:last-child {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.steps {
  display: grid;
  gap: 14px;
}

.process-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--green);
  color: #061114;
  font-weight: 800;
}

.step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.industries {
  background: var(--white);
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.industry-list span {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  color: var(--navy);
  font-weight: 800;
}

.cta {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 54px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
  background: #dff1ea;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd8dc;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(34, 180, 95, 0.22);
  border-color: var(--green);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: #0d151c;
  color: var(--white);
}

.footer p {
  margin: 0;
}

.footer p:first-child {
  color: var(--white);
  font-weight: 800;
}

.page-main {
  padding-top: 106px;
  background: var(--paper);
}

.page-hero {
  padding: 64px max(24px, calc((100vw - 1180px) / 2)) 68px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 24, 33, 0.94), rgba(23, 40, 58, 0.88)),
    url("heroes/home-generated.webp") center / cover;
  color: var(--white);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.page-hero > .eyebrow,
.page-hero > p {
  position: relative;
  z-index: 1;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  line-height: 1.7;
}

.page-section {
  padding: 68px max(24px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.page-section.alt {
  background: #f0f6f4;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.copy-block p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card,
.work-card,
.contact-card {
  display: grid;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 31, 45, 0.06);
}

.feature-card strong,
.work-card strong,
.contact-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.05rem;
}

.feature-card p,
.work-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.blog-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 31, 45, 0.06);
}

.blog-card p {
  color: var(--muted);
  line-height: 1.65;
}

.quote-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 34px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-details-grid .contact-card {
  min-height: 100%;
  padding: 20px;
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-channel-grid .support-card {
  height: 100%;
}

.contact-channel-grid .button {
  align-self: end;
  justify-self: start;
}

.page-form {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.page-form input,
.page-form textarea,
.page-form select {
  width: 100%;
  border: 1px solid #cbd8dc;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.page-form textarea {
  resize: vertical;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(230px, 58vw);
    max-height: 44px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    place-content: center;
    background: rgba(255, 255, 255, 0.13);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: grid;
    gap: 6px;
    align-items: stretch;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .intro,
  .band,
  .cta,
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-copy {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-copy .eyebrow {
    margin-bottom: 0;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 720px;
  }

  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .band-copy {
    position: static;
  }
}

/* Compact support actions avoid covering page copy */
.support-dock {
  width: auto;
  grid-template-columns: repeat(2, 52px);
  gap: 8px;
}

.support-dock-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: 52px;
  min-height: 52px;
  padding: 7px;
}

.support-dock-link span {
  width: 38px;
  height: 38px;
}

.support-dock-link strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 680px) {
  .support-dock {
    display: none;
  }
}

/* Shared MVC typography scale */
.hero h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 4.2vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.35rem, 3.8vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section h2,
.band h2,
.cta h2,
.page-section h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.service-card h3,
.feature-card h3,
.work-card h3,
.blog-card h3,
.contact-card h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

@media (max-width: 680px) {
  .hero h1 {
    max-width: 420px;
    font-size: clamp(2.15rem, 9.5vw, 2.75rem);
    line-height: 1.08;
  }

  .page-hero h1 {
    font-size: clamp(1.95rem, 8.5vw, 2.45rem);
    line-height: 1.1;
  }

  .section h2,
  .band h2,
  .cta h2,
  .page-section h2 {
    font-size: clamp(1.65rem, 7vw, 2rem);
    line-height: 1.16;
  }
}

/* Final compact support actions */
.support-dock {
  width: auto;
  grid-template-columns: repeat(2, 52px);
  gap: 8px;
}

.support-dock-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: 52px;
  min-height: 52px;
  padding: 7px;
}

.support-dock-link span {
  width: 38px;
  height: 38px;
}

.support-dock-link strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Inner-page display refinement */
.page-hero {
  min-height: 330px;
  padding-top: 58px;
  padding-bottom: 58px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.9) 45%, rgba(255, 253, 248, 0.1) 78%),
    var(--page-hero-image, url("heroes/home-hero-v2.webp")) center / cover;
}

.page-hero h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 3.25vw, 3.15rem);
  line-height: 1.1;
}

.page-hero p:not(.eyebrow) {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.62;
}

@media (max-width: 680px) {
  .page-hero {
    min-height: 300px;
    padding-top: 44px;
    padding-bottom: 46px;
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.97), rgba(255, 253, 248, 0.82)),
      var(--page-hero-image, url("heroes/home-hero-v2.webp")) center / cover;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
    padding: 9px 10px;
  }

  .brand-logo {
    width: min(194px, 62vw);
    max-height: 38px;
  }

  .hero {
    min-height: auto;
    gap: 24px;
    grid-template-rows: auto auto;
    padding-top: 108px;
    padding-bottom: 24px;
  }

  h1 {
    max-width: 360px;
    font-size: 2.35rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-panel div {
    min-height: auto;
    padding: 15px 16px;
  }

  .hero-panel span {
    font-size: 1.35rem;
  }

  .hero-panel p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .section,
  .band,
  .cta,
  .page-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .page-main {
    padding-top: 92px;
  }

  .page-hero {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .intro {
    gap: 20px;
  }

  .service-card,
  .feature-card,
  .work-card,
  .contact-card,
  .page-form,
  .contact-form {
    padding: 20px;
  }

  .service-grid,
  .industry-list,
  .feature-grid,
  .work-grid,
  .detail-grid,
  .blog-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .footer {
    display: grid;
    gap: 8px;
  }
}

/* Luxury finish */
body {
  background:
    linear-gradient(180deg, #f8f4eb 0%, #f1ece2 42%, #f7f4ee 100%);
}

.site-header {
  border: 1px solid rgba(239, 228, 205, 0.18);
  background: rgba(13, 18, 17, 0.84);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.site-header.is-scrolled {
  background: rgba(13, 18, 17, 0.96);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.site-nav a {
  color: rgba(255, 255, 255, 0.76);
}

.site-nav a:hover {
  background: rgba(200, 164, 93, 0.12);
  color: #fff7e6;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, #d7b86f, #a87f34);
  color: #111614;
  box-shadow: 0 16px 38px rgba(168, 127, 52, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff7e6;
  box-shadow: inset 0 0 0 1px rgba(239, 228, 205, 0.28);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 13, 12, 0.96) 0%, rgba(9, 13, 12, 0.78) 35%, rgba(9, 13, 12, 0.18) 78%),
    linear-gradient(0deg, rgba(9, 13, 12, 0.82), rgba(9, 13, 12, 0.04) 54%);
}

.eyebrow {
  color: var(--gold);
}

h1,
h2 {
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-weight: 700;
}

h3 {
  font-weight: 800;
}

.hero-copy,
.page-hero p:not(.eyebrow) {
  color: rgba(255, 247, 230, 0.78);
}

.hero-panel {
  border: 1px solid rgba(239, 228, 205, 0.22);
  background: rgba(13, 18, 17, 0.42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.hero-panel div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.hero-panel span,
.step span {
  color: #f1d58d;
}

.intro,
.industries,
.page-section {
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(2px);
}

.services,
.page-section.alt {
  background:
    linear-gradient(180deg, rgba(245, 239, 226, 0.9), rgba(238, 231, 218, 0.88));
  backdrop-filter: blur(2px);
}

.service-card,
.feature-card,
.work-card,
.contact-card,
.blog-card,
.contact-form,
.page-form,
.quote-panel {
  border: 1px solid rgba(111, 90, 50, 0.14);
  background: linear-gradient(180deg, #fffdf8, #f8f2e8);
  box-shadow: 0 18px 48px rgba(55, 43, 25, 0.1);
}

.service-card:hover,
.work-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 64px rgba(55, 43, 25, 0.16);
}

.service-card .icon {
  background: rgba(200, 164, 93, 0.16);
  color: #8a641f;
}

.band {
  background:
    radial-gradient(circle at 18% 10%, rgba(200, 164, 93, 0.18), transparent 26%),
    linear-gradient(135deg, #0d1211 0%, #17201d 52%, #0f1514 100%);
}

.step {
  border: 1px solid rgba(239, 228, 205, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.step span {
  background: rgba(200, 164, 93, 0.14);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 93, 0.35);
}

.industry-list span {
  border-color: rgba(111, 90, 50, 0.14);
  background: #fbf5ea;
}

.cta {
  background:
    linear-gradient(135deg, rgba(239, 228, 205, 0.92), rgba(248, 244, 235, 0.9) 54%, rgba(223, 238, 229, 0.88));
  backdrop-filter: blur(2px);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(9, 13, 12, 0.96), rgba(19, 28, 25, 0.88)),
    url("heroes/home-generated.webp") center / cover;
}

.footer {
  background: #0a0f0e;
  border-top: 1px solid rgba(239, 228, 205, 0.12);
}

.feature-card strong,
.work-card strong,
.contact-card strong {
  color: #151b19;
}

.contact-form input,
.contact-form textarea,
.page-form input,
.page-form textarea,
.page-form select {
  border-color: rgba(111, 90, 50, 0.2);
  background: #fffaf2;
}

.contact-form input:focus,
.contact-form textarea:focus,
.page-form input:focus,
.page-form textarea:focus,
.page-form select:focus {
  outline: 3px solid rgba(200, 164, 93, 0.22);
  border-color: var(--gold);
}

/* Executive luxury refinement */
body {
  color: #121715;
  background:
    linear-gradient(180deg, rgba(8, 12, 11, 0.98) 0, rgba(8, 12, 11, 0.98) 420px, rgba(245, 241, 232, 0.96) 421px),
    linear-gradient(180deg, #f8f4eb, #ece4d4);
}

.site-header {
  border-color: rgba(217, 187, 121, 0.28);
  background: rgba(7, 10, 10, 0.9);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.brand-logo {
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.28));
}

.hero {
  min-height: 720px;
  padding-bottom: 42px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 7, 0.98) 0%, rgba(7, 10, 10, 0.82) 38%, rgba(7, 10, 10, 0.22) 78%),
    linear-gradient(0deg, rgba(5, 7, 7, 0.9), rgba(5, 7, 7, 0.05) 58%);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 5.8vw, 5.7rem);
}

.hero-copy {
  max-width: 650px;
  font-size: 1.18rem;
}

.hero-panel {
  border-color: rgba(217, 187, 121, 0.26);
  background: rgba(9, 12, 12, 0.56);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.hero-panel div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(217, 187, 121, 0.035));
}

.intro,
.industries,
.page-section,
.services,
.page-section.alt,
.cta {
  border-top: 1px solid rgba(111, 90, 50, 0.08);
}

.service-card,
.feature-card,
.work-card,
.contact-card,
.blog-card,
.contact-form,
.page-form,
.quote-panel {
  border-color: rgba(137, 106, 47, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 239, 226, 0.92));
  box-shadow:
    0 24px 70px rgba(34, 26, 14, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-card .icon {
  border: 1px solid rgba(168, 127, 52, 0.18);
  background: linear-gradient(135deg, rgba(215, 184, 111, 0.24), rgba(255, 250, 240, 0.7));
}

.process-band,
.band {
  border-block: 1px solid rgba(217, 187, 121, 0.14);
}

.process-copy h2,
.band h2 {
  color: #fff8e8;
}

.step {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-hero {
  min-height: 360px;
  display: grid;
  align-content: end;
  border-bottom: 1px solid rgba(217, 187, 121, 0.16);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.footer {
  color: rgba(255, 247, 230, 0.72);
}

.site-header {
  grid-template-columns: minmax(180px, 250px) minmax(0, 1fr) auto;
  gap: 14px;
}

.brand {
  min-width: 0;
}

.brand-logo {
  width: clamp(176px, 18vw, 238px);
}

.site-nav {
  justify-self: end;
  min-width: 0;
  gap: 3px;
}

.site-nav a {
  padding: 9px 10px;
  font-size: 0.86rem;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  padding-inline: 15px;
  white-space: nowrap;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(9, 13, 12, 0.94), rgba(19, 28, 25, 0.78) 46%, rgba(19, 28, 25, 0.56)),
    var(--page-hero-image, url("heroes/home-generated.webp")) center / cover;
}

.support-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(210px, calc(100vw - 36px));
}

.support-dock-link {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(217, 187, 121, 0.24);
  border-radius: 8px;
  color: #fff8e8;
  background: rgba(7, 10, 10, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.support-dock-link span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 36px;
  border-radius: 8px;
  color: #111614;
  font-weight: 800;
}

.support-dock-link strong {
  font-size: 0.86rem;
  line-height: 1;
}

.support-dock-whatsapp span {
  background: linear-gradient(135deg, #25d366, #c8a45d);
}

.support-dock-facebook span {
  background: linear-gradient(135deg, #1877f2, #d7b86f);
}

.support-card {
  gap: 14px;
}

.support-card .button {
  width: 100%;
}

.button-dark {
  background: #101817;
  color: #fff8e8;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) auto;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-nav {
    justify-self: stretch;
  }
}

@media (max-width: 680px) {
  .support-dock {
    right: 10px;
    bottom: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100vw - 20px);
  }

  .support-dock-link {
    grid-template-columns: 34px 1fr;
    min-height: 48px;
    padding: 7px 8px;
  }

  .support-dock-link span {
    width: 34px;
    height: 34px;
  }
}

/* Private-client luxury polish */
:root {
  --platinum: #f8f0dc;
  --deep-emerald: #0b2a21;
  --black-glass: rgba(5, 8, 8, 0.82);
  --gold-line: rgba(218, 185, 111, 0.34);
  --luxury-shadow: 0 32px 90px rgba(10, 8, 4, 0.18);
}

body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 38px),
    linear-gradient(180deg, #070a0a 0, #070a0a 390px, #f3ecde 391px, #fbf8f0 100%);
  background-size: auto, auto;
}

.site-header {
  min-height: 78px;
  padding: 13px 16px;
  border-color: var(--gold-line);
  background:
    linear-gradient(180deg, rgba(17, 22, 20, 0.94), rgba(5, 8, 8, 0.9));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 248, 232, 0.12);
}

.site-nav a {
  border: 1px solid transparent;
  color: rgba(255, 248, 232, 0.74);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  border-color: rgba(218, 185, 111, 0.22);
  background: rgba(218, 185, 111, 0.1);
  color: var(--platinum);
}

.hero {
  min-height: 760px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(218, 185, 111, 0.12), transparent 22%),
    linear-gradient(180deg, transparent 72%, rgba(7, 10, 10, 0.86));
}

.hero-content {
  padding-top: 38px;
}

.hero h1,
.page-hero h1 {
  color: #fff8e8;
  text-shadow: 0 20px 54px rgba(0, 0, 0, 0.48);
}

.hero-copy,
.page-hero p:not(.eyebrow) {
  color: rgba(255, 248, 232, 0.82);
}

.eyebrow {
  color: #d9bb79;
}

.hero-panel {
  border-color: rgba(218, 185, 111, 0.32);
  background: rgba(5, 8, 8, 0.66);
}

.hero-panel div {
  padding: 22px 24px;
}

.hero-panel span {
  color: #f6d98e;
}

.button {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.header-cta:hover,
.support-dock-link:hover {
  transform: translateY(-2px);
}

.button-primary,
.header-cta {
  background:
    linear-gradient(135deg, #f4d789 0%, #c79b47 48%, #8b6320 100%);
  color: #090d0c;
  box-shadow:
    0 20px 48px rgba(144, 102, 35, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button-secondary {
  border: 1px solid rgba(248, 240, 220, 0.22);
  background: rgba(5, 8, 8, 0.42);
  color: var(--platinum);
}

.section,
.band,
.cta,
.page-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.intro,
.industries,
.page-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(247, 239, 225, 0.92));
}

.services,
.page-section.alt {
  background:
    linear-gradient(180deg, rgba(239, 229, 209, 0.96), rgba(248, 244, 235, 0.94));
}

.service-card,
.feature-card,
.work-card,
.contact-card,
.blog-card,
.contact-form,
.page-form,
.quote-panel {
  border-color: rgba(142, 103, 34, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 254, 249, 0.98), rgba(245, 235, 216, 0.94));
  box-shadow:
    var(--luxury-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.service-card,
.feature-card,
.work-card,
.contact-card,
.blog-card {
  position: relative;
}

.service-card::before,
.feature-card::before,
.work-card::before,
.contact-card::before,
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, #d9bb79, rgba(217, 187, 121, 0));
}

.service-card:hover,
.work-card:hover,
.blog-card:hover,
.feature-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 34px 88px rgba(40, 29, 12, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.band,
.process-band {
  background:
    linear-gradient(135deg, #070a0a 0%, #10201a 50%, #080c0b 100%);
  box-shadow:
    inset 0 1px 0 rgba(248, 240, 220, 0.1),
    inset 0 -1px 0 rgba(218, 185, 111, 0.12);
}

.step {
  border-color: rgba(218, 185, 111, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(218, 185, 111, 0.045));
}

.step span,
.service-card .icon {
  color: #111614;
  background:
    linear-gradient(135deg, #f2d487, #b88a35);
}

.cta {
  background:
    linear-gradient(135deg, #ead9b7 0%, #fbf6ea 42%, #dceee5 100%);
}

.contact-form,
.page-form {
  border-top: 3px solid rgba(217, 187, 121, 0.74);
}

.contact-form input,
.contact-form textarea,
.page-form input,
.page-form textarea,
.page-form select {
  min-height: 50px;
  border-color: rgba(142, 103, 34, 0.26);
  background: rgba(255, 252, 245, 0.94);
}

.form-notice,
.form-helper {
  margin: 0;
  line-height: 1.55;
}

.form-notice {
  padding: 13px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.form-notice.success {
  border: 1px solid rgba(28, 130, 80, 0.26);
  background: rgba(221, 244, 232, 0.9);
  color: #0a4f34;
}

.form-notice.error {
  border: 1px solid rgba(148, 68, 48, 0.26);
  background: rgba(255, 235, 226, 0.92);
  color: #7a2f20;
}

.form-helper {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-helper a {
  color: #8a641f;
  font-weight: 800;
}

.page-hero {
  min-height: 420px;
  padding-top: 84px;
  padding-bottom: 82px;
  border-bottom-color: rgba(217, 187, 121, 0.24);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 8, 0.96), rgba(10, 16, 14, 0.74) 45%, rgba(10, 16, 14, 0.46)),
    var(--page-hero-image, url("heroes/home-generated.webp")) center / cover;
}

.footer {
  background:
    linear-gradient(180deg, #080c0b, #030504);
  border-top-color: rgba(217, 187, 121, 0.2);
}

.support-dock-link {
  border-color: rgba(218, 185, 111, 0.32);
  background:
    linear-gradient(180deg, rgba(14, 20, 18, 0.96), rgba(5, 8, 8, 0.94));
}

.card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: -8px 0 20px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(142, 103, 34, 0.2);
  box-shadow:
    0 18px 42px rgba(42, 29, 10, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.service-card .card-media,
.work-card .card-media,
.contact-card .card-media,
.blog-card .card-media {
  grid-row: auto;
}

.service-card:has(.card-media),
.work-card:has(.card-media),
.contact-card:has(.card-media),
.blog-card:has(.card-media) {
  overflow: hidden;
}

.service-card:has(.card-media)::before,
.work-card:has(.card-media)::before,
.contact-card:has(.card-media)::before,
.blog-card:has(.card-media)::before {
  z-index: 1;
}

.service-card:has(.card-media) .icon {
  margin-bottom: 18px;
}

.blog-card .card-media {
  margin-bottom: 8px;
}

@media (max-width: 680px) {
  .contact-details-grid,
  .contact-channel-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 700px;
  }

  .section,
  .band,
  .cta,
  .page-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .page-hero {
    min-height: 340px;
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .card-media {
    margin-bottom: 16px;
  }
}

/* Mobile navigation fix */
@media (max-width: 980px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
  }

  .site-header.is-nav-open {
    background: rgba(5, 8, 8, 0.98);
  }

  .brand {
    min-width: 0;
    overflow: hidden;
  }

  .brand-logo {
    width: clamp(158px, 52vw, 218px);
    max-height: 38px;
  }

  .nav-toggle {
    display: grid;
    position: relative;
    justify-self: end;
    place-content: center;
    gap: 0;
    width: 46px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(218, 185, 111, 0.28);
    border-radius: 8px;
    background: rgba(248, 240, 220, 0.08);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: #fff8e8;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-header.is-nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: grid;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    padding: 0;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.24s ease, opacity 0.18s ease, padding 0.18s ease;
  }

  .site-nav.is-open {
    display: grid;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 10px 0 3px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 13px 14px;
    border: 1px solid rgba(218, 185, 111, 0.16);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.055);
    color: #fff8e8;
    font-size: 0.95rem;
    line-height: 1.1;
  }

  .header-cta {
    display: none;
  }

  .page-main {
    padding-top: 88px;
  }

  .hero {
    padding-top: 112px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: min(172px, 48vw);
  }

  .site-nav a {
    min-height: 44px;
    font-size: 0.9rem;
  }
}

/* Client portal */
.portal-main .page-section {
  display: grid;
  gap: 28px;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: start;
}

.portal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.portal-toolbar h2 {
  margin-bottom: 0;
}

.portal-login-form h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.portal-table-card {
  gap: 18px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.portal-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.portal-table th,
.portal-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(142, 103, 34, 0.14);
  color: #17201d;
  text-align: left;
  vertical-align: top;
}

.portal-table th {
  background: rgba(218, 185, 111, 0.18);
  color: #111614;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.portal-auth-main {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 8, 0.94), rgba(10, 16, 14, 0.76)),
    url("heroes/service-generated.webp") center / cover;
}

.portal-auth-main .page-section {
  width: min(720px, 100%);
  margin-inline: auto;
  background: transparent;
  border-top: 0;
}

.portal-auth-card {
  border-color: rgba(218, 185, 111, 0.28);
}

.portal-auth-logo {
  width: min(230px, 72vw);
  max-height: 48px;
}

@media (max-width: 980px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-toolbar {
    display: grid;
    align-items: start;
  }
}

/* Responsive typography review: Montserrat needs a slightly tighter mobile scale. */
@media (max-width: 680px) {
  .hero { min-height: auto; padding-top: 128px; }
  .hero h1 { font-size: clamp(2.55rem, 11.5vw, 3.15rem); line-height: 1.02; letter-spacing: -0.045em; }
  .page-hero h1 { font-size: clamp(2.25rem, 10vw, 2.75rem); line-height: 1.06; letter-spacing: -0.035em; }
  .hero-copy,.page-hero p:not(.eyebrow),.intro>p,.copy-block p,.service-card p,.feature-card p,.blog-card p,.contact-card p { font-size: 1rem; line-height: 1.65; }
  .section h2,.band h2,.cta h2 { font-size: clamp(1.85rem, 8vw, 2.15rem); line-height: 1.12; letter-spacing: -0.025em; }
  .eyebrow { font-size: .75rem; line-height: 1.45; letter-spacing: .12em; }
  .button,.header-cta,input,textarea,select { font-size: 1rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(2.35rem, 11vw, 2.85rem); }
  .page-hero h1 { font-size: clamp(2.05rem, 9.5vw, 2.5rem); }
}

/* Light premium brand direction */
:root,
html[data-theme="dark"] {
  color-scheme: light;
  --ink: #161a18;
  --muted: #65706a;
  --line: rgba(94, 78, 45, 0.16);
  --paper: #f8f5ee;
  --white: #ffffff;
  --navy: #17201d;
  --gold: #b68a39;
  --champagne: #f1e5ca;
  --charcoal: #1b211f;
  --luxury-panel: rgba(255, 255, 255, 0.88);
  --shadow: 0 28px 80px rgba(52, 43, 25, 0.12);
}

body,
html[data-theme="dark"] body {
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(223, 202, 155, 0.22), transparent 26rem),
    linear-gradient(180deg, #fffdf8 0%, #f5f0e6 56%, #fbf9f4 100%);
}

.site-header,
.site-header.is-scrolled,
.site-header.is-nav-open {
  border-color: rgba(151, 116, 51, 0.22);
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  box-shadow: 0 20px 56px rgba(49, 39, 21, 0.13);
}

.brand-logo {
  filter: none;
}

.site-nav a {
  color: rgba(23, 32, 29, 0.72);
}

.site-nav a:hover {
  border-color: rgba(182, 138, 57, 0.2);
  background: rgba(182, 138, 57, 0.1);
  color: #151917;
}

.hero {
  color: var(--ink);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.91) 35%, rgba(255, 253, 248, 0.2) 76%),
    linear-gradient(0deg, rgba(250, 247, 239, 0.9), rgba(250, 247, 239, 0.04) 56%);
}

.hero::before,
.page-hero::before {
  background:
    linear-gradient(90deg, rgba(182, 138, 57, 0.08), transparent 25%),
    linear-gradient(180deg, transparent 70%, rgba(250, 247, 239, 0.76));
}

.hero h1,
.page-hero h1 {
  color: #171c19;
  text-shadow: none;
}

.hero-copy,
.page-hero p:not(.eyebrow) {
  color: rgba(31, 39, 35, 0.72);
}

.hero-panel {
  border-color: rgba(151, 116, 51, 0.2);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 26px 72px rgba(49, 39, 21, 0.14);
}

.hero-panel div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 236, 220, 0.72));
}

.hero-panel span {
  color: #9a7025;
}

.hero-panel p {
  color: rgba(35, 43, 39, 0.7);
}

.button-secondary {
  border-color: rgba(94, 78, 45, 0.2);
  background: rgba(255, 255, 255, 0.82);
  color: #17201d;
  box-shadow: inset 0 0 0 1px rgba(151, 116, 51, 0.16);
}

.intro,
.industries,
.page-section,
html[data-theme="dark"] .page-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 247, 240, 0.95));
}

.services,
.page-section.alt,
html[data-theme="dark"] .page-section.alt {
  background: linear-gradient(180deg, #f7f2e8, #efe7d8);
}

.service-card,
.feature-card,
.work-card,
.contact-card,
.blog-card,
.contact-form,
.page-form,
.quote-panel,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .work-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .page-form {
  color: var(--ink);
  border-color: rgba(151, 116, 51, 0.18);
  background: linear-gradient(180deg, #ffffff, #faf6ed);
  box-shadow: 0 22px 64px rgba(60, 46, 20, 0.1), inset 0 1px 0 #fff;
}

.band,
.process-band {
  color: var(--ink);
  border-block-color: rgba(151, 116, 51, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 183, 115, 0.24), transparent 26rem),
    linear-gradient(135deg, #f5eddd, #fffdf8 54%, #edf4ef);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(151, 116, 51, 0.1);
}

.process-copy h2,
.band h2 {
  color: #171c19;
}

.band-copy p:last-child {
  color: var(--muted);
}

.step {
  border-color: rgba(151, 116, 51, 0.18);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 40px rgba(60, 46, 20, 0.08);
}

.step p {
  color: var(--muted);
}

.step span,
.service-card .icon {
  color: #171c19;
  background: linear-gradient(135deg, #f3d990, #c59a48);
}

.cta {
  background: linear-gradient(135deg, #f0dfbd 0%, #fffdf8 48%, #e7f2eb 100%);
}

.page-hero {
  color: var(--ink);
  border-bottom-color: rgba(151, 116, 51, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.86) 47%, rgba(255, 253, 248, 0.34)),
    var(--page-hero-image, url("heroes/home-hero-v2.webp")) center / cover;
}

.footer {
  color: rgba(23, 32, 29, 0.7);
  border-top-color: rgba(151, 116, 51, 0.18);
  background: linear-gradient(180deg, #f4eddf, #e9dfcd);
}

.footer p:first-child {
  color: #17201d;
}

.support-dock-link {
  color: #17201d;
  border-color: rgba(151, 116, 51, 0.22);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 16px 40px rgba(49, 39, 21, 0.14);
}

.button-dark {
  background: #f2e8d7;
  color: #17201d;
}

.portal-auth-main {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.76)),
    url("heroes/service-generated.webp") center / cover;
}

html[data-theme="dark"] .page-form label {
  color: var(--ink);
}

html[data-theme="dark"] .page-form input,
html[data-theme="dark"] .page-form textarea,
html[data-theme="dark"] .page-form select {
  color: var(--ink);
  border-color: rgba(151, 116, 51, 0.2);
  background: #fffdf8;
}

@media (max-width: 980px) {
  .nav-toggle {
    border-color: rgba(151, 116, 51, 0.24);
    background: rgba(182, 138, 57, 0.08);
  }

  .nav-toggle span {
    background: #17201d;
  }

  .site-nav a {
    border-color: rgba(151, 116, 51, 0.14);
    background: rgba(255, 255, 255, 0.62);
    color: #17201d;
  }
}

/* Final shared MVC typography scale */
.page-hero {
  min-height: 330px;
  padding-top: 58px;
  padding-bottom: 58px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.9) 45%, rgba(255, 253, 248, 0.1) 78%),
    var(--page-hero-image, url("heroes/home-hero-v2.webp")) center / cover;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 4.2vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.page-hero h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 3.25vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-hero p:not(.eyebrow) {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.62;
}

.section h2,
.band h2,
.cta h2,
.page-section h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.service-card h3,
.feature-card h3,
.work-card h3,
.blog-card h3,
.contact-card h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

@media (max-width: 680px) {
  .hero h1 {
    max-width: 420px;
    font-size: clamp(2.15rem, 9.5vw, 2.75rem);
    line-height: 1.08;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    line-height: 1.1;
  }

  .page-hero {
    min-height: 300px;
    padding-top: 44px;
    padding-bottom: 46px;
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.97), rgba(255, 253, 248, 0.82)),
      var(--page-hero-image, url("heroes/home-hero-v2.webp")) center / cover;
  }

  .section h2,
  .band h2,
  .cta h2,
  .page-section h2 {
    font-size: clamp(1.65rem, 7vw, 2rem);
    line-height: 1.16;
  }
}
