@charset "UTF-8";

:root {
  --bg: #211f1c;
  --bg-soft: #2a2724;
  --bg-card: rgba(42, 39, 36, 0.84);
  --panel: rgba(48, 44, 39, 0.9);
  --panel-strong: #302c27;
  --text: #f4f1ea;
  --muted: #a39d90;
  --heading: #fbf6ed;
  --line: rgba(244, 241, 234, 0.14);
  --line-strong: rgba(244, 241, 234, 0.28);
  --accent: #b08d57;
  --accent-2: #d0af72;
  --accent-3: #c8a46a;
  --success: #b08d57;
  --shadow: 0 28px 60px rgba(13, 11, 9, 0.36);
  --body-background: radial-gradient(80% 60% at 12% 0%, rgba(176, 141, 87, 0.22), transparent 42%), linear-gradient(160deg, rgba(50, 45, 38, 0.52), transparent 45%), var(--bg);
  --menu-background: rgba(33, 31, 28, 0.86);
  --menu-active-background: rgba(33, 31, 28, 0.92);
  --header-background: radial-gradient(120% 90% at 78% 8%, rgba(176, 141, 87, 0.26), transparent 52%), linear-gradient(160deg, #302c27 0%, #211f1c 64%, #171511 100%);
  --card-surface: rgba(42, 39, 36, 0.72);
  --card-gradient: linear-gradient(150deg, rgba(48, 44, 39, 0.96), rgba(33, 31, 28, 0.98));
  --highlight-gradient: linear-gradient(180deg, rgba(48, 44, 39, 0.82), rgba(42, 39, 36, 0.68));
  --toolbar-background: rgba(23, 21, 17, 0.56);
  --contact-gradient: linear-gradient(135deg, rgba(48, 44, 39, 0.9), rgba(33, 31, 28, 0.72));
  --mobile-background: rgba(33, 31, 28, 0.96);
  --serif: 'Bodoni Moda', serif;
  --sans: 'Archivo', sans-serif;
}

[data-theme="light"] {
  --bg: #f6f3ed;
  --bg-soft: #ebe6dc;
  --bg-card: rgba(255, 255, 255, 0.9);
  --panel: rgba(255, 255, 255, 0.94);
  --panel-strong: #ffffff;
  --text: #302b24;
  --muted: #6e665b;
  --heading: #181511;
  --line: rgba(35, 29, 22, 0.13);
  --line-strong: rgba(35, 29, 22, 0.25);
  --accent: #956623;
  --accent-2: #a8752c;
  --accent-3: #80571e;
  --shadow: 0 22px 52px rgba(49, 39, 27, 0.11);
  --body-background: radial-gradient(80% 60% at 12% 0%, rgba(186, 145, 79, 0.17), transparent 43%), linear-gradient(160deg, rgba(232, 220, 200, 0.46), transparent 46%), var(--bg);
  --menu-background: rgba(246, 243, 237, 0.9);
  --menu-active-background: rgba(246, 243, 237, 0.96);
  --header-background: radial-gradient(100% 85% at 82% 8%, rgba(184, 141, 72, 0.2), transparent 52%), linear-gradient(155deg, #ffffff 0%, #eee8dc 62%, #e3dbcd 100%);
  --card-surface: rgba(255, 255, 255, 0.88);
  --card-gradient: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(238, 233, 223, 0.98));
  --highlight-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 231, 220, 0.84));
  --toolbar-background: rgba(229, 222, 210, 0.55);
  --contact-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 225, 213, 0.86));
  --mobile-background: rgba(246, 243, 237, 0.98);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(176, 141, 87, 0.16);
  }
  50% {
    box-shadow: 0 0 25px rgba(176, 141, 87, 0.2);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--body-background);
  color: var(--text);
  line-height: 1.7;
  transition: background 0.25s ease, color 0.25s ease;
}

html[lang="bn"] body,
html[lang="bn"] button,
html[lang="bn"] input {
  font-family: 'Noto Sans Bengali', var(--sans);
}

body, p, li, dl, dd, dt {
  font-size: 1rem;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
}

.section {
  padding-top: 90px;
  padding-bottom: 90px;
  scroll-margin-top: 92px;
  animation: fadeUp 0.8s ease both;
}

.section--compact {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section__title {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 500;
  letter-spacing: 0;
}

body .section__title,
body .resume-list_title,
body .progress-list__title,
body .project-card__title,
body .highlight-card h3 {
  font-family: var(--serif) !important;
}

.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 92px;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
}

.section__description {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 90ch;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  opacity: 1;
  margin: 0;
}

.menu {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--menu-background);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.menu.menu--active,
.mobile-menu.mobile-menu--active {
  background: var(--menu-active-background);
  box-shadow: none;
}

.menu nav,
.mobile-menu nav {
  margin-bottom: 0;
  font-family: var(--sans) !important;
  text-transform: none !important;
}

.menu nav ul li a,
.mobile-menu__wrapper ul li a {
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  text-transform: none !important;
}

.menu.menu--active .menu__wrapper a,
.menu.menu--active .menu__mobile-button {
  color: var(--muted) !important;
}

.menu.menu--active .menu__wrapper a:hover,
.menu.menu--active .menu__mobile-button:hover {
  color: var(--heading) !important;
}

.menu .menu__wrapper,
.menu.menu--active .menu__wrapper {
  margin-top: 0;
  padding: 16px 0;
}

.menu nav {
  position: relative;
}

.site-preferences {
  position: absolute;
  right: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.preference-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--card-surface);
  color: var(--heading);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.preference-button:hover,
.preference-button:focus-visible {
  border-color: var(--accent);
  background: var(--panel-strong);
  outline: none;
}

.menu nav ul,
.mobile-menu__wrapper ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu nav ul li a,
.mobile-menu__wrapper ul li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.menu nav ul li a::after,
.mobile-menu__wrapper ul li a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.menu nav ul li a:hover,
.mobile-menu__wrapper ul li a:hover,
.menu nav ul li a:focus,
.mobile-menu__wrapper ul li a:focus {
  color: var(--heading);
}

.menu nav ul li a:hover::after,
.mobile-menu__wrapper ul li a:hover::after {
  transform: scaleX(1);
}

header {
  position: relative;
  overflow: hidden;
  background: var(--header-background);
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--line);
}

header::before,
header::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

header::before {
  inset: 36px 44px auto auto;
  width: 32%;
  height: 1px;
  background: var(--line-strong);
}

header::after {
  right: 9%;
  bottom: 52px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(176, 141, 87, 0.32);
}

.personal-profile {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  color: var(--text);
  font-family: var(--sans);
}

.personal-profile > .col-md-4,
.personal-profile > .col-md-8 {
  width: auto;
  max-width: none;
  flex: none;
}

.personal-profile__avatar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 0 18px;
}

.personal-profile__avatar::before {
  content: "";
  position: absolute;
  inset: 0 18px 26px 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  box-shadow: none;
  background:
    linear-gradient(180deg, rgba(176, 141, 87, 0.08), rgba(176, 141, 87, 0.02)),
    rgba(23, 21, 17, 0.72);
}

.personal-profile__avatar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  height: 42%;
  border-right: 1px solid rgba(176, 141, 87, 0.5);
  border-bottom: 1px solid rgba(176, 141, 87, 0.5);
  pointer-events: none;
}

.personal-profile__avatar img {
  position: relative;
  width: min(100%, 360px);
  max-width: 360px;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 2px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(12, 10, 8, 0.42);
  background: rgba(42, 39, 36, 0.72);
  filter: saturate(0.82) contrast(1.06) sepia(0.12);
  animation: floatCard 6s ease-in-out infinite;
}

.personal-profile__name {
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 500;
}

.personal-profile__work {
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 22px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  background: rgba(176, 141, 87, 0.08);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink, var(--heading));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.personal-profile__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  margin-bottom: 24px;
  border: 1px solid var(--line-strong);
  background: rgba(176, 141, 87, 0.08);
  border-radius: 2px;
  color: var(--heading);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.personal-profile__tag::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(176, 141, 87, 0.72);
}

.personal-profile__contacts {
  margin-bottom: 28px;
}

.contact-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1rem;
  max-width: 620px;
  margin: 0;
  align-items: baseline;
}

.contact-list dt {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.contact-list dd {
  margin: 0;
  color: var(--heading);
  font-size: 1rem;
  font-weight: 500;
}

.contact-list dd a {
  color: var(--heading);
  transition: color 0.2s ease;
}

.contact-list dd a:hover {
  color: var(--accent);
}

.personal-profile__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0 0 24px;
}

.personal-profile__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(42, 39, 36, 0.72);
  color: var(--heading);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.personal-profile__social a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 18px rgba(176, 141, 87, 0.14);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 18px 28px rgba(176, 141, 87, 0.14);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--heading);
}

.resume-list__block,
.project-card {
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.resume-list_title,
.progress-list__title {
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
  text-transform: capitalize;
}

.resume-list__block {
  padding: 30px 26px;
  margin-bottom: 22px;
}

.resume-list__block-title {
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.resume-list__block-date {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  margin-bottom: 1rem;
}

.resume-list__block p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.progress-list__skill {
  margin-bottom: 1.4rem;
}

.progress-list__skill p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
  color: var(--heading);
  font-weight: 600;
}

.progress-list__skill-title {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
}

.progress-list__skill-value {
  color: var(--accent-3);
  font-size: 0.8rem;
}

.progress {
  height: 10px;
  background: rgba(244, 241, 234, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 24px rgba(176, 141, 87, 0.16);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.highlight-card {
  padding: 26px 22px;
  border-radius: 2px;
  background: var(--highlight-gradient);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.8s ease both;
}

.highlight-card:hover {
  transform: translateY(-7px);
  border-color: var(--accent);
  box-shadow: 0 28px 52px rgba(176, 141, 87, 0.1);
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: rgba(176, 141, 87, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.highlight-card h3 {
  margin-bottom: 10px;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.portfolio-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 3rem;
  align-items: end;
  margin-bottom: 42px;
}

.portfolio-heading__copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.portfolio-heading__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-heading .section__title {
  display: block;
  margin-bottom: 28px;
}

.portfolio-heading__cta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--panel-strong);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.portfolio-heading__cta:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.portfolio-heading__cta span {
  color: var(--muted);
  font-size: 0.75rem;
}

.portfolio-heading__cta strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--heading);
  font-size: 0.9rem;
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--toolbar-background);
}

.portfolio-search {
  display: flex;
  align-items: center;
  flex: 1 1 310px;
  max-width: 380px;
  min-height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
}

.portfolio-search input {
  width: 100%;
  padding: 0 0 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--heading);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.portfolio-search input::placeholder {
  color: var(--muted);
}

.portfolio-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  overflow-x: auto;
  text-transform: none !important;
}

.portfolio-menu__link {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.portfolio-menu__link:hover,
.portfolio-menu__link--active {
  border-color: var(--line-strong);
  background: rgba(176, 141, 87, 0.12);
  color: var(--heading);
}

.portfolio-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.portfolio-results strong {
  color: var(--heading);
}

.portfolio-results__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.portfolio-results__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72b987;
  box-shadow: 0 0 0 4px rgba(114, 185, 135, 0.12);
}

.portfolio-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: grid;
  grid-template-rows: 210px minmax(0, 1fr);
  min-height: 520px;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.9s ease both;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(13, 11, 9, 0.38);
}

.project-card__img {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.project-card__img img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 2px;
  border: none;
  filter: saturate(0.76) contrast(1.05) sepia(0.1);
  transform: scale(1.01);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.project-card__img--amrantv {
  background: #18171c;
}

.amrantv-preview {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 34% 1fr;
  overflow: hidden;
  color: #f6f4f8;
  font-family: var(--sans);
  background: #18171c;
  transform: scale(1.01);
  transition: transform 0.5s ease;
}

.project-card:hover .amrantv-preview {
  transform: scale(1.06);
}

.amrantv-preview__sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 10px;
  border-right: 1px solid #5a5660;
  background: #1d1c21;
}

.amrantv-preview__sidebar strong {
  margin-bottom: 3px;
  font-size: 0.68rem;
}

.amrantv-preview__sidebar span,
.amrantv-preview__sidebar b {
  overflow: hidden;
  padding: 5px 6px;
  border: 1px solid #5a5660;
  border-radius: 2px;
  color: #a6a2ad;
  font-size: 0.42rem;
  font-weight: 500;
  white-space: nowrap;
}

.amrantv-preview__sidebar b {
  border-color: #6241a0;
  background: #593796;
  color: #fff;
}

.amrantv-preview__player {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #5c8fbd 0 22%, #1663c9 23% 100%);
}

.amrantv-preview__player::before,
.amrantv-preview__player::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.amrantv-preview__player::before {
  right: 13%;
  bottom: 18%;
  width: 48%;
  height: 43%;
}

.amrantv-preview__player::after {
  right: -7%;
  bottom: 27%;
  width: 27%;
  height: 26%;
  border-radius: 50%;
}

.amrantv-preview__score {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #14253d;
  font-family: monospace;
  font-size: 0.44rem;
  font-weight: 800;
}

.amrantv-preview__field {
  position: absolute;
  right: 27%;
  bottom: 37%;
  width: 7px;
  height: 14px;
  border-radius: 50%;
  background: #e8edf1;
  box-shadow: 30px -18px 0 #c94c43, 54px 11px 0 #e8edf1, 85px -8px 0 #c94c43;
}

.amrantv-preview__player small {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 3px 5px;
  background: #c72832;
  color: #fff;
  font-size: 0.42rem;
  font-weight: 800;
}

.project-card__img--reelvault {
  background: #08090a;
}

.reelvault-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 18px;
  color: #f4f4f1;
  font-family: var(--sans);
  background: linear-gradient(135deg, #090a0b 0%, #141416 58%, #2a170c 100%);
  transform: scale(1.01);
  transition: transform 0.5s ease;
}

.project-card:hover .reelvault-preview {
  transform: scale(1.06);
}

.reelvault-preview__nav,
.reelvault-preview__hero span,
.reelvault-preview__hero small {
  font-family: monospace;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}

.reelvault-preview__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #c7c7c3;
}

.reelvault-preview__nav span {
  color: #f19b25;
  font-size: 0.7rem;
  font-weight: 800;
}

.reelvault-preview__hero {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 52px;
}

.reelvault-preview__hero small {
  color: #f19b25;
}

.reelvault-preview__hero strong {
  max-width: 240px;
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.reelvault-preview__hero span {
  color: #bebeb8;
}

.reelvault-preview__shelf {
  position: absolute;
  right: 18px;
  bottom: 22px;
  left: 18px;
  display: flex;
  gap: 7px;
}

.reelvault-preview__shelf i {
  display: block;
  flex: 1;
  height: 68px;
  border: 1px solid rgba(241, 155, 37, 0.35);
  background: linear-gradient(145deg, #55534b, #18191a 62%);
}

.reelvault-preview__shelf i:nth-child(2) { background: linear-gradient(145deg, #84746c, #202020 62%); }
.reelvault-preview__shelf i:nth-child(3) { background: linear-gradient(145deg, #31554c, #111817 62%); }
.reelvault-preview__shelf i:nth-child(4) { background: linear-gradient(145deg, #6e4c2e, #1c1511 62%); }

.project-card:hover .project-card__img img {
  filter: saturate(0.92) contrast(1.08) sepia(0.06);
  transform: scale(1.06);
}

.project-card__img--aspire {
  background: linear-gradient(180deg, #061a44 0%, #123b83 55%, #7fb1ea 100%);
}

.aspire-preview {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 26px;
  color: #fff;
  font-family: var(--sans);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(79, 132, 229, 0.55), transparent 62%),
    linear-gradient(180deg, rgba(2, 17, 48, 0.12), rgba(2, 17, 48, 0.08));
  transform: scale(1.01);
  transition: transform 0.5s ease;
}

.project-card:hover .aspire-preview {
  transform: scale(1.06);
}

.aspire-preview__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 700;
}

.aspire-preview__brand {
  margin-right: auto;
  font-size: 0.82rem;
}

.aspire-preview__hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}

.aspire-preview__hero span {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aspire-preview__hero strong {
  max-width: 11ch;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.project-card .project-card__info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  padding: 22px;
  background: var(--card-gradient);
}

.project-card__info::before {
  content: var(--live-label, "Live product");
  position: absolute;
  top: -198px;
  left: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  background: rgba(20, 18, 16, 0.86);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card .project-card__title {
  margin-bottom: 12px;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0;
  max-width: none;
  text-wrap: balance;
}

.project-card__meta {
  display: block;
  align-items: center;
  padding: 0;
  margin-bottom: 0.45rem;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}

.project-card .project-card__description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.82rem;
  line-height: 1.65;
}

.project-card .project-card__stack {
  display: block;
  margin: auto 0 8px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.tags li {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(176, 141, 87, 0.08);
  color: var(--heading);
  font-size: 0.62rem;
  letter-spacing: 0;
  text-transform: none;
}

.project-card .project-card__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-top: auto;
  padding: 0 13px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: #171511;
  font-size: 0;
  font-weight: 700;
  text-indent: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.project-card .project-card__link::after {
  content: var(--live-action, "View live product  ↗");
  font-size: 0.72rem;
}

.project-card .project-card__link:hover {
  background: var(--accent-2);
  color: #171511;
}

.project-card[hidden] {
  display: none !important;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--contact-gradient);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease both;
}

.contact-cta::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.22), transparent 62%);
  pointer-events: none;
}

.contact-cta__eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.mobile-menu {
  position: fixed;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: var(--mobile-background);
  z-index: 1000;
  transform: translateX(100%) !important;
  transition: transform 0.28s ease;
  border-left: 1px solid var(--line);
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
  opacity: 0 !important;
}

.mobile-menu.is-open {
  transform: translateX(0) !important;
  pointer-events: auto;
  visibility: visible;
  opacity: 1 !important;
}

.mobile-menu__close {
  position: relative !important;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 1.2rem 0 2.6rem;
  color: var(--heading);
  font-size: 1.4rem;
  cursor: pointer;
  min-height: 64px;
}

.mobile-menu__close::before {
  content: "x";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--heading);
  font-family: var(--sans);
  font-size: 1.1rem;
  line-height: 1;
}

.mobile-menu__close span {
  display: none;
}

.mobile-menu .container {
  max-width: 100%;
  min-height: 100%;
  padding: 0 32px;
}

.mobile-menu__wrapper ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 1.5rem !important;
  width: 100%;
}

.mobile-menu__wrapper ul li {
  width: 100%;
}

.mobile-menu__wrapper ul li a {
  width: 100%;
  justify-content: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--heading) !important;
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1;
}

.mobile-menu .site-preferences {
  position: static;
  display: flex !important;
  width: 100%;
  gap: 10px;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .preference-button {
  flex: 1;
  height: 46px;
}

.menu__mobile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(42, 39, 36, 0.72);
  border-radius: 2px;
  color: var(--heading);
}

@media (max-width: 991px) {
  .personal-profile {
    display: block;
    text-align: center;
  }

  .personal-profile > .col-md-4,
  .personal-profile > .col-md-8 {
    width: 100%;
  }

  .personal-profile__avatar {
    display: flex !important;
    margin-bottom: 26px;
  }

  .personal-profile__avatar img {
    margin: 0 auto;
  }

  .hero-badges,
  .personal-profile__tag,
  .personal-profile__social,
  .hero-actions {
    justify-content: center;
  }

  .contact-list {
    justify-content: center;
    text-align: left;
    max-width: 100%;
  }

  .personal-profile__social,
  .hero-actions {
    justify-content: center;
  }

  .portfolio-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-cards .project-card {
    grid-column: span 1;
    grid-row: span 1;
  }

  .portfolio-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-heading__cta {
    max-width: 420px;
  }

  .portfolio-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-search {
    flex-basis: auto;
    max-width: none;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  header {
    padding-top: 72px;
    padding-bottom: 52px;
  }

  .personal-profile__avatar img {
    animation: none;
  }

  .personal-profile__name {
    font-size: 2.4rem;
    line-height: 1.06;
  }

  .personal-profile__work {
    letter-spacing: 0.08em;
    font-size: 0.7rem;
  }

  .hero-badges {
    gap: 0.5rem;
    margin-bottom: 18px;
  }

  .hero-badges span {
    font-size: 0.62rem;
    padding: 0.45rem 0.68rem;
  }

  .personal-profile__tag {
    width: 100%;
    justify-content: center;
    font-size: 0.68rem;
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 0.4rem 0;
  }

  .resume-list__block,
  .project-card {
    border-radius: 2px;
  }

  .project-card__img img {
    max-height: 260px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    padding: 24px 18px;
  }
}

@media (max-width: 575px) {
  .menu__wrapper {
    padding: 16px 0;
  }

  header {
    padding-top: 56px;
    padding-bottom: 42px;
  }

  .personal-profile__avatar img {
    width: min(88vw, 300px);
    max-width: 300px;
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .personal-profile__social {
    gap: 0.65rem;
  }

  .personal-profile__social a {
    width: 42px;
    height: 42px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .portfolio-cards {
    grid-template-columns: 1fr;
  }

  .portfolio-cards .project-card,
  .portfolio-cards .project-card:nth-child(1),
  .portfolio-cards .project-card:nth-child(4),
  .portfolio-cards .project-card:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .project-card {
    grid-template-rows: 200px minmax(0, 1fr);
    min-height: 500px;
  }

  .project-card__info {
    padding: 18px;
  }

  .project-card__info::before {
    top: -188px;
  }

  .portfolio-menu {
    width: 100%;
    padding-bottom: 2px;
  }

  .portfolio-results__status {
    display: none;
  }
}
