:root {
  --bg: #06111f;
  --bg-2: #0b1728;
  --bg-3: #0d2036;
  --surface: rgba(15, 30, 49, 0.9);
  --surface-2: #12253b;
  --surface-light: #f5f8fb;
  --card-light: #ffffff;
  --text: #ebf3fb;
  --text-dark: #08131f;
  --muted: #9eb0c2;
  --muted-dark: #617385;
  --line: rgba(255,255,255,.10);
  --line-dark: rgba(7, 22, 39, .10);
  --accent: #43e0a6;
  --accent-2: #42a4ff;
  --accent-3: #8a63ff;
  --shadow: 0 24px 70px rgba(0,0,0,.24);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(66,164,255,.10), transparent 32%),
    radial-gradient(circle at left 20%, rgba(67,224,166,.06), transparent 26%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 110px 0; }
.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .032; z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: rgba(6,17,31,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: .28s ease;
}
.site-header.scrolled { background: rgba(6,17,31,.92); border-bottom-color: var(--line); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #bff8e3);
  color: #041019; box-shadow: 0 10px 28px rgba(67,224,166,.2);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.22; }
.brand-copy strong { font-family: 'Space Grotesk', sans-serif; font-size: 16px; }
.brand-copy small { color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.nav-links a { color: #d1dbe6; transition: .2s ease; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta {
  background: var(--accent); color: #06131f; padding: 12px 18px;
  border-radius: 999px; box-shadow: 0 10px 30px rgba(67,224,166,.18);
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: #fff; }

.hero {
  position: relative; min-height: 980px; display: flex; align-items: center;
  padding-top: 165px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 40%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: .18;
}
.hero-glow-a { width: 360px; height: 360px; background: var(--accent-2); right: 8%; top: 8%; }
.hero-glow-b { width: 320px; height: 320px; background: var(--accent-3); left: 45%; bottom: 10%; }
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 58px; align-items: center;
}
.hero-copy h1, .section-heading h2, .contact-card h2 {
  margin: 0; font-family: 'Space Grotesk', sans-serif; letter-spacing: -.045em; line-height: 1.04;
}
.hero-copy h1 { font-size: clamp(50px, 6vw, 82px); max-width: 760px; }
.hero-lead { margin: 26px 0 30px; color: #afc0d0; font-size: 20px; max-width: 700px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
  color: var(--accent); text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 800;
}
.eyebrow.dark { color: #0f996e; }
.eyebrow.light { color: #d9fff0; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.eyebrow.centred { justify-content: center; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 24px; border-radius: 999px;
  font-size: 14px; font-weight: 800; transition: .24s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #06131f; background: linear-gradient(135deg, var(--accent), #9ef0cd);
  box-shadow: 0 16px 34px rgba(67,224,166,.2);
}
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.button-light { background: #fff; color: #08131f; }
.button-outline-light { border: 1px solid rgba(255,255,255,.38); }
.opportunity-note {
  margin: 24px 0 0; color: #cfe0ef; max-width: 720px; font-size: 15px;
}
.hero-highlights {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px;
}
.hero-highlights article {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035);
}
.hero-highlights article span {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(67,224,166,.11); color: var(--accent); font-size: 22px; font-weight: 700;
}
.hero-highlights strong { display: block; font-size: 15px; }
.hero-highlights small { color: var(--muted); font-size: 12px; }
.hero-proof {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-proof div { display: flex; flex-direction: column; gap: 4px; }
.hero-proof strong { font-family: 'Space Grotesk', sans-serif; font-size: 22px; }
.hero-proof span { color: var(--muted); font-size: 12px; }

.hero-visual { position: relative; }
.hero-visual-grid { display: grid; grid-template-columns: .72fr 1fr; gap: 18px; align-items: stretch; }
.portrait-card {
  position: relative; overflow: hidden; border-radius: 30px; min-height: 100%;
  border: 1px solid rgba(255,255,255,.12); background: #071321; box-shadow: 0 28px 70px rgba(0,0,0,.24);
}
.portrait-card img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.portrait-card::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(4,10,18,.82));
}
.portrait-card-info {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
}
.portrait-card-info strong { font-family: 'Space Grotesk', sans-serif; font-size: 24px; }
.portrait-card-info span { color: #d5e4f0; font-size: 13px; }
.hero-side-stack { display: grid; gap: 16px; }
.hero-image-card {
  border-radius: 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 70px rgba(0,0,0,.28); background: #071321;
}
.hero-image-card img { width: 100%; height: 100%; object-fit: cover; }
.code-panel {
  position: relative; width: min(88%, 500px); margin: -58px 0 0 auto; padding: 18px 20px 20px;
  border-radius: 24px; background: rgba(8,20,34,.92); border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.code-top { display: flex; gap: 7px; margin-bottom: 14px; }
.code-top span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.code-top span:nth-child(1) { background: #ff6b6b; }
.code-top span:nth-child(2) { background: #ffd166; }
.code-top span:nth-child(3) { background: #43e0a6; }
.code-panel pre { margin: 0; overflow: auto; }
.code-panel code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: #dceaff; font-size: 14px; line-height: 1.7;
}


.availability-card {
  position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 18px; background: rgba(8,20,34,.92); border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.availability-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px rgba(67,224,166,.12); }
.availability-card strong { display: block; font-size: 14px; }
.availability-card small { color: var(--muted); font-size: 12px; }

.opportunity-strip { background: #071321; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opportunity-inner { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.opportunity-inner small { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: .09em; font-size: 11px; font-weight: 800; }
.opportunity-inner strong { display: block; font-size: 16px; }
.opportunity-inner a { color: #d8e7f2; font-weight: 800; }

.hire-section { background: #07111f; }
.hire-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 34px; border-radius: 28px;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
}
.hire-card p { color: var(--muted); font-size: 16px; }
.hire-points { display: grid; gap: 14px; }
.hire-points article { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.hire-points strong { display: block; margin-bottom: 6px; font-size: 16px; }
.hire-points span { color: var(--muted); font-size: 14px; }

.logo-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.strip-inner {
  min-height: 92px; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.strip-inner span {
  color: #8ea1b6; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

.about-section, .featured-section, .experience-section, .technology-section { background: var(--surface-light); color: var(--text-dark); }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.section-heading h2 { font-size: clamp(40px, 5vw, 62px); }
.section-heading p { margin: 14px 0 0; color: #5f7183; max-width: 760px; font-size: 17px; }
.about-copy > p { color: var(--muted-dark); font-size: 18px; margin: 0 0 16px; }
.about-values {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px;
}
.about-values article {
  padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line-dark);
  box-shadow: 0 14px 36px rgba(12, 29, 50, .05);
}
.about-values span { color: #0f996e; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.about-values h3 { margin: 12px 0 10px; font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.about-values p { margin: 0; color: #687b8d; font-size: 14px; }

.expertise-section { background: #081423; }
.section-heading.centred { text-align: center; max-width: 820px; margin-inline: auto; }
.expertise-grid {
  margin-top: 50px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.expertise-card {
  position: relative; min-height: 320px; padding: 28px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
}
.expertise-number {
  position: absolute; right: 24px; top: 22px; color: rgba(255,255,255,.14);
  font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700;
}
.expertise-icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px;
  background: rgba(67,224,166,.11); color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 700;
}
.expertise-card h3 { margin: 22px 0 10px; font-family: 'Space Grotesk', sans-serif; font-size: 24px; }
.expertise-card p { margin: 0 0 18px; color: #a8bacb; font-size: 15px; }
.expertise-card ul { margin: 0; padding-left: 18px; color: #d2deea; }
.expertise-card li { margin-bottom: 6px; }

.featured-section .section-heading { margin-bottom: 34px; }
.feature-banner-grid { display: grid; gap: 24px; }
.feature-banner-card {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: stretch;
  padding: 18px; border-radius: 28px; background: #fff; border: 1px solid var(--line-dark);
  box-shadow: 0 20px 45px rgba(12, 29, 50, .06);
}
.feature-banner-image { overflow: hidden; border-radius: 22px; min-height: 320px; }
.feature-banner-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-banner-copy { display: flex; flex-direction: column; justify-content: center; padding: 10px 6px; }
.banner-label {
  display: inline-flex; width: fit-content; padding: 7px 12px; border-radius: 999px;
  background: #e6f7f0; color: #0e9068; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
}
.feature-banner-copy h3 { margin: 16px 0 12px; font-family: 'Space Grotesk', sans-serif; font-size: 34px; line-height: 1.08; }
.feature-banner-copy p { margin: 0; color: #607284; font-size: 16px; }
.banner-tags, .inline-tags, .project-tags, .location-pills, .tech-cloud, .modal-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.banner-tags { margin-top: 18px; }
.banner-tags span, .inline-tags span, .project-tags span, .location-pills span, .tech-cloud span, .modal-tags span {
  padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.banner-tags span { background: #eff5fb; color: #365169; }

.work-section { background: #07111f; }
.projects-top {
  display: grid; grid-template-columns: 1fr .56fr; gap: 60px; align-items: end;
}
.projects-top > p { margin: 0 0 8px; color: var(--muted); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 30px; }
.filter {
  border: 1px solid var(--line); background: transparent; color: #c7d5e2; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; transition: .22s ease;
}
.filter:hover, .filter.active { background: var(--accent); border-color: var(--accent); color: #06131f; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
  position: relative; min-height: 315px; padding: 24px; border-radius: 28px;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  cursor: pointer; transition: .28s ease; display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-7px); border-color: rgba(67,224,166,.38); box-shadow: 0 22px 55px rgba(0,0,0,.22); }
.project-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.project-category, .project-badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 6px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
}
.project-category { background: rgba(255,255,255,.06); }
.project-category.enterprise { color: #6de5b3; }
.project-category.commerce { color: #ff8f9c; }
.project-category.communications { color: #8eb6ff; }
.project-badge { color: #c4d2e2; border: 1px solid rgba(255,255,255,.08); }
.project-code {
  margin: 22px 0 14px; font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--accent);
}
.project-card h3 { margin: 0 0 12px; font-family: 'Space Grotesk', sans-serif; font-size: 28px; line-height: 1.08; }
.project-card p { margin: 0 0 22px; color: #a5b7c8; font-size: 14px; }
.project-tags { margin-top: auto; }
.project-tags span { background: rgba(255,255,255,.05); color: #d6e2ee; }
.project-link {
  margin-top: 18px; align-self: flex-start; background: transparent; border: 0; padding: 0;
  color: #fff; font-size: 13px; font-weight: 800; cursor: pointer;
}
.project-link::after { content: ' ↗'; color: var(--accent); }

.experience-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.experience-card {
  padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line-dark);
  box-shadow: 0 18px 40px rgba(12, 29, 50, .06);
}
.time-pill {
  display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #e8f8f1;
  color: #0f996e; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.experience-card h3 { margin: 16px 0 6px; font-family: 'Space Grotesk', sans-serif; font-size: 27px; line-height: 1.1; }
.experience-card h4 { margin: 0 0 12px; color: #0f4e7a; font-size: 15px; }
.experience-card p { margin: 0 0 18px; color: #637486; }
.inline-tags span { background: #eff5fb; color: #355069; }

.process-section { background: #091624; }
.process-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 80px; }
.process-steps { display: grid; gap: 14px; }
.process-steps article {
  display: grid; grid-template-columns: 68px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.process-steps article > span {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(67,224,166,.11); color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 700;
}
.process-steps h3 { margin: 0 0 6px; font-family: 'Space Grotesk', sans-serif; font-size: 22px; }
.process-steps p { margin: 0; color: var(--muted); }

.technology-section .section-heading { margin-bottom: 34px; }
.tech-cloud { justify-content: center; }
.tech-cloud span {
  background: #fff; color: #22384f; border: 1px solid var(--line-dark); box-shadow: 0 10px 25px rgba(12, 29, 50, .04);
}

.contact-section { background: var(--surface-light); padding-top: 80px; }
.contact-card {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 62px; align-items: center;
  padding: 56px; border-radius: 34px;
  background: linear-gradient(135deg, #0b8f68, #0a3650 62%, #071b38);
  box-shadow: 0 32px 80px rgba(4,36,48,.22);
}
.contact-card p { color: #d4e8e5; font-size: 17px; max-width: 660px; }
.location-pills { margin-top: 24px; }
.location-pills span { background: rgba(255,255,255,.10); color: #fff; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-mini-card {
  display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 16px 18px;
  border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}
.contact-avatar { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; border: 1px solid rgba(255,255,255,.16); }
.contact-mini-card b { display: block; font-size: 15px; }
.contact-mini-card span { color: rgba(255,255,255,.78); font-size: 13px; }
.back-top { margin-top: 4px; color: #dffcf0; font-weight: 800; }

.site-footer { background: var(--surface-light); color: var(--text-dark); padding: 64px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; padding-bottom: 36px;
}
.footer-brand .brand-copy small { color: #657688; }
.footer-grid > p { margin: 0; color: #657688; }
.footer-links { display: flex; gap: 20px; font-size: 13px; font-weight: 800; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line-dark);
  color: #7b8c9d; font-size: 12px;
}

.project-modal {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px;
}
.project-modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,9,17,.8); backdrop-filter: blur(8px); }
.modal-panel {
  position: relative; z-index: 2; width: min(780px, 100%); max-height: 88vh; overflow-y: auto;
  border-radius: 28px; background: #f8fbfd; color: var(--text-dark); padding: 38px;
  box-shadow: var(--shadow); animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.modal-close {
  position: absolute; right: 20px; top: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-dark); background: white; cursor: pointer; font-size: 24px;
}
.modal-category {
  display: inline-block; margin-bottom: 12px; color: #0e9168; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
}
.modal-panel h2 { margin: 0 48px 12px 0; font-family: 'Space Grotesk', sans-serif; font-size: 38px; line-height: 1.05; }
.modal-panel > p { color: #607284; }
.modal-columns {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-dark);
}
.modal-columns h3 { margin: 0 0 12px; font-family: 'Space Grotesk', sans-serif; font-size: 17px; }
.modal-columns ul { margin: 0; padding-left: 18px; color: #5f7082; }
.modal-columns li { margin-bottom: 8px; }
.modal-tags span { background: #eaf1f4; color: #22475a; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@media (max-width: 1100px) {
  .hero-grid, .about-grid, .projects-top, .process-grid, .contact-card, .hire-card { grid-template-columns: 1fr; }
  .hero-visual-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .feature-banner-card { grid-template-columns: 1fr; }
  .experience-grid, .project-grid, .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: span 2; }
}

@media (max-width: 760px) {
  .opportunity-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; }
  .availability-card { position: static; margin-top: 14px; }
  .container { width: min(100% - 28px, 1180px); }
  .section-pad { padding: 84px 0; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; left: 14px; right: 14px; top: 72px; display: none;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    border: 1px solid var(--line); background: rgba(8,20,34,.98); border-radius: 18px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .nav-cta { text-align: center; margin-top: 4px; }
  .hero { padding-top: 134px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-lead { font-size: 18px; }
  .hero-highlights, .hero-proof, .about-values, .experience-grid, .project-grid, .expertise-grid, .hero-visual-grid { grid-template-columns: 1fr; }
  .code-panel { width: 100%; margin-top: 16px; }
  .process-steps article { grid-template-columns: 56px 1fr; }
  .contact-card { padding: 36px 24px; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { grid-column: auto; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; }
  .modal-panel { padding: 30px 24px; }
  .modal-panel h2 { font-size: 32px; }
  .modal-columns { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .hero-copy h1 { font-size: 40px; }
  .feature-banner-copy h3, .experience-card h3 { font-size: 28px; }
  .project-card h3 { font-size: 24px; }
}

/* Resume page */
.resume-page { background: #eef3f7; color: var(--text-dark); }
.resume-main { padding-top: 82px; }
.resume-hero {
  padding: 72px 0 62px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(66,164,255,.22), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(67,224,166,.13), transparent 28%),
    linear-gradient(135deg, #06111f, #0a2038 70%, #0b3152);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.resume-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 42px;
  align-items: start;
}
.resume-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}
.resume-intro h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(50px, 7vw, 86px);
  line-height: .96;
  letter-spacing: -.05em;
}
.resume-intro h2 {
  margin: 22px 0 14px;
  max-width: 900px;
  color: #d9e7f2;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.4vw, 31px);
  line-height: 1.25;
}
.resume-intro h2 span { color: var(--accent); }
.resume-intro > p { max-width: 820px; margin: 0; color: #afc0d0; font-size: 17px; }
.resume-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.resume-contact-row a,
.resume-contact-row span {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #dce8f3;
  font-size: 12px;
  font-weight: 700;
}
.resume-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.resume-actions button { cursor: pointer; }
.resume-photo-card {
  position: relative;
  width: 190px;
  min-height: 245px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 50px rgba(0,0,0,.24);
  background: #0b1929;
  justify-self: end;
}
.resume-photo-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  object-position: center top;
}
.resume-photo-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(4,10,18,.94));
}
.resume-photo-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.resume-photo-caption strong { font-family: 'Space Grotesk', sans-serif; font-size: 15px; }
.resume-photo-caption span { color: #c9d7e4; font-size: 11px; }
.passport-caption strong { letter-spacing: -.02em; }

.resume-body-section { padding: 60px 0 100px; }
.resume-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.resume-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 18px;
}
.resume-panel,
.resume-section-card {
  border: 1px solid rgba(12,29,50,.10);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(12,29,50,.06);
}
.resume-panel { padding: 24px; }
.resume-panel h3,
.resume-section-heading h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}
.resume-panel h3 { font-size: 21px; margin-bottom: 18px; }
.skill-group + .skill-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.skill-group h4 {
  margin: 0 0 7px;
  color: #0e9168;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.skill-group p,
.resume-panel > p { margin: 0; color: #617385; font-size: 13px; }
.compact-list { margin: 0; padding-left: 18px; color: #516476; font-size: 13px; }
.compact-list li { margin-bottom: 8px; }
.resume-country-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.resume-country-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9f7f1;
  color: #0e8c66;
  font-size: 11px;
  font-weight: 800;
}
.resume-content { display: grid; gap: 20px; }
.resume-section-card { padding: 32px; }
.resume-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.resume-section-heading > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #e8f8f1;
  color: #0f966c;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 800;
}
.resume-section-heading h3 { font-size: 28px; }
.resume-section-card > p { color: #596c7e; font-size: 15px; margin: 0 0 13px; }
.resume-role + .resume-role { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.resume-role-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.resume-role-head h4 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  line-height: 1.25;
}
.resume-role-head p { margin: 5px 0 0; color: #0f6e94; font-size: 13px; font-weight: 700; }
.resume-role-head time {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf3f8;
  color: #3a536a;
  font-size: 11px;
  font-weight: 800;
}
.resume-role ul { margin: 18px 0 0; padding-left: 19px; color: #586b7d; font-size: 14px; }
.resume-role li { margin-bottom: 10px; }
.resume-role code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #edf4f7;
  color: #0a6a82;
  font-size: .9em;
}
.resume-project-grid,
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.resume-project-grid article,
.education-grid article {
  padding: 20px;
  border-radius: 18px;
  background: #f4f8fb;
  border: 1px solid rgba(12,29,50,.08);
}
.resume-project-grid article > span {
  color: #0f9169;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.resume-project-grid h4,
.education-grid h4 {
  margin: 9px 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.25;
}
.resume-project-grid p,
.education-grid p { margin: 0; color: #647688; font-size: 13px; }
.resume-closing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0b8f68, #0a3650 62%, #071b38);
}
.resume-closing-label {
  color: #d7fff0;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 11px;
  font-weight: 800;
}
.resume-closing-card h3 { margin: 10px 0 8px; font-family: 'Space Grotesk', sans-serif; font-size: 30px; line-height: 1.12; }
.resume-closing-card p { margin: 0; color: #d4e8e5; }
.resume-closing-actions { display: flex; flex-direction: column; gap: 10px; min-width: 190px; }
.resume-footer { padding-top: 24px; }

@media (max-width: 980px) {
  .resume-hero-grid,
  .resume-layout,
  .resume-closing-card { grid-template-columns: 1fr; }
  .resume-photo-card { width: 190px; max-width: 190px; justify-self: start; }
  .resume-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resume-panel:first-child { grid-column: span 2; }
  .resume-closing-actions { flex-direction: row; min-width: 0; }
}

@media (max-width: 680px) {
  .resume-photo-card { width: 160px; min-height: 205px; }
  .resume-photo-card img { height: 205px; }
  .resume-main { padding-top: 76px; }
  .resume-hero { padding: 52px 0 46px; }
  .resume-intro h1 { font-size: 48px; }
  .resume-intro h2 { font-size: 22px; }
  .resume-sidebar,
  .resume-project-grid,
  .education-grid { grid-template-columns: 1fr; }
  .resume-panel:first-child { grid-column: auto; }
  .resume-section-card { padding: 24px; }
  .resume-role-head { flex-direction: column; gap: 10px; }
  .resume-closing-actions { flex-direction: column; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  body.resume-page { background: #fff !important; color: #111 !important; font-size: 10pt; }
  .resume-page .site-header,
  .resume-page .no-print,
  .resume-page .noise,
  .resume-page .resume-footer { display: none !important; }
  .resume-main { padding-top: 0; }
  .resume-hero { padding: 0 0 8mm; background: #fff !important; color: #111 !important; border: 0; }
  .resume-hero-grid { grid-template-columns: 1fr 35mm; gap: 6mm; }
  .resume-photo-card { width: 35mm; min-height: 45mm; border-radius: 3mm; box-shadow: none; border: 1px solid #ccd4db; justify-self: end; }
  .resume-photo-card img { height: 45mm; min-height: 45mm; }
  .resume-photo-caption { display: none; }
  .resume-intro h1 { font-size: 29pt; }
  .resume-intro h2 { color: #263746 !important; font-size: 13pt; margin: 4mm 0 2mm; }
  .resume-intro > p,
  .resume-contact-row a,
  .resume-contact-row span { color: #3b4b59 !important; }
  .resume-kicker { color: #087a58 !important; }
  .resume-contact-row { margin-top: 3mm; gap: 2mm; }
  .resume-contact-row a,
  .resume-contact-row span { padding: 1.2mm 2mm; border: 1px solid #d5dde3; background: #fff; }
  .resume-body-section { padding: 5mm 0 0; }
  .resume-layout { grid-template-columns: 55mm 1fr; gap: 5mm; }
  .resume-sidebar { position: static; display: block; }
  .resume-panel,
  .resume-section-card { box-shadow: none; border-radius: 3mm; border: 1px solid #d9e0e5; break-inside: avoid; }
  .resume-panel { padding: 4mm; margin-bottom: 4mm; }
  .resume-section-card { padding: 5mm; margin-bottom: 4mm; }
  .resume-section-heading { margin-bottom: 3mm; }
  .resume-section-heading > span { width: 8mm; height: 8mm; border-radius: 2mm; }
  .resume-section-heading h3 { font-size: 15pt; }
  .resume-role + .resume-role { margin-top: 4mm; padding-top: 4mm; }
  .resume-role-head h4 { font-size: 11pt; }
  .resume-role ul { margin-top: 2.5mm; font-size: 8.7pt; }
  .resume-role li { margin-bottom: 1.7mm; }
  .resume-project-grid,
  .education-grid { gap: 3mm; }
  .resume-project-grid article,
  .education-grid article { padding: 3.5mm; break-inside: avoid; }
  .resume-closing-card { display: none; }
  a { color: inherit !important; text-decoration: none !important; }
}
