/*
Theme Name: EMC - Energy Management Consulting
Theme URI: https://energykn.com
Author: Energy Management Consulting
Author URI: https://energykn.com
Description: Custom theme for Energy Management Consulting. Solar energy consultancy for St. Kitts and Nevis. Editorial design with Source Serif 4 and Inter typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://energykn.com
Text Domain: emc
*/
/* ================================================================
   EMC THEME — MAIN STYLESHEET
   Design: Editorial/architectural, Source Serif 4 + Inter
   Version: 1.0.0
   ================================================================ */

/* ----------------------------------------------------------------
   RESET & TOKENS
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ocean: #0066CC;
  --ocean-dark: #004D99;
  --gold: #C7922A;
  --gold-muted: #B8883F;
  --midnight: #0A141F;
  --ink: #0D1B2A;
  --charcoal: #1A2332;
  --graphite: #2D3748;
  --slate: #5A6B7D;
  --fog: #8896A6;
  --stone: #B2BEC3;
  --ash: #D4D9DD;
  --mist: #E8EBED;
  --pearl: #F2F4F5;
  --snow: #F8F9FA;
  --white: #FFFFFF;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

::selection {
  background: rgba(199, 146, 42, 0.15);
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ----------------------------------------------------------------
   LAYOUT
   ---------------------------------------------------------------- */
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 5rem);
}

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 clamp(1.5rem, 4vw, 5rem);
  transition: all 0.5s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  height: 80px;
  border-bottom: 1px solid transparent;
  transition: all 0.5s var(--ease);
}

.site-header.is-hero .site-nav__link,
.site-header.is-hero .mark__wordmark,
.site-header.is-hero .mark__descriptor { color: var(--white); }
.site-header.is-hero .mark__divider { background: var(--gold); }

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.is-scrolled .site-header__inner {
  border-bottom-color: var(--mist);
  height: 64px;
}

.site-header.is-scrolled .site-nav__link,
.site-header.is-scrolled .mark__wordmark,
.site-header.is-scrolled .mark__descriptor { color: var(--ink); }

/* Mark / Logo */
.mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.mark__wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: 0.03em;
  transition: color 0.5s var(--ease);
}

.mark__divider {
  width: 1px;
  height: 1.25rem;
  background: var(--gold);
  flex-shrink: 0;
}

.mark__descriptor {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.5s var(--ease);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s, opacity 0.3s;
  position: relative;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.site-nav__link:hover::after,
.site-nav__link--active::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white) !important;
  background: var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
}

.header-cta:hover { background: var(--gold-muted); transform: translateY(-1px); }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

.site-header.is-hero .mobile-toggle span { background: var(--white); }
.site-header.is-scrolled .mobile-toggle span { background: var(--ink); }

@media (max-width: 900px) {
  .mobile-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right 0.4s var(--ease);
  }
  .site-nav.is-open { right: 0; }
  .site-nav .site-nav__link { color: var(--ink) !important; font-size: 1rem; }
  .site-nav .header-cta { margin-top: 1rem; }
}

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.875rem 1.75rem;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  cursor: pointer;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: var(--gold-muted); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ash);
}
.btn--outline:hover { border-color: var(--ink); }

.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--charcoal) 40%, var(--graphite) 100%);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,31,0.85) 0%, rgba(10,20,31,0.6) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 6rem 0;
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__headline em {
  font-style: italic;
  font-weight: 300;
}

.hero__lede {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--stone);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   SAVINGS STRIP
   ---------------------------------------------------------------- */
.savings-strip {
  background: var(--midnight);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.savings-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.saving { text-align: center; }

.saving__figure {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.saving__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fog);
}

@media (max-width: 700px) {
  .savings-strip__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------------------------------------------------------
   NARRATIVE BAND
   ---------------------------------------------------------------- */
.narrative-band {
  padding: 7rem 0;
  border-bottom: 1px solid var(--mist);
}

.narrative-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.narrative-band__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.narrative-band__heading {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.narrative-band__body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--graphite);
}

.narrative-band__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ocean);
  border-bottom: 1px solid transparent;
}

.narrative-band__link:hover { border-bottom-color: var(--ocean); }

@media (max-width: 800px) {
  .narrative-band__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ----------------------------------------------------------------
   AUDIENCE SEGMENTS
   ---------------------------------------------------------------- */
.audience-band {
  padding: 7rem 0;
  background: var(--snow);
}

.audience-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.audience-col {
  padding: 2.5rem;
  border-top: 2px solid var(--mist);
  transition: border-color 0.4s var(--ease);
}

.audience-col:hover { border-top-color: var(--gold); }

.audience-col__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 1rem;
}

.audience-col__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 1rem;
}

.audience-col__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.audience-col__stat {
  padding: 1rem 0;
  border-top: 1px solid var(--mist);
  margin-bottom: 1.5rem;
}

.audience-col__stat-figure {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ocean);
}

.audience-col__stat-label {
  font-size: 0.75rem;
  color: var(--fog);
  margin-top: 0.125rem;
}

.audience-col__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ocean);
}

@media (max-width: 900px) {
  .audience-band__grid { grid-template-columns: 1fr; }
  .audience-col { padding: 2rem 0; }
}

/* ----------------------------------------------------------------
   CASE STUDY FEATURE
   ---------------------------------------------------------------- */
.case-feature {
  padding: 7rem 0;
  border-bottom: 1px solid var(--mist);
}

.case-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.case-feature__image { border-radius: 2px; overflow: hidden; }
.case-feature__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.case-feature__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 0.75rem;
}

.case-feature__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1rem;
}

.case-feature__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 2rem;
}

.case-feature__metrics {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  margin-bottom: 2rem;
}

.case-feature__metric-value {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ocean);
}

.case-feature__metric-label {
  font-size: 0.6875rem;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 800px) {
  .case-feature__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ----------------------------------------------------------------
   METHODOLOGY
   ---------------------------------------------------------------- */
.methodology {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--snow);
  border-top: 1px solid var(--mist);
}

.methodology__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  margin-bottom: clamp(4rem, 6vw, 6rem);
  align-items: end;
}

.methodology__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.methodology__headline {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.methodology__intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate);
  align-self: end;
}

.methodology__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--mist);
}

.method-step {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-bottom: 1px solid var(--mist);
  transition: border-color 0.4s;
}

.method-step + .method-step {
  border-left: 1px solid var(--mist);
  padding-left: 2.5rem;
}

.method-step:nth-child(3n+1) { border-left: none; padding-left: 0; }

.method-step:hover { border-bottom-color: var(--gold); }

.method-step__number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.method-step__title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.method-step__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate);
}

@media (max-width: 900px) {
  .methodology__header { grid-template-columns: 1fr; gap: 2rem; }
  .methodology__grid { grid-template-columns: 1fr 1fr; }
  .method-step { padding: 2rem 2rem 2rem 0; }
  .method-step + .method-step { padding-left: 2rem; }
  .method-step:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .method-step:nth-child(3n+1) { border-left: 1px solid var(--mist); padding-left: 2rem; }
  .method-step:nth-child(2n+1) { border-left: none; padding-left: 0; }
}
@media (max-width: 600px) {
  .methodology__grid { grid-template-columns: 1fr; }
  .method-step + .method-step { border-left: none; padding-left: 0; }
}

/* ----------------------------------------------------------------
   PROTECTION
   ---------------------------------------------------------------- */
.protection {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.protection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.4;
}

.protection__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(4rem, 7vw, 10rem);
  align-items: start;
}

.protection__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.protection__headline {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff;
}

.protection__items {
  display: flex;
  flex-direction: column;
}

.protection__item {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

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

.protection__item-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.protection__item-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 800px) {
  .protection__grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ----------------------------------------------------------------
   INSIGHTS (homepage band)
   ---------------------------------------------------------------- */
.insights-band {
  padding: 7rem 0;
  background: var(--snow);
}

.insights-band__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.insights-band__title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
}

.insights-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  padding: 2rem;
  border-top: 2px solid var(--mist);
  transition: border-color 0.4s;
}

.article-card:hover { border-top-color: var(--ocean); }

.article-card__image {
  margin: -2rem -2rem 1.5rem;
  overflow: hidden;
}

.article-card__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.article-card__cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

.article-card__title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.article-card__title a { text-decoration: none; color: inherit; }
.article-card__title a:hover { color: var(--ocean); }

.article-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 1rem;
}

.article-card__meta {
  font-size: 0.75rem;
  color: var(--fog);
}

@media (max-width: 800px) {
  .insights-band__grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   INSIGHTS ARCHIVE: FEATURED ARTICLES ROW
   ---------------------------------------------------------------- */
.insights-featured {
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--mist);
}

.insights-featured__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.featured-article {
  display: grid;
  grid-template-rows: auto 1fr;
  border-top: 3px solid var(--ocean);
  padding-top: 1.5rem;
}

.featured-article__image {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.featured-article__image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.featured-article__title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.featured-article__title a { color: inherit; text-decoration: none; }
.featured-article__title a:hover { color: var(--ocean); }

.featured-article__excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .insights-featured__grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   INSIGHTS PAGE (page-insights template)
   ---------------------------------------------------------------- */
.insights-categories {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
  padding: 1rem 0;
}

.insights-categories .wrap {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
}

.insights-categories__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.insights-categories__link:hover,
.insights-categories__link--active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.insights-archive-body {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.insight-card {
  display: flex;
  flex-direction: column;
}

.insight-card__image {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.insight-card__image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.insight-card:hover .insight-card__image img {
  transform: scale(1.03);
}

.insight-card__image--placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--mist) 0%, var(--pearl) 50%, var(--mist) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.insight-card__title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.insight-card__title a { color: inherit; }
.insight-card__title a:hover { color: var(--ocean); }

.insight-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 1rem;
  flex: 1;
}

.insight-card__date {
  font-size: 0.75rem;
  color: var(--fog);
}

.insights-pagination {
  padding-top: 3rem;
  text-align: center;
}

.insights-empty {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.insights-empty h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.insights-empty p {
  color: var(--slate);
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   CLOSING CTA
   ---------------------------------------------------------------- */
.closing {
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
  border-top: 1px solid var(--mist);
}

.closing--compact { padding: clamp(4rem, 8vw, 6rem) 0; }

.closing--dark {
  background: var(--ink);
  color: var(--white);
  border-top: none;
  position: relative;
}

.closing--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.35;
}

.closing__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.closing__headline {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto 1.75rem;
}

.closing--dark .closing__headline { color: var(--white); }

.closing__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.closing--dark .closing__body { color: var(--fog); }

.closing .btn { margin-bottom: 1.5rem; }

.closing__urgency {
  font-size: 0.8125rem;
  color: var(--fog);
  font-style: italic;
}

.closing--dark .closing__urgency { color: var(--stone); }

/* ----------------------------------------------------------------
   VISUAL PLACEHOLDERS (image zones before photos are uploaded)
   ---------------------------------------------------------------- */
.visual-placeholder {
  position: relative;
  background: linear-gradient(135deg, var(--mist) 0%, var(--pearl) 50%, var(--mist) 100%);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,102,204,0.04) 0%, rgba(199,146,42,0.06) 100%);
}

.visual-placeholder--dark {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--graphite) 50%, var(--charcoal) 100%);
}

.visual-placeholder--dark::before {
  background: linear-gradient(160deg, rgba(0,102,204,0.08) 0%, rgba(199,146,42,0.04) 100%);
}

.visual-placeholder__label {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0.5;
}

.visual-placeholder--dark .visual-placeholder__label {
  color: var(--fog);
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--midnight);
  color: var(--stone);
  padding: 5rem 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-footer .mark__wordmark { color: var(--white); }
.site-footer .mark__descriptor { color: var(--stone); }

.footer-brand__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--gold);
  margin: 1rem 0 0.75rem;
}

.footer-brand__desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--fog);
}

.footer-col__heading {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 1.5rem;
}

.footer-col__links li { margin-bottom: 0.75rem; }
.footer-col__links a {
  font-size: 0.875rem;
  color: var(--stone);
  transition: color 0.3s;
}
.footer-col__links a:hover { color: var(--white); }

.footer-contact__name { font-weight: 600; color: var(--white); }
.footer-contact__role { color: var(--fog); font-size: 0.8125rem; }
.footer-contact a { color: var(--stone); transition: color 0.3s; }
.footer-contact a:hover { color: var(--white); }
.footer-contact__address { font-size: 0.8125rem; color: var(--fog); margin-top: 0.5rem; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--fog);
}

.site-footer__legal { display: flex; gap: 1.5rem; }
.site-footer__legal a { color: var(--fog); transition: color 0.3s; }
.site-footer__legal a:hover { color: var(--white); }

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ----------------------------------------------------------------
   PAGE HERO (interior pages)
   ---------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0,102,204,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.35;
}

.page-hero--compact {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 4rem);
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.page-hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 800px;
  margin-bottom: 1.75rem;
  color: var(--white);
}

.page-hero__lede {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.8;
  color: var(--fog);
  max-width: 600px;
}

/* ----------------------------------------------------------------
   SOLUTIONS PAGE
   ---------------------------------------------------------------- */
.solution-nav {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
  padding: 1rem 0;
}

.solution-nav .wrap {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
}

.solution-nav__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.solution-nav__link:hover,
.solution-nav__link.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.solution-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--mist);
}

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

.solution-section--dark {
  background: var(--ink);
  color: var(--white);
  border-bottom: none;
  position: relative;
}

.solution-section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.3;
}

.solution-section--dark .solution-section__title { color: var(--white); }
.solution-section--dark .solution-section__content p { color: var(--fog); }
.solution-section--dark .solution-section__stats { border-top-color: rgba(255,255,255,0.1); }
.solution-section--dark .solution-stat__label { color: var(--stone); }
.solution-section--dark .solution-aside-card { border-top-color: rgba(255,255,255,0.1); }
.solution-section--dark .solution-aside-card--highlight { border-top-color: var(--gold); background: rgba(255,255,255,0.04); }
.solution-section--dark .solution-aside-card__list li { color: var(--fog); }
.solution-section--dark .solution-aside-card p { color: var(--fog); }

.solution-aside__visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--mist) 0%, var(--pearl) 50%, var(--mist) 100%);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-section--dark .solution-aside__visual {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--graphite) 50%, var(--charcoal) 100%);
}

.solution-section__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.solution-section__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.solution-section__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.solution-section__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 1.25rem;
}

.solution-section__stats {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--mist);
  margin: 2rem 0;
}

.solution-stat__figure {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ocean);
}

.solution-stat__label {
  font-size: 0.75rem;
  color: var(--fog);
}

.solution-aside-card {
  padding: 1.5rem;
  border-top: 2px solid var(--mist);
  margin-bottom: 1.5rem;
}

.solution-aside-card--highlight {
  border-top-color: var(--gold);
  background: var(--snow);
}

.solution-aside-card__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.solution-aside-card__list {
  list-style: none;
}

.solution-aside-card__list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 0.5rem;
}

.solution-aside-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.solution-aside-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate);
}

@media (max-width: 800px) {
  .solution-section__grid { grid-template-columns: 1fr; gap: 2rem; }
  .solution-section__stats { flex-wrap: wrap; }
}

/* ----------------------------------------------------------------
   PROCESS / HOW WE WORK
   ---------------------------------------------------------------- */
.process-detail { padding: clamp(3rem, 6vw, 5rem) 0; }

.process-phase {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
}

.process-phase__number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1;
}

.process-phase__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-phase__subtitle {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--gold-muted);
  margin-bottom: 1rem;
}

.process-phase__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--graphite);
}

.process-phase__connector {
  width: 1px;
  height: 3rem;
  background: var(--mist);
  margin-left: 40px;
}

.qc-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
}

.qc-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.3;
}

.qc-section__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.qc-section__lede {
  font-size: 1rem;
  color: var(--fog);
  margin-bottom: 3rem;
  max-width: 640px;
}

.qc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.qc-item {
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.qc-item__id {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.qc-item__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.qc-item__desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--fog);
}

@media (max-width: 800px) {
  .qc-grid { grid-template-columns: 1fr 1fr; }
  .process-phase { grid-template-columns: 60px 1fr; }
}
@media (max-width: 600px) {
  .qc-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   ABOUT PAGE
   ---------------------------------------------------------------- */
.about-body { padding: clamp(3rem, 6vw, 5rem) 0; }

.about-section { margin-bottom: clamp(3rem, 6vw, 4rem); }

.about-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--mist);
}

.about-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 1.25rem;
}

.about-section__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.about-stat-card {
  padding: 1.5rem;
  border-top: 2px solid var(--gold);
  margin-bottom: 1.5rem;
  background: var(--snow);
}

.about-stat-card__figure {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ocean);
}

.about-stat-card__label {
  font-size: 0.8125rem;
  color: var(--slate);
  margin-top: 0.25rem;
}

/* Credentials / differentiators band */
.about-credentials {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--snow);
}

.about-credentials__header {
  margin-bottom: 3rem;
}

.about-credentials__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.about-credentials__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
}

.about-credentials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.credential-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--mist);
}

.credential-item__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.credential-item__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--slate);
}

/* Principal section — dark band */
.principal-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
}

.principal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.3;
}

.principal-section__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.principal-section__image {
  border-radius: 2px;
  overflow: hidden;
}

.principal-section__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.principal-section__image--placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--graphite) 50%, var(--charcoal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.principal-section h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.principal-section__title {
  color: var(--fog);
  margin-bottom: 1.5rem;
}

.principal-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fog);
  margin-bottom: 1rem;
}

.principal-section a { color: var(--gold); }

@media (max-width: 800px) {
  .about-section__grid { grid-template-columns: 1fr; }
  .principal-section__grid { grid-template-columns: 1fr; }
  .principal-section__image { max-width: 250px; }
}

/* ----------------------------------------------------------------
   CONTACT PAGE
   ---------------------------------------------------------------- */
.contact-body { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--snow); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-area {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--mist);
}

.contact-form-area h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* Form plugin override styles */
.contact-form-area input[type="text"],
.contact-form-area input[type="email"],
.contact-form-area input[type="tel"],
.contact-form-area textarea,
.contact-form-area select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ash);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.3s;
}

.contact-form-area input:focus,
.contact-form-area textarea:focus,
.contact-form-area select:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contact-form-area input[type="submit"],
.contact-form-area button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form-area input[type="submit"]:hover,
.contact-form-area button[type="submit"]:hover {
  background: var(--gold-muted);
}

.contact-fallback ul {
  margin: 1rem 0 0 1rem;
  list-style: disc;
}

.contact-fallback ul li {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: var(--graphite);
}

.contact-fallback__note { margin-top: 2rem; font-weight: 600; }

.contact-card {
  padding: 1.5rem;
  border-top: 2px solid var(--mist);
  margin-bottom: 1.5rem;
  background: var(--white);
  border-radius: 4px;
}

.contact-card--highlight {
  border-top-color: var(--gold);
  background: var(--white);
}

.contact-card__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-card p { font-size: 0.9375rem; line-height: 1.7; color: var(--graphite); margin-bottom: 0.75rem; }
.contact-card a { color: var(--ocean); }

.contact-card__address { font-size: 0.8125rem; color: var(--fog); }

.contact-card__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ocean);
}

.contact-steps {
  list-style: none;
  counter-reset: steps;
}

.contact-steps li {
  counter-increment: steps;
  position: relative;
  padding-left: 2rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 0.75rem;
}

.contact-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ocean);
}

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

/* ----------------------------------------------------------------
   ARCHIVE PAGES
   ---------------------------------------------------------------- */
.archive-body { padding: 4rem 0; }

.archive-filter {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid var(--mist);
  margin-bottom: 3rem;
  overflow-x: auto;
}

.archive-filter__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.archive-filter__link:hover,
.archive-filter__link--active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.case-card__image {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.case-card__image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.case-card__type {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 0.5rem;
}

.case-card__title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.case-card__title a { color: inherit; }
.case-card__title a:hover { color: var(--ocean); }

.case-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 1rem;
}

.case-card__metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.case-card__metric {
  font-size: 0.8125rem;
  color: var(--slate);
  padding: 0.25rem 0.75rem;
  background: var(--snow);
  border-radius: 2px;
}

.case-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ocean);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.archive-empty {
  text-align: center;
  padding: 4rem 0;
}

.archive-empty h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.archive-empty p {
  color: var(--slate);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 800px) {
  .case-study-grid { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   SINGLE CASE STUDY
   ---------------------------------------------------------------- */
.single-case__header {
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(3rem, 6vw, 4rem);
  background: var(--ink);
  color: var(--white);
  position: relative;
}

.single-case__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.35;
}

.back-link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fog);
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.back-link:hover { color: var(--gold); }

.single-case__type {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.single-case__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.single-case__location {
  font-size: 1rem;
  color: var(--fog);
}

.case-dashboard {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.case-dashboard__value {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--gold);
}

.case-dashboard__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fog);
}

.single-case__image { padding: 2rem 0; }
.single-case__photo { border-radius: 2px; width: 100%; }

.single-case__body { padding: 2rem 0 4rem; }

.single-case__content {
  max-width: 720px;
}

.single-case__content h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.single-case__content h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.single-case__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 1.25rem;
}

.single-case__content ul, .single-case__content ol {
  margin: 1rem 0 1.5rem 1.25rem;
  list-style: disc;
}

.single-case__content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 0.5rem;
}

/* ----------------------------------------------------------------
   SINGLE ARTICLE
   ---------------------------------------------------------------- */
.single-article__header {
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(3rem, 6vw, 4rem);
  background: var(--ink);
  color: var(--white);
  position: relative;
}

.single-article__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.35;
}

.single-article__cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.single-article__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: 1rem;
  color: var(--white);
}

.single-article__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: var(--fog);
}

.single-article__hero { padding: 0 0 2rem; }
.single-article__image { border-radius: 2px; width: 100%; }

.single-article__body { padding: 2rem 0 4rem; }

.single-article__content {
  max-width: 720px;
}

.single-article__content h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.single-article__content h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.single-article__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 1.25rem;
}

.single-article__content ul, .single-article__content ol {
  margin: 1rem 0 1.5rem 1.25rem;
  list-style: disc;
}

.single-article__content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 0.5rem;
}

.single-article__content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--snow);
  font-family: var(--serif);
  font-style: italic;
  color: var(--graphite);
}

.related-articles { padding: 4rem 0; border-top: 1px solid var(--mist); }

.related-articles__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* ----------------------------------------------------------------
   404 PAGE
   ---------------------------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(5rem, 10vw, 8rem);
  text-align: center;
  background: var(--ink);
  color: var(--white);
}

.error-page__content { margin: 0 auto; }

.error-page__code {
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page__title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--white);
}

.error-page__desc {
  font-size: 1rem;
  color: var(--fog);
  margin-bottom: 2rem;
}

.error-page__actions { display: flex; gap: 1rem; justify-content: center; }

/* ----------------------------------------------------------------
   DEFAULT PAGE BODY (block editor content)
   ---------------------------------------------------------------- */
.default-page-body { padding: 3rem 0 5rem; }

.default-page-body__content {
  max-width: 720px;
}

.default-page-body__content h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.default-page-body__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 1.25rem;
}

/* ----------------------------------------------------------------
   IMAGE PLACEHOLDERS (when no photo uploaded)
   ---------------------------------------------------------------- */
.emc-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pearl) 0%, var(--mist) 100%);
  color: var(--stone);
  overflow: hidden;
}

.emc-placeholder--case-feature { aspect-ratio: 4/3; }
.emc-placeholder--case-card { aspect-ratio: 16/10; }
.emc-placeholder--principal { aspect-ratio: 4/5; }
.emc-placeholder--card { aspect-ratio: 16/9; }

.emc-placeholder__mark {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.15;
  letter-spacing: 0.1em;
}

/* ----------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ----------------------------------------------------------------
   PAGINATION
   ---------------------------------------------------------------- */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  font-size: 0.875rem;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border: 1px solid var(--ash);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-links a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.nav-links .current {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ----------------------------------------------------------------
   WORDPRESS BLOCK EDITOR OVERRIDES
   ---------------------------------------------------------------- */
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.wp-block-table th,
.wp-block-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--ash);
  text-align: left;
}

.wp-block-table th {
  background: var(--midnight);
  color: var(--white);
  font-weight: 600;
}

.wp-block-table tr:nth-child(even) td {
  background: var(--snow);
}

.wp-block-image img { border-radius: 2px; }

.wp-block-separator {
  border: none;
  border-top: 1px solid var(--mist);
  margin: 2rem 0;
}

/* ----------------------------------------------------------------
   PRINT STYLES
   ---------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .closing, .btn, .mobile-toggle { display: none; }
  .page-hero { padding-top: 2rem; }
  body { font-size: 11pt; line-height: 1.5; }
}
