@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --yellow: #f4c400;
  --yellow-bright: #ffd83d;
  --yellow-glow: rgba(244, 196, 0, 0.28);
  --yellow-dim: rgba(244, 196, 0, 0.12);
  --ink: #11110f;
  --ink-2: #181815;
  --ink-card: #20201c;
  --paper: #f5f3ec;
  --paper-soft: #faf8f2;
  --muted: #959489;
  --muted-light: #b5b4a9;
  --line: rgba(245, 243, 236, 0.13);
  --line-dark: rgba(17, 17, 15, 0.11);
  --font: 'Archivo', sans-serif;
  --display: 'Archivo', sans-serif;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--ink);
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 49.9%, rgba(244,196,0,.03) 50%, transparent 50.1%);
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* --- Scroll Progress Bar --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-bright));
  box-shadow: 0 0 10px var(--yellow-glow), 0 0 20px rgba(255, 216, 61, 0.4);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* --- Site Header --- */
.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--paper);
  background: rgba(17, 17, 15, 0.88);
  border-bottom: 1px solid rgba(245, 243, 236, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(17, 17, 15, 0.95);
  border-bottom-color: rgba(244, 196, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 12px var(--display);
  letter-spacing: 0.14em;
  transition: transform 0.25s var(--ease-spring);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--yellow);
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(244, 196, 0, 0.3);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.brand:hover .brand-mark {
  transform: rotate(6deg) scale(1.05);
  box-shadow: 0 0 20px rgba(244, 196, 0, 0.5);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav > a:not(.nav-cta) {
  color: #aaa99e;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s, transform 0.25s;
}

.nav > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.25s var(--ease-spring);
}

.nav > a:hover,
.nav > a[aria-current='page'] {
  color: var(--yellow);
  transform: translateY(-1px);
}

.nav > a:hover::after,
.nav > a[aria-current='page']::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(244, 196, 0, 0.25);
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover {
  color: var(--yellow);
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 196, 0, 0.35);
}

.nav-cta span {
  padding-left: 10px;
  transition: transform 0.25s;
}

.nav-cta:hover span {
  transform: translate(2px, -2px);
}

/* Modern Animated Hamburger Toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(25, 25, 22, 0.8);
  border: 1px solid rgba(244, 196, 0, 0.35);
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.menu-toggle:active {
  transform: scale(0.92);
  background: rgba(244, 196, 0, 0.15);
}

.hamburger-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-spring), opacity 0.25s, background-color 0.25s;
  transform-origin: center;
}

.menu-toggle[aria-expanded='true'] .hamburger-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded='true'] .hamburger-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding: 70px 11vw 85px;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-background-video {
  display: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, var(--ink) 12%, rgba(17,17,15,.86) 48%, rgba(17,17,15,.32)),
              repeating-linear-gradient(0deg, transparent 0 5px, rgba(245,243,236,.025) 6px);
  pointer-events: none;
}

.hero::after {
  content: 'A / 01';
  position: absolute;
  right: 5vw;
  top: 28%;
  color: var(--yellow);
  writing-mode: vertical-rl;
  font: 700 10px var(--display);
  letter-spacing: 0.28em;
  pointer-events: none;
}

.hero-graphics {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-graphics::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(245,243,236,.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,243,236,.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  animation: grid-drift 16s linear infinite;
}

.graphic-crosshair {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  opacity: 0.8;
  animation: crosshair-pulse 3s ease-in-out infinite;
}

.graphic-crosshair::before,
.graphic-crosshair::after {
  content: '';
  position: absolute;
  background: var(--yellow);
}

.graphic-crosshair::before {
  top: 10px;
  left: -10px;
  width: 40px;
  height: 1px;
}

.graphic-crosshair::after {
  top: -10px;
  left: 10px;
  width: 1px;
  height: 40px;
}

.graphic-crosshair-one {
  top: 17%;
  left: 47%;
}

.graphic-crosshair-two {
  right: 8%;
  bottom: 23%;
  transform: scale(0.7);
  animation-delay: -1.4s;
}

.graphic-orbit {
  position: absolute;
  width: 390px;
  height: 390px;
  right: 14%;
  top: 13%;
  border: 1px solid rgba(244, 196, 0, 0.25);
  border-radius: 50%;
  transform: rotate(-22deg) skewX(-12deg);
  animation: orbit-drift 18s linear infinite;
}

.graphic-orbit-two {
  width: 220px;
  height: 220px;
  right: 27%;
  top: 32%;
  border-style: dashed;
  opacity: 0.55;
  animation-duration: 12s;
  animation-direction: reverse;
}

.graphic-signal {
  position: absolute;
  left: 5vw;
  bottom: 16%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: var(--yellow);
  font: 700 8px var(--display);
  letter-spacing: 0.12em;
}

.graphic-signal i {
  display: block;
  width: 3px;
  height: 9px;
  background: var(--yellow);
  border-radius: 1px;
  animation: signal 1.2s ease-in-out infinite alternate;
}

.graphic-signal i:nth-child(2) { height: 18px; animation-delay: -0.2s; }
.graphic-signal i:nth-child(3) { height: 12px; animation-delay: -0.5s; }
.graphic-signal i:nth-child(4) { height: 25px; animation-delay: -0.8s; }
.graphic-signal i:nth-child(5) { height: 15px; animation-delay: -1s; }
.graphic-signal b { margin-left: 7px; font-weight: 700; }

.graphic-ticker {
  position: absolute;
  top: 25px;
  right: 0;
  color: rgba(245, 243, 236, 0.28);
  white-space: nowrap;
  font: 700 9px var(--display);
  letter-spacing: 0.24em;
  animation: ticker 22s linear infinite;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 640px;
  animation: slide-in-left 0.9s var(--ease-spring) both;
}

.eyebrow,
.section-kicker {
  font: 700 10px var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--yellow);
}

.eyebrow-line {
  display: inline-block;
  width: 37px;
  height: 1px;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 28px 0 22px;
  font: 900 clamp(54px, 8.2vw, 140px)/0.82 var(--display);
  font-stretch: 120%;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.hero-title-top {
  color: var(--paper);
  animation: rise 0.8s 0.15s both;
}

.hero-title-bottom {
  color: transparent;
  -webkit-text-stroke: 3px var(--yellow);
  text-shadow: 8px 8px 0 rgba(244, 196, 0, 0.16);
  animation: rise 0.8s 0.27s both;
}

.period {
  color: var(--yellow);
  font-style: normal;
  -webkit-text-stroke: 0;
}

.hero-role {
  color: var(--paper);
  font: 700 12px var(--display);
  letter-spacing: 0.17em;
}

.hero-role b {
  color: var(--yellow);
}

.hero-intro {
  max-width: 440px;
  margin: 18px 0 26px;
  color: #b8b7ad;
  font-size: 15px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border-radius: 4px;
  font: 700 11px var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.15);
}

.button:active {
  transform: scale(0.97);
}

.button-dark {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 4px 18px var(--yellow-glow);
}

.button-dark span {
  font-size: 15px;
  transition: transform 0.25s;
}

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

.text-link {
  color: var(--paper);
  font: 700 11px var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  padding: 8px 4px;
  transition: color 0.25s, transform 0.25s;
}

.text-link:hover {
  color: var(--yellow);
  transform: translateX(2px);
}

.text-link span {
  color: var(--yellow);
  padding-left: 8px;
  font-size: 16px;
  transition: transform 0.25s;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.hero-meta {
  display: flex;
  gap: 19px;
  margin-top: 36px;
  color: #87867d;
  font: 700 9px var(--display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-meta span + span {
  padding-left: 19px;
  border-left: 1px solid #47473f;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #5ced99;
  box-shadow: 0 0 0 4px rgba(92, 237, 153, 0.18);
  animation: pulse 2s infinite;
}

.hero-art {
  position: relative;
  min-height: 560px;
  z-index: 2;
  transform: translate3d(var(--art-x,0px), var(--art-y,0px), 0) rotate(var(--art-rotate,0deg));
  transition: transform 0.6s var(--ease-spring);
  animation: slide-in-right 1s 0.12s var(--ease-spring) both;
}

.portrait-frame {
  position: absolute;
  top: 50%;
  right: 8%;
  width: min(410px, 86%);
  height: 540px;
  overflow: visible;
  transform: translateY(-50%);
  filter: drop-shadow(20px 20px 0 rgba(0,0,0,0.35));
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 7% -5%;
  border: 1px solid rgba(244, 196, 0, 0.6);
  transform: rotate(8deg);
  pointer-events: none;
}

.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 45%, rgba(244,196,0,.12) 50%, transparent 55%);
  mix-blend-mode: screen;
  animation: scan 5s ease-in-out infinite;
  pointer-events: none;
}

.portrait-frame img,
.portrait-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(0.06) contrast(1.08);
}

.portrait-ring {
  position: absolute;
  inset: -30px -18px;
  border: 1px dashed rgba(244, 196, 0, 0.75);
  border-radius: 50%;
  transform: rotate(-12deg);
  animation: spin 28s linear infinite;
  pointer-events: none;
}

.portrait-ring::after {
  content: '✳  ASHIN SHIJU  ✳  PERFORMANCE  ';
  position: absolute;
  inset: -10px;
  display: grid;
  place-items: start center;
  color: var(--yellow);
  font: 700 9px var(--display);
  letter-spacing: 0.13em;
  transform: rotate(12deg);
}

.hero-stamp,
.hero-float-card,
.hero-note {
  position: absolute;
  z-index: 4;
}

.hero-stamp {
  top: 28px;
  right: 1%;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 4px;
  box-shadow: 6px 6px 0 rgba(255,255,255,0.13), 0 8px 24px rgba(0,0,0,0.3);
  font: 700 12px/1.2 var(--display);
  letter-spacing: 0.1em;
  transform: rotate(6deg);
  animation: slide-in-top 0.8s 0.65s both, hover 4s 1.45s ease-in-out infinite;
}

.hero-stamp span {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 9px;
}

.hero-note {
  bottom: 37px;
  left: 1%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--paper);
  border: 1px solid #4b4b42;
  border-radius: 4px;
  background: rgba(25, 25, 22, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  font: 700 9px/1.35 var(--display);
  letter-spacing: 0.08em;
}

.hero-note strong {
  color: var(--yellow);
  font-size: 32px;
}

.hero-float-card {
  display: flex;
  flex-direction: column;
  min-width: 120px;
  padding: 14px 16px;
  color: var(--paper);
  border: 1px solid #55544a;
  border-radius: 6px;
  background: rgba(25, 25, 22, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 7px 7px 0 rgba(244, 196, 0, 0.35), 0 10px 25px rgba(0,0,0,0.4);
  animation: slide-in-right 0.8s 0.75s both, hover 4.5s 1.55s ease-in-out infinite;
}

.hero-float-card span,
.hero-float-card small {
  color: #8f8e84;
  font: 700 8px var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-float-card strong {
  margin: 4px 0;
  color: var(--yellow);
  font: 700 28px/1 var(--display);
}

.hero-float-card-top {
  right: -3%;
  bottom: 19%;
  animation-delay: -1.6s;
}

.hero-float-card-bottom {
  top: 13%;
  left: 0;
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 7px 7px 0 rgba(255, 255, 255, 0.15), 0 10px 25px rgba(0,0,0,0.3);
  animation-delay: -3s;
}

.hero-float-card-bottom span,
.hero-float-card-bottom small {
  color: #665400;
}

.hero-float-card-bottom strong {
  color: var(--ink);
}

.hero-lines {
  position: absolute;
  inset: 4% -10% 6% 3%;
  border: 1px solid rgba(244, 196, 0, 0.33);
  transform: rotate(-10deg);
  pointer-events: none;
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  padding: 0 6vw;
  color: var(--ink);
  background: var(--yellow);
  font: 700 9px var(--display);
  letter-spacing: 0.16em;
}

/* --- Proof Strip (Key Metrics) --- */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 34px 9vw;
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid rgba(245, 243, 236, 0.08);
}

.proof-strip > div {
  display: flex;
  flex-direction: column;
  padding: 10px 22px;
  border-right: 1px solid #35352f;
  transition: transform 0.3s var(--ease-spring);
}

.proof-strip > div:hover {
  transform: translateY(-2px);
}

.proof-strip > div:last-child {
  border: 0;
}

.proof-strip strong {
  color: var(--yellow);
  font: 700 38px/1 var(--display);
  letter-spacing: -0.02em;
}

.proof-strip strong span {
  font-size: 0.65em;
}

.proof-strip small {
  margin-top: 8px;
  font-weight: 700;
  font-size: 12px;
  color: var(--paper);
}

.proof-strip em {
  margin-top: 4px;
  color: #9c9b91;
  font-size: 10px;
  font-style: normal;
  line-height: 1.4;
}

/* --- Section Shared Typography & Headings --- */
.section,
.logo-section {
  padding: 110px 11vw;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #7f7e75;
}

.section-kicker span:first-child {
  color: var(--yellow);
}

.section-kicker span:last-child {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

/* Base Headings */
.about h2,
.section-heading h1,
.section-heading h2,
.credentials h2,
.contact h2,
.logo-section h2,
.project-feature h3 {
  margin: 0;
  font: 800 clamp(36px, 5vw, 72px)/0.98 var(--display);
  font-stretch: 120%;
  letter-spacing: -0.03em;
  color: inherit;
}

/* Fix: Only the actual accented span gets yellow, not all splitWords spans */
.about h2 > span:not(.h-line),
.section-heading h1 > span:not(.h-line),
.section-heading h2 > span:not(.h-line),
.credentials h2 > span:not(.h-line),
.logo-section h2 > span:not(.h-line),
.contact h2 > span:not(.h-line),
.project-feature h3 > span:not(.h-line) {
  color: var(--yellow);
}

.about-text {
  max-width: 520px;
  color: #aaa99f;
}

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

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.about-tags span {
  padding: 7px 14px;
  color: var(--yellow);
  border: 1px solid #4b4a40;
  border-radius: 4px;
  font: 700 9px var(--display);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(25, 25, 22, 0.6);
  transition: border-color 0.25s, transform 0.25s;
}

.about-tags span:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.about {
  color: var(--paper);
  background: var(--ink-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  margin-top: 55px;
}

/* --- Experience Section --- */
.experience {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.experience::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  background-image: linear-gradient(rgba(245,243,236,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,243,236,.07) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}

.experience::after {
  content: 'EXPERIENCE';
  position: absolute;
  right: -6vw;
  top: 200px;
  z-index: -1;
  color: rgba(245, 243, 236, 0.035);
  writing-mode: vertical-rl;
  font: 700 clamp(100px, 16vw, 240px)/1 var(--display);
  letter-spacing: -0.1em;
  pointer-events: none;
}

.experience .section-kicker {
  color: #8f8e84;
}

.experience .section-kicker span:last-child {
  border-color: #3d3d36;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin: 50px 0 75px;
}

.section-heading h2 {
  max-width: 800px;
  color: var(--paper);
}

.section-heading > p {
  max-width: 320px;
  margin: 0 0 5px;
  color: #99988f;
  font-size: 13px;
  line-height: 1.55;
}

.job {
  position: relative;
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 5vw;
  padding: 46px 0 55px;
  border-top: 1px solid #393933;
}

.job:last-child {
  border-bottom: 1px solid #393933;
}

.job::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 205px;
  border-left: 1px dashed #44443c;
}

.job::after {
  content: '';
  position: absolute;
  top: 48px;
  left: 199px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(244, 196, 0, 0.12);
}

.job-date {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #89887e;
  font: 700 9px/1.4 var(--display);
  letter-spacing: 0.1em;
}

.job-date span:first-child {
  color: var(--yellow);
}

.experience-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 243, 236, 0.08);
  border-radius: 8px;
}

.experience-logo.plain {
  background: var(--paper);
  border: 0;
}

.experience-logo img {
  max-width: 100%;
  max-height: 85px;
  object-fit: contain;
}

.experience-logo.stacked {
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0;
  padding: 14px 18px;
}

.experience-logo.stacked img {
  max-height: 52px;
}

.experience-logo.stacked img + img {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 17, 15, 0.16);
}

.job-main {
  padding-left: 28px;
}

.job-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.job-title h3 {
  margin: 0 0 6px;
  color: var(--paper);
  font: 600 28px/1.2 var(--display);
  letter-spacing: -0.04em;
}

.job-title p {
  margin: 0;
  color: #99988f;
  font-size: 13px;
}

.job-index {
  color: #706f68;
  font: 500 11px var(--display);
}

.metric-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.metric-cards > div {
  display: flex;
  flex-direction: column;
  min-height: 95px;
  padding: 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.metric-cards > div:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: 0 10px 22px rgba(244, 196, 0, 0.35);
}

.metric-cards b {
  font: 700 28px/1 var(--display);
}

.metric-cards span {
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}

.metric-cards small {
  margin-top: 4px;
  color: #594a00;
  font-size: 9px;
  line-height: 1.35;
}

.job ul {
  margin: 22px 0 0;
  padding-left: 18px;
  color: #b4b3aa;
  font-size: 13px;
  line-height: 1.65;
}

.job li {
  padding-left: 4px;
  margin-bottom: 10px;
}

.job li::marker {
  color: var(--yellow);
}

.budget-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px 22px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.budget-callout span {
  color: #665400;
  font: 700 9px var(--display);
  letter-spacing: 0.12em;
}

.budget-callout strong {
  grid-column: 2;
  grid-row: 1/3;
  font: 700 32px var(--display);
}

.budget-callout small {
  color: #665400;
  font-size: 10px;
}

.inline-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.inline-metrics span {
  padding: 10px 14px;
  color: var(--paper);
  border: 1px solid #45443d;
  border-radius: 4px;
  background: rgba(25, 25, 22, 0.6);
  font-size: 10px;
}

.inline-metrics b {
  margin-right: 5px;
  color: var(--yellow);
  font: 700 16px var(--display);
}

/* --- Brand Logos Section --- */
.logo-section {
  background: var(--paper);
  color: var(--ink);
}

.logo-section h2 {
  margin: 28px 0 42px;
  color: var(--ink);
}

.logo-section .section-kicker {
  color: #8c8b82;
}

.logo-section .section-kicker span:last-child {
  border-color: var(--line-dark);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #d7d5cc;
  border-left: 1px solid #d7d5cc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.logo-card {
  display: grid;
  place-items: center;
  height: 150px;
  padding: 22px;
  gap: 12px;
  border-right: 1px solid #d7d5cc;
  border-bottom: 1px solid #d7d5cc;
  background: #fff;
  transition: transform 0.3s var(--ease-spring), background 0.3s, box-shadow 0.3s;
}

.logo-card img {
  max-width: 100%;
  max-height: 64px;
  transition: transform 0.3s var(--ease-spring);
}

.logo-card strong {
  display: none;
  font-size: 10px;
}

.logo-card:hover {
  background: var(--yellow);
  transform: translateY(-6px);
  box-shadow: 0 10px 0 var(--ink);
}

.logo-card:hover img {
  transform: scale(1.08);
}

/* --- Projects Section --- */
.projects {
  padding-bottom: 110px;
  color: var(--paper);
  background: var(--ink-2);
}

.projects .section-kicker {
  color: #8f8e84;
}

.projects .section-kicker span:last-child {
  border-color: #3f3e37;
}

.projects .section-heading h2 {
  color: var(--paper);
}

.projects .section-heading > p {
  color: #99988f;
}

.project-list {
  margin: 0 11vw;
  perspective: 1200px;
}

.project-feature {
  display: grid;
  grid-template-columns: 0.7fr 1.25fr 0.8fr;
  gap: 35px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid #3b3a34;
  border-bottom: 1px solid #3b3a34;
}

.project-number,
.project-row > span {
  color: var(--yellow);
  font: 700 9px var(--display);
  letter-spacing: 0.12em;
}

.project-feature h3 {
  color: var(--paper);
  font-size: clamp(28px, 3.6vw, 48px);
}

.project-feature p {
  max-width: 390px;
  margin: 14px 0 0;
  color: #aaa99f;
  font-size: 12px;
}

.project-aside {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  border-left: 1px solid #414139;
}

.project-aside strong {
  color: var(--yellow);
  font: 700 30px var(--display);
}

.project-aside span {
  font-size: 11px;
  color: var(--paper);
}

.project-aside small,
.brand-portfolio {
  color: #8d8c83;
  font-size: 9px;
}

.project-aside small {
  margin-top: 7px;
}

.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 50px 112px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 104px;
  padding: 20px 18px;
  border-bottom: 1px solid #3b3a34;
  border-radius: 6px;
  transition: transform 0.35s var(--ease-spring), background 0.35s;
  will-change: transform;
}

.project-row:hover {
  background: #24241e;
  transform: translateX(8px) rotateX(var(--rotate-x,0deg)) rotateY(var(--rotate-y,0deg));
}

.project-logo {
  display: grid;
  place-items: center;
  width: 96px;
  height: 62px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid #414139;
  border-radius: 6px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.project-logo img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.project-row:hover .project-logo {
  transform: rotate(-2deg) scale(1.06);
  box-shadow: 6px 6px 0 var(--yellow);
}

.project-info {
  padding-right: 20px;
}

.project-row h3 {
  margin: 0 0 5px;
  font: 600 20px var(--display);
  letter-spacing: -0.02em;
}

.project-row p {
  margin: 0;
  color: #99988f;
  font-size: 11px;
}

.project-row > b {
  color: #bab9b0;
  font: 700 8px var(--display);
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border: 1px solid rgba(245, 243, 236, 0.1);
  border-radius: 4px;
}

.brand-portfolio {
  margin: 32px 11vw 0;
  line-height: 1.7;
}

/* --- Skills / Expertise Section --- */
.skills {
  background: var(--paper);
  color: var(--ink);
}

.skills .section-kicker {
  color: #8c8b82;
}

.skills .section-kicker span:last-child {
  border-color: var(--line-dark);
}

.skills .section-heading h2 {
  color: var(--ink);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d8d6ce;
  border-left: 1px solid #d8d6ce;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.skill-block {
  min-height: 210px;
  padding: 28px 26px 32px;
  border-right: 1px solid #d8d6ce;
  border-bottom: 1px solid #d8d6ce;
  background: #fff;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s;
}

.skill-block:hover {
  background: #fffdf5;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.skill-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font: 700 10px var(--display);
  box-shadow: 0 2px 8px var(--yellow-glow);
}

.skill-block h3 {
  margin: 18px 0 9px;
  font: 600 17px var(--display);
  color: var(--ink);
}

.skill-block p {
  margin: 0;
  color: #66655e;
  font-size: 12px;
  line-height: 1.8;
}

/* --- Credentials & Languages --- */
.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  padding: 85px 11vw;
  background: var(--yellow);
  color: var(--ink);
}

.credentials .section-kicker {
  color: #6c5800;
}

.credentials .section-kicker span:first-child {
  color: var(--ink);
}

.credentials .section-kicker span:last-child {
  border-color: rgba(17, 17, 15, 0.25);
}

.credentials h2 {
  margin: 28px 0 22px;
  font-size: clamp(32px, 3.5vw, 42px);
  color: var(--ink);
}

.credential-title {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 15px;
}

.credential-col > p:not(.credential-title) {
  max-width: 450px;
  font-size: 13px;
  line-height: 1.65;
}

.language-band {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 24px 11vw;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid rgba(245, 243, 236, 0.1);
  border-bottom: 1px solid rgba(245, 243, 236, 0.1);
}

.language-band > span {
  color: var(--yellow);
  font: 700 9px var(--display);
  letter-spacing: 0.15em;
}

.language-band p {
  margin: 0;
  font-size: 12px;
}

.language-band i {
  color: #aaa99f;
  font-style: normal;
}

.language-band b {
  padding: 0 6px;
  color: var(--yellow);
}

/* --- Contact Section --- */
.contact {
  position: relative;
  overflow: hidden;
  padding: 110px 11vw;
  background: var(--paper);
  color: var(--ink);
}

.contact .eyebrow {
  margin: 55px 0 16px;
  color: #77766f;
}

.contact h1,
.contact h2 {
  position: relative;
  z-index: 2;
  max-width: 900px;
  font-size: clamp(52px, 8.5vw, 115px);
  color: var(--ink);
}

.contact-glow {
  position: absolute;
  top: 14%;
  right: 8%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(17, 17, 15, 0.22);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 30px rgba(17,17,15,.04), 0 0 0 90px rgba(244,196,0,.08);
  animation: spin 24s linear infinite;
  pointer-events: none;
}

.contact-portrait {
  position: absolute;
  top: calc(14% + 30px);
  right: calc(8% + 30px);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  z-index: 1;
}

.contact-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font: 700 11px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, background 0.25s, color 0.25s;
}

.contact-links a span {
  color: var(--yellow);
  font-size: 13px;
  transition: transform 0.35s var(--ease-spring);
}

.contact-links a:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17, 17, 15, 0.25);
}

.contact-links a:hover span {
  transform: translate(3px, -2px);
}

.contact-links a:active {
  transform: scale(0.96);
}

.contact-links .btn-yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  box-shadow: 0 4px 16px var(--yellow-glow);
}

.contact-links .btn-yellow span {
  color: var(--ink);
}

.contact-links .btn-wa {
  background: #25d366;
  border-color: #25d366;
  color: #04301b;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.contact-links .btn-wa span {
  color: #04301b;
}

.contact-links .btn-ghost {
  background: transparent;
  border-color: rgba(17, 17, 15, 0.35);
  color: var(--ink);
}

.contact-links .btn-ghost span {
  color: var(--ink);
}

.contact-location {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  color: #77766f;
  font-size: 11px;
}

/* --- Footer --- */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  padding: 0 6vw;
  border-top: 1px solid #d7d5cc;
  background: var(--paper);
}

footer > span,
footer > a:last-child {
  color: #77766f;
  font: 700 9px var(--display);
  letter-spacing: 0.12em;
  transition: color 0.25s;
}

footer > a:last-child:hover {
  color: var(--ink);
}

/* --- Floating WhatsApp Button --- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, opacity 0.3s;
  animation: wa-pulse 3s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
}

.wa-float:active {
  transform: scale(0.92);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

/* --- Tools Marquee Band --- */
.tools-band {
  position: relative;
  display: flex;
  align-items: center;
  padding: 28px 0;
  background: var(--ink);
  border-top: 1px solid rgba(245, 243, 236, 0.1);
  border-bottom: 1px solid rgba(245, 243, 236, 0.1);
  overflow: hidden;
  width: 100%;
}

.tools-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px 0 6vw;
  white-space: nowrap;
  border-right: 1px solid rgba(245, 243, 236, 0.12);
  flex-shrink: 0;
  z-index: 2;
}

.tools-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
  animation: pulse 2s infinite;
}

.tools-title {
  color: var(--yellow);
  font: 700 11px var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: tools-scroll 34s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track,
.tools-band:hover .marquee-track {
  animation-play-state: paused;
}

.tools-set {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 8px;
}

.toolchip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 243, 236, 0.08);
  color: #c4c3b9;
  font: 700 11px var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease-spring), border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
}

.toolchip:hover {
  background: rgba(244, 196, 0, 0.12);
  border-color: rgba(244, 196, 0, 0.45);
  color: var(--yellow-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(244, 196, 0, 0.25);
}

.toolchip img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.25s var(--ease-spring);
}

.toolchip:hover img {
  transform: scale(1.15);
}

.toolchip img.mark-bing {
  filter: grayscale(1) brightness(2.4);
}

/* --- Scroll Reveal & Headline Masks --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.75s ease var(--reveal-delay, 0ms),
              transform 0.75s var(--ease-spring) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.h-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  color: inherit;
}

.h-word {
  display: inline-block;
  transform: translateY(118%);
  opacity: 0;
  color: inherit;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--hd, 0ms),
              opacity 0.5s ease var(--hd, 0ms);
  will-change: transform, opacity;
}

main h1.is-visible .h-word,
main h2.is-visible .h-word {
  transform: none;
  opacity: 1;
}

/* --- Keyframe Animations --- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-top {
  from { opacity: 0; transform: translateY(-28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(92,237,153,.18); }
  50% { box-shadow: 0 0 0 10px rgba(92,237,153,0); }
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 14px 34px rgba(37,211,102,.6), 0 0 0 12px rgba(37,211,102,0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scan {
  0%, 100% { transform: translateX(-20%); opacity: 0; }
  40%, 60% { transform: translateX(20%); opacity: 1; }
}

@keyframes grid-drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(74px,74px,0); }
}

@keyframes orbit-drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes crosshair-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes signal {
  from { transform: scaleY(0.4); transform-origin: bottom; opacity: 0.45; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes ticker {
  from { transform: translateX(10%); }
  to { transform: translateX(-100%); }
}

@keyframes tools-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================================================
   TABLET RESPONSIVENESS (<= 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .hero {
    padding-left: 6vw;
    padding-right: 6vw;
    gap: 4vw;
  }
  .section,
  .logo-section,
  .contact {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .project-list,
  .brand-portfolio {
    margin-left: 6vw;
    margin-right: 6vw;
  }
  .credentials,
  .language-band {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .hero-art {
    min-height: 480px;
  }
  .portrait-frame {
    right: 0;
    width: min(360px, 92%);
    height: 480px;
  }
  .job {
    grid-template-columns: 160px 1fr;
  }
  .job::before {
    left: 160px;
  }
  .job::after {
    left: 154px;
  }
  .nav {
    gap: 20px;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (<= 768px)
   Ultra-optimized, highly organized, perfect layout & fluid motion
   ========================================================================== */
@media (max-width: 768px) {
  /* Header & Navigation */
  .site-header {
    height: 64px;
    padding: 0 5vw;
  }

  .menu-toggle {
    display: flex;
    z-index: 102;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100svh - 64px);
    background: rgba(17, 17, 15, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 24px 6vw 34px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-spring), opacity 0.3s ease, visibility 0.4s;
    z-index: 101;
    overflow-y: auto;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  body.nav-open {
    overflow: hidden !important;
  }

  .nav > a:not(.nav-cta) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 8px;
    font-size: 14px;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(245, 243, 236, 0.08);
    color: var(--paper);
    transition: color 0.25s, padding-left 0.25s;
  }

  .nav > a:not(.nav-cta):hover,
  .nav > a[aria-current='page'] {
    color: var(--yellow);
    padding-left: 14px;
    transform: none;
  }

  .nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 20px;
    padding: 16px;
    text-align: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 999px;
  }

  /* Hero Section */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 36px 5vw 48px;
    overflow: hidden;
  }

  .hero::after {
    display: none;
  }

  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .eyebrow-line {
    width: 24px;
  }

  .hero-title {
    margin: 18px 0 14px;
    font-size: clamp(44px, 13vw, 68px);
    line-height: 0.86;
    letter-spacing: -0.04em;
  }

  .hero-title-top {
    color: var(--paper);
  }

  .hero-title-bottom {
    -webkit-text-stroke: 1.8px var(--yellow);
    text-shadow: 4px 4px 0 rgba(244, 196, 0, 0.15);
  }

  .hero-role {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .hero-intro {
    max-width: 100%;
    margin: 14px 0 20px;
    font-size: 14px;
    line-height: 1.55;
    color: #c0bfb5;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }

  .button-dark {
    padding: 13px 20px;
    font-size: 11px;
    min-height: 48px;
    box-shadow: 0 4px 16px var(--yellow-glow);
  }

  .text-link {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 11px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 6px;
    margin-top: 22px;
    font-size: 8.5px;
  }

  .hero-meta span + span {
    padding-left: 0;
    border-left: 0;
    padding-top: 6px;
    border-top: 1px solid rgba(245, 243, 236, 0.08);
  }

  /* Hero Art / Mobile Portrait Composition */
  .hero-art {
    position: relative;
    width: 100%;
    min-height: 380px;
    margin: 32px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .portrait-frame {
    position: relative;
    top: auto;
    right: auto;
    width: min(290px, 78vw);
    height: 370px;
    transform: none;
    margin: 0 auto;
    filter: drop-shadow(0 14px 28px rgba(0,0,0,0.5));
  }

  .portrait-frame::before {
    inset: 4% -3%;
    border-color: rgba(244, 196, 0, 0.4);
  }

  .portrait-ring {
    inset: -14px -8px;
    border-color: rgba(244, 196, 0, 0.5);
  }

  .portrait-ring::after {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .hero-lines {
    display: none;
  }

  .graphic-orbit {
    width: 280px;
    height: 280px;
    right: -10%;
    top: 15%;
    opacity: 0.35;
  }

  .graphic-orbit-two {
    width: 160px;
    height: 160px;
    right: 15%;
    top: 25%;
    opacity: 0.25;
  }

  .graphic-signal {
    left: 2vw;
    bottom: 8px;
  }

  .graphic-ticker {
    top: 8px;
    font-size: 7px;
    letter-spacing: 0.18em;
  }

  /* Hero Badges on Mobile */
  .hero-stamp {
    top: 0;
    right: 2vw;
    padding: 10px 12px;
    font-size: 10px;
    transform: rotate(4deg);
  }

  .hero-stamp span {
    font-size: 8px;
  }

  .hero-float-card-top {
    position: absolute;
    right: 2vw;
    bottom: 84px;
    min-width: 104px;
    padding: 10px 12px;
    transform: scale(0.9);
  }

  .hero-float-card-top strong {
    font-size: 24px;
  }

  .hero-float-card-bottom {
    position: absolute;
    top: 12px;
    left: 2vw;
    min-width: 98px;
    padding: 10px 12px;
    transform: scale(0.9);
  }

  .hero-float-card-bottom strong {
    font-size: 20px;
  }

  .hero-note {
    position: absolute;
    bottom: 8px;
    left: 2vw;
    padding: 8px 12px;
    gap: 8px;
    font-size: 8px;
  }

  .hero-note strong {
    font-size: 24px;
  }

  .hero-bottom {
    position: relative;
    height: 38px;
    margin: 16px -5vw -48px;
    padding: 0 5vw;
    font-size: 7.5px;
    letter-spacing: 0.1em;
  }

  /* Proof Strip on Mobile (Clean 2x2 Grid) */
  .proof-strip {
    grid-template-columns: 1fr 1fr;
    padding: 24px 5vw;
    gap: 12px;
  }

  .proof-strip > div {
    padding: 14px 12px;
    border: 1px solid rgba(245, 243, 236, 0.08);
    border-radius: 8px;
    background: rgba(25, 25, 22, 0.7);
    border-right: 1px solid rgba(245, 243, 236, 0.08);
  }

  .proof-strip strong {
    font-size: clamp(26px, 7.5vw, 34px);
  }

  .proof-strip small {
    font-size: 11px;
    margin-top: 5px;
  }

  .proof-strip em {
    font-size: 8.5px;
    margin-top: 3px;
  }

  /* Shared Section Paddings */
  .section,
  .logo-section,
  .contact {
    padding: 64px 5vw;
  }

  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }

  .about-text {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.65;
  }

  .about-tags {
    gap: 6px;
    margin-top: 20px;
  }

  /* Tools Marquee Band on Mobile */
  .tools-band {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 0 24px;
    gap: 14px;
  }

  .tools-header {
    padding: 0 5vw;
    border-right: 0;
    justify-content: flex-start;
  }

  .tools-title {
    font-size: 10.5px;
    letter-spacing: 0.18em;
  }

  .marquee {
    width: 100%;
    flex: 0 0 auto;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 5vw, #000 95vw, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5vw, #000 95vw, transparent 100%);
  }

  .tools-set {
    gap: 12px;
    padding: 2px 6px;
  }

  .toolchip {
    padding: 7px 14px;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .toolchip img {
    width: 20px;
    height: 20px;
  }

  /* Brand Logos */
  .logo-section h2 {
    margin: 20px 0 28px;
  }

  .logo-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: 6px;
  }

  .logo-card {
    height: 110px;
    padding: 14px;
  }

  .logo-card img {
    max-height: 48px;
  }

  /* Experience Section */
  .section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 32px 0 40px;
  }

  .section-heading > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .job {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0 38px;
  }

  .job::before {
    left: 10px;
  }

  .job::after {
    left: 4px;
    top: 36px;
  }

  .job-date {
    padding-left: 28px;
    gap: 4px;
  }

  .experience-logo {
    min-height: 90px;
    margin-top: 14px;
    padding: 10px 14px;
  }

  .job-main {
    padding-left: 28px;
  }

  .job-title h3 {
    font-size: 22px;
    line-height: 1.2;
  }

  .metric-cards {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 18px 0;
  }

  .metric-cards > div:last-child {
    grid-column: 1 / -1;
  }

  .metric-cards > div {
    min-height: 80px;
    padding: 12px 14px;
  }

  .metric-cards b {
    font-size: 24px;
  }

  .budget-callout {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 16px;
  }

  .budget-callout strong {
    grid-column: 1;
    grid-row: auto;
    font-size: 26px;
  }

  /* Projects Section */
  .projects {
    padding-bottom: 70px;
  }

  .project-list {
    margin: 0 5vw;
  }

  .project-feature {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .project-feature h3 {
    font-size: clamp(24px, 6.5vw, 34px);
    line-height: 1.1;
  }

  .project-aside {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid #414139;
  }

  .project-aside strong {
    font-size: 26px;
  }

  .project-row {
    grid-template-columns: 24px 74px 1fr;
    gap: 10px 12px;
    padding: 15px 8px;
  }

  .project-logo {
    width: 74px;
    height: 52px;
  }

  .project-logo img {
    max-height: 38px;
  }

  .project-row h3 {
    font-size: 16px;
    line-height: 1.25;
  }

  .project-row p {
    font-size: 10px;
  }

  .project-row > b {
    grid-column: 3;
    justify-self: flex-start;
    margin-top: 2px;
  }

  .brand-portfolio {
    margin: 24px 5vw 0;
    font-size: 9.5px;
  }

  /* Skills Grid on Mobile */
  .skills-grid {
    grid-template-columns: 1fr;
    border-radius: 6px;
  }

  .skill-block {
    min-height: auto;
    padding: 22px 18px 24px;
  }

  .skill-block h3 {
    font-size: 16px;
    margin: 14px 0 8px;
  }

  /* Credentials */
  .credentials {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 55px 5vw;
  }

  .credentials h2 {
    font-size: 30px;
    margin: 18px 0 14px;
  }

  .language-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 5vw;
  }

  .language-band p {
    line-height: 1.8;
    font-size: 11px;
  }

  /* Contact Section */
  .contact {
    padding: 65px 5vw 50px;
  }

  .contact .eyebrow {
    margin: 30px 0 12px;
  }

  .contact h1,
  .contact h2 {
    font-size: clamp(38px, 11vw, 56px);
    line-height: 0.95;
  }

  .contact-glow {
    position: relative;
    top: auto;
    right: auto;
    width: 160px;
    height: 160px;
    margin: 24px auto -130px;
    box-shadow: inset 0 0 0 15px rgba(17,17,15,.04), 0 0 0 40px rgba(244,196,0,.08);
  }

  .contact-portrait {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    border: 3px solid var(--yellow);
  }

  .contact-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 28px;
  }

  .contact-links a {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 16px 20px;
    font-size: 11px;
    border-radius: 999px;
  }

  .contact-location {
    margin-top: 24px;
    text-align: center;
    font-size: 10px;
  }

  /* Footer on Mobile */
  footer {
    min-height: 70px;
    padding: 16px 5vw;
    gap: 12px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer > span {
    display: none;
  }
}

/* Touch & Reduced-Motion Adjustments */
@media (hover: none) {
  .project-row:hover {
    transform: none;
    background: transparent;
  }
  .logo-card:hover {
    transform: none;
    background: #fff;
    box-shadow: none;
  }
  .logo-card:hover img {
    transform: none;
  }
  .metric-cards > div:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  }
  .project-row:hover .project-logo {
    transform: none;
    box-shadow: none;
  }
  .button:active,
  .contact-links a:active,
  .wa-float:active {
    transform: scale(0.96);
  }
  .project-row:active,
  .logo-card:active {
    background: #faf9f4;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .h-word {
    opacity: 1 !important;
    transform: none !important;
  }
  .wa-float {
    animation: none !important;
  }
}
