/* Valence website v0.3.0 staged multipage preview */

:root {
  --page-hero-offset: calc(var(--header-height) + 54px);
}

body {
  background: var(--warm-mist);
}

.nav-links > a,
.nav-services summary {
  color: rgba(255,255,255,.78);
}

.nav-services {
  position: relative;
}

.nav-services summary {
  list-style: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
}

.nav-services summary::-webkit-details-marker {
  display: none;
}

.nav-services summary::after {
  content: "⌄";
  margin-left: 5px;
  color: var(--connection-blue);
}

.nav-services[open] summary,
.nav-services summary:hover,
.nav-services summary:focus-visible {
  color: var(--white);
}

.nav-services-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: min(390px, 82vw);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(8,27,47,.98);
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.nav-services-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.35;
}

.nav-services-menu a:first-child {
  color: var(--white);
  font-weight: 760;
}

.nav-services-menu a:hover,
.nav-services-menu a:focus-visible {
  background: rgba(255,255,255,.08);
  color: var(--white);
}

.sticky-contact-action {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 17px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: var(--deep-navy);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(8,27,47,.22);
  font-size: 13.5px;
  font-weight: 760;
}

.sticky-contact-action::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--connection-blue);
}

.sticky-contact-action:hover {
  transform: translateY(-2px);
}

.preview-hero {
  padding: 160px 0 90px;
  color: var(--white);
  background: radial-gradient(circle at 84% 22%, rgba(86,157,179,.18), transparent 29rem), linear-gradient(135deg,var(--deep-navy),var(--navy) 70%,var(--support-blue));
}

.preview-hero .site-shell {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: 74px;
  align-items: end;
}

.preview-hero-copy {
  max-width: 820px;
}

.preview-hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(46px, 6.2vw, 76px);
  font-weight: 680;
  letter-spacing: -.048em;
  line-height: 1.02;
  text-wrap: balance;
}

.preview-hero-intro,
.page-hero-intro {
  max-width: 760px;
  margin: 27px 0 0;
  color: rgba(255,255,255,.8);
  font-size: clamp(18px,2vw,21px);
  line-height: 1.62;
}

.preview-hero-mark {
  align-self: center;
  justify-self: end;
  width: min(245px, 48vw);
  opacity: .96;
}

.home-intro-grid,
.credibility-grid,
.start-grid,
.contact-grid,
.about-grid,
.service-intro-grid,
.service-detail-grid {
  display: grid;
  gap: 46px;
}

.home-intro-grid,
.credibility-grid,
.contact-grid,
.about-grid,
.service-intro-grid {
  grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr);
  align-items: start;
}

.home-intro-copy,
.page-copy,
.about-copy,
.service-copy {
  color: var(--text-soft);
  font-size: 17px;
}

.home-intro-copy .lead-statement,
.page-copy .lead-statement,
.about-copy .lead-statement,
.service-copy .lead-statement {
  color: var(--navy);
}

.sector-foundation,
.cross-service-note,
.contact-panel,
.service-side-panel,
.about-side-panel {
  padding: 30px 31px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.sector-foundation h3,
.cross-service-note h3,
.contact-panel h3,
.service-side-panel h3,
.about-side-panel h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 730;
}

.sector-foundation p,
.cross-service-note p,
.contact-panel p,
.service-side-panel p,
.about-side-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

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

.service-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 31px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.service-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--warm-mist);
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 730;
  line-height: 1.25;
}

.service-card p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.service-card-outcome {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.service-card-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--support-blue);
  font-size: 14px;
  font-weight: 760;
}

.service-card-link::after {
  content: " →";
}

.cross-service-note {
  margin-top: 20px;
  background: var(--navy);
  color: var(--white);
}

.cross-service-note h3 {
  color: var(--white);
}

.cross-service-note p {
  color: rgba(255,255,255,.74);
}

.credibility-photo,
.about-photo {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.credibility-photo img,
.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
}

.credibility-copy h2,
.page-section-title {
  color: var(--navy);
  font-size: clamp(34px,3.7vw,47px);
  font-weight: 680;
  letter-spacing: -.034em;
  line-height: 1.1;
  text-wrap: balance;
}

.credibility-copy p {
  color: var(--text-soft);
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--support-blue);
  font-weight: 760;
}

.text-link::after {
  content: " →";
}

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

.start-card {
  min-height: 220px;
  padding: 26px;
  border-top: 2px solid var(--connection-blue);
  background: var(--white);
}

.start-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}

.start-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.62;
}

.page-hero {
  padding: 152px 0 82px;
  background: linear-gradient(135deg,var(--deep-navy),var(--navy));
}

.page-hero .site-shell {
  max-width: 980px;
}

.page-hero .eyebrow {
  color: #A9CCD6;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(42px,5.3vw,66px);
}

.page-breadcrumbs {
  margin-bottom: 22px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.page-breadcrumbs a:hover {
  color: var(--white);
}

.service-detail-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.detail-card {
  min-height: 230px;
  padding: 28px 29px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.detail-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
}

.detail-card p,
.detail-card li {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.62;
}

.detail-card ul {
  margin: 0;
  padding-left: 20px;
}

.content-status {
  display: inline-flex;
  margin-top: 18px;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--support-blue);
  background: var(--warm-mist);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-details a,
.contact-details span {
  color: var(--navy);
  font-size: 17px;
  font-weight: 650;
}

.contact-details small {
  display: block;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 500;
}

.footer-links {
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .preview-hero .site-shell,
  .home-intro-grid,
  .credibility-grid,
  .contact-grid,
  .about-grid,
  .service-intro-grid {
    grid-template-columns: 1fr;
  }

  .preview-hero-mark {
    justify-self: start;
    width: 190px;
  }

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

@media (max-width: 760px) {
  .nav-links {
    align-items: stretch;
  }

  .nav-services summary {
    padding: 10px 0;
  }

  .nav-services-menu {
    position: static;
    width: 100%;
    margin-top: 5px;
    padding: 5px 0 5px 12px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-services-menu a {
    padding: 8px 0;
  }

  .preview-hero {
    padding: calc(var(--header-height) + 48px) 0 64px;
  }

  .preview-hero .site-shell {
    gap: 38px;
  }

  .preview-hero h1,
  .page-hero h1 {
    font-size: clamp(40px,12vw,54px);
  }

  .preview-hero-intro,
  .page-hero-intro {
    font-size: 17px;
  }

  .service-card-grid,
  .service-detail-grid,
  .start-grid {
    grid-template-columns: 1fr;
  }

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

  .page-hero {
    padding: calc(var(--header-height) + 42px) 0 58px;
  }

  .credibility-photo img,
  .about-photo img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .sticky-contact-action {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-contact-action,
  .service-card {
    transition: none;
  }
}
