:root {
  --ink: #2d2c2b;
  --text: #45413d;
  --muted: #726d68;
  --faint: #f7f6f4;
  --paper: #ffffff;
  --line: #e5dfd8;
  --bronze: #b17b52;
  --bronze-dark: #8a5a39;
  --shadow: 0 24px 70px rgba(45, 44, 43, .09);
  --radius: 8px;
  --max: 1440px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: linear-gradient(to bottom, var(--paper) 50%, var(--ink) 50%);
}

body {
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--font);
  letter-spacing: 0;
  overflow-x: hidden;
}

main {
  display: flow-root;
  background: var(--paper);
}

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

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

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

.container {
  width: min(var(--max), calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 44px;
  min-height: 96px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-mark {
  width: 172px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  align-items: center;
  color: #454342;
  font-size: 16px;
  font-weight: 750;
}

.nav a,
.nav-parent {
  position: relative;
  padding: 12px 0;
}

.nav a::after,
.nav-parent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width .2s ease;
  will-change: width;
}

.nav a:hover::after,
.nav a.active::after,
.nav-parent:hover::after,
.nav-parent.active::after,
.nav-dropdown.open .nav-parent::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-parent::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  order: 2;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s ease;
}

.nav-dropdown.open .nav-parent::before {
  transform: translateY(1px) rotate(-135deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  display: grid;
  min-width: 292px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
  will-change: opacity, transform;
}

.nav-dropdown.open .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-menu a {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  transition: color .18s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--bronze);
}

.nav-menu a:last-child {
  border-bottom: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--bronze-dark);
  color: var(--bronze-dark);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--bronze-dark);
  color: #fff;
}

.mobile-toggle {
  display: none;
  position: relative;
  justify-self: end;
  width: 44px;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}

.mobile-toggle span:first-child {
  top: 14px;
}

.mobile-toggle span:last-child {
  top: 22px;
}

.hero {
  padding: 0;
}

.page-hero {
  padding: 54px 0 46px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 620px);
  gap: 96px;
  align-items: center;
}

.hero-grid {
  display: block;
  position: relative;
}

.hero-grid>div:first-child {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 24px;
}

.hero-grid>div:first-child h1 {
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-grid>div:first-child .lead {
  color: #efe1d7;
  margin-bottom: 42px;
}

.hero-grid>div:first-child .tag {
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #d8b792;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0;
  min-height: auto;
  margin-bottom: 24px;
}

.hero-grid>div:first-child .actions {
  justify-content: center;
}

.hero-grid .btn-dark {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}

.hero-grid .btn-dark:hover {
  background: var(--bronze-dark);
  border-color: var(--bronze-dark);
}

.hero-grid .btn:not(.btn-dark) {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.hero-grid .btn:not(.btn-dark):hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 34px;
  padding: 0 18px;
  background: var(--faint);
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 28px;
  font-size: clamp(46px, 5vw, 74px);
  line-height: 1.1;
  font-weight: 820;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.15;
  font-weight: 800;
}

h3 {
  font-size: 24px;
  line-height: 1.22;
}

.lead {
  max-width: 760px;
  margin-bottom: 36px;
  color: #5b5754;
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.58;
  font-weight: 520;
}

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

.hero-media,
.page-media,
.map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 610px;
  background:
    linear-gradient(90deg, rgba(45, 44, 43, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(45, 44, 43, .035) 1px, transparent 1px),
    #f3f3f3;
  background-size: 36px 36px;
  color: #77726e;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  z-index: 1;
  display: block;
}

.hero-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 44, 43, 0.65);
  z-index: 2;
}

.hero-media .photo-frame {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.hero-media .photo-frame img {
  height: 100%;
  object-fit: cover;
}

.hero-media .photo-caption {
  left: calc((100% - min(var(--max), 100% - 72px)) / 2 + 18px);
  right: calc((100% - min(var(--max), 100% - 72px)) / 2 + 18px);
  z-index: 3;
}

.photo-frame {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 610px;
  overflow: hidden;
  background: var(--faint);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(45, 44, 43, 0) 48%, rgba(45, 44, 43, .42) 100%),
    linear-gradient(90deg, rgba(45, 44, 43, .10), rgba(45, 44, 43, 0) 45%);
  pointer-events: none;
}

.photo-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  background: rgba(45, 44, 43, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.photo-caption strong {
  display: block;
  max-width: 420px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.photo-caption span {
  color: #d8b792;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.image-band {
  padding: 0;
  background: var(--ink);
}

.image-band-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: stretch;
}

.image-band-copy {
  padding: 82px 72px;
  color: #fff;
}

.image-band-copy p {
  color: #e5dfd8;
}

.image-band .photo-frame {
  min-height: 520px;
}

.image-band .photo-frame img {
  min-height: 520px;
}

.band-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.band-points span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.mec-visual {
  width: min(520px, calc(100% - 56px));
  padding: 28px;
  border: 1px solid rgba(45, 44, 43, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow);
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-header span:last-child {
  color: var(--bronze-dark);
}

.ledger {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.ledger-row {
  display: grid;
  grid-template-columns: 86px 1fr 76px;
  gap: 14px;
  align-items: center;
}

.ledger-row i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: var(--line);
}

.ledger-row i:nth-child(2) {
  background: #d4d1cc;
}

.ledger-row i:nth-child(3) {
  background: rgba(177, 123, 82, .56);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.visual-grid div {
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--faint);
}

.visual-grid strong {
  display: block;
  margin-bottom: 16px;
  color: var(--bronze-dark);
  font-size: 13px;
}

.visual-grid span {
  display: block;
  width: 70%;
  height: 8px;
  border-radius: 999px;
  background: #d6d2cd;
}

.media-icon {
  display: grid;
  place-items: center;
  gap: 20px;
  color: #77726e;
  font-size: 17px;
  font-weight: 800;
}

.media-icon svg {
  width: 118px;
  height: 118px;
  color: #cfcfcf;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.situation-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.situation-strip:last-child {
  margin-bottom: 92px;
}

.situation-inner {
  display: grid;
  grid-template-columns: 260px repeat(4, 1fr);
}

.situation-label,
.situation-link {
  min-height: 132px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.situation-inner > *:last-child {
  border-right: 0;
}

.situation-label {
  background: var(--ink);
  color: #fff;
}

.situation-label span {
  color: #d9c4b3;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.situation-label strong,
.situation-link strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.situation-link {
  background: #fff;
}

.situation-link:hover {
  background: var(--faint);
}

.situation-link small {
  color: var(--bronze-dark);
  font-weight: 900;
}

.proof-item,
.card,
.process-card,
.article-card,
.faq,
.form-panel,
.info-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.proof-item {
  padding: 24px;
}

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.proof-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--faint);
}

.resources-main {
  padding-top: 52px;
}

.section-head {
  max-width: 850px;
  margin-bottom: 48px;
}

.section-head.text-center {
  margin-inline: auto;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--bronze-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.intent-service-grid,
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.intent-service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.intent-service:hover {
  transform: translateY(-4px);
  border-color: rgba(177, 123, 82, .48);
  box-shadow: var(--shadow);
}

.intent-service small,
.sector-card span,
.method-step span {
  color: var(--bronze-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.intent-service strong {
  display: block;
  margin: 18px 0 16px;
  font-size: 22px;
  line-height: 1.25;
}

.intent-service span {
  margin-top: auto;
  color: var(--muted);
  line-height: 1.62;
}

.method-stack {
  display: grid;
  gap: 14px;
}

.method-step {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.method-step span {
  grid-row: 1 / span 2;
}

.method-step strong {
  font-size: 21px;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.sectors-section {
  background: #fff;
}

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

.sector-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.sector-card strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

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

.seo-faq-section .split-grid {
  align-items: start;
}

.cards-4,
.cards-3,
.process,
.resources-grid {
  display: grid;
  gap: 22px;
}

.cards-4,
.process {
  grid-template-columns: repeat(4, 1fr);
}

.cards-3,
.resources-grid {
  grid-template-columns: repeat(3, 1fr);
}

.resource-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  grid-template-areas:
    "copy dossier"
    "intents intents";
  gap: 28px 64px;
  align-items: end;
}

.resource-copy {
  grid-area: copy;
}

.resource-copy h1 {
  max-width: 760px;
  font-size: clamp(42px, 3.3vw, 56px);
  line-height: 1.08;
}

.resource-copy .lead {
  max-width: 720px;
  font-size: 22px;
}

.resource-dossier {
  grid-area: dossier;
  padding: 26px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 28px 70px rgba(45, 44, 43, .16);
}

.dossier-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.dossier-top span {
  color: #d8b792;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dossier-top strong {
  font-size: 16px;
}

.dossier-lines {
  display: grid;
  margin-top: 18px;
}

.dossier-lines span {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.dossier-lines span:last-child {
  border-bottom: 0;
}

.dossier-lines b {
  color: #fff;
}

.dossier-lines i {
  color: #d8d1c9;
  font-style: normal;
}

.intent-row {
  grid-area: intents;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intent-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 36px 18px 24px;
  border-right: none;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}

.intent-card > * {
  position: relative;
  z-index: 3;
}

.intent-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  background: transparent;
  transition: background .2s ease;
  pointer-events: none;
}

.intent-card:first-child::before {
  left: 0;
  right: -16px;
  clip-path: polygon(0 0, calc(100% - 31px) 0, calc(100% - 1px) 50%, calc(100% - 31px) 100%, 0 100%);
}

.intent-card:nth-child(2)::before {
  left: -16px;
  right: -16px;
  clip-path: polygon(1px 0, calc(100% - 31px) 0, calc(100% - 1px) 50%, calc(100% - 31px) 100%, 1px 100%, 31px 50%);
}

.intent-card:last-child::before {
  left: -16px;
  right: 0;
  clip-path: polygon(1px 0, 100% 0, 100% 100%, 1px 100%, 31px 50%);
}

.intent-card:not(:first-child) {
  padding-left: 48px;
}

.intent-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  width: 32px;
  height: 100%;
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='100' viewBox='0 0 32 100' preserveAspectRatio='none'><path d='M1,0 L31,50 L1,100' fill='none' stroke='%23e5dfd8' stroke-width='1.5'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}


.intent-card:hover::before {
  background: var(--ink);
}

.intent-card:hover {
  color: #fff;
}

.intent-card small {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: var(--bronze-dark);
  font-weight: 950;
}

.intent-card strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
  line-height: 1.15;
}

.intent-card span {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
  line-height: 1.4;
}

.intent-card:hover span {
  color: #e8e2dc;
}

.card,
.process-card,
.article-card {
  padding: 28px;
}

.card.featured {
  background: var(--ink);
  color: #fff;
}

.card.featured p {
  color: #e8e2dc;
}

.card.featured::before {
  background: var(--bronze);
}

.card::before {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 24px;
  background: var(--bronze);
}

.card p,
.process-card p,
.article-card p,
.faq p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.process {
  counter-reset: process;
}

.split-grid .process {
  grid-template-columns: 1fr;
}

.process-card {
  counter-increment: process;
}

.process-card::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 18px;
  color: var(--bronze-dark);
  font-weight: 900;
}

.article-tag {
  margin-bottom: 18px;
  color: var(--bronze-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 850;
}

.numbered-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.numbered-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 360px;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.numbered-row .num {
  color: var(--bronze-dark);
  font-size: 24px;
  font-weight: 900;
}

.numbered-row h3 {
  margin-bottom: 8px;
}

.numbered-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-link {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-link small {
  color: var(--bronze-dark);
  font-weight: 900;
}

.service-link strong {
  display: block;
  margin: 12px 0;
  font-size: 22px;
}

.service-link:hover {
  box-shadow: var(--shadow);
}

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

.list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--bronze);
}

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

.faq {
  padding: 22px 24px;
}

.faq summary {
  font-weight: 850;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 52px;
  align-items: start;
}

.form-panel,
.info-panel {
  padding: 36px;
}

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

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

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

.field label {
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(177, 123, 82, .16);
}

.map {
  min-height: 260px;
  margin-top: 24px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cta-band {
  padding: 82px 0;
  background: var(--ink);
  color: #fff;
}

.cta-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
}

.cta-band p {
  max-width: 640px;
  margin: 0;
  color: #e5dfd8;
  font-size: 18px;
  line-height: 1.65;
}

.cta-band .btn {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.atlas-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.atlas-sidebar,
.resource-aside {
  position: sticky;
  top: 124px;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.atlas-sidebar strong,
.resource-aside strong {
  font-size: 18px;
}

.atlas-sidebar a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 850;
}

.atlas-sidebar span {
  color: var(--bronze-dark);
}

.service-atlas {
  display: grid;
  gap: 26px;
}

.atlas-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.atlas-block-header {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 230px;
  gap: 26px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
  background: var(--faint);
}

.atlas-code {
  color: var(--bronze-dark);
  font-size: 26px;
  font-weight: 950;
}

.atlas-block h2 {
  margin-bottom: 0;
  font-size: 34px;
}

.atlas-block-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.deliverable {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.deliverable:last-child {
  border-right: 0;
}

.deliverable small {
  color: var(--bronze-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.deliverable strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 20px;
}

.deliverable p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  margin: 20px 24px 26px;
  color: var(--bronze-dark);
  font-weight: 900;
}

.domain-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 72px;
  align-items: end;
}

.domain-panel {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.domain-panel span {
  display: block;
  margin-bottom: 28px;
  color: #d8b792;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-panel strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

.domain-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.domain-aside {
  position: sticky;
  top: 126px;
  display: grid;
  border: 1px solid var(--line);
  background: #fff;
}

.domain-aside strong {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.domain-aside a {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 850;
}

.domain-aside a:last-child {
  border-bottom: 0;
}

.domain-content {
  display: grid;
  gap: 28px;
}

.domain-chapter {
  padding: 42px;
  border: 1px solid var(--line);
  background: #fff;
}

.domain-chapter h2 {
  max-width: 880px;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.principle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.principle:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--bronze);
}

.principle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--faint);
  color: var(--bronze-dark);
  font-size: 18px;
  font-weight: 950;
  border: 1px solid var(--line);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.principle:hover span {
  background: var(--bronze);
  color: #fff;
  border-color: var(--bronze);
}

.principle h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.principle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.team-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.team-panel {
  min-height: 320px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.015);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
}

.team-panel.placeholder {
  background:
    linear-gradient(90deg, rgba(45, 44, 43, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(45, 44, 43, .035) 1px, transparent 1px),
    var(--faint);
  background-size: 28px 28px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.checklist span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--faint);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 750;
  font-size: 15px;
  line-height: 1.2;
  transition: all 0.25s ease;
}

.checklist span:hover {
  background: #fff;
  border-color: var(--bronze);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(177, 123, 82, 0.08);
}

.checklist span::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--bronze);
  font-size: 14px;
  font-weight: 900;
  margin-top: 0;
  flex: 0 0 auto;
}

.info-panel .checklist span,
.aside-card.dark .checklist span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.info-panel .checklist span:hover,
.aside-card.dark .checklist span:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bronze);
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 54px;
  align-items: start;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.featured-article .photo-frame,
.featured-article .photo-frame img {
  min-height: 420px;
}

.featured-copy {
  padding: 42px;
}

.featured-copy h2 {
  font-size: 42px;
}

.article-list {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.article-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 140px;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.article-row small {
  color: var(--bronze-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.article-row h3 {
  margin-bottom: 8px;
}

.article-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.aside-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.aside-card.dark {
  background: var(--ink);
  color: #fff;
}

.aside-card.dark p {
  color: #e5dfd8;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.contact-shell .form-panel,
.contact-shell .info-panel {
  border: 0;
  border-radius: 0;
}

.contact-shell .info-panel {
  border-left: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.contact-shell .info-panel p,
.contact-shell .info-panel .lead {
  color: #e5dfd8;
}

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

.contact-details {
  font-size: 20px;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  margin-bottom: 56px;
}

.next-step {
  position: relative;
  min-height: 210px;
  padding: 28px 36px 28px 28px;
  border-right: none;
}

.next-step:not(:first-child) {
  padding-left: 54px;
}

.next-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  width: 32px;
  height: 100%;
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='100' viewBox='0 0 32 100' preserveAspectRatio='none'><path d='M1,0 L31,50 L1,100' fill='none' stroke='%23e5dfd8' stroke-width='1.5'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}




.next-step span {
  color: var(--bronze-dark);
  font-weight: 950;
}

.next-step h3 {
  margin: 18px 0 10px;
}

.next-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 78px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-cta .section-kicker {
  color: #d8b792;
}

.footer-cta h2 {
  max-width: 820px;
  margin-bottom: 16px;
  color: #fff;
}

.footer-cta p {
  max-width: 780px;
  margin: 0;
  color: #d8d1c9;
  font-size: 19px;
  line-height: 1.65;
}

.footer-cta .btn {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.footer-directory {
  display: grid;
  grid-template-columns: minmax(280px, 1.3fr) repeat(3, minmax(160px, .7fr));
  gap: 58px;
  padding: 54px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-logo {
  display: inline-flex;
  width: 180px;
  padding: 10px;
  background: #fff;
}

.footer-brand p {
  max-width: 410px;
  margin: 24px 0 18px;
  color: #d8d1c9;
  line-height: 1.65;
}

.footer-brand span {
  color: #d8b792;
  font-weight: 850;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 17px;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: #d8d1c9;
  line-height: 1.55;
}

.footer-column a {
  font-weight: 760;
}

.footer-column a:hover {
  color: #fff;
}

.footer-contact a {
  margin-top: 10px;
  color: #d8b792;
  font-weight: 900;
}

.footer-cta-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 320px;
}

.footer-cta-map {
  width: 100%;
  height: 150px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

.footer-cta-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 30px;
}

.footer-bottom p {
  margin: 0;
  color: #a9a19a;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .site-header.open .mobile-toggle span:first-child {
    transform: rotate(45deg);
    top: 18px;
  }

  .site-header.open .mobile-toggle span:last-child {
    transform: rotate(-45deg);
    top: 18px;
  }

  .site-header.open .nav {
    position: absolute;
    top: 96px;
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 50;
  }

  .nav a::after,
  .nav-parent::after {
    display: none !important;
  }

  .site-header.open .nav a,
  .site-header.open .nav-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 8px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 16px;
    font-weight: 750;
    color: var(--ink);
  }

  .site-header.open .nav a:last-child {
    border-bottom: 0;
  }

  .site-header.open .nav-dropdown {
    display: block;
    width: 100%;
  }

  .site-header.open .nav-dropdown.open .nav-parent {
    border-bottom: 1px solid var(--line);
  }

  .site-header.open .nav-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: var(--faint);
    margin: 0;
  }

  .site-header.open .nav-dropdown.open .nav-menu {
    display: flex;
    flex-direction: column;
  }

  .site-header.open .nav-menu a {
    color: var(--text);
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .site-header.open .nav-menu a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .page-media {
    min-height: 440px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-grid>div:first-child {
    padding: 0;
    max-width: none;
    text-align: left;
    align-items: flex-start;
    color: inherit;
  }

  .hero-grid>div:first-child h1 {
    color: inherit;
    margin-bottom: 28px;
  }

  .hero-grid>div:first-child .lead {
    color: #5b5754;
    margin-bottom: 36px;
  }

  .hero-grid>div:first-child .tag {
    background: var(--faint);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    color: var(--ink);
    margin-bottom: 34px;
  }

  .hero-grid>div:first-child .actions {
    justify-content: flex-start;
  }

  .hero-grid .btn-dark {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }

  .hero-grid .btn-dark:hover {
    background: var(--bronze-dark);
    border-color: var(--bronze-dark);
  }

  .hero-grid .btn:not(.btn-dark) {
    background: var(--paper);
    border-color: var(--ink);
    color: var(--ink);
  }

  .hero-grid .btn:not(.btn-dark):hover {
    border-color: var(--bronze-dark);
    color: var(--bronze-dark);
    background: var(--paper);
  }

  .hero-media {
    position: relative;
    left: 0;
    width: 100%;
    margin-right: 0;
    display: grid;
  }

  .hero-media::after {
    display: none;
  }

  .hero-media .photo-caption {
    left: 28px;
    right: 28px;
  }

  .hero {
    padding: 64px 0 92px;
  }

  .photo-frame,
  .photo-frame img {
    min-height: 440px;
  }

  .image-band-grid {
    grid-template-columns: 1fr;
  }

  .proof-row,
  .cards-4,
  .process,
  .intent-service-grid,
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3,
  .resources-grid,
  .intent-row,
  .service-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .situation-inner,
  .numbered-row,
  .atlas-grid,
  .domain-hero-grid,
  .domain-layout,
  .about-story,
  .resource-hero,
  .editorial-layout,
  .featured-article,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .atlas-sidebar,
  .domain-aside,
  .resource-aside {
    position: static;
  }

  .atlas-block-header,
  .article-row {
    grid-template-columns: 1fr;
  }

  .deliverables,
  .next-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cta,
  .footer-directory {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .contact-shell .info-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .situation-label,
  .situation-link {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .situation-inner > *:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .header-inner {
    min-height: 82px;
  }

  .logo-mark {
    width: 132px;
  }

  .site-header.open .nav {
    top: 82px;
  }

  .hero,
  .page-hero {
    padding: 58px 0 70px;
  }

  h1 {
    font-size: 40px;
  }

  .resource-copy h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 19px;
  }

  .actions,
  .cta-band .container {
    display: grid;
  }

  .footer-cta,
  .footer-directory {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    padding: 58px 0 46px;
  }

  .footer-directory {
    gap: 34px;
    padding: 42px 0;
  }

  .footer-bottom {
    display: grid;
  }

  .btn {
    width: 100%;
    font-size: 16px;
  }

  .proof-row,
  .cards-4,
  .cards-3,
  .resources-grid,
  .intent-row,
  .service-links,
  .intent-service-grid,
  .sector-grid,
  .deliverables,
  .next-steps,
  .team-strip,
  .process,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .intent-row {
    border-bottom: 0;
  }

  .intent-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 24px;
  }

  .intent-card::before {
    left: 0 !important;
    right: 0 !important;
    clip-path: none !important;
  }

  .intent-card:not(:first-child) {
    padding-left: 24px;
  }

  .intent-card:not(:last-child)::after {
    display: none;
  }


  .dossier-lines span {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .deliverable,
  .next-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .next-step {
    padding: 28px;
  }

  .next-step:not(:first-child) {
    padding-left: 28px;
  }

  .next-step:not(:last-child)::after {
    display: none;
  }

  .deliverable:last-child,
  .next-step:last-child {
    border-bottom: 0;
  }


  .mec-visual {
    width: min(100%, 420px);
    padding: 18px;
  }

  .photo-caption {
    display: grid;
  }

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

  .ledger-row {
    grid-template-columns: 58px 1fr 46px;
  }

  .section {
    padding: 68px 0;
  }

  .intent-service,
  .sector-card {
    min-height: auto;
    padding: 24px;
  }

  .method-step {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }

  .form-panel,
  .info-panel {
    padding: 24px;
  }
}

/* Floating Stats Bar */
.stats-container {
  position: relative;
  z-index: 15;
  margin-top: -64px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: clamp(48px, 4.5vw, 68px);
  font-weight: 850;
  color: var(--ink);
  line-height: 1;
  font-feature-settings: "tnum" 1;
}

.stat-label {
  font-size: 16px;
  font-weight: 800;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 1180px) {
  .stats-container {
    margin-top: 56px;
    padding: 36px 24px;
    box-shadow: none;
    border: 1px solid var(--line);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .stats-container {
    margin-top: 48px;
    padding: 36px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Services Section */
.services-section {
  background: var(--faint);
  padding: 60px 0 100px;
}

.text-center {
  text-align: center;
}

.section-desc {
  max-width: 720px;
  margin-inline: auto;
}

.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--faint);
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.05);
}

.service-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.service-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--bronze-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.18s ease;
  margin-top: auto;
}

.service-link .arrow {
  transition: transform 0.18s ease;
}

.service-link:hover {
  color: var(--bronze);
}

.service-link:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 1180px) {
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .services-grid-4 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-section {
    padding: 70px 0;
  }
}

/* References & Logo Marquee Section */
.references-section {
  padding: 100px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.references-section .section-head {
  margin-inline: 0 auto;
  margin-bottom: 54px;
}

.logo-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--paper), transparent);
}

.logo-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--paper), transparent);
}

.logo-marquee {
  display: flex;
  gap: 36px;
  width: max-content;
  user-select: none;
  cursor: grab;
  will-change: transform;
}

.logo-marquee:active {
  cursor: grabbing;
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 90px;
  padding: 10px 24px;
  background: var(--faint);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-item:hover {
  background: var(--paper);
  border-color: var(--bronze);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(177, 123, 82, 0.08);
}

.logo-placeholder {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.logo-item:hover .logo-placeholder {
  color: var(--bronze-dark);
}

@media (max-width: 760px) {
  .references-section {
    padding: 70px 0;
  }

  .logo-marquee-wrapper::before,
  .logo-marquee-wrapper::after {
    width: 60px;
  }

  .logo-item {
    width: 180px;
    height: 80px;
  }

  .logo-placeholder {
    font-size: 12px;
  }
}

/* ==========================================================================
   Qui Sommes-Nou Rebrand Upgrades - Custom Styles
   ========================================================================== */

/* About Hero Styles */
.about-hero {
  padding: 80px 0;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); /* Image on the left, Content on the right */
  gap: 64px;
  align-items: center;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-hero-content .tag {
  background: var(--faint);
  color: var(--bronze-dark);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  margin-bottom: 20px;
  border-radius: 4px;
  display: inline-block;
  min-height: auto;
}

.about-hero-content h1 {
  font-size: clamp(38px, 3.8vw, 48px);
  margin-bottom: 24px;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 900;
}

.about-hero-content .lead {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--bronze-dark);
  font-weight: 750;
  margin-bottom: 16px;
}

.about-hero-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 24px 0;
}

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

.about-hero-gallery {
  position: relative;
  height: 480px;
  width: 100%;
}

.gallery-main-frame {
  width: 85%;
  height: 85%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(45, 44, 43, 0.08);
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid var(--line);
}

.gallery-main-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlap-card {
  position: absolute;
  bottom: 12px;
  right: 0;
  width: 250px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(45, 44, 43, 0.08);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overlap-card-seal {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}

.overlap-card-text {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 800;
  margin: 0;
}

.overlap-card-sub {
  font-size: 11px;
  color: var(--bronze-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
  margin: 0;
}

/* Philosophy Tabs Section */
.philosophy-section {
  padding: 92px 0;
  background: var(--faint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.philo-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 44px;
  flex-wrap: wrap;
}

.philo-tab-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 750;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(45, 44, 43, 0.03);
}

.philo-tab-btn:hover {
  border-color: var(--bronze);
  color: var(--bronze-dark);
}

.philo-tab-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(45, 44, 43, 0.15);
}

.philo-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 48px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.4s ease forwards;
}

.philo-panel.active {
  display: block;
}

.philo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: center;
}

.philo-copy h3 {
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 800;
}

.philo-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
}

.philo-quote {
  border-left: 3px solid var(--bronze);
  padding-left: 24px;
  font-style: italic;
}

.philo-quote blockquote {
  font-size: 20px;
  line-height: 1.5;
  color: var(--bronze-dark);
  margin: 0 0 12px 0;
  font-weight: 700;
}

.philo-quote cite {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
  font-style: normal;
}

/* History Timeline Styles */
.timeline-section {
  padding: 92px 0;
}

.vertical-timeline {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
  padding-left: 32px;
}

.vertical-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: var(--line);
}

.timeline-event {
  position: relative;
  margin-bottom: 48px;
}

.timeline-event:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bronze);
  z-index: 2;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.timeline-event:hover .timeline-node {
  transform: scale(1.3);
  background-color: var(--bronze);
}

.timeline-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
  box-shadow: 0 4px 18px rgba(45, 44, 43, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-event:hover .timeline-card {
  border-color: var(--bronze);
  box-shadow: var(--shadow);
}

.timeline-date {
  font-size: 14px;
  font-weight: 900;
  color: var(--bronze-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.timeline-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.timeline-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Charter Grid Enhancements */
.principle-icon {
  margin-bottom: 16px;
  color: var(--bronze);
}

.principle-icon svg {
  width: 38px;
  height: 38px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 18px 42px rgba(37, 211, 102, .28), 0 8px 26px rgba(45, 44, 43, .18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex: 0 0 auto;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #1fbd5a;
  color: #fff;
  box-shadow: 0 22px 48px rgba(37, 211, 102, .34), 0 10px 30px rgba(45, 44, 43, .2);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, .35);
  outline-offset: 4px;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .philo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-hero-gallery {
    height: 420px;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .philo-panel {
    padding: 28px;
  }
  .about-hero-gallery {
    height: 360px;
  }
  .gallery-overlap-card {
    width: 220px;
    padding: 16px;
  }
}
