﻿:root {
  --bg: #081422;
  --bg-elevated: #0f2235;
  --surface: #12304b;
  --surface-soft: #173d5e;
  --line: rgba(167, 202, 236, 0.22);
  --text: #ecf3ff;
  --muted: #b3c9e0;
  --primary: #34d399;
  --primary-strong: #10b981;
  --secondary: #7dd3fc;
  --accent: #f59e0b;
  --danger: #f87171;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px rgba(0, 10, 25, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(53, 211, 153, 0.15), transparent 34%),
    radial-gradient(circle at 88% 2%, rgba(125, 211, 252, 0.2), transparent 30%),
    linear-gradient(180deg, #081422 0%, #07101b 100%);
  min-height: 100vh;
  line-height: 1.7;
}

body.cursor-enhanced {
  cursor: none;
}

body.cursor-enhanced a,
body.cursor-enhanced button,
body.cursor-enhanced .btn,
body.cursor-enhanced .filter-btn,
body.cursor-enhanced .project-card,
body.cursor-enhanced .certificate-card,
body.cursor-enhanced .panel,
body.cursor-enhanced .metric-card,
body.cursor-enhanced .timeline-item,
body.cursor-enhanced .edu-card,
body.cursor-enhanced .cta-wrap {
  cursor: none;
}

.custom-cursor,
.custom-cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1600;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.2s ease;
}

.custom-cursor {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

.custom-cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.8px solid rgba(125, 211, 252, 0.88);
  background: radial-gradient(circle, rgba(125, 211, 252, 0.13), transparent 60%);
}

body.cursor-visible .custom-cursor,
body.cursor-visible .custom-cursor-ring {
  opacity: 1;
}

body.cursor-hover .custom-cursor-ring {
  border-color: rgba(52, 211, 153, 0.95);
}

body.cursor-click .custom-cursor {
  transform: translate3d(0, 0, 0) scale(0.7);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin: 0;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 1200;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--primary);
  color: #042913;
  font-weight: 700;
}

.skip-link:focus {
  left: 14px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(116, 168, 217, 0.2);
  backdrop-filter: blur(10px);
  background: rgba(8, 20, 34, 0.8);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #04222f;
}

.brand-text {
  font-size: 0.94rem;
  font-weight: 700;
  color: #d5e8ff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: #d7e8fb;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.site-nav .nav-cta {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.32);
  color: #b7f8e0;
}

.menu-toggle {
  display: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #ddedff;
  border-radius: 99px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  overflow: hidden;
  padding-top: 6.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  margin-top: 0.45rem;
  margin-bottom: 0.9rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.3);
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
}

.hero-role {
  color: #d8e8f7;
  font-size: 1.07rem;
  font-weight: 700;
}

.hero-desc {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-desc.narrow {
  max-width: 72ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions.compact {
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #042513;
  background: linear-gradient(120deg, var(--primary), #a7f3d0);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2);
}

.btn-secondary {
  color: #d6ebff;
  background: rgba(125, 211, 252, 0.08);
  border-color: rgba(125, 211, 252, 0.35);
}

.hero-points {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: #d5e5f6;
  font-size: 0.94rem;
}

.hero-points strong {
  color: #ffffff;
}

.hero-photo {
  position: relative;
  max-width: 430px;
  justify-self: center;
}

.photo-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(149, 190, 227, 0.35);
  box-shadow: var(--shadow);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 20, 34, 0.35), transparent 55%);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  background: rgba(12, 35, 56, 0.85);
  border: 1px solid rgba(151, 192, 227, 0.35);
  color: #e9f5ff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.floating-card.card-a {
  right: -26px;
  top: 16%;
}

.floating-card.card-b {
  left: -28px;
  bottom: 12%;
  animation-delay: 1.2s;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-orb.orb-1 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.44), transparent 66%);
  top: 10%;
  left: -2%;
  animation: pulse 8s ease-in-out infinite;
}

.hero-orb.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.42), transparent 72%);
  right: -7%;
  top: 8%;
  animation: pulse 10s ease-in-out infinite reverse;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(17, 44, 68, 0.7), rgba(9, 23, 36, 0.8));
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.metric-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--secondary);
}

.metric-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.split-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 42, 66, 0.82), rgba(8, 20, 34, 0.88));
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.panel h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  margin-bottom: 0.9rem;
}

.panel p + p {
  margin-top: 0.9rem;
}

.data-list {
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.data-list div {
  display: grid;
  gap: 0.24rem;
  border-bottom: 1px dashed rgba(157, 197, 230, 0.2);
  padding-bottom: 0.7rem;
}

.data-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.data-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
}

.data-list dd {
  margin: 0;
  color: #edf4ff;
  font-weight: 600;
}

.data-list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.section-head {
  margin-bottom: 1.2rem;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  margin-bottom: 0.45rem;
}

.section-head p {
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0.95rem;
  margin-top: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(var(--primary), transparent);
}

.timeline-item {
  position: relative;
  margin-left: 1.25rem;
  padding: 1rem 1rem 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(13, 34, 53, 0.78);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 1.2rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 20%, var(--primary) 21% 100%);
}

.timeline-item h3 {
  font-size: 1.05rem;
}

.timeline-item .meta {
  color: #89d8bd;
  font-size: 0.86rem;
  margin-top: 0.3rem;
}

.timeline-item p:last-child {
  color: var(--muted);
  margin-top: 0.4rem;
}

.edu-card {
  margin-top: 0.8rem;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 12px;
  padding: 0.95rem;
  background: rgba(8, 20, 34, 0.55);
}

.edu-card h3 {
  font-size: 1rem;
}

.edu-card p {
  color: var(--muted);
}

.edu-card .meta {
  color: #9de3c5;
  font-size: 0.9rem;
}

.list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.list-clean li {
  display: grid;
  gap: 0.3rem;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(7, 20, 34, 0.68);
  border-radius: 12px;
  padding: 0.9rem;
}

.list-clean span {
  color: var(--muted);
  font-size: 0.92rem;
}

.list-clean.compact li {
  gap: 0.22rem;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: rgba(10, 26, 41, 0.86);
}

.modern-table thead {
  background: rgba(52, 211, 153, 0.16);
}

.modern-table th,
.modern-table td {
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(169, 201, 230, 0.14);
}

.modern-table th {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d5f9ea;
}

.modern-table td {
  color: #d7e8f8;
}

.cta-section {
  padding-top: 3.8rem;
}

.cta-wrap {
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(115deg, rgba(16, 185, 129, 0.2), rgba(15, 35, 54, 0.78) 38%, rgba(8, 20, 34, 0.9));
  box-shadow: var(--shadow);
}

.cta-wrap h2 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: 0.35rem;
}

.cta-wrap p {
  color: #c8daec;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.site-footer {
  border-top: 1px solid rgba(154, 194, 226, 0.2);
  margin-top: 1rem;
  padding: 1.2rem 0 1.8rem;
  background: rgba(6, 16, 27, 0.8);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-grid p {
  color: #c2d7eb;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-links a {
  font-size: 0.86rem;
  font-weight: 700;
  color: #d6e7f8;
  border: 1px solid rgba(136, 180, 214, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.page-hero {
  padding-top: 6.5rem;
  text-align: center;
}

.page-hero .container {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(125, 211, 252, 0.34);
  background: rgba(125, 211, 252, 0.1);
  color: #d8eeff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.86rem;
}

.badge-soft strong {
  color: #ffffff;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  border: 1px solid rgba(134, 173, 205, 0.35);
  background: rgba(10, 26, 41, 0.75);
  color: #d8e8f8;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
}

.filter-btn.active {
  border-color: rgba(52, 211, 153, 0.48);
  background: rgba(52, 211, 153, 0.16);
  color: #cbf9e7;
}

.search-wrap,
.select-wrap {
  display: grid;
  gap: 0.34rem;
  min-width: 240px;
}

.search-wrap span,
.select-wrap span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
}

.search-wrap input,
.select-wrap select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(140, 181, 212, 0.35);
  background: rgba(8, 21, 35, 0.9);
  color: #edf6ff;
  padding: 0.68rem 0.75rem;
  font: inherit;
}

.search-wrap input::placeholder {
  color: #8faecb;
}

.search-wrap input:focus,
.select-wrap select:focus,
.filter-btn:focus-visible,
.btn:focus-visible,
.site-nav a:focus-visible,
.social-links a:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.75);
  outline-offset: 2px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.project-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(157, 196, 228, 0.25);
  background: rgba(9, 24, 39, 0.85);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, 0.45);
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 30, 0.74), transparent 55%);
}

.project-content {
  padding: 0.95rem;
  display: grid;
  gap: 0.65rem;
}

.project-content h3 {
  font-size: 1rem;
}

.project-content p {
  color: var(--muted);
  font-size: 0.9rem;
}

.project-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.project-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 0.4rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(52, 211, 153, 0.42);
  color: #cbf9e8;
  background: rgba(52, 211, 153, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.project-link:hover {
  background: rgba(52, 211, 153, 0.2);
  border-color: rgba(52, 211, 153, 0.65);
}

.project-category {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8be5c1;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tech-list span {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(135, 177, 210, 0.35);
  color: #d9e8f8;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 0.9rem;
}

.certificate-card {
  display: grid;
  gap: 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(151, 190, 220, 0.25);
  background: rgba(8, 23, 38, 0.86);
  padding: 0.95rem;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.certificate-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.46);
}

.certificate-top {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.certificate-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  background: linear-gradient(145deg, rgba(125, 211, 252, 0.34), rgba(52, 211, 153, 0.34));
  color: #dff8ed;
  flex-shrink: 0;
}

.certificate-title {
  font-size: 0.92rem;
  line-height: 1.42;
}

.certificate-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.25rem 0.58rem;
  border: 1px solid rgba(245, 158, 11, 0.38);
  background: rgba(245, 158, 11, 0.14);
  color: #ffe6be;
  font-size: 0.73rem;
  font-weight: 700;
}

.certificate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 0.42rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(125, 211, 252, 0.4);
  color: #d8ecff;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.certificate-link:hover {
  background: rgba(125, 211, 252, 0.16);
  border-color: rgba(125, 211, 252, 0.64);
}

.empty-state {
  margin: 1.2rem 0 0;
  border: 1px dashed rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.07);
  color: #ffd1d1;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.tilt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--glare-x, 50%) var(--glare-y, 50%),
      rgba(125, 211, 252, 0.3),
      rgba(52, 211, 153, 0.14) 24%,
      rgba(255, 255, 255, 0) 60%
    );
  opacity: calc(var(--glare-opacity, 0) * 0.8);
  transition: opacity 0.24s ease;
}

.project-card.tilt-card:hover,
.certificate-card.tilt-card:hover {
  transform: none;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-2 {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-width: 360px;
  }

  .floating-card.card-a {
    right: -18px;
  }

  .floating-card.card-b {
    left: -16px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 8px);
    min-width: 228px;
    border-radius: 14px;
    border: 1px solid rgba(133, 174, 207, 0.25);
    padding: 0.7rem;
    background: rgba(10, 25, 40, 0.98);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.4rem 0.45rem;
    border-radius: 9px;
  }

  .site-nav .nav-cta {
    text-align: center;
  }

  .section {
    padding: 4.2rem 0;
  }

  .hero {
    padding-top: 5.5rem;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1120px, calc(100% - 1.2rem));
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero-role {
    font-size: 0.96rem;
  }

  .hero-points {
    font-size: 0.88rem;
  }

  .floating-card {
    font-size: 0.72rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-wrap,
  .select-wrap {
    min-width: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .custom-cursor,
  .custom-cursor-ring {
    display: none !important;
  }

  .tilt-card {
    transform: none !important;
  }
}
