:root {
  --cream: #f5f1e7;
  --paper: #fbfaf6;
  --ink: #18120d;
  --ink-soft: #2a211a;
  --muted: #786f66;
  --orange: #f5a000;
  --orange-deep: #d98200;
  --line: rgba(24, 18, 13, 0.12);
  --white: #ffffff;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(40, 30, 20, 0.12);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 112px 0;
  scroll-margin-top: 86px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 16px 0;
  transition: 0.25s ease;
}

.site-header.scrolled {
  background: rgba(245, 241, 231, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(24, 18, 13, 0.14);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.9);
  box-shadow: 0 14px 40px rgba(35, 25, 16, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-size: 0.78rem;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 700;
  color: #5f574f;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transition: 0.25s ease;
}

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

.site-nav a:hover::after,
.site-nav a.active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  display: block;
  background: var(--ink);
  margin: 5px;
  transition: 0.25s ease;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-small {
  min-height: 44px;
  padding: 0 20px;
}

.button-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(245, 160, 0, 0.25);
}

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

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

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

.button-outline {
  border-color: rgba(24, 18, 13, 0.28);
  background: transparent;
}

.hero {
  padding-top: 154px;
  padding-bottom: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 8px 0 0 rgba(245, 160, 0, 0.45);
}

.eyebrow-light {
  color: #d9d2ca;
}

.hero h1,
.section-heading h2,
.contact-section h2 {
  margin: 22px 0;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span,
.section-heading h2 span,
.contact-section h2 span {
  color: var(--orange);
}

.hero-summary {
  max-width: 680px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.social-row {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.84rem;
}

.social-row span {
  color: var(--muted);
}

.social-row a {
  font-weight: 800;
  border-bottom: 1px solid rgba(24, 18, 13, 0.35);
}
.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
}

.orange-shape {
  position: absolute;
  bottom: 0;
  width: 78%;
  height: 73%;
  background: var(--orange);
  border-radius: 38% 12% 36% 18%;
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
  z-index: 1;
}

.portrait-card {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  width: 360px;
  max-height: 560px;
  z-index: 3;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.profile-image {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,.65), transparent 24%),
    linear-gradient(160deg, #d4c7b2, #9b8b77);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 28px;
  color: var(--white);
}

.initials {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 800;
  background: rgba(24, 18, 13, 0.68);
  border: 5px solid rgba(255,255,255,.5);
}

.portrait-placeholder p {
  margin: 0;
  font-weight: 800;
}

.portrait-placeholder small {
  opacity: 0.85;
}

.floating-tag {
  position: absolute;
  z-index: 5;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(30, 20, 10, 0.12);
}

.tag-one,
.tag-three {
  background: var(--paper);
}

.tag-two,
.tag-four {
  background: var(--orange);
}

.tag-one { top: 19%; left: 2%; transform: rotate(-7deg); }
.tag-two { top: 29%; right: 0; transform: rotate(5deg); }
.tag-three { bottom: 26%; left: -2%; transform: rotate(4deg); }
.tag-four { bottom: 17%; right: 4%; transform: rotate(-5deg); }

.availability-card {
  position: absolute;
  z-index: 6;
  bottom: 17%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #61d587;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(97, 213, 135, 0.18);
}

.skill-marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-bottom: 3px solid var(--orange);
}

.marquee-track {
  width: max-content;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 30px;
  font-size: 1.08rem;
  font-weight: 800;
  animation: marquee 24s linear infinite;
}

.marquee-track b {
  color: var(--orange);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
}

.section-heading h2 {
  max-width: 900px;
  font-size: clamp(2.5rem, 4.8vw, 5.1rem);
}

.section-heading.light h2 {
  color: var(--white);
}

.about-copy {
  padding-top: 52px;
}

.about-copy p {
  color: #bdb5ad;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--orange);
  font-weight: 800;
}

.stats-grid {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
}

.stats-grid article {
  padding: 38px 28px 0;
  border-right: 1px solid rgba(255,255,255,.12);
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid strong,
.stats-grid span {
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 1;
}

.stats-grid span {
  color: var(--orange);
}

.stats-grid p {
  color: #948b83;
  font-size: 0.82rem;
}

.centered {
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.centered h2 {
  margin-inline: auto;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}

.journey-column {
  background: rgba(255,255,255,.38);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.journey-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.journey-title h3 {
  margin: 0;
  font-size: 1.2rem;
}

.icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.timeline-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-card:last-child {
  border-bottom: 0;
}

.timeline-card h4,
.timeline-card p {
  margin: 0;
}

.timeline-card p {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 5px;
}

.timeline-card time {
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.project-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: #251d17;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 26px;
}

.project-number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--orange);
}

.project-preview {
  min-height: 270px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.preview-dashboard { background: linear-gradient(140deg, #e9e2d2, #f4a000); }
.preview-app { background: linear-gradient(140deg, #f2a000, #2f251d); }
.preview-salesforce { background: linear-gradient(140deg, #e8e1d2, #c8b79c); }

.mock-window {
  width: 82%;
  height: 68%;
  border-radius: 14px;
  background: #f9f9f7;
  box-shadow: 0 20px 45px rgba(0,0,0,.25);
  overflow: hidden;
  transform: rotate(-3deg);
}

.mock-top {
  display: flex;
  gap: 5px;
  padding: 10px;
  background: #231b15;
}

.mock-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.mock-content {
  height: calc(100% - 27px);
  display: grid;
  grid-template-columns: 28% 1fr;
}

.mock-sidebar { background: #e7e2da; }

.mock-main { padding: 16px; }

.mock-heading,
.mock-kpis span,
.mock-chart {
  background: #ded8ce;
  border-radius: 6px;
}

.mock-heading { width: 52%; height: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 15px; }
.mock-kpis span { height: 40px; }
.mock-chart { height: 68px; margin-top: 12px; background: linear-gradient(135deg, #f5a000 45%, #ded8ce 45%); }

.phone-mock {
  width: 132px;
  height: 235px;
  padding: 10px;
  border-radius: 30px;
  background: #17110d;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  transform: rotate(7deg);
}

.phone-screen {
  height: 100%;
  border-radius: 22px;
  background: #f7f2e8;
  padding: 18px 12px;
}

.avatar-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); }
.app-title { width: 72%; height: 10px; background: #1f1711; border-radius: 5px; margin: 16px 0; }
.app-card { height: 44px; background: #ddd4c7; border-radius: 12px; margin: 9px 0; }
.app-card.short { width: 75%; }
.app-button { height: 28px; background: var(--orange); border-radius: 999px; margin-top: 18px; }

.cloud-mark {
  font-size: 5.5rem;
  color: #1682bd;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.18));
}

.node-tree {
  position: absolute;
  margin-top: 122px;
}

.node-tree > span,
.node-tree div span {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--orange);
  margin: 8px;
}

.project-body {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.project-body h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.project-body p {
  margin: 0;
  color: #aaa097;
  font-size: 0.9rem;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.tech-list span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #d8d0c7;
  font-size: 0.68rem;
  font-weight: 700;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.project-links a {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
}

.tools-section {
  background: var(--paper);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.tool-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(35,25,15,.04);
}

.tool-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--orange);
  font-weight: 800;
  font-size: 0.76rem;
}

.tool-card h3 {
  margin: 0;
}

.tool-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 46px;
}

.process-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.35);
}

.process-card span {
  color: var(--orange-deep);
  font-size: 0.74rem;
  font-weight: 800;
}

.process-card h3 {
  margin: 16px 0 8px;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 60px;
}

.contact-section h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  max-width: 820px;
}

.contact-section p {
  max-width: 750px;
  color: #aea59d;
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  background: #100c09;
  color: #918980;
  padding: 24px 0;
  font-size: 0.78rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav.open {
    position: fixed;
    inset: 98px 20px auto 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border-radius: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open a {
    padding: 16px 10px;
    border-bottom: 1px solid var(--line);
  }

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

  .hero-copy {
    padding-top: 30px;
  }

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

  .about-copy {
    padding-top: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid article:nth-child(2) {
    border-right: 0;
  }

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

  .project-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
  }

  .project-preview,
  .project-body {
    min-height: 360px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .section {
    padding: 82px 0;
  }

  .site-header {
    padding: 10px 0;
  }

  .nav-wrap {
    min-height: 58px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-visual {
    min-height: 470px;
  }

  /* .portrait-card {
     position: relative;
    z-index: 2;
    width: min(460px, 78%);
    height: auto;
    overflow: visible;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  } */
    .portrait-card {
    width: 82%;
    bottom: 35%;
  }

  /* .profile-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center bottom;
  } */
    .profile-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .initials {
    width: 110px;
    height: 110px;
    font-size: 2.3rem;
  }

  .floating-tag {
    font-size: 0.66rem;
    padding: 7px 11px;
  }

  .availability-card {
    font-size: 0.66rem;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .stats-grid article {
    padding-inline: 16px;
  }

  .journey-column {
    padding: 20px;
  }

  .timeline-card {
    flex-direction: column;
  }

  .timeline-card time {
    align-self: flex-start;
  }

  .projects-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card {
    display: block;
  }

  .project-preview {
    min-height: 250px;
  }

  .project-body {
    min-height: 0;
  }

  .tools-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .container {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 680px) {
  .hero-visual {
    min-height: 500px;
  }

  .orange-shape {
    width: 88%;
    height: 68%;
  }

  .portrait-card {
    width: 280px;
    max-height: 430px;
    bottom: 19%;
  }

  .profile-image {
    max-height: 430px;
  }

  .availability-card {
    bottom: 16%;
    font-size: 0.64rem;
    padding: 10px 14px;
  }
}