:root {
  --ink: #18181b;
  --paper: #f7f5ef;
  --white: #fff;
  --coral: #ef735f;
  --blue: #a9c0dc;
  --line: #dcd9d1;
  --muted: #77746d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #dedbd3;
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-shell {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
}

.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 35px 0;
  color: var(--muted);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--coral);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: 0.2s;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 52% 48%;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 7vw 72px clamp(24px, 6vw, 88px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #68665f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.hero h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(72px, 8vw, 116px);
  line-height: 0.83;
  letter-spacing: -7px;
}

.role {
  margin: 30px 0 12px;
  color: var(--coral);
  font-family: "Manrope", sans-serif;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 800;
}

.intro {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 36px;
}

.button {
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

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

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  background: #e7e1d5;
  border-left: 1px solid var(--line);
}

.portrait-card {
  position: relative;
  width: min(330px, 65%);
  aspect-ratio: 0.74;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.65);
  border-radius: 165px 165px 28px 28px;
  background: linear-gradient(145deg, #d5b6a4 0%, #edc0a7 55%, #c8a28f 100%);
  box-shadow: 0 30px 70px rgba(77, 60, 49, 0.16);
}

.portrait-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 28px 28px;
}

.avatar {
  position: absolute;
  right: 50%;
  bottom: -35px;
  width: 230px;
  height: 330px;
  transform: translateX(50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 115px 115px 30px 30px;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(160deg, #30343b, #17181b);
  font-family: "Manrope", sans-serif;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  top: 11%;
  right: 9%;
  width: 78px;
  height: 78px;
  background: #ef8b76;
  opacity: 0.8;
}

.orb-two {
  bottom: 16%;
  left: 8%;
  width: 44px;
  height: 44px;
  background: #779ec5;
  opacity: 0.75;
}

.availability {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(24, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(24, 24, 27, 0.07);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69a77a;
  box-shadow: 0 0 0 4px rgba(105, 167, 122, 0.12);
}

.section {
  padding: 88px clamp(24px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 52px;
}

.section-number {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 32px;
  letter-spacing: -1.5px;
}

.about-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 70px;
}

.about-lead {
  max-width: 700px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: -3px;
}

.about-lead em,
.contact h2 em {
  color: var(--coral);
  font-family: Georgia, serif;
  font-weight: 400;
}

.about-detail {
  max-width: 430px;
  padding-top: 8px;
}

.about-detail > p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.8;
}

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

.skills span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.work {
  background: #efede6;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-card {
  min-width: 0;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(24, 24, 27, 0.04);
}

.project-preview {
  height: 330px;
  display: grid;
  place-items: center;
  padding: 42px;
  background: #e8a99a;
}

.project-blue .project-preview {
  background: #abc0d5;
}

.browser-bar {
  width: 78%;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 auto;
  padding-left: 8px;
  background: #f7f5ef;
  border-radius: 6px 6px 0 0;
}

.browser-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bcb8af;
}

.preview-layout {
  width: 78%;
  height: 210px;
  display: grid;
  grid-template-columns: 24% 76%;
  background: #fbfaf7;
}

.preview-sidebar {
  border-right: 1px solid #e4e1da;
  background: #33363b;
}

.preview-content {
  display: grid;
  align-content: start;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 24px;
}

.preview-content span {
  height: 58px;
  background: #e9e6df;
  border-radius: 4px;
}

.preview-content span:first-child {
  grid-column: 1 / -1;
  height: 75px;
  background: #dec8bb;
}

.phone {
  width: 178px;
  height: 270px;
  position: relative;
  overflow: hidden;
  padding: 42px 20px 20px;
  border: 7px solid #34383e;
  border-radius: 28px;
  background: #f9f8f3;
  box-shadow: 0 18px 35px rgba(50, 68, 85, 0.2);
  transform: rotate(-4deg);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 46px;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #34383e;
}

.phone-line {
  width: 65%;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #34383e;
}

.phone-line.short {
  width: 45%;
  margin-top: 18px;
  background: #c2bdaf;
}

.phone-chart {
  height: 120px;
  border-radius: 8px;
  background:
    linear-gradient(155deg, transparent 48%, #ef735f 49%, #ef735f 52%, transparent 53%),
    #e6e1d6;
}

.project-info {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
}

.project-info p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
}

.project-info h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
}

.project-info a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  transition: 0.2s;
}

.project-info a:hover {
  color: var(--white);
  background: var(--ink);
  transform: rotate(45deg);
}

.contact {
  text-align: center;
  background: var(--coral);
}

.contact .eyebrow {
  justify-content: center;
  color: rgba(24, 24, 27, 0.68);
}

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

.contact h2 {
  margin: 18px 0 34px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -5px;
}

.contact h2 em {
  color: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

footer {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 88px);
  color: var(--muted);
  font-size: 12px;
}

footer div {
  display: flex;
  gap: 24px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav {
    height: 76px;
  }

  .nav-links {
    position: absolute;
    z-index: 20;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links a {
    padding: 14px 0;
  }

  .nav-links a.active::after {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .menu-button.open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button.open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

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

  .hero-copy {
    min-height: 560px;
  }

  .hero-art {
    min-height: 520px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

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

  .hero-copy {
    min-height: 520px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: 66px;
    letter-spacing: -5px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-art {
    min-height: 440px;
  }

  .portrait-card {
    width: 260px;
  }

  .availability {
    right: 12px;
    bottom: 12px;
  }

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

  .section-heading {
    margin-bottom: 38px;
  }

  .about-lead {
    font-size: 38px;
  }

  .project-preview {
    height: 280px;
    padding: 24px;
  }

  .browser-bar,
  .preview-layout {
    width: 92%;
  }

  .contact h2 {
    letter-spacing: -3px;
  }

  footer {
    height: 90px;
  }
}
