/* Michael-John Blignaut — personal site
   Palette from Revenue Trust Institute (revenuetrust.org)
   Layout cues: calm single-column reading flow, generous space */

:root {
  --bg: #f5f3ec;          /* RTI --paper */
  --bg-alt: #ece9df;      /* RTI --paper-alt */
  --surface: #fcfbf7;     /* RTI --white */
  --text: #24302b;        /* RTI --ink */
  --text-muted: #5e675f;  /* RTI --muted */
  --accent: #7d613d;      /* RTI --gold */
  --accent-hover: #654d2f;/* RTI darker gold */
  --accent-light: #d5be90;/* RTI --gold-light */
  --sage: #dce2d4;        /* RTI --sage */
  --border: #d5d8cc;      /* RTI --line */
  --footer-bg: #24332b;   /* RTI --dark */
  --footer-text: #c2c9bb;
  --radius: 8px;
  --shadow: none;
  --font: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1100px;
  --narrow: 680px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  hyphens: none;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

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

.nav a[aria-current="page"] {
  color: var(--accent);
}

/* Sections */
.section {
  padding: 4.75rem 0;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.8vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 400;
}

.section-intro {
  max-width: 36rem;
  margin: -0.35rem 0 2rem;
  color: var(--text-muted);
}

/* Hero */
.hero {
  padding: 3.75rem 0 4.25rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 3rem;
  align-items: start;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-copy h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22em;
}

.role-line {
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero-eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 28em;
}

.cred-strip {
  margin: 1.2rem 0 0;
  font-size: 0.9rem; /* 14.4px */
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 38em;
}

.role-sep {
  margin: 0 0.28rem;
  color: var(--accent-light);
  font-weight: 400;
}

.tagline {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 28em;
}

.lede {
  margin: 0 0 1.85rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34em;
}
.hero-lead {
  margin: 0 0 1.05rem;
  font-family: var(--font);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem); /* ~60% of H1 (2rem to 2.75rem) */
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 28em;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-primary:hover {
  background: #405246;
  color: #fff;
  border-color: #405246;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-ghost:hover {
  background: var(--sage);
  color: var(--text);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-light);
  padding-bottom: 0.15rem;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* About */
.about {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.about p {
  margin: 0 0 1.15rem;
  color: var(--text);
}

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

.about-emphasis {
  margin: 1.5rem 0;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 2px solid var(--accent);
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.65;
}

/* Current work — stacked, light rules */
.work {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}

.work-item:last-child {
  border-bottom: 1px solid var(--border);
}

.work-label,
.work-item .work-label {
  margin: 0 0 0.45rem;
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-item h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.work-item p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.work-item .text-link {
  margin-top: 0.35rem;
}

/* Writing teaser */
.writing-teaser {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}

.writing-teaser p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  max-width: 34em;
}

/* Background */
.background {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.background .wrap.narrow,
.background > .wrap:first-child {
  /* prose sits in narrow wrap */
}

.background .wrap.narrow p,
.background .narrow > p {
  margin: 0 0 1.1rem;
}

.background h2 + p {
  margin-top: 0;
}

.closing-statement {
  margin: 1.85rem 0 0 !important;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--text);
}

.proof-strip {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

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

.proof-card {
  border-left: 2px solid var(--accent);
  padding: 0.1rem 0 0.1rem 1rem;
}

.proof-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.proof-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.proof-role {
  margin: 0 0 0.3rem !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  color: var(--text) !important;
}

/* Legacy project/pillar styles kept for safety */
.services { background: var(--bg); }
.pillars-grid,
.steps-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar-card,
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
}
.pillar-card h3,
.project-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text);
}
.pillar-problem,
.project-card p,
.step-card p {
  color: var(--text-muted);
}
.project-role {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.project-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--accent-light);
}
.process {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9rem;
}
.questions-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.projects {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Testimonials */
.testimonial {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.testimonial-wrap {
  width: min(100% - 2.5rem, 52rem);
}

.testimonial-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2rem;
  margin-bottom: 0.35rem;
  padding: 1.75rem 0 0.25rem;
  border-top: 1px solid var(--border);
  align-items: stretch;
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 1.85rem 0 0;
}

.testimonial-item + .testimonial-item {
  padding: 0 0 0 1.85rem;
  border-left: 1px solid var(--border);
}

.testimonial-context {
  margin: 0 0 0.7rem;
  font-family: var(--font);
  font-style: normal;
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.testimonial-quote {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.testimonial-quote p {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
}

.testimonial-quote footer {
  margin-top: auto;
  padding-top: 0.2rem;
  font-family: var(--font);
  font-style: normal;
  color: var(--text-muted);
}

.testimonial-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  color: var(--text-muted);
}

.testimonial-placeholder {
  margin: 0;
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}

/* Contact */
.contact {
  background: var(--surface);
}

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

.contact-lead {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.contact-place {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-links li {
  margin-bottom: 0.5rem;
}

.contact-links a {
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--accent-light);
}

.contact-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
}

.contact-form label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

/* Footer — dark ink from RTI */
.site-footer {
  border-top: 1px solid transparent;
  background: var(--footer-bg);
  padding: 1.75rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer p {
  margin: 0;
  color: var(--footer-text);
  font-size: 0.875rem; /* 14px, above 13/12 floors */
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.footer-nav a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: var(--accent-light);
}

.footer-nav a.footer-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-nav svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Articles page */
.page-intro {
  padding: 3.25rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
}

.page-intro h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-intro p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.articles-section {
  background: var(--surface);
  padding: 3rem 0 4.5rem;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.article-item {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 1.5rem 0;
}

.article-item:last-child {
  border-bottom: 1px solid var(--border);
}

.article-item--placeholder {
  border-style: solid;
  opacity: 0.9;
}

.article-meta {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-item h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.article-item p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

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

.article-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--accent-light);
}

.article-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.articles-extra {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Forms / a11y */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

.form-status--ok {
  background: var(--sage);
  color: var(--text);
  border: 1px solid var(--border);
}

.form-status--error {
  background: #f8eaea;
  color: #7a1f1f;
  border: 1px solid #e0c4c4;
}


#how-we-work,
#about,
#ventures,
#contact {
  scroll-margin-top: 5rem;
}

/* How I think */
.thinking {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}

.thinking h2 {
  margin-bottom: 1rem;
}

.thinking p {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.7;
}

.background-line {
  margin: 1.35rem 0 0 !important;
  color: var(--text-muted) !important;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
}


.offer-label {
  display: inline;
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.offer-problem,
.offer-how,
.offer-aside {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.offer-featured-copy .offer-aside,
.offer-item .offer-aside {
  margin-bottom: 0;
  color: var(--text);
  font-style: italic;
}

.offer-item .offer-how:last-child,
.offer-featured-copy .offer-how:last-child {
  margin-bottom: 0;
}

.offer-price-note {
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info h2 {
  max-width: 12.5em;
  line-height: 1.2;
}


/* Offer / Briefing */
.offer {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.offer .section-intro {
  max-width: 40rem;
  margin: -0.35rem 0 2.25rem;
  color: var(--text-muted);
}

.offer-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 360px);
  gap: 2.5rem 3rem;
  align-items: start;
  padding: 0 0 2.25rem;
  border-bottom: 1px solid var(--border);
}

.offer-kicker,
.offer-featured-copy .offer-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.offer-featured h3,
.offer-item h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.offer-featured-copy p,
.offer-item p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.offer-featured-copy p:last-child,
.offer-item p:last-child {
  margin-bottom: 0;
}

.offer-price {
  margin: 0 0 1.15rem !important;
  color: var(--text) !important;
  font-weight: 600;
  font-size: 1.02rem;
}

.offer-fee-note {
  margin-top: 1rem !important;
  color: var(--text) !important;
  font-size: 0.95rem;
  font-weight: 600;
}

.sample-sheet {
  margin: 0;
}

.sample-sheet img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg);
  box-shadow: 0 8px 24px rgba(36, 48, 43, 0.08);
}

.sample-sheet figcaption {
  margin-top: 0.65rem;
  font-size: 0.875rem; /* 14px */
  line-height: 1.45;
  color: var(--text-muted);
}

.offer-followons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.5rem;
  padding-top: 2.25rem;
}

.offer-item {
  padding: 0;
}

/* Responsive additions for the offer block */
@media (max-width: 900px) {
  .offer-featured {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .sample-sheet {
    max-width: 420px;
  }

  .offer-followons {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Mobile nav */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-photo {
    max-width: 260px;
    margin-inline: auto 0;
  }

  .pillars-grid,
  .steps-grid,
  .proof-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-pair {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.6rem;
    padding-top: 1.5rem;
  }

  .testimonial-item {
    padding: 0;
  }

  .testimonial-item + .testimonial-item {
    margin-top: 1.5rem;
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .testimonial-quote {
    padding: 0;
  }

  .testimonial-quote p {
    font-size: 1.08rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .section {
    padding: 3.25rem 0;
  }

  .hero {
    padding: 2.25rem 0 3rem;
  }

  .hero-photo {
    max-width: 200px;
    margin-inline: auto;
  }

  .hero-copy h1 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
  .hero-lead {
    font-size: clamp(1.05rem, 4.2vw, 1.2rem); /* ~60% of mobile H1 */
    max-width: 28rem;
    font-weight: 500;
  }


  .role-line,
  .hero-eyebrow {
    font-size: 0.9rem;
    max-width: 22rem;
  }

  .cred-strip {
    font-size: 0.875rem; /* 14px */
    max-width: 28rem;
  }

  .role-sep {
    margin: 0 0.15rem;
  }

  .tagline {
    font-size: clamp(1.2rem, 5.5vw, 1.45rem);
  }

  .work-item {
    padding: 1.4rem 0;
  }

  .work-item h3 {
    font-size: 1.25rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .pillars-grid,
  .steps-grid,
  .proof-grid,
  .projects-grid {
    gap: 1rem;
  }
}

::selection {
  background: var(--accent-light);
  color: var(--text);
}
