:root {
  color: #1f252b;
  background: #f5f3ef;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: #f5f3ef;
}

a {
  color: inherit;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(10, 13, 16, 0.9) 0%, rgba(10, 13, 16, 0.7) 42%, rgba(10, 13, 16, 0.2) 100%),
    url("assets/hero-workspace.png") center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(245, 243, 239, 0), #f5f3ef);
  pointer-events: none;
}

.topNav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 70px;
  margin: 0;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 20, 23, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

.brand,
.navLinks a {
  text-decoration: none;
}

.brand {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 760;
  letter-spacing: 0;
}

.navLinks {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.navLinks a:hover,
.heroActions a:hover,
.projectLink:hover,
.siteFooter a:hover {
  color: #f2c36b;
}

.heroContent {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(760px, calc(100% - 48px));
  min-height: calc(92vh - 92px);
  margin: 0 auto;
  margin-left: max(24px, calc((100% - 1160px) / 2));
  padding: 116px 0 118px;
}

.eyebrow,
.sectionKicker,
.projectType,
.contactLabel {
  margin: 0;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow {
  color: #8dd3c7;
}

.hero h1 {
  max-width: 720px;
  margin: 18px 0 22px;
  color: #ffffff;
  font-size: 4.9rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.heroSummary {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.6;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.heroActions a,
.projectLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 0 18px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 780;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.contactPanel {
  margin-top: 34px;
}

.contactLabel {
  color: #8dd3c7;
  margin-bottom: 12px;
}

.iconAction {
  width: 56px;
  min-height: 52px;
  padding: 0;
}

.iconAction svg,
.iconAction img {
  width: 31px;
  height: 31px;
}

.iconAction img {
  border-radius: 4px;
  object-fit: contain;
}

.iconAction svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iconAction .filledIcon path {
  fill: currentColor;
  stroke: none;
}

.heroActions a:hover,
.projectLink:hover {
  transform: translateY(-1px);
}

.heroActions .primaryAction {
  border-color: #f2c36b;
  background: #f2c36b;
  color: #101417;
}

.heroActions .primaryAction:hover {
  color: #101417;
}

.contactMeta {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.sectionShell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

#contact,
#projects {
  scroll-margin-top: 88px;
}

.sectionKicker,
.projectType {
  color: #2f766e;
}

.sectionIntro h2 {
  margin: 10px 0 0;
  color: #182026;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.projectsSection {
  padding: 82px 0 88px;
  background: #ffffff;
}

.sectionIntro {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.sectionIntro h2 {
  margin: 0;
}

.projectList {
  display: grid;
  gap: 22px;
}

.projectCard {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: stretch;
  border: 1px solid #d9dfdf;
  border-radius: 8px;
  background: #f9faf8;
  overflow: hidden;
}

.projectImageLink {
  min-height: 100%;
  background: #101417;
}

.projectImageLink img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projectBody {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 32px 32px 32px 0;
}

.projectHeader h3 {
  margin: 8px 0 0;
  color: #172026;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.projectBody p {
  margin: 0;
  color: #3e4952;
  line-height: 1.68;
}

.tagList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tagList li {
  border: 1px solid #c8d5d0;
  border-radius: 999px;
  padding: 7px 10px;
  background: #ffffff;
  color: #285a55;
  font-size: 0.82rem;
  font-weight: 760;
}

.projectLink {
  width: fit-content;
  border-color: #1f252b;
  background: #1f252b;
  color: #ffffff;
}

.siteFooter {
  background: #101417;
  color: rgba(255, 255, 255, 0.74);
}

.footerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  font-size: 0.92rem;
}

.footerInner a {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .heroContent {
    width: min(680px, calc(100% - 40px));
    min-height: 780px;
    margin-left: auto;
    padding: 84px 0 128px;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

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

  .projectBody {
    padding: 8px 24px 28px;
  }

  .projectImageLink {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .topNav {
    min-height: 62px;
    padding: 0 16px;
  }

  .navLinks {
    gap: 14px;
    font-size: 0.86rem;
  }

  .heroContent,
  .sectionShell {
    width: calc(100% - 32px);
  }

  .heroContent {
    min-height: 720px;
    padding-top: 98px;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .heroSummary {
    font-size: 1rem;
  }

  .projectLink {
    width: 100%;
  }

  .iconAction {
    width: 54px;
    min-height: 50px;
  }

  .iconAction svg,
  .iconAction img {
    width: 29px;
    height: 29px;
  }

  .projectsSection {
    padding-bottom: 64px;
  }

  .sectionIntro h2 {
    font-size: 1.9rem;
  }

  .projectHeader h3 {
    font-size: 1.65rem;
  }

  .projectImageLink {
    min-height: 220px;
  }

  .footerInner {
    display: grid;
  }
}
