@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --burgundy: #6a1e2c;
  --burgundy-deep: #4d101c;
  --green: #0b5245;
  --green-bright: #0d7560;
  --ink: #262526;
  --muted: #686467;
  --line: #ddd8d5;
  --soft: #f3f1ef;
  --paper: #fff;
  --header-height: 86px;
  --container: 1180px;
  --shadow: 0 24px 60px rgba(45, 22, 28, 0.12);
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Baloo 2", "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #e6a93d;
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--burgundy);
}

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

.section {
  padding: clamp(76px, 9vw, 128px) 0;
}

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

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--green);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
  font-family: var(--font-display);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h2 {
  margin-bottom: 26px;
  color: var(--burgundy);
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  font-weight: 750;
}

h2 span,
.section-heading h2 span,
.intro h2 span,
.values-section h2 span,
.advisory-heading h2 span {
  color: var(--green);
}

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  font-family: var(--font-display);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--green {
  color: #fff;
  background: var(--green);
}

.button--green:hover {
  background: var(--green-bright);
}

.button--burgundy {
  color: #fff;
  background: var(--burgundy);
}

.button--burgundy:hover {
  background: var(--burgundy-deep);
}

.button--outline {
  color: var(--burgundy);
  border-color: var(--burgundy);
  background: transparent;
}

.button--outline:hover {
  color: #fff;
  background: var(--burgundy);
}

.text-link {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.97);
  transition: box-shadow 0.25s ease, min-height 0.25s ease;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(46, 23, 29, 0.1);
}

.site-header__inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: 160px 1fr auto;
  gap: 30px;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: 142px;
  align-items: center;
}

.brand img {
  width: 100%;
}

.site-nav {
  justify-self: center;
}

.site-nav__list {
  display: flex;
  margin: 0;
  padding: 0;
  gap: clamp(18px, 2.2vw, 34px);
  align-items: center;
  list-style: none;
}

.site-nav__list a {
  position: relative;
  display: block;
  padding: 28px 0;
  font-size: 0.81rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.site-nav__list a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after,
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current_page_parent > a::after {
  transform: scaleX(1);
}

.header-phone {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
}

.header-phone__icon {
  width: 23px;
  height: 23px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Home hero */
.home-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  color: #fff;
  background: var(--burgundy-deep);
}

.home-hero__video,
.home-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__video {
  object-fit: cover;
}

.home-hero__overlay {
  background: linear-gradient(180deg, rgba(69, 0, 13, 0.32), rgba(70, 0, 13, 0.62)), linear-gradient(90deg, rgba(53, 0, 10, 0.26), transparent 50%, rgba(53, 0, 10, 0.22));
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - var(--header-height));
  padding-block: 82px 100px;
  flex-direction: column;
  justify-content: center;
}

.home-hero__title {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
}

.home-hero h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.45rem, 4.45vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.04;
  text-wrap: balance;
}

.home-hero h1 span {
  color: #fff;
}

.home-hero__title > p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.55;
}

.hero-benefits {
  display: grid;
  width: min(1040px, 100%);
  margin: 0 auto 50px;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hero-benefit {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero-benefit__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 13px;
  filter: grayscale(1) saturate(0) brightness(1.55) contrast(0.82);
  opacity: 1;
}

.hero-benefit strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.hero-benefit span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.88;
}

.home-hero__cta {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
}

.home-hero__cta > span {
  font-family: var(--font-display);
  font-size: 0.94rem;
  opacity: 0.9;
}

.home-hero .button {
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  display: flex;
  width: 28px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  justify-content: center;
  transform: translateX(-50%);
}

.hero-scroll span {
  width: 3px;
  height: 7px;
  margin-top: 8px;
  border-radius: 4px;
  background: #fff;
  animation: scroll-dot 1.7s infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  75%, 100% { transform: translateY(15px); opacity: 0; }
}

/* Sections */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(50px, 9vw, 130px);
}

.intro__copy {
  max-width: 720px;
}

.intro__copy p:last-child {
  margin-bottom: 0;
}

.accent-line {
  position: relative;
  margin: 34px 0;
  padding-left: 28px;
  color: var(--burgundy);
  font-size: 1.12rem;
  font-weight: 750;
}

.accent-line::before {
  position: absolute;
  top: 0.1em;
  bottom: 0.1em;
  left: 0;
  width: 3px;
  background: var(--green);
  content: "";
}

.client-band {
  padding: 50px 0 54px;
  color: #fff;
  background: var(--burgundy);
}

.client-band p {
  margin-bottom: 28px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.client-logos a {
  display: flex;
  height: 92px;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.client-logos a:hover {
  transform: translateY(-3px);
}

.client-logos img {
  width: 188px;
  max-height: 92px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 58px;
}

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

.section-heading > p:last-child {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
}

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

.pillar-card {
  position: relative;
  min-height: 475px;
  overflow: hidden;
  color: #fff;
  cursor: default;
}

.pillar-card img,
.pillar-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pillar-card img {
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pillar-card:first-child img {
  object-position: 26% center;
}

.pillar-card__shade {
  background: linear-gradient(180deg, rgba(20, 9, 11, 0.08) 10%, rgba(42, 5, 12, 0.93) 100%);
  transition: background 0.35s ease;
}

.pillar-card__number {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.pillar-card__content {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 24px;
  left: 22px;
  transform: translateY(calc(100% - 46px));
  transition: transform 0.38s ease;
}

.pillar-card h3 {
  min-height: 44px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.13rem;
}

.pillar-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  opacity: 0;
  transition: opacity 0.25s ease 0.06s;
}

.pillar-card:hover img,
.pillar-card:focus img {
  transform: scale(1.08);
}

.pillar-card:hover .pillar-card__shade,
.pillar-card:focus .pillar-card__shade {
  background: linear-gradient(180deg, rgba(20, 9, 11, 0.15), rgba(31, 4, 9, 0.98));
}

.pillar-card:hover .pillar-card__content,
.pillar-card:focus .pillar-card__content {
  transform: translateY(0);
}

.pillar-card:hover p,
.pillar-card:focus p {
  opacity: 1;
}

.model-section {
  background: var(--soft);
}

.model-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  gap: clamp(55px, 9vw, 130px);
  align-items: center;
}

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

.model-grid > div,
.model-grid > a {
  display: flex;
  min-height: 150px;
  padding: 25px;
  color: #fff;
  background: var(--green);
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.2s ease, background 0.2s ease;
}

.model-grid > div:nth-child(2),
.model-grid > div:nth-child(3) {
  background: #126653;
}

.model-grid > a {
  position: relative;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
  background: transparent;
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.model-grid > a:hover {
  color: #fff;
  background: var(--burgundy);
}

.model-grid strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.model-grid span {
  margin-top: 5px;
  font-size: 0.76rem;
  opacity: 0.86;
}

.model-grid > a span {
  margin: 0;
  font-size: 2rem;
}

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

.post-card {
  min-width: 0;
  background: #fff;
}

.post-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.42;
  background: var(--soft);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.post-card:hover .post-card__image img {
  transform: scale(1.045);
}

.post-card__body {
  padding: 26px 2px 0;
}

.post-card__meta {
  margin-bottom: 13px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card h2 {
  margin-bottom: 15px;
  color: var(--burgundy);
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.2;
}

.post-card h2 a:hover {
  color: var(--green);
}

.post-card__body > p:not(.post-card__meta) {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-action {
  margin-top: 52px;
  text-align: center;
}

/* Interior heroes */
.page-hero {
  position: relative;
  display: flex;
  min-height: 410px;
  overflow: hidden;
  color: #fff;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  align-items: flex-end;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: inherit;
  background-position: center;
  background-size: cover;
  content: "";
  transform: scale(1.02);
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(40, 11, 17, 0.74), rgba(26, 13, 16, 0.22) 70%), linear-gradient(0deg, rgba(31, 4, 9, 0.55), transparent 70%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}

.page-hero .eyebrow {
  color: #fff;
  opacity: 1;
}

.page-hero h1 {
  max-width: 950px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-weight: 770;
}

.page-hero h1 span {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.8fr);
  gap: clamp(55px, 9vw, 120px);
  align-items: center;
}

.image-frame {
  position: relative;
  margin: 0;
  padding: 18px;
  background: var(--soft);
}

.image-frame::before {
  position: absolute;
  z-index: -1;
  top: -20px;
  right: -20px;
  width: 58%;
  height: 62%;
  border: 2px solid var(--green);
  content: "";
}

.image-frame img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}

.image-frame figcaption {
  padding: 17px 5px 3px;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.function-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.function-card {
  display: flex;
  min-height: 205px;
  padding: 28px 20px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.function-card:hover {
  color: #fff;
  background: var(--burgundy);
  transform: translateY(-6px);
}

.function-card__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  transition: filter 0.25s ease;
}

.function-card:hover .function-card__icon {
  filter: brightness(0) invert(1);
}

.function-card strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.values-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1fr);
  gap: clamp(55px, 9vw, 130px);
  align-items: center;
}

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

.values-grid span {
  display: flex;
  min-height: 105px;
  padding: 18px;
  color: #fff;
  background: var(--burgundy);
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
}

.values-grid span:nth-child(even) {
  background: var(--burgundy-deep);
}

.values-grid .is-accent {
  background: var(--green);
}

/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.solution-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  color: #fff;
}

.solution-card img,
.solution-card__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.solution-card img {
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.solution-card__overlay {
  background: linear-gradient(180deg, rgba(30, 10, 15, 0.12), rgba(24, 6, 11, 0.95));
}

.solution-card__number {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.solution-card__content {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 30px;
  left: 30px;
  transform: translateY(calc(100% - 82px));
  transition: transform 0.4s ease;
}

.solution-card h2 {
  min-height: 60px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.solution-card p {
  margin-bottom: 23px;
  font-size: 0.86rem;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.2s ease 0.08s;
}

.solution-card:hover img,
.solution-card:focus img {
  transform: scale(1.05);
}

.solution-card:hover .solution-card__content,
.solution-card:focus .solution-card__content {
  transform: translateY(0);
}

.solution-card:hover p,
.solution-card:focus p {
  opacity: 1;
}

/* Advisory */
.advisory-heading {
  display: grid;
  margin-bottom: 55px;
  grid-template-columns: 1.1fr 0.7fr;
  gap: 70px;
  align-items: end;
}

.advisory-heading > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.need-card {
  display: flex;
  min-height: 155px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  background: var(--green);
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, background 0.2s ease;
}

.need-card:nth-child(3n + 2),
.need-card:nth-child(3n + 3) {
  background: #126653;
}

.need-card:hover {
  background: var(--burgundy);
  transform: translateY(-4px);
}

.need-card span {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.need-card strong {
  font-size: 1rem;
}

.change-cta {
  display: flex;
  min-height: 170px;
  margin-top: 36px;
  padding: 30px 45px;
  border: 2px solid var(--burgundy);
  align-items: center;
  justify-content: space-between;
}

.change-cta p {
  margin: 0;
  color: var(--muted);
}

.change-cta a {
  color: var(--burgundy);
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 780;
  letter-spacing: -0.04em;
}

.change-cta a span {
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.2s ease;
}

.change-cta a:hover span {
  transform: translateX(6px);
}

/* Blog and article */
.blog-listing {
  background: #fff;
}

.blog-grid {
  row-gap: 70px;
}

.nav-links {
  display: flex;
  margin-top: 65px;
  gap: 10px;
  justify-content: center;
}

.nav-links .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 750;
}

.nav-links .current,
.nav-links a:hover {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.empty-state {
  max-width: 680px;
  margin: auto;
  padding: 70px;
  background: var(--soft);
  text-align: center;
}

.post-hero {
  position: relative;
  display: flex;
  min-height: 560px;
  color: #fff;
  background: var(--burgundy-deep);
  align-items: flex-end;
}

.post-hero__image,
.post-hero__overlay {
  position: absolute;
  inset: 0;
}

.post-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-hero__overlay {
  background: linear-gradient(180deg, rgba(28, 7, 12, 0.14), rgba(28, 4, 9, 0.84));
}

.post-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  padding-block: 110px 72px;
}

.post-hero .eyebrow {
  color: #fff;
  opacity: 1;
}

.post-hero h1 {
  max-width: 930px;
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(2.6rem, 5.6vw, 5.5rem);
  font-weight: 780;
}

.post-hero__date {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article__grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 760px);
  gap: clamp(45px, 9vw, 125px);
  justify-content: center;
}

.article__aside {
  position: sticky;
  top: calc(var(--header-height) + 38px);
  display: flex;
  height: max-content;
  padding-top: 5px;
  flex-direction: column;
}

.article__aside span {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article__aside strong {
  margin: 4px 0 28px;
  color: var(--burgundy);
}

.article__aside a {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
}

.prose {
  font-size: 1.03rem;
}

.prose > * {
  max-width: 760px;
}

.prose p {
  margin-bottom: 1.45em;
}

.prose h2 {
  margin-top: 1.5em;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.prose h3 {
  margin-top: 1.7em;
  color: var(--burgundy);
  font-size: 1.4rem;
}

.prose blockquote {
  margin: 46px 0;
  padding: 30px 38px;
  border-left: 4px solid var(--green);
  color: var(--burgundy);
  background: var(--soft);
  font-size: 1.22rem;
  font-weight: 650;
}

.prose a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-navigation {
  display: grid;
  padding: 0 0 100px;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.post-navigation > div {
  padding: 25px;
  border-top: 1px solid var(--line);
}

.post-navigation__next {
  text-align: right;
}

.post-navigation span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-navigation a {
  color: var(--burgundy);
  font-weight: 750;
}

/* Contact */
.contact-methods {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.contact-method {
  display: flex;
  min-width: 0;
  min-height: 165px;
  padding: 28px 24px;
  gap: 18px;
  align-items: center;
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-method:hover {
  color: #fff;
  background: var(--green);
}

.contact-method__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  transition: filter 0.2s ease;
}

.contact-method:hover .contact-method__icon {
  filter: brightness(0) invert(1);
}

.contact-method span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-method small {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-method:hover small {
  color: #fff;
}

.contact-method strong {
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.85fr);
  gap: clamp(45px, 7vw, 95px);
  align-items: start;
}

.map-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--soft);
}

.map-card iframe {
  width: 100%;
  height: 620px;
  border: 0;
  filter: grayscale(0.82) contrast(0.92);
}

.map-card__address {
  position: absolute;
  right: 25px;
  bottom: 25px;
  left: 25px;
  display: grid;
  padding: 26px;
  color: #fff;
  background: rgba(106, 30, 44, 0.96);
  grid-template-columns: 1fr auto;
  gap: 6px 25px;
}

.map-card__address strong {
  font-size: 1.05rem;
}

.map-card__address span {
  font-size: 0.8rem;
  grid-column: 1;
}

.map-card__address a {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form-wrap {
  padding-top: 10px;
}

.contact-form-wrap > h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.contact-form-wrap > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label:not(.checkbox) {
  display: flex;
  flex-direction: column;
}

.contact-form label > span:first-child:not(:only-child) {
  margin-bottom: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(11, 82, 69, 0.12);
}

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

.checkbox {
  display: grid;
  color: var(--muted);
  font-size: 0.77rem;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--green);
}

.checkbox a {
  color: var(--green);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-notice {
  margin-bottom: 24px;
  padding: 14px 18px;
  border-left: 4px solid;
  font-size: 0.86rem;
}

.form-notice--success {
  border-color: var(--green);
  background: #edf7f4;
}

.form-notice--error {
  border-color: var(--burgundy);
  background: #f9eef0;
}

/* Default/404 */
.standard-page__header {
  padding: 90px 0 70px;
  color: #fff;
  background: var(--burgundy);
}

.standard-page__header .eyebrow {
  color: #fff;
  opacity: 0.78;
}

.standard-page__header h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
}

.not-found {
  display: flex;
  min-height: 70vh;
  align-items: center;
  background: var(--soft);
}

.not-found__content {
  padding-block: 90px;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 20px;
  color: var(--burgundy);
  font-size: clamp(2.8rem, 7vw, 6.2rem);
}

/* Contact strip and footer */
.contact-strip {
  color: #fff;
  background: var(--green);
}

.contact-strip__grid {
  display: grid;
  min-height: 150px;
  grid-template-columns: 1.15fr 1fr 1fr;
}

.contact-strip__intro,
.contact-strip__item {
  display: flex;
  min-width: 0;
  padding: 30px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  align-items: center;
  justify-content: center;
}

.contact-strip__intro {
  flex-direction: column;
}

.contact-strip__intro strong {
  font-size: 1.25rem;
}

.contact-strip__intro span,
.contact-strip__item small {
  display: block;
  font-size: 0.73rem;
  opacity: 0.8;
}

.contact-strip__item {
  gap: 18px;
}

.contact-strip__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  filter: grayscale(1) saturate(0) brightness(1.55) contrast(0.82);
  opacity: 1;
}

.contact-strip__item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-strip a {
  transition: background 0.2s ease;
}

.contact-strip a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 76px 0 25px;
  color: #fff;
  background: var(--burgundy-deep);
}

.site-footer__grid {
  display: grid;
  padding-bottom: 60px;
  grid-template-columns: 0.85fr 1.35fr 0.9fr;
  gap: clamp(45px, 7vw, 90px);
}

.site-footer h2 {
  margin-bottom: 24px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-contact,
.footer-legal ul,
.footer-posts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact > div {
  margin-bottom: 16px;
}

.footer-contact dt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-contact dd {
  margin: 2px 0 0;
  font-size: 0.82rem;
}

.footer-posts li + li {
  margin-top: 14px;
}

.footer-posts a {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
}

.footer-posts img {
  width: 74px;
  height: 55px;
  object-fit: cover;
}

.footer-posts span {
  min-width: 0;
}

.footer-posts strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.footer-posts small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
}

.footer-legal li + li {
  margin-top: 9px;
}

.footer-legal li {
  font-size: 0.75rem;
}

.footer-legal li a:hover,
.footer-contact a:hover,
.footer-posts a:hover strong {
  color: #9fd2c8;
}

.footer-logo {
  display: block;
  width: 145px;
  margin-top: 33px;
}

.site-footer__bottom {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  justify-content: space-between;
  font-size: 0.69rem;
}

/* Existing cookie banner, visually aligned with the theme */
#cookie-law-info-bar,
.cky-consent-container .cky-consent-bar {
  width: min(520px, calc(100% - 32px)) !important;
  padding: 28px 30px 25px !important;
  border: 0 !important;
  border-top: 4px solid var(--green) !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  background: #fff !important;
  box-shadow: var(--shadow) !important;
  font-family: var(--font-body) !important;
  font-size: 0.86rem !important;
  line-height: 1.55 !important;
}

#cookie-law-info-bar .cli-bar-message {
  margin-bottom: 18px !important;
}

#cookie-law-info-bar .cli-bar-btn_container {
  display: flex !important;
  gap: 9px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

#cookie-law-info-bar .cli_action_button,
#cookie-law-info-bar .cli_settings_button {
  display: inline-flex !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 9px 15px !important;
  border: 1px solid var(--green) !important;
  border-radius: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  background: var(--green) !important;
  font-size: 0.69rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

#cookie-law-info-bar .cli_settings_button {
  color: var(--burgundy) !important;
  border-color: var(--burgundy) !important;
  background: transparent !important;
}

.cli-modal-backdrop.cli-show {
  opacity: 0.72 !important;
}

#cookie-law-info-again {
  color: #fff !important;
  background: var(--green) !important;
  box-shadow: var(--shadow) !important;
  font-family: var(--font-body) !important;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .site-header__inner { grid-template-columns: 135px 1fr auto; gap: 18px; }
  .brand { width: 126px; }
  .site-nav__list { gap: 17px; }
  .site-nav__list a { font-size: 0.74rem; }
  .header-phone span { display: none; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pillar-card { min-height: 410px; }
  .pillars-grid .pillar-card:nth-last-child(-n + 2) { grid-column: span 1; }
  .function-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-methods { grid-template-columns: repeat(2, 1fr); }
  .contact-strip__intro, .contact-strip__item { padding-inline: 24px; }
}

@media (max-width: 860px) {
  :root { --header-height: 76px; }
  .container { width: min(var(--container), calc(100% - 36px)); }
  .admin-bar .site-header { top: 46px; }
  .site-header__inner { display: flex; justify-content: space-between; }
  .brand { width: 128px; }
  .nav-toggle { display: block; order: 3; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    max-width: none;
    padding: 38px 25px;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.99);
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: visibility 0.25s, opacity 0.25s ease, transform 0.25s ease;
  }
  .admin-bar .site-nav { top: calc(var(--header-height) + 46px); }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .site-nav__list { width: min(520px, 100%); flex-direction: column; gap: 0; align-items: stretch; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list a { padding: 16px 5px; font-size: 1.05rem; }
  .site-nav__list a::after { display: none; }
  .header-phone { margin-left: auto; }
  .header-phone span { display: inline; }
  .home-hero { min-height: auto; }
  .home-hero__content { min-height: 760px; padding-block: 70px 95px; }
  .home-hero__title { margin-bottom: 42px; }
  .hero-benefits { grid-template-columns: repeat(2, 1fr); gap: 28px 15px; }
  .hero-benefit__icon { width: 48px; height: 48px; }
  .intro__grid, .model-section__grid, .split-content, .values-section__grid, .advisory-heading, .contact-layout { grid-template-columns: 1fr; }
  .model-section__grid { gap: 55px; }
  .solutions-grid, .news-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .values-section__grid, .advisory-heading, .contact-layout { gap: 45px; }
  .needs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-strip__grid { grid-template-columns: 1fr 1fr; }
  .contact-strip__intro { grid-column: 1 / -1; border-bottom: 1px solid rgba(255,255,255,.16); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
  .article__grid { grid-template-columns: 1fr; gap: 30px; }
  .article__aside { position: static; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
  .article__aside strong { margin: 0; }
}

@media (max-width: 620px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .section { padding-block: 70px; }
  .header-phone span { display: none; }
  .home-hero__content { min-height: 720px; padding-top: 55px; }
  .home-hero h1 br, .home-hero__title > p br { display: none; }
  .home-hero__title { margin-bottom: 32px; }
  .hero-benefits { margin-bottom: 35px; gap: 24px 10px; }
  .hero-benefit strong { font-size: 0.86rem; }
  .hero-benefit span { font-size: 0.68rem; }
  .hero-benefit__icon { width: 40px; height: 40px; margin-bottom: 8px; }
  .home-hero__cta { flex-direction: column; gap: 12px; text-align: center; }
  .home-hero__cta > span { font-size: 0.7rem; }
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid, .function-grid, .solutions-grid, .news-grid, .blog-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 430px; }
  .pillar-card__content, .solution-card__content { transform: none; }
  .pillar-card p, .solution-card p { opacity: 1; }
  .model-section__grid { grid-template-columns: minmax(0, 1fr); }
  .model-grid > div { min-height: 130px; padding: 18px; }
  .page-hero { min-height: 350px; }
  .page-hero__content { padding-bottom: 45px; }
  .image-frame::before { right: -8px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card { min-height: 485px; }
  .advisory-heading { gap: 20px; }
  .needs-grid { grid-template-columns: 1fr 1fr; }
  .need-card { min-height: 135px; padding: 18px; }
  .change-cta { min-height: 0; padding: 30px 22px; align-items: flex-start; flex-direction: column; gap: 15px; }
  .contact-methods { grid-template-columns: 1fr; }
  .contact-method { min-height: 130px; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .map-card, .map-card iframe { min-height: 500px; height: 500px; }
  .map-card__address { right: 15px; bottom: 15px; left: 15px; grid-template-columns: 1fr; }
  .map-card__address a { margin-top: 8px; grid-row: auto; grid-column: auto; }
  .contact-strip__grid, .site-footer__grid { grid-template-columns: 1fr; }
  .contact-strip__intro, .contact-strip__item { min-height: 130px; grid-column: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .site-footer__grid { gap: 45px; }
  .footer-legal { grid-column: auto; }
  .site-footer__bottom { gap: 10px; flex-direction: column; }
  .article__aside { grid-template-columns: 1fr; }
  .article__aside a { margin-top: 10px; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation__next { text-align: left; }
  .empty-state { padding: 40px 22px; }
}

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

@media print {
  .site-header, .contact-strip, .site-footer, .hero-scroll, .post-navigation { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding: 30px 0; }
}
