:root {
  --bg: #050d12;
  --bg2: #07141a;
  --panel: #081923;
  --panel2: #0b1d27;
  --line: #243744;
  --text: #f5f7f8;
  --muted: #a8b5bd;
  --lime: #b8ff3d;
  --lime2: #9ee82f;
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5
}

body.light {
  --bg: #f4f7f8;
  --bg2: #edf2f4;
  --panel: #fff;
  --panel2: #f4f8fa;
  --line: #d4dfe4;
  --text: #0a171d;
  --muted: #52616a
}

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

.site-shell {
  overflow: hidden;
  background: radial-gradient(circle at 70% 10%, #10232c33, transparent 32%), var(--bg)
}

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

.nav {
  height: 68px;
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 18px;
  position: relative;
  z-index: 20
}

.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px
}

.brand span,
h1 span,
h2 span,
.contact-banner h2 span {
  color: var(--lime)
}

.nav-links {
  display: flex;
  gap: 29px;
  align-items: center;
  font-size: 11px
}

.nav-links a {
  padding: 25px 2px 13px;
  opacity: .85
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--lime);
  border-bottom: 2px solid var(--lime);
  opacity: 1
}

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

.theme-btn {
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer
}

.outline-btn,
.lime-btn {
  height: 34px;
  border-radius: 22px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap
}

.outline-btn {
  border: 1px solid #60717a;
  background: #ffffff;
}

.outline-btn:hover {
  border-color: var(--lime);
  color: var(--lime)
}

.outline-btn.small {
  border-color: #a9df49
}

.lime-btn {
  background: var(--lime);
  color: #09110b;
  border: 1px solid var(--lime)
}

.lime-btn:hover {
  background: var(--lime2);
  transform: translateY(-1px)
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 25px
}

.hero {
  min-height: 460px;
  display: grid;
  grid-template-columns: 49% 51%;
  padding-top: 8px;
  padding-bottom: 0;
  position: relative
}

.hero-copy {
  padding: 52px 0 45px 0;
  z-index: 2
}

.eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #b9d5df;
  margin-bottom: 8px
}

.hero h1 {
  font-size: 47px;
  line-height: .97;
  letter-spacing: -2.1px;
  margin: 0 0 14px;
  font-weight: 800
}

.hero-text {
  max-width: 430px;
  color: #d0d9de;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 25px
}

.hero-visual {
  height: 455px;
  position: relative;
  align-self: end
}

.hero-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 26%), linear-gradient(180deg, transparent 70%, var(--bg) 100%);
  z-index: 2;
  pointer-events: none
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.8);
  display: block
}

.hero-note {
  position: absolute;
  right: 28px;
  top: 95px;
  font-family: cursive;
  font-style: italic;
  font-size: 20px;
  line-height: 1.05;
  transform: rotate(-7deg);
  z-index: 3
}

.hero-note div {
  height: 2px;
  background: var(--lime);
  width: 74px;
  margin: 7px 0 0 8px;
  transform: rotate(-3deg)
}

.hero-stats {
  display: flex;
  gap: 0;
  margin-bottom: 25px
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 19px;
  border-right: 1px solid #3a4b54
}

.mini-stat:first-child {
  padding-left: 0
}

.mini-stat:last-child {
  border: 0
}

.mini-stat>b {
  color: var(--lime);
  font-size: 19px
}

.mini-stat span {
  display: flex;
  flex-direction: column;
  font-size: 9px;
  line-height: 1.15
}

.mini-stat strong {
  font-weight: 500
}

.mini-stat small {
  font-size: 8px;
  color: #b2c0c7;
  margin-top: 3px
}

.hero-buttons {
  display: flex;
  gap: 11px;
  align-items: center
}

.linkedin {
  padding: 0 14px
}

.projects-section {
  border-top: 1px solid #162a34;
  padding-top: 24px
}

.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 12px
}

.section-heading h2,
h2 {
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.7px;
  margin: 0;
  font-weight: 800
}

.text-link {
  font-size: 10px;
  color: var(--lime);
  font-weight: 600
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px
}

.project-card {
  background: linear-gradient(180deg, #0b1c25, #07151c);
  border: 1px solid #28404c;
  border-radius: 6px;
  overflow: hidden;
  min-width: 0
}

.project-card img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  display: block
}

.card-body {
  padding: 11px 13px 12px
}

.card-tag {
  font-size: 7px;
  letter-spacing: 1.1px;
  color: #b8cbd3;
  margin-bottom: 5px
}

.project-card h3 {
  font-size: 12px;
  margin: 0 0 7px
}

.project-card p {
  font-size: 9px;
  color: #aebdc5;
  line-height: 1.45;
  min-height: 39px;
  margin: 0 0 10px
}

.project-card a {
  font-size: 9px;
  color: var(--lime);
  font-weight: 600
}

.about-section {
  display: grid;
  grid-template-columns: 1.25fr .58fr 1.35fr;
  gap: 30px;
  border-top: 1px solid #162a34
}

.about-copy p {
  max-width: 400px;
  font-size: 11px;
  color: #b8c6cc;
  line-height: 1.5;
  margin: 14px 0 17px
}

.about-copy h2 {
  font-size: 22px
}

.numbers {
  border-left: 1px solid #31424a;
  padding-left: 23px;
  display: flex;
  flex-direction: column;
  gap: 15px
}

.numbers strong {
  font-size: 25px;
  line-height: 1
}

.numbers span {
  display: block;
  color: #aab8bf;
  font-size: 9px
}

.skills-panel {
  border-left: 1px solid #31424a;
  padding-left: 25px
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 13px
}

.skills-grid span {
  height: 52px;
  border: 1px solid #233e4b;
  border-radius: 6px;
  background: #071721;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  color: var(--lime);
  font-size: 16px
}

.skills-grid small {
  color: #e5edf0;
  font-size: 8px;
  line-height: 1.15
}

.process-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  border-top: 1px solid #162a34
}

.process-intro p {
  font-size: 10px;
  color: #aebdc5;
  max-width: 280px;
  line-height: 1.45;
  margin: 13px 0 15px
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 1px solid #31424a;
  padding-left: 28px;
  gap: 6px
}

.step {
  text-align: center;
  min-width: 64px
}

.step i {
  width: 44px;
  height: 44px;
  border: 1px solid #46604a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-style: normal;
  font-size: 19px;
  margin: auto auto 7px
}

.step b {
  display: block;
  font-size: 8px
}

.step span {
  font-size: 7px;
  line-height: 1.2;
  color: #a6b6bd;
  display: block;
  margin-top: 3px
}

.process-steps>em {
  color: #718189;
  font-style: normal;
  font-size: 14px
}

.experience-section {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  border-top: 1px solid #162a34
}

.toolkit {
    border-left: none;
    padding-left: 0;
    max-width: 1440px;
    width: 100%;
    display: block;
    margin: 0 auto 5em auto;
}

.timeline {
  margin-top: 14px
}

.timeline-item {
  display: grid;
  grid-template-columns: 13px 155px 115px 1fr;
  gap: 8px;
  position: relative;
  min-height: 62px
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: -4px;
  width: 1px;
  background: #52686f
}

.timeline-item:last-child:before {
  display: none
}

.timeline-item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  display: block;
  z-index: 2;
  margin-top: 5px
}

.role b {
  font-size: 9px;
  display: block
}

.role small,
.date {
  font-size: 8px;
  color: #a5b5bd
}

.timeline-item p {
  font-size: 8px;
  color: #9eafb7;
  line-height: 1.35;
  margin: 0
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 18px;
  margin-top: 18px
}

.tools-grid span {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #cbd5d9
}

.tools-grid b {
  font-size: 13px;
  color: var(--lime)
}

.contact-banner {
  background: linear-gradient(90deg, #071016bb, #071016aa), url('assets/contact-mountains-clean.jpg') center/cover;
  min-height: 108px;
  border-top: 1px solid #2a3b42;
  border-bottom: 1px solid #20323a
}

.contact-inner {
  max-width: 1180px;
  margin: auto;
  min-height: 108px;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 17px 18px
}

.contact-banner h2 {
  font-size: 21px;
  line-height: 1.05;
  margin: 0
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  font-size: 8px;
  color: #c7d2d7
}

.contact-details>div:first-letter {
  color: var(--lime)
}

.contact-details span {
  margin-left: 6px
}

footer {
  max-width: 1180px;
  margin: auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.6fr;
  align-items: center;
  padding: 0 18px;
  gap: 20px
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  align-items: center;
  font-size: 8px;
  color: #899aa3
}

.footer-right a {
  border: 1px solid #3a4a51;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d6e0e4
}

.footer-right a:hover {
  border-color: var(--lime);
  color: var(--lime)
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 8px;
  color: #a7b4bb
}

footer nav a:hover {
  color: var(--lime)
}

@media(max-width:900px) {
  .nav-links {
    display: none
  }

  .nav-actions {
    margin-left: auto
  }

  .menu-btn {
    display: block
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 20px 22px 0
  }

  .hero-copy {
    padding: 35px 0 20px
  }

  .hero-visual {
    height: 410px;
    margin: 0 -22px
  }

  .hero-note {
    right: 35px
  }

  .hero-visual:before {
    background: linear-gradient(180deg, var(--bg) 0%, transparent 17%, transparent 75%, var(--bg) 100%)
  }

  .section {
    padding-left: 22px;
    padding-right: 22px
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .about-section,
  .process-section,
  .experience-section {
    grid-template-columns: 1fr
  }

  .skills-panel,
  .toolkit {
    border-left: 0;
    border-top: 1px solid #31424a;
    padding: 25px 0 0
  }

  .numbers {
    border-left: 0;
    border-top: 1px solid #31424a;
    padding: 20px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr)
  }

  .process-steps {
    border-left: 0;
    border-top: 1px solid #31424a;
    padding: 25px 0 0;
    flex-wrap: wrap
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 22px
  }

  .contact-banner {
    min-height: 0
  }

  .contact-details {
    max-width: 500px
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 25px 22px
  }

  .footer-right {
    justify-content: center;
    flex-wrap: wrap
  }
}

@media(max-width:560px) {
  body {
    font-size: 13px
  }

  .nav {
    height: 60px
  }

  .nav-actions .small {
    display: none
  }

  .hero h1 {
    font-size: 42px
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
  }

  .mini-stat {
    border: 0 !important;
    padding: 0 !important
  }

  .hero-buttons {
    flex-wrap: wrap
  }

  .projects-grid {
    grid-template-columns: 1fr
  }

  .project-card img {
    height: 180px
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .timeline-item {
    grid-template-columns: 13px 1fr;
    gap: 5px
  }

  .timeline-item .date {
    grid-column: 2
  }

  .timeline-item p {
    grid-column: 2;
    margin-bottom: 14px
  }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr)
  }

  .process-steps>em {
    display: none
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-details {
    grid-template-columns: 1fr
  }

  .contact-banner h2 {
    font-size: 19px
  }
}

@media(max-width:900px) {
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 58px;
    left: 14px;
    right: 14px;
    background: #07151c;
    border: 1px solid #29414c;
    border-radius: 8px;
    padding: 10px;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 20px 50px #0008
  }

  .nav-links.mobile-open a {
    padding: 12px 10px;
    border-bottom: 1px solid #1d3039
  }
}


/* Readability pass: approximately +4px across supporting/body copy. */
body {
  font-size: 18px
}

.nav-links {
  font-size: 15px
}

.nav-links a {
  padding-top: 21px
}

.outline-btn,
.lime-btn {
  font-size: 15px
}

.hero h1 {
  font-size: 51px
}

.hero-text {
  font-size: 17px;
  line-height: 1.5
}

.eyebrow {
  font-size: 13px
}

.mini-stat span {
  font-size: 13px
}

.mini-stat small {
  font-size: 12px
}

.section-heading h2,
h2 {
  font-size: 26px
}

.text-link {
  font-size: 14px
}

.project-card h3 {
  font-size: 16px
}

.project-card p {
  font-size: 13px;
  min-height: 58px
}

.card-tag {
  font-size: 11px
}

.project-card a {
  font-size: 13px
}

.about-copy p {
  font-size: 15px
}

.numbers strong {
  font-size: 29px
}

.numbers span {
  font-size: 13px
}

.skills-grid small {
  font-size: 12px
}

.skills-grid span {
  font-size: 19px;
  height: 58px
}

.process-intro p {
  font-size: 14px
}

.step b {
  font-size: 12px
}

.step span {
  font-size: 11px
}

.timeline-item .role b {
  font-size: 13px
}

.role small,
.date {
  font-size: 12px
}

.timeline-item p {
  font-size: 12px
}

.tools-grid span {
  font-size: 13px
}

.tools-grid img {
  width: 25px;
  height: 25px;
  display: block;
  flex: 0 0 25px;
  object-fit: contain
}

.contact-banner h2 {
  font-size: 25px
}

.contact-details {
  font-size: 12px
}

footer nav {
  font-size: 12px
}

.footer-right {
  font-size: 12px
}

/* Keep the contact photograph behind the content instead of baking the content into the image. */
.contact-banner {
  background-image: linear-gradient(90deg, rgba(5, 13, 18, .45), rgba(5, 13, 18, .45)), url('assets/contact-mountains-clean.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden
}

.contact-inner {
  position: relative;
  z-index: 2
}

@media(max-width:900px) {
  .nav-links.mobile-open a {
    padding: 12px 10px
  }
}

@media(max-width:560px) {
  .hero h1 {
    font-size: 46px
  }

  .hero-text {
    font-size: 16px
  }

  .project-card p {
    font-size: 13px
  }

  .section-heading h2,
  h2 {
    font-size: 24px
  }

  .contact-banner h2 {
    font-size: 23px
  }
}

/* Case study experience */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none
}

.case-modal.is-open {
  display: block
}

.case-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(5px)
}

.case-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(760px, 94vw);
  height: 100%;
  background: #061117;
  border-left: 1px solid #29424d;
  box-shadow: -25px 0 80px rgba(0, 0, 0, .45);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s ease
}

.case-modal.is-open .case-panel {
  transform: translateX(0)
}

.case-close {
  position: fixed;
  right: 22px;
  top: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(4, 12, 16, .75);
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  z-index: 4
}

.case-close:hover {
  border-color: var(--lime);
  color: var(--lime)
}

.case-hero {
  height: 290px;
  position: relative;
  overflow: hidden
}

.case-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.case-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 10, 14, .05), rgba(3, 10, 14, .92))
}

.case-hero-copy {
  position: absolute;
  left: 34px;
  right: 80px;
  bottom: 27px
}

.case-kicker {
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--lime);
  font-weight: 700
}

.case-hero-copy h2 {
  font-size: 34px;
  margin: 6px 0 6px;
  letter-spacing: -1px
}

.case-hero-copy p {
  margin: 0;
  color: #c7d3d8;
  font-size: 15px
}

.case-content {
  padding: 28px 34px 45px
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px
}

.case-meta span {
  border: 1px solid #29424d;
  background: #091b23;
  border-radius: 20px;
  padding: 7px 11px;
  font-size: 12px;
  color: #d5e0e4
}

.case-meta span b {
  color: var(--lime);
  font-weight: 600;
  margin-right: 4px
}

.case-content section {
  padding: 22px 0;
  border-top: 1px solid #20343e
}

.case-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 750;
  margin-bottom: 11px
}

.case-section-title span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid #4b684d;
  color: var(--lime);
  font-size: 11px
}

.case-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #b8c6cc;
  margin: 0
}

.case-approach {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px
}

.approach-card {
  padding: 15px;
  border: 1px solid #253f4b;
  border-radius: 8px;
  background: linear-gradient(135deg, #0a1d26, #07151c)
}

.approach-card .approach-icon {
  width: 35px;
  height: 35px;
  border: 1px solid #405c45;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 17px;
  margin-bottom: 10px
}

.approach-card b {
  display: block;
  font-size: 14px;
  margin-bottom: 4px
}

.approach-card small {
  font-size: 12px;
  line-height: 1.5;
  color: #9fb0b8
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px
}

.impact-card {
  padding: 15px;
  border-left: 2px solid var(--lime);
  background: #091a22
}

.impact-card b {
  font-size: 14px;
  display: block;
  margin-bottom: 4px
}

.impact-card span {
  font-size: 12px;
  color: #aabac1;
  line-height: 1.45
}

.lead-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.lead-grid span {
  padding: 9px 12px;
  border: 1px solid #29424d;
  border-radius: 5px;
  background: #081922;
  font-size: 12px;
  color: #d2dde1
}

.case-footer-note {
  margin-top: 25px;
  padding: 16px;
  border: 1px solid #29424d;
  border-radius: 8px;
  color: #9eafb7;
  font-size: 12px;
  line-height: 1.6;
  background: #07151c
}

.case-panel::-webkit-scrollbar {
  width: 8px
}

.case-panel::-webkit-scrollbar-track {
  background: #061117
}

.case-panel::-webkit-scrollbar-thumb {
  background: #29424d;
  border-radius: 8px
}

.project-card a {
  cursor: pointer
}

.project-card a:hover {
  color: #fff
}

@media(max-width:560px) {
  .case-panel {
    width: 100%;
    border-left: 0
  }

  .case-hero {
    height: 255px
  }

  .case-hero-copy {
    left: 20px;
    right: 55px;
    bottom: 20px
  }

  .case-hero-copy h2 {
    font-size: 27px
  }

  .case-hero-copy p {
    font-size: 13px
  }

  .case-content {
    padding: 22px 20px 38px
  }

  .case-content p {
    font-size: 14px
  }

  .case-section-title {
    font-size: 17px
  }

  .case-approach,
  .impact-grid {
    grid-template-columns: 1fr
  }

  .case-close {
    right: 14px;
    top: 12px
  }

  .case-meta span {
    font-size: 11px
  }
}


/* =========================================================
   RESPONSIVE LAYOUT — MAXIMUM CONTENT WIDTH: 1920px
   ========================================================= */
:root {
  --max: 1920px
}

.site-shell {
  width: 100%;
  min-width: 0
}

/* Keep the full website content fluid, but never wider than 1920px. */
.nav,
.section,
.contact-inner,
footer {
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.nav {
  padding-left: clamp(22px, 3vw, 60px);
  padding-right: clamp(22px, 3vw, 60px);
}

.section {
  padding-left: clamp(22px, 3vw, 60px);
  padding-right: clamp(22px, 3vw, 60px);
}

.contact-inner {
  padding-left: clamp(22px, 3vw, 60px);
  padding-right: clamp(22px, 3vw, 60px);
}

footer {
  padding-left: clamp(22px, 3vw, 60px);
  padding-right: clamp(22px, 3vw, 60px);
}

/* Prevent media and grid children from creating horizontal overflow. */
img,
svg,
video,
canvas {
  max-width: 100%
}

.hero>*,
.about-section>*,
.process-section>*,
.experience-section>*,
.projects-grid>*,
.skills-grid>*,
.tools-grid>* {
  min-width: 0
}

/* Large screens: use the available 1920px canvas without stretching text excessively. */
@media(min-width:1400px) {
  .hero-copy {
    padding-top: 72px
  }

  .hero-visual {
    height: 560px
  }

  .hero {
    min-height: 565px
  }

  .projects-grid {
    gap: 18px
  }

  .project-card img {
    height: 145px
  }
}

/* Tablet/mobile remain fluid and retain the existing responsive behavior. */
@media(max-width:900px) {

  .nav,
  .section,
  .contact-inner,
  footer {
    max-width: 100%;
  }

  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .nav {
    padding-left: 22px;
    padding-right: 22px;
  }

  .contact-inner,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media(max-width:560px) {

  .section,
  .nav,
  .contact-inner,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-visual {
    margin-left: -16px;
    margin-right: -16px
  }
}

/* Hiring-focused information drawer */
.info-link {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.skills-more-link {
  margin-top: 14px
}

.toolkit-link {
  display: inline-flex;
  margin: 8px 0 14px
}

.experience-more {
  margin-top: 12px;
  text-align: right;
  max-width: 1440px;
}

.info-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none
}

.info-modal.is-open {
  display: block
}

.info-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(6px)
}

.info-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(820px, 94vw);
  height: 100%;
  background: #061117;
  border-left: 1px solid #29424d;
  box-shadow: -28px 0 90px rgba(0, 0, 0, .5);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s ease
}

.info-modal.is-open .info-panel {
  transform: translateX(0)
}

.info-close {
  position: fixed;
  right: 22px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(4, 12, 16, .78);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 4
}

.info-close:hover {
  border-color: var(--lime);
  color: var(--lime)
}

.info-hero {
  padding: 54px 72px 34px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  background: linear-gradient(135deg, #0b202a, #07151c);
  border-bottom: 1px solid #203943
}

.info-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid #50694d;
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  background: #091a20
}

.info-kicker {
  font-size: 11px;
  letter-spacing: 1.7px;
  color: var(--lime);
  font-weight: 700
}

.info-hero h2 {
  font-size: 36px;
  line-height: 1.05;
  margin: 7px 55px 8px 0
}

.info-hero p {
  font-size: 15px;
  line-height: 1.65;
  color: #b8c7cd;
  margin: 0;
  max-width: 650px
}

.info-content {
  padding: 28px 72px 55px
}

.info-block {
  padding: 22px 0;
  border-top: 1px solid #20343e
}

.info-block:first-child {
  border-top: 0;
  padding-top: 0
}

.info-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 12px
}

.info-block-title i {
  font-style: normal;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #405c45;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px
}

.info-block p {
  font-size: 14px;
  line-height: 1.75;
  color: #b8c6cc;
  margin: 0
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px
}

.info-list-item {
  padding: 14px;
  border: 1px solid #253f4b;
  border-radius: 8px;
  background: #091a22
}

.info-list-item b {
  display: block;
  font-size: 13px;
  margin-bottom: 5px
}

.info-list-item span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #9fb0b8
}

.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.info-pill {
  padding: 8px 11px;
  border: 1px solid #29424d;
  border-radius: 20px;
  background: #081922;
  color: #d5e0e4;
  font-size: 12px
}

.info-highlight {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 2px solid var(--lime);
  background: #091a22;
  color: #cbd8dc;
  font-size: 13px;
  line-height: 1.65
}

.info-panel::-webkit-scrollbar {
  width: 8px
}

.info-panel::-webkit-scrollbar-track {
  background: #061117
}

.info-panel::-webkit-scrollbar-thumb {
  background: #29424d;
  border-radius: 8px
}

@media(max-width:700px) {
  .info-panel {
    width: 100%;
    border-left: 0
  }

  .info-hero {
    padding: 50px 22px 26px;
    grid-template-columns: 48px 1fr;
    gap: 14px
  }

  .info-icon {
    width: 48px;
    height: 48px;
    font-size: 21px
  }

  .info-hero h2 {
    font-size: 28px;
    margin-right: 40px
  }

  .info-hero p {
    font-size: 14px
  }

  .info-content {
    padding: 24px 22px 42px
  }

  .info-list {
    grid-template-columns: 1fr
  }

  .info-close {
    right: 13px;
    top: 12px
  }

  .experience-more {
    text-align: left
  }
}

/* Resume-aligned refinements */
.resume-proof {
  font-size: 9px;
  color: #8fa3ad;
  max-width: 720px;
  margin: 7px 0 0;
  line-height: 1.4
}

.timeline-item {
  min-height: 78px
}

.role small {
  line-height: 1.25
}

.tools-grid img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 20px
}

.tools-grid span {
  font-size: 9px
}

@media(min-width:1500px) {

  .section,
  .nav,
  .contact-inner,
  footer {
    max-width: 1500px
  }

  .hero h1 {
    font-size: 58px
  }

  .hero-text {
    font-size: 15px;
    max-width: 520px
  }

  .eyebrow {
    font-size: 10px
  }

  .section-heading h2,
  h2 {
    font-size: 26px
  }

  .project-card h3 {
    font-size: 14px
  }

  .project-card p {
    font-size: 11px
  }

  .card-tag {
    font-size: 8px
  }

  .about-copy p {
    font-size: 13px
  }

  .numbers strong {
    font-size: 30px
  }

  .numbers span {
    font-size: 10px
  }

  .skills-grid small {
    font-size: 9px
  }

  .process-intro p {
    font-size: 12px
  }

  .step b {
    font-size: 9px
  }

  .step span {
    font-size: 8px
  }

  .role b {
    font-size: 10px
  }

  .role small,
  .date {
    font-size: 9px
  }

  .timeline-item p {
    font-size: 9px
  }

  .contact-banner h2 {
    font-size: 25px
  }
}


/* =========================================================
   READABILITY PASS — Expertise / Process / Experience
   Designed for desktop, tablet and mobile readability.
   ========================================================= */
.skills-grid small {
  font-size: clamp(12px, .72vw, 15px);
  line-height: 1.25;
  font-weight: 600;
}

.skills-grid span {
  min-height: 60px;
  height: auto;
  padding: 10px;
  gap: 9px;
}

.process-intro p {
  font-size: clamp(14px, .82vw, 16px);
  line-height: 1.6;
}

.step b {
  font-size: clamp(12px, .72vw, 15px);
  line-height: 1.25;
}

.step span {
  font-size: clamp(11px, .62vw, 13px);
  line-height: 1.35;
}

.step i {
  width: 48px;
  height: 48px;
  font-size: 20px
}

.timeline-item {
  grid-template-columns: 15px 190px 125px 1fr;
  gap: 10px;
  min-height: 92px;
}

.role b {
  font-size: clamp(13px, .78vw, 16px);
  line-height: 1.3;
}

.role small,
.date {
  font-size: clamp(11px, .65vw, 13px);
  line-height: 1.35;
}

.timeline-item p {
  font-size: clamp(12px, .72vw, 14px);
  line-height: 1.5;
}

.tools-grid span {
  font-size: clamp(12px, .7vw, 14px)
}

.tools-grid img {
  width: 24px;
  height: 24px;
  flex-basis: 24px
}

.resume-proof {
  font-size: clamp(11px, .65vw, 13px)
}

@media(max-width:1100px) {
  .skills-grid small {
    font-size: 13px
  }

  .process-section {
    grid-template-columns: 250px 1fr;
    gap: 20px
  }

  .process-steps {
    padding-left: 20px;
    gap: 8px
  }

  .step {
    min-width: 72px
  }

  .step b {
    font-size: 12px
  }

  .step span {
    font-size: 11px
  }

  .timeline-item {
    grid-template-columns: 15px 165px 105px 1fr
  }

  .role b {
    font-size: 13px
  }

  .role small,
  .date {
    font-size: 11px
  }

  .timeline-item p {
    font-size: 12px
  }
}

@media(max-width:900px) {
  .skills-grid span {
    min-height: 66px
  }

  .skills-grid small {
    font-size: 13px
  }

  .process-intro p {
    font-size: 15px
  }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    padding: 24px 0 0
  }

  .step {
    min-width: 0
  }

  .step b {
    font-size: 13px
  }

  .step span {
    font-size: 12px
  }

  .step i {
    width: 50px;
    height: 50px
  }

  .timeline-item {
    grid-template-columns: 15px 180px 120px 1fr;
    min-height: 100px
  }

  .role b {
    font-size: 14px
  }

  .role small,
  .date {
    font-size: 12px
  }

  .timeline-item p {
    font-size: 13px
  }

  .tools-grid span {
    font-size: 13px
  }

  .tools-grid img {
    width: 25px;
    height: 25px;
    flex-basis: 25px
  }
}

@media(max-width:700px) {
  .skills-grid {
    gap: 10px
  }

  .skills-grid span {
    min-height: 70px;
    padding: 10px;
    font-size: 18px
  }

  .skills-grid small {
    font-size: 13px
  }

  .process-intro p {
    font-size: 15px;
    line-height: 1.6
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px
  }

  .step b {
    font-size: 14px
  }

  .step span {
    font-size: 12px
  }

  .step i {
    width: 52px;
    height: 52px;
    font-size: 20px
  }

  .timeline-item {
    grid-template-columns: 15px 1fr;
    gap: 6px;
    min-height: 0;
    margin-bottom: 18px
  }

  .timeline-item .date {
    grid-column: 2
  }

  .timeline-item p {
    grid-column: 2;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.55
  }

  .role b {
    font-size: 15px
  }

  .role small,
  .date {
    font-size: 12px
  }
}

@media(max-width:560px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px
  }

  .skills-grid span {
    min-height: 72px;
    font-size: 17px
  }

  .skills-grid small {
    font-size: 13px
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .step {
    display: grid;
    grid-template-columns: 52px 1fr;
    text-align: left;
    align-items: center;
    column-gap: 12px
  }

  .step i {
    grid-row: span 2;
    margin: 0
  }

  .step b {
    font-size: 15px
  }

  .step span {
    font-size: 13px;
    margin-top: 2px
  }

  .timeline-item p {
    font-size: 13px
  }

  .role b {
    font-size: 15px
  }

  .role small,
  .date {
    font-size: 12px
  }

  .tools-grid span {
    font-size: 14px
  }
}


/* ============================================================
   HERO BANNER  full-width 1920px-ready visual with editable HTML copy
   ============================================================ */
.hero-banner {
  width: 100%;
  max-width: none;
  min-height: 610px;
  margin: 0;
  padding: 0 max(22px, calc((100vw - 1500px)/2));
  display: flex;
  align-items: stretch;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: url('assets/hero-banner-1920.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 13, 18, .995) 0%, rgba(5, 13, 18, .985) 17%, rgba(5, 13, 18, .92) 2%, rgba(5, 13, 18, .42) 50%, rgba(5, 13, 18, 0) 3%),
    linear-gradient(180deg, rgba(5, 13, 18, .15), rgba(5, 13, 18, .08) 55%, rgba(5, 13, 18, .55));
}

.hero-banner .hero-copy {
  width: min(760px, 58vw);
  padding: 78px 0 64px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
      padding-left: 2em;
}

.hero-banner .hero-visual {
  display: none
}

.hero-banner .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #d3e2e8;
  margin-bottom: 14px
}

.hero-banner h1 {
  font-size: clamp(48px, 4.2vw, 72px);
  line-height: .98;
  letter-spacing: -3px;
  margin: 0 0 22px;
  max-width: 780px
}

.hero-banner h1 span {
  color: var(--lime)
}

.hero-banner .hero-text {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.6;
  color: #d2dde1;
  margin: 0 0 30px
}

.hero-banner .hero-stats {
  margin-bottom: 32px;
  max-width: 720px
}

.hero-banner .mini-stat {
  min-height: 46px;
  padding: 0 22px;
  gap: 10px
}

.hero-banner .mini-stat:first-child {
  padding-left: 0
}

.hero-banner .mini-stat>b {
  font-size: 23px
}

.hero-banner .mini-stat span {
  font-size: 12px;
  line-height: 1.2
}

.hero-banner .mini-stat strong {
  font-size: 13px
}

.hero-banner .mini-stat small {
  font-size: 11px;
  margin-top: 4px;
  color: #aebfc7
}

.hero-banner .hero-buttons {
  gap: 12px
}

.hero-banner .hero-buttons .lime-btn,
.hero-banner .hero-buttons .outline-btn {
  height: 46px;
  padding: 0 22px;
  font-size: 13px
}

.hero-banner .hero-contact-btn {
  font-family: inherit;
  cursor: pointer
}

.hero-banner .hero-contact-btn:hover {
  transform: translateY(-1px)
}

/* Contact form modal */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none
}

.contact-modal.is-open {
  display: block
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(7px)
}

.contact-dialog {
  position: absolute;
  right: 0;
  top: 0;
  width: min(700px, 96vw);
  height: 100%;
  overflow-y: auto;
  background: #061117;
  border-left: 1px solid #29424d;
  box-shadow: -30px 0 100px rgba(0, 0, 0, .55);
  padding: 58px 58px 45px;
  transform: translateX(100%);
  transition: transform .35s ease
}

.contact-modal.is-open .contact-dialog {
  transform: translateX(0)
}

.contact-close {
  position: fixed;
  right: 20px;
  top: 17px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: #081820;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 3
}

.contact-close:hover {
  border-color: var(--lime);
  color: var(--lime)
}

.contact-dialog-head {
  padding: 10px 0 28px;
  border-bottom: 1px solid #203943
}

.contact-dialog-head h2 {
  font-size: 42px;
  line-height: 1;
  margin: 7px 0 12px
}

.contact-dialog-head h2 span {
  color: var(--lime)
}

.contact-dialog-head p {
  font-size: 14px;
  line-height: 1.65;
  color: #aebdc5;
  max-width: 560px;
  margin: 0
}

.contact-form {
  padding-top: 26px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px
}

.form-grid label {
  font-size: 12px;
  font-weight: 650;
  color: #d9e3e7
}

.form-grid label.full {
  grid-column: 1/-1
}

.form-grid input,
.form-grid textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #29424d;
  border-radius: 7px;
  background: #091a22;
  color: #f4f8fa;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s
}

.form-grid input {
  height: 46px
}

.form-grid textarea {
  resize: vertical;
  min-height: 135px;
  line-height: 1.5
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #71838c
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(184, 255, 61, .09)
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px
}

.form-footer .lime-btn {
  height: 46px;
  padding: 0 21px;
  font-family: inherit;
  cursor: pointer;
  font-size: 13px;
  flex: none
}

.form-note {
  font-size: 11px;
  line-height: 1.5;
  color: #8fa2ab
}

.form-note b {
  color: #cbd7dc;
  font-weight: 600
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 7px;
  border: 1px solid #355343;
  background: #0b2119;
  color: #cce8d2;
  font-size: 13px;
  line-height: 1.5
}

.form-status.error {
  display: block;
  border-color: #68413c;
  background: #241311;
  color: #ffd3ce
}

.form-status.success {
  display: block
}

body.contact-open {
  overflow: hidden
}

@media(min-width:1500px) {
  .hero-banner {
    min-height: auto;
  }

  .hero-banner .hero-copy {
    padding-top: 86px;
    padding-bottom: 72px
  }

  .hero-banner .hero-text {
    font-size: 17px
  }
}

@media(max-width:900px) {
  .hero-banner {
    min-height: 620px;
    padding: 0 22px;
    background-position: 58% center
  }

  .hero-banner:before {
    background: linear-gradient(90deg, rgba(5, 13, 18, .995) 0%, rgba(5, 13, 18, .97) 58%, rgba(5, 13, 18, .48) 80%, rgba(5, 13, 18, .12) 100%), linear-gradient(180deg, rgba(5, 13, 18, .25), rgba(5, 13, 18, .45))
  }

  .hero-banner .hero-copy {
    width: min(700px, 100%);
    padding: 72px 0 52px
  }

  .hero-banner h1 {
    font-size: clamp(42px, 7vw, 62px)
  }

  .hero-banner .hero-text {
    font-size: 15px;
    max-width: 610px
  }

  .hero-banner .hero-stats {
    flex-wrap: wrap;
    gap: 16px 0
  }

  .hero-banner .mini-stat {
    width: 50%;
    padding: 0 16px
  }

  .hero-banner .mini-stat:nth-child(odd) {
    padding-left: 0
  }

  .hero-banner .mini-stat:nth-child(even) {
    border-right: 0
  }

  .contact-dialog {
    width: min(650px, 100vw);
    padding: 55px 28px 35px
  }
}

@media(max-width:560px) {
  .hero-banner {
    min-height: 690px;
    padding: 0 20px;
    background-position: 61% center
  }

  .hero-banner:before {
    background: linear-gradient(90deg, rgba(5, 13, 18, .995) 0%, rgba(5, 13, 18, .94) 72%, rgba(5, 13, 18, .65) 100%), linear-gradient(180deg, rgba(5, 13, 18, .2), rgba(5, 13, 18, .7))
  }

  .hero-banner .hero-copy {
    padding: 60px 0 42px
  }

  .hero-banner .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px
  }

  .hero-banner h1 {
    font-size: 42px;
    letter-spacing: -1.8px
  }

  .hero-banner .hero-text {
    font-size: 14px;
    line-height: 1.55
  }

  .hero-banner .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 28px
  }

  .hero-banner .mini-stat {
    width: auto;
    border: 0 !important;
    padding: 0 !important
  }

  .hero-banner .mini-stat span {
    font-size: 11px
  }

  .hero-banner .mini-stat strong {
    font-size: 12px
  }

  .hero-banner .mini-stat small {
    font-size: 10px
  }

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

  .hero-banner .hero-buttons .lime-btn,
  .hero-banner .hero-buttons .outline-btn {
    width: 100%;
    height: 48px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .form-grid label.full {
    grid-column: auto
  }

  .contact-dialog {
    padding: 54px 20px 30px
  }

  .contact-dialog-head h2 {
    font-size: 34px
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column
  }

  .form-footer .lime-btn {
    width: 100%
  }

  .form-note {
    text-align: center
  }
}