:root {
  --ink: #1a1a1a;
  --ink-light: #4a4a4a;
  --ink-muted: #8a8a8a;
  --cream: #faf9f7;
  --rule: #d4d0ca;
  --accent: #4a8b9e;
  /* Darker teal for normal text on cream (WCAG AA); UI fills still use --accent */
  --accent-text: #355f70;
  --accent-light: #5899ad;
  --accent-pale: #eef5f7;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Karla", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Typographic root: all rem-based type scales from this */
  font-size: 18px;
}

@media (max-width: 768px) {
  html {
    font-size: 19px;
  }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.nav-menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--cream);
}

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

/* ----- Nav ----- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.35s ease;
}

nav.scrolled {
  border-bottom-color: var(--rule);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  z-index: 102;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin-left: auto;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  z-index: 102;
  transition: background 0.2s;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink-muted);
  border-radius: 1px;
  transition: transform 0.35s ease, opacity 0.25s ease, background 0.3s;
}

nav.hero-nav .nav-toggle-bar {
  background: rgba(255, 255, 255, 0.88);
}

nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Dropdown */
.nav-links .has-dropdown {
  position: relative;
}

.nav-links .dropdown-toggle {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.3s;
  font-family: inherit;
}

.nav-links .dropdown-toggle:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

.nav-links .dropdown-toggle:hover,
.nav-links .has-dropdown.is-active-parent .dropdown-toggle,
.nav-links .has-dropdown:hover .dropdown-toggle {
  color: var(--accent);
}


.nav-links .dropdown-caret {
  font-size: 0.55rem;
  transition: transform 0.2s;
}

.nav-links .has-dropdown:hover .dropdown-caret,
.nav-links .has-dropdown[data-open="true"] .dropdown-caret {
  transform: rotate(180deg);
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.4rem);
  background: var(--bg);
  border: 1px solid var(--rule);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 18rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.nav-links .has-dropdown:hover .dropdown-menu,
.nav-links .has-dropdown:focus-within .dropdown-menu,
.nav-links .has-dropdown[data-open="true"] .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-links .dropdown-menu li {
  margin: 0;
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 0.7rem 1.25rem;
  white-space: nowrap;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links .dropdown-menu a:hover,
.nav-links .dropdown-menu a.active {
  background: var(--ink-soft, rgba(0,0,0,0.03));
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav-links .dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0;
  }
  .nav-links .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    min-width: 0;
  }
  .nav-links .dropdown-menu a {
    text-align: center;
    padding: 0.5rem 0;
  }
  .nav-links .has-dropdown:hover .dropdown-menu {
    transform: none;
  }
  .nav-links .dropdown-caret {
    display: none;
  }
}

@media (min-width: 769px) {
  .nav-links {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding: 0 1.5rem;
    margin: 0;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    box-shadow: 0 12px 24px rgba(26, 26, 26, 0.06);
    transition: max-height 0.45s ease, opacity 0.35s ease, padding 0.35s ease,
      border-color 0.3s ease, visibility 0s linear 0.45s;
  }

  nav.is-open .nav-links {
    max-height: min(75vh, 32rem);
    opacity: 1;
    visibility: visible;
    padding: 1rem 1.5rem 1.35rem;
    border-bottom-color: var(--rule);
    transition: max-height 0.45s ease, opacity 0.3s ease, padding 0.35s ease,
      border-color 0.3s ease, visibility 0s linear 0s;
  }

  .nav-links a {
    font-size: 0.75rem;
  }
}

nav.hero-nav {
  background: #0a0f19;
}

nav.hero-nav .nav-logo {
  color: #fff;
}

nav.hero-nav .nav-links a {
  color: rgba(255, 255, 255, 0.5);
}

nav.hero-nav .nav-links a:hover,
nav.hero-nav .nav-links a.active {
  color: #fff;
}

@media (max-width: 768px) {
  nav.hero-nav.is-open {
    background: rgba(250, 249, 247, 0.98);
    border-bottom-color: var(--rule);
  }

  nav.hero-nav.is-open .nav-logo {
    color: var(--ink);
  }

  nav.hero-nav.is-open .nav-toggle-bar {
    background: var(--ink-muted);
  }
}

/* ----- Layout: home ----- */
/* Home hero: solid navy only (no background photo or veil animation) */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background: #0a0f19;
}

.hero {
  min-height: min(70vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5.5rem, 12vw, 8rem) 3rem clamp(3.5rem, 8vw, 6rem);
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 6vw, 4.4rem);
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 2rem;
  max-width: 800px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin-bottom: 0;
}

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

/* ----- Sections ----- */
section {
  padding: 3rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.page-about .section-label,
.page-about .page-header .eyebrow {
  font-size: 0.65rem;
}

h2.section-label,
h3.section-heading {
  font-style: normal;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 600px;
}

/* Same vertical rhythm as Select Results: large heading → gray line (cf. .case-list-wrap + .case-item border) */
.section-heading--rule-below {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

/* Home “Why Desoto”: avoid orphan “attention” when font scales up; use content width */
.section-heading--why-line {
  max-width: none;
}

@media (min-width: 480px) {
  .section-heading__lock {
    white-space: nowrap;
  }
}

.section-body {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-light);
  max-width: 580px;
}

.section-body + .section-body {
  margin-top: 1rem;
}

.section--tight-top {
  padding-top: 2rem;
}

.section--spaced-bottom {
  padding-bottom: 6rem;
}

.section-body--lead {
  margin-bottom: 2.5rem;
}

.section-body--after-form {
  margin-top: 1.5rem;
}

.section-body--wide {
  max-width: none;
}

.section-body--muted {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

.section-body--muted a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
  font-style: normal;
}

.section-body--muted a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.divider {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3rem;
}

.divider hr {
  border: none;
  height: 1px;
  background: var(--rule);
}

/* ----- Page header (inner pages) ----- */
.page-header {
  padding: 10rem 3rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-header--contact {
  padding-bottom: 2rem;
}

.page-header .eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

.page-header h1 em {
  font-style: italic;
  color: var(--accent);
}

.page-header .subtitle {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-light);
  max-width: 580px;
  margin-top: 1.5rem;
}

/* ----- CTAs ----- */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--accent);
  transition: gap 0.3s;
}

.cta-link:hover {
  gap: 1.1rem;
}

.cta-link--solid {
  color: #fff;
  background: var(--accent);
  border: none;
  padding: 0.8rem 2rem;
  border-bottom: none;
}

.cta-link--solid:hover {
  filter: brightness(0.94);
}

/* ----- Grids ----- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

.who-we-serve {
  margin-top: 2rem;
}

.who-we-serve-item {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}

.who-we-serve-item--first {
  border-top: none;
  padding-top: 1rem;
}

.who-we-serve-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.who-we-serve-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.005em;
  color: var(--accent);
  margin: 0 0 0.75rem 0;
}

.who-we-serve-item .section-body {
  margin: 0;
  max-width: 60rem;
}

@media (max-width: 768px) {
  .who-we-serve-title {
    font-size: 1.25rem;
  }
  .who-we-serve-item {
    padding: 1.5rem 0;
  }
}

.page-industries .grid-2,
.page-contact .grid-2 {
  gap: 2.5rem;
  margin-top: 2rem;
}

.page-industries .card {
  border-top: none;
  padding: 2rem 0;
}

.service-grid-nine {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.service-grid-nine .service-item {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  padding: 1rem 0;
  margin: 0;
}

.grid-partner-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 580px;
}

.grid-partner-capabilities .section-body {
  margin: 0;
}

.case-list-wrap {
  margin-top: 2rem;
}

.case-cta-wrap {
  margin-top: 1.5rem;
}

/* ----- Cards & cases ----- */
.card {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  transition: border-color 0.3s;
}

.page-home .card:hover {
  border-top-color: var(--accent);
}

.page-about .card {
  border-top: none;
  padding: 2rem 0;
}

.card .num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.card .tag {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.card h3,
.card h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.page-home .card:hover h3 {
  color: var(--accent);
}

.card p {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-light);
}

.card img,
.industry-card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.industry-card-image--consumer {
  object-position: center 60%;
}

.case-item {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  align-items: start;
}

.case-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.case-sector {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.15rem;
  opacity: 0.7;
}

.case-desc {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-light);
}

.case-metric {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  margin-top: 0.5rem;
}

.case-full {
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}

.case-full:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.case-full .tag {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.case-full h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}

.case-full .label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.case-full p {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-light);
  max-width: 620px;
}

.case-full-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.case-metrics {
  display: flex;
  gap: 3rem;
  margin-top: 1.5rem;
}

.metric .num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent);
}

.metric .desc {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

/* ----- Why section (home) ----- */
.why-bar {
  margin-top: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.why-item h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.why-item h4 .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.why-item p {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-light);
  padding-left: 1rem;
}

/* ----- Footer locations (home) ----- */
.footer-locations {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  line-height: 2;
  margin-top: 1.5rem;
}

.footer-locations strong {
  color: var(--accent);
  font-weight: 500;
}

.locations-block strong {
  color: var(--accent);
}

.text-accent {
  color: var(--accent);
  font-weight: 500;
}

/* ----- Credential ----- */
.credential-line {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-top: 2rem;
  line-height: 2;
}

/* ----- Contact form ----- */
.contact-form {
  margin-top: 1.5rem;
  max-width: 480px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}

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

.form-submit {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--accent);
  border: none;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: filter 0.3s;
}

.form-submit:hover {
  filter: brightness(0.94);
}

.email-inline-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

/* ----- Insights index ----- */
.filter-bar {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-bar a {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.filter-bar a:hover,
.filter-bar a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.insight-card {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  transition: background 0.3s;
}

.insight-card .date {
  font-family: var(--sans);
  font-size: 0.65rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.insight-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
}

.insight-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.insight-card-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Saigon River / Landmark 81 drone */
/* Vietnam: smaller vertical % = anchor toward top of image file = scene shifts down in the crop (vs higher % which shifts scene up). */
.article-hero--vietnam {
  object-position: center 25%;
}

.insight-card-image--vietnam-hero {
  object-position: center 40%;
}

/* Notebook / pen: default center is 50%; opposite of mistaken 35% bias, then 15% higher on axis → 65% */
.insight-card-image--boutique-hero,
.article-hero--boutique {
  object-position: center 65%;
}

.insight-card__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.5rem;
  transition: color 0.3s;
}

.insight-card-link:hover .insight-card__title {
  color: var(--accent);
}

.insight-card__excerpt {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.7;
  margin: 0;
}

.insight-card__more {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.7;
  margin: 0.65rem 0 0;
  transition: color 0.25s ease;
}

.insight-card__more:hover {
  color: var(--accent);
}

.insight-card .read-more {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-top: 0.75rem;
  display: inline-block;
  transition: opacity 0.3s;
}

.insight-card .read-more:hover {
  opacity: 0.7;
}

/* ----- Article (insight posts) ----- */
article {
  max-width: 720px;
  margin: 0 auto;
  padding: 10rem 3rem 4rem;
}

.article-meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.article-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 2rem;
}

.article-hero {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 3rem;
}

.article-body p {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

.article-body strong {
  color: var(--ink);
  font-weight: 500;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--ink-muted);
}

.article-sources {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.article-sources h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.article-sources p {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
}

.article-sources ul {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-muted);
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-sources ul li {
  margin-bottom: 0.7rem;
  padding-left: 1rem;
  position: relative;
}

.article-sources ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--ink-muted);
}

.article-sources ul li a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}

.article-sources ul li a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 2rem;
}

.cta-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 3rem 6rem;
}

.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-light);
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  padding: 0.8rem 2rem;
  transition: filter 0.3s;
}

.cta-btn:hover {
  filter: brightness(0.94);
}

/* ----- About hero image ----- */
.about-hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 200px;
  aspect-ratio: 3 / 1;
  max-height: 300px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 2.5rem;
}

/* ----- Reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Footer ----- */
footer {
  padding: 3.5rem 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}

.footer-col .footer-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.footer-col p,
.footer-col a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col .footer-locations-block {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p.footer-copyright {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin: 0;
}

/* Legacy footer p rule preserved for backward compatibility */
footer p {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--ink-muted);
}

/* ----- Responsive: 768 ----- */
@media (max-width: 768px) {
  .hero,
  section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .page-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: clamp(6rem, 18vw, 10rem);
  }

  .grid-2,
  .why-grid,
  .service-grid-nine,
  .grid-partner-capabilities {
    grid-template-columns: 1fr;
  }

  .case-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .divider {
    padding: 0 1.5rem;
  }

  footer {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }

  .case-metrics {
    flex-direction: column;
    gap: 1rem;
  }

  article,
  .cta-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .card img,
  .industry-card-image {
    height: auto;
    min-height: 140px;
    aspect-ratio: 16 / 10;
  }

  .case-full-image {
    height: auto;
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }

  .insight-card-image {
    height: auto;
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }
}

/* ----- Skip link + accessible link teal on cream ----- */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10001;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.65rem 1rem;
  clip: auto;
  overflow: visible;
  white-space: normal;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--accent-text);
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.section-label,
.page-header .eyebrow,
.page-header h1 em,
.cta-link:not(.cta-link--solid),
.nav-links a:hover,
.nav-links a.active,
.nav-links .dropdown-toggle:hover,
.nav-links .has-dropdown.is-active-parent .dropdown-toggle,
.nav-links .has-dropdown:hover .dropdown-toggle,
.nav-links .dropdown-menu a:hover,
.nav-links .dropdown-menu a.active,
.footer-col a,
.section-body a.email-inline-link,
.back-link,
.article-body a,
.insight-card__more {
  color: var(--accent-text);
}

.cta-link:not(.cta-link--solid) {
  border-bottom-color: var(--accent-text);
}
