:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #66716e;
  --paper: #f7f3ed;
  --surface: #ffffff;
  --line: #d8d4ca;
  --teal: #1f6f68;
  --coral: #d96b53;
  --gold: #b68636;
  --charcoal: #111817;
  --shadow: 0 20px 60px rgba(22, 29, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: linear-gradient(rgba(17, 24, 23, 0.62), rgba(17, 24, 23, 0));
}

.brand {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.84;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 6vw, 80px) 72px;
  color: #ffffff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 106%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  object-position: 58% 14%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 17, 16, 0.86), rgba(11, 17, 16, 0.38) 48%, rgba(11, 17, 16, 0.1)),
    linear-gradient(0deg, rgba(11, 17, 16, 0.72), rgba(11, 17, 16, 0.06) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding-top: 8vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffd6bf;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--teal);
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-band {
  background: #fffaf2;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro p:last-child {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.project-grid,
.skills-grid,
.process-list {
  display: grid;
  gap: 18px;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.project-card .project-tag {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card a {
  width: fit-content;
  color: var(--coral);
  font-weight: 800;
}

.skills-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skills-grid > div,
.process-list > div {
  border-top: 2px solid var(--gold);
  padding-top: 20px;
}

.skills-grid p,
.process-list p,
.contact p {
  color: var(--muted);
}

.process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-list span {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  font-weight: 800;
}

.contact {
  color: #ffffff;
  background: var(--charcoal);
}

.contact-inner {
  justify-content: space-between;
  gap: 30px;
}

.contact .eyebrow,
.contact p {
  color: #ffd6bf;
}

.contact h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 56px);
  background: #0b1110;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    color: #ffffff;
  }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(11, 17, 16, 0.9), rgba(11, 17, 16, 0.42)),
      linear-gradient(0deg, rgba(11, 17, 16, 0.82), rgba(11, 17, 16, 0.12) 45%);
  }

  .hero-image {
    width: 114%;
    object-position: 58% 18%;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.4rem);
  }

  .intro-grid,
  .project-grid,
  .skills-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .section-inner {
    width: min(100% - 32px, 680px);
    padding: 72px 0;
  }

  .project-card {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: absolute;
    padding: 16px;
  }

  .brand {
    width: 40px;
    height: 40px;
  }

  .nav {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 86vh;
    padding: 108px 16px 48px;
  }

  .button {
    width: 100%;
  }

  .contact-inner {
    align-items: stretch;
  }
}
