:root {
  --bg: #F7F7F5;
  --bg-soft: #F1F2EF;
  --text: #1C1C1C;
  --muted: #6B6B6B;
  --accent: #1F3D2B;              /* forest green */
  --accent-soft: rgba(31, 61, 43, 0.16);
  --lime-glow: rgba(170, 255, 120, 0.35);
}

/* ---------- BASE ---------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
}

/* ---------- HERO ---------- */

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

.hero-content {
  max-width: 760px;
  padding: 0 2rem;
  text-align: left;
  z-index: 2;
}

.hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.3rem, 4.5vw, 3rem);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none; /* important */
}


.role-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2.25rem;
}

.role-org {
  font-weight: 500;
  color: var(--text);
}

.role-link {
  font-weight: 500;
  color: var(--accent);
  position: relative;
}

.role-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  opacity: 0.35;
  transition: opacity 200ms ease;
}

.role-link:hover::after {
  opacity: 0.8;
}


/* ---------- CLARITY PILL ---------- */

.clarity-pill {
  position: relative;
  display: inline-block;
  padding: 0 0.15em;
  color: var(--text);
  background: transparent;
  border-radius: 4px;
  transition: color 220ms ease;
}



/* underline */
.clarity-pill::after {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.05em;
  height: 2px;
  background: rgba(31, 61, 43, 0.25);
  border-radius: 2px;
  z-index: -1;
  transition:
    height 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

/* glow layer */




.clarity-pill:hover::after {
  height: 0.9em;
  background: rgba(255, 220, 120, 0.55);
  box-shadow: 0 6px 18px rgba(255, 220, 120, 0.35);
}

.clarity-pill:hover::before {
  opacity: 1;
}


.clarity-pill:hover {
  color: #2a2a2a;
}

/* ---------- HERO COPY ---------- */

.hero-intro {
  font-size: 1.05rem;
  color: var(--muted);
  font-style: italic;
  opacity: 0.75; /* ← was 0.85 */
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.subhead {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.25rem;
}

/* ---------- CTA ---------- */

.cta-pill {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  background: transparent;
  border: 1px solid var(--accent-soft);
}

.cta-pill:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 14px var(--lime-glow);
}


.inline-accent {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.inline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: rgba(31, 61, 43, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.inline-accent:hover::after {
  transform: scaleX(1);
}

/* ---------- BACKGROUND LINES ---------- */

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      180deg,
      rgba(31, 61, 43, 0.08),
      rgba(31, 61, 43, 0.08) 1px,
      transparent 1px,
      transparent 56px
    );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 18%,
    black 82%,
    transparent 100%
  );
  z-index: 1;
}






/* ======================================================
   STEP 2: SELECTED WORK — STRUCTURE & AFFORDANCE
====================================================== */

.work-section {
  margin-top: 4rem;
}

/* Base work item */
.work-item {
  margin-bottom: 4rem;
  max-width: 680px;
}

/* Grouped org (Boston Scientific) */
.work-group {
  padding-left: 1.25rem;
  border-left: 2px solid rgba(31, 61, 43, 0.18);
}

/* High-level takeaway (quiet but grounding) */
.work-takeaway {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

/* Context line (secondary scan layer) */
.work-context {
  color: #555;
  max-width: 48rem;
  margin-bottom: 2rem;
}

/* Individual project blocks */
.work-project {
  margin-bottom: 2.25rem;
}

/* Project titles = PRIMARY CLICK TARGET */
.work-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.25rem;
  margin: 0.25rem 0 0.25rem;
}

/* Clickable title styling */
.work-title a {
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

/* Underline interaction (subtle, confident) */
.work-title a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(31, 61, 43, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.work-title a:hover::after {
  transform: scaleX(1);
}

/* Project description (supporting, not competing) */
.work-desc {
  font-size: 0.95rem;
  color: #4b5563;
  max-width: 42rem;
  margin-top: 0.35rem;
}

/* Non-grouped items (Insight, B&B) spacing parity */
.work-item:not(.work-group) .work-title {
  margin-top: 0.75rem;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .work-group {
    padding-left: 1rem;
  }

  .work-title {
    font-size: 1.15rem;
  }
}


/* ---------- SWIMLANE LABELS ---------- */

.lane-label {
  position: absolute;
  left: 3rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(34, 94, 60, 0.45);
   opacity: 0.35;
  font-size: 0.7rem;
  transition:
    color 250ms ease,
    text-shadow 250ms ease,
    transform 250ms ease;
}

.lane-1 { top: 24%; }
.lane-2 { top: 38%; }
.lane-3 { top: 52%; }
.lane-4 { top: 66%; }

.lane {
  position: absolute;
  width: 100%;
  height: 25%;
  left: 0;
  background: rgba(34, 94, 60, 0.08); /* forest green 225E3C14 (or 213F00) */
  transition:
    opacity 300ms ease,
    transform 300ms ease,
    filter 300ms ease;
}



/* ---------- MAIN CONTENT ---------- */

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}

.section {
  margin-bottom: 4.5rem;
}

.section h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

/* ---------- WORK SECTION ---------- */

.work-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.work-note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- SELECTED WORK (REFINED) ---------- */

.work-section {
  margin-top: 4rem;
}

.work-item {
  margin-bottom: 3.5rem;
  max-width: 680px;
}


.work-group {
  margin-bottom: 5.5rem;
}

/* Big human takeaway */
.work-takeaway {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
    font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Context / domain */
.work-context {
  color: var(--muted);
  max-width: 48rem;
  margin-bottom: 2rem;
}

.work-context strong {
  font-weight: 600;
  color: #1f2933;
  margin-bottom: 2.5rem;
}


.work-project + .work-project {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 80, 50, 0.12);
}


/* Action pill */
.work-pill {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.work-pill:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 12px var(--lime-glow);
}

/* Individual projects */
.work-project {
  margin-bottom: 2.5rem;
}

/* Project titles = primary affordance */
.work-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.2rem;
  margin: 1.25rem 0 0.25rem;
}

.work-title a {
  color: var(--accent);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  font-weight: 600;
  cursor: pointer;
}

/* Subtle underline interaction */
.work-title a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(80, 120, 90, 0.35);
  transform: scaleX(1);
  transform-origin: left;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.work-title a:hover::after {
  background: var(--accent);
  box-shadow: 0 0 8px var(--lime-glow);
}

.work-desc {
  font-size: 0.95rem;
  color: #4b5563;
  max-width: 42rem;
  margin-bottom: 0.75rem;
}

/* ---------- PRINCIPLES ---------- */

.principles {
  padding-left: 1.25rem;
  margin-top: 1.5rem;
}

.principles li {
  margin-bottom: 0.5rem;
}

/* ---------- ABOUT ---------- */

.section-soft {
  background: var(--bg-soft);
  padding: 3.5rem 2.5rem;
  border-radius: 14px;
}

.about-lead {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.about em {
  font-style: normal;
  color: var(--text);
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(31, 61, 43, 0.12) 60%
  );
}

.section-soft.about {
  padding: 3.5rem 3rem;
}

.section-soft.about p {
  max-width: 42rem;
}

.section-soft.about p + p {
  margin-top: 1.4rem;
}

.section-soft.about {
  background:
    linear-gradient(
      to bottom,
      var(--bg-soft),
      rgba(241, 242, 239, 0.6)
    );
}

/* ---------- LINKS ---------- */

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero a:hover,
.cta-pill:hover,
.work-title a:hover {
  text-shadow: 0 0 6px var(--lime-glow);
}



/* ---------- FOOTER ---------- */
.footer {
  margin: 5rem auto 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.footer-links {
  display: inline-flex;
  gap: 0.75rem;
  margin-left: 0.75rem;
}

/* ---------- ANIMATION ---------- */

.fade-in {
  animation: fadeUp 0.9s ease-out forwards;
  opacity: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none;
    opacity: 1;
  }
}


@media (max-width: 768px) {
  .work-group {
    padding-left: 1rem;
  }

  .work-title {
    font-size: 1.1rem;
  }
}


@media (max-width: 768px) {
  .hero-bg {
    filter: blur(1.5px);
    opacity: 0.55;
  }

  .lane-label {
    opacity: 0.4;
  }
}



:root {
  --idea-yellow: rgba(255, 220, 120, 0.55);
  --idea-yellow-soft: rgba(255, 220, 120, 0.25);
}

