/* ==============================
   BASE
================================= */

:root {
  --bg: #111113;
  --bg-soft: #171719;
  --surface: #1c1c1f;

  --text: #f3f0e9;
  --muted: #aaa6a0;

  --accent: #a98cf5;
  --accent-soft: rgba(169, 140, 245, 0.12);

  --border: rgba(255, 255, 255, 0.10);

  --max-width: 1180px;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  background: var(--bg);
  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


img {
  display: block;
  max-width: 100%;
}


a {
  color: inherit;
  text-decoration: none;
}


.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}


/* ==============================
   NAVIGATION
================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(17, 17, 19, 0.88);
  backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--border);
}


.nav-container {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo {
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}


nav {
  display: flex;
  gap: 30px;
}


nav a {
  color: var(--muted);
  font-size: 0.9rem;

  transition:
    color 180ms ease,
    transform 180ms ease;
}


nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}


/* ==============================
   TYPOGRAPHY
================================= */

.eyebrow {
  margin-bottom: 20px;

  color: var(--accent);

  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}


h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}


h1 {
  max-width: 760px;

  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 600;
}


h1 span {
  display: block;
  color: #8e8a84;
}


h2 {
  max-width: 720px;

  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 550;
}


p {
  color: var(--muted);
}


/* ==============================
   HERO
================================= */

.hero {
  padding: 105px 0 125px;
}


.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 80px;

  align-items: center;
}


.hero-description {
  max-width: 620px;

  margin-top: 30px;

  font-size: clamp(1.05rem, 2vw, 1.25rem);
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 38px;
}


.button {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 22px;

  border-radius: 100px;

  font-size: 0.9rem;
  font-weight: 600;

  transition:
    transform 180ms ease,
    background 180ms ease;
}


.button:hover {
  transform: translateY(-2px);
}


.button-primary {
  background: var(--text);
  color: var(--bg);
}


.button-primary:hover {
  background: white;
}


.button-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
}


.button-secondary:hover {
  background: #242427;
}


/* ==============================
   PORTRAIT
================================= */

.portrait-wrapper {
  position: relative;

  max-width: 390px;
  margin-left: auto;
}


.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;

  object-fit: cover;
  object-position: center;

  border-radius: 22px;

  border: 1px solid var(--border);
}


.portrait-label {
  position: absolute;
  left: -28px;
  bottom: 30px;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 11px 15px;

  border: 1px solid var(--border);
  border-radius: 100px;

  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(12px);

  font-size: 0.78rem;
}


.status-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #77d799;
}


/* ==============================
   SECTIONS
================================= */

.section {
  padding: 120px 0;
}


.bordered-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 40px;

  margin-bottom: 55px;
}


.section-number {
  color: #9b978f;
  font-size: 0.8rem;
}


/* ==============================
   PROJECT
================================= */

.project-card {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 26px;

  background: var(--bg-soft);
}


.project-info {
  max-width: 800px;

  padding: 55px;
}


.project-type {
  margin-bottom: 20px;

  color: var(--accent);

  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}


.project-info h3 {
  max-width: 760px;

  margin-bottom: 24px;

  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 550;
}


.project-info > p {
  max-width: 670px;

  font-size: 1.05rem;
}


.tags {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin: 30px 0;
}


.tags span {
  padding: 7px 12px;

  border: 1px solid var(--border);
  border-radius: 100px;

  color: #c6c1ba;

  font-size: 0.75rem;
}


.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding-bottom: 4px;

  border-bottom: 1px solid #9b978f;

  font-size: 0.9rem;
}


.text-link span {
  transition: transform 180ms ease;
}


.text-link:hover span {
  transform: translateX(4px);
}


.project-image {
  display: block;

  padding: 20px;

  background: #e8e8e8;
}


.project-image img {
  width: 100%;

  border-radius: 10px;

  transition: transform 300ms ease;
}


.project-image:hover img {
  transform: scale(1.006);
}


/* ==============================
   SKILLS
================================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  margin-top: 50px;

  border-top: 1px solid var(--border);
}


.skill {
  padding: 40px 35px 40px 0;

  border-bottom: 1px solid var(--border);
}


.skill:nth-child(odd) {
  border-right: 1px solid var(--border);
}


.skill:nth-child(even) {
  padding-left: 35px;
}


.skill span {
  color: #9b978f;
  font-size: 0.72rem;
}


.skill h3 {
  margin: 18px 0 12px;

  font-size: 1.4rem;
  font-weight: 550;
}


.skill p {
  max-width: 440px;
}


/* ==============================
   ABOUT
================================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;

  gap: 100px;
}


.about-copy {
  padding-top: 30px;
}


.about-copy p {
  margin-bottom: 24px;

  font-size: 1.1rem;
}


/* ==============================
   CREDENTIALS
================================= */

.credentials {
  margin-top: 45px;

  border-top: 1px solid var(--border);
}


.credential {
  min-height: 110px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  border-bottom: 1px solid var(--border);
}


.credential h3 {
  margin-bottom: 5px;

  font-size: 1.25rem;
  font-weight: 550;
}


.credential a {
  color: var(--muted);
  font-size: 0.85rem;
}


.credential a:hover {
  color: var(--text);
}


/* ==============================
   CONTACT
================================= */

.contact-section {
  padding: 150px 0;
}


.contact-section h2 {
  max-width: 850px;
}


.contact-section > .container > p:not(.eyebrow) {
  max-width: 600px;

  margin: 30px 0;

  font-size: 1.1rem;
}


/* ==============================
   FOOTER
================================= */

footer {
  padding: 30px 0;

  border-top: 1px solid var(--border);
}


.footer-content {
  display: flex;
  justify-content: space-between;

  gap: 30px;
}


.footer-content p,
.footer-content a {
  color: #9b978f;
  font-size: 0.78rem;
}


/* ==============================
   MOBILE
================================= */

@media (max-width: 850px) {

  nav {
    gap: 18px;
  }


  .hero {
    padding: 75px 0 90px;
  }


  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }


  .portrait-wrapper {
    max-width: 440px;

    margin-left: 0;
  }


  .portrait-label {
    left: 15px;
  }


  .section {
    padding: 90px 0;
  }


  .project-info {
    padding: 35px 25px;
  }


  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

}


@media (max-width: 620px) {

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }


  .nav-container {
    min-height: 65px;
  }


  nav a:nth-child(2),
  nav a:nth-child(3) {
    display: none;
  }


  .hero {
    padding-top: 60px;
  }


  h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }


  .skills-grid {
    grid-template-columns: 1fr;
  }


  .skill,
  .skill:nth-child(even) {
    padding: 30px 0;

    border-right: 0;
  }


  .section-heading {
    display: block;
  }


  .section-number {
    display: none;
  }


  .credential {
    align-items: flex-start;
    flex-direction: column;

    padding: 25px 0;
  }


  .footer-content {
    flex-direction: column;
  }

}

/* =========================
   CONTACT SECTION
========================= */

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
}

.contact-section .section-label {
    color: #a78bfa;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.contact-section h2 {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 500;
    line-height: 1.05;
    margin: 0 0 24px;
}

.contact-section > p:not(.section-label) {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.6;
    color: #aaa7a3;
    margin-bottom: 48px;
}

.contact-email {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.contact-email span {
    color: #9b978f;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.contact-email a {
    color: #f5f3ef;
    font-size: 22px;
    text-decoration: none;
    width: fit-content;
    transition: opacity 0.2s ease;
}

.contact-email a:hover {
    opacity: 0.65;
}

.contact-section .btn-primary {
    display: inline-block;
    padding: 16px 28px;
    background: #f5f3ef;
    color: #111113;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.contact-section .btn-primary:hover {
    transform: translateY(-2px);
}

/* =========================================================
   AI LEAD AUTOMATION — CASE STUDY
========================================================= */


/* ---------- PROJECT NAVIGATION ---------- */

.project-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2a2a2d;
}

.project-header .logo {
    color: #f5f3ef;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.project-header nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.project-header nav a {
    color: #aaa7a3;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.project-header nav a:hover {
    color: #f5f3ef;
}


/* ---------- MAIN CASE STUDY ---------- */

.case-study {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}


/* ---------- SHARED SECTION LABEL ---------- */

.case-study .section-label {
    color: #a78bfa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}


/* =========================================================
   HERO
========================================================= */

.case-hero {
    padding: 120px 0 100px;
    border-bottom: 1px solid #2a2a2d;
}

.case-hero h1 {
    max-width: 1050px;
    margin: 0;
    font-size: clamp(52px, 7vw, 100px);
    line-height: 0.98;
    letter-spacing: -4px;
    font-weight: 500;
    color: #f5f3ef;
}

.case-intro {
    max-width: 780px;
    margin: 42px 0 0;
    color: #aaa7a3;
    font-size: 21px;
    line-height: 1.65;
}


/* ---------- PROJECT META ---------- */

.case-meta {
    margin-top: 72px;
    padding-top: 32px;
    border-top: 1px solid #2a2a2d;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-meta div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.case-meta span {
    color: #9b978f;
    font-size: 12px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.case-meta strong {
    color: #f5f3ef;
    font-size: 16px;
    font-weight: 500;
}


/* =========================================================
   PROJECT OVERVIEW
========================================================= */

.case-overview {
    padding: 110px 0;
    border-bottom: 1px solid #2a2a2d;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
}

.overview-grid h2 {
    color: #f5f3ef;
    font-size: 34px;
    font-weight: 500;
    margin: 0 0 24px;
}

.overview-grid p {
    color: #aaa7a3;
    font-size: 18px;
    line-height: 1.75;
    margin: 0 0 18px;
}


/* =========================================================
   STAGE HEADINGS
========================================================= */

.case-stage {
    padding: 120px 0 20px;
}

.stage-heading {
    max-width: 850px;
    margin-bottom: 80px;
}

.stage-heading h2 {
    color: #f5f3ef;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 500;
    margin: 0 0 28px;
}

.stage-heading > p:not(.section-label) {
    max-width: 700px;
    color: #aaa7a3;
    font-size: 19px;
    line-height: 1.7;
}


/* =========================================================
   INDIVIDUAL WORKFLOW STEPS
========================================================= */

.case-step {
    position: relative;
    padding: 80px 0 110px;
    border-top: 1px solid #2a2a2d;
}

.step-number {
    margin-bottom: 25px;
    color: #a78bfa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* ---------- SCREENSHOTS ---------- */

.case-step img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 780px;
    object-fit: contain;

    background: #18181b;
    border: 1px solid #303034;
    border-radius: 14px;

    padding: 8px;
}


/* ---------- SCREENSHOT EXPLANATION ---------- */

.step-copy {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(400px, 1.2fr);
    column-gap: 100px;
    row-gap: 16px;

    max-width: 1100px;
    margin-top: 42px;
}

.step-copy h3 {
    grid-row: 1 / span 3;

    color: #f5f3ef;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 500;
    margin: 0;
}

.step-copy p {
    color: #aaa7a3;
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
}


/* =========================================================
   BUSINESS IMPACT
========================================================= */

.case-results {
    padding: 120px 0;
    border-top: 1px solid #2a2a2d;
    border-bottom: 1px solid #2a2a2d;
}

.case-results > h2 {
    max-width: 850px;
    color: #f5f3ef;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 500;
    margin: 0 0 70px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;

    background: #2a2a2d;
    border: 1px solid #2a2a2d;
}

.impact-card {
    min-height: 250px;
    padding: 38px;
    background: #111113;
}

.impact-card span {
    color: #a78bfa;
    font-size: 13px;
    font-weight: 700;
}

.impact-card h3 {
    color: #f5f3ef;
    font-size: 24px;
    font-weight: 500;
    margin: 48px 0 16px;
}

.impact-card p {
    max-width: 500px;
    color: #aaa7a3;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}


/* =========================================================
   TECH STACK
========================================================= */

.case-stack {
    padding: 100px 0;
    border-bottom: 1px solid #2a2a2d;
}

.stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stack-list span {
    display: inline-flex;
    align-items: center;

    padding: 12px 20px;

    color: #d8d5d0;
    background: #18181b;
    border: 1px solid #303034;
    border-radius: 999px;

    font-size: 15px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.case-cta {
    padding: 130px 0;
}

.case-cta h2 {
    max-width: 900px;
    color: #f5f3ef;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1;
    letter-spacing: -3px;
    font-weight: 500;
    margin: 0 0 28px;
}

.case-cta > p:not(.section-label):not(.case-email) {
    max-width: 650px;
    color: #aaa7a3;
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 38px;
}

.case-cta .btn-primary {
    display: inline-block;
    padding: 16px 28px;

    background: #f5f3ef;
    color: #111113;

    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.case-cta .btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.case-email {
    margin-top: 26px;
    color: #9b978f;
    font-size: 14px;
}

.case-email strong {
    color: #d8d5d0;
    font-weight: 500;
}


/* =========================================================
   PROJECT FOOTER
========================================================= */

.project-footer {
    max-width: 1400px;
    margin: 0 auto;

    padding: 36px 48px 45px;

    border-top: 1px solid #2a2a2d;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-footer p {
    margin: 0;
    color: #9b978f;
    font-size: 14px;
}

.project-footer div {
    display: flex;
    gap: 30px;
}

.project-footer a {
    color: #aaa7a3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.project-footer a:hover {
    color: #f5f3ef;
}


/* =========================================================
   SMOOTH ANCHOR SCROLLING
========================================================= */

html {
    scroll-behavior: smooth;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .project-header {
        padding: 24px 28px;
    }

    .project-header nav {
        gap: 22px;
    }

    .case-study {
        padding: 0 28px;
    }

    .case-hero {
        padding: 90px 0 80px;
    }

    .case-hero h1 {
        letter-spacing: -2px;
    }

    .case-meta {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 35px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .step-copy {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .step-copy h3 {
        grid-row: auto;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .project-footer {
        padding-left: 28px;
        padding-right: 28px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .project-header {
        padding: 20px;
    }

    .project-header nav a:not(:first-child) {
        display: none;
    }

    .case-study {
        padding: 0 20px;
    }

    .case-hero {
        padding: 70px 0;
    }

    .case-hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .case-intro {
        margin-top: 30px;
        font-size: 18px;
    }

    .case-meta {
        margin-top: 50px;
        grid-template-columns: 1fr;
    }

    .case-overview {
        padding: 80px 0;
    }

    .case-stage {
        padding-top: 90px;
    }

    .stage-heading {
        margin-bottom: 60px;
    }

    .stage-heading h2 {
        font-size: 42px;
    }

    .case-step {
        padding: 55px 0 80px;
    }

    .case-step img {
        border-radius: 9px;
        padding: 4px;
    }

    .step-copy {
        margin-top: 30px;
    }

    .step-copy h3 {
        font-size: 25px;
    }

    .step-copy p {
        font-size: 16px;
    }

    .case-results {
        padding: 90px 0;
    }

    .case-results > h2 {
        font-size: 42px;
        margin-bottom: 50px;
    }

    .impact-card {
        padding: 30px;
    }

    .case-stack {
        padding: 80px 0;
    }

    .case-cta {
        padding: 100px 0;
    }

    .case-cta h2 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .project-footer {
        padding: 30px 20px;

        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .project-footer div {
        flex-direction: column;
        gap: 12px;
    }
}
/* =========================================================
   2026 PORTFOLIO REFRESH — HOMEPAGE
========================================================= */

:root {
    --bg: #0f1012;
    --bg-soft: #15171a;
    --surface: #1b1d21;
    --surface-2: #202329;
    --text: #f4f1ea;
    --muted: #aaa6a0;
    --accent: #b79cff;
    --accent-strong: #9d7df2;
    --accent-soft: rgba(183, 156, 255, 0.11);
    --border: rgba(255, 255, 255, 0.10);
}

body {
    background:
      radial-gradient(circle at 18% 6%, rgba(108, 82, 185, 0.10), transparent 28%),
      var(--bg);
}

.site-header {
    background: rgba(15, 16, 18, 0.88);
}

.hero {
    padding: 118px 0 118px;
}

.hero-content h1 {
    max-width: 820px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 700px;
    margin-top: 58px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.hero-proof > div {
    min-height: 104px;
    padding: 20px 22px;
    background: rgba(21, 23, 26, 0.92);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.hero-proof strong {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero-proof span {
    color: #8f8b84;
    font-size: 0.76rem;
    line-height: 1.35;
}

.work-section {
    border-top: 1px solid var(--border);
}

.compact-heading {
    margin-bottom: 20px;
}

.project-card-featured {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    align-items: stretch;
    overflow: hidden;
    margin-bottom: 34px;
    background: linear-gradient(145deg, #17191c 0%, #141517 100%);
}

.project-card-featured .project-info {
    max-width: none;
    padding: 54px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.project-index {
    width: fit-content;
    margin-bottom: 24px;
    color: #9b978f;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
}

.project-card-featured .project-info h3 {
    font-size: clamp(2rem, 3.2vw, 3.15rem);
}

.project-outcomes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 28px 0 4px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.project-outcomes span {
    position: relative;
    padding-left: 16px;
    color: #c7c2ba;
    font-size: 0.79rem;
}

.project-outcomes span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.project-preview-grid {
    min-width: 0;
    padding: 18px;
    background: #e6e6e6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(300px, 1fr) 150px;
    gap: 10px;
}

.project-preview-grid a {
    min-width: 0;
    overflow: hidden;
    background: #111113;
    border-radius: 11px;
}

.project-preview-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-preview-main {
    grid-column: 1 / -1;
}

.project-preview-main img {
    object-fit: contain;
    background: #111113;
}

.capabilities-grid {
    margin-top: 38px;
}

.contact-section {
    max-width: none;
    margin: 0;
    padding: 130px 0;
    border-top: 1px solid var(--border);
}

.contact-section .container > p:not(.eyebrow) {
    max-width: 650px;
    margin: 30px 0 48px;
    color: #aaa7a3;
    font-size: 20px;
    line-height: 1.6;
}

.contact-section h2 {
    max-width: 900px;
}

/* =========================================================
   STATIC CASE STUDIES — NO ANIMATIONS / MOTION
========================================================= */

html {
    scroll-behavior: auto;
}

.case-study *,
.project-header *,
.project-footer * {
    animation: none !important;
    transition: none !important;
}

.case-study a:hover,
.project-header a:hover,
.project-footer a:hover,
.case-cta .btn-primary:hover {
    transform: none !important;
}

/* Slightly more editorial project presentation, still fully static */
.case-study {
    max-width: 1360px;
}

.case-hero {
    padding-top: 108px;
}

.case-step {
    padding-top: 72px;
}

.case-step img {
    background: #101114;
    border-color: #32353a;
    padding: 10px;
}

.step-copy {
    padding-top: 4px;
}

.impact-card {
    background: #101114;
}

/* =========================================================
   RESPONSIVE REFRESH
========================================================= */

@media (max-width: 1080px) {
    .project-card-featured {
        grid-template-columns: 1fr;
    }

    .project-card-featured .project-info {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .project-preview-grid {
        grid-template-rows: minmax(280px, 1fr) 150px;
    }
}

@media (max-width: 850px) {
    .hero-proof {
        max-width: none;
    }

    .project-card-featured .project-info {
        padding: 38px 28px;
    }

    .project-preview-grid {
        grid-template-rows: minmax(230px, 1fr) 130px;
    }
}

@media (max-width: 620px) {
    .hero-proof {
        grid-template-columns: 1fr;
    }

    .hero-proof > div {
        min-height: 80px;
    }

    .project-outcomes {
        grid-template-columns: 1fr;
    }

    .project-preview-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 10px;
    }

    .project-preview-main,
    .project-preview-small {
        grid-column: auto;
    }

    .project-preview-grid img,
    .project-preview-main img {
        height: auto;
        object-fit: contain;
    }
}

/* =========================================================
   PREMIUM HOMEPAGE MOTION — HOMEPAGE ONLY
   Case-study pages remain fully static by design.
========================================================= */

.home-html {
  scroll-behavior: smooth;
}

.home-page {
  position: relative;
  overflow-x: hidden;
}

.home-page .site-header {
  animation: homeNavDrop 720ms cubic-bezier(.2,.8,.2,1) both;
}

.home-page .nav-container {
  position: relative;
}

.home-page nav a {
  position: relative;
}

.home-page nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 260ms ease;
}

.home-page nav a:hover::after {
  transform: scaleX(1);
}

.home-page .logo {
  position: relative;
}

.home-page .logo::after {
  content: "";
  position: absolute;
  inset: -7px -9px;
  z-index: -1;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(169,140,245,.18), transparent 70%);
  opacity: 0;
  transform: scale(.75);
  transition: opacity 240ms ease, transform 240ms ease;
}

.home-page .logo:hover::after {
  opacity: 1;
  transform: scale(1);
}

.home-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --hero-x: 0;
  --hero-y: 0;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 16% 18%, rgba(169, 140, 245, .10), transparent 34%),
    radial-gradient(circle at 84% 70%, rgba(94, 234, 212, .055), transparent 28%);
  pointer-events: none;
}

.home-page .hero-gridlines {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 88%);
  transform: translate3d(calc(var(--hero-x) * -5px), calc(var(--hero-y) * -5px), 0);
  transition: transform 350ms ease-out;
}

.home-page .hero-aurora {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(18px);
  opacity: .48;
  pointer-events: none;
  will-change: transform;
}

.home-page .hero-aurora-one {
  width: 430px;
  height: 430px;
  right: 4%;
  top: 4%;
  background: radial-gradient(circle at 35% 35%, rgba(169,140,245,.34), rgba(169,140,245,.02) 68%, transparent 72%);
  animation: auroraDriftOne 11s ease-in-out infinite alternate;
}

.home-page .hero-aurora-two {
  width: 330px;
  height: 330px;
  left: 30%;
  bottom: -18%;
  background: radial-gradient(circle at 50% 45%, rgba(96,165,250,.14), rgba(94,234,212,.03) 67%, transparent 73%);
  animation: auroraDriftTwo 13s ease-in-out infinite alternate;
}

.home-page .hero-item,
.home-page .hero-portrait {
  opacity: 0;
  transform: translateY(22px);
  animation: homeHeroRise 850ms cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: var(--delay, 0ms);
}

.home-page .hero-portrait {
  transform: translateY(22px) scale(.975);
  animation-name: homePortraitRise;
}

.home-page h1 span {
  background: linear-gradient(100deg, #8e8a84 10%, #d6cfff 47%, #8e8a84 72%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headlineSheen 8s ease-in-out 1.1s infinite;
}

.home-page .button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-page .button::after {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  width: 42px;
  left: -70px;
  z-index: -1;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
  transition: left 560ms cubic-bezier(.2,.8,.2,1);
}

.home-page .button:hover::after {
  left: calc(100% + 45px);
}

.home-page .button-primary {
  box-shadow: 0 10px 35px rgba(255,255,255,.05);
}

.home-page .button-primary:hover {
  box-shadow: 0 14px 44px rgba(169,140,245,.18);
}

.home-page .portrait-wrapper {
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
  transform: translate3d(calc(var(--hero-x) * 6px), calc(var(--hero-y) * 5px), 0);
}

.home-page .portrait-wrapper::before {
  content: "";
  position: absolute;
  inset: 10% -8% -8% 8%;
  z-index: -1;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 50%, rgba(169,140,245,.19), transparent 68%);
  filter: blur(22px);
  opacity: .72;
  animation: portraitGlow 5.5s ease-in-out infinite alternate;
}

.home-page .portrait {
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), box-shadow 520ms ease;
}

.home-page .portrait-wrapper:hover .portrait {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 34px 100px rgba(0,0,0,.38), 0 0 0 1px rgba(169,140,245,.10);
}

.home-page .portrait-label {
  box-shadow: 0 12px 35px rgba(0,0,0,.28);
  animation: labelFloat 4.8s ease-in-out 1.4s infinite;
}

.home-page .status-dot {
  box-shadow: 0 0 0 0 rgba(119,215,153,.36);
  animation: statusPulse 2.2s ease-out infinite;
}

.home-page .hero-proof > div {
  position: relative;
  overflow: hidden;
  transition: background 260ms ease, transform 260ms ease;
}

.home-page .hero-proof > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(169,140,245,.10), transparent 60%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.home-page .hero-proof > div:hover {
  transform: translateY(-2px);
  background: #1b1d21;
}

.home-page .hero-proof > div:hover::before {
  opacity: 1;
}

.home-page [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 760ms cubic-bezier(.16,1,.3,1),
    transform 760ms cubic-bezier(.16,1,.3,1);
}

.home-page [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-page .project-card-featured {
  position: relative;
  isolation: isolate;
  transition:
    transform 340ms cubic-bezier(.2,.8,.2,1),
    border-color 340ms ease,
    box-shadow 340ms ease;
}

.home-page .project-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(169,140,245,.13), transparent 45%);
  transition: opacity 300ms ease;
}

.home-page .project-card-featured:hover {
  transform: translateY(-7px);
  border-color: rgba(169,140,245,.30);
  box-shadow: 0 28px 85px rgba(0,0,0,.28);
}

.home-page .project-card-featured:hover::before {
  opacity: 1;
}

.home-page .project-preview-grid a {
  position: relative;
}

.home-page .project-preview-grid img {
  transition: transform 700ms cubic-bezier(.2,.8,.2,1), filter 450ms ease;
}

.home-page .project-preview-grid a:hover img {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.02);
}

.home-page .project-preview-grid a::after {
  content: "View case study  ↗";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(17,17,19,.78);
  backdrop-filter: blur(10px);
  color: #f3f0e9;
  font-size: .68rem;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.home-page .project-preview-grid a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.home-page .text-link {
  transition: color 220ms ease, border-color 220ms ease;
}

.home-page .text-link:hover {
  color: #fff;
  border-color: var(--accent);
}

.home-page .skills-grid {
  overflow: hidden;
}

.home-page .skill {
  position: relative;
  transition: background 280ms ease, padding-left 280ms cubic-bezier(.2,.8,.2,1);
}

.home-page .skill::after {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0;
  transform: scaleY(.3);
  transition: opacity 280ms ease, transform 280ms ease;
}

.home-page .skill:hover {
  background: linear-gradient(90deg, rgba(169,140,245,.055), transparent 76%);
  padding-left: 18px;
}

.home-page .skill:nth-child(even):hover {
  padding-left: 53px;
}

.home-page .skill:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

.home-page .credential {
  position: relative;
  overflow: hidden;
  transition: padding 280ms cubic-bezier(.2,.8,.2,1), background 280ms ease;
}

.home-page .credential::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(169,140,245,.07), transparent);
  transition: left 650ms cubic-bezier(.2,.8,.2,1);
}

.home-page .credential:hover {
  padding-inline: 18px;
  background: rgba(255,255,255,.018);
}

.home-page .credential:hover::before {
  left: 100%;
}

.home-page .contact-section {
  position: relative;
  overflow: hidden;
}

.home-page .contact-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169,140,245,.12), transparent 68%);
  pointer-events: none;
  animation: contactGlow 7s ease-in-out infinite alternate;
}

.home-page .contact-section .container {
  position: relative;
  z-index: 1;
}

.home-page .btn-primary {
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.home-page .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(169,140,245,.20);
}

@keyframes homeNavDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes homeHeroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes homePortraitRise {
  from { opacity: 0; transform: translateY(24px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes headlineSheen {
  0%, 58% { background-position: 100% 50%; }
  78%, 100% { background-position: 0% 50%; }
}

@keyframes auroraDriftOne {
  from { transform: translate3d(-8px, -4px, 0) scale(.96); }
  to { transform: translate3d(22px, 18px, 0) scale(1.06); }
}

@keyframes auroraDriftTwo {
  from { transform: translate3d(10px, 10px, 0) scale(1); }
  to { transform: translate3d(-24px, -12px, 0) scale(1.1); }
}

@keyframes portraitGlow {
  from { opacity: .45; transform: scale(.96); }
  to { opacity: .82; transform: scale(1.04); }
}

@keyframes labelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(119,215,153,.38); }
  65%, 100% { box-shadow: 0 0 0 9px rgba(119,215,153,0); }
}

@keyframes contactGlow {
  from { transform: translate3d(0, 0, 0) scale(.95); opacity: .6; }
  to { transform: translate3d(-30px, 18px, 0) scale(1.08); opacity: 1; }
}

@media (max-width: 850px) {
  .home-page .hero-aurora-one { right: -18%; }
  .home-page .project-card-featured:hover { transform: translateY(-3px); }
  .home-page .skill:nth-child(even):hover { padding-left: 35px; }
}

@media (max-width: 620px) {
  .home-page .hero-gridlines { background-size: 42px 42px; }
  .home-page .hero-aurora-one { width: 300px; height: 300px; right: -25%; top: 4%; }
  .home-page .hero-aurora-two { width: 230px; height: 230px; left: 35%; }
  .home-page .project-preview-grid a::after { display: none; }
  .home-page .skill:hover,
  .home-page .skill:nth-child(even):hover { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-html { scroll-behavior: auto; }
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .home-page [data-reveal],
  .home-page .hero-item,
  .home-page .hero-portrait {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   ACCESSIBILITY, 404 PAGE, MOBILE POLISH
========================================================= */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

a.btn-primary,
.button,
.text-link,
nav a,
.project-footer a {
  -webkit-tap-highlight-color: transparent;
}

.not-found .case-intro {
  max-width: 560px;
}

.not-found-actions {
  margin-top: 40px;
}

.not-found .btn-primary {
  display: inline-block;
  padding: 16px 28px;
  background: #f5f3ef;
  color: #111113;
  border-radius: 999px;
  font-weight: 600;
}

.not-found-links {
  max-width: 560px;
  margin-top: 64px;
  list-style: none;
  border-top: 1px solid #2a2a2d;
}

.not-found-links a {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2d;
  color: #d8d5d0;
  font-size: 1rem;
}

.not-found-links a:hover {
  color: #fff;
}

.not-found-links span {
  color: #9b978f;
  font-size: 0.75rem;
}

@media (max-width: 620px) {
  /* comfortable tap targets on touch screens */
  nav a,
  .project-header nav a,
  .project-footer a,
  .credential a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .case-cta .btn-primary,
  .contact-section .btn-primary,
  .not-found .btn-primary {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    align-items: center;
  }

  .not-found-links {
    margin-top: 48px;
  }
}
