/* Castle Homes — photo-rich, readable luxury */

:root {
  --ch-green: #2c3e2f;
  --ch-green-deep: #1a2420;
  --ch-stone: #f0ebe3;
  --ch-cream: #faf8f4;
  --ch-ink: #2a2520;
  --ch-ink-soft: #4a443c;
  --ch-ink-muted: #5c554d;
  --ch-gold: #8a7560;
  --ch-castle-red: #732423;
  --ch-line: rgba(42, 37, 32, 0.12);
  --ch-max: 1240px;
  --ch-max-narrow: 820px;
  --ch-max-wide: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body.castle-page {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--ch-ink-soft);
  background: var(--ch-cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* ── Layout ── */

.ch-container {
  width: min(var(--ch-max), 92vw);
  margin-inline: auto;
}

.ch-container--narrow {
  width: min(var(--ch-max-narrow), 92vw);
}

.ch-container--intro {
  width: min(var(--ch-max-wide), 94vw);
}

/* ── Typography — sized for comfortable reading ── */

.ch-eyebrow {
  font-family: "Josefin Sans", "Helvetica Neue", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ch-gold);
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--ch-ink);
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  margin-top: 1rem;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  margin-top: 0.65rem;
}

h3 {
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  margin-top: 0.35rem;
}

.ch-lead {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  color: var(--ch-ink-muted);
  margin-top: 1.75rem;
  line-height: 1.78;
}

.ch-lead--italic {
  font-style: italic;
  margin-top: 1.25rem;
}

.ch-meta {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ch-ink-muted);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ch-line);
}

.ch-body {
  color: var(--ch-ink-muted);
  font-size: 1.2rem;
  line-height: 1.78;
}

.ch-body--lead {
  font-size: 1.25rem;
  max-width: 40rem;
  margin-top: 1.25rem;
}

/* ── Hero (unchanged) ── */

.ch-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@supports not (min-height: 100dvh) {
  .ch-hero {
    min-height: -webkit-fill-available;
  }
}

.ch-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 40%;
  transform: scale(1.03);
}

.ch-hero-bg--interior {
  background-position: center 35%;
}

.ch-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 22, 20, 0.35) 0%,
    rgba(18, 22, 20, 0.15) 40%,
    rgba(18, 22, 20, 0.45) 100%
  );
}

.ch-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-hero-logo {
  width: min(72vw, 680px);
  height: auto;
  max-height: min(38vh, 320px);
  object-fit: contain;
  opacity: 0.97;
}

/* ── Intro ── */

.ch-intro {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  text-align: center;
  background: var(--ch-cream);
}

.ch-intro-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}

.ch-intro-logos-divider {
  width: 1px;
  height: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--ch-line);
  flex-shrink: 0;
}

.ch-intro-logo {
  display: block;
  object-fit: contain;
}

.ch-intro-logo--lctf {
  height: clamp(2.75rem, 5vw, 3.75rem);
  width: auto;
  max-width: min(46vw, 320px);
}

.ch-intro-logo--castle {
  height: clamp(2.25rem, 4.5vw, 3.25rem);
  width: auto;
  max-width: min(46vw, 280px);
  border-radius: 0.25rem;
}

.ch-intro-logo--brasfield {
  height: clamp(1.65rem, 4.2vw, 2.35rem);
  width: auto;
  max-width: min(92vw, 380px);
}

.ch-intro-logo--glenn-grayson {
  height: clamp(2.1rem, 4.2vw, 3rem);
  width: auto;
  max-width: min(52vw, 300px);
}

.ch-intro-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 4.8vw, 4.25rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--ch-ink);
  margin-top: 0;
  margin-inline: auto;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

/* Track-changes title: Custom → Castle (plays when scrolled into view) */
.ch-track-change {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  width: var(--track-w-start, 7.1ch);
}

.ch-track-change.is-playing {
  animation: ch-track-resize 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards 3.15s;
}

.ch-track-del {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.ch-track-change.is-playing .ch-track-del {
  animation:
    ch-track-del-color 0.35s ease forwards 0.85s,
    ch-track-del-hide 0.4s ease forwards 1.45s;
}

.ch-track-del::before,
.ch-track-del::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.08em;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
}

/* Sharpie bleed / pressure shadow */
.ch-track-del::before {
  --strike-rotate: -1.4deg;
  top: 47%;
  height: 0.13em;
  border-radius: 42% 58% 54% 46% / 52% 44% 56% 48%;
  background: rgba(115, 36, 35, 0.28);
  transform: scaleX(0) rotate(-1.4deg);
}

.ch-track-change.is-playing .ch-track-del::before {
  animation: ch-track-strike 0.62s cubic-bezier(0.22, 0.85, 0.28, 1) forwards 0.85s;
}

/* Hand-drawn Castle Homes red sharpie stroke */
.ch-track-del::after {
  --strike-rotate: -0.6deg;
  top: 55%;
  height: 0.105em;
  border-radius: 58% 42% 50% 50% / 44% 56% 52% 48%;
  background: var(--ch-castle-red);
  box-shadow:
    0 0.025em 0 0 rgba(115, 36, 35, 0.45),
    0.06em 0.01em 0 0 rgba(115, 36, 35, 0.18);
  transform: scaleX(0) rotate(-0.6deg);
}

.ch-track-change.is-playing .ch-track-del::after {
  animation: ch-track-strike 0.54s cubic-bezier(0.28, 0.72, 0.24, 1) forwards 0.93s;
}

.ch-track-ins {
  position: absolute;
  left: 0;
  top: -0.06em;
  width: 100%;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  font-family: "Pinyon Script", "Snell Roundhand", cursive;
  font-size: 1.28em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--ins-spacing-start, 0.04em);
  color: #1a5fb4;
  border-bottom: 0.08em solid transparent;
  padding-bottom: 0.02em;
}

.ch-track-change.is-playing .ch-track-ins {
  animation:
    ch-track-ins-reveal 0.001s linear forwards 1.95s,
    ch-track-ins-underline 0.25s ease forwards 2.05s,
    ch-track-ins-spacing 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards 3.15s,
    ch-track-ins-settle 0.55s ease forwards 3.45s;
}

.ch-track-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.18em) rotate(10deg) scale(0.92);
  transform-origin: left bottom;
}

.ch-track-change.is-playing .ch-track-letter {
  animation: ch-track-letter-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ch-track-change.is-playing .ch-track-letter:nth-child(1) { animation-delay: 1.95s; }
.ch-track-change.is-playing .ch-track-letter:nth-child(2) { animation-delay: 2.08s; }
.ch-track-change.is-playing .ch-track-letter:nth-child(3) { animation-delay: 2.21s; }
.ch-track-change.is-playing .ch-track-letter:nth-child(4) { animation-delay: 2.34s; }
.ch-track-change.is-playing .ch-track-letter:nth-child(5) { animation-delay: 2.47s; }
.ch-track-change.is-playing .ch-track-letter:nth-child(6) { animation-delay: 2.6s; }

@keyframes ch-track-strike {
  to { transform: scaleX(1) rotate(var(--strike-rotate, -0.6deg)); }
}

@keyframes ch-track-del-color {
  to { color: rgba(115, 36, 35, 0.72); }
}

@keyframes ch-track-del-hide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes ch-track-ins-reveal {
  to {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes ch-track-ins-underline {
  to { border-bottom-color: rgba(26, 95, 180, 0.75); }
}

@keyframes ch-track-letter-in {
  70% {
    opacity: 1;
    transform: translateY(-0.03em) rotate(-2deg) scale(1.03);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes ch-track-ins-spacing {
  to { letter-spacing: 0.01em; }
}

@keyframes ch-track-resize {
  to { width: var(--track-w-end, 6.4ch); }
}

@keyframes ch-track-ins-settle {
  to {
    color: var(--ch-ink);
    border-bottom-color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-track-change {
    width: auto;
    animation: none;
  }

  .ch-intro-title--track .ch-track-del {
    display: none;
  }

  .ch-intro-title--track .ch-track-ins {
    position: static;
    width: auto;
    color: var(--ch-ink);
    letter-spacing: 0.01em;
    border-bottom-color: transparent;
    animation: none;
  }

  .ch-intro-title--track .ch-track-letter {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.ch-intro .ch-lead {
  max-width: 52rem;
  margin-inline: auto;
}

.ch-section--3d {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.ch-section--3d .ch-eyebrow,
.ch-section--3d h2 {
  text-align: center;
}

.ch-body--3d-note {
  max-width: 40rem;
  margin-inline: auto;
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
  color: var(--ch-ink-muted);
}

.ch-lead--3d {
  max-width: 40rem;
  margin-inline: auto;
  margin-top: 1.25rem;
}

.ch-model-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.ch-model-compare__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ch-model-compare__label {
  font-family: "Josefin Sans", "Helvetica Neue", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ch-gold);
}

.ch-model-compare__media {
  overflow: hidden;
  border-radius: 0.25rem;
  background: #e8e8e8;
  border: 1px solid var(--ch-line);
}

.ch-model-compare__frame,
.ch-model-compare__video {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
  background: #e8e8e8;
}

.ch-model-compare__frame {
  display: block;
  min-height: 280px;
}

.ch-model-compare__video,
.ch-model-compare__photo {
  object-fit: cover;
  display: block;
}

.ch-model-compare__photo {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.ch-model-compare--follow {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.ch-section--featured-model {
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.ch-section--featured-model .ch-eyebrow,
.ch-section--featured-model h2 {
  text-align: center;
}

.ch-feature-model {
  margin: clamp(2.25rem, 4.5vw, 3.25rem) 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ch-feature-model__media {
  overflow: hidden;
  border-radius: 0.25rem;
  background: #f5f3ef;
  border: 1px solid var(--ch-line);
  box-shadow: 0 12px 40px rgba(28, 28, 28, 0.08);
}

.ch-feature-model__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: min(72vh, 640px);
  border: 0;
  background: #e8e8e8;
}

/* ── Full-width banner ── */

.ch-banner {
  width: 100%;
  max-height: 38vh;
  overflow: hidden;
}

.ch-banner img {
  width: 100%;
  height: 38vh;
  object-fit: cover;
  object-position: center 40%;
}

/* ── Sections ── */

.ch-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--ch-cream);
}

.ch-section--stone {
  background: var(--ch-stone);
}

.ch-section--wide .ch-container {
  width: min(var(--ch-max-wide), 94vw);
}

.ch-section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.ch-section-head--center {
  text-align: center;
}

.ch-section-head--center .ch-body--lead {
  margin-inline: auto;
}

/* ── Image + text panels ── */

.ch-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.ch-panel--reverse {
  direction: rtl;
}

.ch-panel--reverse > * {
  direction: ltr;
}

.ch-panel--full {
  width: 100%;
  gap: 0;
  align-items: stretch;
}

.ch-panel--full img {
  min-height: min(52vw, 560px);
  height: 100%;
  object-fit: cover;
}

.ch-panel--full .ch-panel-copy {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ch-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ch-panel-copy h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

.ch-panel-copy .ch-body {
  margin-top: 1.25rem;
}

.ch-panel-copy--dark {
  background: var(--ch-green-deep);
  color: rgba(250, 248, 244, 0.85);
}

.ch-panel-copy--dark h2 {
  color: var(--ch-cream);
}

.ch-panel-copy--dark .ch-eyebrow {
  color: var(--ch-gold);
}

.ch-panel-copy--dark .ch-body {
  color: rgba(250, 248, 244, 0.78);
}

/* ── Principles list ── */

.ch-principles {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ch-principles li {
  font-size: 1.15rem;
  line-height: 1.72;
  color: var(--ch-ink-muted);
  padding-left: 1.25rem;
  border-left: 2px solid var(--ch-gold);
}

.ch-principles strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ch-ink);
  margin-bottom: 0.35rem;
}

/* ── Capabilities grid — photo + text ── */

.ch-capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.ch-capability img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1.25rem;
}

.ch-capability h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.65rem);
}

.ch-capability p {
  font-size: 1.15rem;
  color: var(--ch-ink-muted);
  margin-top: 0.6rem;
  line-height: 1.72;
}

/* ── Featured projects (unchanged layout) ── */

.ch-projects {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ch-project {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--ch-line);
}

.ch-project--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.ch-project--reverse img {
  order: 2;
}

.ch-project--reverse .ch-project-copy {
  order: 1;
}

.ch-project img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ch-project-copy h3 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.ch-project-copy p {
  font-size: 1.2rem;
  color: var(--ch-ink-muted);
  margin-top: 0.85rem;
  max-width: 32rem;
  line-height: 1.75;
}

.ch-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.ch-quote p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-style: italic;
  color: var(--ch-ink);
  line-height: 1.55;
  margin-top: 0;
  max-width: 34rem;
}

.ch-quote-attribution {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ch-gold);
  margin-top: 1.25rem;
}

.ch-projects--pillars .ch-project:first-child {
  border-top: 1px solid var(--ch-line);
}

#projects .ch-section-head {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

#projects .ch-project:first-child {
  border-top: none;
}

/* ── Partners ── */

.ch-partners {
  list-style: none;
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.ch-partners li {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 0.75rem;
}

.ch-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin: 0;
  width: 100%;
  max-width: 340px;
}

.ch-partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 7.25rem;
  padding: 0.5rem 0;
}

.ch-partner-name {
  font-family: "Josefin Sans", "Helvetica Neue", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ch-ink-muted);
  min-height: 2.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ch-partner-logo {
  display: block;
  height: 4.25rem;
  width: auto;
  max-width: min(100%, 340px);
  object-fit: contain;
}

.ch-partner-card--layson .ch-partner-logo-wrap {
  background: #333638;
  border-radius: 0.375rem;
  padding: 0.875rem 1.25rem;
}

.ch-partner-card--layson .ch-partner-logo {
  opacity: 1;
}

.ch-partner-link {
  display: flex;
  justify-content: center;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.ch-partner-link:hover .ch-partner-name,
.ch-partner-link:focus-visible .ch-partner-name {
  color: var(--ch-ink);
}

.ch-partner-card--strickland .ch-partner-logo {
  height: 4.25rem;
  width: 4.25rem;
  object-fit: contain;
  border-radius: 0.375rem;
}

.ch-gc-fit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  list-style: none;
  padding: 0;
  text-align: left;
}

.ch-gc-fit__item {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--ch-cream);
  border: 1px solid var(--ch-line);
}

.ch-gc-fit__item h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--ch-ink);
  margin: 0.35rem 0 0.65rem;
}

.ch-gc-fit__item p:last-child {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ch-ink-soft);
  margin: 0;
}

.ch-partners-group {
  margin-top: clamp(3.5rem, 7vw, 5rem);
  padding-top: clamp(3rem, 6vw, 4rem);
  border-top: 1px solid var(--ch-line);
}

.ch-partners--architects {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.ch-partners--architects li {
  flex: 0 1 auto;
  max-width: 340px;
}

.ch-partners--architects li:first-child,
.ch-partners--architects li:last-child {
  grid-column: auto;
}

/* ── Materials ── */

.ch-materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.ch-material img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.ch-material figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(20, 26, 23, 0.8));
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  color: var(--ch-cream);
  text-align: center;
}

.ch-material {
  position: relative;
  overflow: hidden;
}

/* ── Stats (inside dark panel) ── */

.ch-panel-copy--dark .ch-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(154, 133, 112, 0.35);
}

.ch-stats dt {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 500;
  color: var(--ch-cream);
}

.ch-stats dd {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.55);
  margin-top: 0.35rem;
}

/* ── CTA ── */

.ch-cta {
  background: var(--ch-green-deep);
  color: var(--ch-cream);
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  text-align: center;
}

.ch-cta .ch-eyebrow {
  color: var(--ch-gold);
}

.ch-cta h2 {
  color: var(--ch-cream);
  margin-top: 0.75rem;
}

.ch-cta .ch-body {
  color: rgba(250, 248, 244, 0.82);
  max-width: 36rem;
  margin: 1.5rem auto 0;
  font-size: 1.25rem;
}

.ch-cta-btn {
  display: inline-block;
  margin-top: 2.25rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ch-cream);
  padding: 1.15rem 2.5rem;
  border: 1px solid rgba(250, 248, 244, 0.5);
  transition: background 0.25s ease;
}

.ch-cta-btn:hover {
  background: rgba(250, 248, 244, 0.1);
}

.ch-cta-contact {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  color: rgba(250, 248, 244, 0.55);
  margin-top: 2rem;
}

/* ── Footer ── */

.ch-footer {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  background: var(--ch-green-deep);
  border-top: 1px solid rgba(154, 133, 112, 0.25);
}

.ch-footer img {
  width: 32px;
  height: auto;
  margin-inline: auto;
  opacity: 0.5;
  filter: brightness(2);
}

.ch-footer p {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: rgba(250, 248, 244, 0.45);
  margin-top: 1rem;
}

.ch-footer a {
  text-decoration: none;
  color: inherit;
}

.ch-footer a:hover {
  color: var(--ch-gold);
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .ch-capabilities {
    grid-template-columns: 1fr;
  }

  .ch-panel,
  .ch-panel--full {
    grid-template-columns: 1fr;
  }

  .ch-panel--reverse {
    direction: ltr;
  }

  .ch-panel--full img {
    min-height: 50vw;
  }

  .ch-panel-copy--dark .ch-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body.castle-page {
    font-size: 1.125rem;
    overflow-x: hidden;
  }

  .ch-hero-bg {
    background-position: center center;
    transform: none;
  }

  .ch-hero-content {
    padding-inline: clamp(1.25rem, 6vw, 2rem);
    width: 100%;
  }

  .ch-hero-logo {
    width: min(92vw, 360px);
    max-height: min(28vh, 220px);
  }

  .ch-intro {
    padding-inline: clamp(1.25rem, 5vw, 2rem);
  }

  .ch-intro-logos {
    flex-direction: column;
    gap: 1.25rem;
  }

  .ch-intro-logos-divider {
    width: clamp(4rem, 36vw, 9rem);
    height: 1px;
  }

  .ch-intro-logo--lctf {
    height: clamp(2.25rem, 7vw, 2.75rem);
    max-width: min(85vw, 300px);
  }

  .ch-intro-logo--castle {
    height: clamp(2rem, 6.5vw, 2.5rem);
    max-width: min(85vw, 260px);
  }

  .ch-intro-logo--brasfield {
    height: clamp(1.45rem, 5.5vw, 1.85rem);
    max-width: min(92vw, 320px);
  }

  .ch-intro-logo--glenn-grayson {
    height: clamp(1.85rem, 6vw, 2.35rem);
    max-width: min(85vw, 280px);
  }

  .ch-capability img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .ch-banner img {
    height: 32vw;
    min-height: 180px;
  }

  .ch-project,
  .ch-project--reverse {
    grid-template-columns: 1fr;
    padding-inline: clamp(1.25rem, 5vw, 2rem);
  }

  .ch-project--reverse img,
  .ch-project--reverse .ch-project-copy {
    order: unset;
  }

  .ch-materials {
    grid-template-columns: 1fr;
  }

  .ch-material img {
    aspect-ratio: 16 / 10;
  }

  .ch-partners {
    grid-template-columns: 1fr;
  }

  .ch-gc-fit {
    grid-template-columns: 1fr;
  }

  .ch-partners--architects {
    flex-direction: column;
    align-items: center;
  }

  .ch-model-compare {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ch-feature-model__frame {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }

  .ch-intro-title {
    white-space: normal;
    font-size: clamp(1.85rem, 8vw, 2.75rem);
    line-height: 1.2;
  }

  .ch-intro-title--track {
    display: block;
    width: 100%;
    overflow-x: hidden;
  }

  .ch-track-change {
    display: inline-block;
    max-width: 100%;
    vertical-align: baseline;
    overflow: hidden;
  }

  .ch-track-ins {
    top: 0;
  }

  .ch-quote p {
    font-size: clamp(1.2rem, 4.5vw, 1.45rem);
    max-width: 100%;
  }

  .ch-container,
  .ch-container--intro,
  .ch-container--narrow {
    width: min(var(--ch-max), 94vw);
  }

  .ch-model-compare__frame,
  .ch-model-compare__video,
  .ch-model-compare__photo {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }

  .ch-lead--3d {
    font-size: 1.125rem;
    padding-inline: 0.25rem;
  }

  .ch-section--3d h2 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    padding-inline: 0.25rem;
  }
}
