:root {
  --bg: #0f0f10;
  --bg-soft: #181618;
  --card: rgba(255, 255, 255, 0.065);
  --card-strong: rgba(255, 255, 255, 0.105);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.13);
  --accent: #edb220;
  --accent-dark: #c78f00;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 16%, rgba(237, 178, 32, 0.28) 0%, rgba(237, 178, 32, 0.10) 22rem, transparent 42rem),
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #0d0e0f 0%, #171517 45%, #0d0e0f 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, transparent 0 36rem, rgba(0,0,0,0.32) 78rem);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
  padding: 74px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 850;
  margin: 0 0 18px;
}

.hero .eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(3rem, 7.2vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 26px;
  position: relative;
}

h1::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

h3 { font-size: 1.45rem; margin: 16px 0 10px; }

.subtitle {
  font-size: clamp(1.28rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  color: rgba(255,255,255,0.94);
  font-weight: 620;
  max-width: 720px;
  margin-bottom: 18px;
}

.intro {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
  max-width: 640px;
}

.intro strong { color: #fff; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: linear-gradient(135deg, #ffd15c, var(--accent));
  color: #171517;
  box-shadow: 0 16px 34px rgba(237,178,32,0.22);
}
.button.secondary { color: var(--text); border: 1px solid rgba(237,178,32,0.55); background: rgba(255,255,255,0.035); }

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: end;
  justify-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(84%, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(237,178,32,0.32) 0%, rgba(237,178,32,0.12) 36%, transparent 68%);
  filter: blur(10px);
  top: 6%;
  right: 4%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 8% 0 8%;
  height: 38%;
  background: linear-gradient(to top, rgba(13,14,15,0.96), rgba(13,14,15,0));
  z-index: 2;
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(104%, 620px);
  height: auto;
  filter: drop-shadow(0 38px 62px rgba(0,0,0,0.55));
  transform: translateY(18px);
}

.section { padding: 64px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.section-heading.centered { display: block; text-align: center; }
.section-heading.centered h2::after,
.section-heading h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 14px;
}
.section-heading.centered h2::after { margin-left: auto; margin-right: auto; }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.project-card {
  min-height: 372px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 55px rgba(0,0,0,0.26);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.project-card:hover { transform: translateY(-4px); background: var(--card-strong); border-color: rgba(237,178,32,0.46); }
.project-card.featured { background: linear-gradient(145deg, rgba(237,178,32,0.18), rgba(255,255,255,0.055)); }

.project-card .logo-wrap {
  width: 100%;
  height: 88px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
}
.project-card .logo-wrap img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.project-card .ilpalio-logo { background: #dfd3ba; }
.project-card .socialon-logo img, .project-card .academy-logo img { object-fit: contain; }

.tag {
  width: fit-content;
  border: 1px solid rgba(237,178,32,0.38);
  color: var(--accent);
  background: rgba(237,178,32,0.09);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}
.project-card p { color: var(--muted); line-height: 1.6; flex: 1; }
.project-card a { color: var(--text); font-weight: 850; text-decoration: none; }

.about-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  padding: 42px;
  border: 1px solid rgba(237,178,32,0.26);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(237,178,32,0.13), rgba(255,255,255,0.06));
  box-shadow: var(--shadow);
}
.about-panel p:last-child { color: rgba(255,255,255,0.82); line-height: 1.75; font-size: 1.06rem; margin-bottom: 0; }

.link-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 860px; margin: 0 auto; }
.link-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 72px; padding: 18px 20px;
  border-radius: 20px; background: rgba(255,255,255,0.06); border: 1px solid var(--faint); color: var(--text); text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.link-list a:hover { transform: translateY(-2px); background: rgba(255,255,255,0.1); border-color: rgba(237,178,32,0.42); }
.link-list span { font-weight: 850; }
.link-list small { color: var(--muted); text-align: right; }

footer { text-align: center; color: rgba(255,255,255,0.55); padding: 30px 16px 46px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: unset; padding-top: 48px; gap: 28px; }
  .hero-visual { min-height: 440px; order: -1; }
  .hero-visual img { width: min(100%, 500px); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .about-panel { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .page-shell { width: min(100% - 22px, 1120px); }
  .hero { padding-top: 34px; }
  .hero-visual { min-height: 350px; }
  h1 { font-size: clamp(3.1rem, 18vw, 4.7rem); }
  .project-grid, .link-list { grid-template-columns: 1fr; }
  .project-card { min-height: unset; }
  .about-panel { padding: 26px; border-radius: 24px; }
  .hero-actions .button { width: 100%; }
  .link-list a { align-items: flex-start; flex-direction: column; gap: 6px; }
  .link-list small { text-align: left; }
}


.experience-line{color:#edb220;font-weight:600;margin-top:-10px;margin-bottom:18px;letter-spacing:.5px}
