/* ============================================
   ANURA — Interactive Frog
   Tokens
============================================ */
:root{
  --bg-0: #071815;
  --bg-1: #0c231e;
  --bg-2: #123028;
  --lime: #c6f24e;
  --lime-dim: #8fb23e;
  --cream: #f2ede1;
  --text: #f4f1ea;
  --muted: #a79e8c;
  --muted-2: #7c9086;
  --hair: rgba(244,241,234,0.14);
  --hair-strong: rgba(244,241,234,0.22);

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --header-h: 96px;
  --edge: clamp(14px, 2.4vw, 28px);
}

*{ box-sizing: border-box; }
html, body{
  margin:0; padding:0;
  width:100%; overflow-x:hidden;
  background: var(--bg-0);
}
body{
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection{ background: var(--lime); color: #0a1a15; }

button{ font-family: inherit; border:0; background:none; color:inherit; cursor: pointer; }
sup{ font-size: 0.5em; top: -0.9em; }

/* ============================================
   Outer frame
============================================ */
.frame{
  position: fixed; inset: 0; z-index: 40; pointer-events:none;
  border: 1px solid var(--hair);
  margin: 10px;
}
.frame__corner{ position:absolute; width:10px; height:10px; }
.frame__corner--tl{ top:-1px; left:-1px; border-top:1px solid var(--hair-strong); border-left:1px solid var(--hair-strong); }
.frame__corner--tr{ top:-1px; right:-1px; border-top:1px solid var(--hair-strong); border-right:1px solid var(--hair-strong); }
.frame__corner--bl{ bottom:-1px; left:-1px; border-bottom:1px solid var(--hair-strong); border-left:1px solid var(--hair-strong); }
.frame__corner--br{ bottom:-1px; right:-1px; border-bottom:1px solid var(--hair-strong); border-right:1px solid var(--hair-strong); }

/* ============================================
   Loader
============================================ */
.loader{
  position: fixed; inset:0; z-index: 100;
  background: var(--bg-0);
  display:flex; align-items:center; justify-content:center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loader__inner{ text-align:center; width: 240px; }
.loader__mark{
  font-family: var(--font-display); font-weight:700; letter-spacing: 0.08em;
  font-size: 15px; color: var(--muted); margin-bottom: 26px;
}
.loader__pct{
  font-family: var(--font-display); font-weight: 700;
  font-size: 54px; line-height:1; color: var(--text); margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.loader__bar-track{
  width:100%; height:1px; background: var(--hair); position:relative; margin-bottom: 16px;
}
.loader__bar-fill{
  position:absolute; left:0; top:0; height:100%; width:0%;
  background: var(--lime); transition: width 0.2s ease-out;
}
.loader__label{
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--muted-2); text-transform: uppercase;
}

/* ============================================
   Custom cursor
============================================ */
.cursor{ position: fixed; top:0; left:0; z-index: 90; pointer-events:none;
  transform: translate(-50%,-50%); opacity:0; transition: opacity 0.3s ease; }
.cursor.is-active{ opacity:1; }
.cursor__dot{
  position:absolute; top:50%; left:50%; width:5px; height:5px; border-radius:50%;
  background: var(--lime); transform: translate(-50%,-50%);
}
.cursor__ring{
  position:absolute; top:50%; left:50%; width:30px; height:30px; border-radius:50%;
  border: 1px solid rgba(198,242,78,0.55); transform: translate(-50%,-50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}
.cursor.is-hover .cursor__ring{ width: 54px; height:54px; border-color: var(--lime); }
@media (hover:none), (pointer:coarse){ .cursor{ display:none; } }

/* ============================================
   Hero layout
============================================ */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width:100%;
  background:
    radial-gradient(ellipse 900px 700px at 82% 62%, rgba(46,102,84,0.55), transparent 60%),
    linear-gradient(160deg, var(--bg-1) 0%, var(--bg-0) 55%, #050f0d 100%);
  display:flex; flex-direction:column;
  overflow:hidden;
}
@media (hover:none), (pointer:coarse){ .hero, .hero *{ cursor:auto !important; } }
.hero, .hero *{ cursor: none; }
@media (hover:none), (pointer:coarse){ .hero, .hero *{ cursor:auto; } }

/* ============================================
   Header
============================================ */
.header{
  height: var(--header-h);
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 var(--edge);
  position: relative; z-index: 20;
  flex-shrink:0;
}
.header__left{ display:flex; align-items:baseline; gap: 14px; }
.header__logo{ font-family: var(--font-display); font-weight:700; font-size: 18px; letter-spacing: 0.01em; }
.header__tag{ font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted-2); }
.header__center{
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted);
  position:absolute; left:50%; transform: translateX(-50%);
}
.header__right{
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted-2);
  display:flex; align-items:center; gap: 8px; white-space:nowrap;
}
.header__dot{
  width:6px; height:6px; border-radius:50%; background: var(--lime);
  box-shadow: 0 0 8px 1px rgba(198,242,78,0.7);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:0.4; transform:scale(0.72); }
}

.hairline{ height:1px; width:100%; background: var(--hair); flex-shrink:0; position:relative; z-index:20; }

/* ============================================
   Stage (frog canvas)
============================================ */
.stage{
  position:absolute; inset:0; z-index: 1;
  display:flex; align-items:flex-end; justify-content:flex-end;
}
.stage__canvas{
  height: 62vh; width:auto; max-width: 62vw;
  aspect-ratio: 700 / 794;
  margin-right: clamp(20px, 5vw, 90px);
  object-fit: contain;
}
.stage__scrim{
  position:absolute; inset:0;
  background: linear-gradient(90deg, var(--bg-0) 0%, rgba(7,24,21,0.85) 22%, rgba(7,24,21,0.25) 46%, transparent 62%);
  pointer-events:none;
}

/* ============================================
   Content
============================================ */
.content{
  position: relative; z-index: 10;
  flex: 1;
  display:flex; flex-direction:column; justify-content:center;
  padding: 0 var(--edge);
  padding-bottom: 3vh;
}
.content__eyebrow{
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--lime); margin-bottom: 22px;
}
.content__title{
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 0 18px 0;
  max-width: 58%;
}
.content__title-line{ display:block; }
.content__title-line--fill{ color: var(--text); }
.content__title-line--stroke{
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
  text-stroke: 1.5px var(--text);
}
.content__attr{
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--muted-2); margin-bottom: 28px;
}
.content__desc{
  font-family: var(--font-body); font-weight:400; font-style: italic;
  font-size: 16px; line-height: 1.55;
  color: var(--muted);
  max-width: 400px;
  margin: 0 0 44px 0;
}
.content__row{
  display:flex; align-items:center; gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
}
.stats{ display:flex; gap: clamp(24px, 4vw, 42px); }
.stat{ display:flex; flex-direction:column; gap:6px; }
.stat__value{
  font-family: var(--font-display); font-weight:700; font-size: 24px; color: var(--text);
}
.stat__label{
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted-2);
}

/* ============================================
   Catch button
============================================ */
.catch-btn{
  width: 128px; height:128px; border-radius:50%; flex-shrink:0;
  background: var(--cream); color: #0a1a15;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.35s ease, transform 0.35s ease;
  position: relative;
}
.catch-btn:hover{ background: var(--lime); }
.catch-btn:active{ transform: scale(0.94); }
.catch-btn__text{
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  font-weight: 500; line-height: 1.4; text-align:center;
}
.catch-btn__arrow{ display:flex; transition: transform 0.35s ease; }
.catch-btn:hover .catch-btn__arrow{ transform: translateX(4px); }
.catch-btn:focus-visible{ outline: 2px solid var(--lime); outline-offset: 4px; }

/* ============================================
   Footer
============================================ */
.footer{
  height: 56px; flex-shrink:0;
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 var(--edge);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--muted-2);
  position:relative; z-index:20;
}

/* ============================================
   Reveal animation
============================================ */
.reveal{
  opacity:0; transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(.16,.8,.24,1), transform 0.8s cubic-bezier(.16,.8,.24,1);
}
.reveal.is-visible{ opacity:1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ transition: opacity 0.4s ease; transform:none; }
  .header__dot{ animation:none; }
  .catch-btn, .catch-btn__arrow, .cursor__ring{ transition:none; }
}

/* ============================================
   Responsive — tablet
============================================ */
@media (max-width: 1024px){
  .content__title{ max-width: 62%; font-size: clamp(34px, 5.2vw, 56px); }
  .content__desc{ max-width: 340px; }
  .catch-btn{ width: 104px; height:104px; }
  .stage__canvas{ height: 56vh; }
}

/* ============================================
   Responsive — mobile
============================================ */
@media (max-width: 720px){
  :root{ --header-h: 76px; }
  .header__center{ display:none; }
  .header__tag{ display:none; }

  .hero{
    background:
      radial-gradient(ellipse 600px 500px at 68% 30%, rgba(46,102,84,0.55), transparent 60%),
      linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 55%, #050f0d 100%);
  }

  .stage{ align-items:flex-start; justify-content:center; padding-top: var(--header-h); }
  .stage__canvas{ height: auto; width: 78vw; max-width: 78vw; margin-right:0; }
  .stage__scrim{
    background: linear-gradient(180deg, transparent 0%, transparent 34%, var(--bg-0) 74%);
  }

  .content{
    justify-content: flex-end;
    padding-bottom: 4vh;
  }
  .content__title{ max-width: 100%; font-size: clamp(30px, 8vw, 44px); margin-bottom: 12px; }
  .content__eyebrow{ margin-bottom:14px; }
  .content__attr{ margin-bottom: 18px; }
  .content__desc{ max-width: 100%; font-size:14px; margin-bottom: 28px; }
  .content__row{ flex-direction: row; align-items:center; justify-content:space-between; gap: 20px; }
  .stat--hide-mobile{ display:none; }
  .stats{ gap: 20px; }
  .catch-btn{ width: 88px; height:88px; }
  .catch-btn__text{ font-size:9px; }

  .footer{ font-size: 8.5px; }
  .frame{ margin:6px; }
}

@media (max-width: 380px){
  .content__row{ flex-direction: column; align-items: flex-start; gap: 22px; }
}

/* ============================================
   Hero footer scroll cue
============================================ */
.footer__scroll{ display:flex; align-items:center; gap:8px; }
.footer__arrow{
  display:inline-block; color: var(--lime);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce){ .footer__arrow{ animation:none; } }

/* ============================================
   DOSSIER — shared section tokens
============================================ */
.dossier{
  position: relative;
  background: var(--bg-0);
  z-index: 5;
}
.section{
  padding: clamp(64px, 10vw, 128px) var(--edge);
  max-width: 1180px;
  margin: 0 auto;
}
.section__eyebrow{
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--lime); margin-bottom: 20px;
}
.section__title{
  font-family: var(--font-display); font-weight:700;
  font-size: clamp(32px, 4.2vw, 52px);
  color: var(--text); margin: 0 0 48px 0; letter-spacing: -0.01em;
}

.reveal-scroll{
  opacity:0; transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.16,.8,.24,1), transform 0.8s cubic-bezier(.16,.8,.24,1);
}
.reveal-scroll.is-visible{ opacity:1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal-scroll{ transition: opacity 0.4s ease; transform:none; opacity:1; }
}

.dossier .hairline{ max-width: 1180px; margin: 0 auto; background: var(--hair); }

/* ============================================
   Profile section
============================================ */
.profile__name{
  font-family: var(--font-display); font-weight:700;
  font-size: clamp(44px, 7vw, 88px); line-height: 0.98;
  color: var(--text); margin: 0 0 20px 0; letter-spacing: -0.01em;
}
.profile__role{
  font-family: var(--font-body); font-size: clamp(15px, 1.6vw, 19px);
  color: var(--muted); margin-bottom: 40px; max-width: 640px;
}
.profile__meta{
  display:flex; flex-wrap:wrap; gap: clamp(24px, 4vw, 48px);
  padding: 28px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  margin-bottom: 40px;
}
.meta-item{ display:flex; flex-direction:column; gap:6px; }
.meta-item__label{ font-family: var(--font-mono); font-size:9.5px; letter-spacing:0.14em; color: var(--muted-2); }
.meta-item__value{ font-family: var(--font-body); font-size:14px; color: var(--text); font-weight:500; }

.profile__about{
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  color: var(--muted); max-width: 760px; margin: 0 0 44px 0;
}

.profile__links{ display:flex; flex-wrap:wrap; gap: 12px; }
.profile-link{
  display:flex; flex-direction:column; gap:5px;
  padding: 14px 20px; border: 1px solid var(--hair); border-radius: 2px;
  text-decoration:none; transition: border-color 0.3s ease, background 0.3s ease;
  min-width: 150px;
}
.profile-link:hover{ border-color: var(--lime); background: rgba(198,242,78,0.04); }
.profile-link__label{ font-family: var(--font-mono); font-size:9px; letter-spacing:0.14em; color: var(--muted-2); }
.profile-link__value{ font-family: var(--font-body); font-size:14px; color: var(--text); font-weight:500; }

/* ============================================
   Experience timeline
============================================ */
.exp-list{ list-style:none; margin:0; padding:0; }
.exp-item{
  display:grid;
  grid-template-columns: 56px 170px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--hair);
}
.exp-item:last-child{ border-bottom: 1px solid var(--hair); }
.exp-item__index{
  font-family: var(--font-mono); font-size:12px; color: var(--lime); padding-top: 3px;
}
.exp-item__dates{
  font-family: var(--font-mono); font-size:12px; color: var(--muted); line-height:1.6;
}
.exp-item__duration{ color: var(--muted-2); }
.exp-item__company{
  font-family: var(--font-display); font-weight:700; font-size: 18px;
  color: var(--text); margin-bottom: 4px;
}
.exp-item__place{ font-family: var(--font-body); font-weight:400; font-size:13px; color: var(--muted-2); }
.exp-item__title{
  font-family: var(--font-body); font-size: 14px; font-weight:500;
  color: var(--lime); margin-bottom: 12px;
}
.exp-item__desc{
  font-family: var(--font-body); font-size: 14.5px; line-height:1.65;
  color: var(--muted); max-width: 680px; margin:0;
}

/* ============================================
   Education
============================================ */
.edu-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 56px;
}
.edu-block__label{
  font-family: var(--font-mono); font-size:10px; letter-spacing:0.14em;
  color: var(--muted-2); margin-bottom: 22px;
}
.edu-entry{
  display:flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--hair);
}
.edu-entry:last-child{ padding-bottom:0; }
.edu-entry__year{
  font-family: var(--font-mono); font-size:12px; color: var(--lime); flex-shrink:0; width: 40px;
}
.edu-entry__name{ font-family: var(--font-body); font-weight:600; font-size:14.5px; color: var(--text); margin-bottom:4px; }
.edu-entry__detail{ font-family: var(--font-body); font-size:13px; color: var(--muted); line-height:1.5; }

/* ============================================
   Skills
============================================ */
.lang-row{
  display:flex; flex-wrap:wrap; gap: clamp(28px, 5vw, 56px);
  padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--hair);
}
.lang-item{ display:flex; flex-direction:column; gap:6px; }
.lang-item__name{ font-family: var(--font-display); font-weight:700; font-size:18px; color: var(--text); }
.lang-item__level{ font-family: var(--font-mono); font-size:10.5px; letter-spacing:0.08em; color: var(--muted-2); }

.skill-tags{ display:flex; flex-wrap:wrap; gap: 10px; }
.skill-tag{
  font-family: var(--font-body); font-size: 13px; color: var(--muted);
  padding: 9px 16px; border: 1px solid var(--hair); border-radius: 20px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.skill-tag:hover{ border-color: var(--lime); color: var(--text); }

/* ============================================
   Recommendations
============================================ */
.rec-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.rec-card{
  background: var(--bg-0); padding: 26px 24px;
}
.rec-card__name{ font-family: var(--font-body); font-weight:600; font-size:14.5px; color: var(--text); margin-bottom:6px; }
.rec-card__role{ font-family: var(--font-mono); font-size:10.5px; letter-spacing:0.04em; color: var(--muted-2); }

/* ============================================
   Dossier footer
============================================ */
.dossier-footer{
  max-width: 1180px; margin: 0 auto;
  padding: clamp(48px, 8vw, 90px) var(--edge) 40px;
}
.dossier-footer__row{
  display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap: 24px;
  padding-bottom: 32px;
}
.dossier-footer__label{
  display:block; font-family: var(--font-mono); font-size:10px; letter-spacing:0.16em;
  color: var(--muted-2); margin-bottom: 10px;
}
.dossier-footer__email{
  font-family: var(--font-display); font-weight:700; font-size: clamp(24px, 4vw, 40px);
  color: var(--text); text-decoration:none; border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.dossier-footer__email:hover{ color: var(--lime); border-color: var(--lime); }
.dossier-footer__links{ display:flex; gap: 24px; flex-wrap:wrap; }
.dossier-footer__links a{
  font-family: var(--font-mono); font-size:12px; color: var(--muted);
  text-decoration:none; transition: color 0.3s ease;
}
.dossier-footer__links a:hover{ color: var(--lime); }
.dossier-footer__bottom{
  display:flex; justify-content:space-between; padding-top: 24px;
  font-family: var(--font-mono); font-size:9.5px; letter-spacing:0.12em; color: var(--muted-2);
  flex-wrap:wrap; gap:10px;
}

/* ============================================
   Dossier responsive
============================================ */
@media (max-width: 900px){
  .exp-item{ grid-template-columns: 1fr; gap: 10px; }
  .exp-item__index{ display:none; }
  .exp-item__dates{ order:-1; }
  .edu-grid{ grid-template-columns: 1fr; gap: 40px; }
  .rec-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .section{ padding: 56px var(--edge); }
  .profile__meta{ gap: 20px 32px; }
  .profile-link{ flex:1 1 calc(50% - 12px); min-width: 140px; }
  .rec-grid{ grid-template-columns: 1fr; }
  .dossier-footer__row{ flex-direction:column; align-items:flex-start; }
}
