:root {
  --ink: #111;
  --charcoal: #292929;
  --muted: #434956;
  --paper: #fbfbfa;
  --panel: #f1f1f1;
  --orange: #ff8a3d;
  --orange-soft: #ffb66f;
  --blue: #dfe9ff;
  --purple: #4448f4;
  --green: #43d06c;
  --radius: 28px;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 22% 14%, rgba(17, 17, 17, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 50%, rgba(17, 17, 17, 0.04) 0 1px, transparent 1px),
    var(--paper);
  background-size: 9px 9px, 13px 13px, auto;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(251, 251, 250, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.logo {
  font-weight: 900;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  font-size: 0.95rem;
  font-weight: 800;
}

.section-pad {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3.5rem);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(460px, 0.9fr);
  align-items: center;
  gap: clamp(1rem, 2.6vw, 3rem);
  min-height: calc(100vh - 68px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -210px;
  left: -130px;
  width: clamp(280px, 32vw, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.55rem 1.35rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

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

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.6rem, 7.4vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--orange);
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
  line-height: 1.35;
}

.hero-actions,
.contact-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.25rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
}

.btn.primary {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.72);
}

.hero-stage {
  position: relative;
  min-height: clamp(590px, 72vh, 710px);
  align-self: self-start;
}

.portrait-card {
  position: relative;
  height: clamp(590px, 72vh, 710px);
  overflow: hidden;
}

.portrait-card::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(96%, 620px);
  aspect-ratio: 1;
  border-radius: 50% 50% 0 0;
  background: var(--orange-soft);
  transform: translateX(-50%);
}

.portrait {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(88%, 560px);
  height: auto;
  max-height: 690px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 28px rgba(17, 17, 17, 0.22));
}

.floating-pill {
  position: absolute;
  z-index: 4;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: #050505;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.pill-a { top: 130px; left: 2%; }
.pill-b { top: 210px; right: 2%; }
.pill-c { left: 6%; bottom: 230px; }
.pill-d { right: 0; bottom: 125px; }

.experience-badge {
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  max-width: 190px;
  text-align: center;
  transform: translateY(-50%);
}

.experience-badge strong {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
}

.experience-badge span {
  font-weight: 800;
  line-height: 1.05;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  color: #fff;
  background: var(--charcoal);
}

.stat-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.stat-card strong {
  font-size: clamp(3.3rem, 7vw, 6.6rem);
  line-height: 0.9;
}

.stat-card strong:not([data-suffix])::after {
  content: "+";
}

.stat-card span {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 900;
}

.marquee {
  width: 99vw;
  margin: -2rem 0 4rem 50%;
  padding: 0.6rem 0;
  overflow: hidden;
  background: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  white-space: nowrap;
  translate: -50% 0;
  transform: rotate(-2deg);
}

.marquee-track {
  display: flex;
  width: max-content;
  min-width: 200vw;
  gap: 2rem;
}

.marquee-track span {
  display: inline-block;
  min-width: max-content;
}

.about-grid,
.tools-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.about h2,
.center-title,
.panel h3 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 7vw, 6.4rem);
  line-height: 0.9;
}

.about p,
.quote-card p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.38;
}

.quote-card,
.panel,
.project-card,
blockquote,
.contact-card {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.quote-card {
  padding: 2rem;
  align-self: end;
}

.quote-card span {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 0.6;
}

.section-title {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(2.6rem, 5vw, 4rem) clamp(1rem, 7vw, 8rem);
}

.section-title.dark {
  color: #fff;
  background: var(--charcoal);
}

.section-title span {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  font-size: clamp(5rem, 12vw, 10rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.8;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.95;
}

.section-title em {
  font-style: italic;
}

.timeline {
  display: grid;
  gap: 1.2rem;
  max-width: 980px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  color: #fff;
  background: var(--charcoal);
  font-size: 1.7rem;
  font-weight: 900;
}

.timeline-item h3,
.project-card h3 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.meta {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-weight: 800;
}

.center-title {
  text-align: center;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 980px;
  margin: 0 auto 3rem;
}

.skill-cloud span,
.tag-row span {
  padding: 0.45rem 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--panel);
}

.tools-panel {
  grid-column: 1 / -1;
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-list li::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}

.cert-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cert-list li {
  display: grid;
}

.cert-list span {
  color: var(--muted);
}

.projects {
  padding-bottom: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.project-card {
  min-height: 420px;
  padding: clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
}

.project-card.blue {
  background: var(--blue);
}

.project-card.purple {
  color: #fff;
  background: var(--purple);
}

.project-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.project-head span {
  color: rgba(17, 17, 17, 0.52);
  font-size: 2rem;
}

.purple .project-head span {
  color: rgba(255, 255, 255, 0.72);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0;
}

.project-card ul,
.case-study {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-card li,
.case-study > div {
  padding-left: 1.2rem;
  border-left: 3px solid rgba(17, 17, 17, 0.18);
  font-size: 1.08rem;
  line-height: 1.35;
}

.case-study h4 {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study p {
  margin: 0;
}

.purple li,
.purple .case-study > div {
  border-left-color: rgba(255, 255, 255, 0.4);
}

.reels-section {
  padding-top: 0;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: 3rem;
}

.reel-card {
  position: relative;
  display: grid;
  gap: 1rem;
  color: var(--ink);
}

.phone-frame {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  overflow: hidden;
  padding: 0.75rem;
  border: 10px solid #0f1115;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 138, 61, 0.5), rgba(68, 72, 244, 0.42)),
    #16181f;
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.28);
  transform: rotate(-1.5deg);
}

.reel-card:nth-child(2) .phone-frame {
  transform: rotate(1.2deg);
}

.reel-card:nth-child(3) .phone-frame {
  transform: rotate(-0.5deg);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 34%;
  height: 1.25rem;
  border-radius: 0 0 1rem 1rem;
  background: #0f1115;
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 22%, #f0c2a3 0 58px, transparent 59px),
    linear-gradient(145deg, #232323, #737986);
}

.phone-frame.thumbnail-fallback::after {
  content: "Instagram Reel";
  position: absolute;
  inset: 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0.86)),
    radial-gradient(circle at 50% 24%, #f0c2a3 0 58px, transparent 59px),
    linear-gradient(145deg, #232323, #737986);
  font-size: 1.4rem;
  font-weight: 900;
  text-align: center;
}

.phone-status {
  position: absolute;
  inset: 1.1rem 1.2rem auto;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-block: 12px solid transparent;
  border-left: 18px solid var(--ink);
}

.reel-copy {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.1);
}

.reel-copy span {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reel-copy strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.reel-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.35;
}

.reel-metrics {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.65rem;
}

.metric {
  display: grid;
  align-content: center;
  min-height: 88px;
  padding: 0.85rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background: #f5f5f5;
}

.metric.highlight {
  color: #fff;
  background: var(--charcoal);
}

.metric b {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 0.95;
}

.metric small {
  margin-top: 0.25rem;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  opacity: 0.78;
}

blockquote {
  margin: 0;
  padding: 2rem;
}

blockquote p {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.25;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.contact {
  padding-top: 0;
}

.contact-card {
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 182, 111, 0.9), transparent 170px),
    var(--charcoal);
}

.contact-card h2 {
  max-width: 850px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
}

.contact-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  line-height: 1.4;
}

.contact-card .btn.ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.social-links {
  margin-top: 1.4rem;
}

.social-links a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .tools-grid,
  .testimonial-grid,
  .project-grid,
  .reel-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 560px;
    align-self: center;
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .portrait-card {
    height: 560px;
  }

  .portrait-card::before {
    width: min(96%, 560px);
  }

  .portrait {
    width: min(86%, 480px);
    max-height: 540px;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-pad {
    padding-inline: 1rem;
  }

  .hero-stage,
  .portrait-card {
    min-height: 465px;
    height: 465px;
  }

  .portrait {
    width: min(92%, 370px);
    max-height: 455px;
  }

  .experience-badge {
    position: static;
    margin: -2rem auto 0;
    transform: none;
  }

  .proof-strip,
  .tool-list {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .marquee {
    margin-left: 50%;
  }

  .floating-pill {
    font-size: 0.8rem;
  }
}

@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;
  }
}
