:root {
    --bg: #192c89;
    --panel: #11131d;
    --panel2: #171a27;
    --text: #fff7ea;
    --muted: #b6aa98;
    --gold: #d7b46a;
    --gold2: #8b692e;
    --line: rgba(215, 180, 106, .22);
    --blue: #7dd3fc;
    --pink: #f0abfc;
    --green: #86efac
}

* {
    box-sizing: border-box
}

html, body {
    overflow-x: hidden !important;
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 12% 8%, rgba(215, 180, 106, .18), transparent 28%), radial-gradient(circle at 86% 28%, rgba(125, 211, 252, .10), transparent 28%), var(--bg)
}

.page-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, .045), transparent 42%, rgba(215, 180, 106, .05));
    z-index: -1
}

.nav {
    width: min(1220px, 92%);
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    font-weight: 900
}

.brand b {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), #fff1b8);
    color: #16110a
}

.brand span {
    letter-spacing: .03em
}

.nav nav {
    display: flex;
    gap: 24px
}

.nav nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 800;
    font-size: .9rem
}

.nav nav a:hover {
    color: var(--gold)
}

main {
    width: min(1220px, 92%);
    margin: 0 auto
}

.hero {
    min-height: 84vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
    padding: 45px 0 90px
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .76rem;
    font-weight: 900
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    margin: 0
}

h1 {
    font-size: clamp(3.2rem, 7vw, 7rem);
    line-height: .9;
    letter-spacing: -.05em
}

h2 {
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
    line-height: 1
}

h3 {
    font-size: 1.65rem;
    line-height: 1.05
}

.intro,
.section-heading p,
.case-content p,
.journal-hero p,
.blog-grid p,
.skill-grid p,
.timeline p {
    color: var(--muted);
    line-height: 1.75
}

.intro {
    font-size: 1.08rem;
    max-width: 760px
}

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

.btn {
    display: inline-flex;
    padding: 15px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    border: 1px solid var(--line)
}

.btn.primary {
    background: linear-gradient(135deg, var(--gold), #fce7a3);
    color: #110d07
}

.btn.ghost {
    background: rgba(255, 255, 255, .04);
    color: var(--text)
}

.portrait-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 36px;
    padding: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    box-shadow: 0 28px 90px rgba(0, 0, 0, .48)
}

.portrait-card img {
    display: block;
    width: 100%;
    height: min(720px, 75vh);
    object-fit: cover;
    object-position: center top;
    border-radius: 27px
}

.portrait-badge {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7, 8, 13, .78);
    backdrop-filter: blur(14px)
}

.portrait-badge strong {
    display: block
}

.portrait-badge span {
    color: var(--muted);
    font-size: .9rem
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 110px
}

.stats div,
.skill-grid div,
.timeline article,
.contact-section {
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
    padding: 28px
}

.stats strong {
    display: block;
    color: var(--gold);
    font-size: 2.2rem
}

.stats span {
    color: var(--muted)
}

.section-heading {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 36px;
    align-items: end;
    margin-bottom: 34px
}

.section-heading.centered {
    display: block;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 42px
}

.showcase {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px
}

.case-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
    box-shadow: 0 20px 70px rgba(0, 0, 0, .22)
}

.case-card img {
    width: 100%;
    display: block;
    object-fit: cover
}

.case-large {
    grid-row: span 2
}

.case-large img {
    height: 390px
}

.vertical img {
    height: 250px
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch
}

.split img {
    height: 100%
}

.case-content {
    padding: 28px
}

.case-content span,
.blog-grid span {
    color: var(--gold);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 900
}

.case-content p {
    margin-bottom: 22px
}

.case-content a {
    color: var(--text);
    font-weight: 900;
    text-decoration: none
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px
}

.tags b {
    font-size: .76rem;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #f8edd8
}

.collivery {
    background: linear-gradient(150deg, rgba(14, 165, 233, .16), rgba(255, 255, 255, .03))
}

.ite {
    background: linear-gradient(150deg, rgba(168, 85, 247, .18), rgba(255, 255, 255, .03))
}

.rws {
    background: linear-gradient(150deg, rgba(34, 197, 94, .16), rgba(255, 255, 255, .03))
}

.logistical {
    background: linear-gradient(150deg, rgba(245, 158, 11, .16), rgba(255, 255, 255, .03))
}

.journal-section,
.skills-section,
.experience-section {
    margin-top: 120px
}

.journal-hero {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 26px;
    align-items: center;
    margin-bottom: 26px;
    padding: 34px;
    border-radius: 36px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(236, 72, 153, .16), rgba(215, 180, 106, .08), rgba(255, 255, 255, .02))
}

.journal-hero img {
    border-radius: 26px
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.blog-grid article {
    padding: 26px;
    border-radius: 28px;
    min-height: 260px;
    background: #f6efe3;
    color: #15120d;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16)
}

.blog-grid article:nth-child(2) {
    background: #e9f7ff
}

.blog-grid article:nth-child(3) {
    background: #f0e7ff
}

.blog-grid article:nth-child(4) {
    background: #f3ffe7
}

.blog-grid article:nth-child(5) {
    background: #fff1e7
}

.blog-grid article:nth-child(6) {
    background: #ffe8f3
}

.blog-grid h3 {
    font-family: Inter, sans-serif;
    font-weight: 900;
    letter-spacing: -.04em;
    margin: 16px 0
}

.blog-grid p {
    color: #4b4037
}

.blog-grid small {
    font-weight: 900;
    color: #6b5638
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.skill-grid h3 {
    margin-bottom: 12px
}

.timeline {
    display: grid;
    gap: 16px
}

.timeline article {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 20px
}

.timeline span {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem
}

.timeline p {
    margin: 10px 0 0
}

.contact-section {
    text-align: center;
    margin: 120px 0 70px;
    padding: 70px 34px
}

.contact-section h2 {
    max-width: 900px;
    margin: 0 auto
}

@media(max-width:980px) {

    .hero,
    .section-heading,
    .showcase,
    .journal-hero,
    .split {
        grid-template-columns: 1fr
    }

    .stats,
    .blog-grid,
    .skill-grid {
        grid-template-columns: 1fr 1fr
    }

    .case-large {
        grid-row: auto
    }

    .split img {
        height: auto
    }

    .timeline article {
        grid-template-columns: 1fr
    }

    .portrait-card img {
        height: auto
    }
}

@media(max-width:620px) {
    .nav nav {
        display: none
    }

    .hero {
        padding-top: 20px
    }

    .stats,
    .blog-grid,
    .skill-grid {
        grid-template-columns: 1fr
    }

    h1 {
        font-size: 3.2rem
    }

    .case-large img,
    .vertical img {
        height: auto
    }

    .journal-hero {
        padding: 22px
    }
}
/* Premium Obsidian + Gold + Purple magic polish */
:root {
  --bg: #050505;
  --panel: rgba(255,255,255,.065);
  --panel2: rgba(255,255,255,.105);
  --text: #fffaf0;
  --muted: #d5cbb9;
  --gold: #d4af37;
  --gold2: #f5d76e;
  --line: rgba(212,175,55,.28);
  --purple: #7c3aed;
  --deep-purple: #4c1d95;
  --blue: #60a5fa;
  --pink: #d8b4fe;
  --green: #34d399;
}

html { background:#050505; }

body {
  background:
    radial-gradient(circle at 10% 5%, rgba(124,58,237,.62) 0%, rgba(124,58,237,.20) 18%, transparent 40%),
    radial-gradient(circle at 92% 14%, rgba(212,175,55,.48) 0%, rgba(212,175,55,.16) 20%, transparent 42%),
    radial-gradient(circle at 55% 100%, rgba(76,29,149,.54) 0%, rgba(76,29,149,.15) 25%, transparent 52%),
    linear-gradient(180deg,#030304 0%, #090912 42%, #11111b 100%) !important;
  background-attachment: fixed !important;
}

body:before {
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 78%);
}

.page-glow {
  background:
    radial-gradient(circle at 18% 18%, rgba(245,215,110,.18), transparent 20%),
    radial-gradient(circle at 72% 18%, rgba(124,58,237,.25), transparent 24%),
    linear-gradient(120deg, rgba(255,255,255,.03), transparent 42%, rgba(212,175,55,.055)) !important;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 4%;
  width: 100%;
  background: rgba(5,5,8,.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(212,175,55,.18);
}

.brand b {
  background: linear-gradient(135deg, #d4af37, #fff1a8 45%, #7c3aed) !important;
  box-shadow: 0 0 34px rgba(212,175,55,.32);
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero:before {
  content:"";
  position:absolute;
  width: 520px;
  height: 520px;
  right: 2%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,215,110,.30), rgba(124,58,237,.16) 48%, transparent 72%);
  filter: blur(8px);
  z-index: -1;
}

.hero:after {
  content:"";
  position:absolute;
  left:-8%;
  bottom:5%;
  width:380px;
  height:380px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(124,58,237,.25), transparent 65%);
  filter: blur(12px);
  z-index:-1;
}

h1 {
  text-shadow: 0 0 48px rgba(212,175,55,.20), 0 0 80px rgba(124,58,237,.10);
}

h2:after {
  content:"";
  display:block;
  width:92px;
  height:3px;
  margin-top:18px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  box-shadow: 0 0 30px rgba(212,175,55,.48);
}

.centered h2:after { margin-left:auto; margin-right:auto; }

.portrait-card,
.stats div,
.case-card,
.blog-grid article,
.skill-grid div,
.timeline article,
.contact-section,
.journal-hero {
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035)) !important;
  border: 1px solid rgba(212,175,55,.24) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.10) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.case-card,
.blog-grid article,
.skill-grid div,
.timeline article,
.stats div {
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.case-card:hover,
.blog-grid article:hover,
.skill-grid div:hover,
.timeline article:hover,
.stats div:hover {
  transform: translateY(-8px);
  border-color: rgba(245,215,110,.56) !important;
  box-shadow: 0 38px 100px rgba(0,0,0,.58), 0 0 46px rgba(124,58,237,.20) !important;
}

.portrait-card {
  box-shadow: 0 38px 110px rgba(0,0,0,.58), 0 0 90px rgba(212,175,55,.18) !important;
}

.portrait-card img {
  filter: contrast(1.04) saturate(1.05);
}

.portrait-badge {
  background: rgba(5,5,8,.76) !important;
  border-color: rgba(212,175,55,.32) !important;
}

.btn.primary {
  background: linear-gradient(135deg, #d4af37 0%, #f5d76e 45%, #7c3aed 100%) !important;
  color: #08080b !important;
  box-shadow: 0 16px 42px rgba(212,175,55,.30), 0 0 32px rgba(124,58,237,.20);
}

.btn.ghost {
  border-color: rgba(212,175,55,.36) !important;
  background: rgba(255,255,255,.055) !important;
}

.case-card img,
.journal-hero img {
  filter: saturate(1.12) contrast(1.05);
}

.case-card.collivery { border-color: rgba(96,165,250,.50) !important; }
.case-card.ite { border-color: rgba(168,85,247,.58) !important; }
.case-card.rws { border-color: rgba(52,211,153,.50) !important; }
.case-card.logistical { border-color: rgba(248,113,113,.50) !important; }

.tags b,
.blog-grid span,
.eyebrow {
  color: #f9e7a8 !important;
}

.tags b {
  background: rgba(212,175,55,.12) !important;
  border: 1px solid rgba(212,175,55,.26) !important;
}

.showcase {
  position: relative;
}

.showcase:before,
.journal-section:before,
.skills-section:before {
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(124,58,237,.18), transparent 68%);
  filter: blur(12px);
  pointer-events:none;
}

.work-section,
.journal-section,
.skills-section,
.experience-section {
  position:relative;
}

.journal-hero {
  overflow:hidden;
}

.blog-grid article:nth-child(1) { border-color: rgba(212,175,55,.38) !important; }
.blog-grid article:nth-child(2) { border-color: rgba(124,58,237,.45) !important; }
.blog-grid article:nth-child(3) { border-color: rgba(96,165,250,.42) !important; }
.blog-grid article:nth-child(4) { border-color: rgba(245,215,110,.35) !important; }
.blog-grid article:nth-child(5) { border-color: rgba(52,211,153,.40) !important; }
.blog-grid article:nth-child(6) { border-color: rgba(216,180,254,.42) !important; }

.contact-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(212,175,55,.18), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(124,58,237,.24), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)) !important;
}



/* === WordPress & Front-End Expertise update === */
body, section, .card, .project-card, .blog-card, .service-card, .case-card, article, p, li, span, div {
  color: rgba(255,255,255,.88) !important;
}

h1, h2, h3, h4, h5, h6,
.card h1, .card h2, .card h3,
.blog-card h1, .blog-card h2, .blog-card h3,
.project-card h1, .project-card h2, .project-card h3,
article h1, article h2, article h3 {
  color: #fffaf0 !important;
}

.card p, .blog-card p, .project-card p, .service-card p, .case-card p, article p {
  color: rgba(255,255,255,.76) !important;
}

.card .tag, .blog-card .tag, .badge, .pill, .chip,
.card small, .blog-card small, .project-card small {
  color: #fff0b3 !important;
}

a {
  color: #f5d76e !important;
}

.blog-card, article {
  background:
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.045)),
    radial-gradient(circle at 20% 0%, rgba(212,175,55,.14), transparent 38%),
    radial-gradient(circle at 90% 90%, rgba(124,58,237,.18), transparent 42%) !important;
}

.blog-card:hover, article:hover {
  transform: translateY(-10px) scale(1.01);
}

/* Make the old journal visual read more like a skill showcase */
.journal, .blog, #blog, .development-journal {
  position: relative;
}

.journal::before, .blog::before, #blog::before, .development-journal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 20%, rgba(245,215,110,.13), transparent 24%),
    radial-gradient(circle at 92% 30%, rgba(124,58,237,.15), transparent 30%);
}

/* === Mobile side navigation fix === */
.menu-toggle,
.menu-close,
.mobile-backdrop {
  display: none;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

@media (max-width: 768px) {
  .nav {
    width: 100%;
    padding: 14px 5%;
  }

  .brand span {
    font-size: .95rem;
  }

  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(212,175,55,.34);
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
  }

  .menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: #fff0b3;
  }

  .site-nav,
  .nav nav.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 340px);
    height: 100vh;
    padding: 92px 26px 32px;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background:
      radial-gradient(circle at 90% 10%, rgba(212,175,55,.16), transparent 35%),
      radial-gradient(circle at 15% 90%, rgba(124,58,237,.24), transparent 42%),
      rgba(5,5,8,.96);
    border-left: 1px solid rgba(212,175,55,.28);
    box-shadow: -28px 0 80px rgba(0,0,0,.58);
    transform: translateX(105%);
    transition: transform .32s ease;
    z-index: 1001;
  }

  .site-nav a,
  .nav nav.site-nav a {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    color: #fffaf0 !important;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 1rem;
  }

  .site-nav a:hover,
  .nav nav.site-nav a:hover {
    background: rgba(212,175,55,.13);
    border-color: rgba(212,175,55,.35);
  }

  .menu-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(212,175,55,.32);
    background: rgba(255,255,255,.08);
    color: #fff0b3;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.58);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .32s ease;
    z-index: 1000;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-nav {
    transform: translateX(0);
  }

  body.menu-open .mobile-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
}

/* === Final mobile responsiveness fix for the Expertise/JOURNAL banner === */
img,
svg {
  max-width: 100%;
}

.journal-hero,
.showcase,
.case-card,
.split,
.blog-grid,
.skill-grid,
.timeline,
.hero,
.stats {
  min-width: 0;
}

.journal-hero > *,
.showcase > *,
.case-card > *,
.split > *,
.blog-grid > *,
.skill-grid > *,
.timeline > *,
.hero > *,
.stats > * {
  min-width: 0;
}

.journal-hero img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .journal-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden;
  }

  .journal-hero img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 28px, 1220px);
  }

  .journal-hero {
    padding: 18px;
    border-radius: 24px;
  }

  .journal-hero img {
    border-radius: 18px;
  }

  .journal-hero h2,
  .section-heading h2,
  .contact-section h2 {
    overflow-wrap: anywhere;
  }
}
