/* ============================================================
   oioahta3ep — Engineering Project Manager
   Minimalist theme — flat, classic, no glows/gradients/shadows
   Accent classic teal #008080 on a flat dark background
   (Previous modern theme saved in css/style.backup.css)
   ============================================================ */

:root {
  --bg: #14181c;
  --surface: #1c2126;
  --surface-2: #181d22;
  --card: #1c2126;
  --border: #31383f;
  --border-strong: #3c444c;
  --green: #008080;
  --black: #0b0e11;
  --text: #e6eaed;
  --text-dim: #98a2aa;
  --text-mute: #6e7880;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font-body);
  --radius: 3px;
}

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

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1080px, 92%); margin-inline: auto; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.gradient-text { color: var(--green); }

/* ============ Buttons — flat outline ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--green); color: var(--black); }
.btn--link { border-color: transparent; color: var(--green); padding: 10px 16px; }
.btn--link:hover { background: transparent; color: var(--text); }

/* ============ Header — solid, flat ============ */
.header { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--border); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--green); }
.nav a.active { color: var(--green); background: transparent; }
.nav a.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin-inline: auto; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ Page hero ============ */
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero__tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--green);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero__title { font-family: var(--font-head); font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.2; margin-bottom: 14px; }
.page-hero__lead { color: var(--text-dim); font-size: 1rem; max-width: 40rem; margin-inline: auto; }

/* ============ Section helpers ============ */
.section { padding: 40px 0 64px; }
.section__tag { color: var(--green); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.section__title { font-family: var(--font-head); font-size: clamp(1.35rem, 3vw, 1.7rem); margin-bottom: 12px; font-weight: 600; }
.section__title::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 10px; background: var(--green); }
.section__lead { color: var(--text-dim); font-size: 1rem; max-width: 38rem; margin-bottom: 26px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card__title { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 16px; color: var(--text); font-weight: 600; }

/* Anchor offset so sections clear the sticky header */
main section[id] { scroll-margin-top: 84px; }

/* ============ Story / About ============ */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 20px; align-items: stretch; }

.profile { grid-column: 1; grid-row: 1; text-align: center; padding: 30px; display: flex; flex-direction: column; }
.story-card { grid-column: 2; grid-row: 1; }
.lang-card { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: min(100%, 560px); }
.profile__avatar {
  width: 130px; height: 130px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  display: block;
}
.profile__name { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 6px; font-weight: 600; }
.profile__role { color: var(--green); font-size: 0.9rem; margin-bottom: 18px; }
.profile__meta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; text-align: left; }
.profile__meta div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.profile__meta dt { color: var(--text-mute); }
.profile__meta dd { color: var(--text); word-break: break-word; }

.socials { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  transition: background 0.15s ease, color 0.15s ease;
}
.socials a:hover { background: var(--green); color: var(--black); }

/* Story narrative */
.story-card p { color: var(--text-dim); margin-bottom: 14px; }
.story-card p:last-child { margin-bottom: 0; }
.story-card strong { color: var(--green); }

.story__langs { display: flex; flex-direction: column; gap: 14px; }
.lang { display: flex; align-items: center; gap: 16px; }
.lang__name { width: 110px; color: var(--text); font-size: 0.92rem; }
.lang__bar { flex: 1; height: 6px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.lang__fill { height: 100%; width: 0; background: var(--green); transition: width 1s ease; }
.lang__lvl { width: 86px; text-align: right; color: var(--green); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============ Career timeline ============ */
.timeline { position: relative; max-width: 820px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.timeline__item { position: relative; padding-left: 44px; margin-bottom: 24px; }
.timeline__dot {
  position: absolute; left: 0; top: 16px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--green);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 0.68rem;
  color: var(--green);
}
.timeline__card { transition: border-color 0.15s ease; }
.timeline__card:hover { border-color: var(--green); }
.timeline__period { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--green); letter-spacing: 0.05em; margin-bottom: 8px; }
.timeline__head h3 { font-family: var(--font-head); font-size: 1.08rem; margin-bottom: 4px; font-weight: 600; }
.timeline__org { color: var(--text-mute); font-size: 0.9rem; margin-bottom: 12px; }
.timeline__card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 12px; }
.timeline__list { display: flex; flex-direction: column; gap: 8px; }
.timeline__list li { position: relative; padding-left: 16px; color: var(--text-dim); font-size: 0.92rem; }
.timeline__list li::before { content: "–"; position: absolute; left: 0; color: var(--green); }

/* ============ Capabilities ============ */
.caps__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bar { margin-bottom: 18px; }
.bar:last-child { margin-bottom: 0; }
.bar__head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.9rem; }
.bar__head span:first-child { color: var(--text); }
.bar__head span:last-child { color: var(--green); font-weight: 700; }
.bar__track { height: 6px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.bar__fill { height: 100%; width: 0; background: var(--green); transition: width 1s ease; }

.cert { display: flex; gap: 18px; align-items: flex-start; margin-top: 22px; }
.cert__badge {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 700;
}
.cert__body h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 6px; font-weight: 600; }
.cert__body p { color: var(--text-dim); font-size: 0.9rem; }
.cert__id { color: var(--text-mute); font-size: 0.82rem; margin-top: 4px; }

/* ============ Education ============ */
.edu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.edu__card { text-align: center; padding: 34px 24px; transition: border-color 0.15s ease; }
.edu__card:hover { border-color: var(--green); }
.edu__icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
}
.edu__period { color: var(--green); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; }
.edu__card h3 { font-family: var(--font-head); font-size: 1.08rem; margin: 12px 0 8px; line-height: 1.35; font-weight: 600; }
.edu__org { color: var(--text-mute); font-size: 0.92rem; }

/* ============ Contact ============ */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 920px; margin-inline: auto; }
.contact__card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease;
}
.contact__card:hover { border-color: var(--green); }
.contact__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
}
.contact__label { font-family: var(--font-head); font-weight: 600; }
.contact__value { color: var(--text-mute); font-size: 0.88rem; word-break: break-word; }

.contact__direct { max-width: 620px; margin: 36px auto 0; text-align: center; }
.contact__direct p { color: var(--text-dim); margin-bottom: 18px; }

/* ============ Footer ============ */
.footer { margin-top: auto; border-top: 1px solid var(--border); padding: 26px 0; background: var(--bg); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer p { color: var(--text-mute); font-size: 0.85rem; }

/* ============ Reveal (disabled for minimalism) ============ */
.reveal { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .story__grid, .caps__grid, .edu__grid { grid-template-columns: 1fr; }
  .story__grid { grid-template-rows: none; }
  .profile, .story-card, .lang-card { grid-column: auto; grid-row: auto; }
  .contact__grid { grid-template-columns: 1fr; max-width: 480px; }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-strong);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 11px 14px; border-radius: var(--radius); }
  .nav a.active { background: var(--surface); }
  .nav__toggle { display: flex; }
  .header__cta { display: none; }
  .nav a.nav__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 11px 14px;
    border: 1px solid var(--green);
    border-radius: var(--radius);
    color: var(--green);
    font-weight: 600;
    background: transparent;
  }
  .nav a.nav__cta:hover { background: var(--green); color: #0b0e11; }
}

@media (max-width: 560px) {
  .section { padding: 30px 0 46px; }
  .page-hero { padding: 48px 0 32px; }
  .timeline__item { padding-left: 38px; }
  .timeline::before { left: 10px; }
  .timeline__dot { width: 22px; height: 22px; }
  .profile__meta div { grid-template-columns: 1fr; gap: 2px; }
}
