:root {
  --navy: #102A43;
  --navy-2: #132F4C;
  --teal: #009B8C;
  --teal-hover: #008477;
  --teal-light: #DDF4F0;
  --white: #FFFFFF;
  --page: #F7FAFC;
  --page-2: #F3F7FA;
  --text: #102A43;
  --text-2: #5D6C7B;
  --muted: #7B8794;
  --border: #DCE5EB;
  --border-light: #E8EEF2;
  --success: #2A9D8F;
  --shadow: 0 24px 70px rgba(16, 42, 67, 0.11);
  --soft-shadow: 0 10px 28px rgba(16, 42, 67, 0.07);
  --radius: 14px;
  --container: 1240px;
  --mid-header-offset: 84px;
  --mid-section-y: clamp(44px, 5.5vw, 76px);
  --mid-card-padding: clamp(16px, 2vw, 24px);
  --mid-compact-gap: clamp(14px, 2vw, 24px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(221, 244, 240, 0.7), transparent 32%),
    linear-gradient(180deg, #f8fbfd, var(--page-2));
  color: var(--text);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

button {
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--border-light);
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f8fbfd;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 650;
}

.site-shell {
  width: min(calc(100% - 48px), 1440px);
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: clip;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 16px clamp(26px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 235, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  width: 145px;
  min-width: 118px;
}

.brand-logo {
  width: min(128px, 100%);
  height: auto;
  object-fit: contain;
}

.brand-tagline {
  color: var(--text-2);
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.brand-mark,
.brand small {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.65vw, 26px);
  flex: 1 1 auto;
}

.main-nav a {
  position: relative;
  color: var(--navy);
  font-size: clamp(0.82rem, 0.88vw, 0.95rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.main-nav a[aria-current="page"] {
  color: var(--teal);
}

.main-nav a:hover::after,
.main-nav a.is-active::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-resource-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-resource-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.nav-resource-toggle:hover,
.nav-resource-toggle:focus-visible {
  border-color: var(--teal);
  color: var(--teal-hover);
  outline: 3px solid rgba(0, 155, 140, 0.12);
}

.nav-resource-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  z-index: 60;
  display: none;
  width: 300px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.nav-resource-group:hover .nav-resource-menu,
.nav-resource-group:focus-within .nav-resource-menu,
.nav-resource-group.is-branch-open .nav-resource-menu {
  display: grid;
  gap: 4px;
}

.nav-resource-menu a {
  display: grid;
  gap: 3px;
  min-height: 54px;
  border-radius: 10px;
  padding: 10px;
  color: var(--navy);
}

.nav-resource-menu a::after {
  display: none;
}

.nav-resource-menu a:hover,
.nav-resource-menu a:focus-visible {
  background: var(--teal-light);
  color: var(--teal-hover);
  outline: 0;
}

.nav-resource-menu a span {
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 20px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 12px 24px rgba(0, 155, 140, 0.22);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.main-nav .nav-cta {
  padding-inline: clamp(14px, 1.5vw, 20px);
}

.nav-secondary {
  color: var(--teal-hover) !important;
}

.start-context {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.start-context h3 {
  margin-bottom: 0;
}

.start-context-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.start-context-grid span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.start-context-grid strong {
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: capitalize;
}

.nav-cta:hover,
.btn:hover {
  background: var(--teal-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 155, 140, 0.25);
}

.btn.secondary {
  border-color: var(--teal);
  background: var(--white);
  color: var(--teal);
  box-shadow: none;
}

.btn.secondary:hover {
  background: var(--teal-light);
  color: var(--teal-hover);
}

.btn.green {
  background: var(--teal);
}

.btn.small {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: var(--navy);
}

.hero {
  padding: clamp(34px, 5vw, 64px) clamp(24px, 5vw, 72px) 0;
  background:
    radial-gradient(circle at 58% 35%, rgba(221, 244, 240, 0.52), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.hero-grid {
  display: grid;
  grid-template-areas: "copy media";
  grid-template-columns: minmax(320px, 0.86fr) minmax(380px, 1.14fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: min(100%, var(--container));
  min-height: clamp(480px, 48vw, 575px);
  margin: 0 auto;
}

.hero-copy {
  grid-area: copy;
  display: grid;
  gap: 12px;
  align-content: center;
  max-width: 590px;
  padding-bottom: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--teal);
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--navy);
  font-family: "DM Serif Display", "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.75rem, 4.8vw, 4rem);
  line-height: 1.06;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.55rem;
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.28;
}

.lead {
  max-width: 690px;
  color: var(--text-2);
  font-size: 1.08rem;
  line-height: 1.75;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.hero-subtitle,
.hero-consult-line,
.hero-cost-line {
  margin: 0;
}

.hero-subtitle {
  max-width: 560px;
  color: var(--teal-hover);
  font-size: clamp(1.45rem, 2.25vw, 1.95rem);
  font-weight: 650;
  line-height: 1.28;
}

.hero-consult-line {
  color: var(--teal);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-weight: 700;
  line-height: 1.4;
}

.hero-consult-line a {
  color: var(--teal-hover);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-consult-line a:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgba(0, 155, 140, 0.22);
  outline-offset: 3px;
}

.hero-cost-line {
  color: var(--text-2);
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  font-weight: 650;
  line-height: 1.35;
}

.hero-media {
  position: relative;
  grid-area: media;
  display: grid;
  margin: 0;
  align-self: stretch;
  min-height: clamp(340px, 32vw, 475px);
  overflow: hidden;
  border-radius: 18px;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media picture {
  display: block;
}

.hero-media img {
  object-fit: contain;
  object-position: center right;
}

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

.hero-keyword,
.hero-keyword-static {
  position: absolute;
  top: 38%;
  left: 4%;
  max-width: min(360px, 54%);
  border: 1px solid rgba(0, 155, 140, 0.28);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.08);
  color: var(--navy);
  font-size: clamp(1rem, 1.55vw, 1.38rem);
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.hero-keyword {
  --keyword-travel: clamp(92px, 18vw, 240px);
  opacity: 0;
  transform: translate3d(-18px, -50%, 0);
  animation: heroKeywordTravel 12s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: transform, opacity;
}

.hero-keyword--two {
  animation-delay: 4s;
}

.hero-keyword--three {
  animation-delay: 8s;
}

.hero-keyword-static {
  display: none;
  transform: translate3d(0, -50%, 0);
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  white-space: normal;
}

@keyframes heroKeywordTravel {
  0% {
    opacity: 0;
    transform: translate3d(-18px, -50%, 0);
  }

  9% {
    opacity: 1;
    transform: translate3d(var(--keyword-travel), -50%, 0);
  }

  31% {
    opacity: 1;
    transform: translate3d(var(--keyword-travel), -50%, 0);
  }

  37% {
    opacity: 0;
    transform: translate3d(calc(var(--keyword-travel) + 18px), -50%, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(var(--keyword-travel) + 18px), -50%, 0);
  }
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px) 18px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(16, 42, 67, 0.04);
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 600;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 700;
}

.section,
.page-hero {
  padding: clamp(56px, 7vw, 96px) clamp(22px, 5vw, 72px);
}

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

.section.aqua {
  background: linear-gradient(180deg, #f8fbfd, #ffffff);
}

.section-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.page-hero {
  background:
    radial-gradient(circle at 82% 30%, rgba(221, 244, 240, 0.7), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fbfd);
}

.page-hero .section-inner {
  display: grid;
  gap: 12px;
}

.page-hero h1 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 1.12;
}

body[data-page="start"] .start-hero {
  padding-top: clamp(28px, 3.2vw, 42px);
  padding-bottom: clamp(12px, 1.6vw, 20px);
  background: linear-gradient(180deg, #ffffff, #fbfdfd);
}

body[data-page="start"] .start-hero .section-inner {
  gap: 0;
}

body[data-page="start"] .start-hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 3rem);
  line-height: 1.08;
}

body[data-page="start"] .start-services-section {
  padding-top: clamp(16px, 2vw, 26px);
}

.flow-heading {
  display: grid;
  gap: 6px;
}

.flow-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.16;
}

body[data-page="start"] #need-step {
  gap: 18px;
}

body[data-page="start"] #need-step .card.clickable {
  min-height: 132px;
  padding: clamp(16px, 2vw, 22px);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.desk-rail {
  display: grid;
  gap: 12px;
}

.desk-rail a,
.resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 18px;
  background: var(--white);
  color: var(--navy);
  font-weight: 650;
}

.desk-rail a span {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
}

.desk-rail a:hover,
.resource-link:hover {
  border-color: var(--teal);
  box-shadow: var(--soft-shadow);
}

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: 0 8px 22px rgba(16, 42, 67, 0.04);
}

.card.highlight {
  border-color: rgba(0, 155, 140, 0.32);
  background: linear-gradient(180deg, #ffffff, #f7fdfc);
}

.card.accent {
  border-color: rgba(0, 155, 140, 0.28);
  background: #fbfdfd;
}

.card p,
.card li {
  color: var(--text-2);
}

.card.clickable {
  width: 100%;
  min-height: 158px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card.clickable:hover,
.card.clickable.is-selected {
  border-color: var(--teal);
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}

.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--teal-light);
  color: var(--teal-hover);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-pill.green,
.status-pill.orange {
  background: var(--teal-light);
  color: var(--teal-hover);
}

.flow-panel {
  display: grid;
  gap: 26px;
}

.flow-step {
  display: none;
}

.flow-step.is-visible {
  display: grid;
  gap: 24px;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.choice-btn {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
}

.choice-btn:hover,
.choice-btn.is-selected {
  border-color: var(--teal);
  background: var(--teal-light);
  color: var(--teal-hover);
}

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

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

.field.full {
  grid-column: 1 / -1;
}

.field span,
.field label {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  background: var(--white);
  color: var(--text);
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(0, 155, 140, 0.14);
  border-color: var(--teal);
}

.checklist-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.checklist-category-nav {
  align-items: stretch;
}

.checklist-category-shortcut {
  display: grid;
  justify-items: start;
  gap: 3px;
  min-height: 54px;
  text-align: left;
}

.checklist-category-shortcut span {
  font-weight: 700;
}

.checklist-category-shortcut small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.checklist-category-shortcut.has-selection {
  border-color: var(--teal);
  background: var(--teal-light);
}

.checklist-category-shortcut.has-selection small {
  color: var(--teal-hover);
}

.checklist-selection-summary {
  margin: 12px 0 16px;
  border: 1px solid rgba(219, 157, 43, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 248, 231, 0.76);
  color: #825500;
  font-size: 0.9rem;
  font-weight: 700;
}

.checklist-selection-summary.is-ready {
  border-color: rgba(0, 155, 140, 0.28);
  background: var(--teal-light);
  color: var(--teal-hover);
}

.checklist-category-group {
  scroll-margin-top: 110px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px;
  background: #fbfdff;
}

.checklist-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.checklist-category-heading h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.checklist-category-heading > span {
  border-radius: 999px;
  padding: 5px 9px;
  background: #edf3f6;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.checklist-category-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  background: #fbfdff;
}

.review-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.review-list li {
  padding-left: 2px;
}

.review-list li span,
.review-list li small {
  display: block;
}

.review-list li small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.btn:disabled,
.choice-btn:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.notice {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: var(--white);
  color: var(--text-2);
}

.notice.legal {
  background: #fbfdff;
  color: var(--text-2);
}

.result-panel {
  display: none;
  border: 1px solid rgba(0, 155, 140, 0.28);
  border-radius: 14px;
  padding: 18px;
  background: #f3fbfa;
}

.result-panel.is-visible {
  display: grid;
  gap: 12px;
}

.ref-code {
  display: inline-flex;
  width: fit-content;
  border-radius: 10px;
  padding: 8px 11px;
  background: var(--navy);
  color: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  border-left: 3px solid var(--teal);
  padding: 9px 0 9px 14px;
  color: var(--text-2);
}

.empty-state {
  display: grid;
  gap: 12px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 24px;
  background: var(--white);
}

.resource-tools {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(220px, 1fr);
  gap: 12px;
}

.resource-workspace {
  display: grid;
  gap: 22px;
}

.resource-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.resource-tab {
  flex: 0 0 auto;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: transparent;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
  scroll-snap-align: start;
}

.resource-tab:hover,
.resource-tab.is-active {
  background: var(--teal-light);
  color: var(--teal-hover);
}

.resource-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.resource-results {
  align-items: start;
}

.resource-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 220px;
}

.resource-card.is-selected {
  border-color: var(--teal);
  box-shadow: var(--soft-shadow);
}

.resource-card-top,
.resource-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.resource-meta,
.resource-type {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.resource-detail {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(16, 42, 67, 0.04);
}

.resource-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.resource-empty {
  grid-column: 1 / -1;
}

.resource-loading {
  min-height: 160px;
}

.qr-image {
  width: min(190px, 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  background: var(--white);
}

.profile-card {
  display: grid;
  gap: 12px;
}

.consultant-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  object-fit: cover;
  background: var(--page-2);
}

.settings-list {
  display: grid;
  gap: 10px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--border-light);
  padding: 11px 0;
}

.settings-row:last-child {
  border-bottom: 0;
}

.footer {
  padding: 42px clamp(22px, 5vw, 72px);
  background: #f8fbfd;
  border-top: 1px solid var(--border-light);
  color: var(--text-2);
}

.footer .section-inner {
  display: grid;
  gap: 18px;
}

.footer strong,
.footer a {
  color: var(--navy);
  font-weight: 650;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

/* Focused whole-site compactness layer: keep the approved home/resources rhythm intact. */
.compact-page-intro,
body[data-page="payment"] .page-hero,
body[data-page="portal"] .page-hero,
body[data-page="professional"] .page-hero,
body[data-page="institution"] .page-hero,
body[data-page="government"] .page-hero,
body[data-page="admin"] .page-hero,
body[data-page="admin-payment-settings"] .page-hero,
body[data-page="consultation"] .page-hero,
body[data-page="consultant"] .page-hero {
  padding-top: clamp(28px, 3.4vw, 42px);
  padding-bottom: clamp(18px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 86% 24%, rgba(221, 244, 240, 0.58), transparent 28%),
    linear-gradient(180deg, #ffffff, #fbfdfd);
}

.compact-page-intro .section-inner,
body[data-page="payment"] .page-hero .section-inner,
body[data-page="portal"] .page-hero .section-inner,
body[data-page="professional"] .page-hero .section-inner,
body[data-page="institution"] .page-hero .section-inner,
body[data-page="government"] .page-hero .section-inner,
body[data-page="admin"] .page-hero .section-inner,
body[data-page="admin-payment-settings"] .page-hero .section-inner,
body[data-page="consultation"] .page-hero .section-inner,
body[data-page="consultant"] .page-hero .section-inner {
  gap: 8px;
}

.compact-page-intro h1,
body[data-page="payment"] .page-hero h1,
body[data-page="portal"] .page-hero h1,
body[data-page="professional"] .page-hero h1,
body[data-page="institution"] .page-hero h1,
body[data-page="government"] .page-hero h1,
body[data-page="admin"] .page-hero h1,
body[data-page="admin-payment-settings"] .page-hero h1,
body[data-page="consultation"] .page-hero h1,
body[data-page="consultant"] .page-hero h1 {
  max-width: 850px;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.1;
}

.compact-page-intro .lead,
body[data-page="payment"] .page-hero .lead,
body[data-page="portal"] .page-hero .lead,
body[data-page="professional"] .page-hero .lead,
body[data-page="institution"] .page-hero .lead,
body[data-page="government"] .page-hero .lead,
body[data-page="admin"] .page-hero .lead,
body[data-page="admin-payment-settings"] .page-hero .lead,
body[data-page="consultation"] .page-hero .lead,
body[data-page="consultant"] .page-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(0.98rem, 1.3vw, 1.05rem);
  line-height: 1.62;
}

.compact-page-intro + .section,
.page-hero + .section {
  padding-top: clamp(22px, 3vw, 34px);
}

.section--priority-content,
.section--compact-follow {
  padding-top: clamp(20px, 2.8vw, 34px);
}

.section--compact-follow .grid,
.section--priority-content .grid {
  gap: clamp(14px, 1.6vw, 20px);
}

.section--compact-follow .card,
.section--priority-content .card,
.about-card {
  padding: clamp(17px, 2vw, 23px);
}

.section--compact-follow .card h3,
.section--priority-content .card h3,
.about-card h3 {
  margin-bottom: 6px;
}

.section--compact-follow .card p:last-child,
.section--priority-content .card p:last-child,
.about-card p:last-child {
  margin-bottom: 0;
}

.about-card-grid {
  align-items: stretch;
}

.about-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 0;
}

.about-card p {
  margin-bottom: 0;
}

body[data-page="about"] .about-compact-intro {
  padding-top: clamp(28px, 3.2vw, 40px);
  padding-bottom: clamp(24px, 2.6vw, 34px);
}

body[data-page="about"] .about-compact-intro .section-inner {
  gap: clamp(8px, 1vw, 12px);
}

body[data-page="about"] .about-label {
  max-width: none;
  color: var(--teal);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
}

body[data-page="about"] .about-positioning {
  max-width: 1050px;
  margin: 0;
  color: var(--text-2);
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.62;
}

body[data-page="about"] .about-card-section {
  padding-top: clamp(20px, 2.4vw, 30px);
  padding-bottom: clamp(24px, 3vw, 36px);
}

body[data-page="about"] .about-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 18px);
}

body[data-page="about"] .about-card {
  padding: clamp(20px, 1.8vw, 24px);
}

body[data-page="about"] .about-card h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.96rem, 1.2vw, 1.06rem);
  font-weight: 750;
  line-height: 1.28;
}

body[data-page="about"] .about-card p {
  font-size: clamp(0.86rem, 1.05vw, 0.94rem);
  line-height: 1.62;
}

body[data-page="about"] [data-connect-team] {
  width: min(100%, var(--container));
  margin: 0 auto clamp(24px, 3vw, 36px);
}

body[data-page="about"] .team-contact-banner {
  width: 100%;
  margin: 0;
}

body[data-page="about"] .team-connect__launcher {
  display: none;
}

body[data-page="about"].has-team-connect .footer {
  padding-bottom: 0;
}

@media (max-width: 560px) {
  body[data-page="about"] .about-compact-intro {
    padding-top: clamp(20px, 5vw, 28px);
    padding-bottom: clamp(20px, 5vw, 28px);
  }

  body[data-page="about"] .about-positioning {
    font-size: clamp(0.94rem, 4vw, 1rem);
    line-height: 1.62;
  }

  body[data-page="about"] .about-card-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] .about-card {
    padding: clamp(17px, 5vw, 20px);
  }
}

body[data-page="start"] .compact-page-intro {
  padding-bottom: clamp(10px, 1.4vw, 16px);
}

body[data-page="start"] .section--priority-content {
  padding-top: clamp(12px, 1.6vw, 20px);
}

body[data-page="start"] #need-step {
  gap: clamp(14px, 1.8vw, 20px);
}

body[data-page="start"] #need-step .grid.three {
  gap: clamp(14px, 1.4vw, 18px);
}

body[data-page="start"] #need-step .card.clickable {
  min-height: 124px;
}

.selected-service-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(12px, 1.5vw, 16px);
  background: linear-gradient(180deg, #ffffff, #f8fdfc);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.05);
}

.selected-service-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.selected-service-copy strong {
  color: var(--navy);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.service-tab-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

[data-start-panel] {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

.service-charges-panel {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

.service-charges-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.service-charges-head h2,
.service-charge-group h3 {
  margin: 0;
}

.service-charges-head .lead {
  max-width: 760px;
  margin: 4px 0 0;
  font-size: 0.98rem;
}

.service-desk-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.service-desk-filter {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 9px 10px;
  text-align: left;
}

.service-desk-filter span {
  color: var(--teal-hover);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.service-desk-filter strong {
  color: var(--navy);
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  line-height: 1.2;
}

.service-charge-groups {
  display: grid;
  gap: 16px;
}

.service-charge-group {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(14px, 1.6vw, 18px);
  background: #ffffff;
}

.service-charge-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.service-charge-group-head p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.9rem;
}

.service-charge-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-charge-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: clamp(14px, 1.5vw, 17px);
  background: #fbfdfd;
}

.service-charge-card.is-featured {
  border-color: rgba(0, 155, 140, 0.38);
  background: #f2fffb;
}

.service-charge-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.service-charge-price {
  color: var(--navy);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  white-space: nowrap;
}

.service-charge-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.28;
}

.service-charge-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.48;
}

.service-charge-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.service-charge-facts div {
  min-width: 0;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 9px 10px;
  background: var(--white);
}

.service-charge-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.service-charge-facts dd {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.3;
}

.service-charge-details {
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--white);
}

.service-charge-details summary {
  min-height: 42px;
  padding: 10px 12px;
  color: var(--teal-hover);
  font-weight: 750;
  cursor: pointer;
}

.service-charge-details p {
  margin: 0;
  border-top: 1px solid var(--border-light);
  padding: 0 12px 12px;
  color: var(--text-2);
  font-size: 0.9rem;
}

.service-charge-table {
  display: grid;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.service-charge-table-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(120px, 0.55fr) minmax(150px, 0.75fr) minmax(120px, auto);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #ffffff;
}

.service-charge-table-row + .service-charge-table-row {
  border-top: 1px solid var(--border-light);
}

.service-charge-table-head {
  background: #f7fbfd;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.service-charge-table-row strong {
  color: var(--navy);
  font-size: 1rem;
}

.service-charge-scope-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-charge-disclaimer {
  margin: 0;
  font-size: 0.92rem;
}

.service-charge-disclaimer a {
  color: var(--teal-hover);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-charge-filters {
  align-items: end;
}

.admin-charge-table-wrap {
  padding: clamp(12px, 1.5vw, 18px);
}

/* Track Status: compact desktop workflow with inline help. */
body[data-page="track"] .track-compact-intro {
  padding-top: clamp(14px, 2vh, 24px);
  padding-bottom: clamp(10px, 1.8vh, 16px);
}

body[data-page="track"] .track-compact-intro .section-inner {
  gap: 5px;
}

body[data-page="track"] .track-page-title {
  max-width: none;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.125rem, 1.45vw, 1.375rem);
  font-weight: 750;
  line-height: 1.25;
}

body[data-page="track"] .track-page-intro {
  max-width: 780px;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.45;
}

body[data-page="track"] .track-status-section {
  padding-top: clamp(12px, 2vh, 18px);
  padding-bottom: clamp(14px, 2vh, 20px);
}

body[data-page="track"] .track-content-stack {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

body[data-page="track"] .track-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(18px, 2vw, 22px);
  align-items: stretch;
}

body[data-page="track"] .track-status-card,
body[data-page="track"] .track-reference-card {
  padding: clamp(18px, 1.7vw, 22px);
}

body[data-page="track"] .track-status-card {
  gap: 12px;
}

body[data-page="track"] .track-status-card .field {
  gap: 6px;
}

body[data-page="track"] .track-status-card .field input {
  min-height: 46px;
}

body[data-page="track"] .track-status-card .btn {
  min-height: 44px;
}

body[data-page="track"] .track-login-note {
  margin: 0;
  line-height: 1.45;
}

body[data-page="track"] .track-login-note a {
  color: var(--teal-hover);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[data-page="track"] .track-reference-card {
  display: grid;
  align-content: center;
  gap: 8px;
}

body[data-page="track"] .track-reference-card h3,
body[data-page="track"] .track-reference-card p {
  margin: 0;
}

body[data-page="track"] .track-privacy-note {
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  font-size: 0.92rem;
}

body[data-page="track"] .track-result-panel {
  margin: 0;
}

body[data-page="track"] [data-connect-team] {
  width: min(100%, var(--container));
  margin: 0 auto;
}

body[data-page="track"] .team-contact-banner {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: clamp(16px, 1.8vw, 22px);
}

body[data-page="track"] .team-contact-banner h2 {
  margin-bottom: 2px;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.18;
}

body[data-page="track"] .team-contact-banner__copy {
  gap: 4px;
}

body[data-page="track"] .team-contact-banner__actions {
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  min-width: min(520px, 46vw);
  gap: 8px;
}

body[data-page="track"] .contact-action {
  min-height: 44px;
  padding: 10px 12px;
}

body[data-page="track"] .team-connect__launcher {
  display: none;
}

body[data-page="track"].has-team-connect .footer {
  padding-bottom: 0;
}

@media (min-width: 981px) and (max-height: 760px) {
  body[data-page="track"] .site-shell {
    min-height: calc(100vh - 24px);
    margin-top: 12px;
    margin-bottom: 12px;
  }

  body[data-page="track"] .track-compact-intro {
    padding-top: 12px;
    padding-bottom: 8px;
  }

  body[data-page="track"] .track-status-section {
    padding-top: 10px;
    padding-bottom: 12px;
  }

  body[data-page="track"] .track-content-stack {
    gap: 12px;
  }

  body[data-page="track"] .track-status-card,
  body[data-page="track"] .track-reference-card {
    padding: 16px 18px;
  }

  body[data-page="track"] .team-contact-banner {
    padding: 14px 16px;
  }
}

[id] {
  scroll-margin-top: 112px;
}

.anchor-alias {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 112px;
}

.has-team-connect .footer {
  padding-bottom: clamp(78px, 7vw, 104px);
}

.team-connect {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.team-connect > * {
  pointer-events: auto;
}

.team-connect__launcher {
  min-height: 46px;
  border: 1px solid rgba(0, 155, 140, 0.22);
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(0, 155, 140, 0.24);
  font-weight: 750;
  line-height: 1.1;
}

.team-connect__launcher:focus-visible,
.team-connect__close:focus-visible,
.contact-action:focus-visible {
  outline: 3px solid rgba(0, 155, 140, 0.22);
  outline-offset: 3px;
}

.team-connect__panel {
  width: min(360px, calc(100vw - 36px));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(16, 42, 67, 0.18);
}

.team-connect__panel[hidden] {
  display: none;
}

.team-connect__panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.team-connect__close {
  float: right;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-action-grid,
.team-contact-banner__actions {
  display: grid;
  gap: 10px;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  padding: 11px 14px;
  background: var(--white);
  color: var(--teal-hover);
  font-weight: 750;
  text-align: center;
}

.contact-action:hover {
  background: var(--teal-light);
}

.contact-action--panel:first-child,
.team-contact-banner__actions .contact-action:first-child {
  background: var(--teal);
  color: var(--white);
}

.contact-scope-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.contact-callback {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.contact-callback[hidden] {
  display: none;
}

.is-email-choice-open {
  overflow: hidden;
}

.email-choice {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 32, 54, 0.58);
  backdrop-filter: blur(3px);
}

.email-choice[hidden] {
  display: none;
}

.email-choice__dialog {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(0, 155, 140, 0.24);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 30px);
  background: var(--white);
  box-shadow: 0 26px 70px rgba(10, 32, 54, 0.28);
}

.email-choice__dialog h2 {
  margin: 5px 0 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.email-choice__close {
  float: right;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
}

.email-choice__address {
  margin: 16px 0;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 11px 13px;
  background: var(--teal-light);
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.email-choice__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.email-choice__actions .btn {
  width: 100%;
  min-height: 44px;
  text-align: center;
}

.email-choice__status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--teal-hover);
  font-size: 0.88rem;
  font-weight: 750;
}

@media (max-width: 520px) {
  .email-choice__actions {
    grid-template-columns: 1fr;
  }
}

.team-contact-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  width: min(100%, var(--container));
  margin: clamp(24px, 4vw, 44px) auto;
  border: 1px solid rgba(0, 155, 140, 0.22);
  border-radius: 16px;
  padding: clamp(18px, 2.6vw, 28px);
  background: linear-gradient(135deg, #ffffff, #f3fbfa);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.06);
}

.team-contact-banner h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

.team-contact-banner__copy {
  display: grid;
  gap: 7px;
}

.team-contact-banner__copy .muted {
  margin: 0;
  max-width: 720px;
}

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

.card,
.notice,
.result-panel,
.resource-card,
.settings-row strong {
  overflow-wrap: anywhere;
}

@media (max-width: 1220px) and (min-width: 981px) {
  .site-header {
    min-height: 78px;
    padding: 12px 24px;
  }

  .brand {
    align-items: flex-start;
    width: 118px;
    min-width: 98px;
  }

  .brand-logo {
    width: 104px;
  }

  .brand-tagline {
    font-size: 0.6rem;
    text-align: left;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
  }

  .site-header.is-menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    min-height: 44px;
    padding: 12px 10px;
  }

  .nav-resource-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 8px;
    align-items: center;
    width: 100%;
  }

  .nav-resource-menu {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

  .nav-resource-group:hover .nav-resource-menu,
  .nav-resource-group:focus-within .nav-resource-menu {
    display: none;
  }

  .nav-resource-group.is-branch-open .nav-resource-menu {
    display: grid;
  }

  .nav-resource-menu a {
    min-height: 58px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
    gap: 28px;
    min-height: 500px;
  }

  .hero-copy {
    gap: 16px;
    padding-bottom: 22px;
  }

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

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

  .hero-media {
    min-height: 395px;
  }

  .feature-strip {
    gap: 12px;
    padding-bottom: 14px;
  }

  .feature-item {
    min-height: 62px;
    padding: 12px;
    font-size: 0.86rem;
  }
}

@media (max-width: 760px) {
  .team-contact-banner {
    grid-template-columns: 1fr;
    margin-inline: auto;
  }

  .team-contact-banner__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .selected-service-bar,
  .service-charges-head,
  .service-charge-group-head {
    align-items: stretch;
    flex-direction: column;
  }

  .selected-service-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .service-tab-row {
    justify-content: flex-start;
  }

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

  .service-charge-card-grid {
    grid-template-columns: 1fr;
  }

  .service-charge-table-row {
    grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.55fr) minmax(120px, auto);
  }

  .service-charge-table-row > span:nth-child(3),
  .service-charge-table-head > span:nth-child(3) {
    display: none;
  }

  body[data-page="track"] .track-main-grid,
  body[data-page="track"] .team-contact-banner {
    grid-template-columns: 1fr;
  }

  body[data-page="track"] .track-reference-card {
    align-content: start;
  }

  body[data-page="track"] .team-contact-banner__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  body[data-page="track"] .team-contact-banner__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(calc(100% - 28px), 920px);
    margin: 14px auto;
    border-radius: 20px;
  }

  .site-header {
    min-height: 74px;
    padding: 12px 22px;
  }

  .brand {
    align-items: flex-start;
    width: 118px;
    min-width: 98px;
  }

  .brand-logo {
    width: 98px;
  }

  .brand-tagline {
    font-size: 0.58rem;
    text-align: left;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
  }

  .site-header.is-menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    min-height: 44px;
    padding: 12px 10px;
  }

  .nav-resource-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 8px;
    align-items: center;
    width: 100%;
  }

  .nav-resource-toggle {
    width: 44px;
    height: 44px;
  }

  .nav-resource-menu {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

  .nav-resource-group:hover .nav-resource-menu,
  .nav-resource-group:focus-within .nav-resource-menu {
    display: none;
  }

  .nav-resource-group.is-branch-open .nav-resource-menu {
    display: grid;
  }

  .nav-resource-menu a {
    min-height: 58px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    padding: 30px 22px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
    padding-bottom: 0;
  }

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

  h2 {
    font-size: 2.15rem;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-media {
    min-height: 295px;
  }

  .feature-strip,
  .grid.two,
  .grid.three,
  .grid.four,
  .split-feature,
  .resource-layout {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    padding-inline: 22px;
  }

  .resource-detail {
    position: static;
  }

  .form-grid,
  .checklist-box,
  .resource-tools,
  .resource-filter-grid {
    grid-template-columns: 1fr;
  }

  .compact-page-intro,
  body[data-page="payment"] .page-hero,
  body[data-page="portal"] .page-hero,
  body[data-page="professional"] .page-hero,
  body[data-page="institution"] .page-hero,
  body[data-page="government"] .page-hero,
  body[data-page="admin"] .page-hero,
  body[data-page="admin-payment-settings"] .page-hero,
  body[data-page="consultation"] .page-hero,
  body[data-page="consultant"] .page-hero {
    padding-top: clamp(22px, 5vw, 30px);
    padding-bottom: clamp(14px, 4vw, 24px);
  }

  .compact-page-intro h1,
  body[data-page="payment"] .page-hero h1,
  body[data-page="portal"] .page-hero h1,
  body[data-page="professional"] .page-hero h1,
  body[data-page="institution"] .page-hero h1,
  body[data-page="government"] .page-hero h1,
  body[data-page="admin"] .page-hero h1,
  body[data-page="admin-payment-settings"] .page-hero h1,
  body[data-page="consultation"] .page-hero h1,
  body[data-page="consultant"] .page-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-width: 0;
    border-radius: 0;
  }

  .site-header {
    min-height: 70px;
  }

  .brand-logo {
    width: 92px;
  }

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

  .service-tab-row,
  .service-tab-row .choice-btn,
  .service-tab-row .btn {
    width: 100%;
  }

  .service-desk-filter-grid,
  .service-charge-facts,
  .service-charge-scope-row {
    grid-template-columns: 1fr;
  }

  .service-desk-filter {
    min-height: 58px;
  }

  .service-charge-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-charge-price {
    white-space: normal;
  }

  .service-charge-table {
    border: 0;
    gap: 10px;
    overflow: visible;
  }

  .service-charge-table-head {
    display: none;
  }

  .service-charge-table-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px;
  }

  .service-charge-table-row + .service-charge-table-row {
    border-top: 1px solid var(--border-light);
  }

  .service-charge-table-row > * {
    display: grid !important;
    grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .service-charge-table-row > *::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
  }

  .hero {
    padding-inline: 20px;
  }

  .hero-media {
    min-height: 245px;
  }

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

  h2 {
    font-size: 1.85rem;
  }

  .page-hero h1 {
    font-size: 2.1rem;
  }

  .feature-strip {
    gap: 10px;
    padding-inline: 20px;
  }

  .feature-item {
    min-height: 58px;
    padding: 12px;
    font-size: 0.85rem;
  }

  .section,
  .page-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .card {
    padding: 18px;
  }

  .settings-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-connect {
    left: 0;
    right: 0;
    bottom: max(12px, env(safe-area-inset-bottom));
    justify-items: center;
  }

  .team-connect__launcher {
    width: min(calc(100vw - 32px), 360px);
  }

  .team-connect__panel {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100vh - 106px);
    overflow: auto;
    border-radius: 16px 16px 12px 12px;
  }

  .has-team-connect .footer {
    padding-bottom: 116px;
  }
}

@media (max-width: 340px) {
  .brand-tagline {
    display: none;
  }
}

/* Consultation Desk need-based routing module. */
.consultation-page {
  background: var(--white);
}

.consultation-hero .section-inner {
  align-items: start;
}

.consultation-section-head {
  display: grid;
  gap: 8px;
}

.consultation-section-head h2,
.consultation-section-head .lead {
  margin-bottom: 0;
}

.consultation-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: 14px;
}

.consultation-service-card {
  display: grid;
  align-content: start;
  gap: 10px;
  width: 100%;
  min-height: 205px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(17px, 2vw, 23px);
  background: var(--white);
  color: var(--text);
  text-align: left;
  box-shadow: 0 8px 22px rgba(16, 42, 67, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.consultation-service-card:hover,
.consultation-service-card:focus-visible,
.consultation-service-card.is-selected {
  border-color: var(--teal);
  background: #f2fffb;
  box-shadow: 0 16px 36px rgba(11, 35, 65, 0.10);
  transform: translateY(-2px);
  outline: 0;
}

.consultation-service-card h3,
.consultation-service-card p {
  margin: 0;
}

.consultation-service-card h3 {
  font-size: clamp(1rem, 1.2vw, 1.14rem);
}

.consultation-service-card p {
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.55;
}

.consultation-routing-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.consultation-form,
.consultation-result {
  scroll-margin-top: 120px;
}

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

.consultation-form h2,
.consultation-form p {
  margin-bottom: 0;
}

.consultation-form-head,
.consultation-form-actions,
.consultation-errors {
  grid-column: 1 / -1;
}

.consultation-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.consultation-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  min-height: 44px;
}

.consultation-consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.consultation-consent a {
  color: var(--teal-hover);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consultation-sensitive-note {
  border-left: 3px solid var(--teal);
  padding-left: 12px;
  color: var(--text-2);
  font-size: 0.92rem;
}

.consultation-errors {
  border: 1px solid rgba(148, 42, 42, 0.26);
  border-radius: 12px;
  padding: 12px;
  background: #fffafa;
  color: #6f2b2b;
}

.consultation-error-list {
  margin: 8px 0 0;
  padding-left: 20px;
}

.consultation-form [aria-invalid="true"] {
  border-color: #9f3a3a;
  background: #fffafa;
}

.consultation-result {
  grid-column: 1 / -1;
  border-width: 2px;
  background: #f2fffb;
  box-shadow: 0 16px 36px rgba(11, 35, 65, 0.10);
}

.consultation-result h2,
.consultation-result h3,
.consultation-result p {
  margin-bottom: 0;
}

.consultation-result-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.consultation-result-summary p {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.78);
}

.consultation-result-actions {
  margin-top: 4px;
}

.consultation-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 20px);
}

.consultation-step {
  display: grid;
  align-content: start;
  gap: 8px;
}

.consultation-step h3,
.consultation-step p {
  margin-bottom: 0;
}

.consultation-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 20px);
  margin-top: 14px;
}

.consultation-profile-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.consultation-profile-photo-wrap {
  overflow: hidden;
  width: 104px;
  aspect-ratio: 1;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: #edf6f4;
}

.consultation-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.consultation-profile-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.consultation-profile-title {
  color: var(--teal-hover);
  font-weight: 750;
}

.consultation-profile-meta,
.consultation-profile-best {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.consultation-network-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
  margin-top: 14px;
}

.consultation-network-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: clamp(16px, 1.8vw, 22px);
}

.consultation-network-card h3,
.consultation-network-card p {
  margin-bottom: 0;
}

.consultation-boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.consultation-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.consultation-trust-card {
  display: grid;
  gap: 14px;
}

.consultation-charter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.consultation-charter-grid p {
  margin: 0;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fbfdff;
  font-size: 0.94rem;
}

.consultation-contact-section .section-inner {
  padding-bottom: 0;
}

@media (max-width: 1180px) {
  .consultation-network-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .consultation-service-grid,
  .consultation-step-grid,
  .consultation-boundary-grid,
  .consultation-charter-grid,
  .consultation-routing-layout {
    grid-template-columns: 1fr;
  }

  .consultation-form {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .consultation-profile-grid,
  .consultation-network-grid,
  .consultation-result-summary {
    grid-template-columns: 1fr;
  }

  .consultation-service-card {
    min-height: 0;
  }

  .consultation-profile-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .consultation-profile-photo-wrap {
    width: 88px;
  }

  .consultation-form-actions .btn,
  .consultation-result-actions .btn {
    width: 100%;
  }
}

/* Final density and secure-upload layer */
.consultation-service-card {
  min-height: 154px;
  padding: var(--mid-card-padding);
}

.mid-document-centre,
.mid-uploader {
  display: grid;
  gap: 14px;
}

.mid-document-centre[hidden] {
  display: none;
}

.mid-uploader {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(14px, 2vw, 20px);
  background: linear-gradient(180deg, #ffffff, #f8fcfb);
}

.mid-uploader__head,
.mid-document-row,
.mid-uploader__actions,
.mid-uploader__status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mid-uploader__head {
  justify-content: space-between;
}

.mid-uploader__title {
  margin: 0;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
}

.mid-uploader__hint,
.mid-uploader__meta {
  margin: 0;
  color: var(--text-2);
  font-size: 0.92rem;
}

.mid-uploader__drop {
  display: grid;
  gap: 12px;
  border: 1px dashed rgba(0, 155, 140, 0.42);
  border-radius: 12px;
  padding: 18px;
  background: rgba(221, 244, 240, 0.28);
}

.mid-uploader__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mid-uploader__list {
  display: grid;
  gap: 10px;
}

.mid-document-row {
  justify-content: space-between;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.mid-document-row strong,
.mid-document-row span {
  overflow-wrap: anywhere;
}

.mid-document-row__main {
  min-width: min(100%, 260px);
}

.mid-document-row__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mid-upload-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(9, 28, 52, 0.54);
}

.mid-upload-dialog {
  width: min(100%, 720px);
  max-height: min(88vh, 760px);
  overflow: auto;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(9, 28, 52, 0.28);
}

.mid-upload-dialog video,
.mid-upload-dialog canvas {
  width: 100%;
  max-height: 440px;
  border-radius: 14px;
  background: #091c34;
}

@media (min-width: 981px) and (max-height: 900px) {
  .site-shell {
    width: min(calc(100% - 18px), 1440px);
    min-height: calc(100vh - 18px);
    margin: 9px auto;
    border-radius: 18px;
  }

  .site-header {
    min-height: 74px;
    padding: 8px clamp(20px, 3vw, 44px);
  }

  .brand {
    width: 122px;
    min-width: 110px;
  }

  .brand-logo {
    width: 108px;
  }

  .brand-tagline {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .hero {
    padding-top: clamp(24px, 3.2vw, 38px);
  }

  .hero-grid {
    min-height: 430px;
    gap: clamp(22px, 3vw, 42px);
  }

  .hero-copy {
    gap: 14px;
    padding-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(3rem, 4.2vw, 3.55rem);
  }

  .hero-media {
    min-height: 355px;
  }

  .feature-item {
    min-height: 58px;
    padding: 12px 14px;
  }

  .section,
  .page-hero {
    padding-top: var(--mid-section-y);
    padding-bottom: var(--mid-section-y);
  }

  .section--compact-follow {
    padding-top: 26px;
  }

  .card {
    padding: var(--mid-card-padding);
  }

  .card.clickable,
  .resource-card,
  .consultation-service-card {
    min-height: 0;
  }
}

/* Final Consultation Desk compact revision */
body[data-page="consultation"] .site-header {
  min-height: 62px;
  padding-top: 6px;
  padding-bottom: 6px;
}

body[data-page="consultation"] .brand {
  width: 104px;
  min-width: 92px;
}

body[data-page="consultation"] .brand-logo {
  width: min(66px, 100%);
}

body[data-page="consultation"] .brand-tagline {
  display: none;
}

.consultation-group-nav {
  position: sticky;
  top: var(--consultation-header-height, 84px);
  z-index: 38;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}

.consultation-subnav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.consultation-subnav__title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.1;
  white-space: nowrap;
}

.consultation-subnav__tabs {
  display: flex;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.consultation-subnav__tabs::-webkit-scrollbar {
  display: none;
}

.consultation-group-nav a {
  flex: 0 0 auto;
  min-height: 30px;
  border: 1px solid rgba(0, 155, 140, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(221, 244, 240, 0.55);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.05;
  text-decoration: none;
  white-space: nowrap;
}

.consultation-group-nav a:hover,
.consultation-group-nav a:focus-visible,
.consultation-group-nav a.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--teal-hover));
  color: var(--white);
  outline: 0;
  box-shadow: 0 12px 24px rgba(0, 155, 140, 0.20);
}

.consultation-group-section {
  scroll-margin-top: calc(var(--consultation-header-height, 84px) + var(--consultation-nav-height, 56px) + 18px);
}

.consultation-group-section .section-inner {
  display: grid;
  gap: clamp(10px, 1.25vw, 16px);
}

body[data-page="consultation"] .consultation-positioning {
  padding-top: 5px;
  padding-bottom: 5px;
}

body[data-page="consultation"] .consultation-positioning .section-inner {
  gap: 0;
}

body[data-page="consultation"] .consultation-positioning .lead {
  max-width: 1120px;
  font-size: clamp(0.72rem, 0.82vw, 0.82rem);
  line-height: 1.34;
}

body[data-page="consultation"] #find-your-desk {
  padding-top: 4px;
  padding-bottom: clamp(24px, 3vw, 38px);
}

body[data-page="consultation"] #find-your-desk .section-inner {
  gap: 8px;
}

body[data-page="consultation"] #find-your-desk .consultation-section-head {
  gap: 4px;
}

body[data-page="consultation"] #find-your-desk .consultation-section-head h2 {
  font-size: clamp(0.98rem, 1.24vw, 1.16rem);
  line-height: 1.12;
}

body[data-page="consultation"] #find-your-desk .consultation-section-head .lead {
  max-width: 780px;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  line-height: 1.42;
}

body[data-page="consultation"] .consultation-service-grid {
  gap: 6px 8px;
  margin-top: 0;
}

body[data-page="consultation"] .consultation-service-card {
  gap: 3px;
  min-height: 52px;
  border-radius: 10px;
  padding: 7px 10px;
  box-shadow: 0 6px 16px rgba(16, 42, 67, 0.035);
}

body[data-page="consultation"] .consultation-service-card h3 {
  font-size: clamp(0.7rem, 0.8vw, 0.78rem);
  line-height: 1.15;
}

body[data-page="consultation"] .consultation-service-card p {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(0.58rem, 0.66vw, 0.64rem);
  line-height: 1.2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.consultation-routing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
}

body[data-page="consultation"] .consultation-form.consultation-form--expanded {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 9px;
  width: 100%;
  padding: 12px;
}

.consultation-form-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 4px;
}

.consultation-form-head h3 {
  margin: 0 0 2px;
  font-size: clamp(0.9rem, 1.08vw, 1rem);
  line-height: 1.15;
}

.consultation-form-head .muted {
  font-size: 0.68rem;
  line-height: 1.22;
}

.consultation-scope-steps {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consultation-scope-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  border: 1px solid rgba(0, 155, 140, 0.14);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(221, 244, 240, 0.45);
  color: var(--navy);
  font-size: 0.67rem;
  font-weight: 750;
  line-height: 1.15;
}

.consultation-scope-steps li::before {
  counter-increment: scope-step;
  content: counter(scope-step);
  display: inline-grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.66rem;
}

body[data-page="consultation"] .consultation-form .field {
  gap: 3px;
}

body[data-page="consultation"] .consultation-form .field span,
body[data-page="consultation"] .consultation-form .field label {
  font-size: 0.66rem;
}

body[data-page="consultation"] .consultation-form .field input,
body[data-page="consultation"] .consultation-form .field select {
  min-height: 40px;
  padding: 7px 9px;
  font-size: 0.8rem;
}

body[data-page="consultation"] .consultation-form .field textarea {
  min-height: 46px;
  padding: 7px 9px;
  font-size: 0.8rem;
  line-height: 1.3;
}

body[data-page="consultation"] .consultation-form .consultation-summary-field {
  grid-column: 2 / -1;
}

body[data-page="consultation"] .consultation-consent {
  grid-column: 1 / 3;
  gap: 7px;
  min-height: 36px;
  font-size: 0.66rem;
  line-height: 1.22;
}

body[data-page="consultation"] .consultation-consent input {
  width: 16px;
  min-height: 16px;
  margin-top: 1px;
}

body[data-page="consultation"] .consultation-sensitive-note {
  margin: 0;
  padding-left: 10px;
  font-size: 0.74rem;
  line-height: 1.35;
}

body[data-page="consultation"] .consultation-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  grid-column: 3 / -1;
}

body[data-page="consultation"] .consultation-form-actions .btn {
  min-height: 40px;
  padding: 7px 12px;
  font-size: 0.78rem;
}

.consultation-network-head {
  margin-top: clamp(14px, 2vw, 22px);
}

.consultation-scope-grid {
  margin-top: clamp(4px, 1vw, 10px);
}

.consultation-profile-card {
  min-height: 0;
  padding: clamp(14px, 1.6vw, 18px);
}

.consultation-profile-body h3,
.consultation-profile-body p,
.consultation-connect-card h3,
.consultation-connect-card p {
  margin: 0;
}

.consultation-profile-title {
  font-size: 0.94rem;
}

.consultation-profile-meta,
.consultation-profile-best {
  color: var(--text-2);
  font-size: 0.88rem;
}

.consultation-network-card {
  min-height: 0;
  padding: clamp(14px, 1.6vw, 18px);
}

.consultation-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.consultation-connect-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

body[data-page="consultation"] .team-connect__launcher {
  min-height: 44px;
  padding-inline: 18px;
}

@media (max-width: 980px) {
  .consultation-group-nav {
    top: var(--consultation-header-height, 78px);
  }

  .consultation-subnav {
    grid-template-columns: 1fr;
    gap: 7px;
    align-items: start;
  }

  .consultation-subnav__tabs {
    width: 100%;
  }

  body[data-page="consultation"] .consultation-form.consultation-form--expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-form-head,
  body[data-page="consultation"] .consultation-form .consultation-summary-field,
  body[data-page="consultation"] .consultation-consent,
  body[data-page="consultation"] .consultation-form-actions {
    grid-column: 1 / -1;
  }

  .consultation-form-head {
    grid-template-columns: 1fr;
  }

  .consultation-connect-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .consultation-subnav {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 56px;
  }

  .consultation-subnav__title {
    max-width: 116px;
    font-size: 0.98rem;
  }

  body[data-page="consultation"] .consultation-hero .lead {
    font-size: clamp(0.84rem, 3.6vw, 0.92rem);
  }

  .consultation-group-nav a {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  body[data-page="consultation"] .consultation-form.consultation-form--expanded {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-page="consultation"] .consultation-form .field input,
  body[data-page="consultation"] .consultation-form .field select {
    min-height: 44px;
    font-size: 0.9rem;
  }

  body[data-page="consultation"] .consultation-form .field textarea {
    min-height: 76px;
    font-size: 0.9rem;
  }

  body[data-page="consultation"] .consultation-form-actions {
    justify-content: stretch;
  }

  body[data-page="consultation"] .consultation-form-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .consultation-profile-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .consultation-profile-photo-wrap {
    width: 84px;
  }
}

@media print {
  .site-header,
  .footer,
  .hero-actions,
  .main-nav,
  .menu-toggle {
    display: none !important;
  }

  .site-shell {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .section,
  .page-hero {
    padding: 20px;
  }

  .card,
  .notice,
  .result-panel {
    box-shadow: none;
  }
}

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

/* Home hero revision: one approved image with restrained service-keyword motion. */
body[data-page="home"] .hero {
  padding-top: clamp(28px, 4vw, 48px);
}

body[data-page="home"] .hero-grid {
  grid-template-areas: "copy media";
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: clamp(360px, 32vw, 430px);
}

body[data-page="home"] .hero-copy {
  gap: clamp(10px, 1.2vw, 14px);
}

body[data-page="home"] .hero h1 {
  max-width: 660px;
  font-size: clamp(2.55rem, 4.35vw, 3.75rem);
  line-height: 1.06;
}

body[data-page="home"] .hero-media {
  aspect-ratio: 16 / 9;
  min-height: 0;
  align-self: center;
  box-shadow: none;
}

body[data-page="home"] .hero-media img {
  object-position: center right;
}

body[data-page="home"] .hero-actions {
  margin-top: clamp(4px, 0.7vw, 10px);
}

body[data-page="home"] .feature-strip {
  gap: 12px;
  padding-bottom: 8px;
}

body[data-page="home"] .feature-item {
  min-height: 62px;
  padding: 12px 14px;
  font-size: 0.88rem;
}

body[data-page="home"] .team-connect__launcher {
  display: none;
}

body[data-page="home"].has-team-connect .footer {
  padding-bottom: 0;
}

@media (max-width: 1220px) and (min-width: 981px) {
  body[data-page="home"] .hero-grid {
    min-height: clamp(350px, 31vw, 390px);
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(2.35rem, 3.8vw, 3.15rem);
  }

  body[data-page="home"] .hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.62rem);
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .hero-grid {
    grid-template-areas:
      "media"
      "copy";
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
  }

  body[data-page="home"] .hero-copy {
    max-width: none;
    padding-bottom: 0;
  }

  body[data-page="home"] .hero-media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  body[data-page="home"] .hero-media img {
    object-position: center;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  body[data-page="home"] .hero-subtitle {
    font-size: clamp(1.15rem, 4.4vw, 1.55rem);
  }

  body[data-page="home"] .hero-consult-line {
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
  }

  body[data-page="home"] .hero-cost-line {
    font-size: clamp(0.76rem, 3.2vw, 0.84rem);
  }

  body[data-page="home"] .hero-keyword,
  body[data-page="home"] .hero-keyword-static {
    top: 36%;
    left: 5%;
    max-width: min(300px, 72%);
    padding: 8px 12px;
    font-size: clamp(0.88rem, 4vw, 1.08rem);
  }

  body[data-page="home"] .hero-keyword {
    --keyword-travel: clamp(52px, 18vw, 112px);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .hero {
    padding-top: 18px;
  }

  body[data-page="home"] .hero-grid {
    gap: 18px;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.35rem);
  }

  body[data-page="home"] .hero-keyword,
  body[data-page="home"] .hero-keyword-static {
    top: 34%;
    max-width: 76%;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-keyword {
    display: none;
    animation: none !important;
  }

  body[data-page="home"] .hero-keyword-static {
    display: block;
  }
}

/* Login compact access layout. Authentication hooks remain unchanged. */
body[data-page="login"] .login-page-shell {
  padding: clamp(14px, 2vh, 22px) clamp(22px, 5vw, 72px) clamp(16px, 2.2vh, 24px);
}

body[data-page="login"] .login-layout {
  display: grid;
  gap: clamp(12px, 1.8vh, 18px);
}

body[data-page="login"] .login-page-intro {
  display: grid;
  gap: 5px;
  max-width: 760px;
}

body[data-page="login"] .login-page-title {
  margin: 0;
  color: var(--navy);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 780;
  line-height: 1.2;
}

body[data-page="login"] .login-page-intro-text {
  margin: 0;
  color: var(--text-2);
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  line-height: 1.45;
}

body[data-page="login"] .login-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(16px, 2vw, 22px);
  align-items: stretch;
}

body[data-page="login"] .login-form-card,
body[data-page="login"] .login-access-card {
  min-height: 100%;
  padding: clamp(18px, 2vw, 22px);
}

body[data-page="login"] .login-form-card {
  gap: 12px;
  align-content: start;
}

body[data-page="login"] .login-form-card .field {
  gap: 6px;
}

body[data-page="login"] .login-form-card input {
  min-height: 46px;
  padding-block: 10px;
}

body[data-page="login"] .login-form-card .btn {
  width: 100%;
  min-height: 44px;
}

body[data-page="login"] .login-result-panel {
  grid-column: 1 / -1;
  padding: 12px 14px;
}

body[data-page="login"] .login-result-panel h3 {
  margin: 0;
  font-size: 0.98rem;
}

body[data-page="login"] .login-access-card {
  display: grid;
  align-content: center;
  gap: 10px;
}

body[data-page="login"] .login-access-card h2 {
  margin: 0;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 780;
  line-height: 1.18;
}

body[data-page="login"] .login-access-card p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.5;
}

body[data-page="login"] .login-access-note {
  border-top: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 11px 12px;
  background: rgba(221, 244, 240, 0.42);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 650;
}

body[data-page="login"] .login-contact-slot {
  width: 100%;
}

body[data-page="login"] .team-contact-banner {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 2.2vw, 24px);
  margin: 0;
  padding: clamp(14px, 1.9vw, 18px);
}

body[data-page="login"] .team-contact-banner h2 {
  margin: 0;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  font-weight: 780;
  line-height: 1.22;
}

body[data-page="login"] .team-contact-banner__copy {
  gap: 5px;
}

body[data-page="login"] .team-contact-banner__copy .muted {
  max-width: 640px;
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  line-height: 1.45;
}

body[data-page="login"] .team-contact-banner__actions {
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  width: min(100%, 500px);
}

body[data-page="login"] .team-contact-banner__actions .contact-action {
  min-height: 44px;
  padding: 10px 13px;
  white-space: nowrap;
}

body[data-page="login"] .team-connect__launcher {
  display: none;
}

body[data-page="login"].has-team-connect .footer {
  padding-bottom: 0;
}

@media (max-width: 1080px) {
  body[data-page="login"] .login-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="login"] .login-access-card {
    align-content: start;
  }

  body[data-page="login"] .team-contact-banner {
    grid-template-columns: 1fr;
  }

  body[data-page="login"] .team-contact-banner__actions {
    width: 100%;
  }
}

@media (max-width: 720px) {
  body[data-page="login"] .login-page-shell {
    padding-inline: 16px;
  }

  body[data-page="login"] .login-form-card,
  body[data-page="login"] .login-access-card {
    padding: 17px;
  }

  body[data-page="login"] .team-contact-banner__actions {
    grid-template-columns: 1fr;
  }

  body[data-page="login"] .team-contact-banner__actions .contact-action {
    white-space: normal;
  }
}

/* Home hero proportion refinement: same copy and image, cleaner balance and faster keyword travel. */
body[data-page="home"] .hero {
  padding-top: clamp(24px, 3.4vw, 40px);
}

body[data-page="home"] .hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4.6vw, 58px);
  min-height: clamp(350px, 30vw, 405px);
}

body[data-page="home"] .hero-copy {
  max-width: 535px;
  gap: clamp(8px, 1vw, 11px);
  padding-bottom: clamp(10px, 2vw, 20px);
}

body[data-page="home"] .hero h1 {
  max-width: 535px;
  font-size: clamp(2.35rem, 3.95vw, 3.35rem);
  line-height: 1.04;
}

body[data-page="home"] .hero-subtitle {
  max-width: 510px;
  color: var(--navy);
  font-size: clamp(1.12rem, 1.75vw, 1.46rem);
  line-height: 1.35;
}

body[data-page="home"] .hero-consult-line {
  max-width: 470px;
  font-size: clamp(0.95rem, 1.05vw, 1.04rem);
}

body[data-page="home"] .hero-cost-line {
  display: inline-flex;
  width: fit-content;
  border-left: 3px solid var(--teal);
  padding-left: 10px;
  color: var(--text-2);
  font-size: 0.9rem;
}

body[data-page="home"] .hero-actions {
  gap: 12px;
  margin-top: 8px;
}

body[data-page="home"] .hero-actions .btn {
  min-height: 46px;
  padding: 12px 18px;
}

body[data-page="home"] .hero-media {
  border-radius: 16px;
}

body[data-page="home"] .hero-keyword {
  --keyword-travel: clamp(84px, 15vw, 190px);
  animation-duration: 6s;
}

body[data-page="home"] .hero-keyword--two {
  animation-delay: 2s;
}

body[data-page="home"] .hero-keyword--three {
  animation-delay: 4s;
}

@keyframes heroKeywordTravel {
  0% {
    opacity: 0;
    transform: translate3d(-18px, -50%, 0);
  }

  18% {
    opacity: 1;
    transform: translate3d(var(--keyword-travel), -50%, 0);
  }

  29% {
    opacity: 1;
    transform: translate3d(var(--keyword-travel), -50%, 0);
  }

  33% {
    opacity: 0;
    transform: translate3d(calc(var(--keyword-travel) + 18px), -50%, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(var(--keyword-travel) + 18px), -50%, 0);
  }
}

@media (max-width: 1220px) and (min-width: 981px) {
  body[data-page="home"] .hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    min-height: 350px;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(2.15rem, 3.45vw, 2.85rem);
  }

  body[data-page="home"] .hero-subtitle {
    font-size: clamp(1.04rem, 1.7vw, 1.28rem);
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .hero-grid {
    grid-template-areas:
      "media"
      "copy";
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
  }

  body[data-page="home"] .hero-copy {
    justify-items: start;
    max-width: 680px;
  }

  body[data-page="home"] .hero-media {
    width: 100%;
    min-height: clamp(210px, 50vw, 330px);
    aspect-ratio: 16 / 9;
  }

  body[data-page="home"] .hero-cost-line {
    font-size: clamp(0.8rem, 3vw, 0.9rem);
  }

  body[data-page="home"] .hero-keyword,
  body[data-page="home"] .hero-keyword-static {
    top: 39%;
    left: 7%;
    max-width: min(300px, 78%);
    white-space: normal;
  }

  body[data-page="home"] .hero-keyword {
    --keyword-travel: clamp(30px, 13vw, 78px);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .hero-copy {
    gap: 9px;
  }

  body[data-page="home"] .hero h1 {
    max-width: 420px;
    font-size: clamp(1.92rem, 8.3vw, 2.28rem);
  }

  body[data-page="home"] .hero-actions .btn {
    width: 100%;
  }

  body[data-page="home"] .hero-media {
    min-height: clamp(185px, 50vw, 230px);
  }
}

/* Sample-matched homepage hero */
body[data-page="home"] {
  background: #ffffff;
  overflow-x: hidden;
}

body[data-page="home"] .site-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: clip;
  overflow-x: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

body[data-page="home"] .site-header {
  min-height: 88px;
  padding: 14px clamp(28px, 4.5vw, 58px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #d8dee5;
  box-shadow: none;
}

body[data-page="home"] .brand {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  width: clamp(318px, 31vw, 430px);
  min-width: 300px;
}

body[data-page="home"] .brand-logo {
  width: 100%;
  max-width: 330px;
}

body[data-page="home"] .brand-tagline {
  display: none;
}

body[data-page="home"] .sample-brand-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  width: 45px;
  height: 37px;
  padding: 2px 0 0;
  flex: 0 0 auto;
}

body[data-page="home"] .sample-brand-mark i {
  display: block;
  width: 10px;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(180deg, #0a9d99, #047d77);
}

body[data-page="home"] .sample-brand-mark i:nth-child(1) {
  height: 15px;
}

body[data-page="home"] .sample-brand-mark i:nth-child(2) {
  height: 24px;
}

body[data-page="home"] .sample-brand-mark i:nth-child(3) {
  height: 34px;
}

body[data-page="home"] .sample-brand-mark::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 0;
  width: 13px;
  height: 13px;
  border-top: 4px solid #0b2a58;
  border-right: 4px solid #0b2a58;
  transform: rotate(0deg);
}

body[data-page="home"] .sample-brand-word {
  display: inline-flex;
  align-items: baseline;
  color: #071f53;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.85rem, 2.62vw, 2.5rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

body[data-page="home"] .sample-brand-word span {
  color: #058d86;
}

body[data-page="home"] .sample-brand-word small {
  display: inline;
  margin-left: 1px;
  color: #071f53;
  font-size: 0.45em;
  font-weight: 800;
}

body[data-page="home"] .main-nav {
  gap: clamp(20px, 2.6vw, 42px);
}

body[data-page="home"] .main-nav a {
  color: #071a49;
  font-size: clamp(0.92rem, 1.05vw, 1.08rem);
  font-weight: 700;
}

body[data-page="home"] .main-nav a span {
  display: inline-block;
  margin-left: 5px;
  color: inherit;
  font-size: 0.95em;
  transform: translateY(-1px);
}

body[data-page="home"] .main-nav a:hover,
body[data-page="home"] .main-nav a.is-active,
body[data-page="home"] .main-nav a[aria-current="page"] {
  color: #071a49;
}

body[data-page="home"] .main-nav a:not(.nav-cta)::after {
  bottom: -15px;
  height: 3px;
  background: #06998e;
}

body[data-page="home"] .sample-hero {
  position: relative;
  min-height: calc(100vh - 88px);
  padding: 0 clamp(28px, 4.6vw, 78px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, rgba(226, 239, 247, 0.72), transparent 30%),
    radial-gradient(circle at 25% 66%, rgba(219, 245, 240, 0.45), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 55%, #ffffff 100%);
}

body[data-page="home"] .sample-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.62));
  z-index: 1;
}

body[data-page="home"] .hero-watermark-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

body[data-page="home"] .hero-watermark {
  position: absolute;
  display: block;
  color: rgba(84, 173, 220, 0.105);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="home"] .hero-watermark--sky {
  color: rgba(84, 173, 220, 0.105);
}

body[data-page="home"] .hero-watermark--mint {
  color: rgba(88, 190, 156, 0.105);
}

body[data-page="home"] .hero-watermark--project {
  top: 34px;
  left: -46px;
  font-size: clamp(5.3rem, 10vw, 10rem);
}

body[data-page="home"] .hero-watermark--cma {
  top: 178px;
  left: -34px;
  font-size: clamp(5rem, 9.2vw, 9.2rem);
}

body[data-page="home"] .hero-watermark--subsidy {
  top: 332px;
  right: -190px;
  font-size: clamp(3.5rem, 6.4vw, 6.8rem);
  opacity: 0.82;
}

body[data-page="home"] .hero-watermark--banking {
  left: 0;
  bottom: 112px;
  font-size: clamp(2.9rem, 4.65vw, 5rem);
}

body[data-page="home"] .hero-watermark--industry {
  left: -12px;
  bottom: 8px;
  font-size: clamp(3.6rem, 6.6vw, 6.9rem);
}

body[data-page="home"] .sample-hero .hero-grid {
  position: relative;
  z-index: 2;
  grid-template-areas: "copy media";
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  gap: clamp(8px, 1.8vw, 28px);
  width: min(100%, 1500px);
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  align-items: center;
}

body[data-page="home"] .sample-hero .hero-copy {
  grid-area: copy;
  max-width: 690px;
  padding: clamp(28px, 7.5vw, 108px) 0 0;
  gap: 24px;
}

body[data-page="home"] .sample-hero .eyebrow {
  color: #008b84;
  font-size: clamp(0.94rem, 1.18vw, 1.22rem);
  font-weight: 800;
  line-height: 1.2;
}

body[data-page="home"] .sample-hero h1 {
  margin: 0;
  max-width: 690px;
  color: #071f53;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.2rem, 3.18vw, 3.65rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.18;
}

body[data-page="home"] .sample-hero h1 span {
  display: block;
}

body[data-page="home"] .sample-hero .hero-actions {
  gap: 26px;
  margin-top: 10px;
}

body[data-page="home"] .sample-hero .btn {
  min-width: clamp(220px, 20vw, 300px);
  min-height: 62px;
  border-radius: 6px;
  background: #06978e;
  box-shadow: 0 14px 28px rgba(0, 129, 122, 0.18);
  color: #ffffff;
  font-size: clamp(1.05rem, 1.45vw, 1.36rem);
  font-weight: 800;
}

body[data-page="home"] .sample-hero .btn.secondary {
  border: 2px solid #071f53;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  color: #071f53;
}

body[data-page="home"] .sample-hero-media {
  position: relative;
  grid-area: media;
  align-self: stretch;
  width: 100%;
  min-height: clamp(520px, 43vw, 680px);
  margin: 0;
  overflow: visible;
  border-radius: 0;
}

body[data-page="home"] .sample-hero-media * {
  box-sizing: border-box;
}

body[data-page="home"] .bank-building {
  position: absolute;
  top: 5%;
  right: -1%;
  width: 54%;
  height: 48%;
  z-index: 1;
  filter: drop-shadow(0 18px 28px rgba(31, 43, 55, 0.16));
}

body[data-page="home"] .bank-roof {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42%;
  clip-path: polygon(50% 0, 100% 58%, 95% 72%, 5% 72%, 0 58%);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(198, 204, 210, 0.88)),
    repeating-linear-gradient(180deg, transparent 0 13px, rgba(109, 119, 130, 0.2) 14px 16px);
  border: 1px solid rgba(119, 130, 141, 0.4);
}

body[data-page="home"] .bank-roof span {
  position: absolute;
  top: 36%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid #d9a22b;
  border-radius: 50%;
  color: #c1841b;
  font-size: 2rem;
  font-weight: 500;
  transform: translate(-50%, -50%);
}

body[data-page="home"] .bank-pillars {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 10%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8%;
  height: 58%;
}

body[data-page="home"] .bank-pillars i {
  display: block;
  border-radius: 7px 7px 2px 2px;
  background:
    linear-gradient(90deg, rgba(92, 100, 108, 0.18), transparent 26%, rgba(80, 88, 96, 0.2) 80%),
    linear-gradient(180deg, #f4f5f6, #bfc5cb);
  border: 1px solid rgba(106, 114, 122, 0.34);
}

body[data-page="home"] .bank-steps {
  position: absolute;
  left: 2%;
  right: 1%;
  bottom: 0;
  height: 14%;
  background:
    linear-gradient(180deg, #e5e8eb, #babfc5 48%, #aeb4ba 49%),
    repeating-linear-gradient(180deg, transparent 0 8px, rgba(68, 76, 84, 0.18) 9px 11px);
}

body[data-page="home"] .doc-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(186, 196, 207, 0.78);
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 251, 0.94));
  box-shadow: 0 22px 42px rgba(22, 34, 52, 0.18);
  color: #071f53;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
}

body[data-page="home"] .doc-card strong {
  display: block;
  color: #071f53;
  font-size: clamp(0.8rem, 1.3vw, 1.25rem);
  font-weight: 850;
  line-height: 1.1;
}

body[data-page="home"] .doc-card small {
  display: block;
  margin-top: 10px;
  color: #071f53;
  font-size: clamp(0.43rem, 0.55vw, 0.62rem);
  font-weight: 750;
}

body[data-page="home"] .doc-project {
  top: 20%;
  left: 14%;
  width: 50%;
  height: 30%;
  padding: 6.5% 7%;
  transform: rotate(-3deg);
}

body[data-page="home"] .doc-project::after,
body[data-page="home"] .doc-subsidy::after,
body[data-page="home"] .industry-book span {
  content: "";
  display: block;
  width: 76%;
  height: 2px;
  margin-top: 10px;
  background: #d7a334;
}

body[data-page="home"] .factory-lines {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 42%;
  height: 40%;
  opacity: 0.42;
}

body[data-page="home"] .factory-lines i {
  position: absolute;
  bottom: 0;
  display: block;
  width: 11%;
  border: 2px solid rgba(43, 82, 125, 0.45);
  border-bottom: 0;
}

body[data-page="home"] .factory-lines i:nth-child(1) {
  left: 4%;
  height: 42%;
}

body[data-page="home"] .factory-lines i:nth-child(2) {
  left: 28%;
  height: 64%;
}

body[data-page="home"] .factory-lines i:nth-child(3) {
  left: 55%;
  height: 78%;
}

body[data-page="home"] .factory-lines i:nth-child(4) {
  left: 79%;
  height: 100%;
}

body[data-page="home"] .doc-cma {
  top: 42%;
  left: 8%;
  width: 34%;
  height: 43%;
  padding: 4.4% 4.6%;
}

body[data-page="home"] .doc-cma strong,
body[data-page="home"] .doc-subsidy strong {
  color: #008b84;
}

body[data-page="home"] .mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6%;
  width: 72%;
  height: 30%;
  margin-top: 13%;
  border-left: 1px solid rgba(16, 42, 67, 0.1);
  border-bottom: 1px solid rgba(16, 42, 67, 0.1);
}

body[data-page="home"] .mini-chart i {
  flex: 1;
  display: block;
  background: linear-gradient(180deg, #70cfc5, #2caba2);
}

body[data-page="home"] .mini-chart i:nth-child(1) {
  height: 22%;
}

body[data-page="home"] .mini-chart i:nth-child(2) {
  height: 38%;
}

body[data-page="home"] .mini-chart i:nth-child(3) {
  height: 50%;
}

body[data-page="home"] .mini-chart i:nth-child(4) {
  height: 62%;
}

body[data-page="home"] .mini-chart i:nth-child(5) {
  height: 84%;
}

body[data-page="home"] .doc-cma table {
  width: 100%;
  margin-top: 12%;
  color: #1d2f52;
  font-size: clamp(0.35rem, 0.52vw, 0.54rem);
  line-height: 1.1;
}

body[data-page="home"] .doc-cma td {
  padding: 5px 4px;
  border: 1px solid rgba(122, 134, 148, 0.18);
  text-align: center;
}

body[data-page="home"] .doc-subsidy {
  top: 43%;
  left: 43%;
  width: 34%;
  height: 41%;
  padding: 4% 4.2%;
  transform: rotate(-7deg);
}

body[data-page="home"] .emblem {
  margin-top: 10%;
  color: #d3a04a;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  text-align: center;
}

body[data-page="home"] .doc-card ul {
  display: grid;
  gap: 8px;
  margin: 10% 0 0;
  padding: 0;
  list-style: none;
  color: #122547;
  font-size: clamp(0.43rem, 0.68vw, 0.7rem);
  font-weight: 650;
  line-height: 1.25;
}

body[data-page="home"] .doc-card li {
  position: relative;
  padding-left: 1.5em;
}

body[data-page="home"] .doc-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -0.08em;
  color: #138b6f;
  font-weight: 900;
}

body[data-page="home"] .doc-banking {
  top: 55%;
  right: -1%;
  width: 29%;
  height: 38%;
  padding: 4% 4.2%;
  transform: rotate(8deg);
  z-index: 5;
}

body[data-page="home"] .doc-banking ul {
  gap: 7px;
  margin-top: 12%;
}

body[data-page="home"] .doc-banking li::before {
  color: #071f53;
}

body[data-page="home"] .industry-book {
  position: absolute;
  left: 37%;
  bottom: 3%;
  z-index: 7;
  width: 39%;
  height: 27%;
  padding: 8% 9% 6%;
  border-radius: 7px 5px 9px 8px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(140deg, #173559, #071f3f 72%);
  box-shadow:
    -10px 13px 0 rgba(205, 211, 218, 0.82),
    0 24px 42px rgba(12, 24, 41, 0.26);
  color: #ffffff;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  text-align: center;
  transform: rotate(13deg);
}

body[data-page="home"] .industry-book::before {
  content: "⚖";
  position: absolute;
  left: 50%;
  bottom: 24%;
  color: #f3c24e;
  font-size: clamp(1.5rem, 2.5vw, 2.55rem);
  transform: translateX(-50%);
}

body[data-page="home"] .industry-book strong {
  display: block;
  font-size: clamp(0.95rem, 1.65vw, 1.7rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.16;
}

body[data-page="home"] .industry-book span {
  width: 78%;
  height: 3px;
  margin: 14px auto 0;
}

body[data-page="home"] .industry-book small {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 10%;
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.45rem, 0.72vw, 0.72rem);
  font-weight: 650;
}

body[data-page="home"] .gold-pen {
  position: absolute;
  right: 2%;
  bottom: 8%;
  z-index: 6;
  width: 31%;
  height: 14px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0 8%, #d69f2e 8% 13%, #07111f 13% 70%, #f4c45c 70% 76%, #07111f 76% 95%, transparent 95%),
    linear-gradient(180deg, #ffffff, #222);
  box-shadow: 0 10px 20px rgba(16, 42, 67, 0.18);
  transform: rotate(-17deg);
}

body[data-page="home"] .gold-pen::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 50%;
  width: 12%;
  height: 18px;
  clip-path: polygon(0 16%, 100% 50%, 0 84%);
  background: #d69f2e;
  transform: translateY(-50%);
}

@media (max-width: 1220px) and (min-width: 981px) {
  body[data-page="home"] .site-header {
    min-height: 84px;
    padding: 12px 26px;
  }

  body[data-page="home"] .brand {
    width: clamp(290px, 30vw, 340px);
    min-width: 286px;
  }

  body[data-page="home"] .sample-brand-word {
    font-size: clamp(1.55rem, 2.35vw, 1.92rem);
  }

  body[data-page="home"] .menu-toggle {
    display: none;
  }

  body[data-page="home"] .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2vw, 26px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="home"] .main-nav a {
    min-height: 0;
    padding: 0;
    font-size: 0.9rem;
  }

  body[data-page="home"] .sample-hero .hero-grid {
    grid-template-columns: minmax(330px, 0.9fr) minmax(470px, 1.1fr);
  }

  body[data-page="home"] .sample-hero h1 {
    font-size: clamp(2.15rem, 3.35vw, 2.75rem);
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .site-header {
    min-height: 76px;
    padding: 10px 20px;
  }

  body[data-page="home"] .brand {
    width: min(304px, calc(100vw - 88px));
    min-width: 0;
  }

  body[data-page="home"] .sample-brand-mark {
    width: 34px;
    height: 29px;
    gap: 3px;
  }

  body[data-page="home"] .sample-brand-mark i {
    width: 8px;
  }

  body[data-page="home"] .sample-brand-mark i:nth-child(1) {
    height: 12px;
  }

  body[data-page="home"] .sample-brand-mark i:nth-child(2) {
    height: 19px;
  }

  body[data-page="home"] .sample-brand-mark i:nth-child(3) {
    height: 27px;
  }

  body[data-page="home"] .sample-brand-mark::after {
    width: 10px;
    height: 10px;
    border-top-width: 3px;
    border-right-width: 3px;
  }

  body[data-page="home"] .sample-brand-word {
    font-size: clamp(1.32rem, 6vw, 1.72rem);
  }

  body[data-page="home"] .main-nav a span {
    margin-left: 4px;
  }

  body[data-page="home"] .sample-hero {
    min-height: auto;
    padding: 26px 20px 38px;
    max-width: 100vw;
  }

  body[data-page="home"] .sample-hero .hero-grid {
    grid-template-areas:
      "copy"
      "media";
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    min-height: auto;
    overflow: hidden;
  }

  body[data-page="home"] .sample-hero .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: 720px;
    padding: 0;
    gap: 16px;
  }

  body[data-page="home"] .sample-hero .eyebrow {
    max-width: 100%;
    font-size: clamp(0.78rem, 3.3vw, 1rem);
  }

  body[data-page="home"] .sample-hero h1 {
    width: 100%;
    max-width: 760px;
    font-size: clamp(1.8rem, 5.6vw, 3rem);
    line-height: 1.14;
    overflow-wrap: normal;
  }

  body[data-page="home"] .sample-hero .hero-actions {
    gap: 14px;
    margin-top: 4px;
  }

  body[data-page="home"] .sample-hero .btn {
    min-width: min(250px, 100%);
    min-height: 54px;
    font-size: 1rem;
  }

  body[data-page="home"] .sample-hero-media {
    width: 100%;
    min-width: 0;
    min-height: clamp(360px, 72vw, 560px);
    aspect-ratio: 1.25 / 1;
    overflow: hidden;
  }

  body[data-page="home"] .hero-watermark--project {
    top: 22px;
    left: -24px;
    font-size: clamp(3.8rem, 15vw, 7rem);
  }

  body[data-page="home"] .hero-watermark--cma {
    top: 128px;
    left: -26px;
    font-size: clamp(3.5rem, 14vw, 6.6rem);
  }

  body[data-page="home"] .hero-watermark--subsidy {
    top: 300px;
    right: -160px;
    font-size: clamp(2.6rem, 10vw, 5rem);
  }

  body[data-page="home"] .hero-watermark--banking {
    bottom: 160px;
    font-size: clamp(2.2rem, 9vw, 4.2rem);
  }

  body[data-page="home"] .hero-watermark--industry {
    bottom: 58px;
    font-size: clamp(2.9rem, 11vw, 5rem);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .site-header {
    min-height: 70px;
    padding: 9px 16px;
  }

  body[data-page="home"] .brand {
    width: min(286px, calc(100vw - 78px));
  }

  body[data-page="home"] .sample-hero {
    padding: 22px 15px 34px;
    width: 100%;
    overflow-x: hidden;
  }

  body[data-page="home"] .sample-hero .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 13px;
  }

  body[data-page="home"] .sample-hero .hero-grid,
  body[data-page="home"] .sample-hero .hero-copy,
  body[data-page="home"] .sample-hero .hero-actions,
  body[data-page="home"] .sample-hero h1 {
    max-width: min(100%, 330px);
  }

  body[data-page="home"] .sample-hero .hero-grid {
    margin-right: 0;
    margin-left: 0;
  }

  body[data-page="home"] .sample-hero .eyebrow {
    max-width: min(100%, 330px);
  }

  body[data-page="home"] .sample-hero h1 {
    max-width: min(100%, 330px);
    font-size: clamp(1.18rem, 5vw, 1.48rem);
    line-height: 1.18;
    overflow-wrap: break-word;
  }

  body[data-page="home"] .sample-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  body[data-page="home"] .sample-hero .btn {
    width: 100%;
    min-height: 50px;
  }

  body[data-page="home"] .sample-hero-media {
    min-height: clamp(330px, 86vw, 430px);
    margin-top: 2px;
  }

  body[data-page="home"] .doc-card strong {
    font-size: clamp(0.62rem, 2.55vw, 0.92rem);
  }

  body[data-page="home"] .doc-card small,
  body[data-page="home"] .doc-card ul,
  body[data-page="home"] .doc-cma table,
  body[data-page="home"] .industry-book small {
    font-size: clamp(0.32rem, 1.55vw, 0.48rem);
  }

  body[data-page="home"] .doc-card ul {
    gap: 5px;
  }

  body[data-page="home"] .doc-project {
    top: 16%;
    left: 11%;
    width: 55%;
  }

  body[data-page="home"] .doc-cma {
    top: 39%;
    left: 5%;
    width: 39%;
  }

  body[data-page="home"] .doc-subsidy {
    left: 39%;
    width: 38%;
  }

  body[data-page="home"] .doc-banking {
    right: -2%;
    width: 32%;
  }

  body[data-page="home"] .industry-book {
    left: 34%;
    width: 44%;
  }

  body[data-page="home"] .hero-watermark {
    color: rgba(84, 173, 220, 0.085);
  }

  body[data-page="home"] .hero-watermark--mint {
    color: rgba(88, 190, 156, 0.085);
  }
}

/* Restore the original generated header; keep only the added language control. */
body[data-page="home"] .site-shell {
  width: min(calc(100% - 48px), 1440px);
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: clip;
  overflow-x: hidden;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

body[data-page="home"] .site-header {
  min-height: 84px;
  gap: 18px;
  padding: 16px clamp(24px, 3.2vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 235, 0.8);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

body[data-page="home"] .brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  width: 132px;
  min-width: 110px;
}

body[data-page="home"] .brand-logo {
  display: block;
  width: min(116px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

body[data-page="home"] .brand-tagline {
  display: block;
  color: var(--text-2);
  font-size: 0.64rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

body[data-page="home"] .sample-brand-mark,
body[data-page="home"] .sample-brand-word {
  display: none;
}

body[data-page="home"] .main-nav {
  position: static;
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.02vw, 15px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .main-nav a {
  min-height: 0;
  padding: 0;
  color: var(--navy);
  font-size: clamp(0.72rem, 0.78vw, 0.86rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

body[data-page="home"] .main-nav a:hover,
body[data-page="home"] .main-nav a.is-active,
body[data-page="home"] .main-nav a[aria-current="page"] {
  color: var(--teal);
}

body[data-page="home"] .main-nav a:not(.nav-cta)::after {
  bottom: -8px;
  height: 2px;
  background: var(--teal);
}

body[data-page="home"] .main-nav .nav-cta {
  min-height: 42px;
  padding-inline: 12px;
  border-radius: 9px;
}

.language-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 24px 7px 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  white-space: nowrap;
}

.language-control span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1;
}

.language-control select {
  width: 56px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1;
  appearance: none;
  cursor: pointer;
}

.language-control::after {
  content: "+";
  position: absolute;
  right: 9px;
  top: 50%;
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-50%);
  pointer-events: none;
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-gadget {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body {
  top: 0 !important;
}

body[data-page="home"] .sample-keyword-rotator {
  z-index: 10;
}

body[data-page="home"] .sample-keyword-rotator .hero-keyword,
body[data-page="home"] .sample-keyword-rotator .hero-keyword-static {
  top: 58%;
  left: 2%;
  max-width: min(360px, 58%);
  border: 1px solid rgba(0, 155, 140, 0.28);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.08);
  color: var(--navy);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.82rem, 1.08vw, 1.05rem);
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

body[data-page="home"] .sample-keyword-rotator .hero-keyword {
  --keyword-travel: clamp(72px, 13vw, 178px);
  opacity: 0;
  transform: translate3d(-18px, -50%, 0);
  animation: homeSampleKeywordTravel 16s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

body[data-page="home"] .sample-keyword-rotator .hero-keyword--two {
  animation-delay: 4s;
}

body[data-page="home"] .sample-keyword-rotator .hero-keyword--three {
  animation-delay: 8s;
}

body[data-page="home"] .sample-keyword-rotator .hero-keyword--four {
  animation-delay: 12s;
}

body[data-page="home"] .sample-keyword-rotator .hero-keyword-static {
  display: none;
  transform: translate3d(0, -50%, 0);
  white-space: normal;
}

@keyframes homeSampleKeywordTravel {
  0% {
    opacity: 0;
    transform: translate3d(-18px, -50%, 0);
  }

  7% {
    opacity: 1;
    transform: translate3d(var(--keyword-travel), -50%, 0);
  }

  22% {
    opacity: 1;
    transform: translate3d(var(--keyword-travel), -50%, 0);
  }

  28% {
    opacity: 0;
    transform: translate3d(calc(var(--keyword-travel) + 18px), -50%, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(var(--keyword-travel) + 18px), -50%, 0);
  }
}

@media (max-width: 1220px) and (min-width: 981px) {
  body[data-page="home"] .site-shell {
    width: min(calc(100% - 32px), 1440px);
    margin: 16px auto;
  }

  body[data-page="home"] .site-header {
    min-height: 78px;
    padding: 12px 24px;
  }

  body[data-page="home"] .brand {
    align-items: flex-start;
    width: 118px;
    min-width: 98px;
  }

  body[data-page="home"] .brand-logo {
    width: 104px;
  }

  body[data-page="home"] .brand-tagline {
    font-size: 0.6rem;
    text-align: left;
  }

  body[data-page="home"] .menu-toggle {
    position: absolute;
    top: 50%;
    right: 24px;
    z-index: 45;
    display: inline-flex !important;
    transform: translateY(-50%);
  }

  body[data-page="home"] .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
  }

  body[data-page="home"] .site-header.is-menu-open .main-nav {
    display: flex;
  }

  body[data-page="home"] .main-nav a,
  body[data-page="home"] .language-control {
    min-height: 44px;
    width: 100%;
    padding: 12px 10px;
  }

  body[data-page="home"] .language-control select {
    width: 100%;
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .site-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  body[data-page="home"] .site-header {
    min-height: 74px;
    padding: 10px 18px;
  }

  body[data-page="home"] .brand {
    align-items: flex-start;
    width: 118px;
    min-width: 98px;
  }

  body[data-page="home"] .brand-logo {
    width: 104px;
  }

  body[data-page="home"] .brand-tagline {
    font-size: 0.6rem;
    text-align: left;
  }

  body[data-page="home"] .menu-toggle {
    position: absolute;
    top: 50%;
    right: max(18px, calc(100vw - 342px));
    z-index: 45;
    display: inline-flex !important;
    transform: translateY(-50%);
  }

  body[data-page="home"] .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
  }

  body[data-page="home"] .site-header.is-menu-open .main-nav {
    display: flex;
  }

  body[data-page="home"] .main-nav a,
  body[data-page="home"] .language-control {
    min-height: 44px;
    width: 100%;
    padding: 12px 10px;
  }

  body[data-page="home"] .language-control select {
    width: 100%;
  }

  body[data-page="home"] .sample-keyword-rotator .hero-keyword,
  body[data-page="home"] .sample-keyword-rotator .hero-keyword-static {
    top: 47%;
    left: 5%;
    max-width: min(300px, 78%);
    font-size: clamp(0.72rem, 3.1vw, 0.9rem);
    white-space: normal;
  }

  body[data-page="home"] .sample-keyword-rotator .hero-keyword {
    --keyword-travel: clamp(24px, 9vw, 56px);
  }
}

/* Home refinement: keep original menu styling, make it sticky, and compact only the hero. */
body[data-page="home"] .site-shell {
  overflow: visible;
}

body[data-page="home"] .site-header {
  position: sticky;
  top: 0;
  z-index: 90;
}

.main-nav .language-control {
  flex: 0 0 auto;
}

.language-control {
  min-height: 32px;
  padding: 6px 22px 6px 8px;
  border-radius: 9px;
}

.language-control span {
  font-size: 0.66rem;
}

.language-control select {
  width: 62px;
  font-size: 0.72rem;
}

body > .skiptranslate {
  display: none !important;
}

body[data-page="home"] .sample-hero {
  min-height: clamp(400px, 56vh, 500px);
  padding-top: clamp(14px, 2vw, 28px);
  padding-bottom: 18px;
  overflow: hidden;
}

body[data-page="home"] .sample-hero .hero-grid {
  min-height: clamp(390px, 54vh, 492px);
  gap: clamp(8px, 1.4vw, 22px);
  align-items: center;
}

body[data-page="home"] .sample-hero .hero-copy {
  max-width: 520px;
  padding-top: 0;
  gap: 12px;
}

body[data-page="home"] .sample-hero .eyebrow {
  font-size: clamp(0.74rem, 0.84vw, 0.95rem);
}

body[data-page="home"] .sample-hero h1 {
  max-width: 520px;
  font-size: clamp(1.3rem, 1.66vw, 2.05rem);
  line-height: 1.18;
}

body[data-page="home"] .sample-hero .hero-actions {
  gap: 18px;
  margin-top: 8px;
}

body[data-page="home"] .sample-hero .btn {
  min-width: clamp(180px, 16vw, 240px);
  min-height: 48px;
  font-size: clamp(0.9rem, 0.98vw, 1.05rem);
}

body[data-page="home"] .sample-hero-media {
  align-self: center;
  min-height: clamp(340px, 32vw, 430px);
}

body[data-page="home"] main > .section.white:first-of-type {
  padding-top: clamp(24px, 3vw, 34px);
}

body[data-page="home"] main > .section.white:first-of-type .section-title h2 {
  margin: 0 0 clamp(16px, 2vw, 22px);
}

body[data-page="home"] .sample-hero + .section.white {
  padding-top: clamp(18px, 2.2vw, 26px);
}

body[data-page="home"] .sample-hero + .section.white .section-title h2 {
  margin: 0 0 clamp(14px, 1.7vw, 20px);
}

body[data-page="home"] .bank-roof span {
  width: 42px;
  height: 42px;
  font-size: 1.55rem;
}

body[data-page="home"] .doc-card strong {
  font-size: clamp(0.56rem, 0.78vw, 0.82rem);
}

body[data-page="home"] .doc-card small {
  margin-top: 7px;
  font-size: clamp(0.3rem, 0.39vw, 0.45rem);
}

body[data-page="home"] .doc-card ul {
  gap: 5px;
  font-size: clamp(0.3rem, 0.48vw, 0.52rem);
}

body[data-page="home"] .doc-cma table {
  font-size: clamp(0.25rem, 0.36vw, 0.42rem);
}

body[data-page="home"] .doc-cma td {
  padding: 3px 3px;
}

body[data-page="home"] .emblem {
  font-size: clamp(1.35rem, 2.25vw, 2.2rem);
}

body[data-page="home"] .industry-book strong {
  font-size: clamp(0.66rem, 1vw, 1.05rem);
}

body[data-page="home"] .industry-book small {
  font-size: clamp(0.3rem, 0.45vw, 0.48rem);
}

@media (max-width: 1220px) and (min-width: 981px) {
  body[data-page="home"] .sample-hero {
    min-height: clamp(390px, 55vh, 480px);
  }

  body[data-page="home"] .sample-hero .hero-grid {
    min-height: clamp(380px, 53vh, 470px);
    grid-template-columns: minmax(0, 47%) minmax(0, 53%);
  }

  body[data-page="home"] .sample-hero h1 {
    font-size: clamp(1.22rem, 1.72vw, 1.8rem);
  }

  body[data-page="home"] .sample-hero-media {
    min-height: clamp(330px, 34vw, 405px);
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .sample-hero {
    padding: 18px 18px 24px;
  }

  body[data-page="home"] .sample-hero .hero-grid {
    gap: 14px;
  }

  body[data-page="home"] .sample-hero .hero-copy {
    gap: 11px;
  }

  body[data-page="home"] .sample-hero h1 {
    font-size: clamp(1.12rem, 4.4vw, 1.45rem);
  }

  body[data-page="home"] .sample-hero .btn {
    min-height: 46px;
    font-size: 0.9rem;
  }

  body[data-page="home"] .sample-hero-media {
    min-height: clamp(270px, 63vw, 380px);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .sample-hero {
    padding: 16px 15px 22px;
  }

  body[data-page="home"] .sample-hero .hero-grid,
  body[data-page="home"] .sample-hero .hero-copy,
  body[data-page="home"] .sample-hero .hero-actions,
  body[data-page="home"] .sample-hero h1 {
    max-width: min(100%, 348px);
  }

  body[data-page="home"] .sample-hero .eyebrow {
    font-size: clamp(0.7rem, 2.7vw, 0.82rem);
  }

  body[data-page="home"] .sample-hero h1 {
    font-size: clamp(1.02rem, 4.05vw, 1.22rem);
  }

  body[data-page="home"] .sample-hero .hero-actions {
    gap: 9px;
  }

  body[data-page="home"] .sample-hero .btn {
    min-height: 44px;
  }

  body[data-page="home"] .sample-hero-media {
    min-height: clamp(255px, 70vw, 330px);
  }
}

/* Compact non-translated language picker and always-visible contact launcher. */
.main-nav .language-control.notranslate,
.language-control.notranslate {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--navy);
  white-space: nowrap;
}

.language-control.notranslate::after {
  content: none;
}

.language-control__button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
}

.language-control__label {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 800;
}

.language-control__code {
  min-width: 18px;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.language-control__button::after {
  content: "+";
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.language-control.is-open .language-control__button::after {
  content: "-";
}

.language-control__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 140;
  display: grid;
  width: min(220px, calc(100vw - 28px));
  max-height: min(360px, calc(100vh - 140px));
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(16, 42, 67, 0.16);
}

.language-control__menu[hidden] {
  display: none;
}

.language-control__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 8px 9px;
  background: transparent;
  color: var(--navy);
  text-align: left;
}

.language-control__option:hover,
.language-control__option.is-active {
  background: var(--teal-light);
  color: var(--teal-hover);
}

.language-control__option span {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
}

.language-control__option small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.team-connect {
  z-index: 160;
}

body[data-page="home"] .team-connect__launcher {
  display: inline-flex;
}

body[data-page="home"].has-team-connect .footer {
  padding-bottom: clamp(78px, 7vw, 104px);
}

@media (max-width: 1220px) {
  body[data-page="home"] .site-header.is-menu-open .language-control__menu,
  .site-header.is-menu-open .language-control__menu {
    position: static;
    width: 100%;
    max-height: 260px;
    margin-top: 6px;
  }

  body[data-page="home"] .main-nav .language-control.notranslate,
  .main-nav .language-control.notranslate {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  .language-control__button {
    justify-content: center;
    width: 100%;
    min-height: 40px;
  }
}

/* Homepage hero text polish requested for the platform line and main heading. */
body[data-page="home"] .sample-hero .hero-platform-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.32em;
  max-width: min(100%, 700px);
  color: #007f78;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.82rem, 0.96vw, 1.08rem);
  font-weight: 850;
  line-height: 1.16;
}

body[data-page="home"] .hero-platform-brand {
  display: inline-flex;
  align-items: baseline;
  font-weight: 900;
}

body[data-page="home"] .hero-platform-brand__my {
  color: #064c85;
}

body[data-page="home"] .hero-platform-brand__industry {
  color: #008f86;
}

body[data-page="home"] .hero-platform-brand__desk {
  color: #16315c;
}

body[data-page="home"] .hero-platform-separator {
  color: #34a69b;
}

body[data-page="home"] .sample-hero h1 {
  max-width: 650px;
  color: #071f53;
  font-family: Georgia, "Times New Roman", "Segoe UI", serif;
  font-size: clamp(1.62rem, 2.08vw, 2.56rem);
  font-weight: 700;
  line-height: 1.14;
  text-wrap: balance;
}

@media (max-width: 1220px) and (min-width: 981px) {
  body[data-page="home"] .sample-hero h1 {
    max-width: 560px;
    font-size: clamp(1.52rem, 2.15vw, 2.25rem);
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .sample-hero .hero-platform-line {
    font-size: clamp(0.76rem, 3vw, 0.95rem);
  }

  body[data-page="home"] .sample-hero h1 {
    font-size: clamp(1.28rem, 5.45vw, 1.82rem);
    line-height: 1.13;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .sample-hero .hero-platform-line {
    gap: 0.22em;
    max-width: min(100%, 348px);
    font-size: clamp(0.72rem, 2.9vw, 0.86rem);
  }

  body[data-page="home"] .sample-hero h1 {
    font-size: clamp(1.18rem, 4.85vw, 1.48rem);
    line-height: 1.14;
  }
}

/* 2026-07-23 compact, sharp first-screen homepage hero.
   Scoped to the photo hero so navigation, hamburger and other pages are unchanged. */
body[data-page="home"] .photo-hero {
  display: block;
  padding: clamp(7px, 1vw, 12px) clamp(10px, 1.8vw, 26px) clamp(7px, 1vw, 12px);
  background:
    linear-gradient(180deg, rgba(238, 247, 248, 0.92), rgba(255, 255, 255, 0.98));
}

body[data-page="home"] .photo-hero__frame {
  width: min(100%, 1672px);
  margin-inline: auto;
}

body[data-page="home"] .photo-hero__picture,
body[data-page="home"] .photo-hero__image {
  display: block;
}

body[data-page="home"] .photo-hero__picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(11, 42, 81, 0.09);
  border-radius: clamp(12px, 1.3vw, 20px);
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(12, 40, 73, 0.12);
}

body[data-page="home"] .photo-hero__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 216px);
  object-fit: contain;
}

body[data-page="home"] .photo-hero__mobile-copy {
  display: none;
}

body[data-page="home"] .photo-hero__actions {
  justify-content: flex-start;
  width: min(54%, 760px);
  margin: clamp(7px, 0.8vw, 10px) 0 0;
  padding-left: clamp(4px, 3.7vw, 62px);
}

body[data-page="home"] .photo-hero__actions .btn {
  min-width: clamp(150px, 13vw, 190px);
  min-height: 46px;
}

@media (max-width: 760px) {
  .checklist-category-items {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .photo-hero {
    padding: 6px 8px 8px;
  }

  body[data-page="home"] .photo-hero__mobile-copy {
    display: block;
    padding: 9px 12px 10px;
    background: #ffffff;
    color: var(--navy);
  }

  body[data-page="home"] .photo-hero__mobile-copy p,
  body[data-page="home"] .photo-hero__mobile-copy h1 {
    margin: 0;
  }

  body[data-page="home"] .photo-hero__mobile-copy .photo-hero__kicker {
    color: var(--navy);
    font-size: clamp(0.8rem, 3.45vw, 0.96rem);
    font-weight: 750;
    line-height: 1.22;
  }

  body[data-page="home"] .photo-hero__mobile-copy h1 {
    margin: 1px 0 3px;
    color: #068e89;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 0.98;
  }

  body[data-page="home"] .photo-hero__mobile-copy p:last-child {
    max-width: 42rem;
    color: #173558;
    font-size: clamp(0.68rem, 2.8vw, 0.82rem);
    font-weight: 600;
    line-height: 1.28;
  }

  body[data-page="home"] .photo-hero__picture {
    position: relative;
    display: block;
    height: clamp(112px, 31vw, 146px);
    border-radius: 12px;
  }

  body[data-page="home"] .photo-hero__image {
    position: absolute;
    top: 50%;
    right: 0;
    width: 200%;
    max-width: none;
    height: auto;
    max-height: none;
    transform: translateY(-50%);
  }

  body[data-page="home"] .photo-hero__actions {
    justify-content: center;
    width: 100%;
    margin-top: 7px;
    padding-left: 0;
    gap: 8px;
  }

  body[data-page="home"] .photo-hero__actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 10px 9px;
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] .photo-hero__mobile-copy {
    padding-inline: 10px;
  }

  body[data-page="home"] .photo-hero__actions .btn {
    font-size: 0.78rem;
  }
}

/* Persistent signed-in user indicator restored on top of the authentication fix. */
.session-login-pending {
  visibility: hidden !important;
}

.user-session-slot {
  position: relative;
  z-index: 55;
  flex: 0 0 auto;
  min-width: 42px;
}

.user-session-skeleton {
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(5, 150, 136, 0.18);
  border-radius: 50%;
  background: linear-gradient(110deg, #eef8f7 25%, #f7fbfb 45%, #eef8f7 65%);
  background-size: 200% 100%;
  animation: mid-session-loading 1.2s linear infinite;
}

@keyframes mid-session-loading {
  to {
    background-position-x: -200%;
  }
}

.user-session-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 3px 9px 3px 3px;
  border: 1px solid rgba(5, 150, 136, 0.18);
  border-radius: 999px;
  background: rgba(242, 251, 250, 0.96);
  color: var(--navy);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(13, 45, 75, 0.08);
}

.user-session-button:hover,
.user-session-button:focus-visible,
.user-session-slot.is-open .user-session-button {
  border-color: rgba(5, 150, 136, 0.45);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 136, 0.11), 0 8px 22px rgba(13, 45, 75, 0.1);
}

.user-session-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), #0a7b72);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.user-session-online-dot {
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: #22a85a;
}

.user-session-label {
  display: grid;
  gap: 1px;
  min-width: 0;
  text-align: left;
  line-height: 1.1;
}

.user-session-label strong {
  max-width: 96px;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-session-label small {
  color: var(--text-2);
  font-size: 0.65rem;
  font-weight: 600;
}

.user-session-chevron {
  color: var(--teal);
  font-size: 0.8rem;
  transition: transform 160ms ease;
}

.user-session-slot.is-open .user-session-chevron {
  transform: rotate(180deg);
}

.user-session-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(286px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(13, 45, 75, 0.17);
}

.user-session-identity {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(145deg, rgba(5, 150, 136, 0.08), rgba(255, 255, 255, 0.94));
}

.user-session-identity strong,
.user-session-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-session-identity strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.user-session-identity span {
  color: var(--text-2);
  font-size: 0.78rem;
}

.user-session-menu a,
.user-session-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.user-session-menu a:hover,
.user-session-menu a:focus-visible,
.user-session-menu button:hover,
.user-session-menu button:focus-visible {
  background: rgba(5, 150, 136, 0.08);
  color: var(--teal);
  outline: none;
}

.user-session-menu button:last-child {
  border-bottom: 0;
  color: #a83d3d;
}

@media (max-width: 1220px) {
  .user-session-slot {
    order: 2;
    margin-left: auto;
  }

  .menu-toggle {
    order: 3;
  }

  .main-nav {
    order: 4;
  }

  .user-session-label,
  .user-session-chevron {
    display: none;
  }

  .user-session-button {
    min-height: 40px;
    padding: 2px;
    border-radius: 50%;
  }

  .user-session-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}

@media (max-width: 560px) {
  .user-session-slot {
    min-width: 36px;
  }

  .user-session-skeleton {
    width: 36px;
    height: 36px;
  }

  .user-session-menu {
    position: fixed;
    top: 76px;
    right: 16px;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .user-session-skeleton {
    animation: none;
  }
}

/* 2026-07-24 semantic MyIndustryDesk hero.
   The production artwork is text-free; every visible word below is live HTML. */
body[data-page="home"] .site-shell {
  overflow-x: clip;
}

body[data-page="home"] .mid-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(590px, calc(100svh - 108px), 720px);
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 46px) clamp(26px, 5.2vw, 76px);
  background-color: #f8fbfc;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.995) 0%,
      rgba(255, 255, 255, 0.985) 37%,
      rgba(255, 255, 255, 0.9) 49%,
      rgba(255, 255, 255, 0.48) 61%,
      rgba(255, 255, 255, 0.04) 77%
    ),
    url("images/myindustrydesk-hero-embedded-right-1672.webp");
  background-position: center, center right;
  background-repeat: no-repeat;
  background-size: cover;
}

body[data-page="home"] .mid-hero__content {
  position: relative;
  z-index: 1;
  width: min(49%, 650px);
  color: #092c5c;
}

body[data-page="home"] .mid-hero__mobile-visual {
  display: none;
}

body[data-page="home"] .mid-hero__brand {
  margin: 0 0 4px;
  color: #061f43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.85vw, 1.82rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

body[data-page="home"] .mid-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: #061f43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.25vw, 3.12rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

body[data-page="home"] .mid-hero__focus {
  display: block;
  margin-top: 3px;
  color: #079a99;
  font-size: clamp(3.6rem, 6.2vw, 6.35rem);
  letter-spacing: -0.055em;
  line-height: 0.88;
}

body[data-page="home"] .mid-hero__supporting {
  max-width: 57ch;
  margin: clamp(9px, 1.3vw, 15px) 0 0;
  color: #16395f;
  font-size: clamp(0.84rem, 1.04vw, 1.02rem);
  font-weight: 570;
  line-height: 1.42;
}

body[data-page="home"] .mid-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin-top: clamp(12px, 1.7vw, 20px);
}

body[data-page="home"] .mid-feature {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 8px 7px 0;
  border-bottom: 1px solid rgba(204, 151, 43, 0.35);
}

body[data-page="home"] .mid-feature svg {
  width: 32px;
  height: 32px;
  padding: 5px;
  border-radius: 50%;
  background: #092c5c;
  fill: none;
  stroke: #f0bf55;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

body[data-page="home"] .mid-feature h2,
body[data-page="home"] .mid-feature p {
  margin: 0;
}

body[data-page="home"] .mid-feature h2 {
  color: #061f43;
  font-size: clamp(0.75rem, 0.84vw, 0.9rem);
  font-weight: 760;
  line-height: 1.18;
}

body[data-page="home"] .mid-feature p {
  margin-top: 2px;
  color: #35536f;
  font-size: clamp(0.66rem, 0.72vw, 0.76rem);
  font-weight: 570;
  line-height: 1.25;
}

body[data-page="home"] .mid-hero__trust {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 500px;
  margin-top: clamp(12px, 1.7vw, 20px);
  padding: 9px 13px;
  border: 1px solid rgba(204, 151, 43, 0.45);
  border-radius: 10px;
  background: linear-gradient(120deg, #061f43, #092c5c);
  box-shadow: 0 9px 22px rgba(6, 31, 67, 0.14);
}

body[data-page="home"] .mid-hero__trust svg {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #f0bf55;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

body[data-page="home"] .mid-hero__trust p {
  display: grid;
  gap: 1px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.76rem, 0.88vw, 0.9rem);
  line-height: 1.24;
}

body[data-page="home"] .mid-hero__trust strong {
  font-weight: 700;
}

body[data-page="home"] .mid-hero__trust span {
  color: #f2c45e;
  font-weight: 760;
}

body[data-page="home"] .mid-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(12px, 1.7vw, 20px);
}

body[data-page="home"] .mid-hero__actions .btn {
  min-width: 158px;
  min-height: 44px;
  border-radius: 8px;
}

body[data-page="home"] .mid-hero__actions .btn.secondary {
  border-color: #092c5c;
  color: #092c5c;
}

body[data-page="home"] .mid-hero__actions .btn:focus-visible {
  outline: 3px solid rgba(7, 154, 153, 0.34);
  outline-offset: 3px;
}

@media (max-width: 1100px) and (min-width: 761px) {
  body[data-page="home"] .mid-hero {
    min-height: 650px;
    padding-inline: clamp(24px, 4.4vw, 46px);
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.995) 42%,
        rgba(255, 255, 255, 0.92) 55%,
        rgba(255, 255, 255, 0.5) 70%,
        rgba(255, 255, 255, 0.12) 87%
      ),
      url("images/myindustrydesk-hero-embedded-right-1672.webp");
    background-position: center, 61% center;
  }

  body[data-page="home"] .mid-hero__content {
    width: min(56%, 580px);
  }

  body[data-page="home"] .mid-hero h1 {
    font-size: clamp(1.9rem, 3.9vw, 2.75rem);
  }

  body[data-page="home"] .mid-hero__focus {
    font-size: clamp(3.7rem, 8vw, 5.5rem);
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .mid-hero {
    display: block;
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: #ffffff;
  }

  body[data-page="home"] .mid-hero__mobile-visual {
    display: block;
    width: 100%;
    height: clamp(138px, 39vw, 190px);
    overflow: hidden;
    background: #f5f8fa;
  }

  body[data-page="home"] .mid-hero__mobile-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 77% 55%;
  }

  body[data-page="home"] .mid-hero__content {
    width: 100%;
    padding: 15px clamp(14px, 4.7vw, 22px) 20px;
    background: #ffffff;
  }

  body[data-page="home"] .mid-hero__brand {
    margin-bottom: 2px;
    font-size: clamp(1.06rem, 4.7vw, 1.32rem);
  }

  body[data-page="home"] .mid-hero h1 {
    max-width: 19ch;
    font-size: clamp(1.52rem, 6.8vw, 2rem);
    line-height: 1.02;
  }

  body[data-page="home"] .mid-hero__focus {
    margin-top: 2px;
    font-size: clamp(3.05rem, 15.5vw, 4.35rem);
    line-height: 0.9;
  }

  body[data-page="home"] .mid-hero__supporting {
    margin-top: 8px;
    font-size: clamp(0.75rem, 3.3vw, 0.9rem);
    line-height: 1.34;
  }

  body[data-page="home"] .mid-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 9px;
    margin-top: 10px;
  }

  body[data-page="home"] .mid-feature {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 6px;
    padding: 6px 2px 6px 0;
  }

  body[data-page="home"] .mid-feature svg {
    width: 27px;
    height: 27px;
    padding: 4px;
  }

  body[data-page="home"] .mid-feature h2 {
    font-size: clamp(0.68rem, 3vw, 0.8rem);
  }

  body[data-page="home"] .mid-feature p {
    font-size: clamp(0.59rem, 2.55vw, 0.7rem);
  }

  body[data-page="home"] .mid-hero__trust {
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
  }

  body[data-page="home"] .mid-hero__trust svg {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  body[data-page="home"] .mid-hero__trust p {
    font-size: clamp(0.69rem, 2.9vw, 0.8rem);
  }

  body[data-page="home"] .mid-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 11px;
  }

  body[data-page="home"] .mid-hero__actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }
}

@media (max-width: 340px) {
  body[data-page="home"] .mid-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .mid-hero *,
  body[data-page="home"] .mid-hero *::before,
  body[data-page="home"] .mid-hero *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 2026-07-24 right-side hero labels and above-the-fold viewport fit.
   Every decorative label is absolutely positioned over the text-free artwork. */
body[data-page="home"] {
  --mid-header-height: 84px;
  --mid-shell-vertical-space: 48px;
}

body[data-page="home"] .mid-hero {
  box-sizing: border-box;
  height: calc(100vh - var(--mid-header-height) - var(--mid-shell-vertical-space));
  height: calc(100svh - var(--mid-header-height) - var(--mid-shell-vertical-space));
  min-height: 548px;
  max-height: 720px;
  padding-block: clamp(16px, 2.7vh, 34px);
}

body[data-page="home"] .mid-hero__content {
  z-index: 2;
}

body[data-page="home"] .mid-hero__visual-overlays {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}

body[data-page="home"] .mid-laptop {
  position: absolute;
  top: 27%;
  left: 54.4%;
  width: 27.2%;
  height: 35.5%;
  color: #092c5c;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
}

body[data-page="home"] .mid-laptop__label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 15px;
  padding: 2px 5px;
  border: 1px solid rgba(9, 44, 92, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 7px rgba(6, 31, 67, 0.08);
  color: #092c5c;
  font-size: clamp(0.43rem, 0.54vw, 0.66rem);
  font-weight: 760;
  letter-spacing: 0.005em;
  line-height: 1.05;
  white-space: nowrap;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body[data-page="home"] .mid-laptop__label--report {
  top: 5%;
  left: 3%;
}

body[data-page="home"] .mid-laptop__label--cma {
  top: 5%;
  left: 49%;
  transform: translateX(-24%);
}

body[data-page="home"] .mid-laptop__label--status {
  top: 6%;
  right: 0;
  gap: 3px;
}

body[data-page="home"] .mid-laptop__status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #079a99;
  box-shadow: 0 0 0 2px rgba(7, 154, 153, 0.13);
}

body[data-page="home"] .mid-laptop__label--recent {
  top: 53%;
  left: 2%;
}

body[data-page="home"] .mid-laptop__label--policy {
  top: 53%;
  left: 57%;
}

body[data-page="home"] .mid-report {
  position: absolute;
  top: 74.8%;
  left: 56.5%;
  width: 18%;
  height: 12%;
  color: #092c5c;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  transform: rotate(5.2deg) skewX(-2deg);
  transform-origin: 50% 50%;
}

body[data-page="home"] .mid-report__title {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 5px;
  border-left: 2px solid #cc972b;
  background: rgba(255, 255, 255, 0.76);
  color: #092c5c;
  font-size: clamp(0.45rem, 0.57vw, 0.68rem);
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-rendering: geometricPrecision;
}

body[data-page="home"] .mid-report__chart {
  position: absolute;
  top: 37%;
  left: 3%;
  display: flex;
  align-items: flex-end;
  gap: clamp(2px, 0.22vw, 4px);
  width: 43%;
  height: 42%;
  padding: 2px 4px;
  border-bottom: 1px solid rgba(9, 44, 92, 0.3);
  background: rgba(255, 255, 255, 0.58);
}

body[data-page="home"] .mid-report__chart i {
  display: block;
  width: 12%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #079a99, #092c5c);
}

body[data-page="home"] .mid-report__chart i:nth-child(1) {
  height: 30%;
}

body[data-page="home"] .mid-report__chart i:nth-child(2) {
  height: 48%;
}

body[data-page="home"] .mid-report__chart i:nth-child(3) {
  height: 42%;
}

body[data-page="home"] .mid-report__chart i:nth-child(4) {
  height: 70%;
}

body[data-page="home"] .mid-report__chart i:nth-child(5) {
  height: 92%;
}

body[data-page="home"] .mid-file {
  position: absolute;
  top: 23.8%;
  right: 1.3%;
  width: 14.1%;
  height: 27%;
  color: #092c5c;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
}

body[data-page="home"] .mid-file__tab {
  position: absolute;
  right: 0;
  display: block;
  width: 96%;
  overflow: hidden;
  padding: 2px 5px;
  border-left: 3px solid rgba(7, 154, 153, 0.72);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 7px rgba(6, 31, 67, 0.07);
  color: #092c5c;
  font-size: clamp(0.38rem, 0.48vw, 0.58rem);
  font-weight: 790;
  letter-spacing: 0.025em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body[data-page="home"] .mid-file__tab--project {
  top: 0;
}

body[data-page="home"] .mid-file__tab--cma {
  top: 25%;
  right: 1%;
  border-left-color: rgba(9, 44, 92, 0.68);
}

body[data-page="home"] .mid-file__tab--policy {
  top: 50%;
  right: 2%;
  border-left-color: rgba(7, 154, 153, 0.78);
}

body[data-page="home"] .mid-file__tab--banking {
  top: 75%;
  right: 3%;
  border-left-color: rgba(204, 151, 43, 0.82);
}

@media (max-width: 1220px) {
  body[data-page="home"] {
    --mid-header-height: 78px;
    --mid-shell-vertical-space: 32px;
  }
}

@media (min-width: 992px) and (max-width: 1100px) {
  body[data-page="home"] .mid-hero__content {
    width: min(50%, 520px);
  }

  body[data-page="home"] .mid-laptop {
    top: 28.5%;
    left: 52.6%;
    width: 32.4%;
    height: 34%;
  }

  body[data-page="home"] .mid-report {
    top: 72.2%;
    left: 54.5%;
    width: 21%;
  }

  body[data-page="home"] .mid-file {
    top: 23.5%;
    right: -5.2%;
    width: 18%;
  }
}

@media (min-width: 992px) and (max-height: 800px) {
  body[data-page="home"] .mid-hero {
    padding-block: clamp(12px, 2vh, 22px);
  }

  body[data-page="home"] .mid-hero__brand {
    font-size: clamp(1.12rem, 1.55vw, 1.48rem);
  }

  body[data-page="home"] .mid-hero h1 {
    max-width: 16.5ch;
    font-size: clamp(1.86rem, 2.8vw, 2.72rem);
    line-height: 0.96;
  }

  body[data-page="home"] .mid-hero__focus {
    font-size: clamp(3.2rem, 5.3vw, 5.15rem);
  }

  body[data-page="home"] .mid-hero__supporting,
  body[data-page="home"] .mid-feature-grid,
  body[data-page="home"] .mid-hero__trust,
  body[data-page="home"] .mid-hero__actions {
    margin-top: 9px;
  }

  body[data-page="home"] .mid-feature-grid {
    gap: 4px 10px;
  }

  body[data-page="home"] .mid-feature {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 7px;
    padding-block: 5px;
  }

  body[data-page="home"] .mid-feature svg {
    width: 28px;
    height: 28px;
    padding: 4px;
  }

  body[data-page="home"] .mid-hero__trust {
    padding-block: 7px;
  }

  body[data-page="home"] .mid-hero__trust svg {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  body[data-page="home"] .mid-hero__actions .btn {
    min-height: 42px;
  }
}

@media (min-width: 992px) and (max-height: 730px) {
  body[data-page="home"] .mid-hero {
    min-height: 0;
    padding-block: 11px;
  }

  body[data-page="home"] .mid-hero__brand {
    font-size: 1.05rem;
  }

  body[data-page="home"] .mid-hero h1 {
    max-width: 17.5ch;
    font-size: clamp(1.72rem, 2.45vw, 2.35rem);
    line-height: 0.95;
  }

  body[data-page="home"] .mid-hero__focus {
    font-size: clamp(3rem, 4.8vw, 4.55rem);
  }

  body[data-page="home"] .mid-hero__supporting {
    margin-top: 7px;
    font-size: clamp(0.76rem, 0.9vw, 0.86rem);
    line-height: 1.3;
  }

  body[data-page="home"] .mid-feature-grid,
  body[data-page="home"] .mid-hero__trust,
  body[data-page="home"] .mid-hero__actions {
    margin-top: 7px;
  }

  body[data-page="home"] .mid-feature {
    grid-template-columns: 27px minmax(0, 1fr);
    padding-block: 4px;
  }

  body[data-page="home"] .mid-feature svg {
    width: 26px;
    height: 26px;
  }

  body[data-page="home"] .mid-feature h2 {
    font-size: clamp(0.71rem, 0.76vw, 0.8rem);
  }

  body[data-page="home"] .mid-feature p {
    font-size: clamp(0.62rem, 0.66vw, 0.69rem);
  }

  body[data-page="home"] .mid-hero__trust {
    min-height: 42px;
    padding: 6px 11px;
  }

  body[data-page="home"] .mid-hero__trust p {
    font-size: clamp(0.7rem, 0.76vw, 0.8rem);
  }
}

@media (max-width: 991px) {
  body[data-page="home"] {
    --mid-header-height: 74px;
    --mid-shell-vertical-space: 0px;
  }

  body[data-page="home"] .mid-hero__visual-overlays {
    display: none;
  }

  body[data-page="home"] .mid-hero {
    height: auto;
    min-height: calc(100vh - var(--mid-header-height));
    min-height: calc(100svh - var(--mid-header-height));
    max-height: none;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .mid-hero {
    min-height: 0;
  }

  body[data-page="home"] .mid-hero__mobile-visual {
    height: clamp(112px, 29vw, 142px);
  }

  body[data-page="home"] .mid-hero__content {
    display: flex;
    flex-direction: column;
    padding-block: 12px 15px;
  }

  body[data-page="home"] .mid-hero__brand,
  body[data-page="home"] .mid-hero h1,
  body[data-page="home"] .mid-hero__supporting {
    order: 0;
  }

  body[data-page="home"] .mid-hero__actions {
    order: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 9px;
  }

  body[data-page="home"] .mid-feature-grid {
    order: 2;
  }

  body[data-page="home"] .mid-hero__trust {
    order: 3;
  }

  body[data-page="home"] .mid-hero__actions .btn {
    padding-inline: 8px;
    font-size: clamp(0.76rem, 3.1vw, 0.88rem);
  }
}


/* 2026-07-24 final right-side semantic-text alignment.
   Matches the supplied reference: text sits directly on the laptop panels,
   project report page and physical file tabs instead of looking like floating cards. */
@media (min-width: 992px) {
  body[data-page="home"] .mid-laptop {
    top: 30.4%;
    left: 54.7%;
    width: 26.1%;
    height: 27.4%;
  }

  body[data-page="home"] .mid-laptop__dashboard {
    position: absolute;
    top: -9%;
    left: 1.5%;
    color: #15385f;
    font-size: clamp(0.54rem, 0.62vw, 0.74rem);
    font-weight: 800;
    letter-spacing: 0.005em;
    line-height: 1;
    white-space: nowrap;
  }

  body[data-page="home"] .mid-laptop__label {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #15385f;
    font-size: clamp(0.48rem, 0.55vw, 0.67rem);
    font-weight: 760;
    line-height: 1.05;
  }

  body[data-page="home"] .mid-laptop__label--report {
    top: 2.5%;
    left: 2.2%;
  }

  body[data-page="home"] .mid-laptop__label--cma {
    top: 2.5%;
    left: 50.2%;
    transform: none;
  }

  body[data-page="home"] .mid-laptop__label--status {
    top: 1.5%;
    right: 0.8%;
    align-items: flex-start;
    gap: 3px;
  }

  body[data-page="home"] .mid-laptop__label--status span {
    display: grid;
    gap: 1px;
  }

  body[data-page="home"] .mid-laptop__label--status small {
    color: #079a72;
    font-size: 0.82em;
    font-weight: 760;
    letter-spacing: 0;
  }

  body[data-page="home"] .mid-laptop__status-dot {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
    margin-top: 1px;
  }

  body[data-page="home"] .mid-laptop__label--recent {
    top: 55.2%;
    left: 2.1%;
  }

  body[data-page="home"] .mid-laptop__label--policy {
    top: 55.2%;
    left: 58.2%;
  }

  body[data-page="home"] .mid-laptop__documents {
    position: absolute;
    top: 66.5%;
    left: 2.1%;
    display: grid;
    gap: clamp(1px, 0.12vw, 2px);
    width: 43%;
    color: #284766;
    font-size: clamp(0.34rem, 0.36vw, 0.46rem);
    font-weight: 620;
    line-height: 1.08;
  }

  body[data-page="home"] .mid-laptop__documents small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="home"] .mid-file {
    top: 24.1%;
    right: 1.15%;
    width: 14.2%;
    height: 20.8%;
  }

  body[data-page="home"] .mid-file__tab {
    width: 96%;
    overflow: visible;
    padding: 0 4% 0 7%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #102f54;
    font-size: clamp(0.56rem, 0.68vw, 0.82rem);
    font-weight: 820;
    letter-spacing: 0.025em;
    line-height: 1;
    text-align: left;
    text-overflow: clip;
  }

  body[data-page="home"] .mid-file__tab--project {
    top: 0;
    right: 0;
    transform: rotate(0.3deg);
  }

  body[data-page="home"] .mid-file__tab--cma {
    top: 26%;
    right: 0.6%;
    transform: rotate(0.25deg);
  }

  body[data-page="home"] .mid-file__tab--policy {
    top: 52%;
    right: 1.3%;
    transform: rotate(0.15deg);
  }

  body[data-page="home"] .mid-file__tab--banking {
    top: 78%;
    right: 2%;
    transform: rotate(0.05deg);
  }

  body[data-page="home"] .mid-report {
    top: 78.1%;
    left: 57.2%;
    width: 17.2%;
    height: 10.4%;
    transform: rotate(5deg) skewX(-1.2deg);
  }

  body[data-page="home"] .mid-report__title {
    top: 0;
    left: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #15385f;
    font-size: clamp(0.58rem, 0.68vw, 0.82rem);
    font-weight: 850;
    letter-spacing: 0.075em;
  }

  body[data-page="home"] .mid-report__chart {
    top: 35%;
    left: 8%;
    width: 50%;
    height: 48%;
    background: rgba(255, 255, 255, 0.16);
  }
}

@media (min-width: 992px) and (max-width: 1100px) {
  body[data-page="home"] .mid-laptop {
    top: 31.5%;
    left: 53.6%;
    width: 30.5%;
    height: 25.5%;
  }

  body[data-page="home"] .mid-file {
    top: 24.1%;
    right: -3.8%;
    width: 17.4%;
    height: 20.5%;
  }

  body[data-page="home"] .mid-report {
    top: 77.1%;
    left: 55.6%;
    width: 20%;
  }
}


/* 2026-07-25 embedded-right hero artwork.
   The laptop dashboard, report title/charts and physical file-tab labels are
   part of the supplied artwork. Left-side headline, service copy and CTAs
   remain accessible live HTML/CSS. */
body[data-page="home"] .mid-hero__visual-overlays {
  display: none !important;
}

body[data-page="home"] .mid-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.98) 34%,
      rgba(255, 255, 255, 0.82) 43%,
      rgba(255, 255, 255, 0.28) 52%,
      rgba(255, 255, 255, 0.02) 61%
    ),
    url("images/myindustrydesk-hero-embedded-right-1672.webp");
  background-position: center, center right;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 1100px) and (min-width: 761px) {
  body[data-page="home"] .mid-hero {
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.985) 38%,
        rgba(255, 255, 255, 0.78) 48%,
        rgba(255, 255, 255, 0.22) 58%,
        rgba(255, 255, 255, 0.02) 68%
      ),
      url("images/myindustrydesk-hero-embedded-right-1672.webp");
    background-position: center, center right;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .mid-hero__mobile-visual img {
    object-position: 76% 55%;
  }
}

/* Navigation-only placement: keep the existing language logic beside the top-right navigation/hamburger. */
.site-header > .language-control {
  margin-left: auto;
}

@media (max-width: 1220px) {
  .site-header > .language-control .language-control__button {
    width: auto;
    min-height: 32px;
  }

  .site-header > .language-control .language-control__menu,
  .site-header.is-menu-open > .language-control .language-control__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(220px, calc(100vw - 28px));
    max-height: min(360px, calc(100vh - 140px));
    margin-top: 0;
  }
}


/* About Us consolidation and shared Free Consultation floating component - 2026-07-25 */
body[data-page="about"] .about-us-hero {
  padding-top: clamp(30px, 3.8vw, 50px);
  padding-bottom: clamp(26px, 3.2vw, 42px);
}

body[data-page="about"] .about-us-hero .section-inner {
  gap: 10px;
}

body[data-page="about"] .about-us-hero h1 {
  max-width: 980px;
  margin: 0;
}

body[data-page="about"] .about-us-hero__title {
  max-width: 950px;
  margin: 2px 0 0;
  color: var(--navy);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.12rem, 1.8vw, 1.55rem);
  font-weight: 750;
  line-height: 1.35;
}

body[data-page="about"] .about-us-hero .lead,
body[data-page="about"] .about-us-section .lead {
  max-width: 1080px;
}

body[data-page="about"] .about-us-section .consultation-section-head {
  display: grid;
  gap: 9px;
}

body[data-page="about"] .about-us-section .consultation-section-head h2,
body[data-page="about"] .about-us-section .consultation-section-head p {
  margin: 0;
}

body[data-page="about"] .about-vision-grid,
body[data-page="about"] .about-working-grid {
  align-items: stretch;
}

body[data-page="about"] .about-vision-grid .card,
body[data-page="about"] .about-working-grid .card,
body[data-page="about"] .about-core-team-grid .card,
body[data-page="about"] .about-professional-network-grid .card {
  height: 100%;
}

body[data-page="about"] .about-core-team-grid .consultation-profile-photo {
  object-fit: contain;
  background: var(--white);
}

body[data-page="about"] .about-network-closing {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

body[data-page="about"] .about-us-cta-section {
  padding-top: clamp(26px, 3vw, 38px);
  padding-bottom: clamp(30px, 4vw, 48px);
}

body[data-page="about"] .about-us-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

body[data-page="about"] .about-us-cta h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

body[data-page="about"] .about-us-cta .btn {
  flex: 0 0 auto;
}

/* Re-enable the single shared launcher on About Us after removing the old inline contact banner. */
body[data-page="about"] .team-connect__launcher {
  display: inline-flex;
}

body[data-page="about"].has-team-connect .footer {
  padding-bottom: clamp(78px, 7vw, 104px);
}

.team-connect {
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: block;
  max-width: calc(100vw - 32px);
}

.team-connect__launcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 210px;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--teal), var(--teal-hover));
  color: var(--white);
  box-shadow: 0 14px 32px rgba(0, 132, 119, 0.28);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.team-connect__launcher:hover {
  background: var(--teal-hover);
  box-shadow: 0 16px 36px rgba(0, 132, 119, 0.34);
  transform: translateY(-1px);
}

.team-connect__launcher:focus-visible {
  outline: 3px solid rgba(16, 42, 67, 0.34);
  outline-offset: 4px;
}

.team-connect__icon {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  color: var(--white);
}

.team-connect__launcher-label {
  display: inline-block;
}

.team-connect__message {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 4px;
  width: 218px;
  border-radius: 12px;
  padding: 11px 13px;
  background: #22272b;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.24);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.38;
  text-align: left;
}

.team-connect__message::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 17px;
  width: 14px;
  height: 14px;
  background: #22272b;
  transform: rotate(45deg);
}

.team-connect__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(360px, calc(100vw - 36px));
  max-height: min(620px, calc(100vh - 112px));
  overflow: auto;
}

.team-connect.is-message-dismissed .team-connect__message {
  display: none;
}

.team-connect.is-message-dismissed:hover .team-connect__message,
.team-connect.is-message-dismissed:focus-within .team-connect__message {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .team-connect__launcher {
    transition: none;
  }
}

@media (max-width: 980px) {
  body[data-page="about"] .about-vision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="about"] .about-us-hero {
    padding-top: 24px;
    padding-bottom: 26px;
  }

  body[data-page="about"] .about-us-hero__title {
    font-size: 1.05rem;
  }

  body[data-page="about"] .about-vision-grid,
  body[data-page="about"] .about-working-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] .about-core-team-grid .consultation-profile-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  body[data-page="about"] .about-core-team-grid .consultation-profile-photo-wrap {
    width: 84px;
  }

  body[data-page="about"] .about-us-cta {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-page="about"] .about-us-cta .btn {
    width: 100%;
  }

  .team-connect {
    left: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    display: grid;
    justify-items: end;
    max-width: calc(100vw - 24px);
  }

  .team-connect__launcher {
    width: auto;
    min-width: 218px;
    min-height: 48px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .team-connect__message {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(270px, calc(100vw - 36px));
    margin: 0 0 9px;
    padding: 9px 12px;
    font-size: 0.73rem;
    text-align: center;
  }

  .team-connect__message::after {
    right: 50%;
    bottom: -6px;
    transform: translateX(50%) rotate(45deg);
  }

  .team-connect__panel {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100vh - 106px);
  }

  .team-connect.is-message-dismissed:hover .team-connect__message {
    display: none;
  }

  .team-connect.is-message-dismissed:focus-within .team-connect__message {
    display: block;
  }
}


/* Free Initial Scope Consultation focus and submission states - 2026-07-25 */
.consultation-anchor-alias {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--consultation-header-height, 76px) + var(--consultation-nav-height, 50px) + 18px);
}

#free-initial-scope-consultation {
  scroll-margin-top: calc(var(--consultation-header-height, 76px) + var(--consultation-nav-height, 50px) + 18px);
}

#free-initial-scope-consultation.is-focus-highlight .consultation-form {
  outline: 3px solid rgba(0, 155, 140, 0.24);
  outline-offset: 4px;
  transition: outline-color 240ms ease;
}

.consultation-submit-status:empty {
  display: none;
}

.consultation-submit-status {
  color: var(--muted);
  font-size: 0.94rem;
}

.consultation-query-summary {
  display: grid;
  gap: 7px;
}

.consultation-query-summary p {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  #free-initial-scope-consultation.is-focus-highlight .consultation-form {
    transition: none;
  }
}
