@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #f3f7fb;
  --bg-strong: #0d1b2a;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --line: rgba(13, 27, 42, 0.12);
  --line-strong: rgba(13, 27, 42, 0.2);
  --text: #112235;
  --muted: #5d6c7d;
  --accent: #0ea5a4;
  --accent-strong: #0a7b7b;
  --accent-soft: rgba(14, 165, 164, 0.12);
  --shadow: 0 24px 60px rgba(13, 27, 42, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 164, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(17, 34, 53, 0.12), transparent 24%),
    linear-gradient(180deg, #f9fbfd 0%, #edf3f8 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 85%);
  z-index: -1;
}

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

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

ul {
  list-style: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-block: 0.9rem;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(243, 247, 251, 0.92), rgba(243, 247, 251, 0.62));
}

#desktop-nav,
#hamburger-nav {
  padding-inline: 1.25rem;
  min-height: 4.8rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(13, 27, 42, 0.08);
}

nav,
.nav-links,
.btn-container,
#socials-container,
.chip-group,
.project-links,
.contact-links {
  display: flex;
}

nav {
  width: var(--content-width);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 5.25rem;
}

.logo,
.title,
.hero-title,
.project-card h3,
.capability-card h3,
.delivery-card h3,
.info-card h3,
.education-content h3,
.degree-card h3 {
  font-family: "Space Grotesk", sans-serif;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

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

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.btn {
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.nav-cta {
  padding: 0.8rem 1.15rem;
  background: var(--bg-strong);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(13, 27, 42, 0.18);
}

.nav-cta:hover,
.btn:hover,
.contact-link:hover {
  transform: translateY(-2px);
}

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
}

.hamburger-icon {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  padding-inline: 0.7rem;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--bg-strong);
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-links {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition:
    opacity 220ms ease,
    visibility 220ms ease,
    transform 220ms ease;
}

.menu-links a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  color: var(--muted);
}

.menu-links a:hover,
.menu-links a:focus-visible {
  background: var(--accent-soft);
  color: var(--text);
}

.menu-links.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hamburger-icon.open span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.hero,
.section-block,
footer {
  width: var(--content-width);
  margin: 0 auto;
}

.section-block {
  padding-block: clamp(1.4rem, 3vw, 2.25rem);
}

.hero {
  margin-top: clamp(0.6rem, 1.8vw, 1rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 24rem);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 164, 0.2), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 175, 113, 0.18), transparent 16%),
    linear-gradient(135deg, rgba(247, 250, 252, 0.94), rgba(229, 239, 247, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 90px rgba(13, 27, 42, 0.12);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(140deg, rgba(0, 0, 0, 0.55), transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -4rem;
  width: 18rem;
  height: 18rem;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(14, 165, 164, 0.16), rgba(13, 27, 42, 0.06));
  transform: rotate(8deg);
  pointer-events: none;
}

.eyebrow,
.section__text__p1 {
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-block: 0.35rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.06);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-kicker {
  margin-top: 1rem;
  color: rgba(17, 34, 53, 0.74);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.85rem, 4.6vw + 0.4rem, 4.95rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin-top: 1rem;
  max-width: min(100%, clamp(9ch, 34vw, 12ch));
  text-wrap: balance;
}

.hero-description {
  font-size: 1rem;
  margin-top: 1.1rem;
  max-width: 64ch;
}

.section-intro {
  font-size: 1.06rem;
  margin-top: 1.5rem;
  max-width: 64ch;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
  max-width: 28rem;
}

.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 27, 42, 0.08);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(13, 27, 42, 0.06);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric-card,
.hero-focus-card,
.info-card,
.capability-card,
.delivery-card,
.project-card,
.contact-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.metric-card {
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 252, 0.8));
  box-shadow: 0 18px 38px rgba(13, 27, 42, 0.08);
}

.metric-card strong {
  display: block;
  font-size: 1.24rem;
  color: var(--text);
  margin-bottom: 0.28rem;
}

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

.btn-container {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.9rem 1.15rem;
  margin-top: 1.15rem;
}

.hero-actions .btn-container,
.hero-actions #socials-container {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
}

.btn-color-1 {
  background: var(--bg-strong);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(13, 27, 42, 0.18);
}

.btn-color-1:hover {
  background: #163252;
}

.btn-color-2 {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-color-2:hover {
  border-color: var(--accent);
  background: rgba(14, 165, 164, 0.08);
}

#socials-container {
  gap: 0.75rem;
  margin-top: 1.35rem;
}

#socials-container a {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.1);
}

.icon {
  width: 1.4rem;
  height: 1.4rem;
}

.hero-visual-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 23rem;
  margin-left: auto;
  padding: 0;
  align-items: start;
}

.hero-photo-shell {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 25rem;
  max-width: 23rem;
  margin: 0;
  border-radius: 32px;
  padding: 0.7rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(229, 238, 244, 0.88)),
    linear-gradient(180deg, rgba(14, 165, 164, 0.14), rgba(13, 27, 42, 0.04));
  box-shadow: 0 30px 80px rgba(13, 27, 42, 0.18);
}

.hero-photo-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.82);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-photo-shell::after {
  content: "";
  position: absolute;
  inset: auto -0.8rem -0.8rem auto;
  width: 7rem;
  height: 7rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(14, 165, 164, 0.24), rgba(13, 27, 42, 0.08));
  z-index: -1;
}

.hero-photo {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  aspect-ratio: 0.84 / 1.12;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  background: #2b2b2b;
}

.hero-focus-card {
  position: relative;
  width: 100%;
  max-width: 23rem;
  padding: 1.2rem 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 18px 40px rgba(13, 27, 42, 0.12);
}

.focus-label {
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.hero-stack-card {
  position: relative;
  display: grid;
  gap: 0.6rem;
  width: 100%;
  padding: 1.3rem 1.35rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 52px rgba(13, 27, 42, 0.12);
  backdrop-filter: blur(16px);
}

.hero-stack-card-top {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0.8rem;
}

.hero-stack-card-bottom {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  width: min(15.5rem, calc(100% - 1.5rem));
  margin: 0 0.9rem 0.9rem 0;
  z-index: 2;
}

.hero-stack-label {
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stack-card strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.45;
}

.focus-list {
  display: grid;
  gap: 0.7rem;
}

.focus-list li {
  color: var(--muted);
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.focus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--accent);
}

.section-heading {
  max-width: 44rem;
}

.title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-top: 0.8rem;
}

.info-grid,
.capability-grid,
.delivery-grid,
.projects-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.4rem;
}

.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.capability-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.delivery-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.info-card,
.capability-card,
.delivery-card {
  border-radius: 24px;
  padding: 1.5rem;
}

.info-card h3,
.capability-card h3,
.delivery-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.info-icon {
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 1rem;
}

.info-icon-brand {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.chip-group {
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip-group span {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.05);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.education-section {
  position: relative;
}

.education-showcase {
  position: relative;
  margin-top: 1.4rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 1rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(62, 202, 212, 0.24), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 173, 102, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(9, 22, 40, 0.98), rgba(18, 59, 77, 0.96));
  border: 1px solid rgba(112, 208, 218, 0.18);
  box-shadow: 0 34px 90px rgba(7, 19, 34, 0.24);
  overflow: hidden;
}

.education-showcase::before,
.education-showcase::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.education-showcase::before {
  top: -4rem;
  right: -2rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}

.education-showcase::after {
  bottom: -4rem;
  left: -3rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(14, 165, 164, 0.26), transparent 72%);
}

.education-content,
.education-visual {
  position: relative;
  z-index: 1;
}

.education-content {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.education-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(100%, 18rem);
  padding: 0.9rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 38px rgba(5, 17, 31, 0.18);
  backdrop-filter: blur(14px);
}

.education-brand-logo {
  width: 100%;
  max-width: 12rem;
  height: auto;
  object-fit: contain;
}

.education-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.education-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f6fbff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(12px);
}

.education-content h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #ffffff;
  max-width: 14ch;
}

.education-content > p {
  color: rgba(236, 246, 251, 0.78);
  max-width: 54ch;
}

.education-points {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.education-points li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(236, 246, 251, 0.78);
  line-height: 1.65;
}

.education-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8ff0ef, #ffc98a);
  box-shadow: 0 0 0 6px rgba(143, 240, 239, 0.08);
}

.education-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: auto;
}

.education-stat {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.education-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fe7e7;
}

.education-stat span {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.5;
  font-size: 0.95rem;
}

.education-visual {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  align-content: start;
}

.degree-card {
  padding: 1.1rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.94));
  box-shadow: 0 24px 60px rgba(5, 17, 31, 0.3);
  display: grid;
  gap: 0.85rem;
}

.degree-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 165, 164, 0.1);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.degree-card-badge-icon {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.degree-card h3 {
  color: var(--text);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.degree-card-copy {
  color: var(--muted);
}

.degree-image-shell {
  position: relative;
  padding: clamp(0.55rem, 1.3vw, 0.8rem);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(14, 165, 164, 0.14), rgba(13, 27, 42, 0.05));
}

.degree-image-shell::after {
  content: "";
  position: absolute;
  inset: auto -0.7rem -0.7rem auto;
  width: 6rem;
  height: 6rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(14, 165, 164, 0.24), rgba(13, 27, 42, 0.08));
  z-index: 0;
}

.degree-certificate {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(13, 27, 42, 0.12);
  border: 1px solid rgba(13, 27, 42, 0.08);
}

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

.campus-photo {
  position: relative;
  min-height: 12rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(5, 17, 31, 0.26);
  background: #0e1725;
}

.campus-photo-wide {
  grid-column: 1 / -1;
  min-height: 16rem;
}

.campus-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.education-showcase:hover .campus-photo img {
  transform: scale(1.04);
}

.campus-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 28, 0.04), rgba(4, 16, 28, 0.56));
}

.campus-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(12px);
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  align-items: start;
}

.project-card {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.project-card::before {
  display: none;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 164, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(9, 22, 40, 0.98), rgba(19, 63, 83, 0.96));
  border: 1px solid rgba(112, 208, 218, 0.18);
  box-shadow: 0 34px 90px rgba(7, 19, 34, 0.24);
}

.project-card:hover {
  transform: translateY(-0.22rem);
}

.project-visual {
  position: relative;
  background:
    linear-gradient(160deg, rgba(14, 165, 164, 0.12), rgba(13, 27, 42, 0.04)),
    #eff4f8;
  min-height: 22rem;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: 24px;
}

.project-visual-smart {
  background:
    radial-gradient(circle at top left, rgba(62, 202, 212, 0.3), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 143, 94, 0.18), transparent 30%),
    linear-gradient(180deg, #10253a 0%, #173a57 100%);
}

.project-visual-smartworkforce {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 164, 0.2), transparent 42%),
    linear-gradient(180deg, #eef7f8 0%, #e4edf4 100%);
}

.project-card-feature .project-visual {
  min-height: 32rem;
  padding: 1.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.project-card-feature .project-content {
  justify-content: center;
  padding: 1.9rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 252, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.project-card-feature .project-content p {
  max-width: 56ch;
}

.project-card-feature .project-links {
  margin-top: 0.65rem;
}

.project-content-feature .project-meta span {
  background: rgba(14, 165, 164, 0.1);
}

.project-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.project-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.project-feature-point {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(13, 27, 42, 0.05);
}

.project-feature-point strong {
  color: var(--text);
  font-size: 0.96rem;
}

.project-feature-point span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.project-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.4px);
  opacity: 0.65;
  pointer-events: none;
}

.project-orb-one {
  inset: 1.8rem auto auto 1.8rem;
  width: 7rem;
  height: 7rem;
  background: radial-gradient(circle, rgba(124, 234, 234, 0.68), transparent 70%);
}

.project-orb-two {
  inset: auto 1.2rem 4.8rem auto;
  width: 9rem;
  height: 9rem;
  background: radial-gradient(circle, rgba(255, 162, 107, 0.35), transparent 68%);
}

.project-floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(5, 17, 31, 0.2);
  z-index: 2;
}

.project-floating-chip-top {
  top: 1.2rem;
  left: 1.2rem;
}

.project-floating-chip-bottom {
  right: 1.2rem;
  bottom: 1.3rem;
}

.project-device-shell {
  position: relative;
  width: min(100%, 18.5rem);
  height: 29rem;
  max-height: 100%;
  padding: 0.78rem;
  border-radius: 2.2rem;
  background: linear-gradient(180deg, #0f1725 0%, #060b13 100%);
  box-shadow:
    0 24px 60px rgba(5, 17, 31, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.project-device-speaker {
  position: absolute;
  top: 0.92rem;
  left: 50%;
  width: 5.6rem;
  height: 0.48rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(27, 39, 56, 0.95);
  z-index: 2;
}

.project-device-camera {
  position: absolute;
  top: 0.92rem;
  left: calc(50% + 3.2rem);
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #143f68;
  box-shadow: 0 0 0 2px rgba(29, 49, 70, 0.9);
  z-index: 2;
}

.project-device-home {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  width: 6rem;
  height: 0.26rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  z-index: 2;
}

.project-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #ffffff;
  transition: transform 180ms ease;
  position: relative;
  z-index: 1;
}

.project-shot-feature {
  border-radius: 1.55rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.project-card:hover .project-shot {
  transform: scale(1.015);
}

.project-thumb {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 20px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(13, 27, 42, 0.18);
  object-fit: cover;
  z-index: 1;
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(14, 165, 164, 0.08);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.project-card h3 {
  color: var(--text);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.project-links {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.project-btn {
  min-width: 8.75rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: 32px;
}

.contact-copy {
  max-width: 50ch;
}

.contact-links {
  flex-direction: column;
  gap: 0.9rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 700;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.contact-link:hover {
  border-color: var(--accent);
  background: rgba(14, 165, 164, 0.07);
}

.contact-icon {
  width: 1.5rem;
  height: 1.5rem;
}

footer {
  padding: 0 0 2rem;
}

.footer-links {
  justify-content: center;
}

footer p {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-shot,
  .project-thumb,
  .project-device-shell {
    transition: none;
  }
}
