:root {
  --bg: #f4f6ef;
  --bg-strong: #e8ede3;
  --surface: #fff;
  --surface-strong: #fff;
  --card: #fff;
  --text: #172720;
  --muted: #58675f;
  --line: rgba(23, 39, 32, 0.13);
  --primary: #1d4939;
  --primary-soft: #e5edd8;
  --accent: #d9ff57;
  --accent-soft: #edf5ce;
  --coral: #e8795c;
  --shadow: 0 18px 48px rgba(23, 39, 32, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(23, 39, 32, 0.12) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  color: var(--text);
}

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

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

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

p,
ul,
h1,
h2,
h3 {
  margin-top: 0;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(244, 246, 239, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
  font-family: "Space Grotesk", sans-serif;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--text);
  font-size: 1.05rem;
  box-shadow: 3px 3px 0 var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  box-shadow: 4px 4px 0 var(--text);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 2px 2px 0 var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--primary-soft);
}

.btn.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 42px;
  background: var(--text);
  color: #f4f6ef;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(244, 246, 239, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 246, 239, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.hero-copy h1 span {
  display: block;
  margin-top: 16px;
  font-size: clamp(1.2rem, 2vw, 2.2rem);
  letter-spacing: 0;
  font-weight: 700;
  color: var(--accent);
}

.hero .eyebrow {
  color: var(--accent);
}

.hero .lead {
  color: rgba(244, 246, 239, 0.78);
}

.hero .btn-primary {
  box-shadow: 4px 4px 0 rgba(244, 246, 239, 0.3);
}

.hero .btn-secondary {
  border-color: rgba(244, 246, 239, 0.42);
  color: #f4f6ef;
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
  background: rgba(244, 246, 239, 0.1);
}

.lead {
  max-width: 640px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mini-list li {
  padding: 10px 14px;
  background: rgba(244, 246, 239, 0.06);
  border: 1px solid rgba(244, 246, 239, 0.2);
  border-radius: 4px;
  font-size: 0.86rem;
  color: rgba(244, 246, 239, 0.82);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.portrait-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 520px);
  padding: 0;
  border-radius: 4px;
  background: transparent;
}

.portrait-card::before {
  position: absolute;
  z-index: -1;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--accent);
  content: "";
  transition: transform 0.35s ease;
}

.portrait-card::after {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: -28px;
  padding: 12px 14px;
  background: var(--accent);
  color: var(--text);
  content: "AI  /  PRODUCT  /  DATA";
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 4px 4px 0 var(--text);
}

.portrait-card:hover::before {
  transform: translate(5px, -5px);
}

.portrait-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  transition: filter 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.glow {
  display: none;
}

.glow-one {
  width: 200px;
  height: 200px;
  background: rgba(244, 159, 133, 0.45);
  left: -30px;
  top: -10px;
}

.glow-two {
  width: 160px;
  height: 160px;
  background: rgba(53, 92, 125, 0.3);
  right: -20px;
  bottom: 20px;
}

.stats-strip {
  padding: 22px 0;
  background: var(--accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.stat-item {
  padding: 12px 18px;
  border-right: 1px solid rgba(23, 39, 32, 0.2);
  text-align: center;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: 0;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 4px;
}

.stat-item span {
  color: rgba(23, 39, 32, 0.75);
  font-size: 0.88rem;
}

.section {
  padding: 96px 0;
}

.muted-section {
  background: var(--bg-strong);
  border-top: 1px solid rgba(23, 39, 32, 0.06);
  border-bottom: 1px solid rgba(23, 39, 32, 0.06);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: 0;
  line-height: 1.08;
  max-width: 580px;
}

.about-content {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill-group span {
  background: var(--primary-soft);
  border: 1px solid rgba(53, 92, 125, 0.12);
  color: var(--primary);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 700;
}

.timeline {
  position: relative;
  margin-top: 38px;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  padding-bottom: 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px var(--bg);
  margin-top: 8px;
  z-index: 1;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: 4px 4px 0 rgba(23, 39, 32, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-content:hover {
  transform: translateX(4px);
  box-shadow: 7px 7px 0 rgba(23, 39, 32, 0.1);
}

.timeline-meta {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: 0;
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.project-grid,
.leadership-grid,
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.project-card,
.leadership-card,
.insight-card,
.award-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 5px 5px 0 rgba(23, 39, 32, 0.08);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-card::before,
.leadership-card::before,
.insight-card::before,
.award-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  content: "";
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.project-card:hover,
.leadership-card:hover,
.insight-card:hover,
.award-item:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 73, 57, 0.28);
  box-shadow: 8px 9px 0 rgba(23, 39, 32, 0.11);
}

.project-card:hover::before,
.leadership-card:hover::before,
.insight-card:hover::before,
.award-item:hover::before {
  transform: scaleX(1);
}

.project-card:nth-child(2)::before,
.award-item:nth-child(3n)::before {
  background: var(--coral);
}

.project-tag,
.insight-label {
  display: inline-block;
  margin-bottom: 16px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3,
.leadership-card h3,
.insight-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: 0;
  margin-bottom: 12px;
}

.project-card p,
.leadership-card p,
.insight-card p,
.award-item p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.project-card ul {
  padding-left: 18px;
  margin: 18px 0 0;
  color: var(--text);
  line-height: 1.9;
}

.role-meta {
  color: var(--primary) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px !important;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.award-item {
  min-height: 180px;
}

.award-year {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.award-item h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.insight-card a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-underline-offset 0.2s ease;
}

.insight-card a:hover,
.insight-card a:focus-visible {
  color: var(--coral);
  text-underline-offset: 7px;
}

.contact-section {
  padding-bottom: 110px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 8px;
  background: var(--text);
  color: #f4f6ef;
  border: 1px solid var(--text);
  box-shadow: 8px 8px 0 var(--accent);
}

.contact-panel h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 0;
  max-width: 640px;
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  padding: 26px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy h1,
.hero-copy .lead,
.hero-copy .cta-row,
.hero-copy .mini-list,
.hero-visual {
  animation: rise-in 0.75s both;
}

.hero-copy h1 {
  animation-delay: 0.08s;
}

.hero-copy .lead {
  animation-delay: 0.16s;
}

.hero-copy .cta-row {
  animation-delay: 0.24s;
}

.hero-copy .mini-list {
  animation-delay: 0.32s;
}

.hero-visual {
  animation-delay: 0.16s;
}

.stats-grid .reveal:nth-child(2),
.project-grid .reveal:nth-child(2),
.leadership-grid .reveal:nth-child(2),
.insights-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.stats-grid .reveal:nth-child(3),
.project-grid .reveal:nth-child(3),
.leadership-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.stats-grid .reveal:nth-child(4),
.project-grid .reveal:nth-child(4) {
  transition-delay: 0.3s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .project-grid,
  .leadership-grid,
  .insights-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 480px);
  }

  .hero {
    padding: 38px 0 28px;
  }

  .nav-wrap {
    min-height: 0;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 0 0;
  }

  .brand {
    gap: 8px;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .main-nav {
    order: 3;
    display: flex;
    flex: 0 0 100%;
    gap: 22px;
    overflow-x: auto;
    margin: 0;
    padding: 2px 0 12px;
    font-size: 0.82rem;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 6px 0;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-actions .btn.small {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.76rem;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    line-height: 1.6;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 11vw, 3.5rem);
    line-height: 1;
  }

  .hero-copy h1 span {
    margin-top: 12px;
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    line-height: 1.25;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .cta-row .btn {
    width: 100%;
  }

  .mini-list {
    gap: 8px;
    margin-top: 18px;
  }

  .mini-list li {
    padding: 8px 10px;
    font-size: 0.76rem;
  }

  .hero-visual {
    width: min(100%, 380px);
    margin: 0 auto;
  }

  .portrait-card {
    padding: 10px;
    border-radius: 24px;
  }

  .portrait-card::before {
    inset: 10px 8px -8px 8px;
  }

  .portrait-card::after {
    bottom: 14px;
    left: 8px;
    padding: 9px 10px;
    font-size: 0.58rem;
  }

  .portrait-card img {
    border-radius: 17px;
  }

  .glow-one {
    width: 120px;
    height: 120px;
    left: -12px;
  }

  .glow-two {
    width: 100px;
    height: 100px;
    right: -10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat-item {
    padding: 16px 10px;
    border-radius: 16px;
  }

  .stat-item strong {
    font-size: 1.25rem;
  }

  .stat-item span {
    font-size: 0.76rem;
  }

  .section {
    padding: 60px 0;
    scroll-margin-top: 120px;
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
    line-height: 1.12;
  }

  .split-layout {
    gap: 16px;
  }

  .about-content {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .pill-group {
    gap: 8px;
    margin-top: 18px;
  }

  .pill-group span {
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .timeline {
    margin-top: 24px;
    padding-left: 8px;
  }

  .timeline::before {
    left: 7px;
  }

  .timeline-item {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 18px;
  }

  .timeline-dot {
    width: 14px;
    height: 14px;
  }

  .timeline-content {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .timeline-meta {
    font-size: 0.65rem;
    letter-spacing: 0.09em;
    line-height: 1.5;
  }

  .timeline-content h3 {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .timeline-content p,
  .project-card p,
  .leadership-card p,
  .insight-card p,
  .award-item p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .project-grid,
  .leadership-grid,
  .insights-grid {
    gap: 14px;
    margin-top: 22px;
  }

  .project-card,
  .leadership-card,
  .insight-card,
  .award-item {
    padding: 21px 18px;
    border-radius: 20px;
  }

  .project-card h3,
  .leadership-card h3,
  .insight-card h3 {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .award-item {
    min-height: 0;
    padding: 16px 13px;
  }

  .award-year {
    margin-bottom: 10px;
    font-size: 0.65rem;
  }

  .award-item h3 {
    font-size: 1rem;
    line-height: 1.25;
  }

  .insight-card a {
    min-height: 44px;
    align-items: center;
  }

  .contact-section {
    padding-bottom: 72px;
  }

  .contact-panel {
    gap: 20px;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .site-footer {
    padding: 22px 0 32px;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }

  .nav-actions .btn.small {
    padding: 0 8px;
    font-size: 0.7rem;
  }

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