
:root {
  --deep: #032539;
  --sage: #a6bd8f;
  --mist: #e8e9e4;
  --white: #ffffff;

  --bg: #032539;
  --panel: rgba(232, 233, 228, 0.075);
  --panel-strong: rgba(232, 233, 228, 0.125);
  --line: rgba(232, 233, 228, 0.16);
  --text: #ffffff;
  --muted: rgba(232, 233, 228, 0.82);
  --muted-2: rgba(232, 233, 228, 0.62);
  --accent: #a6bd8f;
  --soft: #e8e9e4;
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
  --shadow: 0 34px 100px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.is-loading,
html.is-loading body { overflow: hidden; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(166,189,143,.26), transparent 30rem),
    radial-gradient(circle at 88% 16%, rgba(232,233,228,.13), transparent 28rem),
    radial-gradient(circle at 20% 86%, rgba(166,189,143,.12), transparent 34rem),
    linear-gradient(145deg, #032539 0%, #032539 52%, #0b3b3b 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background-image:
    linear-gradient(rgba(232,233,228,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,233,228,.038) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.05));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { border: 0; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Loader */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 20px;
  background:
    radial-gradient(circle at 24% 20%, rgba(166,189,143,.30), transparent 28rem),
    linear-gradient(145deg, #032539 0%, #032539 64%, #a6bd8f 180%);
  transition: opacity .6s ease, visibility .6s ease;
}
.site-loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
}
.loader-mark img { width: 44px; height: 44px; }
.loader-bar {
  width: min(280px, calc(100vw - 80px));
  height: 8px;
  background: rgba(232,233,228,.13);
  border-radius: 999px;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--mist), var(--white));
  transform-origin: left center;
  animation: loadSweep 1.25s cubic-bezier(.22,.61,.36,1) infinite;
}
@keyframes loadSweep {
  0% { transform: scaleX(0); opacity: .65; }
  60% { transform: scaleX(.78); opacity: 1; }
  100% { transform: scaleX(1); opacity: .9; }
}

/* Utility */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--sage);
  color: var(--deep);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  transition: top .25s ease;
}
.skip-link:focus { top: 16px; }

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 200;
  background: rgba(232,233,228,.08);
}
.progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--mist), var(--white));
  box-shadow: 0 0 22px rgba(166,189,143,.52);
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(166,189,143,.18), rgba(232,233,228,.07), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -2;
  opacity: .85;
  transition: opacity .2s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(3, 37, 57, .76);
  border-bottom: 1px solid rgba(232,233,228,.12);
}
.site-header.scrolled {
  background: rgba(3,37,57,.95);
  box-shadow: 0 18px 52px rgba(0,0,0,.22);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.05rem;
}
.brand img { width: 38px; height: 38px; }
.brand span span { color: var(--muted-2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(232,233,228,.10);
}
.nav-resume {
  color: var(--deep) !important;
  background: linear-gradient(135deg, var(--white), var(--mist), var(--sage)) !important;
  box-shadow: 0 8px 26px rgba(166,189,143,.24);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(232,233,228,.10);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.section-shell { position: relative; overflow: hidden; }
.section-pad { padding: 112px 0; position: relative; }

.hero {
  min-height: calc(100vh - 78px);
  padding: 82px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
  z-index: -3;
}
.mesh {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: .42;
  z-index: -2;
  animation: floatMesh 9s ease-in-out infinite alternate;
}
.mesh-one {
  width: 470px;
  height: 470px;
  background: rgba(166,189,143,.22);
  top: 14%;
  right: -10%;
}
.mesh-two {
  width: 360px;
  height: 360px;
  background: rgba(232,233,228,.10);
  left: -9%;
  bottom: 10%;
  animation-delay: -2s;
}
@keyframes floatMesh { to { transform: translate3d(20px, -28px, 0) scale(1.06); } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  align-items: center;
  gap: 60px;
  padding-bottom: 72px;
}
.hero-grid-premium { align-items: stretch; }

.eyebrow,
.section-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: rgba(166,189,143,.13);
  border: 1px solid rgba(166,189,143,.34);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 18px var(--sage);
}

.hero-title,
.section-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  margin: 20px 0 0;
  line-height: .92;
  letter-spacing: -.075em;
  max-width: 980px;
}
.hero-title {
  font-size: clamp(3.15rem, 7vw, 6.9rem);
  background: linear-gradient(118deg, var(--white) 0%, var(--mist) 34%, var(--sage) 78%, var(--white) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title {
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  color: var(--white);
}

.hero-lead,
.section-lead,
.story-copy p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.75;
  max-width: 760px;
}
.hero-lead { margin: 26px 0 0; max-width: 740px; }

.type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  font-size: 1.05rem;
  color: var(--muted);
}
.type-row strong {
  color: var(--sage);
  min-width: 220px;
  position: relative;
}
.type-row strong::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 5px;
  background: var(--sage);
  vertical-align: -2px;
  animation: blink .8s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: -.01em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 0 35%, rgba(255,255,255,.45) 45%, transparent 55% 100%);
  transform: translateX(-120%);
  transition: transform .55s ease;
  z-index: -1;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: var(--deep);
  background: linear-gradient(135deg, var(--white), var(--mist), var(--sage));
  box-shadow: 0 18px 56px rgba(166,189,143,.27);
}
.btn-secondary {
  color: var(--white);
  background: rgba(232,233,228,.10);
  border: 1px solid rgba(232,233,228,.18);
}
.btn-ghost {
  color: var(--mist);
  background: transparent;
  border: 1px solid rgba(232,233,228,.18);
}

/* Reusable panels */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 42px;
  max-width: 760px;
}
.proof-strip div,
.impact-card,
.timeline-card,
.project-card,
.skill-column,
.cert-card,
.contact-form,
.image-panel,
.quote-card,
.feature-chip,
.workflow-card,
.availability-card,
.hero-floating-card {
  border: 1px solid rgba(232,233,228,.15);
  background:
    linear-gradient(145deg, rgba(232,233,228,.105), rgba(232,233,228,.040)),
    radial-gradient(circle at 18% 10%, rgba(166,189,143,.08), transparent 42%);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0,0,0,.18);
}
.proof-strip div { padding: 18px; border-radius: 22px; }
.proof-strip strong {
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  letter-spacing: -.07em;
}
.proof-strip span {
  color: var(--muted-2);
  font-weight: 700;
  font-size: .86rem;
}

/* Portrait visual - no palette boxes */
.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}
.visual-card {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 42px;
  border: 1px solid rgba(232,233,228,.18);
  background:
    linear-gradient(145deg, rgba(232,233,228,.12), rgba(232,233,228,.035)),
    radial-gradient(circle at 20% 20%, rgba(166,189,143,.22), transparent 35%),
    rgba(3,37,57,.40);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform-style: preserve-3d;
  overflow: hidden;
}
.visual-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 32px;
  border: 1px solid rgba(166,189,143,.22);
  background-image:
    linear-gradient(rgba(232,233,228,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,233,228,.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.13) 45%, transparent 58%);
  transform: translateX(-120%);
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen {
  0%, 78% { transform: translateX(-130%); }
  100% { transform: translateX(140%); }
}
.avatar {
  width: 82%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 28px 38px rgba(0,0,0,.30));
  animation: avatarFloat 6s ease-in-out infinite alternate;
}
.photo-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 42px;
  animation: avatarFloat 8s ease-in-out infinite alternate;
  filter: saturate(1.02) contrast(1.02);
}
@keyframes avatarFloat { to { transform: translateY(-12px) rotate(-1.5deg); } }

.visual-badge {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(3,37,57,.72);
  border: 1px solid rgba(232,233,228,.20);
  backdrop-filter: blur(14px);
  font-weight: 900;
  font-size: .78rem;
  box-shadow: 0 12px 34px rgba(0,0,0,.26);
  color: var(--sage);
}
.visual-badge.top { top: 30px; left: -10px; }
.visual-badge.right { right: -10px; top: 46%; }
.visual-badge.bottom { bottom: 24px; left: 58%; }

.availability-card {
  position: absolute;
  left: 0;
  bottom: 12px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  width: min(360px, 92%);
  padding: 18px;
  border-radius: 22px;
}
.availability-card strong { display: block; margin-bottom: 4px; }
.availability-card p { margin: 0; color: var(--muted-2); font-size: .9rem; line-height: 1.45; }
.pulse-dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(166,189,143,.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 14px rgba(166,189,143,0); } }

.hero-floating-card {
  position: absolute;
  z-index: 3;
  width: min(250px, 62%);
  padding: 16px 18px;
  border-radius: 20px;
}
.hero-floating-card span,
.feature-chip span,
.workflow-card span,
.quote-card span,
.project-card span {
  display: block;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.hero-floating-card strong { display: block; line-height: 1.45; font-size: .92rem; }
.hero-floating-one { top: 14%; right: -10%; }
.hero-floating-two { bottom: 4%; right: -8%; }

/* Marquee */
.marquee {
  width: 100%;
  padding: 22px 0;
  border-top: 1px solid rgba(232,233,228,.09);
  border-bottom: 1px solid rgba(232,233,228,.09);
  background: rgba(232,233,228,.04);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 34px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee span {
  color: rgba(255,255,255,.76);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 900;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.marquee span::before { content: "✦"; color: var(--sage); margin-right: 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.split-grid {
  display: grid;
  grid-template-columns: 230px minmax(0,1fr);
  gap: 58px;
  align-items: start;
}
.section-lead { margin-top: 22px; }

.impact-grid,
.workflow-grid {
  display: grid;
  gap: 22px;
  margin-top: 54px;
}
.impact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workflow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.impact-card,
.timeline-card,
.project-card,
.skill-column,
.cert-card,
.contact-form,
.image-panel,
.quote-card,
.feature-chip,
.workflow-card {
  border-radius: var(--radius);
}

.impact-card {
  min-height: 300px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.impact-card::after,
.project-card::after,
.cert-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(166,189,143,.18), transparent 68%);
  pointer-events: none;
}
.card-index,
.cert-card span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--white), var(--mist), var(--sage));
  color: var(--deep);
  font-weight: 950;
  border: 1px solid rgba(166,189,143,.35);
}
.impact-card h3,
.timeline-card h3,
.project-card h3,
.skill-column h3,
.cert-card strong,
.workflow-card h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -.04em;
}
.impact-card h3 { margin: 72px 0 12px; }
.impact-card p,
.timeline-card li,
.project-card p,
.cert-card p,
.form-note,
.workflow-card p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-rail {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-chip,
.workflow-card { padding: 22px; }
.feature-chip strong { display: block; margin-top: 14px; line-height: 1.55; font-size: 1rem; }
.workflow-card { min-height: 250px; }
.workflow-card span,
.feature-chip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(166,189,143,.14);
  border: 1px solid rgba(166,189,143,.30);
}
.workflow-card h3 { margin: 18px 0 12px; }
.workflow-card p { margin: 0; }

/* About */
.story {
  background:
    linear-gradient(180deg, rgba(232,233,228,.025), rgba(166,189,143,.035));
}
.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: center;
}
.image-panel {
  overflow: hidden;
  padding: 18px;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.image-panel img { border-radius: 24px; width: 100%; }
.profile-panel {
  min-height: 540px;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(232,233,228,.10), rgba(232,233,228,.035)),
    radial-gradient(circle at 20% 10%, rgba(166,189,143,.23), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(232,233,228,.13), transparent 32%);
}
.profile-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 510px;
  filter: saturate(1.03) contrast(1.02);
}
.story-copy p { margin: 24px 0 0; }
.quote-card {
  margin-top: 28px;
  padding: 24px;
  border-left: 4px solid var(--sage);
}
.quote-card strong { font-size: 1.15rem; line-height: 1.55; }

/* Timeline */
.timeline {
  position: relative;
  margin-top: 60px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 160px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--sage), transparent);
}
.timeline-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  position: relative;
  margin-bottom: 32px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 154px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 9px rgba(166,189,143,.09), 0 0 28px rgba(166,189,143,.75);
}
.timeline-date { color: var(--sage); font-weight: 950; padding-top: 24px; }
.timeline-card { padding: 30px; }
.timeline-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid rgba(232,233,228,.11);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.timeline-card h3 { margin: 0; }
.timeline-head span { color: var(--sage); font-weight: 800; }
.timeline-card ul { margin: 0; padding-left: 18px; }
.timeline-card li { margin: 10px 0; }
.timeline-card li::marker { color: var(--sage); }

/* Projects */
.projects {
  background:
    linear-gradient(180deg, rgba(232,233,228,.02), rgba(3,37,57,.04));
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 22px;
  margin-top: 58px;
}
.project-card {
  position: relative;
  grid-column: span 3;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: rgba(232,233,228,.03);
  filter: saturate(.92) hue-rotate(16deg);
}
.project-card div { padding: 26px; }
.project-card span { margin-bottom: 12px; }
.project-card h3 { margin: 0 0 12px; font-size: 1.6rem; }
.project-card p { margin: 0; }
.glow-orange {
  box-shadow: 0 24px 80px rgba(166,189,143,.16), 0 0 0 1px rgba(166,189,143,.16) inset;
}

/* Skills */
.skill-board {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.skill-column { padding: 28px; }
.skill-column h3 { margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(232,233,228,.14);
  color: var(--white);
  background: rgba(232,233,228,.065);
  font-weight: 750;
  font-size: .88rem;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.chips span:hover {
  transform: translateY(-3px);
  border-color: rgba(166,189,143,.45);
  background: rgba(166,189,143,.12);
}

/* Certs + Contact */
.certs { padding-top: 0; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.cert-card {
  position: relative;
  padding: 24px;
  min-height: 190px;
  overflow: hidden;
}
.cert-card span { width: 42px; height: 42px; margin-bottom: 32px; }
.cert-card strong { display: block; }
.cert-card p { margin-bottom: 0; }

.contact {
  background:
    radial-gradient(circle at 82% 12%, rgba(166,189,143,.10), transparent 30rem),
    linear-gradient(180deg, rgba(232,233,228,.025), rgba(232,233,228,.055));
}
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: start;
}
.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.contact-links a,
.contact-links span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(232,233,228,.14);
  background: rgba(232,233,228,.065);
  color: var(--white);
  font-weight: 800;
}
.contact-links a:hover {
  border-color: rgba(166,189,143,.40);
  color: var(--sage);
}
.contact-form { padding: 30px; }
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
  margin-bottom: 18px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(3,37,57,.42);
  border: 1px solid rgba(232,233,228,.14);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(166,189,143,.58);
  box-shadow: 0 0 0 4px rgba(166,189,143,.12);
  background: rgba(3,37,57,.58);
}
.contact-form textarea { resize: vertical; }
.form-note { font-size: .86rem; margin: 14px 0 0; }
.hidden { display: none !important; }

/* Footer */
.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(232,233,228,.10);
  background: rgba(3,37,57,.76);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.footer img { width: 36px; margin-bottom: 10px; }
.footer p { margin: 0; color: var(--muted-2); }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a {
  color: var(--muted);
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(232,233,228,.055);
}
.footer-links a:hover { color: var(--sage); }

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 180;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(3,37,57,.94);
  border: 1px solid rgba(166,189,143,.35);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  font-weight: 800;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}
.tilt-card:hover {
  border-color: rgba(166,189,143,.40);
  box-shadow: 0 28px 90px rgba(0,0,0,.28), 0 0 0 1px rgba(166,189,143,.12) inset;
}

/* Resume page */
.resume-body {
  background: var(--mist);
  color: var(--deep);
}
.resume-body::before { display: none; }
.resume-header { background: var(--deep); color: var(--white); padding: 30px 0; }
.resume-main { padding: 42px 0; }
.resume-card {
  background: var(--white);
  color: var(--deep);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 20px 70px rgba(3,37,57,.18);
}
.resume-card h1 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 3rem;
  line-height: 1;
  margin: 0 0 8px;
  letter-spacing: -.06em;
}
.resume-card h2 {
  margin-top: 32px;
  border-top: 1px solid rgba(3,37,57,.14);
  padding-top: 24px;
  font-family: "Space Grotesk", Inter, sans-serif;
}
.resume-meta {
  color: rgba(3,37,57,.72);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.resume-card ul { padding-left: 18px; }
.resume-card li { margin: 8px 0; line-height: 1.55; }
.resume-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.resume-actions .btn-secondary {
  color: var(--deep);
  background: var(--mist);
  border-color: rgba(3,37,57,.15);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .story-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; order: -1; }
  .hero-title { font-size: clamp(3rem, 13vw, 5rem); }
  .proof-strip { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; gap: 24px; }
  .impact-grid,
  .skill-board,
  .feature-rail,
  .workflow-grid { grid-template-columns: 1fr; }
  .project-card { grid-column: span 6; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { left: 10px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 36px; gap: 10px; }
  .timeline-item::before { left: 4px; }
  .timeline-date { padding-top: 0; }
  .hero-floating-card { position: relative; inset: auto; width: 100%; margin-top: 14px; }
  .photo-avatar { border-radius: 32px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 84px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(3,37,57,.97);
    border: 1px solid rgba(232,233,228,.12);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 14px; }
  .brand span span { display: none; }
  .section-pad { padding: 78px 0; }
  .hero { padding-top: 46px; }
  .hero-grid { gap: 28px; padding-bottom: 42px; }
  .hero-visual { min-height: 360px; }
  .visual-card { width: min(310px, 90%); border-radius: 30px; }
  .availability-card { position: relative; bottom: auto; margin-top: -32px; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .marquee { padding: 16px 0; }
  .project-card img { height: 190px; }
  .cert-grid { grid-template-columns: 1fr; }
  .footer-grid { display: grid; }
  .footer-links { justify-content: flex-start; }
  .resume-card { padding: 28px; border-radius: 20px; }
  .resume-card h1 { font-size: 2.2rem; }
  .site-loader { padding: 20px; }
  .hero-floating-card { padding: 14px 16px; }
  .profile-panel { min-height: 380px; }
  .profile-panel img { min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}

@media print {
  body.resume-body { background: #ffffff; }
  .resume-header, .no-print, .footer-links { display: none !important; }
  .resume-main { padding: 0; }
  .container { width: 100%; }
  .resume-card { box-shadow: none; border-radius: 0; padding: 0; }
  .resume-card h1 { font-size: 28pt; }
  .resume-card h2 { font-size: 14pt; margin-top: 18px; padding-top: 14px; }
  .resume-card p, .resume-card li { font-size: 10.5pt; line-height: 1.35; }
  a { color: inherit; }
}
