:root {
  --bg: #f8f7f4;
  --bg-secondary: #f3f1ea;
  --surface: #ffffff;
  --surface-alt: #f6f4ee;
  --text: #111111;
  --text-secondary: #414141;
  --muted: #6f6f6f;
  --light: #8e8e8e;
  --border: #dfdcd4;

  --purple: #8b5cf6;
  --purple-soft: rgba(139, 92, 246, 0.08);

  --green: #10b981;
  --green-dark: #059669;
  --green-soft: rgba(16, 185, 129, 0.08);

  --red: #dc2626;
  --amber: #d97706;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 14px;

  --shadow-soft: 0 8px 24px rgba(17, 17, 17, 0.035);
  --shadow-device: 0 18px 42px rgba(17, 17, 17, 0.045);
  --shadow-screen: 0 8px 20px rgba(17, 17, 17, 0.03);

  --max-width: 1240px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus,
button:focus {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  background: #111111;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

header,
main,
footer {
  width: 100%;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav a {
  text-decoration: none;
}

.logo-wrap {
  display: flex;
  align-items: center;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 14px;
  color: var(--text);
}

.hero {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 96px 40px 78px;
}

.hero-home {
  max-width: 1180px;
}

.hero-scaffold {
  max-width: 1180px;
  padding-top: 84px;
  padding-bottom: 64px;
}

.eyebrow,
.section-label,
.mini-label {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(52px, 8vw, 88px);
  max-width: 9ch;
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
  max-width: 15ch;
}

h3 {
  font-size: 26px;
}

p {
  margin: 0 0 18px;
  max-width: 68ch;
  color: var(--text-secondary);
  font-size: 18px;
}

.hero-copy {
  font-size: 20px;
  line-height: 1.5;
  margin-top: 28px;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 500; /* subtle emphasis */
}

.hero-subcopy {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: 0;
}

.hero-actions {
  margin-top: 30px;
}

.section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 78px 40px;
}

.text-block-wide {
  max-width: 880px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 46px;
  align-items: start;
}

.case-two-col {
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.button:hover {
  background: #1d1d1d;
}

.framework-card {
  padding: 30px;
  background: var(--bg-secondary);
}

.framework-flow {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.framework-node {
  padding: 22px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.framework-node-accent,
.framework-node-green {
  background: var(--green-soft);
  border-color: rgba(16, 185, 129, 0.18);
}

.node-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.node-copy {
  font-size: 15px;
  color: var(--muted);
}

.framework-arrow {
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.small-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px;
  align-items: center;
  padding: 34px;
}

.project-subtitle {
  font-size: 18px;
  color: var(--text);
}

.project-image-wrap {
  display: flex;
  justify-content: center;
}

.project-image {
  width: 100%;
  max-width: 290px;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.writing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px; /* ← ADD THIS LINE */
}

.writing-card {
  padding: 28px;
  min-height: 190px;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 36px;
  align-items: center;
  padding: 32px;
}

.headshot {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Scaffold core */
.methods-card,
.diagram-card,
.intervention-card {
  padding: 32px;
  background: var(--bg-secondary);
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.method-item {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.insight-card {
  padding: 28px;
}

.insight-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.insight-card p {
  font-size: 16px;
  color: var(--muted);
}

.persona-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding: 32px;
}

.persona-image-wrap {
  display: flex;
  justify-content: center;
}

.persona-large {
  width: 100%;
  max-width: 280px;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.persona-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 24px 0 20px;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

li {
  margin-bottom: 8px;
}

blockquote {
  margin: 26px 0 0;
  padding: 18px 22px;
  border-left: 4px solid var(--purple);
  background: var(--purple-soft);
  border-radius: 0 16px 16px 0;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  line-height: 1.35;
}

.cycle-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.cycle-list-clean .cycle-step {
  background: #ffffff;
}

.cycle-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.cycle-step-bar {
  position: relative;
  overflow: hidden;
}

.cycle-step-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  border-radius: 16px 0 0 16px;
}

.cycle-step-red::before {
  background: var(--red);
}

.cycle-step-amber::before {
  background: var(--amber);
}

.cycle-step-neutral::before {
  background: #8c8c8c;
}
.cycle-step-red {
  background: rgba(220, 38, 38, 0.03);
}

.cycle-step-amber {
  background: rgba(217, 119, 6, 0.04);
}

.cycle-step-neutral {
  background: rgba(140, 140, 140, 0.04);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: transparent;
  color: #7a7a7a;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.step-title {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.step-copy {
  font-size: 15px;
  color: var(--text-secondary);
}

.intervention-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.intervention-item {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
}

/* Prototype section */
.prototype {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 78px 40px;
}

.center {
  text-align: center;
  margin: 0 auto;
}

.cta-card {
  max-width: 780px;
  padding: 38px;
}

.prototype-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px 34px;
  margin-top: 32px;
  align-items: start;
}

.prototype-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.screen-wrap,
.screen-wrap-light {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 390 / 844;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  padding: 20px 14px;
  background: #f8f6f1;
  border: 1px solid rgba(40, 40, 40, 0.08);
  border-radius: 38px;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.045);
  overflow: hidden;
}

.screen-wrap::before,
.screen-wrap-light::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  border-radius: 999px;
  background: rgba(120, 120, 120, 0.16);
  z-index: 2;
}

.prototype-thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  margin: 0;
  border: none;
  outline: none;
  background: transparent;
  filter: drop-shadow(0 8px 18px rgba(17, 17, 17, 0.03));
  transform: scale(0.96);
}

.prototype-card h3 {
  margin: 0 0 10px;
  max-width: 22ch;
  font-size: 24px;
  line-height: 1.18;
  text-align: center;
}

.prototype-card p {
  margin-left: auto;
  margin-right: auto;
  max-width: 35ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
}

.prototype-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  max-width: 35ch;
}

.reflection-block {
  max-width: 920px;
  padding: 38px;
  border-radius: 28px;
  background: #151515;
}

.reflection-block h2,
.reflection-block p {
  color: #ffffff;
}

.reflection-label {
  color: rgba(255, 255, 255, 0.7);
}

.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 40px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .two-col,
  .case-two-col,
  .project-feature,
  .about-card,
  .persona-card {
    grid-template-columns: 1fr;
  }

  .writing-grid,
  .insights-grid,
  .methods-grid,
  .intervention-list,
  .persona-columns,
  .prototype-grid {
    grid-template-columns: 1fr;
  }

  .project-image-wrap,
  .persona-image-wrap {
    justify-content: flex-start;
  }

  .headshot {
    max-width: 240px;
  }
}

@media (max-width: 760px) {
  .nav,
  .hero,
  .section,
  .prototype,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

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

  .nav-links {
    gap: 14px;
  }

 

  .framework-card,
  .methods-card,
  .diagram-card,
  .intervention-card,
  .writing-card,
  .insight-card,
  .persona-card,
  .project-feature,
  .about-card,
  .cta-card,
  .reflection-block {
    padding: 22px;
  }

  blockquote {
    font-size: 20px;
  }

  p {
    font-size: 17px;
  }

  .prototype-grid {
    gap: 34px;
  }

  .screen-wrap,
  .screen-wrap-light {
    width: min(100%, 300px);
    padding: 16px 12px 18px;
    border-radius: 34px;
  }

  .screen-wrap::before,
  .screen-wrap-light::before {
    top: 10px;
    width: 64px;
    height: 4px;
  }

  .prototype-card h3,
  .prototype-card p {
    text-align: center;
  }
}

/* Resume */
.resume-stack {
  display: grid;
  gap: 24px;
}

.resume-card {
  padding: 28px;
}

.resume-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.resume-card ul {
  margin-top: 12px;
  padding-left: 18px;
}

.resume-card li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* =========================
   ETHICS SECTION POLISH
   ========================= */

.ethics-section {
  margin-top: 0;
}

.ethics-section .text-block {
  max-width: 880px;
}

.ethics-section h2 {
  margin-bottom: 16px;
}

.ethics-section p {
  margin-bottom: 16px;
}

.ethics-section ul {
  margin: 18px 0 20px;
  padding-left: 20px;
}

.ethics-section li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.ethics-section a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Ensure consistent spacing across shared sections */

.section .text-block.text-block-wide ul {
  margin: 18px 0 20px;
  padding-left: 20px;
}

.section .text-block.text-block-wide li {
  margin-bottom: 10px;
}

/* =========================
   NAV BRAND (FINAL CLEAN)
   ========================= */

.logo-wrap {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start; /* ← ADD THIS LINE */
  gap: 12px;
  text-decoration: none;
}

.logo-image {
  height: 42px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #111111;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .logo-image {
    height: 36px;
  }

  .brand-name {
    font-size: 19px;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .logo-image {
    height: 32px;
  }

  .brand-name {
    font-size: 17px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 10px 18px;
    width: 100%;
  }

  .nav-links a {
    font-size: 13px;
    line-height: 1.3;
  }
}

@media (max-width: 760px) {
  .nav {
    padding: 16px 22px 4px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

 .logo-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.brand-lockup {
  display: grid;
  grid-template-columns: 28px auto;
  align-items: center;
  column-gap: 10px;
  width: auto;
}
  .logo-image {
    height: 28px;
  }

  .brand-name {
    font-size: 16px;
    line-height: 1;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    width: 100%;
    margin-top: 0;
  }

  .nav-links a {
    font-size: 12.5px;
    line-height: 1.15;
  }

  .hero,
  .hero-home,
  .hero-scaffold {
    padding-top: 20px;
  }

  .hero-copy,
  .hero-subcopy {
    max-width: 21rem;
  }
}
}
/* =========================
   ABOUT IMAGE
   ========================= */

.about-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* Mobile */
@media (max-width: 760px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-image img {
    width: 140px;
  }
}
/* =========================
   ABOUT SECTION
   ========================= */

.about-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
}

.about-image {
  align-self: start;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* Mobile */
@media (max-width: 760px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-image img {
    width: 140px;
  }
}
/* =========================
   MOBILE NAV POLISH
   ========================= */

@media (max-width: 760px) {
  .nav {
    padding: 16px 18px 4px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

 .logo-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.brand-lockup {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 10px;
  width: auto;
}

.logo-image {
  height: 28px;
  width: auto;
  max-width: none;
  display: block;
}

.brand-name {
  font-size: 16px;
  line-height: 1;
}
  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    margin-top: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links a {
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero,
  .hero-home,
  .hero-scaffold {
    padding-top: 20px;
  }

  .hero-copy,
  .hero-subcopy {
    max-width: 21rem;
  }
}
/* =========================
   MOBILE TYPE POLISH
   ========================= */

@media (max-width: 760px) {
  h1 {
    font-size: clamp(44px, 13vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 8.5ch;
    margin-bottom: 18px;
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.06;
    max-width: 14ch;
  }

  h3 {
    font-size: 24px;
    line-height: 1.12;
  }

  .eyebrow,
  .section-label,
  .mini-label {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  p {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-copy,
  .hero-subcopy {
    font-size: 16px;
    line-height: 1.7;
    max-width: 21rem;
  }

  .button {
    min-height: 46px;
    padding: 13px 20px;
    font-size: 15px;
  }
}
.back-to-top {
  margin-top: 40px;
  font-size: 14px;
}

.back-to-top a {
  text-decoration: none;
  color: var(--muted);
}

.back-to-top a:hover {
  text-decoration: underline;
}

}
.back-to-top {
  display: inline-block;
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.7;
  text-decoration: none;
}

.back-to-top:hover {
  opacity: 1;
}
/* =========================================================
PORTFOLIO REFINEMENT LAYER
========================================================= */

:root {
  --green-deep: #2f4a3a;
  --green-moss: #61745b;
  --green-sage: #dfe8dc;
  --green-pale: #f4f7f2;

  --text-dark: #1f2722;
  --text-muted: #5f6f66;

  --border-soft: rgba(31, 39, 34, 0.12);

  --radius-lg: 18px;
  --radius-md: 12px;

  --shadow-soft: 0 14px 32px rgba(0,0,0,0.05);

  --max-readable: 72ch;
}

/* =========================================================
TYPOGRAPHY + READABILITY
========================================================= */

body {
  line-height: 1.6;
  color: var(--text-dark);
}

p,
li {
  max-width: var(--max-readable);
}

.hero-subcopy-wide,
.text-block-wide {
  max-width: 72ch;
}

/* =========================================================
ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 4px;
  border-radius: 6px;
}

.button,
.button-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
BUTTONS
========================================================= */

.button-secondary {
  background: var(--green-pale);
  color: var(--green-deep);
  border: 1px solid var(--border-soft);
}

.button-secondary:hover {
  background: var(--green-sage);
}

/* =========================================================
SECTION LABELS
========================================================= */

.section-label,
.eyebrow,
.mini-label {
  color: var(--green-moss);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
FRAMEWORK / SYSTEM CARDS
========================================================= */

.framework-card,
.diagram-card,
.meta-card,
.insight-card,
.artifact-card,
.resume-card,
.prototype-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-soft);
}

/* =========================================================
FRAMEWORK FLOW
========================================================= */

.framework-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.framework-node {
  flex: 1 1 180px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: white;
}

.framework-node-accent {
  background: var(--green-pale);
  border-color: var(--green-sage);
}

.framework-node-green {
  background: var(--green-sage);
}

.framework-arrow {
  font-size: 1.5rem;
  color: var(--green-moss);
}

.node-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.node-copy {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =========================================================
META GRID
========================================================= */

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

/* =========================================================
ARTIFACT + INSIGHT GRIDS
========================================================= */

.artifact-grid,
.insights-grid,
.writing-grid,
.resume-stack {
  display: grid;
  gap: 1.2rem;
}

.insights-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2rem;
}

.artifact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

/* =========================================================
RESEARCH TABLE
========================================================= */

.table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: white;
}

.research-to-design {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.research-to-design th,
.research-to-design td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  vertical-align: top;
}

.research-to-design th {
  background: var(--green-sage);
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.research-to-design tr:last-child td {
  border-bottom: none;
}

/* =========================================================
PERSONA SECTION
========================================================= */

.persona-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

.persona-large {
  width: 100%;
  border-radius: var(--radius-lg);
}

.persona-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.persona-copy blockquote {
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--green-sage);
  color: var(--green-deep);
  font-style: italic;
}

/* =========================================================
DISTRESS CYCLE
========================================================= */

.cycle-list {
  display: grid;
  gap: 0.9rem;
}

.cycle-step-bar {
  display: flex;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: var(--radius-md);
}

.cycle-step-red {
  background: #f6ece8;
}

.cycle-step-amber {
  background: #f7f2e6;
}

.cycle-step-neutral {
  background: #eef1ef;
}

.step-number {
  font-weight: 700;
  color: var(--green-deep);
}

.step-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.step-copy {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================================
INTERVENTION SECTION
========================================================= */

.intervention-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.intervention-item {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--green-pale);
  border: 1px solid var(--green-sage);
  color: var(--green-deep);
}

/* =========================================================
PROTOTYPE GRID
========================================================= */

.prototype-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.prototype-card {
  padding: 1rem;
}

.prototype-thumb {
  width: 100%;
  border-radius: 12px;
}

.prototype-note {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* =========================================================
ABOUT SECTION
========================================================= */

.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* =========================================================
ETHICS / EVIDENCE BLOCKS
========================================================= */

.evidence-section {
  background: linear-gradient(
    180deg,
    rgba(223, 232, 220, 0.35),
    rgba(255,255,255,0)
  );
}

.reflection-block {
  max-width: 72ch;
}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .persona-card,
  .about-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {

  .framework-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .framework-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .prototype-grid,
  .artifact-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   VISUAL FIX PASS — MAY 19
   paste at very bottom of styles.css
========================================================= */

/* HERO: fix awkward headline wrapping */
.hero-home h1 {
  max-width: 12.5ch;
  font-size: clamp(58px, 7.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-home {
  padding-top: 88px;
}

.hero-home .hero-copy {
  max-width: 64ch;
  margin-top: 28px;
}

.hero-home .hero-subcopy {
  max-width: 66ch;
}

/* Optional alternate if you change headline text later */
@media (min-width: 900px) {
  .hero-home h1 {
    max-width: 13.5ch;
  }
}

/* SCAFFOLD META CARDS: stop huge h2 inside cards */
.meta-grid {
  align-items: stretch;
}

.meta-card {
  padding: 28px 30px;
}

.meta-card h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  max-width: none;
  margin-bottom: 18px;
}

.meta-card p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* SCAFFOLD CARD PADDING: fix cramped card content */
.artifact-card,
.insight-card,
.resume-card {
  padding: 28px;
}

.artifact-card h3,
.insight-card h3 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.artifact-card p,
.insight-card p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Research foundation background: remove clashy green wash */
.evidence-section {
  background: transparent;
  border-top: 1px solid rgba(31, 39, 34, 0.08);
  border-bottom: 1px solid rgba(31, 39, 34, 0.08);
}

/* But keep a subtle intentional treatment inside the cards */
.artifact-card {
  background: #fffdf8;
  border-color: rgba(47, 74, 58, 0.16);
}

/* Alex quote: override old lavender/purple styling */
blockquote,
.persona-copy blockquote {
  background: #eef2ea !important;
  border-left: 5px solid #6f8067 !important;
  color: #2f4a3a !important;
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.35;
}

/* Remove old purple variable influence where it appears */
:root {
  --purple: #6f8067;
  --purple-soft: rgba(111, 128, 103, 0.14);
}

/* Intervention card: reduce giant scale and make it breathe */
.intervention-card {
  padding: clamp(32px, 5vw, 54px);
}

.intervention-card h2 {
  max-width: 16ch;
  font-size: clamp(40px, 5.2vw, 72px);
}

.intervention-list {
  margin-top: 28px;
}

/* Reflection block: improve contrast */
.reflection-block {
  background: #151515;
}

.reflection-label,
.reflection-block .section-label {
  color: #b9c8b0 !important;
}

.reflection-block h2,
.reflection-block p {
  color: #ffffff;
}

/* Better spacing rhythm between large sections */
.section {
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(64px, 7vw, 96px);
}

/* Mobile cleanup */
@media (max-width: 760px) {
  .hero-home h1 {
    max-width: 9.5ch;
    font-size: clamp(44px, 13vw, 64px);
  }

  .meta-card,
  .artifact-card,
  .insight-card {
    padding: 22px;
  }

  .meta-card h2 {
    font-size: 30px;
  }

  .intervention-card h2 {
    font-size: clamp(34px, 10vw, 46px);
  }
}
/* =========================================================
   SCAFFOLD RESEARCH ASSETS
========================================================= */

.realworld-section {
  border-top: 1px solid rgba(31,39,34,0.08);
}

.artifact-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.artifact-link-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 28px;
  text-decoration: none;
  color: inherit;

  border-radius: 18px;
  border: 1px solid rgba(31,39,34,0.1);
  background: #fffdf8;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.artifact-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47,74,58,0.22);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.artifact-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #61745b;
}

.artifact-link-card h3 {
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
}

.artifact-link-card p {
  margin: 0;
  color: #5f6f66;
}

.artifact-cta {
  margin-top: auto;
  color: #2f4a3a;
  font-weight: 600;
}

.timeline-stack {
  display: grid;
  gap: 1.25rem;
}
/* -------------------------------
   Scaffold Case Study Updates
-------------------------------- */

.hero-scaffold {
  padding-bottom: 3rem;
}

.hero-subcopy-wide,
.text-block-wide {
  max-width: 860px;
}

.meta-grid,
.artifact-grid,
.insights-grid,
.artifact-links-grid,
.prototype-grid,
.impact-grid,
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.artifact-grid,
.insights-grid,
.artifact-links-grid,
.prototype-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.artifact-link-card,
.prototype-card,
.timeline-card {
  border: 1px solid rgba(36, 30, 24, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 1.35rem;
}

.meta-card h2,
.artifact-card h3,
.insight-card h3,
.artifact-link-card h3,
.prototype-card h3,
.timeline-card h3 {
  margin-top: 0;
}

.artifact-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.artifact-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(36, 30, 24, 0.08);
}

.artifact-type,
.section-label,
.mini-label,
.timeline-phase {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.72;
}

.artifact-cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
}

/* Research-to-design table */

.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.research-to-design {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 30, 24, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.research-to-design th,
.research-to-design td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(36, 30, 24, 0.1);
}

.research-to-design th {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.research-to-design tr:last-child td {
  border-bottom: none;
}

/* Persona */

.persona-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2rem;
  align-items: center;
}

.persona-large {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

.persona-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.persona-copy blockquote {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(36, 30, 24, 0.24);
  font-size: 1.1rem;
}

/* Diagrams */

.case-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.cycle-list-clean {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.cycle-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.step-number {
  font-weight: 700;
  opacity: 0.65;
}

.step-title,
.node-title {
  font-weight: 700;
}

.step-copy,
.node-copy {
  margin-top: 0.25rem;
  opacity: 0.78;
}

.framework-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 1rem;
}

.framework-node {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(36, 30, 24, 0.1);
}

.framework-arrow {
  display: flex;
  align-items: center;
  opacity: 0.55;
}

/* Intervention */

.intervention-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.intervention-item {
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(36, 30, 24, 0.1);
  font-weight: 600;
}

/* Timeline */

.timeline-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Prototype */

.prototype-grid {
  align-items: start;
}

.screen-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.64);
  margin-bottom: 1rem;
}

.prototype-thumb {
  width: 100%;
  display: block;
}

.prototype-note {
  font-size: 0.92rem;
  opacity: 0.78;
}

/* CTA */

.cta-card {
  max-width: 720px;
  margin: 0 auto;
}

/* Mobile */

@media (max-width: 900px) {
  .meta-grid,
  .artifact-grid,
  .insights-grid,
  .artifact-links-grid,
  .prototype-grid,
  .impact-grid,
  .snapshot-grid,
  .case-two-col,
  .persona-card,
  .persona-columns,
  .intervention-list {
    grid-template-columns: 1fr;
  }

  .framework-flow {
    grid-template-columns: 1fr;
  }

  .framework-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

  .hero-scaffold {
    padding-bottom: 2rem;
  }
}
/* --------------------------------
   Scaffold final polish
-------------------------------- */

.hero-scaffold {
  padding-top: 5rem;
  padding-bottom: 3.5rem;
}

.hero-scaffold .meta-grid {
  margin-top: 2rem;
}

.section {
  padding-top: 4.75rem;
  padding-bottom: 4.75rem;
}

.section + .section {
  border-top: 1px solid rgba(36, 30, 24, 0.07);
}

.section-label,
.mini-label,
.artifact-type,
.timeline-phase {
  margin-bottom: 0.85rem;
  color: rgba(36, 30, 24, 0.62);
}

.text-block-wide {
  max-width: 880px;
}

.text-block-wide p {
  max-width: 780px;
}

.meta-grid,
.snapshot-grid,
.artifact-grid,
.insights-grid,
.artifact-links-grid,
.impact-grid,
.prototype-grid {
  gap: 1.1rem;
}

.card,
.artifact-link-card,
.prototype-card,
.timeline-card {
  box-shadow: 0 10px 30px rgba(36, 30, 24, 0.045);
}

.card h2,
.card h3,
.artifact-link-card h3,
.prototype-card h3,
.timeline-card h3 {
  line-height: 1.18;
}

.card p,
.artifact-link-card p,
.prototype-card p,
.timeline-card p {
  line-height: 1.58;
}

/* Make the project snapshot easier to scan */

.snapshot-grid .card h3,
.meta-card h2 {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(36, 30, 24, 0.62);
}

.snapshot-grid .card p,
.meta-card p {
  font-size: 0.98rem;
}

/* Artifact cards need to feel clickable */

.artifact-link-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.artifact-link-card .artifact-cta {
  margin-top: auto;
  padding-top: 1rem;
}

/* Improve table readability */

.research-to-design {
  font-size: 0.96rem;
}

.research-to-design th {
  background: rgba(36, 30, 24, 0.045);
}

.research-to-design td:first-child {
  font-weight: 500;
}

/* Keep persona from feeling oversized */

.persona-card {
  align-items: start;
}

.persona-image-wrap {
  display: flex;
  justify-content: center;
}

.persona-large {
  max-width: 260px;
}

/* Improve diagram rhythm */

.cycle-step,
.framework-node,
.intervention-item {
  background: rgba(255, 255, 255, 0.72);
}

.cycle-step {
  min-height: 86px;
}

.framework-node {
  min-height: 140px;
}

/* Prototype cards */

.prototype-card {
  height: 100%;
}

.screen-wrap {
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prototype-thumb {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

/* Limitations section */

.limitations,
.reflection-block,
.philosophy-block {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile tightening */

@media (max-width: 900px) {
  .hero-scaffold {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .card,
  .artifact-link-card,
  .prototype-card,
  .timeline-card {
    padding: 1.15rem;
  }

  .persona-large {
    max-width: 220px;
  }

  .research-to-design th,
  .research-to-design td {
    padding: 0.85rem;
  }
}
/* --------------------------------
   Scaffold subtle visual upgrade
   Paste at bottom of styles.css
-------------------------------- */

:root {
  --scaffold-accent: #7b8a72;
  --scaffold-accent-soft: rgba(123, 138, 114, 0.12);
  --scaffold-ink: #241e18;
}

/* Softer page rhythm */

#main-content .section:nth-of-type(even) {
  background: rgba(36, 30, 24, 0.018);
}

.hero-scaffold {
  position: relative;
  overflow: hidden;
}

.hero-scaffold::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: 5rem;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(123, 138, 114, 0.13),
    rgba(123, 138, 114, 0)
  );
  pointer-events: none;
}

/* Accent labels */

.section-label,
.mini-label,
.artifact-type,
.timeline-phase {
  color: var(--scaffold-accent);
  opacity: 1;
}

/* Slightly stronger hierarchy */

.text-block h2,
.reflection-block h2,
.philosophy-block p {
  line-height: 1.08;
}

.text-block p,
.card p,
.artifact-link-card p,
.prototype-card p,
.timeline-card p,
.persona-copy p,
li {
  color: rgba(36, 30, 24, 0.82);
}

/* More variation between cards and editorial sections */

.card,
.artifact-link-card,
.prototype-card,
.timeline-card {
  border-color: rgba(36, 30, 24, 0.11);
  box-shadow: 0 14px 34px rgba(36, 30, 24, 0.045);
}

.text-block-wide {
  max-width: 900px;
}

/* Stronger project snapshot scanability */

.snapshot-grid .card,
.meta-card {
  background: rgba(255, 255, 255, 0.78);
}

.snapshot-grid .card h3,
.meta-card h2 {
  color: var(--scaffold-accent);
}

/* Artifact cards feel more clickable */

.artifact-link-card {
  border-top: 3px solid var(--scaffold-accent-soft);
}

.artifact-link-card:hover {
  border-top-color: var(--scaffold-accent);
}

/* Research table polish */

.research-to-design th {
  background: var(--scaffold-accent-soft);
  color: rgba(36, 30, 24, 0.78);
}

.research-to-design td:first-child {
  border-left: 3px solid rgba(123, 138, 114, 0.22);
}

/* Softer persona treatment */

.persona-card {
  background:
    linear-gradient(
      135deg,
      rgba(123, 138, 114, 0.08),
      rgba(255, 255, 255, 0.75)
    );
}

/* Subtle diagram emphasis */

.diagram-card {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82),
      rgba(123, 138, 114, 0.055)
    );
}

.cycle-step,
.framework-node,
.intervention-item {
  border-left: 3px solid rgba(123, 138, 114, 0.25);
}

.framework-node-green {
  border-left-color: var(--scaffold-accent);
  background: rgba(123, 138, 114, 0.1);
}

.framework-arrow {
  color: var(--scaffold-accent);
  font-weight: 700;
}

/* Prototype visual lift */

.prototype-grid {
  gap: 1.5rem;
}

.prototype-card {
  background: rgba(255, 255, 255, 0.78);
}

.screen-wrap {
  background:
    radial-gradient(
      circle at top,
      rgba(123, 138, 114, 0.12),
      rgba(255, 255, 255, 0.65)
    );
}

.prototype-thumb {
  transform: scale(1.015);
}

/* Philosophy/reflection sections feel more editorial */

.philosophy-block,
.reflection-block {
  background: transparent;
  box-shadow: none;
  border-left: 4px solid var(--scaffold-accent);
  padding-left: 1.5rem;
}

.philosophy-block p {
  color: rgba(36, 30, 24, 0.88);
}

/* Buttons */

.button {
  background: var(--scaffold-ink);
}

.button:hover {
  background: var(--scaffold-accent);
}

/* Mobile adjustments */

@media (max-width: 900px) {
  .hero-scaffold::after {
    width: 14rem;
    height: 14rem;
    right: -6rem;
    top: 3rem;
  }

  .philosophy-block,
  .reflection-block {
    padding-left: 1rem;
  }

  .prototype-grid {
    gap: 1rem;
  }
}/* --------------------------------
   Scaffold subtle visual upgrade
   Paste at bottom of styles.css
-------------------------------- */

:root {
  --scaffold-accent: #7b8a72;
  --scaffold-accent-soft: rgba(123, 138, 114, 0.12);
  --scaffold-ink: #241e18;
}

/* Softer page rhythm */

#main-content .section:nth-of-type(even) {
  background: rgba(36, 30, 24, 0.018);
}

.hero-scaffold {
  position: relative;
  overflow: hidden;
}

.hero-scaffold::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: 5rem;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(123, 138, 114, 0.13),
    rgba(123, 138, 114, 0)
  );
  pointer-events: none;
}

/* Accent labels */

.section-label,
.mini-label,
.artifact-type,
.timeline-phase {
  color: var(--scaffold-accent);
  opacity: 1;
}

/* Slightly stronger hierarchy */

.text-block h2,
.reflection-block h2,
.philosophy-block p {
  line-height: 1.08;
}

.text-block p,
.card p,
.artifact-link-card p,
.prototype-card p,
.timeline-card p,
.persona-copy p,
li {
  color: rgba(36, 30, 24, 0.82);
}

/* More variation between cards and editorial sections */

.card,
.artifact-link-card,
.prototype-card,
.timeline-card {
  border-color: rgba(36, 30, 24, 0.11);
  box-shadow: 0 14px 34px rgba(36, 30, 24, 0.045);
}

.text-block-wide {
  max-width: 900px;
}

/* Stronger project snapshot scanability */

.snapshot-grid .card,
.meta-card {
  background: rgba(255, 255, 255, 0.78);
}

.snapshot-grid .card h3,
.meta-card h2 {
  color: var(--scaffold-accent);
}

/* Artifact cards feel more clickable */

.artifact-link-card {
  border-top: 3px solid var(--scaffold-accent-soft);
}

.artifact-link-card:hover {
  border-top-color: var(--scaffold-accent);
}

/* Research table polish */

.research-to-design th {
  background: var(--scaffold-accent-soft);
  color: rgba(36, 30, 24, 0.78);
}

.research-to-design td:first-child {
  border-left: 3px solid rgba(123, 138, 114, 0.22);
}

/* Softer persona treatment */

.persona-card {
  background:
    linear-gradient(
      135deg,
      rgba(123, 138, 114, 0.08),
      rgba(255, 255, 255, 0.75)
    );
}

/* Subtle diagram emphasis */

.diagram-card {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82),
      rgba(123, 138, 114, 0.055)
    );
}

.cycle-step,
.framework-node,
.intervention-item {
  border-left: 3px solid rgba(123, 138, 114, 0.25);
}

.framework-node-green {
  border-left-color: var(--scaffold-accent);
  background: rgba(123, 138, 114, 0.1);
}

.framework-arrow {
  color: var(--scaffold-accent);
  font-weight: 700;
}

/* Prototype visual lift */

.prototype-grid {
  gap: 1.5rem;
}

.prototype-card {
  background: rgba(255, 255, 255, 0.78);
}

.screen-wrap {
  background:
    radial-gradient(
      circle at top,
      rgba(123, 138, 114, 0.12),
      rgba(255, 255, 255, 0.65)
    );
}

.prototype-thumb {
  transform: scale(1.015);
}

/* Philosophy/reflection sections feel more editorial */

.philosophy-block,
.reflection-block {
  background: transparent;
  box-shadow: none;
  border-left: 4px solid var(--scaffold-accent);
  padding-left: 1.5rem;
}

.philosophy-block p {
  color: rgba(36, 30, 24, 0.88);
}

/* Buttons */

.button {
  background: var(--scaffold-ink);
}

.button:hover {
  background: var(--scaffold-accent);
}

/* Mobile adjustments */

@media (max-width: 900px) {
  .hero-scaffold::after {
    width: 14rem;
    height: 14rem;
    right: -6rem;
    top: 3rem;
  }

  .philosophy-block,
  .reflection-block {
    padding-left: 1rem;
  }

  .prototype-grid {
    gap: 1rem;
  }
}
/* --------------------------------
   Scaffold synthesis snapshot
-------------------------------- */

.synthesis-snapshot-section {
  position: relative;
}

.synthesis-figure {
  margin: 2rem 0 1.5rem;
}

.synthesis-figure a {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(36, 30, 24, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(36, 30, 24, 0.06);
}

.synthesis-image {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.01);
}

.synthesis-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: rgba(36, 30, 24, 0.62);
}

.synthesis-callouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.synthesis-callout {
  border-top: 3px solid rgba(123, 138, 114, 0.24);
}

.synthesis-callout h3 {
  margin-top: 0;
  line-height: 1.18;
}

@media (max-width: 900px) {
  .synthesis-callouts {
    grid-template-columns: 1fr;
  }

  .synthesis-figure {
    margin-top: 1.5rem;
  }
}
.synthesis-actions {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.secondary-button {
  background: transparent;
  color: var(--scaffold-ink);
  border: 1px solid rgba(36, 30, 24, 0.18);
  box-shadow: none;
}

.secondary-button:hover {
  background: var(--scaffold-accent);
  color: white;
  border-color: var(--scaffold-accent);
}
/* --------------------------------
   Homepage hero refinements
-------------------------------- */

/* --------------------------------
   Homepage Hero
-------------------------------- */
/* --------------------------------
   Homepage Hero
-------------------------------- */

.home-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem 5rem;
}

.hero-eyebrow {
  margin-bottom: 2rem;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b8a72;
  font-weight: 600;
}

.home-hero h1 {
  max-width: 9ch;
  margin: 0 0 2rem;
  font-size: clamp(4rem, 8vw, 7.6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 600;
  color: #111111;
}

.home-hero-copy {
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.home-hero-copy p {
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  line-height: 1.48;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.92);
  margin: 0 0 1.15rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------
   Buttons
-------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: #241e18;
  color: #f5f2ec;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  background: #7b8a72;
  color: #ffffff;
  transform: translateY(-1px);
}

.secondary-button {
  background: #241e18;
  color: #f5f2ec;
  border: 1px solid rgba(255,255,255,0.08);
}

.secondary-button:hover {
  background: #7b8a72;
  color: #ffffff;
  border-color: #7b8a72;
}

/* --------------------------------
   Mobile
-------------------------------- */

@media (max-width: 900px) {

  .home-hero {
    padding: 3rem 1.25rem 4rem;
  }

  .home-hero h1 {
    max-width: 8ch;
    font-size: clamp(3.2rem, 14vw, 5rem);
    line-height: 0.96;
    margin-bottom: 1.5rem;
  }

  .home-hero-copy {
    max-width: 100%;
  }

  .home-hero-copy p {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
/* Homepage framework graphic refinement */

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

.framework-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.framework-node {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 30, 24, 0.11);
  border-radius: 18px;
  padding: 1.25rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.framework-node-green {
  background: rgba(123, 138, 114, 0.1);
  border-color: rgba(123, 138, 114, 0.28);
}

.framework-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7b8a72;
  font-weight: 700;
  font-size: 1.35rem;
}

.node-title {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.node-copy {
  color: rgba(36, 30, 24, 0.72);
  line-height: 1.45;
}

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

  .framework-arrow {
    transform: rotate(90deg);
    margin: -0.25rem 0;
  }
}
/* --------------------------------
   Fix Scaffold reflection contrast
-------------------------------- */

.reflection-block {
  background: transparent;
  color: #241e18;
  border-left: 4px solid #7b8a72;
  padding-left: 1.5rem;
}

.reflection-block .section-label,
.reflection-block h2,
.reflection-block p {
  color: #241e18;
  opacity: 1;
}

.reflection-block .section-label {
  color: #7b8a72;
}
