:root {
  --ink: #12211d;
  --paper: #e9e8e0;
  --lime: #c9f03d;
  --green: #053b31;
  --line: rgba(18, 33, 29, 0.18);
  --mono: "IBM Plex Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
.grain {
  position: fixed;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.23'/%3E%3C/svg%3E");
}
.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.nav {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 6;
}
.brand {
  font: 600 25px var(--mono);
  letter-spacing: -2px;
  color: var(--ink);
  text-decoration: none;
}
.brand span {
  color: #5f822d;
}
.nav nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.nav-contact {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.nav-contact span,
.text-link span,
.contact-mail span {
  color: #527316;
  margin-left: 5px;
}
.hero {
  padding: 68px 0 0;
}
.eyebrow,
.section-mark,
.project-type {
  font: 500 11px var(--mono);
  letter-spacing: 0.09em;
}
.eyebrow {
  margin: 0 0 29px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6d9227;
  box-shadow: 0 0 0 4px rgba(109, 146, 39, 0.18);
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 54px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(43px, 6.1vw, 80px);
  line-height: 0.99;
  letter-spacing: -0.07em;
  margin: 0;
  max-width: 800px;
  font-weight: 800;
}
.hero h1 em,
.intro h2 em,
.contact h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.09em;
}
.hero-copy {
  font-size: 17px;
  max-width: 660px;
  margin: 30px 0 27px;
  color: #375149;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  padding: 13px 20px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  background: var(--green);
  color: white;
}
.button.primary span {
  margin-left: 25px;
  color: var(--lime);
  font-size: 17px;
}
.button.secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.terminal-card {
  background: #0d211c;
  color: #e0efd5;
  min-height: 315px;
  box-shadow: 11px 11px 0 #acc431;
  transform: rotate(1.5deg);
  margin-bottom: 8px;
}
.terminal-top {
  height: 42px;
  padding: 14px 13px;
  border-bottom: 1px solid rgba(232, 255, 215, 0.17);
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-top span {
  width: 8px;
  height: 8px;
  background: #e96c57;
  border-radius: 50%;
}
.terminal-top span:nth-child(2) {
  background: #d6c249;
}
.terminal-top span:nth-child(3) {
  background: #8bad54;
}
.terminal-top code {
  font: 10px var(--mono);
  margin-left: 7px;
  color: #a9caa4;
}
.terminal-content {
  padding: 25px 24px;
  font: 12px/1.6 var(--mono);
}
.terminal-content p {
  margin: 0 0 3px;
}
.terminal-content b {
  color: var(--lime);
  font-weight: 500;
}
.terminal-answer {
  color: #94b79a;
  margin: 0 0 14px !important;
}
.cursor {
  display: inline-block;
  width: 7px;
  overflow: hidden;
  color: var(--lime);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.signal-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 64px;
  padding-bottom: 31px;
  color: #58645e;
  font: 10px var(--mono);
  letter-spacing: 0.04em;
}
.signal-line div {
  height: 1px;
  flex: 1;
  background: var(--line);
}
.intro {
  padding: 105px 0 112px;
}
.section-mark {
  margin: 0 0 23px;
  color: #557323;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 110px;
}
.intro h2,
.section-heading h2,
.skills h2,
.learning h2,
.contact h2 {
  font-size: clamp(31px, 4.3vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.055em;
  margin: 0;
}
.intro-grid > div p {
  margin: 0 0 16px;
  color: #3d514a;
}
.projects {
  border-top: 1px solid var(--ink);
  padding: 31px 0 110px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 42px;
}
.section-heading h2 {
  max-width: 650px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.project {
  padding: 31px;
  min-height: 348px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.project.featured {
  grid-row: span 2;
  background: #d6f04b;
  min-height: 710px;
}
.project.dark {
  background: #153b34;
  color: #f5f5ed;
}
.project.green {
  background: #c2cfbd;
}
.project.route {
  background: #e7bf83;
}
.project-number {
  font: 11px var(--mono);
  position: absolute;
  right: 29px;
  top: 28px;
  opacity: 0.7;
}
.project-type {
  margin: 0 0 26px;
  max-width: 80%;
  color: #4a682a;
}
.dark .project-type {
  color: #c7e46e;
}
.project h3 {
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin: 0 0 17px;
}
.project > p:not(.project-type) {
  font-size: 14px;
  line-height: 1.6;
  max-width: 510px;
  margin: 0;
  color: inherit;
  opacity: 0.82;
}
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: auto 0 0;
}
.tags li {
  font: 10px var(--mono);
  border: 1px solid currentColor;
  padding: 5px 7px;
  border-radius: 20px;
}
.project-detail {
  font-size: 12px;
  margin-top: 30px;
  border-top: 1px solid rgba(18, 33, 29, 0.4);
  padding-top: 16px;
  max-width: 400px;
}
.project-detail span {
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -0.06em;
  margin-right: 5px;
}
.text-link {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  width: max-content;
  margin-top: 21px;
  padding-bottom: 2px;
}
.infra-icon {
  position: absolute;
  right: 28px;
  top: 107px;
  width: 150px;
  height: 190px;
  opacity: 0.74;
}
.infra-icon i {
  position: absolute;
  border: 2px solid var(--green);
  width: 68px;
  height: 55px;
  border-radius: 4px;
}
.infra-icon i:nth-child(1) {
  left: 0;
  top: 24px;
}
.infra-icon i:nth-child(2) {
  right: 0;
  top: 0;
}
.infra-icon i:nth-child(3) {
  right: 0;
  top: 82px;
}
.infra-icon i:nth-child(4) {
  left: 15px;
  top: 136px;
}
.route-art {
  position: absolute;
  right: 28px;
  bottom: 25px;
  width: 120px;
  height: 85px;
}
.route-art span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #795832;
}
.route-art span:nth-child(1) {
  top: 0;
  left: 2px;
}
.route-art span:nth-child(2) {
  top: 43px;
  left: 48px;
}
.route-art span:nth-child(3) {
  top: 5px;
  right: 2px;
}
.route-art span:nth-child(4) {
  bottom: 0;
  right: 25px;
}
.route-art:before,
.route-art:after {
  content: "";
  position: absolute;
  height: 1px;
  background: #795832;
  transform-origin: left;
}
.route-art:before {
  width: 65px;
  top: 7px;
  left: 13px;
  transform: rotate(27deg);
}
.route-art:after {
  width: 57px;
  top: 49px;
  left: 59px;
  transform: rotate(-38deg);
}
.case-note {
  border-top: 1px solid var(--ink);
  padding: 31px 0 105px;
}
.case-note-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 105px;
}
.case-note h2 {
  font-size: clamp(35px, 4.6vw, 59px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  margin: 0;
}
.case-note-grid > div {
  max-width: 610px;
}
.case-note-grid p {
  margin: 0 0 17px;
  color: #3d514a;
}
.case-note-result {
  border-left: 3px solid #90a929;
  padding: 10px 0 10px 18px;
  font-weight: 700;
  color: #233b32 !important;
}
.skills {
  padding: 105px 0;
}
.skills-header {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 46px;
}
.skills-header p {
  color: #466057;
  margin: 0;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}
.skills-grid section {
  padding: 24px 20px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 218px;
}
.skill-index {
  font: 12px var(--mono);
  color: #5b7c28;
}
.skills-grid h3 {
  font-size: 20px;
  letter-spacing: -0.04em;
  margin: 47px 0 10px;
}
.skills-grid p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  color: #4d5c56;
}
.directions {
  border-top: 1px solid var(--ink);
  padding: 31px 0 105px;
}
.directions-header {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 43px;
}
.directions h2 {
  font-size: clamp(34px, 4.3vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.055em;
  margin: 0;
}
.directions-header > p {
  margin: 0;
  color: #466057;
}
.directions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}
.directions-grid article {
  min-height: 238px;
  padding: 23px 20px 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.directions-grid span {
  color: #5b7c28;
  font: 12px var(--mono);
}
.directions-grid h3 {
  margin: 44px 0 10px;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.directions-grid p {
  margin: 0;
  color: #4d5c56;
  font-size: 13px;
  line-height: 1.62;
}
.learning {
  background: var(--green);
  color: #eef1df;
  padding: 70px 7.5%;
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 60px;
  align-items: center;
}
.learning .section-mark {
  color: #c4e765;
}
.learning h2 {
  margin-bottom: 19px;
}
.learning-copy > p:last-child {
  max-width: 570px;
  color: #c5d8ce;
}
.learning .certificate-link {
  color: #eef1df;
  border-bottom-color: #c4e765;
}
.learning-project-link {
  font-size: 13px;
  margin-top: 22px !important;
}
.learning-project-link a {
  color: #d6f565;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.learning-stamp {
  justify-self: end;
  display: grid;
  place-content: center;
  width: 220px;
  height: 220px;
  border: 1px solid #c5e55e;
  border-radius: 50%;
  transform: rotate(-12deg);
  text-align: center;
  font: 700 43px/0.8 var(--mono);
  letter-spacing: -0.12em;
  color: #d6f565;
}
.learning-stamp small {
  font: 10px var(--mono);
  letter-spacing: 0;
  margin-top: 18px;
  color: #d3e7cf;
}
.contact {
  padding: 112px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}
.contact h2 {
  font-size: clamp(42px, 5.5vw, 70px);
}
.contact-grid > div > p {
  margin: 0 0 27px;
  font-size: 17px;
  color: #41554d;
}
.contact-mail {
  display: inline-block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 3px;
}
.contact-links {
  display: flex;
  gap: 18px;
  margin-top: 27px;
}
.contact-links a {
  color: #526d2a;
  font: 12px var(--mono);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
footer {
  border-top: 1px solid var(--line);
  padding: 21px 0 29px;
  display: flex;
  justify-content: space-between;
  color: #607069;
  font: 10px var(--mono);
}
@media (max-width: 780px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }
  .nav {
    height: 70px;
  }
  .nav nav {
    display: none;
  }
  .nav-contact {
    font-size: 11px;
  }
  .hero {
    padding-top: 46px;
  }
  .hero-layout,
  .intro-grid,
  .case-note-grid,
  .skills-header,
  .directions-header,
  .learning,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .terminal-card {
    width: min(100% - 10px, 370px);
    justify-self: end;
    margin-top: 20px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project.featured {
    min-height: 540px;
  }
  .project {
    min-height: 330px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    margin-top: 12px;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
  .directions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .skills-grid section {
    min-height: 180px;
  }
  .learning-stamp {
    justify-self: start;
    width: 170px;
    height: 170px;
    font-size: 34px;
  }
  .contact {
    padding: 82px 0;
  }
  .contact-grid {
    gap: 28px;
  }
  .signal-line {
    margin-top: 40px;
    font-size: 8px;
  }
  .hero h1 {
    letter-spacing: -0.075em;
  }
}
@media (max-width: 460px) {
  .hero-copy {
    font-size: 15px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .directions-grid {
    grid-template-columns: 1fr;
  }
  .project {
    padding: 24px;
  }
  .infra-icon {
    transform: scale(0.73);
    transform-origin: top right;
  }
  .learning {
    padding: 54px 24px;
  }
  footer {
    font-size: 8px;
    gap: 14px;
  }
}
