:root {
  --ink: #f5f4ef;
  --muted: rgba(245, 244, 239, 0.62);
  --line: rgba(245, 244, 239, 0.18);
  --accent: #908269;
  --night: #000000;
}

* { box-sizing: border-box; }

::selection {
  background-color: #908269 !important;
  color: #000000 !important;
}
::-moz-selection {
  background-color: #908269 !important;
  color: #000000 !important;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-color: #4a4a4a #000000;
  scrollbar-width: thin;
}

html::-webkit-scrollbar { width: 12px; background: #000000; }
html::-webkit-scrollbar-track { background: #000000; }
html::-webkit-scrollbar-thumb { border: 3px solid #000000; border-radius: 10px; background: #4a4a4a; }
html::-webkit-scrollbar-thumb:hover { background: #666666; }
html.projects-finished { background: #ffffff; }

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
  background: #000000;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s ease;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-name {
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.05em;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

#scroll-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  opacity: 0.48;
  mix-blend-mode: screen;
  transition: opacity .45s ease;
}

body.footer-in-view #scroll-canvas { opacity: 0; }

body.projects-finished { background: #ffffff; }

body::before { content: ""; display: block; position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.site-shell {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 60px);
}

.topbar, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar { padding: 0 14px 18px; }

.wordmark, .footer-brand {
  color: var(--ink);
  font: 700 18px/1 "Open Sans", sans-serif;
  letter-spacing: -0.7px;
  text-decoration: none;
  cursor: pointer;
}

.wordmark-dot { color: var(--ink); }

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.availability { display: flex; align-items: center; gap: 8px; }
.contact-link { color: var(--ink); text-decoration: none; }
.contact-link span { color: var(--accent); font-size: 15px; margin-left: 5px; }

.hero-card {
  --accent: #908269;
  position: relative;
  isolation: isolate;
  min-height: min(820px, calc(100vh - 90px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background: #171a17;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.45), 0 0 60px rgba(144, 130, 105, 0.1);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.55), 0 0 80px rgba(144, 130, 105, 0.2);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-image, .hero-video, .hero-wash { position: absolute; inset: 0; }
.hero-image {
  z-index: -3;
  background: url("materials/img1.png") center 43% / cover no-repeat;
  filter: saturate(0.83) contrast(1.04);
  transform: scale(1.015);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-video {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-card:hover .hero-image, .hero-card:hover .hero-video {
  transform: scale(1.05);
}

.hero-wash {
  z-index: -2;
  background: linear-gradient(90deg, rgba(7, 9, 8, 0.9) 0%, rgba(7, 9, 8, 0.64) 34%, rgba(7, 9, 8, 0.28) 67%, rgba(7, 9, 8, 0.58) 100%), linear-gradient(0deg, rgba(5, 7, 6, 0.66), transparent 47%, rgba(5, 7, 6, 0.26));
}
.hero-content {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 9vw, 128px);
}

.eyebrow {
  position: absolute;
  top: 34px;
  left: clamp(48px, 9vw, 128px);
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--accent); margin-right: 12px; }

h1 {
  max-width: 790px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 6.4vw, 96px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.94;
}
h1 em { color: var(--accent); font-style: normal; }

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 810px;
  margin-top: clamp(40px, 7vh, 70px);
}
.role { margin: 0; font-size: clamp(17px, 2vw, 25px); font-weight: 600; letter-spacing: -0.04em; }
.role span { color: var(--accent); padding: 0 6px; }
.intro { max-width: 225px; margin: 0 0 2px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.about-card {
  --accent: var(--ink);
  position: relative;
  display: grid;
  min-height: 610px;
  grid-template-columns: 1fr 1.25fr 0.75fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(48px, 7vw, 100px) clamp(30px, 7vw, 110px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #000000;
}
.about-heading { align-self: start; }
.about-heading .eyebrow { position: static; margin-bottom: 68px; }
h2 { margin: 0; color: var(--ink); font-size: clamp(40px, 4.2vw, 64px); font-weight: 700; letter-spacing: -0.065em; line-height: 0.98; }
h2 em { color: var(--accent); font-style: normal; }
.about-copy { max-width: 580px; align-self: center; display: flex; gap: 20px; }
.about-rule { flex: 0 0 2px; height: 102px; margin-top: 7px; background: var(--accent); }
.about-copy-content { flex: 1; }
.about-copy p { max-width: 520px; margin: 0; color: rgba(245, 244, 239, 0.9); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; padding-top: 15px; border-top: 1px solid rgba(245,244,239,.2); }
.about-facts span { display: grid; gap: 6px; color: var(--muted); font-size: 9px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }
.about-facts strong { color: var(--accent); font: 600 10px/1 "Open Sans", sans-serif; }
.about-portrait { position: relative; justify-self: end; width: min(100%, 270px); margin: 0; }
.about-portrait::before { content: ""; position: absolute; z-index: -1; inset: 12px -12px -12px 12px; border: 1px solid rgba(245,244,239,.22); border-radius: 35px; }
.about-portrait img { display: block; width: 100%; aspect-ratio: 0.8; object-fit: cover; object-position: center; border-radius: 35px; filter: saturate(0.9); }
.about-portrait figcaption { position: absolute; right: 18px; bottom: 16px; color: var(--ink); font-size: 9px; line-height: 1.45; text-align: right; text-transform: uppercase; letter-spacing: 0.1em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.about-portrait figcaption span { color: var(--accent); }
.back-to-top { position: absolute; top: 30px; right: 32px; display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; }
.back-arrow { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 20px; line-height: 1; transition: background .25s ease, transform .25s ease; }
.back-logo { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; font: 700 15px/1 "Open Sans", sans-serif; letter-spacing: -0.6px; transform: translateX(8px); transition: max-width .3s ease, opacity .25s ease, transform .3s ease; }
.back-to-top:hover .back-logo, .back-to-top:focus-visible .back-logo { max-width: 100px; opacity: 1; transform: translateX(0); }
.back-to-top:hover .back-arrow, .back-to-top:focus-visible .back-arrow { background: rgba(141, 254, 136, .12); transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.projects-card {
  --reveal: 0;
  position: relative;
  min-height: min(680px, 86vh);
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: #000000;
}
.projects-card { perspective: 1200px; background: #000000; transition: background-color .18s linear; }
.projects-panel { position: absolute; inset: 0; width: 100%; background: #FFFFFF; opacity: var(--reveal); transform: translateZ(calc(18px + var(--project-depth))); transform-origin: center center; transition: opacity .18s linear; }
.projects-card h2 { position: absolute; top: 50%; left: 50%; margin: 0; color: #FFFFFF; font-size: clamp(46px, 7vw, 104px); line-height: .94; transform: translate(-50%, -50%) translateZ(calc(72px + var(--project-depth))); transform-style: preserve-3d; transition: color .18s linear; }

.fourth-card { min-height: 0; margin-top: 28px; overflow: hidden; background: #ffffff; }
.project-stack { display: grid; gap: 90px; width: min(100% - 160px, 1000px); margin: 0 auto; padding: 90px 0 110px; perspective: 1500px; perspective-origin: 50% 45%; }
.project-box { opacity: .35; transition: opacity .45s ease; }
.project-box.is-visible { opacity: 1; }
.learnsub-box { padding: clamp(30px, 4vw, 52px); border-radius: 24px; background: #D7E8F5; box-shadow: 0 22px 55px rgba(72,112,145,.18); color: #111820; }
.learnsub-heading { display: grid; grid-template-columns: 1fr minmax(250px, .75fr); align-items: end; gap: 20px 60px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.3); }
.learnsub-label { grid-column: 1 / -1; margin: 0; color: rgba(17,24,32,.58); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.learnsub-heading h2 { margin: 0; color: #111820; font-size: clamp(42px, 5vw, 76px); letter-spacing: -.065em; }
.learnsub-lead { max-width: 300px; margin: 0; color: rgba(17,24,32,.78); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; }
.learnsub-details { display: grid; grid-template-columns: .85fr 1.15fr .85fr; gap: clamp(22px, 4vw, 58px); padding-top: 35px; }
.learnsub-section h3 { margin: 0 0 13px; color: rgba(17,24,32,.56); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.learnsub-section p, .learnsub-section li { margin: 0; color: rgba(17,24,32,.84); font-size: 13px; line-height: 1.55; }
.learnsub-section ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.learnsub-section li { position: relative; padding-left: 16px; }
.learnsub-section li::before { content: ""; position: absolute; top: .65em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #557A9A; }
.conduct-box { padding: clamp(30px, 4vw, 52px); border-radius: 24px; background: #FFE0B2; box-shadow: 0 22px 55px rgba(180,126,56,.18); color: #24180b; }
.conduct-heading { display: grid; grid-template-columns: 1fr minmax(250px, .75fr); align-items: end; gap: 20px 60px; padding-bottom: 46px; border-bottom: 1px solid rgba(7,27,11,.26); }
.conduct-label { grid-column: 1 / -1; margin: 0; color: rgba(7,27,11,.62); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.conduct-heading h2 { margin: 0; color: #071b0b; font-size: clamp(42px, 5vw, 76px); letter-spacing: -.065em; }
.conduct-lead { max-width: 320px; margin: 0; color: rgba(7,27,11,.75); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; }
.conduct-details { display: grid; grid-template-columns: .85fr 1.15fr .85fr; gap: clamp(22px, 4vw, 58px); padding-top: 35px; }
.conduct-section h3 { margin: 0 0 13px; color: rgba(7,27,11,.58); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.conduct-section p, .conduct-section li { margin: 0; color: rgba(7,27,11,.84); font-size: 13px; line-height: 1.55; }
.conduct-section ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.conduct-section li { position: relative; padding-left: 16px; }
.conduct-section li::before { content: ""; position: absolute; top: .65em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #071b0b; }
.conduct-capabilities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; padding-top: 17px; border-top: 1px solid rgba(7,27,11,.26); }
.conduct-capabilities span { padding: 8px 11px; border: 1px solid rgba(7,27,11,.3); border-radius: 100px; color: rgba(7,27,11,.78); font-size: 10px; }
.agro-box { padding: clamp(34px, 5vw, 70px); border-radius: 28px; background: #B7D7A8; box-shadow: 0 28px 70px rgba(94,132,75,.2); color: #19311a; }
.agro-heading { display: grid; grid-template-columns: 1fr minmax(250px, .75fr); align-items: end; gap: 20px 60px; padding-bottom: 46px; border-bottom: 1px solid rgba(25,49,26,.26); }
.agro-label { grid-column: 1 / -1; margin: 0; color: rgba(25,49,26,.62); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.agro-heading h2 { margin: 0; color: #19311a; font-size: clamp(40px, 4.4vw, 68px); letter-spacing: -.065em; }
.agro-lead { max-width: 340px; margin: 0; color: rgba(25,49,26,.76); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; }
.agro-details { display: grid; grid-template-columns: .95fr .85fr 1.1fr; gap: clamp(22px, 4vw, 58px); padding-top: 35px; }
.agro-section h3 { margin: 0 0 13px; color: rgba(25,49,26,.58); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.agro-section p, .agro-section li { margin: 0; color: rgba(25,49,26,.84); font-size: 13px; line-height: 1.55; }
.agro-section ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.agro-section li { position: relative; padding-left: 16px; }
.agro-section li::before { content: ""; position: absolute; top: .65em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #19311a; }
.xaminr-box { padding: clamp(34px, 5vw, 70px); border-radius: 28px; background: #E1D5E7; box-shadow: 0 28px 70px rgba(114,88,131,.2); color: #2A1B38; }
.xaminr-heading { display: grid; grid-template-columns: 1fr minmax(250px, .75fr); align-items: end; gap: 20px 60px; padding-bottom: 46px; border-bottom: 1px solid rgba(42,27,56,.26); }
.xaminr-label { grid-column: 1 / -1; margin: 0; color: rgba(42,27,56,.62); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.xaminr-heading h2 { margin: 0; color: #2A1B38; font-size: clamp(40px, 4.4vw, 68px); letter-spacing: -.065em; }
.xaminr-lead { max-width: 340px; margin: 0; color: rgba(42,27,56,.76); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; }
.xaminr-details { display: grid; grid-template-columns: .95fr .85fr 1.1fr; gap: clamp(22px, 4vw, 58px); padding-top: 35px; }
.xaminr-section h3 { margin: 0 0 13px; color: rgba(42,27,56,.58); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.xaminr-section p, .xaminr-section li { margin: 0; color: rgba(42,27,56,.84); font-size: 13px; line-height: 1.55; }
.xaminr-section ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.xaminr-section li { position: relative; padding-left: 16px; }
.xaminr-section li::before { content: ""; position: absolute; top: .65em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #2A1B38; }
.skills-card { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 9vw, 150px); align-items: center; min-height: 620px; margin-top: 0; padding: clamp(48px, 8vw, 110px); overflow: hidden; border: 0; border-radius: 24px; background: #000000; color: var(--ink); }
.skills-intro { position: relative; }
.skills-intro .eyebrow { position: static; margin-bottom: 55px; }
.skills-intro h2 { margin: 0 0 25px; color: var(--ink); font-size: clamp(48px, 6vw, 80px); letter-spacing: -.07em; }
.skills-intro > p:last-child { max-width: 240px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.skills-meta { display: flex; gap: 18px; margin-top: 34px; color: rgba(245,244,239,.48); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.skills-meta span + span { padding-left: 18px; border-left: 1px solid rgba(245,244,239,.25); }
.skills-groups { display: grid; gap: 30px; }
.skill-group { padding-top: 0; }
.skill-group-label { margin: 0 0 14px; color: #FFFFFF; font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.skill-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.skill-list span { display: flex; min-height: 48px; align-items: center; padding: 11px 13px; border: 0; border-radius: 7px; background: #111111; color: rgba(245,244,239,.9); font-size: 13px; transition: color .2s ease, transform .2s ease, background-color .2s ease; }
.skill-list span:hover { background: #908269; color: #000000; transform: translateY(-3px); }
.certificates-card { width: 100vw; min-height: 0; margin-top: 0; margin-bottom: -28px; margin-left: calc((100% - 100vw) / 2); padding: clamp(58px, 7vw, 96px) clamp(28px, 7vw, 110px) 100px; overflow: hidden; background: #000000; color: var(--ink); }
.certificates-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; width: min(100%, 1180px); margin: 0 auto 42px; }
.certificates-heading .eyebrow { position: static; margin-bottom: 30px; }
.certificates-heading h2 { margin: 0; color: #FFFFFF; font-size: clamp(42px, 5.5vw, 78px); letter-spacing: -.07em; line-height: .96; }
.certificates-heading h2 em { color: #FFFFFF; font-style: normal; }
.certificates-side-note { display: flex; align-items: start; gap: 14px; max-width: 275px; margin: 0 0 4px; }
.certificates-side-note > span { color: #908269; font: 600 20px/1 "Open Sans", sans-serif; }
.certificates-side-note p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.certificate-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; width: min(100%, 1180px); margin: 0 auto; grid-auto-flow: dense; }
.certificate-item { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #F3F0EA; box-shadow: 0 20px 50px rgba(0,0,0,.25); transition: transform .3s ease, box-shadow .3s ease; }
.certificate-item:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(0,0,0,.42); }
.certificate-item img { display: block; width: 100%; aspect-ratio: 1.35; object-fit: contain; background: #F3F0EA; }
.certificate-wide { grid-column: span 6; }
.certificate-item:not(.certificate-wide) { grid-column: span 3; }
.certificate-item:nth-child(7), .certificate-item:nth-child(8) { grid-column: span 6; }
.certificate-wide img { aspect-ratio: 1.35; }
.certificate-item figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; gap: 10px; padding: 30px 14px 13px; background: linear-gradient(transparent, rgba(0,0,0,.86)); color: rgba(255,255,255,.86); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.certificate-item figcaption span { color: #908269; font-weight: 700; }

.terminal-card { margin-top: 35px; margin-bottom: 25px; padding: 0 clamp(15px, 3vw, 50px); display: flex; justify-content: center; }
.terminal-window { width: min(100%, 800px); border-radius: 10px; background: #0c0c0c; border: 1px solid #333; box-shadow: 0 15px 40px rgba(0,0,0,0.6); overflow: hidden; font-family: monospace; }
.terminal-header { display: flex; align-items: center; padding: 10px 15px; background: #1f1f1f; border-bottom: 1px solid #333; position: relative; }
.terminal-buttons { display: flex; gap: 8px; }
.terminal-button { width: 12px; height: 12px; border-radius: 50%; }
.terminal-button.red { background: #ff5f56; }
.terminal-button.yellow { background: #ffbd2e; }
.terminal-button.green { background: #27c93f; }
.terminal-title { position: absolute; left: 50%; transform: translateX(-50%); color: #999; font-size: 13px; letter-spacing: 0.5px; }
.terminal-body { padding: 25px 20px; color: #00ff00; font-size: 14px; line-height: 1.6; min-height: 420px; max-height: 500px; overflow-y: auto; scroll-behavior: smooth; }
.terminal-body::-webkit-scrollbar { width: 8px; }
.terminal-body::-webkit-scrollbar-track { background: #0c0c0c; }
.terminal-body::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.terminal-line { margin-bottom: 8px; }
.terminal-prompt { color: #00ff00; font-weight: bold; margin-right: 8px; }
.terminal-output { color: #ccc; margin-left: 15px; margin-bottom: 12px; display: block; white-space: pre-wrap; }
.terminal-cursor { display: inline-block; width: 8px; height: 16px; background: #00ff00; vertical-align: text-bottom; animation: blink 1s step-end infinite; }
.terminal-input-wrapper { display: flex; align-items: baseline; }
.terminal-input { background: transparent; border: none; color: #00ff00; font-family: monospace; font-size: 14px; flex: 1; outline: none; caret-color: #00ff00; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.terminal-window ::selection { background-color: #ffffff !important; color: #000000 !important; }
.terminal-window ::-moz-selection { background-color: #ffffff !important; color: #000000 !important; }

.contact-card { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(42px, 9vw, 140px); align-items: center; margin-top: 28px; padding: clamp(48px, 6vw, 88px) clamp(30px, 7vw, 110px); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #000000; color: #ffffff; }
.contact-kicker { margin: 0 0 26px; color: #ffffff; font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.contact-heading h2 { max-width: 340px; }
.contact-heading h2 em { color: #ffffff; }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.contact-link-card { display: flex; min-height: 60px; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: #111111; color: #ffffff; font-size: 13px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.contact-link-card svg { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
.contact-link-card span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-link-card:hover, .contact-link-card:focus-visible { background: #908269; color: #000000; outline: none; transform: translateY(-3px); }

.footer-card { position: relative; display: flex; width: 100vw; min-height: 100svh; flex-direction: column; justify-content: space-between; margin: 28px 0 calc(-1 * clamp(20px, 3vw, 40px)) calc((100% - 100vw) / 2); padding: clamp(38px, 5vw, 72px) max(32px, calc((100vw - 1440px) / 2 + 32px)); overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 0; background: #000000 url("materials/img10.jpg") center / cover no-repeat; background-clip: padding-box; color: #ffffff; isolation: isolate; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.footer-shade { position: absolute; z-index: 0; inset: 0; background: linear-gradient(110deg, rgba(0,0,0,.9) 5%, rgba(0,0,0,.58) 57%, rgba(0,0,0,.76)), linear-gradient(0deg, rgba(0,0,0,.84), transparent 52%); }
.footer-brand { position: relative; z-index: 1; color: #ffffff; font: 700 18px/1 "Open Sans", sans-serif; letter-spacing: -.7px; text-decoration: none; }
.footer-brand span { color: #908269; }
.footer-message { position: relative; z-index: 1; margin: auto 0; }
.footer-message p { margin: 0 0 13px; color: #ffffff; font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.footer-message h2 { max-width: 670px; font-size: clamp(42px, 5.4vw, 82px); line-height: .94; }
.footer-message h2 em { color: #908269; }
.footer-bottom { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.footer-bottom > p { margin: 0; color: rgba(255,255,255,.78); font-size: 10px; letter-spacing: .04em; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; color: #ffffff; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.footer-socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-socials a:hover, .footer-socials a:focus-visible { background: #908269; color: #000000; outline: none; transform: translateY(-3px); }

.extras-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 1180px);
  margin: 0 auto 34px;
}

.extras-header .eyebrow {
  position: static;
  margin: 0;
  color: rgba(245,244,239,0.7);
}

.extras-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 118px);
  letter-spacing: -.08em;
  line-height: .88;
  text-transform: none;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.extra-item {
  position: relative;
  min-height: 300px;
  padding: 24px 24px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.extra-item:hover {
  transform: translateY(-5px);
  border-color: rgba(144,130,105,0.55);
  box-shadow: 0 28px 40px rgba(0,0,0,0.2);
}

.extra-sport {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.extra-writing {
  background: linear-gradient(180deg, rgba(144,130,105,0.08), rgba(255,255,255,0.01));
}

.extra-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 700;
}

.extra-tag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: rgba(245,244,239,0.72);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.extra-item h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.extra-item p {
  margin: 0;
  max-width: 440px;
  color: rgba(245,244,239,0.8);
  font-size: 17px;
  line-height: 1.55;
}

.extra-item .extra-icon,
.extra-item .extra-tag,
.extra-item h3,
.extra-item p {
  position: relative;
  z-index: 1;
}

.linkedin-card {
  position: relative;
  display: grid;
  min-height: 520px;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 8vw, 150px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(48px, 7vw, 100px) clamp(30px, 7vw, 110px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #000000;
}
.linkedin-heading { position: relative; z-index: 1; }
.linkedin-heading .eyebrow { position: static; margin-bottom: 55px; }
.linkedin-heading h2 { max-width: 380px; }
.linkedin-profile-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 44px; color: var(--accent); font-size: 12px; font-weight: 600; text-decoration: none; }
.linkedin-profile-link span { font-size: 17px; transition: transform .2s ease; }
.linkedin-profile-link:hover span { transform: translate(3px, -3px); }
.linkedin-carousel { position: relative; z-index: 1; width: 100%; max-width: 590px; min-height: 505px; padding-bottom: 25px; }
.linkedin-post { position: absolute; inset: 0 0 25px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: #ffffff; box-shadow: 0 24px 70px rgba(0,0,0,.3); opacity: 0; transform: translateX(15px); transition: opacity .4s ease, transform .4s ease, border-color .25s ease; pointer-events: none; }
.linkedin-post.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.linkedin-post:hover { border-color: rgba(141, 254, 136, .65); }
.linkedin-post img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #000000; }
.linkedin-post-head { display: flex; align-items: center; gap: 13px; }
.linkedin-post-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center top; }
.linkedin-post-head div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.linkedin-post-head strong { font-size: 14px; }
.linkedin-post-head strong i { color: var(--muted); font-style: normal; font-weight: 400; }
.linkedin-post-head span, .linkedin-post-head small { color: var(--muted); font-size: 10px; }
.linkedin-post-head small { font-size: 9px; }
.linkedin-more { letter-spacing: 2px; }
.linkedin-mark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 5px; background: #4f9bd7; color: white !important; font: 700 18px/1 "Open Sans", sans-serif; }
.linkedin-post > p { max-width: 490px; min-height: 52px; margin: 20px 0 15px; color: rgba(245,244,239,.88); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; }
.linkedin-post > p span { color: var(--muted); }
.post-media { position: relative; height: 173px; overflow: hidden; background: #080909; }
.terminal-media { padding: 25px 18px; color: #90d37d; font: 10px/1.6 monospace; background: radial-gradient(circle at 50% 45%, rgba(33, 55, 35, .35), transparent 60%), #080909; }
.terminal-bar { color: rgba(255,255,255,.38); }
.terminal-lines { margin-top: 22px; }.terminal-lines b { color: #86c7ff; }.terminal-lines i { color: #f0c674; font-style: normal; }.terminal-lines em { color: #9fb8a0; font-style: normal; }.terminal-lines strong { color: var(--accent); }
.play-button { position: absolute; top: 50%; left: 50%; display: grid; width: 58px; height: 58px; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(245,244,239,.82); color: #101313; font-size: 20px; }
.dataset-media { padding: 48px 20px 20px; color: #99a5aa; font: 10px/2 monospace; background: linear-gradient(145deg, #1e2529, #101519); }
.dataset-media > span { position: absolute; top: 12px; left: 20px; color: rgba(255,255,255,.55); }.data-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid rgba(255,255,255,.08); }.data-row b, .data-row i { font-style: normal; }.data-row.heading { color: var(--accent); }.slide-count { position: absolute; top: 11px; right: 12px; padding: 4px 10px; border-radius: 15px; background: #050607; color: var(--ink); font: 600 12px Inter, sans-serif; }
.linkedin-post-foot { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: var(--muted); font-size: 10px; }
.post-stats { display: flex; justify-content: space-between; padding-top: 14px; color: var(--muted); font-size: 11px; }.post-stats strong { color: var(--ink); font-size: 13px; }.post-stats span { color: #5fa4e0; }
.linkedin-dots { position: absolute; right: 0; bottom: -22px; left: 0; display: flex; justify-content: center; gap: 6px; }.linkedin-dots button { width: 22px; height: 3px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.25); cursor: pointer; }.linkedin-dots button.is-active { background: var(--accent); }
.linkedin-glow { position: absolute; right: -13%; bottom: -34%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(49, 125, 184, .13); filter: blur(50px); }

@media (max-width: 700px) {
  .site-shell { width: min(100% - 28px, 1440px); padding-top: 16px; }
  .topbar { padding: 0 5px 15px; }
  .topbar-meta { gap: 0; }
  .availability { display: none; }
  .hero-card { min-height: calc(100vh - 116px); border-radius: 17px; }
  .hero-image { background-position: 52% center; }
  .hero-video { object-position: center; }
  .hero-wash { background: linear-gradient(90deg, rgba(7, 9, 8, 0.76), rgba(7, 9, 8, 0.28)), linear-gradient(0deg, rgba(5,7,6,.75), transparent 60%); }
  .hero-content { justify-content: flex-end; padding: 42px 25px 95px; }
  .eyebrow { top: 25px; left: 25px; }
  h1 { font-size: clamp(44px, 12vw, 64px); letter-spacing: -0.075em; }
  .hero-bottom { display: block; margin-top: 34px; }
  .intro { margin-top: 14px; }
  .about-card { display: flex; min-height: 760px; flex-direction: column; align-items: stretch; gap: 35px; margin-top: 18px; padding: 30px 25px 80px; border-radius: 17px; }
  .about-heading .eyebrow { margin-bottom: 45px; }
  h2 { font-size: 50px; }
  .about-copy { order: 2; gap: 13px; }
  .about-rule { height: 88px; }
  .about-copy p { font-size: 15px; }
  .about-facts { gap: 9px; margin-top: 25px; }
  .about-facts span { font-size: 8px; }
  .about-portrait { order: 3; align-self: flex-end; width: min(63%, 220px); }
  .about-portrait img { border-radius: 25px; }
  .back-to-top { top: 24px; right: 23px; }
  .projects-card { min-height: 690px; margin-top: 18px; border-radius: 17px; }
  .fourth-card { margin-top: 18px; }
  .project-stack { width: calc(100% - 44px); gap: 54px; padding: 60px 0 80px; }
  .learnsub-box, .conduct-box { padding: 28px 22px 32px; border-radius: 20px; }
  .learnsub-heading { display: block; padding-bottom: 30px; }
  .learnsub-heading h2 { margin: 18px 0 20px; font-size: 48px; }
  .learnsub-lead { max-width: 280px; }
  .learnsub-details { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 28px; }
  .learnsub-section p, .learnsub-section li { font-size: 12px; }
  .agro-box { padding: 30px 24px 34px; border-radius: 22px; }
  .agro-heading { display: block; padding-bottom: 30px; }
  .agro-heading h2 { margin: 18px 0 20px; font-size: 44px; }
  .agro-lead { max-width: 280px; }
  .agro-details { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 28px; }
  .agro-section p, .agro-section li { font-size: 12px; }
  .xaminr-box { padding: 30px 24px 34px; border-radius: 22px; }
  .xaminr-heading { display: block; padding-bottom: 30px; }
  .xaminr-heading h2 { margin: 18px 0 20px; font-size: 44px; }
  .xaminr-lead { max-width: 280px; }
  .xaminr-details { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 28px; }
  .xaminr-section p, .xaminr-section li { font-size: 12px; }
  .skills-card { display: flex; min-height: 700px; flex-direction: column; align-items: stretch; gap: 50px; margin-top: 0; padding: 42px 25px 55px; border-radius: 17px; }
  .skills-intro { padding-left: 0; }
  .skills-intro .eyebrow { margin-bottom: 42px; }
  .skills-intro h2 { margin-bottom: 18px; font-size: 52px; }
  .skills-meta { margin-top: 26px; }
  .skills-groups { gap: 27px; }
  .skill-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-list span { font-size: 12px; }
  .certificates-card { min-height: 0; margin-top: 0; margin-bottom: -28px; padding: 58px 22px 75px; }
  .certificates-heading { display: block; margin-bottom: 30px; }
  .certificates-heading .eyebrow { margin-bottom: 27px; }
  .certificates-heading h2 { font-size: 50px; }
  .certificates-intro { max-width: 280px; margin-top: 25px; }
  .certificate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .certificate-wide { grid-column: span 2; }
  .certificate-item:not(.certificate-wide) { grid-column: span 1; }
  .certificate-item:nth-child(7), .certificate-item:nth-child(8) { grid-column: span 1; }
  .certificate-item figcaption { display: block; padding: 10px; font-size: 8px; line-height: 1.5; }
  .certificate-item figcaption span { display: block; margin-bottom: 3px; }
  .contact-card { grid-template-columns: 1fr; gap: 44px; margin-top: 18px; padding: 42px 25px; border-radius: 17px; }
  .contact-heading h2 { font-size: 50px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-link-card { min-height: 54px; font-size: 13px; }
  .footer-card { width: 100vw; min-height: 100svh; margin: 18px 0 calc(-1 * clamp(20px, 3vw, 40px)) calc((100% - 100vw) / 2); padding: 32px 25px; border-radius: 0; }
  .footer-message h2 { font-size: 46px; }
  .footer-bottom { align-items: flex-start; flex-direction: column-reverse; }
  .conduct-heading { display: block; padding-bottom: 30px; }
  .conduct-heading h2 { margin: 18px 0 20px; font-size: 48px; }
  .conduct-lead { max-width: 280px; }
  .conduct-details { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 28px; }
  .conduct-section p, .conduct-section li { font-size: 12px; }
  .conduct-capabilities { margin-top: 26px; }
  .linkedin-card { display: flex; min-height: 650px; flex-direction: column; align-items: stretch; gap: 45px; margin-top: 18px; padding: 30px 25px 45px; border-radius: 17px; }
  .linkedin-heading .eyebrow { margin-bottom: 45px; }
  .linkedin-heading h2 { font-size: 55px; }
  .linkedin-profile-link { margin-top: 30px; }
  .linkedin-carousel { min-height: 490px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #scroll-canvas { display: none; }
  .hero-card, .about-card, .projects-card, .fourth-card, .skills-card, .certificates-card, .project-box { transform: none; }
}
