:root {
  color-scheme: dark;
  --ink: #111315;
  --surface: #181b1e;
  --paper: #f3f1ec;
  --muted: #aeb1b3;
  --line: rgba(255, 255, 255, 0.16);
  --coral: #ff6f61;
  --cyan: #5ed8e6;
  font-family: "DM Sans", sans-serif;
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 21, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--coral);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  color: #d6d6d4;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav .nav-contact {
  border-bottom: 1px solid var(--coral);
  color: #fff;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(850px, 92vh);
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(22px, 8vw, 128px) 90px;
  border-bottom: 1px solid var(--line);
}

.hero-background,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(10, 12, 14, 0.98) 0%,
    rgba(10, 12, 14, 0.92) 35%,
    rgba(10, 12, 14, 0.36) 70%,
    rgba(10, 12, 14, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #d5d5d2;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--coral);
}

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

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(58px, 8.4vw, 122px);
  font-weight: 600;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 38px;
  color: #c7c9c9;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.social-link:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
}

.button-primary {
  background: var(--coral);
  color: var(--ink);
}

.button-primary:hover {
  background: #ff867b;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(17, 19, 21, 0.38);
  color: #fff;
}

.button-secondary:hover {
  border-color: #fff;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 4vw, 64px);
  bottom: 30px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.section {
  padding: 110px clamp(22px, 8vw, 128px);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: #777b7e;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-label p {
  margin-bottom: 0;
  color: #aeb1b3;
}

.about {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 3fr);
  gap: 50px;
  background: var(--paper);
  color: var(--ink);
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: clamp(48px, 8vw, 130px);
}

.about h2,
.skills h2 {
  margin-bottom: 0;
  font-size: clamp(35px, 5vw, 68px);
  font-weight: 600;
}

.about-copy {
  align-self: end;
  color: #565a5c;
  font-size: 17px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.skills {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 3fr);
  gap: 50px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.skills-content h2 {
  margin-bottom: 60px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.skill-grid span {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: #d8d8d5;
  font-size: 18px;
}

.skill-grid span:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.skill-grid span:nth-child(even) {
  padding-left: 30px;
}

.contact {
  padding: 115px clamp(22px, 8vw, 128px) 125px;
  background: var(--coral);
  color: var(--ink);
}

.contact .eyebrow {
  color: #3d2b29;
}

.contact .eyebrow span {
  background: var(--ink);
}

.contact h2 {
  margin-bottom: 46px;
  font-size: clamp(48px, 8vw, 105px);
  font-weight: 600;
}

.button-light {
  background: var(--ink);
  color: #fff;
}

.social-link {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(17, 19, 21, 0.4);
  transition: transform 160ms ease;
}

.social-link svg {
  width: 21px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 4vw, 64px);
  color: #85898a;
  font-size: 12px;
}

@media (max-width: 840px) {
  .menu-button {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 18px 22px 24px;
    border-bottom: 1px solid var(--line);
    background: #111315;
    flex-direction: column;
    gap: 4px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
  }

  .hero-background {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(
      0deg,
      rgba(10, 12, 14, 1) 0%,
      rgba(10, 12, 14, 0.93) 45%,
      rgba(10, 12, 14, 0.36) 100%
    );
  }

  .about,
  .skills,
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

@media (max-width: 560px) {
  .brand > span:last-child {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding-bottom: 66px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

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

  .skill-grid span:nth-child(odd) {
    border-right: 0;
  }

  .skill-grid span:nth-child(even) {
    padding-left: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
