:root {
  --ink: #10151b;
  --charcoal: #202832;
  --teal: #0b6f68;
  --teal-dark: #102a2f;
  --teal-soft: #e7f0ef;
  --gold: #c99a4a;
  --gold-dark: #8a6425;
  --blue: #356a8d;
  --rose: #8b4f58;
  --muted: #5f6872;
  --line: #d9e0e2;
  --wash: #f6f7f5;
  --platinum: #eef1f2;
  --midnight: #111820;
  --white: #ffffff;
  --shadow: 0 24px 72px rgba(16, 21, 27, 0.12);
  --shadow-soft: 0 14px 34px rgba(16, 21, 27, 0.08);
  --radius: 8px;
  --header-height: 72px;
  --font-sans: Aptos, "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", Aptos, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: var(--font-sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
picture {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(216, 156, 58, 0.5);
  outline-offset: 3px;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px max(16px, calc((100vw - 1180px) / 2));
  color: var(--white);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header::after {
  position: absolute;
  content: "";
  inset: auto max(16px, calc((100vw - 1180px) / 2)) 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled,
.site-header.nav-active,
.site-header-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(16, 21, 27, 0.1);
}

.site-header.is-scrolled::after,
.site-header.nav-active::after,
.site-header-solid::after {
  background: var(--line);
}

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

.brand-mark {
  width: 58px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  padding: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 241, 242, 0.9));
  border: 1px solid rgba(201, 154, 74, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 21, 27, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.12;
}

.brand small {
  display: none;
  margin-top: 2px;
  color: currentColor;
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0.66;
}

.primary-nav {
  position: fixed;
  inset: var(--header-height) 0 auto;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px 18px 22px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 44px rgba(18, 24, 23, 0.12);
}

.primary-nav.is-open {
  display: grid;
}

.primary-nav a,
.nav-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
}

.primary-nav a::after,
.nav-action::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.nav-action:hover::after,
.nav-action:focus-visible::after {
  transform: scaleX(1);
}

.nav-action svg {
  width: 18px;
  height: 18px;
}

i[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

i[data-lucide] > svg {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.nav-toggle svg {
  width: 21px;
  height: 21px;
}

.nav-toggle i[data-lucide] {
  position: relative;
  width: 21px;
  height: 21px;
}

.nav-toggle i[data-lucide="menu"]::before {
  position: absolute;
  left: 3px;
  right: 3px;
  top: 4px;
  height: 2px;
  content: "";
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.nav-toggle i[data-lucide="x"]::before,
.nav-toggle i[data-lucide="x"]::after {
  position: absolute;
  left: 3px;
  right: 3px;
  top: 10px;
  height: 2px;
  content: "";
  background: currentColor;
}

.nav-toggle i[data-lucide="x"]::before {
  transform: rotate(45deg);
}

.nav-toggle i[data-lucide="x"]::after {
  transform: rotate(-45deg);
}

.nav-toggle i[data-fallback-icon]::before,
.nav-toggle i[data-fallback-icon]::after {
  content: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  overflow: hidden;
  color: var(--white);
  background: var(--midnight);
}

.hero-picture,
.hero-picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(1.02) contrast(1.08) brightness(1.12);
  transform: scale(1.035);
  animation: heroImageReveal 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 18, 24, 0.94) 0%, rgba(13, 36, 43, 0.58) 50%, rgba(13, 36, 43, 0.06) 100%),
    linear-gradient(0deg, rgba(16, 21, 27, 0.68) 0%, rgba(16, 21, 27, 0.03) 46%),
    linear-gradient(135deg, rgba(201, 154, 74, 0.16), rgba(53, 106, 141, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  padding: calc(var(--header-height) + 48px) 0 18px;
}

.hero-copy-block {
  max-width: 780px;
  animation: heroCopyReveal 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero h1,
.section h2,
.section h3,
.footer-nav h2,
.auth-copy h1,
.admin-hero h1,
.submissions-toolbar h2 {
  margin: 0;
  color: inherit;
  font-family: var(--font-display);
  line-height: 1.01;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: 3.05rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 690px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 0 0 rgba(16, 21, 27, 0);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 21, 27, 0.16);
}

.button svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #e2b864, var(--gold));
  border-color: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #e9c779, #d4a454);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.button-outline {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--teal);
}

.button-danger {
  color: var(--white);
  background: var(--rose);
  border-color: var(--rose);
}

.button-danger:hover,
.button-danger:focus-visible {
  background: #9d5d61;
}

.hero-intelligence {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  animation: heroPanelReveal 780ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.hero-intelligence div {
  min-height: 108px;
  padding: 22px;
  background: rgba(16, 42, 47, 0.66);
}

.hero-intelligence span,
.hero-trust p,
.logo-band p,
.case-card span,
.testimonial-card figcaption {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-intelligence strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}

.hero-trust {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
  animation: heroPanelReveal 820ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both;
  backdrop-filter: blur(16px);
}

.hero-trust div {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-trust span {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2.05rem;
  line-height: 1;
}

.hero-trust p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.logo-band {
  padding: 20px 0;
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.logo-band-layout {
  display: grid;
  gap: 18px;
  align-items: center;
}

.logo-band p {
  margin: 0;
  color: var(--muted);
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.client-logo-grid span {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.96);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 900;
  opacity: 0.82;
}

.trust-badge-grid {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.trust-badge-grid span,
.portal-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--charcoal);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-badge-grid svg,
.portal-secure-badge svg {
  width: 17px;
  height: 17px;
  color: var(--gold-dark);
}

.conversion-strip {
  padding: 24px 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--teal-dark), var(--midnight));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.conversion-strip-layout {
  display: grid;
  gap: 18px;
  align-items: center;
}

.conversion-strip h2,
.knowledge-cta h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.08;
}

.conversion-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.conversion-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: 78px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading h2,
.section-kicker h2,
.contact-copy h2,
.news-feed-copy h2 {
  color: var(--charcoal);
  font-size: 2.2rem;
  font-weight: 800;
}

.section-heading p:not(.eyebrow),
.perspective-copy p,
.contact-copy p:not(.eyebrow),
.insights-layout p {
  color: var(--muted);
  font-size: 1rem;
}

.split-heading {
  display: grid;
  gap: 16px;
  max-width: none;
}

.split-heading > p {
  margin: 0;
  max-width: 420px;
}

.perspective-section {
  background: linear-gradient(180deg, var(--white), #fbfcfc);
}

.perspective-grid {
  display: grid;
  gap: 28px;
}

.perspective-copy {
  display: grid;
  gap: 16px;
}

.perspective-copy p {
  margin: 0;
}

.architecture-section {
  padding: 18px 0 78px;
  background: #fbfcfc;
}

.architecture-layout {
  display: grid;
  gap: 24px;
}

.architecture-layout h2 {
  max-width: 760px;
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.04;
}

.architecture-rail {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.architecture-rail article {
  position: relative;
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 247, 245, 0.96)),
    var(--white);
}

.architecture-rail article::after {
  position: absolute;
  inset: auto 22px 18px 22px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent);
}

.architecture-rail svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(11, 111, 104, 0.18);
  border-radius: var(--radius);
}

.architecture-rail span {
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 850;
}

.architecture-rail p {
  margin: 0;
  color: var(--muted);
}

.platform-section {
  background: var(--white);
}

.platform-grid,
.knowledge-grid,
.intelligence-grid,
.executive-intelligence-grid,
.portal-grid {
  display: grid;
  gap: 16px;
}

.platform-card,
.knowledge-card,
.intelligence-grid article,
.portal-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.platform-card::before,
.knowledge-card::before,
.intelligence-grid article::before,
.portal-panel::before {
  display: block;
  width: 52px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--gold), rgba(201, 154, 74, 0));
}

.platform-card svg,
.knowledge-card svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(11, 111, 104, 0.18);
  border-radius: var(--radius);
}

.platform-card span,
.knowledge-card span,
.intelligence-grid span {
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.platform-card h3,
.knowledge-card h3,
.intelligence-grid h3 {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.12;
}

.platform-card p,
.knowledge-card p,
.intelligence-grid p,
.portal-panel p {
  margin: 0;
  color: var(--muted);
}

.platform-card a {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(11, 111, 104, 0.28);
  text-underline-offset: 4px;
}

.stats-section {
  padding: 0;
  color: var(--white);
  background: var(--midnight);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.stat {
  min-height: 142px;
  display: grid;
  align-content: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--midnight);
}

.stat strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 700;
}

.stat span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sectors-section {
  background: var(--white);
}

.sector-grid,
.testimonial-grid,
.insight-link-grid {
  display: grid;
  gap: 14px;
}

.sector-card,
.testimonial-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sector-card:hover,
.sector-card:focus-within,
.case-card:hover,
.testimonial-card:hover,
.download-card:hover,
.dashboard-panel:hover,
.platform-card:hover,
.knowledge-card:hover,
.intelligence-grid article:hover,
.portal-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 154, 74, 0.42);
  box-shadow: 0 28px 62px rgba(16, 21, 27, 0.14);
}

.sector-card {
  position: relative;
  min-height: 238px;
  display: grid;
  align-content: start;
  padding: 24px;
}

.sector-card::before,
.case-card::before,
.testimonial-card::before,
.download-card::before,
.dashboard-panel::before {
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 18px;
  content: "";
  background: linear-gradient(90deg, var(--gold), rgba(201, 154, 74, 0));
}

.sector-card svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(11, 111, 104, 0.18);
  border-radius: var(--radius);
  stroke-width: 1.8;
}

.sector-card h3,
.case-card h3 {
  margin: 22px 0 10px;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.sector-card p,
.case-card p,
.testimonial-card blockquote,
.footer-top p {
  margin: 0;
  color: var(--muted);
}

.solutions-section {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(16, 42, 47, 0.96), rgba(16, 21, 27, 0.96)),
    var(--midnight);
}

.solutions-section .section-heading h2,
.solutions-section .section-heading p:not(.eyebrow) {
  color: var(--white);
}

.solution-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.service-tab {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-tab.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.solution-panel {
  position: relative;
  display: grid;
  gap: 28px;
  margin-top: 18px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.18);
}

.solution-panel::after {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(201, 154, 74, 0.9), transparent);
}

.solution-panel h3 {
  color: var(--white);
  font-size: 1.95rem;
}

.solution-panel p:not(.eyebrow) {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.case-section {
  background: linear-gradient(180deg, var(--wash), var(--platinum));
}

.case-grid {
  display: grid;
  gap: 16px;
}

.case-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.case-card-featured {
  padding: 0;
  overflow: hidden;
}

.case-card-featured::before {
  display: none;
}

.case-card-featured img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.case-card-featured > div {
  padding: 24px;
}

.case-card span {
  color: var(--gold-dark);
}

.case-card strong {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card dl {
  display: grid;
  gap: 1px;
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.case-card dl div {
  padding: 16px;
  background: var(--white);
}

.case-card dt {
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.testimonials-section {
  background: var(--white);
}

.testimonial-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 24px;
}

.testimonial-card blockquote {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 650;
  line-height: 1.28;
}

.testimonial-card figcaption {
  color: var(--teal);
}

.faq-section {
  background: var(--wash);
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item h3 {
  color: var(--charcoal);
  font-size: 1.25rem;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.faq-item a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(13, 108, 99, 0.35);
  text-underline-offset: 4px;
}

.insights-section {
  color: var(--white);
  background: var(--charcoal);
}

.insights-layout {
  display: grid;
  gap: 28px;
}

.insights-layout h2 {
  color: var(--white);
  font-size: 2rem;
}

.insights-layout p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.insight-link-grid a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.insight-link-grid svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.knowledge-hero {
  padding: calc(var(--header-height) + 84px) 0 72px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(16, 21, 27, 0.98), rgba(16, 42, 47, 0.84)),
    url("assets/laki-executive-advisory-hero.webp") center/cover;
}

.knowledge-hero-layout,
.regulatory-layout,
.knowledge-cta {
  display: grid;
  gap: 24px;
  align-items: center;
}

.knowledge-hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.02;
}

.knowledge-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.knowledge-signal-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.knowledge-signal-panel div {
  padding: 18px;
  background: rgba(16, 42, 47, 0.58);
}

.knowledge-signal-panel span {
  display: block;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.knowledge-signal-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.knowledge-section {
  background: var(--white);
}

.regulatory-section {
  color: var(--white);
  background: linear-gradient(120deg, var(--teal-dark), var(--midnight));
}

.regulatory-layout h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1.04;
}

.regulatory-layout p {
  color: rgba(255, 255, 255, 0.74);
}

.regulatory-list {
  display: grid;
  gap: 12px;
}

.regulatory-list article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.regulatory-list span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.regulatory-list p {
  margin: 8px 0 0;
}

.intelligence-section {
  background: var(--wash);
}

.knowledge-cta-section {
  color: var(--white);
  background: var(--charcoal);
}

.contact-band {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(16, 42, 47, 0.97), rgba(16, 21, 27, 0.94)),
    var(--midnight);
}

.contact-layout {
  display: grid;
  gap: 32px;
}

.contact-copy h2 {
  color: var(--white);
  font-size: 2.25rem;
}

.contact-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a,
.contact-methods span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.contact-methods svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.contact-form,
.auth-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.contact-form label,
.auth-form label,
.submissions-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
}

.span-two {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.auth-form input,
.submissions-toolbar input {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d1d4;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.auth-form input:focus,
.submissions-toolbar input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 108, 99, 0.15);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  color: var(--white);
  background: var(--midnight);
}

.footer-top {
  display: grid;
  gap: 18px;
  padding: 38px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  width: 170px;
  display: inline-flex;
}

.footer-brand img {
  width: 170px;
  border-radius: var(--radius);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.28));
}

.footer-top p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
  display: grid;
  gap: 24px;
  padding: 28px 0;
}

.footer-nav nav {
  display: grid;
  gap: 10px;
}

.footer-nav h2 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-nav a,
.footer-layout a,
.footer-action {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.footer-nav a:hover,
.footer-layout a:hover,
.footer-action:hover {
  color: var(--gold);
}

.footer-meta,
.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-meta {
  padding: 18px 0 28px;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.footer-meta p,
.footer-layout p {
  margin: 0;
}

.footer-layout {
  padding: 28px 0;
}

.footer-layout .footer-meta {
  padding: 0;
  border-top: 0;
}

.footer-action {
  padding: 0;
  background: transparent;
  border: 0;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: min(460px, calc(100% - 32px));
  display: grid;
  gap: 16px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.auth-main,
.admin-main {
  min-height: 100vh;
  padding: calc(var(--header-height) + 64px) 0 72px;
  background:
    linear-gradient(120deg, rgba(245, 247, 246, 0.95), rgba(255, 255, 255, 0.97)),
    var(--wash);
}

.auth-layout,
.admin-hero {
  display: grid;
  gap: 28px;
  align-items: center;
}

.auth-copy h1,
.admin-hero h1 {
  color: var(--charcoal);
  font-size: 2.6rem;
}

.auth-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
}

.admin-stats,
.submissions-toolbar,
.submission-details {
  display: grid;
  gap: 14px;
}

.admin-stats {
  margin-top: 28px;
}

.admin-stats article {
  padding: 22px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: var(--radius);
}

.admin-stats span,
.submission-card-header span,
.submission-detail span,
.submission-summary span {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 2.1rem;
}

.submissions-panel {
  margin-top: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.submissions-toolbar {
  margin-bottom: 20px;
}

.submissions-toolbar h2 {
  color: var(--charcoal);
  font-size: 2rem;
}

.submission-list {
  display: grid;
  gap: 16px;
}

.submission-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.submission-card-header {
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.submission-card-header h3 {
  margin: 4px 0 0;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.submission-card-header time {
  color: var(--muted);
  font-weight: 800;
}

.submission-details {
  margin-top: 18px;
}

.submission-detail strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.submission-summary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.submission-summary p {
  margin: 8px 0 0;
  color: var(--muted);
  white-space: pre-wrap;
}

.empty-state {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-state[hidden] {
  display: none;
}

.assistant-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  pointer-events: none;
}

.assistant-launcher,
.assistant-panel,
.assistant-message-action,
.assistant-send,
.assistant-icon-button {
  pointer-events: auto;
}

.assistant-launcher {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--midnight));
  border: 1px solid rgba(216, 156, 58, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(16, 21, 27, 0.3);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.assistant-launcher svg,
.assistant-header svg,
.assistant-send svg,
.assistant-icon-button svg {
  width: 18px;
  height: 18px;
}

.assistant-panel {
  position: fixed;
  right: 16px;
  bottom: 82px;
  width: min(430px, calc(100vw - 32px));
  max-height: min(720px, calc(100svh - 112px));
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 42, 47, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(16, 21, 27, 0.24);
  pointer-events: auto;
}

.assistant-panel[hidden] {
  display: none;
}

.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--midnight));
}

.assistant-header span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.assistant-header h2 {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.08;
}

.assistant-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.assistant-language {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
}

.assistant-language select {
  min-width: 52px;
  color: var(--white);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.78rem;
  font-weight: 900;
}

.assistant-language option {
  color: var(--ink);
}

.assistant-icon-button,
.assistant-send {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
}

.assistant-log {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 14px;
  overflow: auto;
  background: #f7faf9;
}

.assistant-message {
  max-width: 88%;
  padding: 11px 12px;
  border-radius: var(--radius);
}

.assistant-message p {
  margin: 0;
  font-size: 0.92rem;
}

.assistant-message-bot {
  justify-self: start;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
}

.assistant-message-user {
  justify-self: end;
  color: var(--white);
  background: var(--teal-dark);
}

.assistant-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.assistant-message-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(13, 108, 99, 0.2);
  border-radius: var(--radius);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.assistant-quick-actions {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.assistant-quick-actions button {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 10px;
  color: var(--charcoal);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.assistant-lead-form {
  display: grid;
  gap: 12px;
  max-height: 42svh;
  padding: 14px;
  overflow: auto;
  background: #fbfcfc;
  border-top: 1px solid var(--line);
}

.assistant-lead-form[hidden] {
  display: none;
}

.assistant-lead-form label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 900;
}

.assistant-lead-form input,
.assistant-lead-form select,
.assistant-lead-form textarea,
.assistant-compose input {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd6d3;
  border-radius: var(--radius);
  outline: none;
}

.assistant-lead-form textarea {
  min-height: 96px;
  resize: vertical;
}

.assistant-lead-form input:focus,
.assistant-lead-form select:focus,
.assistant-lead-form textarea:focus,
.assistant-compose input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 108, 99, 0.15);
}

.assistant-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assistant-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  padding: 12px 14px 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.assistant-send {
  width: 42px;
  height: 44px;
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.funnel-hero {
  position: relative;
  padding: 132px 0 68px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 42, 47, 0.88), rgba(16, 21, 27, 0.76)),
    url("assets/laki-executive-advisory-hero.webp") center/cover;
}

.funnel-hero-layout,
.funnel-grid,
.proposal-layout,
.booking-layout,
.newsletter-layout,
.dashboard-grid {
  display: grid;
  gap: 24px;
}

.funnel-hero-copy h1,
.funnel-aside h2,
.proposal-copy h2,
.booking-layout h2,
.newsletter-layout h2,
.thank-you-panel h1,
.dashboard-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 1.04;
}

.funnel-hero-copy h1 {
  max-width: 760px;
  font-size: 2.8rem;
}

.funnel-hero-copy p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
}

.funnel-scoreboard {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.funnel-scoreboard div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: rgba(16, 42, 47, 0.58);
}

.funnel-scoreboard span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.funnel-scoreboard strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.08;
}

.funnel-section {
  background: linear-gradient(180deg, var(--white), var(--wash));
}

.proposal-section {
  background: var(--white);
}

.proposal-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.proposal-proof-grid {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.proposal-proof-grid span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(11, 111, 104, 0.16);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proposal-output {
  max-height: 440px;
  overflow: auto;
  white-space: pre-wrap;
  padding: 18px;
  color: var(--charcoal);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: "Segoe UI Mono", Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.55;
}

.funnel-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.funnel-aside h2,
.proposal-copy h2,
.booking-layout h2,
.newsletter-layout h2 {
  color: var(--charcoal);
  font-size: 2.2rem;
}

.funnel-aside p,
.proposal-copy p,
.booking-layout p,
.newsletter-layout p {
  color: var(--muted);
}

.funnel-progress {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.funnel-progress li {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px 0 42px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.funnel-progress li::before {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
}

.funnel-progress li.is-active {
  color: var(--teal-dark);
  border-color: rgba(13, 108, 99, 0.42);
}

.funnel-progress li.is-complete {
  color: var(--gold-dark);
}

.qualification-form,
.proposal-generator-form,
.newsletter-form {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.funnel-step {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.funnel-step[hidden] {
  display: none;
}

.funnel-step legend {
  width: 100%;
  margin: 0 0 4px;
  padding: 0 0 14px;
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
}

.qualification-form label,
.proposal-generator-form label,
.newsletter-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
}

.qualification-form input,
.qualification-form select,
.qualification-form textarea,
.proposal-generator-form input,
.proposal-generator-form select,
.proposal-generator-form textarea,
.newsletter-form input,
.newsletter-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d1d4;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.qualification-form textarea,
.proposal-generator-form textarea {
  min-height: 136px;
  resize: vertical;
}

.qualification-form input:focus,
.qualification-form select:focus,
.qualification-form textarea:focus,
.proposal-generator-form input:focus,
.proposal-generator-form select:focus,
.proposal-generator-form textarea:focus,
.newsletter-form input:focus,
.newsletter-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 108, 99, 0.15);
}

.funnel-consent {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
}

.funnel-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.funnel-form-actions,
.booking-actions,
.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.funnel-form-actions {
  padding-top: 4px;
}

.booking-section {
  background: var(--white);
}

.booking-actions {
  margin-top: 22px;
}

.calendly-shell {
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 247, 245, 0.96)),
    var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.calendly-embed {
  min-height: 560px;
}

.calendly-embed > p,
.calendly-embed.is-empty p {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  font-weight: 800;
}

.downloads-section {
  background: var(--platinum);
}

.download-grid {
  display: grid;
  gap: 16px;
}

.download-card {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.download-card-featured {
  background:
    linear-gradient(135deg, rgba(231, 240, 239, 0.74), rgba(255, 255, 255, 0.96)),
    var(--white);
  border-color: rgba(11, 111, 104, 0.2);
}

.download-card svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(11, 111, 104, 0.18);
  border-radius: var(--radius);
}

.download-card h3 {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.1;
}

.download-card p {
  margin: 0;
  color: var(--muted);
}

.newsletter-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 21, 27, 0.96), rgba(53, 106, 141, 0.88)),
    url("assets/laki-health-implementation-case.webp") center/cover;
}

.newsletter-layout h2,
.newsletter-layout p {
  color: inherit;
}

.newsletter-layout p {
  color: rgba(255, 255, 255, 0.78);
}

.newsletter-form {
  color: var(--ink);
}

.thank-you-main {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 112px 0 48px;
  background:
    linear-gradient(135deg, rgba(245, 247, 246, 0.94), rgba(233, 243, 241, 0.92)),
    url("assets/laki-executive-advisory-hero.webp") center/cover;
}

.thank-you-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.thank-you-panel h1 {
  max-width: 780px;
  color: var(--charcoal);
  font-size: 2.5rem;
}

.thank-you-panel p {
  max-width: 720px;
  color: var(--muted);
}

.dashboard-metrics {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.dashboard-metrics article,
.dashboard-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.dashboard-metrics article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.dashboard-metrics span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-metrics strong {
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.dashboard-panel {
  position: relative;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-panel h2 {
  color: var(--charcoal);
  font-size: 1.75rem;
}

.dashboard-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard-bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.dashboard-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dashboard-bar::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar-value);
  content: "";
  background: rgba(11, 111, 104, 0.16);
}

.dashboard-bar span,
.dashboard-bar strong {
  position: relative;
}

.dashboard-bar span {
  color: var(--charcoal);
  font-weight: 900;
}

.dashboard-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dashboard-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--white);
}

.dashboard-table th,
.dashboard-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.dashboard-table th {
  color: var(--charcoal);
  background: var(--wash);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-table td {
  color: var(--muted);
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-hero p:not(.eyebrow),
.portal-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.executive-intelligence-grid,
.portal-grid {
  margin-top: 18px;
}

.dashboard-insight-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-insight-list li {
  padding: 14px;
  color: var(--muted);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dashboard-insight-list strong {
  color: var(--teal-dark);
}

.project-update-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.project-update-list article {
  padding: 14px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-update-list span {
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-update-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.portal-main {
  background:
    linear-gradient(120deg, rgba(245, 247, 246, 0.96), rgba(255, 255, 255, 0.98)),
    var(--wash);
}

.portal-panel h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.portal-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.portal-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
}

.portal-form input,
.portal-form select,
.portal-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d1d4;
  border-radius: var(--radius);
  outline: none;
}

.portal-form textarea {
  min-height: 116px;
  resize: vertical;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 108, 99, 0.15);
}

.project-timeline,
.portal-list {
  display: grid;
  gap: 12px;
}

.project-timeline div,
.portal-record {
  padding: 14px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-timeline span,
.portal-record span {
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-timeline strong,
.portal-record h3 {
  display: block;
  margin: 4px 0 0;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.project-timeline p,
.portal-record p {
  margin: 8px 0 0;
  color: var(--muted);
}

.portal-record > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroImageReveal {
  from {
    opacity: 0.72;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes heroCopyReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPanelReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (min-width: 560px) {
  .brand small {
    display: block;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .hero-trust,
  .stats-grid,
  .client-logo-grid,
  .trust-badge-grid,
  .sector-grid,
  .testimonial-grid,
  .admin-stats,
  .submission-details,
  .dashboard-metrics,
  .architecture-rail,
  .platform-grid,
  .knowledge-grid,
  .intelligence-grid,
  .executive-intelligence-grid,
  .portal-grid,
  .project-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form,
  .funnel-step,
  .proposal-generator-form,
  .newsletter-form,
  .portal-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .funnel-step legend,
  .proposal-generator-form .form-status,
  .newsletter-form .form-status {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  :root {
    --header-height: 78px;
  }

  .section-shell {
    width: min(1180px, calc(100% - 48px));
  }

  .section {
    padding: 92px 0;
  }

  .hero-content {
    min-height: calc(100svh - 160px);
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    align-items: center;
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: 4.15rem;
  }

  .hero-copy {
    font-size: 1.14rem;
  }

  .hero-trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 34px;
  }

  .logo-band-layout {
    grid-template-columns: 220px 1fr;
  }

  .client-logo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .perspective-grid,
  .contact-layout,
  .insights-layout,
  .auth-layout,
  .architecture-layout,
  .funnel-hero-layout,
  .funnel-grid,
  .proposal-layout,
  .booking-layout,
  .newsletter-layout,
  .knowledge-hero-layout,
  .regulatory-layout,
  .knowledge-cta {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .split-heading {
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
    align-items: end;
  }

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

  .solution-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    padding: 34px;
  }

  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }

  .case-grid {
    grid-template-columns: minmax(0, 1.36fr) minmax(280px, 0.64fr);
  }

  .case-card-featured {
    grid-row: span 2;
  }

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

  .architecture-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .conversion-strip-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(280px, 1fr) auto;
  }

  .trust-badge-grid,
  .platform-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .download-grid,
  .dashboard-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .knowledge-grid,
  .intelligence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 220px minmax(0, 620px);
    align-items: center;
  }

  .footer-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-hero {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .submissions-toolbar {
    grid-template-columns: minmax(160px, 1fr) minmax(260px, 420px) auto;
    align-items: end;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .assistant-panel {
    width: 460px;
  }

  .assistant-lead-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav a,
  .nav-action {
    min-height: auto;
    border-bottom: 0;
    font-size: 0.82rem;
  }

  .primary-nav a::after,
  .nav-action::after {
    bottom: -9px;
  }

  .hero h1 {
    font-size: 4.55rem;
  }

  .funnel-hero-copy h1 {
    font-size: 4.15rem;
  }

  .section-heading h2,
  .section-kicker h2,
  .contact-copy h2,
  .architecture-layout h2 {
    font-size: 3.25rem;
  }

  .insights-layout h2 {
    font-size: 2.8rem;
  }

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

  .dashboard-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .footer-layout {
    align-items: center;
  }
}

@media (min-width: 1160px) {
  .hero h1 {
    font-size: 4.85rem;
  }
}

@media (max-width: 559px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .section-heading h2,
  .section-kicker h2,
  .contact-copy h2,
  .architecture-layout h2 {
    font-size: 2rem;
  }

  .hero-actions .button,
  .form-actions .button {
    width: 100%;
  }

  .cookie-banner {
    gap: 12px;
    padding: 14px;
  }

  .cookie-banner p {
    font-size: 0.86rem;
  }

  .cookie-actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
  }

  .funnel-hero {
    padding-top: 118px;
  }

  .funnel-hero-copy h1,
  .thank-you-panel h1 {
    font-size: 2.28rem;
  }

  .funnel-form-actions .button,
  .booking-actions .button,
  .thank-you-actions .button,
  .newsletter-form .button {
    width: 100%;
  }

  .assistant-widget {
    right: 12px;
    bottom: 12px;
  }

  .assistant-launcher {
    min-height: 48px;
    padding: 0 14px;
  }

  .assistant-panel {
    inset: calc(var(--header-height) + 8px) 10px 72px;
    width: auto;
    max-height: none;
  }

  .assistant-message {
    max-width: 94%;
  }

  .assistant-form-actions .button {
    width: 100%;
  }
}
