:root {
  --background: #050505;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.14);
  --border-bright: rgba(255, 255, 255, 0.35);
  --text: #ffffff;
  --muted: #a8a8b3;
  --success: #9dffc7;
  --danger: #ff8f9c;
  --radius: 24px;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #555 #080808;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.075), transparent 22rem),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  animation: gridMove 18s linear infinite;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.08;
  background: #fff;
  animation: ambientFloat 12s ease-in-out infinite alternate;
}

.ambient.one {
  top: -12rem;
  right: -12rem;
}

.ambient.two {
  bottom: -18rem;
  left: -12rem;
  animation-delay: -5s;
}

.nav-shell {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(94%, 980px);
  transform: translateX(-50%);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 11px 14px 11px 19px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(8, 8, 10, 0.68);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.12), 0 0 18px rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  position: relative;
  display: block;
  padding: 8px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.nav-link.active::after {
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 10px #fff;
  content: "";
  transform: translateX(-50%);
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: #d7d7dc;
  font-size: 0.74rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaffc5;
  box-shadow: 0 0 12px #aaffc5;
  animation: pulse 2s infinite;
}

main {
  position: relative;
}

.section {
  width: min(1180px, 92%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 126px 0 80px;
  scroll-margin-top: 70px;
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #d4d4da;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: #fff;
  box-shadow: 0 0 10px #fff;
  content: "";
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(4.3rem, 11vw, 9.6rem);
  line-height: 0.82;
  letter-spacing: -0.085em;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.52);
}

.hero-title {
  margin-top: 24px;
  color: #d9d9df;
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  font-weight: 500;
}

.typing-line {
  min-height: 37px;
  margin-top: 5px;
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 800;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 5px;
  vertical-align: -0.1em;
  background: #fff;
  box-shadow: 0 0 10px #fff;
  animation: blink 0.7s infinite;
}

.bio {
  max-width: 650px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28), transparent 70%);
  content: "";
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}

.button:hover::before {
  transform: translateX(130%);
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  border-color: #fff;
  color: #050505;
  background: #fff;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.16);
}

.button.primary:hover {
  box-shadow: 0 0 38px rgba(255, 255, 255, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}

.button.danger {
  border-color: rgba(255, 143, 156, 0.3);
  color: #ffd8dc;
  background: rgba(255, 143, 156, 0.08);
}

.profile-wrap {
  perspective: 1000px;
}

.profile-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 26px;
  border: 1px solid var(--border-bright);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  transition: transform 0.16s ease-out;
}

.profile-card::before {
  position: absolute;
  inset: -70%;
  background: conic-gradient(from 40deg, transparent, rgba(255, 255, 255, 0.16), transparent 18%);
  content: "";
  animation: hologramSpin 8s linear infinite;
}

.profile-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(transparent 0 4px, rgba(255, 255, 255, 0.025) 5px);
  content: "";
}

.profile-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 446px;
  flex-direction: column;
  justify-content: space-between;
  transform: translateZ(35px);
}

.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #c7c7ce;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.profile-orb {
  position: relative;
  display: grid;
  width: 220px;
  height: 220px;
  margin: 27px auto;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.02) 57%, transparent 58%);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.08), 0 0 50px rgba(255, 255, 255, 0.08);
}

.profile-orb::before,
.profile-orb::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: "";
}

.profile-orb::before {
  inset: -12px;
  border-left-color: transparent;
  border-right-color: transparent;
  animation: orbit 7s linear infinite;
}

.profile-orb::after {
  inset: 23px;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: orbit 5s linear infinite reverse;
}

.monogram {
  font-size: 5.2rem;
  font-weight: 900;
  letter-spacing: -0.12em;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  transform: translateX(-5px);
}

.profile-name {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.profile-role {
  color: var(--muted);
}

.profile-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: #c9c9cf;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 65px;
}

.glass {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 22px 55px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.stat-card {
  padding: 25px;
  border-radius: 20px;
  transition: 0.35s ease;
}

.stat-card:hover {
  border-color: var(--border-bright);
  background: var(--surface-strong);
  transform: translateY(-6px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.stat-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.section-heading p {
  max-width: 430px;
  color: var(--muted);
}

.skills-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 22px;
}

.panel {
  padding: 28px;
  border-radius: var(--radius);
}

.panel-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-index {
  color: #74747d;
}

.skill-list {
  display: grid;
  gap: 18px;
}

.profile-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.skill-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 700;
}

.skill-value {
  color: #aaaab2;
  font-variant-numeric: tabular-nums;
}

.skill-track {
  overflow: hidden;
  height: 7px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
}

.skill-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8d8d94, #fff);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
  transition: width 1.25s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.experience-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.025);
  transition: 0.35s ease;
}

.experience-card:hover,
.experience-card.expanded {
  border-color: var(--border-bright);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
}

.experience-icon {
  display: grid;
  width: 37px;
  height: 37px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #ddd;
    transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.experience-icon i {
  font-size: 1.35rem;
  line-height: 1;
}

.experience-card:hover .experience-icon,
.experience-card.expanded .experience-icon {
  border-color: #ffffff;
  color: #050505;
  background: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  transform: rotate(-5deg) scale(1.08);
}


.experience-card h3 {
  font-size: 0.96rem;
}

.experience-card p {
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0;
  transition: 0.35s ease;
}

.experience-card:hover p,
.experience-card.expanded p {
  max-height: 90px;
  margin-top: 10px;
  opacity: 1;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 0.77fr 1.23fr;
  align-items: start;
  gap: 22px;
}

.form-card {
  padding: 28px;
  border-radius: var(--radius);
}

.form-card h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.form-intro {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.87rem;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #cacacf;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  outline: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  transition: 0.25s ease;
}

textarea.input {
  min-height: 122px;
  resize: vertical;
}

.input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.07);
}

.input.invalid {
  border-color: rgba(255, 143, 156, 0.8);
  animation: shake 0.35s;
}

.field-error {
  min-height: 18px;
  margin-top: 5px;
  color: var(--danger);
  font-size: 0.72rem;
}

.rating-picker {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}

.rating-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-picker label {
  cursor: pointer;
  color: #3c3c42;
  font-size: 1.8rem;
  line-height: 1;
  transition: 0.2s ease;
}

.rating-picker label:hover,
.rating-picker label:hover ~ label,
.rating-picker input:checked ~ label {
  color: #fff;
  text-shadow: 0 0 13px rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.full-button {
  width: 100%;
  margin-top: 5px;
}

.review-feed {
  min-height: 390px;
  padding: 24px;
  border-radius: var(--radius);
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feed-head h3 {
  font-size: 1.15rem;
}

.review-count {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #c0c0c7;
  font-size: 0.72rem;
}

.review-grid {
  display: grid;
  gap: 12px;
}

.review-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
  animation: reveal 0.5s ease both;
  transition: 0.3s ease;
}

.review-card:hover {
  border-color: var(--border-bright);
  transform: translateX(5px);
}

.review-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 11px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 900;
}

.reviewer-name {
  font-weight: 800;
}

.review-time {
  color: #777780;
  font-size: 0.7rem;
}

.stars {
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

.review-message {
  margin-top: 14px;
  color: #bdbdc5;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.empty-state {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 30px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  color: #808089;
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: #ccc;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  gap: 22px;
}

.contact-info {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-radius: var(--radius);
}

.contact-info h3 {
  max-width: 480px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.contact-info p {
  max-width: 420px;
  margin-top: 21px;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: 15px;
  color: #c7c7ce;
  background: rgba(255, 255, 255, 0.025);
  transition: 0.3s ease;
}

.contact-link:hover {
  border-color: var(--border-bright);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(5px);
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius);
}

.footer {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 30px 0 45px;
  border-top: 1px solid var(--border);
  color: #767680;
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  visibility: hidden;
  padding: 20px;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  backdrop-filter: blur(18px);
  transition: 0.3s ease;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-card {
  width: min(620px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--border-bright);
  border-radius: 25px;
  background: rgba(12, 12, 15, 0.94);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 255, 255, 0.05);
  transform: scale(0.94) translateY(15px);
  transition: 0.3s ease;
}

.modal.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-head h2 {
  font-size: 1.7rem;
}

.modal-head p {
  color: var(--muted);
  font-size: 0.8rem;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  transition: 0.25s ease;
}

.icon-button:hover {
  border-color: var(--border-bright);
  background: rgba(255, 255, 255, 0.1);
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-tab {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  background: transparent;
  transition: 0.25s ease;
}

.admin-tab.active {
  color: #050505;
  background: #fff;
}

.admin-list {
  display: grid;
  gap: 11px;
}

.admin-review {
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-review p {
  margin: 9px 0;
  color: #b7b7bf;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.admin-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.admin-actions .button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.74rem;
}

.admin-empty {
  padding: 40px 15px;
  color: #808089;
  text-align: center;
}

.toast-zone {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 700;
  display: grid;
  width: min(360px, calc(100% - 40px));
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  background: rgba(12, 12, 15, 0.93);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  animation: toastIn 0.45s ease both;
}

.toast.out {
  animation: toastOut 0.35s ease both;
}

.toast-symbol {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.toast.success .toast-symbol {
  color: var(--success);
}

.toast.error .toast-symbol {
  color: var(--danger);
}

.toast-text strong {
  display: block;
  font-size: 0.82rem;
}

.toast-text span {
  color: var(--muted);
  font-size: 0.75rem;
}

.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 650;
  display: grid;
  visibility: hidden;
  place-items: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.24);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: 0.25s ease;
}

.success-overlay.active {
  visibility: visible;
  opacity: 1;
}

.success-ring {
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.85);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.25);
  font-size: 2.5rem;
  animation: successBurst 0.75s ease both;
}

@keyframes gridMove {
  to {
    background-position: 56px 56px;
  }
}

@keyframes ambientFloat {
  to {
    transform: translate(8rem, 4rem) scale(1.15);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.4;
    transform: scale(0.72);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes hologramSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

@keyframes shake {
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-3px);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

@keyframes successBurst {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-20deg);
  }
  65% {
    transform: scale(1.1) rotate(4deg);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .hero,
  .skills-layout,
  .reviews-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 150px;
  }

  .profile-wrap {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .status-pill {
    display: none;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .contact-info {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    top: 10px;
    width: calc(100% - 20px);
  }

  .navbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 11px;
  }

  .brand {
    justify-content: center;
  }

  .nav-links {
    justify-content: space-between;
  }

  .nav-link {
    padding: 7px 8px;
    font-size: 0.7rem;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding-top: 145px;
  }

  .hero {
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 23vw, 6rem);
  }

  .profile-card {
    min-height: 440px;
    padding: 20px;
  }

  .profile-content {
    min-height: 398px;
  }

  .profile-orb {
    width: 180px;
    height: 180px;
  }

  .monogram {
    font-size: 4rem;
  }

  .stats {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .form-card,
  .review-feed,
  .contact-form,
  .contact-info {
    padding: 21px;
  }

  .contact-info {
    min-height: 360px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .modal-card {
    padding: 20px;
  }

  .admin-actions {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}