:root {
  --ink: #000952;
  --muted: #5b637a;
  --line: #d9deea;
  --paper: #f7f7fb;
  --white: #ffffff;
  --navy: #000952;
  --navy-soft: #11176f;
  --gold: #eeba2b;
  --gold-deep: #c89713;
  --blue-mist: #eef1fb;
  --clay: #a76154;
  --shadow: 0 18px 50px rgba(0, 9, 82, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
}

.brand,
.nav,
.header-action {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 9, 82, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  overflow: hidden;
}

.brand-mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-self: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 999px;
}

.nav a,
.header-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 0.92rem;
}

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

.header-action {
  justify-self: end;
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  overflow: hidden;
  padding: 128px clamp(18px, 7vw, 96px) 76px;
  background:
    linear-gradient(90deg, rgba(0, 9, 82, 0.98) 0%, rgba(0, 9, 82, 0.95) 44%, rgba(0, 9, 82, 0.78) 100%),
    var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, rgba(0, 9, 82, 0.98), rgba(0, 9, 82, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  color: var(--white);
}

.hero-carousel {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(460px, 100%);
}

.carousel-track {
  position: relative;
  min-height: 410px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: 32px;
  border: 1px solid rgba(238, 186, 43, 0.5);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateX(18px) scale(0.98);
  transition: opacity 420ms ease, transform 420ms ease;
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.carousel-slide p {
  max-width: 310px;
  margin-bottom: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  font-weight: 800;
}

.service-graphic {
  position: relative;
  width: 280px;
  height: 250px;
}

.paper {
  position: absolute;
  border-radius: 8px;
  background: var(--white);
}

.paper-main {
  left: 66px;
  top: 18px;
  z-index: 2;
  width: 140px;
  height: 184px;
  padding: 36px 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.paper-main i {
  display: block;
  height: 9px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--navy);
}

.paper-main i:nth-child(2) {
  width: 72%;
}

.paper-main i:nth-child(3) {
  width: 54%;
  background: var(--gold);
}

.paper-back {
  left: 92px;
  top: 42px;
  width: 140px;
  height: 184px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.16);
}

.gold-check {
  position: absolute;
  right: 44px;
  bottom: 42px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.gold-check::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 19px;
  width: 27px;
  height: 41px;
  border-right: 8px solid var(--navy);
  border-bottom: 8px solid var(--navy);
  transform: rotate(42deg);
}

.profile-card {
  position: absolute;
  left: 54px;
  top: 38px;
  width: 174px;
  height: 174px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

.profile-card i {
  display: block;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--gold);
}

.profile-card b {
  display: block;
  height: 10px;
  margin-bottom: 13px;
  border-radius: 999px;
  background: var(--navy);
}

.profile-card b:last-child {
  width: 66%;
}

.network-dot {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 7px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
}

.dot-one {
  left: 28px;
  top: 22px;
}

.dot-two {
  right: 18px;
  top: 82px;
}

.dot-three {
  left: 58px;
  bottom: 16px;
}

.linkedin-graphic::before,
.linkedin-graphic::after {
  content: "";
  position: absolute;
  height: 3px;
  background: rgba(238, 186, 43, 0.8);
  transform-origin: left center;
}

.linkedin-graphic::before {
  left: 58px;
  top: 54px;
  width: 172px;
  transform: rotate(17deg);
}

.linkedin-graphic::after {
  left: 80px;
  bottom: 42px;
  width: 172px;
  transform: rotate(-34deg);
}

.bubble {
  position: absolute;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.bubble::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: inherit;
  transform: rotate(45deg);
}

.bubble-large {
  left: 24px;
  top: 36px;
  width: 174px;
  height: 108px;
}

.bubble-large::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 34px;
  width: 110px;
  height: 11px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 24px 0 var(--gold);
}

.bubble-large::after {
  left: 36px;
  bottom: -8px;
}

.bubble-small {
  right: 28px;
  bottom: 48px;
  width: 122px;
  height: 82px;
  background: var(--gold);
}

.bubble-small::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 72px;
  height: 9px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 20px 0 rgba(0, 9, 82, 0.62);
}

.bubble-small::after {
  right: 28px;
  bottom: -8px;
}

.mic-stand {
  position: absolute;
  left: 126px;
  bottom: 34px;
  width: 28px;
  height: 82px;
  border-radius: 999px 999px 8px 8px;
  background: rgba(255, 255, 255, 0.22);
}

.mic-stand::after {
  content: "";
  position: absolute;
  left: -32px;
  bottom: -14px;
  width: 92px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.path-line {
  position: absolute;
  left: 44px;
  top: 134px;
  width: 198px;
  height: 5px;
  border-radius: 999px;
  background: var(--white);
  transform: rotate(-19deg);
}

.path-node {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.node-start {
  left: 36px;
  bottom: 76px;
}

.node-mid {
  left: 122px;
  top: 112px;
}

.node-end {
  right: 34px;
  top: 66px;
}

.compass-point {
  position: absolute;
  right: 74px;
  top: 36px;
  width: 74px;
  height: 74px;
  background: var(--white);
  clip-path: polygon(50% 0, 67% 42%, 100% 50%, 67% 58%, 50% 100%, 33% 58%, 0 50%, 33% 42%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.carousel-dots button {
  width: 38px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--gold);
}

.hero-logo {
  width: 156px;
  height: 156px;
  object-fit: contain;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(238, 186, 43, 0.72);
  background: var(--white);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

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

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

h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: var(--navy);
  background: var(--gold);
}

.button-primary:hover {
  background: #ffdc6d;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  border-color: var(--white);
}

.section {
  padding: 88px clamp(18px, 7vw, 96px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
  background: var(--white);
}

.intro-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.8;
}

.intro-copy {
  display: grid;
}

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

.services {
  overflow: hidden;
  background: var(--blue-mist);
}

.service-carousel {
  position: relative;
  width: calc(100% + clamp(18px, 7vw, 96px) * 2);
  margin-left: calc(clamp(18px, 7vw, 96px) * -1);
  overflow: hidden;
}

.service-carousel::before,
.service-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(40px, 8vw, 140px);
  pointer-events: none;
}

.service-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--blue-mist), rgba(238, 241, 251, 0));
}

.service-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--blue-mist), rgba(238, 241, 251, 0));
}

.service-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 4px clamp(18px, 7vw, 96px) 18px;
  will-change: transform;
}

.service-card {
  flex: 0 0 clamp(300px, 29vw, 560px);
  min-height: 285px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-carousel:hover .service-card {
  opacity: 0.78;
  transform: scale(0.955);
}

.service-carousel .service-card:hover {
  opacity: 1;
  transform: scale(1.055);
  box-shadow: 0 24px 60px rgba(0, 9, 82, 0.18);
}

.service-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 9, 82, 0.14);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(0, 9, 82, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 160ms ease, background 160ms ease;
}

.service-carousel-control:hover {
  background: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

.service-carousel-control span {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.service-carousel-prev {
  left: clamp(12px, 3vw, 42px);
}

.service-carousel-next {
  right: clamp(12px, 3vw, 42px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-weight: 850;
  font-size: 0.82rem;
}

.service-card p,
.step p,
.proof-item span {
  color: var(--muted);
  line-height: 1.65;
}

.approach {
  padding: 96px clamp(18px, 7vw, 96px);
  color: var(--white);
  background: var(--navy);
}

.approach-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 8vw, 96px);
  align-items: start;
}

.approach .section-kicker {
  color: var(--gold);
}

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

.step {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.step span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 850;
}

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

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--white);
}

.proof-item {
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 0.85fr);
  gap: clamp(30px, 8vw, 96px);
  align-items: start;
  padding: 96px clamp(18px, 7vw, 96px);
  background: #f7f3e8;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid rgba(0, 9, 82, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8cee2;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(238, 186, 43, 0.32);
  border-color: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 7vw, 96px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.portal-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(0, 9, 82, 0.96) 0 520px, #f7f7fb 520px 100%);
}

.portal-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
}

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

.policy-page,
.content-page {
  min-height: 100vh;
  background: #f7f7fb;
}

.policy-header {
  color: var(--white);
  background: var(--navy);
}

.policy-shell,
.content-shell {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.policy-hero,
.content-hero {
  margin-bottom: 34px;
}

.policy-hero h1,
.content-hero h1,
.article-content h1 {
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.policy-hero p,
.content-hero p,
.article-meta {
  color: var(--muted);
  font-weight: 750;
}

.policy-content,
.article-content {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid rgba(0, 9, 82, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.policy-content h2,
.article-content h2 {
  font-family: inherit;
  font-size: 1.35rem;
  line-height: 1.25;
}

.policy-content p,
.policy-content li,
.article-content p {
  color: var(--muted);
  line-height: 1.75;
}

.policy-content ul {
  margin: 0;
  padding-left: 22px;
}

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

.blog-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(0, 9, 82, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.blog-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.08;
}

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

.blog-card-empty {
  opacity: 0.72;
}

.text-link {
  color: var(--navy);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.article-shell {
  width: min(820px, calc(100% - 36px));
}

.download-list {
  display: grid;
  gap: 14px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(0, 9, 82, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.download-card h3 {
  margin-bottom: 8px;
}

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

.portal-download-card {
  grid-column: 1 / -1;
}

.admin-cms {
  margin-top: 18px;
}

.cms-mode-buttons,
.cms-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cms-form[hidden] {
  display: none !important;
}

.cms-blocks {
  display: grid;
  gap: 14px;
}

.cms-block {
  padding: 14px;
  border: 1px solid rgba(0, 9, 82, 0.12);
  border-radius: 8px;
  background: #f7f7fb;
}

.cms-block[data-block-type="subheading"] {
  border-color: rgba(238, 186, 43, 0.7);
  background: #fffaf0;
}

.cms-manage {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cms-manage h4 {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 1.25rem;
}

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

.cms-post-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7fb;
}

.cms-post-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  color: var(--blue);
}

.cms-post-item summary span:first-child {
  display: grid;
  gap: 4px;
}

.cms-post-item small,
.cms-post-slug {
  color: var(--muted);
  font-size: 0.9rem;
}

.cms-post-slug {
  overflow-wrap: anywhere;
}

.cms-edit-form {
  padding: 0 16px 16px;
}

.cms-edit-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8cee2;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.portal-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 88px;
}

.portal-hero {
  max-width: 760px;
  margin-bottom: 48px;
  color: var(--white);
}

.portal-hero h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.portal-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.7;
}

.portal-card {
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(0, 9, 82, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.auth-card {
  max-width: 540px;
}

.auth-options {
  display: grid;
  gap: 12px;
}

.auth-provider-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(0, 9, 82, 0.18);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.auth-provider-button:hover {
  border-color: rgba(0, 9, 82, 0.38);
  background: #f7f7fb;
}

.auth-email-button {
  background: var(--gold);
}

.auth-email-button:hover {
  background: #ffdc6d;
}

.provider-logo {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.provider-google {
  color: #4285f4;
  background: #ffffff;
  border: 1px solid #d9deea;
  font-family: Georgia, "Times New Roman", serif;
}

.provider-linkedin {
  color: #ffffff;
  background: #0a66c2;
  border-radius: 6px;
  font-size: 0.85rem;
}

.provider-email {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.65);
}

.auth-card h2,
.portal-dashboard h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.portal-muted {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.portal-secondary {
  color: var(--navy);
  border-color: rgba(0, 9, 82, 0.22);
  background: var(--white);
}

.portal-dashboard {
  display: grid;
  gap: 24px;
}

.portal-dashboard-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 8px;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

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

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

.submission-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7fb;
}

.admin-submission-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7fb;
}

.submission-item div {
  display: grid;
  gap: 4px;
}

.admin-submission-main {
  display: grid;
  gap: 4px;
}

.submission-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-submission-main span,
.admin-file-path {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-file-path {
  overflow-wrap: anywhere;
}

.admin-status-control {
  display: grid;
  gap: 8px;
}

.admin-status-control select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c8cee2;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.status-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
}

.status-under_review {
  border-color: var(--navy-soft);
}

.status-completed {
  border-color: #2f6f4e;
}

.status-delivered {
  border-color: #5a4aa8;
}

.portal-message {
  min-height: 24px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 750;
}

.portal-message[data-type="success"] {
  color: #2f6f4e;
}

.portal-message[data-type="error"] {
  color: #a13333;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: var(--chat-bottom-offset, 22px);
  z-index: 20;
  display: grid;
  justify-items: end;
  gap: 12px;
  font-family: inherit;
  transition: bottom 180ms ease;
}

.chat-widget.is-footer-docked {
  animation: chatDockBounce 360ms ease;
}

.chat-toggle {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(0, 9, 82, 0.26);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.chat-toggle:hover {
  background: #ffdc6d;
}

@keyframes chatDockBounce {
  0% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

.chat-panel {
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(0, 9, 82, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 9, 82, 0.28);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--white);
  background: var(--navy);
}

.chat-header p {
  margin-bottom: 4px;
  font-weight: 850;
}

.chat-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding: 16px;
  background: #f7f7fb;
}

.chat-message {
  max-width: 90%;
  padding: 11px 12px;
  border-radius: 8px;
  white-space: pre-line;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

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

.chat-message-user {
  justify-self: end;
  color: var(--white);
  background: var(--navy);
}

.chat-message-thinking {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 58px;
}

.chat-message-thinking span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: chatThinking 1s infinite ease-in-out;
}

.chat-message-thinking span:nth-child(2) {
  animation-delay: 0.14s;
}

.chat-message-thinking span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes chatThinking {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
  background: #f7f7fb;
}

.chat-prompts button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(0, 9, 82, 0.14);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chat-input-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.chat-form input {
  min-height: 42px;
  border-radius: 999px;
}

.chat-form button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px;
  }

  .nav {
    display: none;
  }

  .brand,
  .header-action {
    min-height: 42px;
  }

  .hero {
    min-height: 88vh;
    grid-template-columns: 1fr;
    padding: 104px 18px 56px;
  }

  .hero-carousel {
    justify-self: start;
    width: min(100%, 460px);
  }

  .carousel-track {
    min-height: 330px;
  }

  .carousel-slide {
    padding: 22px;
  }

  .service-graphic {
    width: 230px;
    height: 210px;
    transform: scale(0.86);
  }

  .section,
  .approach,
  .contact {
    padding: 64px 18px;
  }

  .intro,
  .approach-inner,
  .contact,
  .proof {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-basis: min(82vw, 360px);
    min-height: 0;
  }

  .service-carousel-control {
    width: 40px;
    height: 40px;
  }

  .service-icon {
    margin-bottom: 26px;
  }

  .proof-item {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .portal-dashboard-header,
  .submission-item,
  .admin-submission-item,
  .download-card {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-submission-item {
    grid-template-columns: 1fr;
  }

  .cms-post-item summary {
    grid-template-columns: 1fr;
  }

  .cms-mode-buttons .button,
  .cms-action-row .button {
    width: 100%;
  }

  .chat-widget {
    right: 14px;
    bottom: var(--chat-bottom-offset, 14px);
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: 3.2rem;
  }

  .header-action {
    padding: 0 11px;
    font-size: 0.84rem;
  }

  .brand {
    padding-right: 10px;
  }

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