:root {
  --bg: #f7f4ee;
  --surface: rgba(255, 255, 255, 0.75);
  --text: #10131a;
  --muted: #5e6470;
  --line: #d8d4ca;
  --primary: #005fcc;
  --primary-2: #0d7be0;
  --accent: #f55f36;
  --shadow: 0 20px 50px rgba(17, 23, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(90rem 50rem at -10% -10%, #ffe2c7 0%, rgba(255, 226, 199, 0) 60%),
    radial-gradient(60rem 40rem at 110% 15%, #d6e8ff 0%, rgba(214, 232, 255, 0) 56%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.55;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.45;
}

.orb-a {
  width: 22rem;
  height: 22rem;
  background: #ffb78d;
  top: 16rem;
  left: -8rem;
}

.orb-b {
  width: 24rem;
  height: 24rem;
  background: #9fc8ff;
  right: -10rem;
  top: 35rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 238, 0.82);
  border-bottom: 1px solid rgba(16, 19, 26, 0.08);
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.top-nav {
  display: none;
  gap: 1rem;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.top-nav a:hover {
  color: var(--text);
}

.lang-toggle {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  font-weight: 700;
}

main {
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 1.2rem 0 5rem;
}

.hero {
  padding: 2.6rem 0 1.8rem;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  margin: 0;
}

h1 {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 6.5vw, 4.2rem);
  line-height: 1.05;
  margin: 0.5rem 0 1rem;
}

.lead {
  font-size: clamp(1.03rem, 2.3vw, 1.45rem);
  max-width: 62ch;
  margin: 0;
}

.sublead {
  max-width: 70ch;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(130deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 10px 20px rgba(0, 95, 204, 0.25);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.availability {
  margin-top: 1rem;
  color: #242a36;
  font-weight: 600;
}

.hero-profile {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 19, 26, 0.08);
  border-radius: 1rem;
  padding: 0.75rem;
  max-width: 320px;
}

.hero-profile img {
  width: 100%;
  border-radius: 0.75rem;
  display: block;
}

.hero-profile p {
  margin: 0.7rem 0 0;
  font-weight: 700;
  color: #1f2430;
  font-size: 0.92rem;
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(16, 19, 26, 0.08);
  border-radius: 1.2rem;
  padding: 1.4rem;
  margin-top: 1rem;
  box-shadow: var(--shadow);
}

h2 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips span {
  background: rgba(0, 95, 204, 0.1);
  border: 1px solid rgba(0, 95, 204, 0.18);
  color: #063a77;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-weight: 700;
  font-size: 0.9rem;
}

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

.kicker {
  color: var(--primary);
  margin: 0 0 0.3rem;
  font-weight: 700;
}

.card-highlight {
  background: linear-gradient(145deg, rgba(245, 95, 54, 0.12), rgba(255, 255, 255, 0.65));
  border: 1px solid rgba(245, 95, 54, 0.3);
  border-radius: 1rem;
  padding: 1rem;
}

.card-highlight p {
  margin: 0.5rem 0;
}

.internship-card {
  padding: 1.2rem;
}

.intern-badge {
  display: inline-block;
  margin: 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(245, 95, 54, 0.16);
  border: 1px solid rgba(245, 95, 54, 0.32);
  color: #7f2f1d;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 0.85rem;
}

.intern-summary {
  margin: 0.8rem 0 1rem;
  color: #2c313d;
  font-weight: 600;
}

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

.internship-grid article {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(16, 19, 26, 0.08);
  border-radius: 0.8rem;
  padding: 0.75rem 0.9rem;
}

.internship-grid .label {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.internship-grid .value {
  margin: 0.28rem 0 0;
  color: var(--text);
  font-weight: 800;
}

.tech-card {
  border: 1px solid rgba(16, 19, 26, 0.08);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 1rem;
}

.tech-card h3 {
  margin: 0.15rem 0 0.45rem;
  font-family: "Sora", sans-serif;
}

.tech-company {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.feature-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.feature-list li {
  margin-bottom: 0.45rem;
}

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

.project-card {
  border: 1px solid rgba(16, 19, 26, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
}

.project-card h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.project-card .stack {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.project-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  margin: 3.2rem auto 1rem;
  width: min(1080px, 92vw);
  text-align: center;
  padding: 2rem 1rem;
}

.site-footer h2 {
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (min-width: 900px) {
  .top-nav {
    display: flex;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .hero-profile {
    justify-self: end;
  }

  .panel {
    padding: 1.8rem;
  }
}
