/* ═══════════ CSS CUSTOM PROPERTIES ═══════════ */
:root {
  --bg: #0a0a0f;
  --bg-alt: #0e0e14;
  --ink: #ffffff;
  --muted: #8a8a9a;
  --accent: #ccff00;
  --accent-dim: rgba(204, 255, 0, 0.12);
  --accent-glow: rgba(204, 255, 0, 0.25);
  --line: rgba(255, 255, 255, 0.08);
  --transition-page: 0.85s cubic-bezier(0.65, 0, 0.35, 1);
  --font-body: "Syne", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", sans-serif;
}

/* ═══════════ RESET ═══════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* Noise overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }

/* ═══════════ TOP BAR ═══════════ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
  pointer-events: none;
  transition: opacity 0.6s ease 0.1s;
}

.top-bar > * { pointer-events: auto; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 36px;
  padding: 4px 0;
  z-index: 110;
  transition: opacity 0.3s;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.top-logo {
  z-index: 110;
}

.top-logo svg {
  height: 30px;
  width: auto;
}

/* ═══════════ NAV ARROWS ═══════════ */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  padding: 16px 8px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.nav-arrow:hover { opacity: 1; }
.nav-arrow--prev { left: 8px; }
.nav-arrow--next { right: 8px; }
.nav-arrow[disabled] { opacity: 0; pointer-events: none; }

/* ═══════════ PAGE INDICATOR ═══════════ */
.page-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 12px;
  transition: opacity 0.6s ease 0.1s;
}

.page-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.page-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════ SLIDER ═══════════ */
.slider {
  display: flex;
  width: 400vw;
  height: 100vh;
  transition: transform var(--transition-page);
}

.page {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.page__scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.page__scroll::-webkit-scrollbar { width: 0; }

/* ═══════════ HERO SECTION ═══════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 1s ease 0.1s, transform 1.2s ease 0.1s;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.2) 40%, rgba(10, 10, 15, 0.15) 100%),
    linear-gradient(to top, rgba(10, 10, 15, 0.85) 0%, transparent 35%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: auto;
  margin-right: 8vw;
  text-align: left;
}

.hero__greeting {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero__name {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.hero__role-wrapper {
  height: 2.5rem;
  overflow: hidden;
  margin-top: 12px;
  transition: opacity 0.6s ease 0.6s;
}

.hero__role {
  display: inline-block;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--accent);
  transition: opacity 0.4s, transform 0.4s;
}

#typingText {
  border-right: 2px solid var(--accent);
  padding-right: 4px;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero__intro {
  margin-top: 24px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  max-width: 500px;
  transition: opacity 0.6s ease 0.7s;
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  transition: opacity 0.6s ease 0.9s;
}

/* ═══════════ BUTTONS ═══════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════ HERO ARROW HINT ═══════════ */
.hero__arrow-hint {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  padding: 16px;
  opacity: 0.4;
  transition: opacity 0.3s;
  animation: pulseRight 2.5s ease-in-out infinite;
}

.hero__arrow-hint:hover { opacity: 1; }

@keyframes pulseRight {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(10px); }
}

/* ═══════════ SECTION LABELS ═══════════ */
.section__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__heading {
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

/* ═══════════ WORK GRID (MOSAIC) ═══════════ */
.work-section {
  padding: 80px 0 0;
}

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

.work-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.work-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.5);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.work-card:hover .work-card__overlay { opacity: 1; }

.work-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  transform: translateY(10px);
  transition: transform 0.4s ease;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

.work-card:hover .work-card__title { transform: translateY(0); }

/* ═══════════ PROJECT MODAL ═══════════ */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.project-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.project-modal__container {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  margin: 5vh auto;
  padding: 0 40px;
  z-index: 201;
}

.project-modal__scroll {
  overflow-y: auto;
  max-height: 80vh;
  padding-right: 16px;
}

.project-modal__scroll::-webkit-scrollbar { width: 3px; }
.project-modal__scroll::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

.project-modal__close {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 210;
  padding: 8px;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
}

.project-modal__close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.project-modal__cover {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.project-modal__cover img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.project-modal__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}

.project-modal__desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  max-width: 700px;
}

.project-modal__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.project-modal__gallery img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.project-modal__video {
  margin-bottom: 40px;
}

.project-modal__video iframe,
.project-modal__video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 4px;
}

/* ═══════════ RESUME SECTION ═══════════ */
.resume-section {
  padding: 100px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.resume-layout {
  margin-top: 40px;
}

.resume-header {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.resume-header__name {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
}

.resume-header__title {
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 8px;
  font-weight: 500;
}

.resume-header__location {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 8px;
}

.resume-header__cv-link {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.resume-header__cv-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.resume-block {
  margin-bottom: 50px;
}

.resume-block__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
}

.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 1px solid rgba(204, 255, 0, 0.2);
}

.timeline__entry {
  position: relative;
  margin-bottom: 40px;
  padding-left: 20px;
}

.timeline__entry::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.timeline__year {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.timeline__role {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 6px;
}

.timeline__company {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 4px;
}

.timeline__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  max-width: 500px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  padding: 8px 20px;
  border: 1px solid rgba(204, 255, 0, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.awards-list {
  display: grid;
  gap: 24px;
}

.award-entry {
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.award-entry__year {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.award-entry__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 4px;
}

.award-entry__desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-entry {
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  background: rgba(204, 255, 0, 0.03);
  border-radius: 0 8px 8px 0;
}

.project-entry__title {
  font-size: 0.95rem;
  font-weight: 600;
}

.project-entry__desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ═══════════ CONTACT / LET'S TALK ═══════════ */
.contact-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
}

.contact-layout {
  max-width: 700px;
  margin: 40px auto 0;
  width: 100%;
}

.contact-text__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.contact-text__sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 12px;
}

.contact-form {
  margin-top: 48px;
}

.form-group {
  position: relative;
  margin-bottom: 32px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
}

.form-group label {
  position: absolute;
  left: 0;
  top: 16px;
  font-size: 1rem;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.3s;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  margin-top: 16px;
  width: 100%;
}

.contact-info {
  margin-top: 48px;
  text-align: center;
}

.contact-info__email {
  display: inline-block;
  font-size: 1rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.contact-info__email:hover { color: var(--accent); }

.contact-info__social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.contact-info__social a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

.contact-info__social a:hover { color: var(--accent); }

/* ═══════════ MENU OVERLAY ═══════════ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9998;
  background: rgba(8, 8, 16, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow: hidden;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100vw;
  max-height: 100vh;
  padding: 20px;
}

.menu-link {
  font-size: clamp(1.8rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #ffffff;
  transition: opacity 0.3s, color 0.3s;
  letter-spacing: -0.02em;
}

.menu-link:hover {
  opacity: 0.5;
  color: var(--accent);
}

.menu-overlay__social {
  margin-top: 40px;
  display: flex;
  gap: 30px;
  justify-content: center;
}

.menu-overlay__social a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

.menu-overlay__social a:hover { color: var(--accent); }

/* ═══════════ SCROLL REVEAL ANIMATIONS ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal--right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.revealed,
.reveal--left.revealed,
.reveal--right.revealed,
.reveal--scale.revealed {
  opacity: 1;
  transform: none;
}

/* ═══════════ PAGE LOAD SEQUENCE ═══════════ */
body.loading .top-bar,
body.loading .hero__content,
body.loading .hero__arrow-hint,
body.loading .nav-arrow,
body.loading .page-indicator {
  opacity: 0;
}

body.loading .hero__bg-img {
  opacity: 0;
  transform: scale(1.05);
}

body.loading .hero__name {
  opacity: 0;
  transform: translateY(20px);
}

body.loading .hero__role-wrapper {
  opacity: 0;
}

body.loading .hero__intro {
  opacity: 0;
}

body.loading .hero__cta {
  opacity: 0;
}

body.loading .hero__glow {
  opacity: 0;
}

/* ═══════════ CUSTOM CURSOR ═══════════ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, transform 0.15s ease-out;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.cursor-ring.hover {
  width: 54px;
  height: 54px;
  border-color: rgba(255, 255, 255, 0.2);
}

.cursor-dot.hover {
  opacity: 0.5;
  transform: translate(-50%, -50%) scale(0.5);
}

.cursor-hidden {
  display: none;
}

/* ═══════════ SCROLL PROGRESS ═══════════ */
.scroll-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), rgba(204, 255, 0, 0.5));
  z-index: 100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ═══════════ KEYFRAMES ═══════════ */
@keyframes glowDrift {
  0% { opacity: 0.65; transform: scale(1) translate(0, 0); }
  33% { opacity: 0.85; transform: scale(1.03) translate(10px, -5px); }
  66% { opacity: 0.75; transform: scale(1.06) translate(-8px, 8px); }
  100% { opacity: 1; transform: scale(1.04) translate(5px, -3px); }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__content { max-width: 600px; }
}

@media (max-width: 768px) {
  body::after { display: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .nav-arrow { padding: 12px 4px; }

  .hero { padding: 0 24px; align-items: flex-end; padding-bottom: 14vh; }
  .hero__content {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__overlay {
    background:
      linear-gradient(to bottom, transparent 45%, rgba(10, 10, 15, 0.85) 65%, rgba(10, 10, 15, 0.97) 80%);
  }
  .hero__intro { display: none; }
  .hero__cta { justify-content: center; margin-top: 16px; }
  .btn-primary, .btn-outline { padding: 10px 24px; font-size: 0.75rem; }
  .hero__arrow-hint { display: none; }
  .hero__bg-img { object-position: 25% 15%; }

  .work-grid { grid-template-columns: 1fr; }
  .work-section { padding: 60px 0 80px; }

  .resume-section,
  .contact-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .project-modal__container { padding: 0 16px; margin: 0; max-height: 100vh; }
  .project-modal__scroll { max-height: 95vh; padding: 24px 0; }

  .section__label { margin-bottom: 12px; }
  .top-bar { padding: 20px 24px; }
  .slider { transition-duration: 0.55s; }
  .work-card__overlay { opacity: 1; }

  .contact-info__social { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero__bg-img { object-position: 25% 15%; }
  .hero__name { font-size: 2rem; }
  .hero__role { font-size: 1.1rem; }
  .work-grid { grid-template-columns: 1fr; }
  .resume-section { padding: 60px 20px; }
  .timeline { padding-left: 20px; }
  .timeline__entry { padding-left: 12px; }
  .timeline__entry::before { left: -26px; width: 8px; height: 8px; }
  .contact-section { padding: 60px 20px; }
}
