/* ididwhat.online — light theme. Vanilla CSS, no framework. */

:root {
  --bg: #eff1f4;
  --bg-soft: #e6e9ed;
  --ink: #101b2e;
  --ink-dim: #54627c;
  --line: rgba(16, 40, 90, .14);
  --glass: #ffffff;
  --accent-1: #2563eb;
  --accent-2: #0891b2;
  --accent-3: #7c3aed;
  --accent-ink: #0e7490;      /* accent as small text: darker for contrast */
  --grad: linear-gradient(100deg, var(--accent-1), #0284c7 50%, var(--accent-3));
  --radius: 18px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow-hover: 0 18px 40px rgba(20, 50, 110, .13);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(37, 99, 235, .22); }

/* ------------------------------------------------ backdrop */

.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  animation: drift 26s ease-in-out infinite alternate;
}
.orb-1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw;
  background: radial-gradient(circle, #dee2e9, transparent 70%); }
.orb-2 { width: 38vw; height: 38vw; right: -10vw; top: 22vh;
  background: radial-gradient(circle, #e0e5ea, transparent 70%);
  animation-delay: -8s; }
.orb-3 { width: 30vw; height: 30vw; left: 28vw; bottom: -18vw;
  background: radial-gradient(circle, #e5e2ea, transparent 70%);
  animation-delay: -16s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6vw, 4vh) scale(1.15); }
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20, 50, 110, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 50, 110, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
}

/* ------------------------------------------------ gate (locked page) */

.gate {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  padding: 2rem;
  text-align: center;
  transition: opacity .6s ease, transform .6s ease;
}

.gate-out { opacity: 0; transform: scale(1.06); pointer-events: none; }

.gate-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5.5vw, 3.6rem);
  letter-spacing: -.02em;
  color: var(--ink);
  animation: rise .9s cubic-bezier(.2, .8, .2, 1) both;
}

.gate-dash { color: var(--ink-dim); font-weight: 300; margin: 0 .1em; }

.gate-form { display: flex; align-items: center; gap: .9rem;
  animation: rise .9s .15s cubic-bezier(.2, .8, .2, 1) both; }
.gate-form.busy { opacity: .6; pointer-events: none; }

.code-row { display: flex; gap: .55rem; }

.code-box {
  width: 3.1rem; height: 3.8rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  caret-color: var(--accent-2);
  outline: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(20, 50, 110, .06);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.code-box:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, .18), 0 8px 26px rgba(8, 145, 178, .12);
  transform: translateY(-2px);
}
.code-box.bad { border-color: #dc2626; animation: wobble .45s ease; }

.gate-btn {
  width: 3.4rem; height: 3.8rem;
  border: none; border-radius: 12px;
  background: var(--grad);
  background-size: 200% 100%;
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .28);
  transition: transform .2s, background-position .4s;
}
.gate-btn:hover { transform: translateY(-2px); background-position: 100% 0; }

.gate-msg {
  min-height: 1.5rem;
  color: #dc2626;
  font-size: .95rem;
}
.gate-msg.shake { animation: wobble .45s ease; }

/* email/OTP request form */
.otp-fields { display: flex; flex-direction: column; gap: .7rem; }
.otp-fields input {
  width: min(320px, 76vw);
  height: 3rem;
  padding: 0 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.otp-fields input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, .15);
}
.gate-btn-wide {
  width: min(320px, 76vw);
  height: 3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
}
.gate-btn-wide:disabled { opacity: .6; cursor: wait; }
.gate-hint {
  color: var(--ink-dim);
  font-size: .9rem;
  max-width: 30rem;
  margin-top: -1.4rem;
}

.gate-blurb {
  color: var(--ink-dim);
  font-size: .98rem;
  max-width: 33rem;
  margin-top: -1.2rem;
  animation: rise .9s .1s cubic-bezier(.2, .8, .2, 1) both;
}

/* honeypot — present in the DOM, invisible to humans, irresistible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 1px;
  width: 1px;
  opacity: 0;
}

/* print protection: the site does not exist on paper */
.print-notice { display: none; }

@media print {
  body * { visibility: hidden; }
  .print-notice {
    display: block !important;
    visibility: visible !important;
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--font-display);
    color: var(--ink);
  }
  .print-notice p { margin: .2rem 0; font-size: 1.05rem; }
}
.mode-link {
  color: var(--ink-dim);
  font-size: .85rem;
  margin-top: -1.4rem;
}
.mode-link:hover { color: var(--ink); }
[hidden] { display: none !important; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes wobble {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ------------------------------------------------ nav */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(239, 241, 244, .86);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav-brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--ink); text-decoration: none; letter-spacing: -.02em;
}
.nav-dot { color: var(--accent-2); }
.nav-links { display: flex; gap: clamp(.9rem, 2.5vw, 2rem); }
.nav-links a {
  color: var(--ink-dim); text-decoration: none; font-size: .92rem;
  font-weight: 400; transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-lock {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #ffffff; color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem 1rem; font: inherit; font-size: .85rem;
  cursor: pointer; transition: color .2s, border-color .2s;
}
.nav-lock:hover { color: var(--ink); border-color: var(--accent-2); }

@media (max-width: 720px) { .nav-links { display: none; } }

/* ------------------------------------------------ hero */

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem clamp(1.2rem, 6vw, 6rem) 4rem;
  max-width: 1200px; margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-photo {
  margin: 0;
  justify-self: center;
  width: min(100%, 380px);
  background: #ffffff;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(20, 50, 110, .14);
  transition: transform .3s, box-shadow .3s;
}
.hero-photo:hover {
  transform: translateY(-4px) rotate(-.5deg);
  box-shadow: 0 30px 70px rgba(20, 50, 110, .2);
}
.hero-photo img {
  display: block;
  width: 100%; height: auto;
  border-radius: 18px;
}

.kicker {
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.9rem, 6.5vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 1.6rem;
}

.grad-text {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: slide-grad 8s ease infinite alternate;
}
@keyframes slide-grad { from { background-position: 0% 0; } to { background-position: 100% 0; } }

.hero-lead {
  max-width: 34rem;
  color: var(--ink-dim);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  margin-bottom: 2.2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-position .4s;
}
.btn-primary {
  background: var(--grad); background-size: 200% 100%;
  color: #fff; border: none;
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0;
  box-shadow: 0 10px 30px rgba(37, 99, 235, .32); }
.btn-ghost {
  color: var(--ink); border: 1px solid var(--line);
  background: #ffffff; backdrop-filter: blur(10px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent-2); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 2rem;
}
.stat { display: block; }
.stat-num {
  display: inline;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}
.stat-plus {
  display: inline;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { display: block; color: var(--ink-dim); font-size: .85rem; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { order: -1; width: min(64%, 250px); justify-self: start; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
}

/* ------------------------------------------------ sections */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 6vw, 6rem);
}

.section-tag {
  font-family: var(--font-display);
  color: var(--accent-ink);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: .9rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  letter-spacing: -.02em;
  line-height: 1.12;
  margin-bottom: 2.8rem;
  max-width: 22ch;
}

.section-intro {
  color: var(--ink-dim);
  font-size: 1.02rem;
  max-width: 44rem;
  margin: -1.8rem 0 2.6rem;
}

/* reveal animation */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1),
              transform .7s cubic-bezier(.2, .8, .2, 1);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------------------------ about */

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.about-text { color: var(--ink-dim); font-size: 1.15rem; max-width: 36rem; }

.facts { display: flex; flex-direction: column; gap: 1.1rem; }
.fact {
  display: flex; gap: .9rem; align-items: center;
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 22px rgba(20, 50, 110, .05);
}
.fact svg { color: var(--accent-2); flex-shrink: 0; }
.fact div { display: flex; flex-direction: column; }
.fact strong { font-weight: 600; font-size: .95rem; }
.fact span { color: var(--ink-dim); font-size: .82rem; }

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ skills */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  backdrop-filter: blur(12px);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, .4);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(8, 145, 178, .12));
  border: 1px solid rgba(37, 99, 235, .22);
  color: var(--accent-2);
  margin-bottom: 1.1rem;
}
.card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.08rem; margin-bottom: .55rem;
}
.card p { color: var(--ink-dim); font-size: .93rem; }

.toolbox {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  margin-top: 2.4rem;
}
.toolbox-label {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-dim); margin-right: .6rem;
}
.chip {
  padding: .38rem .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: #ffffff;
  font-size: .85rem; color: var(--ink-dim);
  transition: color .2s, border-color .2s;
}
.chip:hover { color: var(--ink); border-color: var(--accent-2); }
.chip-hot {
  color: #fff; font-weight: 600; border: none;
  background: var(--grad); background-size: 200% 100%;
}
.chip-hot:hover { color: #fff; }

/* ------------------------------------------------ timeline */

.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: .44rem; top: .4rem; bottom: .4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent-1) 45%, transparent);
  opacity: .45;
}

.entry { position: relative; padding-bottom: 2.6rem; }
.entry:last-child { padding-bottom: 0; }

.entry-dot {
  position: absolute; left: -2.2rem; top: .42rem;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent-1);
  box-shadow: 0 0 10px rgba(37, 99, 235, .4);
}
.entry-dot.now {
  border-color: var(--accent-2);
  background: var(--accent-2);
  animation: pulse 2.2s ease infinite;
}
.entry-dot.start { opacity: .4; box-shadow: none; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(8, 145, 178, .4); }
  70%  { box-shadow: 0 0 0 12px rgba(8, 145, 178, 0); }
  100% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0); }
}

.entry-head { display: flex; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; align-items: baseline; }
.entry h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
}
.entry-when {
  color: var(--accent-ink); font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  white-space: nowrap;
}
.entry-when em { font-style: normal; color: var(--accent-3); }
.entry-org {
  color: var(--ink-dim); font-size: .95rem; margin-top: .35rem;
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
}
.entry-org .cc { font-size: .8rem; opacity: .75; }
.org-logo {
  height: 34px; width: auto; max-width: 130px;
  object-fit: contain; object-position: left center;
  border-radius: 7px;
  background: #fff;
  padding: 3px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(20, 50, 110, .07);
}
.entry-desc { color: var(--ink-dim); font-size: .95rem; margin-top: .7rem; max-width: 46rem; }

.venture-url {
  font-weight: 500; font-size: .85rem; color: var(--accent-3);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 58, 237, .35);
  transition: color .2s, border-color .2s;
}
.venture-url:hover { color: var(--accent-1); border-color: rgba(37, 99, 235, .5); }

/* ------------------------------------------------ education */

.degrees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.degree {
  position: relative;
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 22px rgba(20, 50, 110, .05);
  transition: transform .3s, border-color .3s;
}
.degree:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, .45); }
.degree-year {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.degree h3 { font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; max-width: 12ch; margin-bottom: .4rem; }
.degree-note {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--grad);
  border-radius: 999px; padding: .15rem .6rem; margin-left: .3rem;
  vertical-align: middle;
  -webkit-text-fill-color: #fff;
}
.degree p { color: var(--ink-dim); font-size: .9rem; }
.edu-note { color: var(--ink-dim); font-size: .92rem; margin-top: 1.8rem; max-width: 46rem; }

@media (max-width: 860px) { .degrees { grid-template-columns: 1fr; } }

/* ------------------------------------------------ contact */

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.contact-card {
  display: grid;
  grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 1rem; align-items: center;
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  text-decoration: none; color: var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 22px rgba(20, 50, 110, .05);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.contact-card svg { grid-row: 1 / span 2; color: var(--accent-2); }
.contact-card:hover { transform: translateY(-4px);
  border-color: rgba(8, 145, 178, .45);
  box-shadow: var(--shadow-hover); }
.contact-label { color: var(--ink-dim); font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; }
.contact-value { font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; }

@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem clamp(1.2rem, 6vw, 6rem);
  text-align: center;
  color: var(--ink-dim);
  font-size: .85rem;
}
