:root {
  --ink: #0e0e0e;
  --paper: #f6f4f0;
  --muted: #a9a29b;
  --red: #e92b2b;
  --red-deep: #b80e0e;
  --line: rgba(16, 16, 16, .14);
  --shell: min(1220px, calc(100% - 48px));
  --radius: 18px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden
}

body::selection {
  background: var(--red);
  color: #fff
}

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

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

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E")
}

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

.section-padding {
  padding: 120px 0
}

.eyebrow {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red)
}

.eyebrow.light {
  color: #ff8989
}

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

.site-header {
  width: var(--shell);
  margin: 0 auto;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 10
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700
}

.brand-mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -.12em;
  font-style: italic
}

.brand-mark span {
  color: var(--red)
}

.brand-name {
  font-size: .71rem;
  letter-spacing: .05em
}

.brand-name small {
  display: block;
  font-size: .58rem;
  font-weight: 500;
  color: #6d6660;
  margin-top: 2px
}

.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: .78rem;
  font-weight: 700
}

.main-nav a {
  position: relative;
  padding: 8px 0
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1)
}

.header-cta {
  font-size: .76rem;
  font-weight: 700;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  transition: .25s
}

.header-cta:hover {
  background: var(--ink);
  color: #fff
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0
}

.hero {
  min-height: 690px;
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  padding-left: max(24px, calc((100vw - min(1220px, calc(100vw - 48px)))/2));
  padding-right: max(24px, calc((100vw - min(1220px, calc(100vw - 48px)))/2));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 80%, rgba(233, 43, 43, .22), transparent 31%), linear-gradient(110deg, rgba(255, 255, 255, .035), transparent 35%);
  z-index: -1
}

.hero-content {
  align-self: center;
  padding: 96px 16px 96px 0;
  max-width: 640px
}

.hero h1,
.section-heading h2,
.project-heading h2,
.leadership-intro h2,
.awards-head h2,
.skills-head h2,
.contact-main h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .88
}

.hero h1 {
  font-size: clamp(3.55rem, 6.4vw, 6.8rem);
  margin-bottom: 24px
}

.hero h1 span,
.section-heading h2 span,
.project-heading h2 span,
.leadership-intro h2 span,
.awards-head h2 span,
.skills-head h2 span,
.contact-main h2 span {
  color: var(--red)
}

.hero-copy {
  color: #d8d4d0;
  max-width: 510px;
  font-size: 1rem;
  line-height: 1.7
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0 34px;
  max-width: 610px;
  border-top: 1px solid rgba(255, 255, 255, .23);
  border-bottom: 1px solid rgba(255, 255, 255, .23)
}

.hero-stats div {
  padding: 16px 10px 16px 0;
  min-height: 82px;
  border-right: 1px solid rgba(255, 255, 255, .17)
}

.hero-stats div+div {
  padding-left: 12px
}

.hero-stats div:last-child {
  border: 0
}

.hero-stats b {
  display: block;
  font-size: .78rem
}

.hero-stats span {
  display: block;
  font-size: .63rem;
  color: #aaa;
  line-height: 1.35;
  margin-top: 3px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding: 14px 18px;
  font-size: .82rem;
  font-weight: 700;
  transition: .25s
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red)
}

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

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .52);
  color: #fff
}

.btn-ghost:hover {
  background: #fff;
  color: #111
}

.hero-visual {
  position: relative;
  min-height: 690px
}

.hero-photo-wrap {
  position: absolute;
  inset: 0 0 0 3%;
  clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%, 14% 55%);
  overflow: hidden
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, #0d0d0d 3%, transparent 35%), linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 30%)
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%
}

.hero-curve {
  position: absolute;
  width: 480px;
  height: 900px;
  border: 15px solid var(--red);
  border-left: 0;
  border-bottom: 0;
  right: -270px;
  top: -220px;
  border-radius: 0 100% 0 0;
  transform: rotate(20deg);
  opacity: .95
}

.section-heading h2,
.leadership-intro h2,
.awards-head h2,
.skills-head h2 {
  font-size: clamp(2.8rem, 5.3vw, 5.65rem);
  margin: 0
}

.about {
  background: var(--paper)
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .84fr 1.05fr;
  gap: 20px;
  margin-top: 52px;
  align-items: stretch
}

.about-copy {
  padding: 12px 26px 18px 0
}

.about-copy p {
  line-height: 1.75;
  color: #383432
}

.about-copy .lead {
  font-size: 1.1rem;
  color: #111;
  font-weight: 500
}

.profile-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-top: 1px solid var(--line)
}

.profile-meta div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line)
}

.profile-meta dt {
  font-size: .63rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #817a74;
  font-weight: 700
}

.profile-meta dd {
  margin: 5px 0 0;
  font-size: .8rem;
  font-weight: 700
}

.profile-card {
  display: grid;
  grid-template-columns: 1fr 92px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e7e2dc;
  min-height: 410px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, .11)
}

.profile-card>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%
}

.value-stack {
  background: var(--red);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 10px;
  gap: 18px
}

.value-stack b {
  display: block;
  font-size: .72rem
}

.value-stack span {
  display: block;
  font-size: .6rem;
  opacity: .78;
  margin-top: 2px
}

.road-quote {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 410px;
  background: #111
}

.road-quote img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: .7
}

.road-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .07))
}

.road-quote figcaption {
  position: absolute;
  z-index: 1;
  left: 32px;
  right: 28px;
  bottom: 32px;
  color: #fff;
  max-width: 250px;
  font-size: 1.15rem;
  line-height: 1.35
}

.road-quote figcaption span {
  color: var(--red);
  font-size: 3.6rem;
  line-height: 0;
  vertical-align: -.45em;
  margin-right: 6px
}

.project-section {
  background: #101010;
  color: #fff;
  position: relative;
  overflow: hidden
}

.project-section::before {
  content: "";
  position: absolute;
  width: 70vw;
  height: 70vw;
  right: -35vw;
  bottom: -53vw;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .02), 0 0 0 110px rgba(255, 255, 255, .015)
}

.project-heading {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px
}

.project-heading h2 {
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  margin: 0
}

.project-heading>p {
  max-width: 450px;
  color: #c7c1bc;
  line-height: 1.65;
  margin: 0
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  position: relative
}

.project-overview {
  background: #1a1a1a;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 405px
}

.project-image {
  overflow: hidden
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #060713; /* match deep dark background of the slide */
  transition: transform .5s
}

.project-overview:hover .project-image img {
  transform: scale(1.035)
}

.project-detail {
  padding: 36px
}

.project-kicker,
.card-label {
  font-size: .63rem;
  letter-spacing: .13em;
  font-weight: 700;
  text-transform: uppercase;
  color: #ff7c7c
}

.project-detail h3,
.role-card h3,
.prototype-card h3,
.lead-card h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
  line-height: 1.05;
  font-size: 2rem;
  margin: 12px 0
}

.project-detail p {
  color: #d0cbc6;
  line-height: 1.65;
  font-size: .9rem
}

.tag-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 24px
}

.tag-row span {
  font-size: .62rem;
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 7px 9px;
  color: #e6e0dc
}

.heatmap-card {
  background: #1c1c1c;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 405px;
  border: 1px solid rgba(255, 255, 255, .09)
}

.heatmap-topline {
  display: flex;
  justify-content: space-between;
  font-size: .66rem;
  letter-spacing: .1em;
  font-weight: 700;
  color: #dad3cf
}

.heatmap-topline span:last-child {
  color: #ff7777
}

.heatmap-stage {
  position: relative;
  overflow: hidden;
  margin: 20px 0;
  height: 212px;
  background: linear-gradient(135deg, #0a0a0a, #141414);
  border: 1px solid rgba(255, 255, 255, .12)
}

.heatmap-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .08) 25%, transparent 26%, transparent 49%, rgba(255, 255, 255, .08) 50%, transparent 51%, transparent 74%, rgba(255, 255, 255, .08) 75%, transparent 76%), linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, .08) 25%, transparent 26%, transparent 49%, rgba(255, 255, 255, .08) 50%, transparent 51%, transparent 74%, rgba(255, 255, 255, .08) 75%, transparent 76%)
}

.aisle {
  position: absolute;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .17)
}

.aisle-1 {
  width: 14%;
  height: 70%;
  left: 9%;
  top: 16%
}

.aisle-2 {
  width: 18%;
  height: 20%;
  left: 38%;
  top: 12%
}

.aisle-3 {
  width: 19%;
  height: 20%;
  left: 40%;
  bottom: 13%
}

.aisle-4 {
  width: 14%;
  height: 70%;
  right: 10%;
  top: 15%
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #f83524 0 15%, #ff9e00 30%, rgba(255, 176, 0, .55) 46%, transparent 70%);
  filter: blur(.3px);
  width: 90px;
  height: 90px;
  z-index: 2
}

.dot-a {
  left: 18%;
  top: 14%
}

.dot-b {
  right: 22%;
  top: 38%;
  width: 110px;
  height: 110px
}

.dot-c {
  left: 43%;
  bottom: 4%;
  width: 88px;
  height: 88px
}

.dot-d {
  left: 46%;
  top: 22%;
  width: 58px;
  height: 58px
}

.dot-e {
  right: 5%;
  bottom: 6%;
  width: 68px;
  height: 68px
}

.heat-legend {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 6px;
  align-items: center;
  font-size: .56rem;
  color: #eee
}

.heat-legend i {
  grid-row: span 2;
  width: 6px;
  height: 55px;
  background: linear-gradient(#f22, #ff9700, #1d46ff)
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto
}

.mini-metrics div {
  padding: 10px;
  background: #111
}

.mini-metrics small,
.mini-metrics em {
  display: block;
  font-size: .57rem;
  color: #948b85;
  font-style: normal
}

.mini-metrics strong {
  font-size: 1.16rem;
  display: block;
  margin: 5px 0
}

.project-bottom-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 20px;
  margin-top: 20px;
  position: relative
}

.role-card,
.prototype-card {
  background: #1a1a1a;
  padding: 30px
}

.role-card h3 {
  font-size: 1.7rem
}

.check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: #d6d0cb;
  font-size: .83rem;
  line-height: 1.45
}

.check-list li {
  padding-left: 20px;
  position: relative
}

.check-list li::before {
  content: "✓";
  color: #ff5d5d;
  position: absolute;
  left: 0;
  font-weight: 700
}

.prototype-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: center
}

.prototype-card>img {
  height: auto;
  max-height: 185px;
  width: 100%;
  object-fit: contain;
  background-color: #ffffff; /* match white background of the slide */
  border-radius: 4px;
}

.prototype-card p {
  color: #c6bfb9;
  line-height: 1.6;
  font-size: .82rem
}

.leadership-wrap {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 42px;
  align-items: start
}

.leadership-intro {
  position: sticky;
  top: 28px
}

.leadership-intro h2 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 20px
}

.leadership-intro>p:last-child {
  line-height: 1.7;
  max-width: 360px;
  color: #4b4642
}

.leadership-grid {
  display: grid;
  gap: 18px
}

.lead-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  min-height: 210px;
  transition: .25s
}

.lead-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .09)
}

.lead-card>img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 22%
}

.lead-card>div {
  padding: 29px
}

.lead-card h3 {
  font-size: 1.42rem;
  margin: 10px 0
}

.lead-card h3 span {
  font-size: .85rem;
  color: var(--red);
  letter-spacing: 0
}

.lead-card p:last-child {
  font-size: .83rem;
  line-height: 1.65;
  color: #564f4a;
  margin-bottom: 0
}

.impact-strip {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: #fff;
  margin-top: 24px
}

.impact-strip div {
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, .2)
}

.impact-strip div:last-child {
  border-right: 0
}

.impact-strip strong {
  font-family: "Space Grotesk", sans-serif;
  display: block;
  font-size: 2rem;
  color: #ff4d4d
}

.impact-strip span {
  display: block;
  max-width: 210px;
  font-size: .72rem;
  line-height: 1.5;
  color: #c9c3bf;
  margin-top: 5px
}

.awards {
  background: #ebe7e1
}

.awards-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px
}

.awards-head>p {
  max-width: 390px;
  line-height: 1.65;
  color: #534d49
}

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

.award-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  transition: .25s;
  display: flex;
  flex-direction: column
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, .1)
}

.award-img-wrap {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #fbf9f6
}

.award-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease
}

/* Zoom & position adjustments to eliminate excess margins and avoid cutting off top content */
.award-grid figure:nth-child(1) img {
  object-position: center 10%
}

.award-card:hover img {
  transform: scale(1.06)
}

/* Giay Khen Đoàn */
.award-grid figure:nth-child(2) img {
  transform: scale(1.15);
  object-position: center 8%
}

.award-grid figure:nth-child(2):hover img {
  transform: scale(1.22)
}

/* Bang Khen Tiep Suc Mua Thi */
.award-grid figure:nth-child(3) img {
  transform: scale(1.24);
  object-position: center 9%
}

.award-grid figure:nth-child(3):hover img {
  transform: scale(1.31)
}

.award-card figcaption {
  padding: 18px;
  background: #fff;
  position: relative;
  z-index: 2
}

.award-card b {
  display: block;
  font-size: .87rem
}

.award-card span {
  display: block;
  font-size: .7rem;
  color: #807972;
  margin-top: 5px
}

.skills {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 50px
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.skills-grid article {
  padding: 24px 22px 30px;
  border-right: 1px solid var(--line)
}

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

.skills-grid h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  margin: 0 0 18px
}

.skills-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px
}

.skills-grid li {
  font-size: .8rem;
  line-height: 1.35;
  color: #514b47
}

.skills-grid li::before {
  content: "—";
  color: var(--red);
  font-weight: 700;
  margin-right: 7px
}

.contact-section {
  background: var(--ink);
  color: #fff;
  padding-top: 104px
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: end
}

.contact-main h2 {
  font-size: clamp(3.4rem, 6vw, 6rem);
  margin: 0 0 20px
}

.contact-main>p {
  max-width: 590px;
  color: #d1cbc7;
  line-height: 1.7;
  margin-bottom: 26px
}

.contact-info {
  border-left: 1px solid rgba(255, 255, 255, .2);
  padding-left: 36px;
  display: grid;
  gap: 20px
}

.contact-info a {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  word-break: break-word
}

.contact-info span {
  display: block;
  font-size: .61rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #ff7777;
  margin-bottom: 4px
}

.footer-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 24px;
  margin-top: 62px;
  border-top: 1px solid rgba(255, 255, 255, .17);
  font-size: .67rem;
  color: #a8a09a
}

.footer-line a {
  color: #fff;
  font-weight: 700
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none
}

.delay-1 {
  transition-delay: .12s
}

.delay-2 {
  transition-delay: .22s
}

@media (max-width:980px) {
  .main-nav {
    gap: 15px
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-left: 0;
    padding-right: 0
  }

  .hero-content {
    padding: 96px max(24px, calc((100vw - min(1220px, calc(100vw - 48px)))/2)) 44px
  }

  .hero-visual {
    min-height: 520px
  }

  .hero-photo-wrap {
    inset: 0;
    clip-path: none
  }

  .hero-photo-wrap::after {
    background: linear-gradient(0deg, #0d0d0d, transparent 55%)
  }

  .hero-curve {
    right: -110px;
    top: -470px
  }

  .about-grid {
    grid-template-columns: 1fr 1fr
  }

  .road-quote {
    grid-column: 1/-1;
    min-height: 280px
  }

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

  .leadership-wrap {
    grid-template-columns: 1fr
  }

  .leadership-intro {
    position: static
  }

  .leadership-grid {
    grid-template-columns: 1fr 1fr
  }

  .impact-strip {
    grid-column: 1/-1
  }

  .skills {
    grid-template-columns: 1fr
  }

  .contact-grid {
    gap: 40px
  }

  .hero-stats {
    max-width: none
  }
}

@media (max-width:760px) {
  :root {
    --shell: min(100% - 34px, 1220px)
  }

  .site-header {
    height: 72px
  }

  .brand-name {
    display: none
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    padding: 16px;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .12);
    flex-direction: column;
    align-items: stretch
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    padding: 9px 0
  }

  .header-cta {
    display: none
  }

  .menu-toggle {
    display: block
  }

  .hero-content {
    padding: 68px 17px 34px
  }

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

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

  .hero-stats div:nth-child(2) {
    border-right: 0
  }

  .hero-stats div:nth-child(3) {
    border-bottom: 0
  }

  .hero-visual {
    min-height: 420px
  }

  .hero-photo-wrap img {
    object-position: center 55%
  }

  .section-padding {
    padding: 82px 0
  }

  .about-grid,
  .leadership-grid {
    grid-template-columns: 1fr
  }

  .about-copy {
    padding-right: 0
  }

  .profile-card {
    min-height: 390px
  }

  .road-quote {
    min-height: 240px
  }

  .project-heading,
  .awards-head {
    align-items: start;
    flex-direction: column
  }

  .project-overview {
    grid-template-columns: 1fr
  }

  .project-image {
    height: auto;
    aspect-ratio: 16 / 9;
    background-color: #060713;
  }

  .project-detail {
    padding: 26px
  }

  .heatmap-card {
    min-height: 350px
  }

  .prototype-card {
    grid-template-columns: 1fr
  }

  .prototype-card>img {
    height: auto;
    max-height: 210px;
  }

  .lead-card {
    grid-template-columns: 118px 1fr
  }

  .lead-card>div {
    padding: 20px
  }

  .impact-strip {
    grid-template-columns: 1fr
  }

  .impact-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
  }

  .award-grid {
    grid-template-columns: 1fr
  }

  .award-card img {
    height: 260px
  }

  .skills-grid {
    grid-template-columns: 1fr
  }

  .skills-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .skills-grid article:last-child {
    border-bottom: 0
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .contact-info {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding: 25px 0 0
  }

  .footer-line {
    align-items: start;
    flex-direction: column
  }

  .hero-actions {
    gap: 9px
  }

  .btn {
    padding: 13px 14px
  }
}

/* ===== SIGNATURE: VỊ TRÍ SAU KHI TỰ TÁCH NỀN ===== */
.signature {
  position: absolute;
  right: -8%;
  bottom: 1.5%;
  width: clamp(250px, 28vw, 440px);
  z-index: 4;
  transform: rotate(-7deg);
  pointer-events: none;
}

.signature::after {
  content: none;
}

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

/* Tablet */
@media (max-width: 980px) {
  .signature {
    right: 3%;
    bottom: 10%;
    width: clamp(220px, 44vw, 340px);
    transform: rotate(-7deg);
  }
}

/* Mobile */
@media (max-width: 760px) {
  .signature {
    right: 3%;
    bottom: 8%;
    width: min(72%, 280px);
    transform: rotate(-6deg);
  }
}

/* =====================================================
   ENHANCED MOTION SYSTEM
   Purpose: tasteful movement that supports the content,
   while remaining lightweight and accessible.
===================================================== */
:root {
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

html {
  scroll-padding-top: 100px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  background: rgba(233, 43, 43, .08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e92b2b, #ff7777);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  box-shadow: 0 0 14px rgba(233, 43, 43, .55);
}

/* Sticky navigation gets a subtle glass surface once scrolling begins. */
.site-header {
  position: sticky;
  top: 0;
  isolation: isolate;
  transition: height .35s var(--ease-soft), box-shadow .35s ease, background-color .35s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -100vmax;
  background: rgba(246, 244, 240, .94);
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

.site-header.is-scrolled {
  height: 74px;
}

.site-header.is-scrolled::before {
  background: rgba(246, 244, 240, .86);
  box-shadow: 0 8px 24px rgba(13, 13, 13, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.main-nav a {
  transition: color .25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

/* Hero entrance sequence */
.hero-content.hero-enter > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  animation: heroContentIn .78s var(--ease-out-expo) forwards;
}

.hero-content.hero-enter > :nth-child(1) { animation-delay: .08s; }
.hero-content.hero-enter > :nth-child(2) { animation-delay: .16s; }
.hero-content.hero-enter > :nth-child(3) { animation-delay: .28s; }
.hero-content.hero-enter > :nth-child(4) { animation-delay: .40s; }
.hero-content.hero-enter > :nth-child(5) { animation-delay: .52s; }

.hero-visual.hero-visual-enter {
  opacity: 0;
  transform: translate3d(34px, 0, 0);
  animation: heroVisualIn 1s var(--ease-out-expo) .28s forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 31%, rgba(255, 255, 255, .06) 42%, transparent 53%);
  transform: translateX(-120%);
  animation: heroSweep 6.2s ease-in-out 1.3s infinite;
}

.hero-content .eyebrow {
  letter-spacing: .20em;
}

.hero-content h1 span {
  display: inline-block;
  animation: impactGlow 2.8s ease-in-out 1.25s infinite;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  right: 4%;
  top: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 43, 43, .20) 0%, rgba(233, 43, 43, .06) 38%, transparent 70%);
  filter: blur(1px);
  z-index: 1;
  animation: glowBreathe 5s ease-in-out infinite;
}

.hero-photo-wrap {
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(1.01);
  transition: transform .55s var(--ease-soft);
  will-change: transform;
}

.hero-photo-wrap img {
  animation: photoBreathe 14s ease-in-out infinite alternate;
  transform-origin: center center;
}

.hero-curve {
  animation: curveFloat 11s ease-in-out infinite;
}

.hero-spark {
  position: absolute;
  z-index: 3;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .09), 0 0 24px 4px rgba(233, 43, 43, .8);
  animation: sparkPulse 2.8s ease-in-out infinite;
}

.spark-one { top: 21%; right: 18%; animation-delay: .2s; }
.spark-two { top: 46%; right: 6%; width: 5px; height: 5px; animation-delay: 1.1s; }
.spark-three { bottom: 27%; right: 30%; width: 5px; height: 5px; animation-delay: 1.8s; }

.signature {
  opacity: 0;
  animation: signatureEnter .9s var(--ease-out-expo) .72s forwards;
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  left: 7%;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .75);
  opacity: 0;
  animation: cueEnter .8s var(--ease-out-expo) 1.2s forwards;
}

.scroll-cue span {
  display: block;
  width: 19px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  position: relative;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: var(--red);
  animation: scrollDot 1.75s ease-in-out infinite;
}

.scroll-cue small {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* Stronger and more organic section reveals */
.reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, 28px, 0) scale(.985);
  transition: opacity .78s var(--ease-out-expo), transform .78s var(--ease-out-expo), filter .65s ease;
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

/* Hover motion for major visual cards */
.motion-card {
  will-change: transform, box-shadow;
}

@media (hover: hover) and (pointer: fine) {
  .profile-card,
  .road-quote,
  .project-overview,
  .heatmap-card,
  .role-card,
  .prototype-card,
  .lead-card,
  .award-card {
    transition: transform .42s var(--ease-soft), box-shadow .42s ease, border-color .42s ease;
  }

  .profile-card:hover,
  .road-quote:hover,
  .project-overview:hover,
  .heatmap-card:hover,
  .role-card:hover,
  .prototype-card:hover,
  .lead-card:hover,
  .award-card:hover {
    transform: translateY(-8px);
  }

  .profile-card:hover,
  .road-quote:hover,
  .lead-card:hover,
  .award-card:hover {
    box-shadow: 0 22px 44px rgba(0, 0, 0, .14);
  }

  .project-overview:hover,
  .heatmap-card:hover,
  .role-card:hover,
  .prototype-card:hover {
    box-shadow: 0 20px 44px rgba(0, 0, 0, .30);
  }

  .profile-card:hover > img,
  .road-quote:hover img,
  .lead-card:hover > img,
  .prototype-card:hover > img {
    transform: scale(1.045);
  }

  .profile-card > img,
  .road-quote img,
  .lead-card > img,
  .prototype-card > img {
    transition: transform .72s var(--ease-soft), filter .52s ease;
  }

  .road-quote:hover img {
    filter: grayscale(.35);
    opacity: .86;
  }

  .tag-row span,
  .skills-grid li {
    transition: color .25s ease, border-color .25s ease, transform .25s ease;
  }

  .tag-row span:hover {
    color: #fff;
    border-color: #ff7777;
    transform: translateY(-2px);
  }
}

/* Project analytics pulse and scan animation */
.project-section::before {
  animation: projectOrbit 18s linear infinite;
}

.heatmap-stage::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 111, 111, .12), transparent);
  transform: translateX(-130%);
  animation: heatScan 5.6s ease-in-out infinite;
}

.dot-a { animation: heatPulse 3.6s ease-in-out .2s infinite; }
.dot-b { animation: heatPulse 4.1s ease-in-out 1s infinite; }
.dot-c { animation: heatPulse 3.9s ease-in-out 1.7s infinite; }
.dot-d { animation: heatPulse 3.2s ease-in-out .8s infinite; }
.dot-e { animation: heatPulse 4.4s ease-in-out 2.2s infinite; }

.heat-legend i {
  background-size: 100% 180%;
  animation: legendFlow 3.5s linear infinite;
}

.mini-metrics div {
  transition: background-color .3s ease, transform .3s var(--ease-soft);
}

@media (hover: hover) and (pointer: fine) {
  .mini-metrics div:hover {
    transform: translateY(-3px);
    background: #262626;
  }
}

/* Section details with gentle, ongoing motion */
.impact-strip strong {
  text-shadow: 0 0 0 rgba(255, 77, 77, 0);
  animation: numberGlow 3.6s ease-in-out infinite;
}

.impact-strip div:nth-child(2) strong { animation-delay: .8s; }
.impact-strip div:nth-child(3) strong { animation-delay: 1.6s; }

.skills-grid article {
  position: relative;
  overflow: hidden;
}

.skills-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease-out-expo);
}

.skills-grid article:hover::before {
  transform: scaleX(1);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 8%, rgba(233, 43, 43, .18), transparent 25%), radial-gradient(circle at 86% 80%, rgba(233, 43, 43, .08), transparent 22%);
  opacity: .95;
  animation: contactGlow 8s ease-in-out infinite alternate;
}

.contact-section,
.contact-grid,
.footer-line {
  position: relative;
}

/* Keyframes */
@keyframes heroContentIn {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes heroVisualIn {
  from { opacity: 0; transform: translate3d(34px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes heroSweep {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(130%); }
}

@keyframes impactGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(233, 43, 43, 0); }
  50% { text-shadow: 0 0 24px rgba(233, 43, 43, .42); }
}

@keyframes glowBreathe {
  0%, 100% { transform: scale(.92); opacity: .55; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes photoBreathe {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes curveFloat {
  0%, 100% { transform: rotate(20deg) translate3d(0, 0, 0); }
  50% { transform: rotate(16deg) translate3d(-12px, 10px, 0); }
}

@keyframes sparkPulse {
  0%, 100% { transform: scale(.72); opacity: .35; }
  50% { transform: scale(1.25); opacity: 1; }
}

@keyframes signatureEnter {
  from { opacity: 0; transform: translate3d(36px, 20px, 0) rotate(-7deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(-7deg); }
}

@keyframes cueEnter {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 0; }
  25% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(-50%, 13px); opacity: 0; }
}

@keyframes projectOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heatScan {
  0%, 22% { transform: translateX(-130%); opacity: 0; }
  32% { opacity: 1; }
  74% { opacity: .8; }
  100% { transform: translateX(350%); opacity: 0; }
}

@keyframes heatPulse {
  0%, 100% { transform: scale(.90); opacity: .72; }
  50% { transform: scale(1.14); opacity: 1; }
}

@keyframes legendFlow {
  from { background-position: center top; }
  to { background-position: center bottom; }
}

@keyframes numberGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(255, 77, 77, 0); }
  50% { text-shadow: 0 0 18px rgba(255, 77, 77, .45); }
}

@keyframes contactGlow {
  from { transform: scale(1) translate3d(0, 0, 0); opacity: .65; }
  to { transform: scale(1.08) translate3d(1%, -1%, 0); opacity: 1; }
}

@media (max-width: 980px) {
  .site-header.is-scrolled { height: 70px; }
  .scroll-cue { left: 6%; bottom: 22px; }
  .hero-glow { right: 12%; top: 18%; }
}

@media (max-width: 760px) {
  .site-header::before { inset-inline: -30px; }
  .site-header.is-scrolled { height: 64px; }
  .hero-content.hero-enter > * { animation-duration: .68s; }
  .hero-visual.hero-visual-enter { animation-duration: .8s; }
  .hero-glow { width: 220px; height: 220px; right: 3%; top: 10%; }
  .hero-spark { display: none; }
  .scroll-cue { left: 5%; bottom: 14px; }
  .scroll-cue small { display: none; }
  .project-section::before { animation-duration: 26s; }
}

/* Respect visitors who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .hero-content.hero-enter > *,
  .hero-visual.hero-visual-enter,
  .signature,
  .scroll-cue {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
