/* ==========================================================================
   Case Study page — Option A (editorial narrative, video-led)
   Used by project case-study pages, e.g. case-study-middleton-sa.html
   ========================================================================== */

.cs-page { background: var(--color-bg); }

/* ─── Hero ───
   Image is framed on the lower part of the photo so the house, windows and
   doors fill the frame; the title sits up in the sky area, clear of the
   building. */
.cs-hero {
  position: relative;
  height: clamp(460px, 50vw, 720px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.cs-hero-bg { position: absolute; inset: 0; }
.cs-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; display: block; }
.cs-hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,0.62) 0%, rgba(20,18,16,0.28) 28%, rgba(20,18,16,0) 46%);
}
.cs-hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(120px, 11vw, 168px);
  color: var(--color-text-inverse);
}
.cs-hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #E8E4DC;
  margin-bottom: var(--space-3);
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.cs-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 2rem + 2vw, 4rem);
  line-height: 1.1;
  color: #F8F7F4;
  max-width: 16ch;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
@media (max-width: 640px) {
  .cs-hero { height: 480px; }
  .cs-hero-bg img { object-position: 40% 100%; }
  .cs-hero-content { padding-top: 104px; }
}

/* ─── Snapshot strip ───
   Label sits on top, value below, every column top-aligned, so labels
   line up across the band however many lines a value wraps to. */
.cs-snapshot {
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-divider);
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.cs-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  margin-top: 0;
  margin-bottom: 0;
}
.cs-snapshot-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-2);
  padding-left: var(--space-5);
  padding-right: var(--space-3);
  border-left: 1px solid var(--color-divider);
}
.cs-snapshot-item:first-child { padding-left: 0; border-left: none; }
.cs-snapshot-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-accent);
}
.cs-snapshot-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.25;
}
@media (max-width: 1024px) {
  .cs-snapshot-grid { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-6); }
  .cs-snapshot-item:nth-child(3n+1) { padding-left: 0; border-left: none; }
}
@media (max-width: 640px) {
  .cs-snapshot-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-5); }
  .cs-snapshot-item:nth-child(3n+1) { padding-left: var(--space-5); border-left: 1px solid var(--color-divider); }
  .cs-snapshot-item:nth-child(2n+1) { padding-left: 0; border-left: none; }
}

/* ─── Generic section rhythm ─── */
.cs-section { padding-top: var(--space-20); padding-bottom: var(--space-20); }
.cs-section--alt { background: var(--color-surface-2); }
.cs-sec-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.cs-sec-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.cs-sec-rule { width: 64px; height: 2px; background: var(--color-accent); border: none; margin-bottom: var(--space-8); }

/* ─── The Brief ─── */
.cs-brief-text {
  max-width: 68ch;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-text);
}
.cs-brief-text p + p { margin-top: var(--space-5); }
.cs-pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  line-height: 1.35;
  color: var(--color-text);
  max-width: 42ch;
  margin: var(--space-10) 0 0;
  padding-left: var(--space-6);
  border-left: 2px solid var(--color-accent);
}
.cs-pull-quote cite {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

/* ─── Project Team / Architect Overview ─── */
.cs-team-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.cs-team-summary {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  max-width: 62ch;
  margin-bottom: var(--space-6);
}
.cs-team-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  text-decoration: none;
}
.cs-team-link:hover { color: var(--color-accent-hover, var(--color-accent)); text-decoration: underline; }
.cs-team-link svg { flex-shrink: 0; }
.cs-team-facts {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  border-left: 1px solid var(--color-divider);
  padding-left: var(--space-8);
}
.cs-team-fact { display: flex; flex-direction: column; gap: var(--space-1); }
.cs-team-fact-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.cs-team-fact-value {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}
.cs-inline-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cs-inline-link:hover { text-decoration-thickness: 2px; }
.cs-architect-link {
  display: inline-flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-1);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  text-decoration: none;
  transition: background var(--transition-interactive), color var(--transition-interactive);
}
.cs-architect-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.2;
  color: var(--color-text);
}
.cs-architect-url {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cs-ext-icon { flex-shrink: 0; }
.cs-architect-link:hover { background: var(--color-accent); }
.cs-architect-link:hover .cs-architect-name,
.cs-architect-link:hover .cs-architect-url { color: #F8F7F4; }
.cs-architect-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

@media (max-width: 860px) {
  .cs-team-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .cs-team-facts { border-left: none; border-top: 1px solid var(--color-divider); padding-left: 0; padding-top: var(--space-6); flex-direction: row; flex-wrap: wrap; gap: var(--space-8); }
}

/* ─── Video ─── */
.cs-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.cs-video-wrap video,
.cs-video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}
.cs-video-wrap--placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.72);
}
.cs-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: rgba(248,247,244,0.92);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.cs-video-caption {
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}

/* Case study / testimonial video (autoplays muted in view, no filter) */
.cs-video-head { max-width: 760px; margin-bottom: var(--space-8); }
.cs-video-wrap--film { border-radius: 4px; }
.cs-video-wrap--film video { filter: none; }
.cs-video-sound {
  position: absolute; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 0; border-radius: 3px;
  background: rgba(42,37,32,0.78); color: #F8F7F4;
  font: 600 12px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
}
.cs-video-sound:hover, .cs-video-sound:focus-visible { background: #2A2520; }
@media (max-width: 640px) { .cs-video-sound { right: 10px; bottom: 10px; padding: 6px 9px; font-size: 10px; } }

/* ─── Alternating story blocks ─── */
.cs-story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.cs-story-block + .cs-story-block { margin-top: var(--space-24); }
.cs-story-block--reverse .cs-story-media { order: 2; }
.cs-story-block--reverse .cs-story-copy { order: 1; }
.cs-story-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.cs-story-copy .cs-sec-label { margin-bottom: var(--space-2); }
.cs-story-copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}
.cs-story-copy p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 58ch;
}
.cs-story-copy p + p { margin-top: var(--space-4); }

@media (max-width: 860px) {
  .cs-story-block,
  .cs-story-block--reverse { grid-template-columns: 1fr; gap: var(--space-6); }
  .cs-story-block--reverse .cs-story-media,
  .cs-story-block--reverse .cs-story-copy { order: initial; }
  .cs-story-block + .cs-story-block { margin-top: var(--space-16); }
}

/* ─── Capability band ─── */
.cs-capabilities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}
@media (max-width: 1024px) { .cs-capabilities { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .cs-capabilities { grid-template-columns: repeat(2, 1fr); } }
.cs-cap-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}
.cs-cap-icon { width: 36px; height: 36px; color: var(--color-primary); }
.cs-cap-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.cs-cap-value {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ─── Gallery ─── */
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.cs-gallery figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.cs-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform var(--transition-slow); }
.cs-gallery a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .cs-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cs-gallery { grid-template-columns: 1fr; } }

/* ─── Related systems / links ─── */
.cs-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.cs-related-card {
  display: block;
  padding: var(--space-6);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-decoration: none;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.cs-related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cs-related-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-2);
}
.cs-related-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.cs-related-desc { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }
.cs-related-link { display: inline-flex; align-items: center; gap: var(--space-1); margin-top: var(--space-3); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--color-primary); }
.cs-related-link svg { width: 16px; height: 16px; }

@media (max-width: 860px) { .cs-related-grid { grid-template-columns: 1fr; } }

/* CTA banner */
.cs-cta {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-align: center;
  padding: var(--space-16) 0;
}
.cs-cta h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem); margin-bottom: var(--space-4); color: #F8F7F4; }
.cs-cta p { font-family: var(--font-body); color: rgba(232,228,220,0.75); max-width: 52ch; margin: 0 auto var(--space-6); }
.cs-cta-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: #1E1A16;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.cs-cta-btn:hover { background: var(--color-accent-hover); }

/* ─── Prev / Next project footer nav ─── */
.cs-projectnav {
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
}
.cs-projectnav-grid { display: grid; grid-template-columns: 1fr 1fr; }
.cs-projectnav-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-10) var(--space-8);
  text-decoration: none;
  transition: background var(--transition-interactive);
}
.cs-projectnav-link:hover { background: var(--color-surface-2); }
.cs-projectnav-link--next { text-align: right; align-items: flex-end; border-left: 1px solid var(--color-divider); }
.cs-projectnav-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.cs-projectnav-eyebrow svg { width: 16px; height: 16px; color: var(--color-accent); }
.cs-projectnav-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; color: var(--color-text); }

@media (max-width: 640px) {
  .cs-projectnav-grid { grid-template-columns: 1fr; }
  .cs-projectnav-link--next { border-left: none; border-top: 1px solid var(--color-divider); text-align: left; align-items: flex-start; }
}

/* ─── Links to system pages (Solutions) ─── */
.cs-snapshot-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.cs-snapshot-link:hover { color: #E8DDD0; text-decoration-thickness: 2px; }
.cs-system-links { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.cs-system-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 16px;
  border-radius: 4px;
  background: #2A2520;
  color: #F8F7F4;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition-interactive);
}
.cs-system-link svg { stroke: currentColor; fill: none; }
.cs-system-link:hover { background: #1F1B17; }
.cs-system-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* ─── Architect wordmark (their logo is the text wordmark; shown on their charcoal) ─── */
.cs-architect-link { padding: 0; overflow: hidden; border-color: #212121; }
.cs-architect-logo { display: block; background: #212121; padding: 18px 20px; }
.cs-architect-logo img { display: block; width: 100%; max-width: 300px; height: auto; }
.cs-architect-url { padding: 10px 20px 12px; }
.cs-architect-link:hover { background: var(--color-surface); }
.cs-architect-link:hover .cs-architect-url { color: var(--color-accent-hover, #7A5E38); text-decoration-thickness: 2px; }

/* ─── KR Warm Charcoal bands ─── */
.cs-band--charcoal { background: #2A2520; border-bottom-color: #35302B; color: #E8E4DC; }
.cs-band--charcoal .cs-snapshot-value,
.cs-band--charcoal .cs-sec-title { color: #F8F7F4; }
.cs-band--charcoal .cs-snapshot-label { color: #AC8E65; }
.cs-band--charcoal .cs-snapshot-item { border-left-color: #35302B; }
.cs-band--charcoal .cs-sec-label { color: #AC8E65; }
.cs-band--charcoal .cs-cap-item { background: #1C1916; border-color: #35302B; }
.cs-band--charcoal .cs-cap-icon { color: #E8E4DC; }
.cs-band--charcoal .cs-cap-title { color: #F8F7F4; }
.cs-band--charcoal .cs-cap-value { color: #9A9490; }

/* ─── Related system cards: equal height, links pinned to one baseline ─── */
.cs-related-card { display: flex; flex-direction: column; height: 100%; }
.cs-related-desc { flex: 1 1 auto; }
.cs-related-link {
  align-self: flex-start;
  margin-top: var(--space-5);
  padding: 10px 16px;
  border-radius: 4px;
  background: #2A2520;
  color: #F8F7F4;
  letter-spacing: 0.12em;
  gap: var(--space-2);
  transition: background var(--transition-interactive);
}
.cs-related-link svg { stroke: currentColor; fill: none; }
.cs-related-card:hover .cs-related-link { background: #1F1B17; }

/* ─── Dark theme: match the site's warm-charcoal dark palette
   (Projects / Home use #221E1A and #2A2520 rather than near-black). ─── */
[data-theme='dark'] .cs-page { background: #221E1A; }
[data-theme='dark'] .cs-section--alt,
[data-theme='dark'] .cs-band--charcoal { background: #2A2520; border-color: #403B35; }
[data-theme='dark'] .cs-snapshot.cs-band--charcoal { border-bottom: 1px solid #403B35; }
[data-theme='dark'] .cs-band--charcoal .cs-cap-item,
[data-theme='dark'] .cs-related-card { background: #221E1A; border-color: #403B35; }
[data-theme='dark'] .cs-band--charcoal .cs-snapshot-item { border-left-color: #403B35; }
[data-theme='dark'] .cs-band--charcoal .cs-cap-icon { color: #AE8E65; }
[data-theme='dark'] .cs-section p { color: #D8D3CA; }
[data-theme='dark'] .cs-related-desc { color: #B5AFA8; }
[data-theme='dark'] .cs-related-title { color: #F8F7F4; }
[data-theme='dark'] .cs-related-eyebrow { color: #AE8E65; }
[data-theme='dark'] .cs-system-link,
[data-theme='dark'] .cs-related-link { background: #7A5E38; color: #F8F7F4; }
[data-theme='dark'] .cs-system-link:hover,
[data-theme='dark'] .cs-related-card:hover .cs-related-link { background: #8C6E45; }
[data-theme='dark'] .cs-projectnav { background: #2A2520; border-top-color: #403B35; }
[data-theme='dark'] .cs-projectnav-link:hover { background: #35302B; }
[data-theme='dark'] .cs-projectnav-link--next { border-left-color: #403B35; }
[data-theme='dark'] .cs-architect-link { border-color: #403B35; background: #221E1A; }
[data-theme='dark'] .cs-architect-link:hover { background: #2A2520; }

/* ─── Hero homeowner quote: left-aligned under the title, in the sky ───
   Plain typographic quote marks in the same colour and size as the text. */
.cs-hero { height: clamp(540px, 60vw, 1000px); }
.cs-hero-bg img { object-position: 50% 100%; }
.cs-hero-content { padding-top: clamp(104px, 8.5vw, 132px); }
.cs-hero-quote {
  max-width: 34rem;
  margin: var(--space-5) 0 0;
  padding: 0;
  color: #F8F7F4;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.cs-hero-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
  line-height: 1.3;
  text-indent: -0.4em; /* hang the opening mark so the text edge aligns with the title */
}
.cs-hero-quote cite {
  display: block;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E8E4DC;
}
@media (max-width: 860px) {
  .cs-hero-quote { max-width: 24rem; margin-top: var(--space-4); }
}
@media (max-width: 640px) {
  .cs-hero { height: 600px; }
  .cs-hero-bg img { object-position: 40% 100%; }
  .cs-hero-content { padding-top: 100px; }
  .cs-hero-quote p { font-size: 1.15rem; }
}

/* ─── Full-width closing CTA (About page pattern + call button) ─── */
.cs-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.cs-cta-back { margin-top: var(--space-8); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.cs-cta-back a { color: var(--color-text-muted); text-decoration: none; }
.cs-cta-back a:hover { color: var(--color-accent); }
[data-theme='dark'] .cs-cta-full { background: #2A2520; }
@media (min-width: 861px) and (max-width: 1180px) {
  .cs-hero { height: 66vw; }
  .cs-hero-quote { max-width: 27rem; }
  .cs-hero-quote p { font-size: 1.2rem; }
}

/* Text block brought down ~20% within the hero; hero shows the full photo
   height so the extra sky keeps the block clear of the roofline. */
.cs-hero { height: clamp(560px, 66.6vw, 1080px); }
.cs-hero-content { padding-top: clamp(150px, 15vw, 240px); }
@media (min-width: 861px) and (max-width: 1180px) {
  .cs-hero { height: 70vw; }
  .cs-hero-content { padding-top: 15vw; }
}
@media (max-width: 860px) {
  .cs-hero { height: 72vw; min-height: 560px; }
  .cs-hero-content { padding-top: 140px; }
}
@media (max-width: 640px) {
  .cs-hero { height: 640px; }
  .cs-hero-content { padding-top: 128px; }
}
@media (min-width: 1500px) {
  .cs-hero-content { padding-top: clamp(190px, 11vw, 220px); }
  .cs-hero-quote { max-width: 30rem; }
}
.cs-cta-lede { margin-bottom: var(--space-3); max-width: 46ch; }

/* Hero text lowered a further ~12%. The hero photo has extra sky
   (project-middleton-hero-tall.jpg, 4:3) so the text clears the roofline. */
.cs-hero { height: clamp(580px, 72vw, 1120px); }
.cs-hero-bg img { object-position: 50% 100%; }
.cs-hero-content { padding-top: clamp(180px, 19vw, 300px); }
@media (min-width: 1500px) {
  .cs-hero-content { padding-top: clamp(240px, 14.5vw, 290px); }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .cs-hero { height: 75vw; }
  .cs-hero-content { padding-top: 19vw; }
}
@media (max-width: 860px) {
  .cs-hero { height: 78vw; min-height: 600px; }
  .cs-hero-content { padding-top: 170px; }
}
@media (max-width: 640px) {
  .cs-hero { height: 700px; }
  .cs-hero-bg img { object-position: 40% 100%; }
  .cs-hero-content { padding-top: 160px; }
}
@media (min-width: 1500px) {
  .cs-hero { height: min(72vw, 1240px); }
  .cs-hero-content { padding-top: 240px; }
}
@media (min-width: 2000px) {
  .cs-hero { height: min(72vw, 1520px); }
}

/* ─── Print / PDF (also used to generate downloads/kr-case-study-middleton-sa.pdf) ─── */
.cs-print-contact { display: none; }
@page { size: A4; margin: 0; }
@media print {
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; background: #F8F7F4 !important; }
  .mobile-nav, .site-footer, .site-header nav, .theme-toggle, .menu-toggle,
  .cs-cta-actions, .cs-cta-back, .cs-system-links, .cs-related-link { display: none !important; }
  .site-header { position: absolute !important; background: transparent !important; box-shadow: none !important; }
  * { animation: none !important; transition: none !important; }
  [class*="anim-"], .anim-fade-up { opacity: 1 !important; transform: none !important; }
  .cs-hero { height: 820px !important; }
  .cs-hero-content { padding-top: 220px !important; }
  .cs-section { padding-top: 56px; padding-bottom: 56px; }
  .cs-story-block, .cs-related-card, .cs-cap-item, .cs-team-grid, .cs-gallery figure, .cs-snapshot { break-inside: avoid; }
  .cs-gallery img { aspect-ratio: 4/3; }
  .cs-cta-full { break-inside: avoid; padding-block: 56px !important; }
  .cs-print-contact { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: #2A2520; }
  a { text-decoration: none; }
}
@media print {
  .cs-related { display: none !important; }
  .cs-cta-full { padding-block: 64px !important; }
}
@media print {
  .cs-section { padding-top: 44px; padding-bottom: 44px; }
  .cs-cta-full { padding-block: 40px !important; }
  .cs-cta-full .section-title { font-size: 34px; }
}
@media print {
  .site-header .logo-img { filter: brightness(0) invert(1) !important; }
  .cs-print-contact { line-height: 1.6; }
}
.cs-cta-full .container--narrow { max-width: 900px; }
.cs-cta-full .section-subtitle { max-width: 46ch; }
.cs-cta-full .cs-cta-actions { max-width: none; width: 100%; }
.cs-cta-full .cs-cta-back { max-width: none; }
.cs-cta-full .container.container--narrow { max-width: 1000px !important; }

/* ─── Punchy CTA band (cs013) ─── */
.cs-cta-full.cs-cta-punch { position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background: #2A2520 !important; color: #F8F7F4; padding-block: clamp(96px, 10vw, 160px) !important;
  border-bottom: 1px solid rgba(174,142,101,0.35); }
.cs-cta-punch .cs-cta-bg { position: absolute; inset: 0; z-index: -2; }
.cs-cta-punch .cs-cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: 0.30; filter: saturate(0.85); }
.cs-cta-punch::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 45%, rgba(42,37,32,0.55) 0%, rgba(42,37,32,0.92) 70%), linear-gradient(180deg, rgba(42,37,32,0.6) 0%, rgba(42,37,32,0) 30%, rgba(42,37,32,0) 70%, rgba(42,37,32,0.85) 100%); }
.cs-cta-punch .cs-cta-inner { display: flex; flex-direction: column; align-items: center; }
.cs-cta-punch .cs-cta-inner > * { margin-inline: auto; max-width: none; text-align: center; }
.cs-cta-eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #AE8E65; margin: 0 0 20px; }
.cs-cta-eyebrow::before { content: ""; display: block; width: 48px; height: 2px; background: #AE8E65; margin: 0 auto 20px; }
.cs-cta-punch .cs-cta-title { font-family: var(--font-display, 'Cormorant Garamond', serif); font-weight: 500; font-size: clamp(40px, 5vw, 66px); line-height: 1.05; color: #F8F7F4; margin: 0 0 24px; }
.cs-cta-punch .cs-cta-lede { max-width: 56ch !important; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(248,247,244,0.82); margin: 0 auto 40px; }
.cs-cta-phone { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; font-family: var(--font-display, 'Cormorant Garamond', serif); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: 0.03em; color: #AE8E65; text-decoration: none; transition: color .2s; }
.cs-cta-phone:hover, .cs-cta-phone:focus-visible { color: #F8F7F4; }
.cs-cta-phone-label { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(248,247,244,0.65); margin: 14px 0 40px; }
.cs-cta-punch .cs-cta-actions { justify-content: center; gap: 16px; }
.cs-cta-punch .cs-cta-enquire { background: #AE8E65 !important; border-color: #AE8E65 !important; color: #2A2520 !important; }
.cs-cta-punch .cs-cta-enquire:hover { background: #F8F7F4 !important; border-color: #F8F7F4 !important; }
.cs-cta-punch .cs-cta-pdf { background: transparent !important; border-color: rgba(248,247,244,0.55) !important; color: #F8F7F4 !important; }
.cs-cta-punch .cs-cta-pdf:hover { border-color: #F8F7F4 !important; background: rgba(248,247,244,0.08) !important; }
.cs-cta-contact { margin: 32px auto 0; font-family: var(--font-body); font-size: 15px; letter-spacing: 0.03em; color: rgba(248,247,244,0.8); }
.cs-cta-contact a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(174,142,101,0.5); }
.cs-cta-contact a:hover { color: #F8F7F4; border-color: #AE8E65; }
.cs-cta-punch .cs-cta-back { margin-top: 28px; }
.cs-cta-punch .cs-cta-back a { color: rgba(248,247,244,0.6); }
.cs-cta-punch .cs-cta-back a:hover { color: #AE8E65; }
@media (max-width: 640px) { .cs-cta-punch .cs-cta-actions { flex-direction: column; width: 100%; } .cs-cta-punch .cs-cta-actions .btn { width: 100%; justify-content: center; } }
@media (max-width: 640px) { .cs-cta-contact span { display: none; } .cs-cta-contact a { display: table; margin: 0 auto 10px; } }

/* ─── cs014: stronger CTA photo, phone icon, download moved to systems band ─── */
.cs-cta-punch .cs-cta-bg img { opacity: 0.62; filter: saturate(0.95); object-position: 50% 60%; }
.cs-cta-punch::before { background:
  radial-gradient(ellipse at 50% 45%, rgba(42,37,32,0.50) 0%, rgba(42,37,32,0.62) 55%, rgba(42,37,32,0.80) 100%),
  linear-gradient(180deg, rgba(42,37,32,0.55) 0%, rgba(42,37,32,0) 25%, rgba(42,37,32,0) 75%, rgba(42,37,32,0.75) 100%); }
.cs-cta-punch .cs-cta-title, .cs-cta-punch .cs-cta-lede { text-shadow: 0 1px 18px rgba(20,17,14,0.55); }
.cs-cta-phone { display: inline-flex; align-items: center; gap: 0.32em; margin-bottom: 40px; text-shadow: 0 1px 18px rgba(20,17,14,0.6); }
.cs-cta-phone-icon { width: 0.66em; height: 0.66em; flex: none; stroke-width: 1.6; }
.cs-systems-download { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(248,247,244,0.14); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cs-systems-download-text { margin: 0; max-width: 52ch; font-size: 16px; line-height: 1.55; color: rgba(248,247,244,0.78); }
.cs-systems-download .cs-cta-pdf { display: inline-flex; align-items: center; gap: 12px; padding: 18px 34px; background: #AE8E65; border: 1px solid #AE8E65; color: #2A2520; font-weight: 700; font-size: 14px; letter-spacing: 0.14em; box-shadow: 0 10px 28px rgba(0,0,0,0.35); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.cs-systems-download .cs-cta-pdf .cs-dl-icon { width: 20px; height: 20px; }
.cs-systems-download .cs-cta-pdf:hover, .cs-systems-download .cs-cta-pdf:focus-visible { background: #F8F7F4; border-color: #F8F7F4; color: #2A2520; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.45); }
.cs-systems-download .cs-cta-pdf:focus-visible { outline: 2px solid #F8F7F4; outline-offset: 3px; }
.cs-systems-download-text { color: #F8F7F4 !important; font-size: 17px !important; }
.cs-dl-icon { width: 18px; height: 18px; flex: none; }
@media (max-width: 640px) { .cs-systems-download { flex-direction: column; align-items: stretch; text-align: left; } .cs-systems-download .cs-cta-pdf { justify-content: center; } }
@media print { .cs-systems-download { display: none !important; } }
.cs-cta-phone-icon { width: 0.72em; height: 0.72em; stroke-width: 1.9; transform: translateY(-0.04em); }

/* Manufacturer logo in Systems Used band */
.cs-systems-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cs-systems-head .cs-sec-title { margin-bottom: 0; }
.cs-systems-mfr { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-bottom: 6px; text-decoration: none; opacity: .92; transition: opacity .2s; }
.cs-systems-mfr:hover, .cs-systems-mfr:focus-visible { opacity: 1; }
.cs-systems-mfr-label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #AE8E65; }
.cs-systems-mfr-logo { display: block; width: 150px; height: auto; }
.cs-systems-head + .cs-capabilities { margin-top: 32px; }
@media (max-width: 640px) { .cs-systems-mfr { align-items: flex-start; } .cs-systems-mfr-logo { width: 130px; } }
@media (max-width: 640px) { .cs-systems-download .cs-cta-pdf { padding: 16px 18px; font-size: 13px; letter-spacing: 0.08em; white-space: nowrap; } }

/* Specifications band — very subtle face-on ASS 70 FD meeting-stile section wash */
.cs-systems--wash { position: relative; overflow: hidden; isolation: isolate; }
.cs-systems--wash::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 50%; right: -14%; height: 150%; aspect-ratio: 360.9 / 240.4; max-width: none;
  transform: translateY(-50%);
  background: url("../product-images/middleton-ass70fd-section-wash.svg") center / contain no-repeat;
  opacity: .10;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
}
.cs-systems--wash > .container { position: relative; }
@media (max-width: 760px) {
  .cs-systems--wash::before { top: 50%; right: auto; left: 50%; height: 78%; width: auto; max-width: none; transform: translate(-42%, -50%); opacity: .10; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 640px) { .cs-systems-download .cs-cta-pdf { width: 100%; justify-content: center; padding: 16px 12px; font-size: 12px; letter-spacing: 0.05em; white-space: normal; text-align: center; } }

/* ═══ cs018 — Featured project: specifications table, resources, partner band, share, project nav ═══ */
.cs-film { width: 100%; height: auto; display: block; }
.cs-video-desc { margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--text-sm); max-width: 620px; }
.cs-systems-mfr-label { display: none; }

.cs-spec-table-wrap { margin-top: 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cs-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; color: #E8E4DC; min-width: 640px; }
.cs-spec-table caption { text-align: left; caption-side: top; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #AC8E65; padding-bottom: 14px; }
.cs-spec-table th, .cs-spec-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid rgba(248,247,244,0.12); vertical-align: top; }
.cs-spec-table thead th { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9A9490; }
.cs-spec-table tbody th { color: #F8F7F4; font-weight: 600; white-space: nowrap; }
.cs-spec-note { margin-top: 16px; font-size: 13px; line-height: 1.6; color: #9A9490; max-width: 860px; }

.cs-spec-actions { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-spec-action { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid #35302B; background: rgba(28,25,22,0.85); color: #F8F7F4; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.cs-spec-action .kr-icon { flex: 0 0 auto; color: #AE8E65; margin-top: 2px; }
.cs-spec-action span { display: flex; flex-direction: column; gap: 4px; }
.cs-spec-action strong { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.cs-spec-action small { font-size: 12.5px; color: #9A9490; }
.cs-spec-action:hover, .cs-spec-action:focus-visible { border-color: #AE8E65; background: #1C1916; transform: translateY(-2px); }
.cs-spec-action:focus-visible { outline: 2px solid #F8F7F4; outline-offset: 3px; }
@media (max-width: 860px) { .cs-spec-actions { grid-template-columns: 1fr; } }

.cs-related-intro { max-width: 680px; margin: calc(-1 * var(--space-2)) 0 var(--space-8); color: var(--color-text-muted); }
.cs-related-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .cs-related-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .cs-related-grid--3 { grid-template-columns: 1fr; } }

/* cs019 — understated partner note (sits under Project Team) */
.cs-partner { background: var(--color-bg); padding-top: var(--space-12, 48px); padding-bottom: var(--space-12, 48px); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.cs-partner-inner { display: block; }
.cs-partner-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; margin: 6px 0 14px; color: var(--color-text); }
.cs-partner-text { color: var(--color-text-muted); line-height: 1.75; max-width: 720px; margin: 0; }
.cs-partner-links { margin-top: 22px; }
.cs-partner-links .cs-system-link { font-size: 13px; padding: 13px 20px; }

.cs-share { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--color-divider); }
.cs-share .cs-sec-label { margin: 0; }
.cs-share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cs-share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--color-divider); background: var(--color-surface); color: var(--color-text); font: 500 13px/1 var(--font-body); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.cs-share-btn[hidden] { display: none; }
.cs-share-btn .kr-icon { color: var(--color-accent); }
.cs-share-btn:hover, .cs-share-btn:focus-visible { border-color: var(--color-accent); transform: translateY(-1px); }
.cs-share-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.cs-share-status { font-size: 13px; color: var(--color-accent); min-width: 1px; }

.cs-more-label { margin-top: 36px; }
.cs-project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.cs-pnav { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--color-divider); background: var(--color-surface); color: var(--color-text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; min-height: 92px; }
.cs-pnav--next { justify-content: flex-end; text-align: right; }
.cs-pnav span { display: flex; flex-direction: column; gap: 6px; }
.cs-pnav small { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); }
.cs-pnav strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.2; }
.cs-pnav .kr-icon { flex: 0 0 auto; color: var(--color-accent); }
.cs-pnav:hover, .cs-pnav:focus-visible { border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cs-pnav:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.cs-pnav-thumb { width: 72px; height: 56px; object-fit: cover; flex: 0 0 auto; }
@media (max-width: 640px) { .cs-project-nav { grid-template-columns: 1fr; } .cs-pnav strong { font-size: 19px; } .cs-share { flex-direction: column; align-items: flex-start; } }

@media print { .cs-share, .cs-project-nav, .cs-more-label { display: none !important; } }
@media (max-width: 640px) {
  .cs-spec-table { min-width: 0; }
  .cs-spec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cs-spec-table, .cs-spec-table tbody, .cs-spec-table tr, .cs-spec-table th, .cs-spec-table td { display: block; }
  .cs-spec-table tr { padding: 14px 0; border-bottom: 1px solid rgba(248,247,244,0.12); }
  .cs-spec-table th, .cs-spec-table td { border: 0; padding: 3px 0; }
  .cs-spec-table tbody th { font-size: 15px; padding-bottom: 6px; }
  .cs-spec-table td { display: grid; grid-template-columns: 112px 1fr; gap: 10px; }
  .cs-spec-table caption { display: block; width: 100%; }
  .cs-spec-table td::before { content: attr(data-label); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9A9490; padding-top: 2px; }
}

/* cs019 — schedule table on light sections (inside The Solution) */
.cs-spec-table-wrap--light { margin: 8px 0 72px; }
.cs-spec-table-wrap--light .cs-spec-table { color: var(--color-text); }
.cs-spec-table-wrap--light .cs-spec-table caption { color: var(--color-accent); }
.cs-spec-table-wrap--light .cs-spec-table th, .cs-spec-table-wrap--light .cs-spec-table td { border-bottom-color: var(--color-divider); }
.cs-spec-table-wrap--light .cs-spec-table thead th { color: var(--color-text-muted); }
.cs-spec-table-wrap--light .cs-spec-table tbody th { color: var(--color-text); }
.cs-spec-table-wrap--light .cs-spec-note { color: var(--color-text-muted); }
@media (max-width: 640px) {
  .cs-spec-table-wrap--light .cs-spec-table tr { border-bottom-color: var(--color-divider); }
  .cs-spec-table-wrap--light .cs-spec-table td::before { color: var(--color-text-muted); }
  .cs-spec-table-wrap--light { margin-bottom: 48px; }
}

/* cs019 — lock the section wash to its approved scale (band grew with the resource links) */
.cs-systems--wash::before { height: 852px; opacity: .10; }
@media (max-width: 760px) { .cs-systems--wash::before { height: 755px; opacity: .10; } }



/* cs024 — Partner resources strip under section 03 (request links + PDF download), with the section 06 profile wash at the same locked scale */
.cs-resources { background: #2A2520; padding: 22px 0; border-top: 1px solid #35302B; border-bottom: 1px solid #35302B; position: relative; overflow: hidden; isolation: isolate; }
.cs-resources::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: 50%; right: -6%; height: 852px; aspect-ratio: 360.9 / 240.4; transform: translateY(-50%); background: url("../product-images/middleton-ass70fd-section-wash.svg") center / contain no-repeat; opacity: .10; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%); }
.cs-resources > .container { position: relative; }
.cs-resources-inner { display: grid; grid-template-columns: 1fr auto; align-items: stretch; gap: 12px; }
.cs-resources-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cs-resources-dl { display: flex; }
.cs-resources .cs-spec-action { padding: 12px 14px; gap: 12px; align-items: center; }
.cs-resources .cs-spec-action strong { font-size: 13px; white-space: nowrap; }
.cs-resources .cs-spec-action small { font-size: 12px; }
.cs-resources .cs-cta-pdf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; background: #AE8E65; border: 1px solid #AE8E65; color: #2A2520; font-weight: 700; font-size: 12px; letter-spacing: .08em; white-space: nowrap; transition: background .2s, color .2s; }
.cs-resources .cs-cta-pdf:hover, .cs-resources .cs-cta-pdf:focus-visible { background: #F8F7F4; border-color: #F8F7F4; color: #2A2520; }
.cs-resources .cs-cta-pdf:focus-visible { outline: 2px solid #F8F7F4; outline-offset: 3px; }
@media (max-width: 1100px) { .cs-resources-inner { grid-template-columns: 1fr; } .cs-resources-dl .cs-cta-pdf { width: 100%; } }
@media (max-width: 860px) { .cs-resources-links { grid-template-columns: 1fr; } .cs-resources .cs-cta-pdf { letter-spacing: .06em; } }
@media (max-width: 760px) { .cs-resources::before { right: auto; left: 50%; height: 755px; transform: translate(-42%, -50%); -webkit-mask-image: none; mask-image: none; } }
@media print { .cs-resources-dl { display: none !important; } }

/* cs025/cs026 — Share row: official LinkedIn and Facebook marks, drawn in KR bronze */
.cs-share-btn .cs-share-logo { flex: none; width: 18px; height: 18px; display: block; }

/* cs026 — Share logos in KR colourway; dark-bronze Previous / Next with big chevrons */
.cs-share-btn .cs-share-logo { color: var(--color-accent); --kr-logo-knock: var(--color-surface, #F8F7F4); }
.cs-pnav { --kr-dark-bronze: #6B5234; }
.cs-pnav span { display: flex; flex-direction: column; gap: 6px; }
.cs-pnav small { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #E4D3B6; }
.cs-big-chev { flex: none; width: 24px; height: 48px; color: #F8F7F4; fill: none; stroke: currentColor; transition: transform .25s; }
.cs-pnav { background: var(--kr-dark-bronze); border-color: var(--kr-dark-bronze); color: #F8F7F4; min-height: 104px; padding: 24px 28px; }
.cs-pnav strong { color: #F8F7F4; }
.cs-pnav--prev .cs-big-chev { transform: scaleX(-1); }
.cs-pnav:hover, .cs-pnav:focus-visible { background: #5A4429; border-color: #5A4429; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cs-pnav--next:hover .cs-big-chev, .cs-pnav--next:focus-visible .cs-big-chev { transform: translateX(5px); }
.cs-pnav--prev:hover .cs-big-chev, .cs-pnav--prev:focus-visible .cs-big-chev { transform: scaleX(-1) translateX(5px); }
[data-theme='dark'] .cs-pnav { --kr-dark-bronze: #7A5F3D; }
@media (max-width: 640px) { .cs-big-chev { width: 20px; height: 40px; } }

/* cs027 — Hero homeowner quote 15% larger (all breakpoints) */
.cs-hero-quote { max-width: 39rem; }
.cs-hero-quote p { font-size: clamp(1.38rem, 1.15rem + 0.805vw, 1.78rem); }
@media (max-width: 860px) { .cs-hero-quote { max-width: 27.6rem; } }
@media (max-width: 640px) { .cs-hero-quote p { font-size: 1.32rem; } }
@media (min-width: 861px) and (max-width: 1180px) { .cs-hero-quote { max-width: 31rem; } .cs-hero-quote p { font-size: 1.38rem; } }
@media (min-width: 1500px) { .cs-hero-quote { max-width: 34.5rem; } }

/* cs028 — Previous / Next per sketch: dark-bronze boxes with large solid chevrons outside each box */
.cs-project-nav { gap: clamp(24px, 6vw, 96px); }
.cs-pnav { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0; min-height: 0; gap: 14px; align-items: stretch; transform: none !important; }
.cs-pnav-box { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 104px; padding: 22px 28px; background: var(--kr-dark-bronze); color: #F8F7F4; transition: background .2s, box-shadow .2s; }
.cs-pnav--next .cs-pnav-box { text-align: right; align-items: flex-end; }
.cs-pchev { flex: none; width: 44px; height: auto; fill: var(--kr-dark-bronze); transition: transform .25s, fill .2s; }
.cs-pnav:hover .cs-pnav-box, .cs-pnav:focus-visible .cs-pnav-box { background: #5A4429; box-shadow: var(--shadow-md); }
.cs-pnav:hover .cs-pchev, .cs-pnav:focus-visible .cs-pchev { fill: #5A4429; }
.cs-pnav--prev:hover .cs-pchev, .cs-pnav--prev:focus-visible .cs-pchev { transform: translateX(-6px); }
.cs-pnav--next:hover .cs-pchev, .cs-pnav--next:focus-visible .cs-pchev { transform: translateX(6px); }
.cs-pnav:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
@media (max-width: 640px) { .cs-pchev { width: 34px; } .cs-pnav-box { min-height: 88px; padding: 18px 22px; } }

/* cs029 — Previous / Next boxes carry one word only, centred */
.cs-pnav-box, .cs-pnav--next .cs-pnav-box { align-items: center; text-align: center; }
.cs-pnav-box strong { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: .02em; color: #F8F7F4; }

/* cs030 — Previous / Next boxes sized to their word; chevrons scaled to match */
.cs-project-nav { display: flex; justify-content: space-between; align-items: stretch; gap: 24px; }
.cs-pnav { flex: none; }
.cs-pnav-box { flex: none; min-height: 0; padding: 14px 30px; }
.cs-pchev { width: 30px; }
@media (max-width: 640px) { .cs-project-nav { flex-direction: row; } .cs-pnav-box { min-height: 0; padding: 12px 22px; } .cs-pchev { width: 24px; } .cs-pnav-box strong { font-size: 22px; } }
