* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  background: #f7f7f5;
  font-family: Arial, sans-serif;
}

/* ── Navigation ────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 4%;
  background: rgba(247, 247, 245, 0.85);
  backdrop-filter: blur(8px);
}

nav a {
  color: #061120;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: #0866f9;
}

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 559px;
  overflow: hidden;
  background: #f7f7f5;
}

.hero::before {
  content: "";
  position: absolute;
  top: 62%;
  left: 0;
  right: 0;
  height: 1px;
  background: #d7dadd;
}

.hero .blue-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38.2%;
  width: 30%;
  background: #0866f9;
}

.hero .circle {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 17.2%;
  left: calc(38.2% - 250px);
  border-radius: 50%;
  background: linear-gradient(
    to right,
    #ff9400 0 50%,
    #a94bee 50% 100%
  );
}

.hero .intro {
  position: absolute;
  top: 22px;
  left: 4.1%;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 5;
  color: #071323;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero .intro::before {
  content: "";
  width: 9px;
  height: 9px;
  background: #0866f9;
}

.hero .name {
  position: absolute;
  left: 4%;
  top: 30%;
  width: 850px;
  z-index: 999;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -5px;
  line-height: .84;
  white-space: nowrap;
}

.hero .name span { display: block; }

.hero .name .first {
  font-size: clamp(110px, 16vw, 220px);
}

.hero .name .last {
  margin-left: 55%;
  font-size: clamp(70px, 10vw, 138px);
}

.hero .name-dark {
  color: #061120;
  clip-path: inset(0 45.7% 0 0);
}

.hero .name-light {
  color: #fff;
  clip-path: inset(0 0 0 54.3%);
}

.hero .side-label {
  position: absolute;
  right: 4%;
  top: 31%;
  writing-mode: vertical-rl;
  color: #929ba4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero .quote {
  position: absolute;
  left: 4%;
  bottom: 18px;
  z-index: 5;
  color: #737d87;
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: .7px;
}

.hero .orange-mark {
  position: absolute;
  left: 63%;
  top: 81%;
  width: 23px;
  height: 16px;
  background: #ff9400;
}

/* ── Page Content ──────────────────────────────── */
.page-content {
  padding: 120px 4% 60px;
  min-height: 60vh;
}

.page-content h1 {
  font-size: 48px;
  color: #061120;
  margin: 0 0 12px;
}

.page-content .subtitle {
  color: #737d87;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 48px;
}

.page-content p {
  color: #737d87;
  line-height: 1.7;
  max-width: 600px;
}

/* ── Accent Bar ────────────────────────────────── */
.accent-bar {
  width: 48px;
  height: 4px;
  background: #0866f9;
  margin-bottom: 32px;
}

/* ── About Section ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  margin: 0 0 20px;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #e8e8e6;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: #0866f9;
}

.skills {
  margin-top: 48px;
}

.skills h3 {
  font-size: 11px;
  letter-spacing: 2px;
  color: #929ba4;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #d7dadd;
  font-size: 13px;
  color: #061120;
  font-weight: 600;
}

/* ── Projects Grid ─────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card .thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.project-card:nth-child(odd) .thumb { background: #0866f9; }
.project-card:nth-child(even) .thumb { background: #ff9400; }

.project-card .thumb .mark {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.15);
}

.project-card .info {
  padding: 24px;
}

.project-card .info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #061120;
}

.project-card .info p {
  margin: 0;
  font-size: 13px;
  color: #929ba4;
  line-height: 1.6;
}

/* ── Services List ─────────────────────────────── */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  border-bottom: 1px solid #d7dadd;
  transition: padding-left 0.3s;
}

.service-item:first-child {
  border-top: 1px solid #d7dadd;
}

.service-item:hover {
  padding-left: 12px;
}

.service-item .num {
  font-size: 12px;
  color: #929ba4;
  font-weight: 700;
  letter-spacing: 1px;
  min-width: 40px;
}

.service-item .title {
  flex: 1;
  font-size: 24px;
  font-weight: 700;
  color: #061120;
}

.service-item .desc {
  color: #737d87;
  font-size: 14px;
  max-width: 340px;
  text-align: right;
  line-height: 1.6;
}

/* ── Contact Form ──────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  margin: 0 0 20px;
}

.contact-info .label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #929ba4;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-info .value {
  font-size: 18px;
  color: #061120;
  font-weight: 700;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid #d7dadd;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #061120;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #0866f9;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  align-self: flex-start;
  padding: 14px 40px;
  background: #0866f9;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #0650cc;
}

/* ── Footer ────────────────────────────────────── */
footer {
  padding: 40px 4%;
  border-top: 1px solid #d7dadd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .copy {
  font-size: 12px;
  color: #929ba4;
}

footer .links {
  display: flex;
  gap: 20px;
}

footer .links a {
  font-size: 12px;
  color: #929ba4;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}

footer .links a:hover {
  color: #0866f9;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 700px) {
  .hero { min-height: 620px; }

  .hero .blue-panel {
    left: 50%;
    width: 36%;
  }

  .hero .circle {
    width: 310px;
    height: 310px;
    left: calc(50% - 155px);
    top: 23%;
  }

  .hero .name {
    left: 4%;
    top: 38%;
    width: 96%;
    letter-spacing: -3px;
  }

  .hero .name .first { font-size: 16vw; }
  .hero .name .last {
    margin-left: 45%;
    font-size: 11vw;
  }

  .hero .name-dark { clip-path: inset(0 52% 0 0); }
  .hero .name-light { clip-path: inset(0 0 0 48%); }

  .hero .side-label { right: 3%; }

  nav { gap: 14px; padding: 12px 4%; }
  nav a { font-size: 11px; }

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

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

  .service-item .desc {
    display: none;
  }

  .service-item .title {
    font-size: 18px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
