/* ═══════════════════════════════════════════════════════════════
   ANNA STANKIEWICZ — UNIVERSAL STYLESHEET
   annastankiewicz.com

   HOW TO CUSTOMISE THIS FILE
   ─────────────────────────────────────────────────────────────
   COLOURS  → find ":root" below and change the --color-* values
   FONTS    → change the @import lines, then update --font-body
              and --font-heading in :root
   SPACING  → the --space-* values control consistent gaps

   Every page links to this one file, so any change here
   applies across the whole site instantly.
═══════════════════════════════════════════════════════════════ */


/* ── FONTS ──────────────────────────────────────────────────────
   Primary font loading is local via @font-face.
   Put font files in /fonts:
   - fonts/Garet-Regular.woff2
   - fonts/Garet-Bold.woff2
─────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap');

@font-face {
  font-family: 'Garet';
  src: local('Garet Regular'),
       local('Garet-Regular'),
       url('../fonts/Garet-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: local('Garet Medium'),
       local('Garet-Medium'),
       url('../fonts/Garet-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: local('Garet Bold'),
       local('Garet-Bold'),
       url('../fonts/Garet-Bold.woff2') format('woff2'),
       url('../fonts/Garet-Bold.woff') format('woff'),
       url('../fonts/Garet-Bold.ttf') format('truetype'),
       url('../fonts/Garet-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ── DESIGN TOKENS ──────────────────────────────────────────────
   These are the single source of truth for the whole site.
   Change a value here → it updates everywhere.
─────────────────────────────────────────────────────────────── */

:root {

  /* COLOURS */
  --color-bg:           #fbf8f2;   /* warm cream  — main page background */
  --color-surface:      #fffffd;   /* near white  — cards & panels */
  --color-accent:       #c7def8;   /* soft blue   — highlights, tags, selected */
  --color-accent-tint:  #e8f3fc;   /* very light blue — hover backgrounds */
  --color-accent-dark:  #4a86c0;   /* deeper blue — borders when selected, links */
  --color-ink:          #18180d;   /* near black  — body text & headings */
  --color-ink-mid: #434339;
--color-lime: #f2ffb0; 

  /* FONTS */
  --font-body:    'Garet', sans-serif;
  --font-heading: 'Tenor Sans', sans-serif;

  /* SPACING — used for consistent padding & margins */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  112px;

  /* LAYOUT */
  --max-width:      1160px;
  --content-width:  840px;
  --nav-height:     68px;

  /* ANIMATION */
  --ease: 0.2s ease;
}


/* ── RESET ──────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  color: var(--color-accent);  transition: all var(--ease);

}


/* ── BASE TYPOGRAPHY ────────────────────────────────────────── */

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.display {
   font-size: clamp(30px, 3.5vw, 44px); 
  font-weight: 700;
  line-height: 1.1;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3, h4 { line-height: 1.15; }

h1 { font-size: clamp(25px, 3.5vw, 42px); }
h2 { font-size: clamp(25px, 3.6vw, 40px); }
h3 { font-size: clamp(17.82px, 2.178vw, 23.76px); }
h4 { font-size: 18px; }

/* h3 uses Tenor Sans; h4 stays Garet */
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
}

h4 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
}

p {
  max-width: 65ch;
  font-family: var(--font-body);
}

li::marker {
  color: var(--color-lime);
  font-size: 40px;
  line-height: 0%;
}


strong { font-weight: 500; }

em { font-style: italic; }


/* ── LAYOUT CONTAINERS ──────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container--narrow {
  max-width: var(--content-width);
}

section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Alternating light/cream section backgrounds */
section.surface {
  background-color: var(--color-surface);
}

.cs-section--accent {
  background-color: var(--color-accent);
}

.divider {
  width: 40px;
  height: 1px;
  background-color: var(--color-accent);
  margin: var(--space-md) 0;
}


/* ── LABELS / EYEBROW TEXT ──────────────────────────────────── */

.label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-mid);
  margin-bottom: var(--space-sm);
}

.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  padding: 2px 6px; 
  border-radius: 18px;
  border: 1px none var(--color-ink);
background-color: var(--color-lime);
  color: var(--color-ink);
}


/* Nav and footer: css/nav.css, css/footer.css */


/* ── BUTTONS ────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  background-color: var(--color-accent);
  letter-spacing: 0.03em;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  transition: background var(--ease), transform 0.1s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}


/* Primary: dark fill */
.btn--primary {
  background: var(--color-ink);
  color: var(--color-bg);
}

.btn--primary:hover {
  background-color: var(--color-lime);
}

/* Secondary: outlined */
.btn--secondary {
  background-color: var(--color-accent);
  color: var(--color-ink);
}

.btn--secondary:hover {
  background: var(--color-ink);
  color: var(--color-bg);
}

/* Ghost: text-only */
.btn--ghost {
  background: transparent;
  color: var(--color-ink-mid);
  padding: 14px 0;
  font-weight: 400;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn--ghost:hover {
  color: var(--color-accent);
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}


/* ── HERO ───────────────────────────────────────────────────── */

.hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-mid);
  margin-bottom: var(--space-md);
}

.hero__heading {
  margin-bottom: var(--space-md);
  max-width: 16ch;
  font-weight: 600;
}

.hero__heading em {
  font-style: italic;
  color: var(--color-accent-dark);
}

.hero__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-ink-mid);
  max-width: 52ch;
  margin-bottom: var(--space-md);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}


/* ── ABOUT ──────────────────────────────────────────────────── */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about__image {
  aspect-ratio: 4/5;
  background: var(--color-accent-tint);
  border-radius: 4px;
  overflow: hidden;
}

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

.about__content h2 {
  margin-bottom: var(--space-md);
}

.about__content p {
  color: var(--color-ink-mid);
  margin-bottom: var(--space-sm);
}

.about__content p:last-of-type {
  margin-bottom: var(--space-md);
}


/* ── SERVICES ───────────────────────────────────────────────── */

.services__intro {
  max-width: var(--content-width);
  margin-bottom: var(--space-lg);
}

.services__intro h2 {
  margin-bottom: var(--space-sm);
}

.services__intro p {
  font-size: 17px;
  color: var(--color-ink-mid);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.service-card {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.service-card:hover {
  border-color: var(--color-accent-dark);
  box-shadow: 0 4px 20px rgba(74, 134, 192, 0.08);
}

.service-card__number {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: 14px;
  color: var(--color-ink-mid);
  line-height: 1.65;
}


/* ── CASE STUDIES ───────────────────────────────────────────── */

.case-studies__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.case-studies__intro h2 {
  max-width: 20ch;
}

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: 2em;
}

.case-card {
  display: block;
  padding: var(--space-md);
  border-radius: 4px;
  background: var(--color-surface);
  transition: border-color var(--ease), transform var(--ease);
  text-decoration: none;
  color: inherit;
}

.case-card:hover {
  transform: translateY(-2px);
  color: var(--color-ink);
}

.case-card:hover .case-card__link {
  color: var(--color-accent);
}

.case-card__meta {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.case-card h3 {
  font-size: 22px;
  margin-bottom: var(--space-xs);
}

.case-card__summary {
  font-size: 14px;
  color: var(--color-ink-mid);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.case-card__link {
  font-size: 13px;
  color: var(--color-ink);
  font-weight: 700;
  text-decoration: none;
}


/* Paragraphs inside narrow case study containers fill the full column width */
.container--narrow p {
  max-width: none;
}


/* ── CASE STUDY PAGE ────────────────────────────────────────── */

.cs-hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.cs-hero__meta {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.cs-hero h1 {
  max-width: 20ch;
  margin-bottom: var(--space-md);
}

.cs-hero__context {
  font-size: 18px;
  color: var(--color-ink-mid);
  max-width: 54ch;
  line-height: 1.7;
}

/* Case study body sections */
.cs-section {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.cs-section h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: var(--space-md);
}

.cs-section p {
  color: var(--color-ink-mid);
  margin-bottom: var(--space-sm);
}

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

/* Big numbers block */
.big-numbers {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding: var(--space-md) 0;
}

.big-number {
  flex: 1;
  min-width: 160px;
}

.big-number__value {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.big-number__label {
  font-size: 13px;
  color: var(--color-ink-mid);
  line-height: 1.5;
  max-width: 20ch;
}

/* Image gallery in case study */
.cs-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.cs-images img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--color-accent-tint);
}

.cs-images--single {
  grid-template-columns: 1fr;
}

/* Blockquote / pull quote */
.cs-quote {
  border-left: 2px solid var(--color-accent);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  background: var(--color-accent-tint);
  border-radius: 0 4px 4px 0;
}

.cs-quote p {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--color-ink);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: var(--space-xs);
}

.cs-quote cite {
  font-size: 13px;
  color: var(--color-ink-mid);
  font-style: normal;
}

/* Back link */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-ink-mid);
  margin-bottom: var(--space-lg);
  transition: color var(--ease);
}

.cs-back:hover {
  color: var(--color-accent);
}

.cs-back::before {
  content: '←';
}


/* ── TESTIMONIALS ───────────────────────────────────────────── */

.testimonials__intro {
  width: 100%;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
}

.testimonial-card__quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink-mid);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--color-accent);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-xs);
}

.testimonial-card__author {
  font-size: 13px;
  color: var(--color-ink-light);
  margin-top: var(--space-md);
}

.testimonial-card__author strong {
  display: block;
  color: var(--color-ink);
  font-size: 14px;
  margin-bottom: 2px;
}


/* ── DIAGNOSTIC CTA STRIP ───────────────────────────────────── */

.diag-entry {
  position: relative;
  overflow: hidden;
  background: var(--color-accent);
  padding: var(--space-xl) 0;
}

.diag-entry__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.diag-entry__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.diag-entry h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--color-ink);
  max-width: 22ch;
  margin-bottom: var(--space-md);
}

.diag-entry p {
  font-size: 15px;
  color: var(--color-ink);
  margin-top: var(--space-xs);
  max-width: 40ch;
  line-height: 1.65;
}

.diag-entry p + p {
  margin-top: var(--space-xs);
}

.diag-entry__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.diag-entry .btn--primary {
  background: var(--color-surface);
  color: var(--color-ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.diag-entry .btn--primary:hover {
  background: var(--color-lime);
  color: var(--color-ink);
}

.diag-entry__time {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  opacity: 0.5;
  font-family: var(--font-body);
}

@media (max-width: 680px) {
  .diag-entry__inner {
    grid-template-columns: 1fr;
  }
  .diag-entry__right {
    display: none;
  }
}

/* ── LEAD CAPTURE / CONTACT ─────────────────────────────────── */

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact__copy h2 {
  margin-bottom: var(--space-sm);
}

.contact__copy p {
  color: var(--color-ink-mid);
  margin-bottom: var(--space-sm);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-mid);
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 15px;
  transition: border-color var(--ease);
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-accent-dark);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-ink-light);
}

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

.form__success {
  display: none;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent-tint);
  border: 1px solid var(--color-accent);
  border-radius: 3px;
  font-size: 14px;
  color: var(--color-ink-mid);
}


/* ── DIAGNOSTIC TOOL STYLES ─────────────────────────────────── */
/* These are specific to diagnostic.html but live here so the   */
/* color variables and fonts stay in one place.                 */

.diag-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.diag-header {
  margin-bottom: 56px;
}

.diag-header .label {
  margin-bottom: 20px;
}

.diag-header h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 20px;
}

.diag-header h1 em {
  font-style: none;
  color: var(--color-ink);
  background-color: var(--color-accent-tint);
  border-radius: 60px;
  padding: 0px 10px;
  border: 2px solid var(--color-accent-tint);
}

.diag-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink-mid);
  
}

/* Progress */
.diag-progress-text {
  display: inline-block;
  font-size: 13px;
  color: var(--color-ink);
  background: var(--color-lime);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

/* Question block */
.diag-question {
  display: none;
  animation: fadeUp 0.4s ease both;
}

.diag-question.active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}


.diag-question-text {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}

.diag-question-sub {
  font-size: 14px;
  color: var(--color-ink);
  margin-bottom: 32px;
  line-height: 1.6;
 
}

/* Options */
.diag-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.diag-option {
  padding: 22px 30px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-ink);
  background: var(--color-surface);
  transition: all var(--ease);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
}

.diag-option:hover {
  border-color: var(--color-accent-dark);
  background: var(--color-accent-tint);
}

.diag-option.selected {
  border-color: var(--color-accent-dark);
  background: var(--color-accent-tint);
  color: var(--color-ink);
}

.diag-option-label {
  display: block;
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 18px;
}

.diag-option-sub {
  display: block;
  font-size: 12.5px;
  color: var(--color-ink-mid);
  font-weight: 400;
}

/* Diagnostic nav buttons */
.diag-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Result */
.diag-result {
  display: none;
  animation: fadeUp 0.5s ease both;
}

.diag-result.active {
  display: block;
}

.diag-result-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  margin-top: 24px;
}

.diag-result-title em {
  font-style: italic;
  color: var(--color-accent);
}

.diag-result-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink-mid);
  margin-bottom: 32px;
}

.diag-result-body p {
  margin-bottom: 16px;
  max-width: none;
}

.diag-result-body p:last-child {
  margin-bottom: 0;
}

.diag-personal-insert {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink-mid);
  margin-top: 16px;
  max-width: none;
}

.diag-what-helps {
  padding: var(--space-md);
  border-radius: 4px;
  background: var(--color-accent-tint);
  margin-bottom: 36px;
}

.diag-what-helps-label {
  margin-bottom: var(--space-sm);
}


.diag-result-footer {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-ink-mid);
}

.diag-result-footer a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.diag-self-email {
  display: block;
  margin-top: 0.5em;
  font-size: 0.875em;
  opacity: 0.7;
}

.diag-restart {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-ink-light);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  font-family: var(--font-body);
}

.diag-restart:hover {
  color: var(--color-ink);
}

.diag-divider {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: 40px 0;
}


/* ── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  :root {
    --space-xl: 80px;
    --space-lg: 48px;
  }

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

  .about__image {
    aspect-ratio: 16/9;
    max-width: 480px;
  }

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

  .case-studies__grid {
    grid-template-columns: 1fr;
  }

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

  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 60px;
    --space-lg: 40px;
    --space-md: 24px;
  }

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

  .approach__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }


  .case-studies__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .big-numbers {
    gap: var(--space-md);
  }

  .cs-images {
    grid-template-columns: 1fr;
  }

}


/* ═══════════════════════════════════════════════════════════════
   SITE UPDATE — layout & visual refinements
   These override earlier rules where needed.
═══════════════════════════════════════════════════════════════ */


/* ── HERO SPLIT LAYOUT ──────────────────────────────────────── */

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__text {
  /* text column */
}

.hero__photo {
  background: var(--color-accent-tint);
  border-radius: 3px;
  min-height: 380px;
  display: flex;
  align-items: stretch;
}

.hero__photo img {
  width: 100%;
  border-radius: 3px;
  display: block;
  object-fit: cover;
}

/* Shown above the CTAs — name as a small identity marker */
.hero__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-ink);
  margin: var(--space-sm) 0;
  letter-spacing: 0.01em;
}

/* LinkedIn / email button row */
.hero__links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__links .btn {
  font-size: 13px;
  padding: 10px 20px;
}


/* ── ABOUT — text split (no image) ─────────────────────────── */

/* Override the old image-based grid */
.about__grid {
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Hide the old image placeholder */
.about__image {
  display: none;
}

.about__content .label {
  margin-bottom: var(--space-sm);
}

.about__content p {
  margin-bottom: var(--space-sm);
}

.about__content p:last-of-type {
  margin-bottom: var(--space-md);
}


/* ── PULL QUOTE STRIP ───────────────────────────────────────── */

.quote-strip {
  background: var(--color-surface);
  padding: var(--space-xl) 0;
  text-align: center;
}

.quote-strip__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.quote-strip__text {
  font-family: var(--font-body);
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.25;
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}

.quote-strip__attr {
  display: inline-block;
  width: 100%;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-ink-light);
  font-family: var(--font-heading);
}


/* ── APPROACH ───────────────────────────────────────────────── */

.approach__header {
  margin-bottom: var(--space-lg);
  max-width: var(--content-width);
}

.approach__header h2 {
  margin-bottom: var(--space-xs);
}

.approach__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.approach__list--full {
  display: block;
  width: 100%;
}

.approach__item {
  display: block;
  width: 100%;
  padding: var(--space-md);
  border-radius: 4px;
  background: var(--color-accent-tint);
  transition: border-color var(--ease), transform var(--ease);
  text-decoration: none;
  color: inherit;
}

.approach__item h3 {
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.approach__item p {
  font-size: 15px;
  color: var(--color-ink-mid);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
  max-width: none;
}

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

.approach__beliefs,
.diag-what-helps ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.approach__beliefs li,
.diag-what-helps li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 15px;
  color: var(--color-ink-mid);
  line-height: 1.75;
}

.approach__beliefs li::before,
.diag-what-helps li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-lime);
  flex-shrink: 0;
  align-self: center;
}


/* ── HOW I WORK ─────────────────────────────────────────────── */

.how-i-work {
  background: var(--color-surface);
}

.how-i-work__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-xl);
  align-items: start;
  max-width: 900px;
}

.how-i-work__label {
  padding-top: 4px;
}

.how-i-work__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.how-i-work__item h3 {
  margin-bottom: 6px;
}

.how-i-work__item p {
  font-size: 15px;
  color: var(--color-ink-mid);
  line-height: 1.75;
}

.how-i-work__note {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-ink-mid);
}

.how-i-work__note a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ── TESTIMONIALS — editorial, full-width stacked ───────────── */

/* Override the old card grid */
.testimonials__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 680px;
  grid-template-columns: unset;
}

.testimonial-card {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.testimonial-card__quote {
  font-size: 18px;
  line-height: 1.85;
  color: var(--color-ink-mid);
  font-style: normal;
  margin-bottom: var(--space-sm);
  padding-top: var(--space-md);
  width: 100%;
  max-width: none;
  text-align: center;
}

/* Hide the decorative quote mark */
.testimonial-card__quote::before {
  display: none;
}

.testimonial-card__author {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-light);
  line-height: 1.7;
  width: 100%;
  text-align: center;
}

.testimonial-card__author strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-ink);
  margin-bottom: 2px;
  font-weight: 700;
}


/* ── CONTACT — embed placeholder ────────────────────────────── */

.contact__simple {
  max-width: 600px;
}

#contact {
  background: var(--color-surface);
}

.contact__simple h2 {
  margin-bottom: var(--space-sm);
}

.contact__simple p {
  font-size: 16px;
  color: var(--color-ink-mid);
  margin-bottom: var(--space-sm);
}

.contact__embed {
  margin-top: var(--space-md);
}

/* Placeholder shown before the real embed is dropped in */
.contact__embed-placeholder {
  min-height: 300px;
  border: 1px dashed var(--color-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  text-align: center;
  color: var(--color-ink-light);
  font-size: 14px;
  padding: var(--space-lg);
}

.contact__embed-placeholder code {
  font-family: monospace;
  font-size: 12px;
  background: var(--color-border);
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--color-ink-mid);
}


/* ── FOOTER — minimal ───────────────────────────────────────── */

.footer__simple {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.footer__simple-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__simple p {
  font-size: 14px;
  color: var(--color-ink-mid);
}

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

.footer__simple a:hover {
  color: var(--color-accent-dark);
}


/* ── ABOUT PAGE ─────────────────────────────────────────────── */

.about-hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
}

.about-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
  display: block;
}

.about-hero h1 {
  max-width: 22ch;
  margin-bottom: var(--space-md);
}

.about-hero__intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-ink);
  max-width: 54ch;
}

.about-content {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
}

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

.about-content__body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
  max-width: none;
}

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


/* ── RESPONSIVE — new layout additions ─────────────────────── */

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero__photo {
    order: -1;
    max-width: 360px;
  }

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

  .how-i-work__inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 640px) {
  .hero__links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero__body {
    margin-bottom: var(--space-xs);
  }

  .hero__photo {
    max-width: 250px;
    margin-left: auto;
    min-height: auto;
  }

  .testimonials__main {
    gap: var(--space-sm);
  }

  .testimonial-slide .testimonial-card__author {
    line-height: 1.4;
  }

  .testimonial-slide .testimonial-card__author strong {
    margin-bottom: 1px;
  }

  #how-we-work .about__grid {
    gap: var(--space-md);
  }

  #how-we-work {
    padding-bottom: var(--space-md);
  }

  .quote-strip__text {
    font-size: clamp(16px, 5vw, 28px);
  }

  .footer__simple-inner {
    flex-direction: column;
  }
}


/* ═══════════════════════════════════════════════════════════════
   CASE STUDY HERO IMAGE
═══════════════════════════════════════════════════════════════ */

.cs-hero__image {
  margin-top: var(--space-md);
}

.cs-hero__image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: var(--color-accent-tint);
}

/* Placeholder shown when no image is set */
.cs-hero__image--placeholder {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--color-accent-tint);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-light);
  font-size: 13px;
}

@media (max-width: 640px) {
  .cs-hero__image img,
  .cs-hero__image--placeholder {
    aspect-ratio: 16 / 9;
  }
}


/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SLIDESHOW
═══════════════════════════════════════════════════════════════ */

/* Slideshow fills the full container width */
.testimonials__slideshow {
  width: 100%;
}

/* Arrows sit on either side of the testimonial text */
.testimonials__main {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* All slides overlap in the same grid cell; the tallest one
   sets the container height. Active slide fades in. */
.testimonials__track {
  display: grid;
  flex: 1;
  min-width: 0;
}

.testimonial-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  padding-bottom: var(--space-sm);
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Re-apply the editorial quote style to slides */
.testimonial-slide .testimonial-card__quote {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-ink-mid);
  font-style: normal;
  margin-bottom: calc(var(--space-sm) * 1.1);
  width: 100%;
  max-width: none;
  text-align: center;
}

.testimonial-slide .testimonial-card__author {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-light);
  line-height: 1.7;
  width: 100%;
  text-align: center;
}

.testimonial-slide .testimonial-card__author strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-ink);
  margin-bottom: 2px;
  font-weight: 700;
}

/* Controls row hidden — arrows are now flanking the track */
.testimonials__controls {
  display: none;
}

.testimonials__dots {
  display: none;
}

.testimonials__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-lime);
  padding: 0px 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-mid);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  line-height: 1;
}

.testimonials__arrow:hover {
  color: var(--color-accent);

}

.testimonials__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonials__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--ease), transform var(--ease);
}

.testimonials__dot.active {
  background: var(--color-ink);
  transform: scale(1.2);
}

/* Progress bar under the slideshow */
.testimonials__progress {
  height: 1px;
  background: var(--color-border);
  margin-top: var(--space-md);
  border-radius: 1px;
  overflow: hidden;
}

.testimonials__progress-fill {
  height: 100%;
  background: var(--color-accent-dark);
  border-radius: 1px;
  width: 0%;
  transition: width linear;
}

/* ── CASE STUDY CTA ─────────────────────────────────────────── */
.diagnostic-cta {
  background-color: var(--color-surface);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.diagnostic-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.diagnostic-cta__inner h2 {
  margin-bottom: var(--space-lg);
}

@media (max-width: 767px) {
  .diagnostic-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
