:root {
  --bg: #eceef3;
  --bg-soft: #f8fafc;
  --ink: #1e214b;
  --muted: #414464;
  --line: rgba(30, 33, 75, 0.16);
  --card: rgba(248, 250, 252, 0.78);
  --accent: #0098c7;
  --accent-dark: #006189;
  --deep: #414464;
  --deep-2: #1e214b;
  --steel: #a6a8b4;
  --shadow: 0 24px 80px rgba(30, 33, 75, 0.13);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 999px;
  --max: 1180px;
  --anchor-offset: 104px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.035em;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 152, 199, 0.18), transparent 32rem),
    radial-gradient(circle at 86% 16%, rgba(0, 97, 137, 0.18), transparent 28rem),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 42%, #d8dce5 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

::selection {
  color: #fff;
  background: var(--accent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 0 0 1rem 1rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.top-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 0;
  overflow: hidden;
}

.cursor-light {
  position: fixed;
  inset: auto;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 28rem;
  height: 28rem;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 152, 199, 0.16), transparent 64%);
  filter: blur(4px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 36px rgba(30, 33, 75, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--deep));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  font-size: 0.96rem;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.site-nav a {
  padding: 12px 15px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(30, 33, 75, 0.07);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 46px 0;
  scroll-margin-top: var(--anchor-offset);
}

main {
  display: flex;
  flex-direction: column;
  scroll-margin-top: var(--anchor-offset);
}

.hero {
  order: 1;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding-top: 46px;
  scroll-margin-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero-copy {
  position: relative;
  min-width: 0;
  padding-left: clamp(18px, 2.2vw, 34px);
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 0.08em;
  bottom: 0.2em;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(0, 152, 199, 0));
}

.hero-copy h1 {
  max-width: 11ch;
  margin-bottom: 28px;
  font-size: clamp(3.9rem, 5.8vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero-copy h1 span {
  display: block;
}

.hero-title-accent {
  color: var(--accent-dark);
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.8vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.005em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.14;
  letter-spacing: 0.005em;
}

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

.hero-story {
  display: grid;
  gap: clamp(16px, 1.6vw, 24px);
  max-width: 720px;
  margin: 16px 0 36px;
}

.hero-meta {
  display: grid;
  gap: clamp(8px, 0.52vw, 20px);
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 0.52vw, 20px);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: clamp(32px, 2.2vw, 86px);
  padding: clamp(7px, 0.52vw, 20px) clamp(10px, 0.9vw, 34px);
  color: var(--deep-2);
  font-size: clamp(0.82rem, 0.75vw + 0.2rem, 1.54rem);
  font-weight: 650;
  line-height: 1.2;
  border: 1px solid rgba(0, 97, 137, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(0, 97, 137, 0.06);
}

.hero-note {
  max-width: 100%;
}

.hero-note p {
  margin: 0;
}

.hero-note--bio p {
  max-width: 42rem;
  color: var(--accent-dark);
  font-size: clamp(1.28rem, 1.95vw, 1.56rem);
  font-weight: 720;
  line-height: 1.34;
}

.hero-note--professional p {
  max-width: 48rem;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.52rem);
  font-weight: 560;
  line-height: 1.46;
}

@media (min-width: 1061px) {
  .hero-copy {
    align-self: stretch;
    display: grid;
    grid-template-rows: auto 1fr auto;
  }

  .hero-copy h1 {
    margin-bottom: 0;
  }

  .hero-story {
    margin: 0;
    align-self: center;
  }

  .hero-meta {
    transform: translateY(clamp(-20px, -1vw, -10px));
  }

  .hero-actions {
    margin-top: 0;
  }
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 780;
  font: inherit;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button:focus-visible,
.contact-link:focus-visible {
  outline: 3px solid rgba(0, 152, 199, 0.35);
  outline-offset: 3px;
}

.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(30, 33, 75, 0.22);
}

.primary:hover {
  box-shadow: 0 18px 42px rgba(30, 33, 75, 0.26);
}

.telegram-button {
  color: #fff;
  background: #26a5e4;
  box-shadow: 0 14px 30px rgba(38, 165, 228, 0.22);
}

.telegram-button:hover {
  background: #168acd;
  box-shadow: 0 18px 42px rgba(38, 165, 228, 0.28);
}

.setka-button {
  color: #fff;
  background: linear-gradient(135deg, #31007d, #a647ff);
  box-shadow: 0 14px 30px rgba(49, 0, 125, 0.24);
}

.setka-button:hover {
  background: linear-gradient(135deg, #260060, #9637ee);
  box-shadow: 0 18px 42px rgba(49, 0, 125, 0.3);
}

.setka-button:focus-visible {
  outline-color: rgba(84, 24, 155, 0.48);
}

.linkedin-button {
  color: #fff;
  background: #0a66c2;
  box-shadow: 0 14px 30px rgba(10, 102, 194, 0.22);
}

.linkedin-button:hover {
  background: #004182;
  box-shadow: 0 18px 42px rgba(10, 102, 194, 0.3);
}

.linkedin-button:focus-visible {
  outline-color: rgba(10, 102, 194, 0.48);
}

.hero-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 152, 199, 0.28), transparent 26rem),
    linear-gradient(145deg, var(--ink), var(--accent-dark));
  box-shadow: var(--shadow);
  isolation: isolate;
}

.portrait-wrap {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.profile-card-content {
  padding: 20px 10px 8px;
}

.profile-card-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
}

.profile-card-content p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
}

.glass-card,
.service-card,
.project-card,
.timeline-item,
.skill-group,
.education-card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 60px rgba(30, 33, 75, 0.07);
  backdrop-filter: blur(18px);
}

.profile-statement {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.profile-statement::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(0, 97, 137, 0.18));
}

.profile-statement--quote {
  height: 100%;
  min-height: 310px;
  justify-content: center;
  gap: 0;
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 16% 12%, rgba(0, 152, 199, 0.16), transparent 12rem),
    linear-gradient(135deg, rgba(248, 250, 252, 0.88), rgba(236, 238, 243, 0.72)),
    var(--card);
}

.profile-statement--quote::after {
  content: "“";
  position: absolute;
  top: clamp(18px, 2.5vw, 34px);
  right: clamp(24px, 4vw, 46px);
  color: rgba(0, 97, 137, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.5rem, 9vw, 9rem);
  font-weight: 700;
  line-height: 0.7;
  pointer-events: none;
}

.statement-kicker {
  position: absolute;
  top: clamp(28px, 4vw, 46px);
  left: clamp(28px, 4vw, 46px);
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  margin-bottom: 20px;
  padding: 7px 11px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 97, 137, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(0, 152, 199, 0.07);
}

.statement-title {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0;
  padding-top: 16px;
  color: var(--deep-2);
  font-size: clamp(1.8rem, 2.5vw, 2.55rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.005em;
}

.statement-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 86px;
  height: 3px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--accent), rgba(0, 97, 137, 0.18));
}

.service-grid {
  display: grid;
  gap: 18px;
}

.service-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease;
}

.service-card:hover,
.skill-group:hover,
.education-card:not(.languages):hover {
  transform: translateY(-4px);
  background: var(--bg-soft);
}

.education-card.languages:hover {
  transform: translateY(-4px);
}

.service-card p:last-child,
.timeline-body p:last-child,
.education-card p:last-child {
  margin-bottom: 0;
}

.projects-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.25vw, 42px);
}

.project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  background: var(--bg-soft);
}

.project-media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 26px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-media--eleni {
  background:
    radial-gradient(circle at 24% 18%, rgba(233, 233, 233, 0.34), transparent 9rem),
    radial-gradient(circle at 76% 76%, rgba(190, 165, 131, 0.32), transparent 11rem),
    linear-gradient(135deg, #2c2b29, #796d5d);
}

.project-media--eleni img {
  max-width: 82%;
  max-height: 118px;
}

.project-media--checkpoint {
  padding: 0;
  background: #030817;
}

.project-media--checkpoint img {
  object-fit: contain;
  transform: scale(1.08);
}

.project-media--gamehub {
  position: relative;
  padding: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(202, 255, 0, 0.62), transparent 8rem),
    radial-gradient(circle at 84% 72%, rgba(255, 108, 44, 0.45), transparent 9rem),
    linear-gradient(135deg, #232323 0%, #10151c 68%, #07090d 100%);
}

.project-media--gamehub::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.28;
}

.gamehub-preview {
  position: relative;
  z-index: 1;
  width: 72%;
  min-height: 62%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 30px;
  border-radius: 26px;
  background: rgba(35, 35, 35, 0.72);
  box-shadow: 0 24px 54px rgba(7, 9, 13, 0.32);
  transform: scale(1.2);
  transform-origin: center;
}

.gamehub-preview__main {
  width: 100%;
  height: auto;
}

.gamehub-preview__partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.gamehub-preview__partners img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-media--prodvizhenie {
  position: relative;
  padding: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.22), transparent 8rem),
    linear-gradient(135deg, #404fdb 0%, #2d38b9 100%);
}

.project-media--prodvizhenie::before {
  content: "";
  position: absolute;
  inset: -12% -18% auto auto;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 47% 53% 42% 58%;
  box-shadow:
    0 0 0 16px rgba(255, 255, 255, 0.06),
    0 0 0 32px rgba(255, 255, 255, 0.045),
    0 0 0 48px rgba(255, 255, 255, 0.032);
}

.prodvizhenie-preview {
  position: relative;
  z-index: 1;
  width: 84%;
  min-height: 58%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}

.prodvizhenie-logo {
  display: grid;
  gap: 2px;
  color: #fff;
  font-size: clamp(1.45rem, 1.65vw, 4rem);
  font-weight: 920;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.prodvizhenie-logo__line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prodvizhenie-dots {
  display: inline-flex;
  gap: 6px;
}

.prodvizhenie-dots i {
  width: 0.64em;
  height: 0.64em;
  display: block;
  border-radius: 50%;
  background: #fff;
}

.project-content {
  flex: 1;
  min-height: 286px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.project-kicker {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-content h3 {
  margin-bottom: 14px;
  line-height: 1.14;
}

.project-content p {
  min-height: 118px;
  color: var(--muted);
}

.project-link {
  width: fit-content;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 760;
  border-radius: var(--radius-sm);
  background: var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-link:hover,
.project-link:focus-visible {
  background: var(--accent-dark);
  outline: none;
  transform: translateY(-2px);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-meta span {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-meta strong {
  font-size: 1rem;
  line-height: 1.4;
}

.timeline-body h3 {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
}

.timeline-body p strong {
  color: var(--deep-2);
  font-weight: 750;
}

.timeline-body h3 {
  margin-bottom: 18px;
}

.timeline-content-block {
  display: grid;
  gap: 8px;
}

.timeline-content-block + .timeline-content-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.timeline-content-label {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-content-block > p {
  margin: 0;
}

.timeline-results-list {
  display: grid;
  gap: 9px;
}

.timeline-result {
  position: relative;
  margin: 0 !important;
  padding-left: 18px;
}

.timeline-result::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 152, 199, 0.08);
}

.timeline-result--group {
  display: grid;
  gap: 0.65em;
  margin-top: 6px !important;
}

.timeline-result-title,
.timeline-result-details p {
  margin: 0 !important;
}

.timeline-result-details {
  display: grid;
  gap: 0.65em;
  margin: 0;
  padding-left: clamp(14px, 1vw, 22px);
  list-style: disc;
}

.timeline-result-details li::marker {
  color: var(--accent-dark);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.skill-group {
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, background 0.2s ease;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--deep-2);
  font-size: 0.92rem;
  font-weight: 650;
  border: 1px solid rgba(0, 97, 137, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(0, 97, 137, 0.06);
}

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

.education-card {
  min-height: 230px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, background 0.2s ease;
}

.education-card span {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.education-card__content {
  --education-title-space: 3rem;
  --education-description-space: 5.2rem;
  width: 100%;
  display: grid;
  grid-template-rows: var(--education-title-space) var(--education-description-space);
  gap: 14px;
  margin: auto 0;
}

.education-card h3,
.education-card__content p {
  margin: 0;
}

.education-card--document {
  position: relative;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.education-card .education-card__document-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  display: block;
  color: var(--accent-dark);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.education-card__document-icon svg {
  display: none;
}

.education-card__document-icon::after {
  content: "\2197";
}

.education-card--document:hover .education-card__document-icon,
.education-card--document:focus-visible .education-card__document-icon {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.education-card--document:focus-visible {
  outline: 3px solid rgba(0, 152, 199, 0.38);
  outline-offset: 4px;
}

.languages {
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 152, 199, 0.36), transparent 14rem),
    linear-gradient(140deg, var(--deep), var(--ink));
}

.languages span,
.languages h3,
.languages p {
  color: #fff;
}

.languages h3 {
  letter-spacing: 0.02em;
  word-spacing: 0.24em;
}

.languages p {
  opacity: 0.72;
}

.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 136px);
  padding: clamp(56px, 7vw, 116px) 0;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 88% 14%, rgba(0, 152, 199, 0.2), transparent 22rem),
    linear-gradient(135deg, #1e214b, #10122b);
  background-size: 64px 64px, 64px 64px, auto, auto;
  scroll-margin-top: var(--anchor-offset);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(32vw, 520px);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(0, 152, 199, 0));
}

.site-footer__inner {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
}

.site-footer h2 {
  max-width: 14ch;
  color: #fff;
  font-size: clamp(2.3rem, 3.7vw, 4.35rem);
  line-height: 1;
}

.contact-heading-line {
  display: block;
  margin-top: 0.25em;
  color: #72d4eb;
  white-space: nowrap;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-link {
  min-width: 0;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 4px;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 780;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, padding 0.2s ease, border-color 0.2s ease;
}

.contact-link:last-child {
  grid-column: auto;
}

.contact-link:hover {
  color: #72d4eb;
  padding-left: 12px;
  border-color: #72d4eb;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1060.98px) {
  .hero-grid,
  .profile-layout,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    align-items: stretch;
    gap: clamp(32px, 5vw, 48px);
  }

  .site-footer h2 {
    max-width: none;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
  }

  .hero-card {
    max-width: 560px;
  }

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

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

}

@media (min-width: 600px) and (max-width: 1060.98px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    align-items: center;
    gap: clamp(28px, 4vw, 48px);
  }

  .site-footer h2 {
    font-size: clamp(2.6rem, 4.7vw, 3.15rem);
  }

  .contact-heading-line {
    margin-top: 0.36em;
    white-space: nowrap;
    font-size: 0.88em;
  }

  .contact-link {
    min-height: 56px;
  }

  .section {
    width: min(calc(100% - 40px), 900px);
    padding: 36px 0;
  }

  .section-heading {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 32px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .hero-grid {
    width: min(100%, 760px);
    margin-inline: auto;
    justify-items: center;
    gap: 34px;
  }

  .hero-copy {
    text-align: center;
    padding-left: 0;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-copy h1 {
    max-width: 720px;
    margin-inline: auto;
  }

  .hero-story {
    width: min(100%, 640px);
    margin-inline: auto;
    text-align: left;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    width: min(100%, 560px);
    justify-self: center;
  }

}

@media (min-width: 901px) and (max-width: 1060.98px) {
  .hero-grid {
    width: min(100%, 720px);
  }

  .hero-card {
    width: min(100%, 540px);
    left: 8px;
  }
}

@media (min-width: 1061px) and (max-width: 1180.98px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1061px) and (max-width: 1599.98px) and (max-height: 920px),
       (min-width: 1061px) and (max-width: 1599.98px) and (min-aspect-ratio: 3 / 2) {
  :root {
    --anchor-offset: 112px;
  }

  .section {
    padding: 28px 0;
  }

  .section-heading {
    max-width: 780px;
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.9rem, 5vw, 4.6rem);
  }

  h2 {
    max-width: 780px;
    font-size: clamp(2rem, 3.8vw, 3.45rem);
    line-height: 1;
  }

  h3 {
    font-size: 1.12rem;
  }

  p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.52fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .hero-copy h1 {
    max-width: 700px;
    margin-bottom: 18px;
  }

  .hero-lead {
    max-width: 620px;
    margin-bottom: 22px;
    font-size: clamp(1rem, 1.55vw, 1.1rem);
    line-height: 1.5;
  }

  .button {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.94rem;
  }

  .hero-card {
    max-width: 420px;
    justify-self: end;
    padding: 14px;
    border-radius: 30px;
  }

  .portrait-wrap {
    border-radius: 22px;
  }

  .profile-card-content {
    padding: 14px 8px 6px;
  }

  .profile-card-content h2 {
    margin-bottom: 8px;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
  }

  .profile-card-content p:last-child {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .profile-layout {
    gap: 18px;
  }

  .profile-statement {
    padding: 22px;
  }

  .profile-statement p {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .service-grid {
    gap: 12px;
  }

  .service-card {
    padding: 18px 20px;
  }

  .project-media {
    padding: 20px;
  }

  .project-media--eleni img {
    max-height: 88px;
  }

  .project-content {
    min-height: 210px;
    padding: 20px;
  }

  .project-content h3 {
    margin-bottom: 10px;
    font-size: 1.14rem;
  }

  .project-content p {
    min-height: 90px;
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .project-link {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .timeline {
    gap: 10px;
  }

  .timeline-item {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
    padding: 16px 20px;
  }

  .timeline-meta {
    gap: 5px;
  }

  .timeline-meta span {
    font-size: 0.68rem;
  }

  .timeline-meta strong {
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .timeline-body h3 {
    margin-bottom: 8px;
    font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  }

  .timeline-body p {
    margin-bottom: 0.42rem;
    font-size: 0.83rem;
    line-height: 1.36;
  }

  .skills-grid,
  .education-grid {
    gap: 14px;
  }

  .skill-group,
  .education-card {
    padding: 20px;
  }

  .tags {
    gap: 8px;
  }

  .tags span {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.8rem;
  }
}

@media (min-width: 1600px) {
  :root {
    --max: 1500px;
    --anchor-offset: 142px;
  }

  .site-header {
    top: 22px;
    margin-top: 22px;
    padding: 16px 18px;
    gap: 22px;
    background: rgba(248, 250, 252, 0.8);
    box-shadow: 0 14px 46px rgba(30, 33, 75, 0.1);
  }

  .brand {
    gap: 16px;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
  }

  .brand-text {
    font-size: 1.22rem;
    line-height: 1;
    font-weight: 820;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    padding: 19px 25px;
    font-size: 1.12rem;
    font-weight: 740;
    line-height: 1;
  }

  .section {
    padding: 30px 0;
  }

  .profile-section,
  .projects-section,
  .experience-section,
  .skills-section,
  .education-section {
    min-height: calc(100vh - 142px);
    display: grid;
    align-content: center;
  }

  .section-heading {
    max-width: 1220px;
    margin-bottom: 28px;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: clamp(56px, 6vh, 96px);
    padding-bottom: clamp(64px, 7vh, 120px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.62fr);
    gap: clamp(72px, 6vw, 120px);
  }

  h1 {
    font-size: clamp(5.35rem, 4.85vw, 6.35rem);
  }

  h2 {
    max-width: 1220px;
    font-size: clamp(3.35rem, 3.15vw, 4.55rem);
    line-height: 1;
    letter-spacing: -0.005em;
  }

  h3 {
    font-size: 1.35rem;
  }

  p {
    font-size: 1.03rem;
    line-height: 1.62;
  }

  .hero-copy h1 {
    max-width: 940px;
  }

  .hero-lead {
    max-width: 820px;
    font-size: 1.38rem;
  }

  .button {
    min-height: 62px;
    padding: 0 30px;
    font-size: 1.06rem;
  }

  .hero-card {
    max-width: 570px;
    justify-self: end;
    padding: 22px;
  }

  .profile-card-content h2 {
    font-size: clamp(2.75rem, 2.6vw, 3.5rem);
  }

  .profile-card-content p:last-child {
    font-size: 1.08rem;
  }

  .profile-layout {
    gap: 28px;
  }

  .profile-statement {
    padding: 34px;
  }

  .profile-statement p {
    font-size: 1.12rem;
    line-height: 1.62;
  }

  .service-grid {
    gap: 16px;
  }

  .service-card {
    padding: 24px 28px;
  }

  .project-media {
    padding: 30px;
  }

  .project-media--eleni img {
    max-height: 132px;
  }

  .project-content {
    min-height: 270px;
    padding: 30px;
  }

  .timeline {
    gap: 14px;
  }

  .timeline-item {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 38px;
    padding: 26px 34px;
  }

  .timeline-body h3 {
    font-size: clamp(1.75rem, 1.8vw, 2.15rem);
  }

  .timeline-body p {
    margin-bottom: 0.72rem;
    line-height: 1.52;
  }

  .skills-grid {
    gap: 20px;
  }

  .skill-group {
    padding: 32px;
  }

  .tags span {
    min-height: 42px;
    padding: 9px 15px;
    font-size: 0.98rem;
  }

  .education-grid {
    gap: 20px;
  }

  .education-card {
    min-height: 250px;
    padding: 28px;
  }

}

@media (min-width: 2200px) and (max-width: 3199.98px) {
  :root {
    --max: 2120px;
    --anchor-offset: 196px;
  }

  .site-header {
    top: 30px;
    width: min(calc(100% - 64px), 2360px);
    margin-top: 30px;
    padding: 24px 28px;
    gap: 24px;
    background: rgba(248, 250, 252, 0.82);
    box-shadow: 0 18px 56px rgba(30, 33, 75, 0.1);
  }

  .brand {
    gap: 22px;
  }

  .brand-mark {
    width: 86px;
    height: 86px;
  }

  .brand-text {
    font-size: 1.72rem;
    line-height: 1;
    font-weight: 820;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    padding: 26px clamp(24px, 1vw, 30px);
    font-size: 1.5rem;
    font-weight: 740;
    line-height: 1;
  }

  .section {
    padding: 54px 0;
  }

  .profile-section,
  .projects-section,
  .experience-section,
  .skills-section,
  .education-section {
    min-height: calc(100vh - 196px);
    display: grid;
    align-content: center;
  }

  .section-heading {
    max-width: 1540px;
    margin-bottom: 48px;
  }

  h1 {
    max-width: 1320px;
    font-size: 8.25rem;
    line-height: 0.92;
  }

  h2 {
    max-width: 1540px;
    font-size: 5.6rem;
    line-height: 0.98;
    letter-spacing: -0.005em;
  }

  h3 {
    font-size: 1.7rem;
  }

  p {
    font-size: 1.18rem;
    line-height: 1.58;
  }

  .hero {
    min-height: calc(100vh - 176px);
    padding-top: 86px;
    padding-bottom: 88px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(640px, 0.6fr);
    gap: 150px;
  }

  .hero-copy h1 {
    max-width: 1260px;
    margin-bottom: 38px;
  }

  .hero-lead {
    max-width: 1000px;
    margin-bottom: 46px;
    font-size: 1.7rem;
    line-height: 1.48;
  }

  .hero-actions {
    gap: 16px;
  }

  .button {
    min-height: 74px;
    padding: 0 38px;
    font-size: 1.18rem;
  }

  .hero-card {
    max-width: 760px;
    padding: 28px;
    border-radius: 52px;
  }

  .portrait-wrap {
    border-radius: 38px;
  }

  .profile-card-content {
    padding: 34px 16px 14px;
  }

  .profile-card-content h2 {
    font-size: 4.25rem;
  }

  .profile-card-content p:last-child {
    font-size: 1.3rem;
    line-height: 1.42;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 40px;
  }

  .profile-statement {
    padding: 52px;
  }

  .profile-statement p {
    font-size: 1.32rem;
    line-height: 1.58;
  }

  .service-grid {
    gap: 24px;
  }

  .service-card {
    padding: 38px 44px;
  }

  .project-media {
    padding: 46px;
  }

  .project-media--eleni img {
    max-height: 190px;
  }

  .project-content {
    min-height: 360px;
    padding: 46px;
  }

  .project-content h3 {
    margin-bottom: 22px;
    font-size: 2.15rem;
  }

  .project-link {
    min-height: 56px;
    padding: 0 24px;
    font-size: 1.08rem;
  }

  .timeline {
    gap: 24px;
  }

  .timeline-item {
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 64px;
    padding: 40px 54px;
  }

  .timeline-meta span {
    font-size: 0.94rem;
  }

  .timeline-meta strong {
    font-size: 1.22rem;
  }

  .timeline-body h3 {
    font-size: 2.55rem;
  }

  .timeline-body p {
    margin-bottom: 0.86rem;
    font-size: 1.16rem;
    line-height: 1.48;
  }

  .skills-grid {
    gap: 28px;
  }

  .skill-group {
    padding: 58px;
  }

  .tags {
    gap: 14px;
  }

  .tags span {
    min-height: 58px;
    padding: 13px 22px;
    font-size: 1.16rem;
  }

  .education-grid {
    gap: 28px;
  }

  .education-card {
    min-height: 430px;
    padding: 42px;
  }

  .education-card span {
    font-size: 0.94rem;
  }

  .education-card h3 {
    font-size: 1.78rem;
  }

  .languages h3 {
    margin: 34px 0 24px;
  }

}

@media (min-width: 3200px) {
  :root {
    --max: 3040px;
    --anchor-offset: 276px;
  }

  .site-header {
    top: 44px;
    margin-top: 44px;
    padding: 36px 44px;
    gap: 56px;
    background: rgba(248, 250, 252, 0.84);
    box-shadow: 0 26px 86px rgba(30, 33, 75, 0.11);
  }

  .brand {
    gap: 34px;
  }

  .brand-mark {
    width: 132px;
    height: 132px;
  }

  .brand-text {
    font-size: 2.48rem;
    line-height: 1;
    font-weight: 820;
  }

  .site-nav {
    gap: 28px;
  }

  .site-nav a {
    padding: 38px 56px;
    font-size: 2.25rem;
    font-weight: 740;
    line-height: 1;
  }

  .section {
    padding: 86px 0;
  }

  .profile-section,
  .projects-section,
  .experience-section,
  .skills-section,
  .education-section {
    min-height: calc(100vh - 276px);
    display: grid;
    align-content: center;
  }

  .section-heading {
    max-width: 2260px;
    margin-bottom: 72px;
  }

  h1 {
    max-width: 1900px;
    font-size: 12.6rem;
    line-height: 0.9;
  }

  h2 {
    max-width: 2260px;
    font-size: 8.2rem;
    line-height: 0.98;
    letter-spacing: -0.005em;
  }

  h3 {
    font-size: 2.28rem;
  }

  p {
    font-size: 1.48rem;
    line-height: 1.56;
  }

  .hero {
    min-height: calc(100vh - 248px);
    padding-top: 132px;
    padding-bottom: 130px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(880px, 0.58fr);
    gap: 230px;
  }

  .hero-copy h1 {
    max-width: 1820px;
    margin-bottom: 58px;
  }

  .hero-lead {
    max-width: 1440px;
    margin-bottom: 70px;
    font-size: 2.2rem;
    line-height: 1.48;
  }

  .hero-actions {
    gap: 24px;
  }

  .button {
    min-height: 94px;
    padding: 0 54px;
    font-size: 1.48rem;
  }

  .hero-card {
    max-width: 1030px;
    padding: 38px;
    border-radius: 66px;
  }

  .portrait-wrap {
    border-radius: 48px;
  }

  .profile-card-content {
    padding: 48px 20px 20px;
  }

  .profile-card-content h2 {
    font-size: 5.9rem;
  }

  .profile-card-content p:last-child {
    font-size: 1.72rem;
    line-height: 1.42;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    gap: 58px;
  }

  .profile-statement {
    padding: 78px;
  }

  .profile-statement p {
    font-size: 1.72rem;
    line-height: 1.56;
  }

  .service-grid {
    gap: 34px;
  }

  .service-card {
    padding: 56px 64px;
  }

  .project-media {
    padding: 68px;
  }

  .project-media--eleni img {
    max-height: 270px;
  }

  .project-content {
    min-height: 520px;
    padding: 68px;
  }

  .project-content h3 {
    margin-bottom: 30px;
    font-size: 3.3rem;
  }

  .project-content p {
    font-size: 1.48rem;
    line-height: 1.56;
  }

  .project-link {
    min-height: 78px;
    padding: 0 34px;
    font-size: 1.34rem;
  }

  .timeline {
    gap: 34px;
  }

  .timeline-item {
    grid-template-columns: 570px minmax(0, 1fr);
    gap: 88px;
    padding: 58px 76px;
  }

  .timeline-meta span {
    font-size: 1.12rem;
  }

  .timeline-meta strong {
    font-size: 1.55rem;
  }

  .timeline-body h3 {
    font-size: 3.55rem;
  }

  .timeline-body p {
    margin-bottom: 1.08rem;
    font-size: 1.45rem;
    line-height: 1.5;
  }

  .skills-grid {
    gap: 42px;
  }

  .skill-group {
    min-height: 390px;
    padding: 92px 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 38px;
    text-align: center;
  }

  .skill-group h3 {
    margin: 0;
    font-size: 2.72rem;
  }

  .tags {
    justify-content: center;
    gap: 20px;
  }

  .tags span {
    min-height: 86px;
    padding: 20px 34px;
    justify-content: center;
    text-align: center;
    font-size: 1.54rem;
  }

  .education-grid {
    gap: 44px;
  }

  .education-card {
    min-height: 760px;
    padding: 72px 66px;
    align-items: center;
    justify-content: flex-start;
    gap: 44px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 32px 90px rgba(30, 33, 75, 0.11);
  }

  .education-card::before {
    content: "";
    width: 112px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    box-shadow: 0 18px 42px rgba(0, 152, 199, 0.26);
  }

  .education-card span {
    font-size: 1.24rem;
    letter-spacing: 0.16em;
  }

  .education-card h3 {
    max-width: 560px;
    margin: 0;
    font-size: 3.15rem;
    line-height: 1.05;
  }

  .education-card p {
    max-width: 540px;
    font-size: 1.5rem;
    line-height: 1.46;
  }

  .education-card__content {
    --education-title-space: 6.6rem;
    --education-description-space: 6.6rem;
    width: min(100%, 560px);
    gap: 24px;
  }

  .languages::before {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  }

  .languages h3 {
    margin: 0;
    font-size: 3.45rem;
    line-height: 1;
  }

  .languages p {
    font-size: 1.48rem;
    line-height: 1.62;
    opacity: 0.86;
  }

}

@media (min-width: 3200px) and (max-height: 1700px) {
  :root {
    --max: 2640px;
    --anchor-offset: 210px;
  }

  .site-header {
    top: 34px;
    margin-top: 34px;
    padding: 28px 34px;
    gap: 42px;
  }

  .brand {
    gap: 26px;
  }

  .brand-mark {
    width: 96px;
    height: 96px;
  }

  .brand-text {
    font-size: 1.88rem;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    padding: 28px 40px;
    font-size: 1.68rem;
  }

  .section {
    padding: 54px 0;
  }

  .profile-section,
  .projects-section,
  .experience-section,
  .skills-section,
  .education-section {
    min-height: calc(100vh - 210px);
  }

  .section-heading {
    max-width: 1760px;
    margin-bottom: 50px;
  }

  h1 {
    max-width: 1420px;
    font-size: 9.1rem;
    line-height: 0.9;
  }

  h2 {
    max-width: 1760px;
    font-size: 6rem;
    line-height: 0.98;
  }

  h3 {
    font-size: 1.86rem;
  }

  p {
    font-size: 1.24rem;
    line-height: 1.52;
  }

  .hero {
    min-height: calc(100vh - 190px);
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(690px, 0.58fr);
    gap: 168px;
  }

  .hero-copy h1 {
    max-width: 1360px;
    margin-bottom: 40px;
  }

  .hero-lead {
    max-width: 1040px;
    margin-bottom: 48px;
    font-size: 1.72rem;
    line-height: 1.46;
  }

  .button {
    min-height: 76px;
    padding: 0 40px;
    font-size: 1.18rem;
  }

  .hero-card {
    max-width: 790px;
    padding: 28px;
    border-radius: 52px;
  }

  .portrait-wrap {
    border-radius: 38px;
  }

  .profile-card-content {
    padding: 36px 16px 14px;
  }

  .profile-card-content h2 {
    font-size: 4.25rem;
  }

  .profile-card-content p:last-child {
    font-size: 1.3rem;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    gap: 42px;
  }

  .profile-statement {
    padding: 54px;
  }

  .profile-statement p {
    font-size: 1.3rem;
  }

  .service-card {
    padding: 38px 46px;
  }

  .project-media {
    padding: 48px;
  }

  .project-media--eleni img {
    max-height: 190px;
  }

  .project-content {
    min-height: 360px;
    padding: 46px;
  }

  .project-content h3 {
    margin-bottom: 22px;
    font-size: 2.15rem;
  }

  .project-content p {
    font-size: 1.18rem;
    line-height: 1.5;
  }

  .project-link {
    min-height: 56px;
    padding: 0 24px;
    font-size: 1.08rem;
  }

  .timeline {
    gap: 28px;
  }

  .timeline-item {
    grid-template-columns: 500px minmax(0, 1fr);
    gap: 72px;
    padding: 46px 60px;
  }

  .timeline-body h3 {
    font-size: 3rem;
  }

  .timeline-body p {
    font-size: 1.22rem;
    line-height: 1.46;
  }

  .skills-grid {
    gap: 28px;
  }

  .skill-group {
    min-height: 320px;
    padding: 66px;
    gap: 28px;
  }

  .skill-group h3 {
    font-size: 2.15rem;
  }

  .tags span {
    min-height: 60px;
    padding: 14px 24px;
    font-size: 1.12rem;
  }

  .education-grid {
    gap: 28px;
  }

  .education-card {
    min-height: 430px;
    padding: 46px;
    gap: 28px;
  }

  .education-card::before {
    width: 88px;
    height: 6px;
  }

  .education-card span {
    font-size: 0.98rem;
  }

  .education-card h3 {
    font-size: 2.05rem;
  }

  .education-card p {
    font-size: 1.12rem;
  }

  .languages h3 {
    font-size: 2.5rem;
  }

}

@media (max-width: 1060.98px) {
  :root {
    --anchor-offset: 92px;
  }

  .site-header {
    top: 12px;
    width: min(calc(100% - 32px), var(--max));
    margin-top: 12px;
    padding: 8px;
  }

  .brand-text {
    max-width: min(190px, calc(100vw - 164px));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: normal;
    justify-items: center;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(248, 250, 252, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    justify-self: center;
    padding: 15px 20px;
    text-align: center;
  }
}

@media (max-width: 760.98px) {
  .section {
    width: min(calc(100% - 32px), var(--max));
    padding: 35px 0;
    scroll-margin-top: var(--anchor-offset);
  }

  .site-footer {
    margin-top: 48px;
    padding: 48px 0;
  }

  .site-footer__inner {
    width: min(calc(100% - 32px), var(--max));
    gap: 32px;
  }

  .site-footer h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.55rem);
    line-height: 1.03;
  }

  .contact-heading-line {
    white-space: nowrap;
    font-size: clamp(1.55rem, 7.3vw, 2.3rem);
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
    scroll-margin-top: 86px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy::before {
    display: none;
  }

  h1 {
    font-size: clamp(2.55rem, 11vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: 0.005em;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 2.9rem);
    line-height: 1.04;
    letter-spacing: 0.005em;
    overflow-wrap: break-word;
  }

  h3 {
    letter-spacing: 0.01em;
  }

  p {
    line-height: 1.64;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .hero-copy h1 {
    margin-bottom: 22px;
    max-width: 100%;
    font-size: clamp(2.8rem, 12vw, 3.6rem);
    line-height: 0.94;
    letter-spacing: -0.02em;
  }

  .hero-story {
    gap: 16px;
    margin-bottom: 28px;
  }

  .hero-note--bio p {
    font-size: 1.18rem;
  }

  .hero-note--professional p {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .hero-actions .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
    padding: 0 18px;
    font-size: 0.96rem;
  }

  .hero-card {
    order: -1;
    padding: 14px;
    border-radius: 30px;
  }

  .portrait-wrap {
    border-radius: 22px;
  }

  .profile-card-content {
    padding: 18px 8px 6px;
  }

  .profile-card-content h2 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .profile-statement,
  .service-card,
  .project-content,
  .skill-group,
  .education-card {
    padding: 22px;
  }

  .projects-grid,
  .skills-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .project-card--checkpoint {
    width: 100%;
  }

  .project-media {
    padding: 22px;
  }

  .project-media--eleni img {
    max-height: 106px;
  }

  .project-content {
    min-height: auto;
  }

  .project-content p {
    min-height: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .contact-link {
    width: 100%;
  }

}

@media (max-width: 380px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-nav {
    left: 12px;
    right: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .brand-text {
    font-size: 0.9rem;
    max-width: calc(100vw - 156px);
  }

  .section {
    width: min(calc(100% - 24px), var(--max));
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .profile-statement,
  .service-card,
  .project-content,
  .skill-group,
  .education-card,
  .timeline-item {
    padding: 20px;
  }

}

.profile-section {
  order: 2;
}

.projects-section {
  order: 4;
  padding-bottom: clamp(70px, 5.5vw, 88px);
  margin-bottom: clamp(50px, 4.5vw, 96px);
}

.experience-section {
  order: 3;
  margin-bottom: clamp(36px, 3.5vw, 72px);
}

.recommendations-section {
  order: 8;
  padding-bottom: clamp(56px, 5vw, 96px);
}

@media (min-width: 1061px) {
  .recommendations-section {
    min-height: calc(100svh - var(--anchor-offset));
    display: grid;
    align-content: center;
  }
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.recommendation-card {
  min-width: 0;
  min-height: 335px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(0, 152, 199, 0.12), transparent 12rem),
    var(--card);
  box-shadow: 0 18px 60px rgba(30, 33, 75, 0.07);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.recommendation-card:hover {
  transform: translateY(-4px);
  background:
    radial-gradient(circle at 100% 0, rgba(0, 152, 199, 0.18), transparent 12rem),
    var(--bg-soft);
}

.recommendation-card.recommendation-card--placeholder {
  cursor: default;
  pointer-events: none;
  text-align: left;
}

.recommendation-card__quote--placeholder {
  min-height: 0;
  font-weight: 540;
  text-wrap: balance;
}

.recommendation-card__quote--placeholder::after {
  transform: scaleY(2);
  transform-origin: top;
}

.recommendation-card__author.recommendation-card__author--placeholder {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc(var(--recommendation-media-size, 54px) + var(--recommendation-author-inset, 18px) + 1px);
  padding-left: 0;
}

.recommendation-card__author--placeholder .recommendation-card__person strong {
  overflow: visible;
  color: var(--accent-dark);
  font-size: clamp(1.15rem, 1.35vw, 1.6rem);
  font-weight: 780;
  letter-spacing: -0.01em;
  text-overflow: clip;
}



.recommendation-card__quote {
  position: relative;
  margin: 0 0 26px;
  padding: 8px 0 5px 28px;
  color: var(--deep-2);
  font-size: 0.96rem;
  font-weight: 540;
  line-height: 1.62;
}

.recommendation-card:focus-visible {
  outline: 3px solid rgba(0, 152, 199, 0.4);
  outline-offset: 4px;
}

.recommendation-card__quote::before {
  content: "“";
  position: absolute;
  top: -0.34em;
  left: -0.04em;
  color: rgba(0, 152, 199, 0.42);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.1em;
  font-weight: 700;
  line-height: 1;
}

.recommendation-card__quote::after {
  content: "";
  position: absolute;
  top: 0.8em;
  bottom: 0.7em;
  left: 0;
  width: 2px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--accent), rgba(0, 152, 199, 0.1));
}

.recommendation-card__author {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.recommendation-card__avatar {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(30, 33, 75, 0.13);
}

.recommendation-card__person {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.recommendation-card__person strong {
  overflow: hidden;
  color: var(--deep-2);
  font-size: 0.95rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation-card__person span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation-card__person .recommendation-card__company {
  color: var(--accent-dark);
  font-size: clamp(0.8rem, calc(0.65rem + 0.2vw), 0.96rem);
  font-weight: 780;
  letter-spacing: 0.025em;
}

@media (max-width: 1060px) {
  .recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .recommendation-card {
    min-height: 0;
    padding: 22px;
  }

  .recommendation-card__quote {
    margin-bottom: 22px;
  }
}

.skills-section {
  order: 6;
  min-height: auto;
  display: block;
  margin-bottom: clamp(36px, 3.5vw, 72px);
}

.education-section {
  order: 7;
  min-height: auto;
  display: block;
}

.projects-section .section-heading {
  max-width: min(100%, 96.25rem);
}

.projects-heading-line {
  white-space: nowrap;
}

.education-section .section-heading {
  max-width: min(100%, 120rem);
}

.education-heading-line {
  white-space: nowrap;
}

@media (min-width: 1600px) {
  .projects-section .section-heading {
    max-width: min(100%, 96.25rem);
  }

  .projects-section {
    padding-bottom: clamp(76px, 4vh, 104px);
  }
}

@media (max-width: 1060.98px) {
  .projects-section .section-heading {
    max-width: 100%;
  }

  .projects-section {
    padding-bottom: 72px;
  }
}

@media (max-width: 760px) {
  .projects-heading-line,
  .education-heading-line {
    white-space: normal;
  }

  .projects-section {
    padding-bottom: 58px;
  }
}

@media (min-width: 1181px) and (max-width: 1599.98px) and (max-height: 800px) {
  .projects-section .project-content {
    min-height: 190px;
    padding: 16px;
  }

  .projects-section .project-kicker {
    margin-bottom: 8px;
    font-size: 0.68rem;
  }

  .projects-section .project-content h3 {
    margin-bottom: 8px;
    font-size: 1rem;
  }

  .projects-section .project-content p {
    min-height: 70px;
    font-size: 0.76rem;
    line-height: 1.34;
  }

  .projects-section .project-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.76rem;
  }
}

@media (min-width: 1600px) and (max-width: 2199.98px) and (max-height: 1000px),
       (min-width: 1600px) and (max-width: 1799.98px) and (min-aspect-ratio: 3 / 2) {
  .projects-section .project-content {
    min-height: 220px;
    padding: 20px;
  }

  .projects-section .project-kicker {
    margin-bottom: 10px;
    font-size: max(0.72rem, 12px);
  }

  .projects-section .project-content h3 {
    margin-bottom: 10px;
    font-size: max(1.14rem, 16px);
  }

  .projects-section .project-content p {
    min-height: 86px;
    font-size: max(0.84rem, 13px);
    line-height: 1.42;
  }

  .projects-section .project-link {
    min-height: 38px;
    padding: 0 14px;
    font-size: max(0.84rem, 13px);
  }
}

@media (min-width: 1061px) {
  .projects-section {
    scroll-margin-top: calc(var(--anchor-offset) - clamp(28px, 2.2vw, 80px));
  }

}

/* Desktop layout follows the same proportions as the 2K composition. */
@media (min-width: 1061px) {
  .site-header,
  .section,
  .site-footer__inner {
    width: min(calc(100% - 64px), max(1180px, 82.8125vw));
  }
}

@media (min-width: 1061px) and (max-width: 1599.98px) {
  .site-header {
    padding: 14px;
  }

  .site-nav a {
    padding: 15px 18px;
    font-size: 0.98rem;
  }

  .section {
    padding: clamp(34px, 2.7vw, 46px) 0;
  }

  .hero {
    min-height: calc(100vh - 108px);
    padding-top: clamp(40px, 4vh, 64px);
    padding-bottom: clamp(48px, 5vh, 76px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.62fr);
    gap: clamp(48px, 5vw, 80px);
  }

  .hero-copy h1 {
    max-width: 820px;
    font-size: clamp(4.1rem, 5vw, 5.35rem);
  }

  .hero-story {
    max-width: 700px;
    gap: 20px;
  }

  .hero-card {
    max-width: 520px;
  }
}

@media (min-width: 1600px) and (max-width: 2199.98px) {
  .hero-story {
    max-width: 800px;
    gap: 22px;
  }

  .hero-note--bio p {
    font-size: 1.5rem;
  }

  .hero-note--professional p {
    font-size: 1.46rem;
  }
}

@media (min-width: 2200px) and (max-width: 3199.98px) {
  .hero-story {
    max-width: 1040px;
    gap: 28px;
  }

  .hero-note--bio p {
    font-size: 1.9rem;
  }

  .hero-note--professional p {
    font-size: 1.85rem;
  }
}

@media (min-width: 3200px) {
  .hero-story {
    max-width: 1400px;
    gap: 38px;
  }

  .hero-note--bio p {
    font-size: 2.35rem;
  }

  .hero-note--professional p {
    font-size: 2.28rem;
  }
}

.projects-section .project-media--checkpoint {
  padding: 0;
}

.profile-statement .statement-title {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.55rem);
  line-height: 1.03;
}

@media (min-width: 1061px) and (max-width: 1599.98px) and (max-height: 920px),
       (min-width: 1061px) and (max-width: 1599.98px) and (min-aspect-ratio: 3 / 2) {
  .profile-statement--quote {
    min-height: 220px;
    padding: 22px;
  }

  .statement-kicker {
    top: 22px;
    left: 22px;
    min-height: 30px;
    margin-bottom: 12px;
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  .profile-statement .statement-title {
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    padding-top: 12px;
  }

}

@media (min-width: 1600px) {
  .profile-statement--quote {
    min-height: 350px;
  }

  .profile-statement .statement-title {
    max-width: 660px;
    font-size: clamp(2.1rem, 2.2vw, 3rem);
  }

}

@media (max-width: 760.98px) {
  .profile-statement--quote {
    height: auto;
    min-height: auto;
    justify-content: flex-start;
  }

  .statement-kicker {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 18px;
  }

  .profile-statement .statement-title {
    max-width: 100%;
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

}

@media (max-width: 1060.98px) {
  .brand {
    flex: 1 1 auto;
  }

  .brand-text {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.12;
    overflow-wrap: normal;
  }

  .site-nav {
    flex: 0 0 auto;
  }
}

@media (min-width: 600px) and (max-width: 1060.98px) {
  .hero-card {
    width: min(100%, 560px);
    order: initial;
    justify-self: center;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
    align-items: center;
    gap: clamp(28px, 4vw, 48px);
  }

  .site-footer h2 {
    font-size: clamp(2rem, 4.7vw, 3.15rem);
  }

  .contact-heading-line {
    margin-top: 0.36em;
    font-size: 0.88em;
  }

  .projects-grid {
    gap: clamp(14px, 2.2vw, 22px);
  }

  .project-media--eleni {
    padding: clamp(18px, 3vw, 26px);
  }

  .project-media--eleni img {
    max-width: 76%;
    max-height: none;
  }

  .project-media--checkpoint img {
    transform: none;
  }

  .gamehub-preview {
    width: 68%;
    min-height: 0;
    aspect-ratio: 1;
    justify-content: center;
    gap: clamp(12px, 2vw, 18px);
    padding: clamp(16px, 2.6vw, 24px);
    transform: none;
  }

  .gamehub-preview__main {
    max-height: 46%;
  }

  .gamehub-preview__partners {
    gap: clamp(8px, 1.5vw, 14px);
  }

  .prodvizhenie-preview {
    width: 72%;
    min-height: 0;
    justify-content: center;
    gap: 16px;
  }

  .prodvizhenie-logo {
    font-size: clamp(1.9rem, 4.2vw, 2.65rem);
  }
}

@media (min-width: 600px) and (max-width: 760.98px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1061px) {
  .hero-copy h1 {
    margin-bottom: 0;
  }
}

@media (min-width: 600px) and (max-width: 1060.98px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero-grid {
    width: min(100%, 820px);
    gap: 42px;
  }

  .hero-copy {
    padding-left: 0;
    text-align: center;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-card {
    order: -1;
    width: min(100%, 440px);
    max-width: 440px;
    left: auto;
  }

  .hero-copy h1 {
    max-width: none;
    margin-bottom: 32px;
    font-size: clamp(2.45rem, 5vw, 3rem);
    line-height: 1;
    white-space: nowrap;
  }

  .hero-copy h1 span {
    display: inline;
  }

  .hero-copy h1 span + span {
    margin-left: 0.2em;
  }

  .hero-story {
    width: min(100%, 680px);
    margin-inline: auto;
    gap: 22px;
    text-align: left;
  }

  .hero-meta-row {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .hero-meta span {
    min-height: 34px;
    padding: 7px 10px;
    font-size: clamp(0.72rem, 1.65vw, 0.92rem);
    white-space: nowrap;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .hero-actions .button {
    width: 100%;
  }
}

@media (min-width: 700px) and (max-width: 1060.98px) {
  .hero-meta {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
  }

  .hero-meta-row {
    display: contents;
  }
}

@media (max-width: 760.98px) {
  .hero-copy h1 {
    margin-bottom: 34px;
  }

  .hero-story {
    gap: 24px;
    margin-bottom: 40px;
  }
}

@media (min-width: 600px) and (max-width: 760.98px) {
  .hero-copy h1 {
    margin-bottom: 32px;
    font-size: clamp(2.45rem, 5vw, 3rem);
  }

  .hero-story {
    gap: 22px;
    margin-bottom: 36px;
  }
}

/* Keep the desktop navigation stable across scaled Retina and wide displays. */
@media (min-width: 1061px) and (max-width: 1399px) {
  .site-header {
    width: min(calc(100% - 40px), 1240px);
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding: 11px 9px;
    font-size: 0.84rem;
  }
}

@media (min-width: 1400px) and (max-width: 1599.98px) {
  .site-header {
    width: min(calc(100% - 56px), 1280px);
    gap: 14px;
    padding: 12px 14px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 12px;
    font-size: 0.92rem;
  }
}

@media (min-width: 1600px) and (max-width: 2199.98px) {
  .site-header {
    width: min(calc(100% - 64px), max(1360px, 78vw));
  }
}

@media (min-width: 2200px) and (max-width: 3199.98px) {
  .site-header {
    width: min(calc(100% - 64px), 2360px);
    gap: 24px;
  }

  .site-nav {
    gap: clamp(8px, 0.45vw, 12px);
  }

  .site-nav a {
    padding: 24px clamp(20px, 0.9vw, 28px);
    font-size: clamp(1.28rem, 1.15vw, 1.46rem);
  }
}

@media (min-width: 3200px) {
  .site-header {
    width: min(calc(100% - 96px), 3040px);
  }

  .site-nav {
    gap: clamp(16px, 0.6vw, 22px);
  }

  .site-nav a {
    padding: 32px clamp(32px, 1.1vw, 44px);
    font-size: clamp(1.8rem, 1.15vw, 2.1rem);
  }
}

/* Keep ultrawide and Retina desktops in the same visual scale as the 2K layout. */
@media (min-width: 2200px) {
  .site-header,
  .section,
  .site-footer__inner {
    width: min(calc(100% - 64px), 2120px);
  }

  .hero {
    min-height: min(calc(100svh - 176px), 1320px);
    align-items: center;
  }

  .profile-section,
  .projects-section,
  .experience-section,
  .skills-section,
  .education-section {
    min-height: min(calc(100svh - 196px), 1320px);
  }
}

@media (min-width: 3200px) {
  :root {
    --max: 2120px;
    --anchor-offset: 196px;
  }

  .site-header {
    top: 30px;
    margin-top: 30px;
    padding: 24px 28px;
    gap: 24px;
    box-shadow: 0 18px 56px rgba(30, 33, 75, 0.1);
  }

  .brand {
    gap: 22px;
  }

  .brand-mark {
    width: 86px;
    height: 86px;
  }

  .brand-text {
    font-size: 1.72rem;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    padding: 26px clamp(24px, 1vw, 30px);
    font-size: 1.5rem;
  }

  .section {
    padding: 54px 0;
  }

  h1 {
    max-width: 1320px;
    font-size: 8.25rem;
  }

  h2 {
    max-width: 1540px;
    font-size: 5.6rem;
  }

  h3 {
    font-size: 1.7rem;
  }

  p {
    font-size: 1.18rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(640px, 0.6fr);
    gap: 150px;
  }

  .hero-copy h1 {
    max-width: 1260px;
    margin-bottom: 38px;
  }

  .hero-story {
    max-width: 1040px;
    gap: 28px;
  }

  .hero-note--bio p {
    font-size: 1.9rem;
  }

  .hero-note--professional p {
    font-size: 1.85rem;
  }

  .button {
    min-height: 74px;
    padding: 0 38px;
    font-size: 1.18rem;
  }

  .hero-card {
    max-width: 760px;
    padding: 28px;
    border-radius: 52px;
  }

  .portrait-wrap {
    border-radius: 38px;
  }

  .profile-card-content {
    padding: 34px 16px 14px;
  }

  .profile-card-content h2 {
    font-size: 4.25rem;
  }

  .profile-card-content p:last-child {
    font-size: 1.3rem;
  }

  .project-media {
    padding: 46px;
  }

  .project-content {
    min-height: 360px;
    padding: 46px;
  }

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

  .timeline-item {
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 64px;
    padding: 40px 54px;
  }

  .timeline-body h3 {
    font-size: 2.55rem;
  }

  .timeline-body p {
    font-size: 1.16rem;
  }

  .skill-group {
    min-height: 0;
    padding: 58px;
    gap: normal;
    text-align: left;
  }

  .skill-group h3 {
    font-size: 1.7rem;
  }

  .tags {
    justify-content: flex-start;
    gap: 14px;
  }

  .tags span {
    min-height: 58px;
    padding: 13px 22px;
    font-size: 1.16rem;
    text-align: left;
  }

  .education-card {
    min-height: 430px;
    padding: 42px;
    text-align: left;
  }

  .education-card::before {
    content: none;
  }

  .education-card h3 {
    max-width: none;
    font-size: 1.78rem;
  }

  .education-card p {
    max-width: none;
    font-size: 1.18rem;
  }

  .education-card__content {
    width: 100%;
    gap: 18px;
  }

  .languages h3 {
    font-size: 1.78rem;
  }
}

/* Responsive hardening after the scaled desktop rules above. */
@media (max-width: 1060.98px) {
  .site-nav {
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable both-edges;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.65rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-copy h1 span {
    white-space: nowrap;
  }
}

.recommendation-card__person strong,
.recommendation-card__person span {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: break-word;
}

@media (max-width: 760.98px) {
  .section-heading br {
    display: inline;
    content: " ";
  }

  .recommendation-card__author {
    align-items: start;
  }
}

@media (max-width: 599.98px) {
  .project-media--checkpoint img {
    transform: none;
  }
}

@media (min-width: 600px) and (max-width: 1060.98px) {
  .hero-grid {
    --tablet-title-width: min(100%, clamp(540px, 84vw, 760px));
  }

  .hero-card {
    width: var(--tablet-title-width);
    max-width: none;
  }

  .hero-copy h1,
  .hero-meta {
    width: var(--tablet-title-width);
    margin-inline: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 6.8vw, 3.94rem);
  }

  .hero-story {
    width: var(--tablet-title-width);
    max-width: none;
  }

  .hero-note--professional p {
    font-size: clamp(1.77rem, 3vw, 2.28rem);
  }

  .hero-actions {
    width: var(--tablet-title-width);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(6px, 1.2vw, 12px);
  }

  .hero-actions .button {
    min-width: 0;
    min-height: clamp(46px, 5.4vw, 52px);
    padding-inline: clamp(6px, 1.2vw, 12px);
    font-size: clamp(0.8rem, 1.9vw, 1.1rem);
  white-space: nowrap;
}

  .hero-meta,
  .hero-meta-row {
    display: block;
  }

  .hero-meta-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 2.1fr);
    gap: clamp(8px, 1.35vw, 14px);
  }

  .hero-meta span {
    width: 100%;
    min-height: clamp(40px, 5.4vw, 48px);
    justify-content: center;
    padding: 8px clamp(12px, 1.8vw, 18px);
    font-size: clamp(1.23rem, 2.475vw, 1.5rem);
    text-align: center;
  }
}

@media (min-width: 761px) and (max-width: 1060.98px) {
  .recommendations-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .recommendation-card {
    grid-column: span 2;
  }

  .recommendation-card:nth-child(3) {
    grid-column: 2 / span 2;
  }
}

@media (min-width: 1061px) and (max-width: 1599.98px) and (max-height: 920px),
       (min-width: 1061px) and (max-width: 1599.98px) and (min-aspect-ratio: 3 / 2) {
  .section {
    padding: 28px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.52fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .hero-copy h1 {
    max-width: 700px;
    margin-bottom: 18px;
    font-size: clamp(2.9rem, 5vw, 4.6rem);
  }

  .hero-card {
    max-width: 420px;
  }

  .timeline-meta span {
    font-size: 0.78rem;
  }

  .timeline-meta strong {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .timeline-body p {
    font-size: 0.875rem;
    line-height: 1.45;
  }
}

@media (min-width: 1061px) and (max-width: 1599.98px) and (max-height: 800px) {
  .projects-section .project-kicker {
    font-size: 0.78rem;
  }

  .projects-section .project-content p {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .projects-section .project-content h3 {
    font-size: 1.1rem;
  }

  .projects-section .project-link {
    min-height: 38px;
    font-size: 0.84rem;
  }
}

@media (min-width: 1600px) and (max-width: 2199.98px) {
  .site-header {
    width: min(calc(100% - 64px), max(1500px, 78vw));
  }
}

@media (min-width: 1600px) {
  h2 {
    font-size: clamp(4.4rem, calc(1.2rem + 3.2vw), 5.6rem);
  }

  .recommendations-grid {
    gap: clamp(20px, 1.25vw, 28px);
  }

  .recommendation-card {
    --recommendation-media-size: clamp(56px, calc(1.5rem + 2vw), 68px);
    --recommendation-quote-inset: clamp(28px, 1.75vw, 38px);
    --recommendation-author-inset: clamp(18px, 1.15vw, 24px);
    min-height: clamp(360px, 20vw, 430px);
    padding: clamp(28px, 1.75vw, 38px);
  }

  .recommendation-card__quote {
    margin-bottom: clamp(24px, 1.5vw, 32px);
    padding-left: clamp(28px, 1.75vw, 38px);
    font-size: clamp(1rem, calc(0.467rem + 0.533vw), 1.2rem);
    line-height: 1.58;
  }

  .recommendation-card__author {
    grid-template-columns:
      var(--recommendation-media-size)
      minmax(0, 1fr);
    gap: clamp(12px, 0.75vw, 16px);
    padding-top: clamp(18px, 1.15vw, 24px);
  }

  .recommendation-card__avatar {
    width: var(--recommendation-media-size);
    height: var(--recommendation-media-size);
  }

  .recommendation-card__person strong {
    font-size: clamp(1rem, calc(0.52rem + 0.48vw), 1.18rem);
  }

  .recommendation-card__person span {
    font-size: clamp(0.8rem, calc(0.373rem + 0.427vw), 0.96rem);
  }
}

@media (min-width: 1600px) and (max-width: 2199.98px) and (max-height: 1000px),
       (min-width: 1600px) and (max-width: 1799.98px) and (min-aspect-ratio: 3 / 2) {
  h2 {
    font-size: clamp(3.45rem, calc(-5.72rem + 9.17vw), 5.6rem);
  }
}

@media (min-width: 2200px) {
  .recommendations-section {
    min-height: min(calc(100svh - 196px), 1320px);
  }
}

@media (min-width: 3200px) {
  .skills-grid,
  .education-grid {
    gap: 20px;
  }

  .skill-group {
    display: block;
    align-items: normal;
    justify-content: normal;
  }

  .skill-group h3 {
    margin: 0 0 12px;
  }

  .education-card {
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow: visible;
    box-shadow: 0 18px 60px rgba(30, 33, 75, 0.07);
  }

  .education-card span {
    font-size: 0.94rem;
  }

  .education-card__content {
    --education-title-space: 3rem;
    --education-description-space: 5.2rem;
  }
}

/* Scale the 2560x1440 composition proportionally across 16:9 desktops. */
@media (min-width: 1800px) {
  :root {
    font-size: clamp(12px, 0.625vw, 24px);
    --max: 132.5rem;
    --anchor-offset: 12.25rem;
    --radius-lg: 2rem;
    --radius-md: 1.375rem;
    --shadow: 0 1.5rem 5rem rgba(30, 33, 75, 0.13);
  }

  .site-header,
  .section,
  .site-footer__inner {
    width: min(calc(100% - 4rem), var(--max));
  }

  .site-header {
    top: 1.875rem;
    margin-top: 1.875rem;
    padding: 1.5rem 1.75rem;
    gap: 1.5rem;
    box-shadow: 0 1.125rem 3.5rem rgba(30, 33, 75, 0.1);
  }

  .brand {
    gap: 1.375rem;
  }

  .brand-mark {
    width: 5.375rem;
    height: 5.375rem;
  }

  .brand-text {
    font-size: 1.72rem;
  }

  .site-nav {
    gap: 0.72rem;
  }

  .site-nav a {
    padding: 1.5rem 1.44rem;
    font-size: 1.46rem;
  }

  .section {
    padding: 3.375rem 0;
  }

  .profile-section,
  .projects-section,
  .experience-section,
  .recommendations-section,
  .skills-section,
  .education-section {
    min-height: calc(100svh - var(--anchor-offset));
    display: grid;
    align-content: center;
  }

  .recommendations-section {
    scroll-margin-top: 5rem;
  }

  .section-heading {
    max-width: 96.25rem;
    margin-bottom: 3rem;
  }

  h2 {
    max-width: 96.25rem;
    font-size: 5.6rem;
    line-height: 0.98;
  }

  h3 {
    font-size: 1.7rem;
  }

  p {
    font-size: 1.18rem;
    line-height: 1.58;
  }

  .hero {
    min-height: calc(100svh - 11rem);
    padding-top: 5.375rem;
    padding-bottom: 5.5rem;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(40rem, 0.6fr);
    gap: 9.375rem;
  }

  .hero-copy h1 {
    max-width: 78.75rem;
    margin-bottom: 0;
    font-size: 5.8rem;
    line-height: 0.9;
  }

  .hero-story {
    max-width: 65rem;
    gap: 1.75rem;
  }

  .hero-meta,
  .hero-meta-row {
    gap: 0.832rem;
  }

  .hero-meta span {
    min-height: 3.52rem;
    padding: 0.832rem 1.44rem;
    font-size: 1.4rem;
  }

  .hero-note--bio p {
    font-size: 1.9rem;
  }

  .hero-note--professional p {
    max-width: 48rem;
    font-size: 1.85rem;
  }

  .hero-actions {
    gap: 1rem;
  }

  .button {
    min-height: 4.625rem;
    padding: 0 2.375rem;
    font-size: 1.18rem;
  }

  .hero-card {
    max-width: 47.5rem;
    padding: 1.75rem;
    border-radius: 3.25rem;
  }

  .portrait-wrap {
    border-radius: 2.375rem;
  }

  .profile-card-content {
    padding: 2.125rem 1rem 0.875rem;
  }

  .profile-card-content h2 {
    font-size: 4.25rem;
  }

  .profile-card-content p:last-child {
    font-size: 1.3rem;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 2.5rem;
  }

  .profile-statement,
  .profile-statement--quote {
    min-height: 21.875rem;
    padding: 3.25rem;
  }

  .profile-statement p {
    font-size: 1.32rem;
  }

  .profile-statement .statement-title {
    max-width: 41.25rem;
    padding-top: 1rem;
    font-size: 3rem;
  }

  .statement-kicker {
    min-height: 2.125rem;
    margin-bottom: 1.25rem;
    padding: 0.4375rem 0.6875rem;
    font-size: 0.78rem;
  }

  .service-grid {
    gap: 1.5rem;
  }

  .service-card {
    padding: 2.375rem 2.75rem;
  }

  .projects-grid {
    gap: 2rem;
  }

  .project-media {
    padding: 2.875rem;
  }

  .project-media--eleni img {
    max-height: 11.875rem;
  }

  .project-content {
    min-height: 22.5rem;
    padding: 2.875rem;
  }

  .project-content h3 {
    margin-bottom: 1.375rem;
    font-size: 2.15rem;
  }

  .project-content p {
    min-height: 7.375rem;
    font-size: 1.18rem;
  }

  .project-kicker {
    margin-bottom: 0.75rem;
    font-size: max(0.76rem, 12px);
  }

  .project-link {
    min-height: 3.5rem;
    padding: 0 1.5rem;
    font-size: max(1.08rem, 14px);
  }

  .timeline {
    gap: 1.5rem;
  }

  .timeline-item {
    grid-template-columns: 25rem minmax(0, 1fr);
    gap: 4rem;
    padding: 2.5rem 3.375rem;
  }

  .timeline-meta {
    gap: 0.625rem;
  }

  .timeline-meta span {
    font-size: max(0.94rem, 12px);
  }

  .timeline-meta strong {
    font-size: 1.22rem;
  }

  .timeline-body h3 {
    margin-bottom: 0.75rem;
    font-size: 2.55rem;
  }

  .timeline-body p {
    margin-bottom: 0.86rem;
    font-size: 1.16rem;
  }

  .recommendations-grid {
    gap: 1.75rem;
  }

  .recommendation-card {
    --recommendation-media-size: 4.25rem;
    --recommendation-quote-inset: 2.375rem;
    --recommendation-author-inset: 1.5rem;
    min-height: 26.875rem;
    padding: 2.375rem;
  }

  .recommendation-card__quote {
    margin-bottom: 2rem;
    padding-left: 2.375rem;
    font-size: 1.2rem;
  }

  .recommendation-card__author {
    grid-template-columns:
      var(--recommendation-media-size)
      minmax(0, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .recommendation-card__avatar {
    width: var(--recommendation-media-size);
    height: var(--recommendation-media-size);
  }

  .recommendation-card__person strong {
    font-size: 1.18rem;
  }

  .recommendation-card__person span {
    font-size: max(0.96rem, 12px);
  }

  .skills-grid,
  .education-grid {
    gap: 1.75rem;
  }

  .skill-group {
    min-height: 0;
    display: block;
    padding: 3.625rem;
    gap: normal;
    align-items: normal;
    justify-content: normal;
    text-align: left;
  }

  .skill-group h3 {
    margin: 0 0 0.75rem;
    font-size: 1.7rem;
  }

  .tags {
    justify-content: flex-start;
    gap: 0.875rem;
  }

  .tags span {
    min-height: 3.625rem;
    padding: 0.8125rem 1.375rem;
    font-size: 1.16rem;
  }

  .education-card {
    min-height: 18.8125rem;
    padding: 2.625rem;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
    overflow: visible;
    text-align: left;
  }

  .education-card span {
    font-size: max(0.94rem, 12px);
  }

  .education-card h3,
  .languages h3 {
    max-width: none;
    margin: 0;
    font-size: 1.78rem;
  }

  .education-card p {
    max-width: none;
    font-size: 1.18rem;
  }

  .education-card__content {
    width: 100%;
    gap: 0.875rem;
    --education-title-space: 3rem;
    --education-description-space: 5.2rem;
  }

  .languages p {
    opacity: 0.72;
  }

  .site-footer {
    margin-top: 8.5rem;
    padding: 7.25rem 0;
    background-size: 4rem 4rem, 4rem 4rem, auto, auto;
  }

  .site-footer::before {
    width: min(32vw, 32.5rem);
    height: max(0.1875rem, 2px);
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.72fr);
    gap: 7rem;
  }

  .site-footer h2 {
    max-width: 14ch;
    font-size: 4.35rem;
  }

  .contact-link {
    min-height: 3.875rem;
    padding: 0.875rem 0.25rem;
    font-size: max(1rem, 14px);
  }
}

/* Adaptive audit fixes: keep boundaries continuous and content fully visible. */
@media (max-width: 1060.98px) {
  .nav-toggle {
    flex: 0 0 44px;
  }

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

  .project-media--checkpoint img {
    transform: none;
  }
}

@media (max-width: 760.98px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .recommendation-card {
    min-height: 0;
    padding: 22px;
  }

  .recommendation-card__quote {
    margin-bottom: 22px;
  }
}

@media (min-width: 600px) and (max-width: 1060.98px) {
  .recommendations-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .recommendation-card {
    grid-column: span 2;
  }

  .recommendation-card:nth-child(3) {
    grid-column: 2 / span 2;
  }

}

@media (max-width: 900px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 1060.98px) {
  .brand,
  .project-link {
    min-height: 44px;
  }
}

@media (min-width: 600px) and (max-width: 1060.98px) {
  h2 {
    font-size: clamp(2.9rem, 4.4vw, 3rem);
  }

  .projects-heading-line,
  .education-heading-line {
    white-space: normal;
  }

  .site-footer__inner {
    width: min(calc(100% - 40px), 900px);
  }
}

@media (max-width: 1060.98px) and (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-card {
    order: 0;
    width: min(100%, 420px);
    max-width: 420px;
  }
}

/* Keep four-card desktop rows consistent across logical Retina widths. */
@media (min-width: 1061px) and (max-width: 1180.98px) {
  .projects-grid,
  .education-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .education-card {
    grid-column: auto;
  }
}

@media (min-width: 1181px) and (max-width: 1799.98px) {
  .projects-grid,
  .education-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-card,
  .education-card {
    grid-column: auto;
  }
}

@media (min-width: 1061px) and (max-width: 1799.98px) {
  .education-section h2 {
    font-size: clamp(46.4px, 3.75vw, 66.5px);
  }
}

@media (min-width: 1061px) and (max-width: 1599.98px) and (max-height: 1000px) {
  h2 {
    font-size: clamp(2.9rem, 3.8vw, 3.45rem);
  }

  .education-section h2 {
    font-size: clamp(46.4px, 3.75vw, 55.2px);
  }

  .statement-kicker {
    font-size: 0.75rem;
  }
}

@media (min-width: 1600px) and (max-width: 1799.98px) and (max-height: 1000px),
       (min-width: 1600px) and (max-width: 1799.98px) and (min-aspect-ratio: 3 / 2) {
  .education-section h2 {
    font-size: min(
      clamp(3.45rem, calc(-5.72rem + 9.17vw), 5.6rem),
      calc(13px + 3vw)
    );
  }
}

@media (min-width: 1600px) and (max-width: 1799.98px) {
  :root {
    font-size: clamp(12px, calc(48px - 2vw), 16px);
  }
}

@media (min-width: 1600px) and (max-width: 1799.98px) and (min-aspect-ratio: 3 / 2) {
  .statement-kicker {
    font-size: max(0.78rem, 12px);
  }

  .skills-section,
  .education-section {
    min-height: calc(100svh - var(--anchor-offset));
    display: grid;
    align-content: center;
  }
}

@media (min-width: 1800px) {
  .statement-kicker {
    font-size: max(0.78rem, 12px);
  }

  .recommendation-card__person .recommendation-card__company {
    font-size: max(0.96rem, 12px);
  }
}

@media (max-width: 599.98px) {
  .recommendation-card__quote--placeholder {
    margin-bottom: clamp(76px, calc(376px - 55vw), 200px);
  }
}

@media (min-width: 600px) and (max-width: 1060.98px) {
  .recommendation-card__quote--placeholder {
    margin-bottom: clamp(90px, calc(320px - 21.67vw), 190px);
  }
}

@media (min-width: 1600px) and (max-width: 1799.98px) {
  .timeline-meta strong {
    font-size: max(1rem, 14px);
  }

  .timeline-body h3 {
    font-size: max(1.8rem, 28.8px);
  }

  .timeline-body p {
    font-size: max(1.03rem, 14px);
  }
}

@media (min-width: 1061px) and (max-width: 1599.98px) and (max-height: 920px),
       (min-width: 1061px) and (max-width: 1599.98px) and (min-aspect-ratio: 3 / 2) {
  .timeline-body h3 {
    font-size: max(clamp(1.18rem, 1.9vw, 1.55rem), 26px);
  }
}

@media (min-width: 1800px) and (max-width: 2199.98px) {
  .timeline-body p {
    font-size: max(1.16rem, 14px);
  }
}

/* Keep experience labels aligned at every responsive breakpoint. */
.timeline-meta span,
.timeline-content-label {
  font-size: clamp(0.86rem, calc(0.82rem + 0.12vw), 1rem);
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
