/* ============================================================
   RESUME.CSS — resume page in the "Warm Sunset" system.
   Matches home.css / case-study.css (Barlow + Mulish, warm palette)
   so the resume reads as part of the same site. Self-contained:
   does NOT depend on main.css.

   CONTENTS
     1. Tokens + base
     2. Header (sticky nav) + buttons
     3. Resume layout shell
     4. Resume header block (name, role, contact)
     5. Summary
     6. Sections (work, education) + items
     7. Skill / tool / personal columns
     8. Languages
     9. Responsive
    10. Reduced motion + print
============================================================ */

/* ============================================================
   1. TOKENS + BASE
============================================================ */
:root{
  --bg:#FFFFFF; --bg-2:#F6F6F7; --surface:#FFFFFF;
  --text:#0A0A0A; --text-2:#444A52; --text-3:#6B7280;
  --border:rgba(10,10,10,0.08); --border-h:rgba(10,10,10,0.20);
  --coral:#FF8A4B; --rose:#B33A82; --plum:#6E3C97;
  --coral-ink:#E85D2A;   /* deeper coral for gradient TEXT on white */
  --accent:#B33A82; --accent-rgb:179,58,130;
  --f-head:'Barlow',system-ui,sans-serif;
  --f-body:'Mulish',system-ui,sans-serif;
  --ease:cubic-bezier(0.16,1,0.3,1);
  --r-md:14px; --r-lg:20px; --r-xl:999px;
  --max:880px;          /* resume content column */
  --max-wide:1240px;    /* nav container, matches the home page */
}
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ font-family:var(--f-body); background:var(--bg); color:var(--text);
  -webkit-font-smoothing:antialiased; line-height:1.7; overflow-x:hidden; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
strong{ color:var(--text); font-weight:700; }
.grad{
  background:linear-gradient(120deg,var(--coral-ink),var(--rose) 58%,var(--plum));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.skip-link{ position:absolute; left:-9999px; top:0; z-index:300;
  background:var(--text); color:#fff; padding:10px 16px; border-radius:0 0 10px 0; font-weight:700; }
.skip-link:focus{ left:0; }

/* ============================================================
   2. HEADER (sticky nav) + buttons  — same nav as the home page
============================================================ */
.container{ width:100%; max-width:var(--max-wide); margin:0 auto; padding:0 28px; }
@media (min-width:768px){ .container{ padding:0 56px; } }
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,0.8);
  -webkit-backdrop-filter:saturate(160%) blur(18px); backdrop-filter:saturate(160%) blur(18px);
  border-bottom:1px solid var(--border);
}
.site-header .nav{ display:flex; align-items:center; justify-content:space-between; gap:24px; height:64px; }
.brand{ font-family:var(--f-head); font-weight:900; font-size:20px; letter-spacing:-1px;
  color:var(--text); display:inline-flex; align-items:center; }
.brand-sig{ height:38px; width:auto; display:block; opacity:.9; transition:opacity .2s; }
.brand:hover .brand-sig{ opacity:1; }
.nav-links{ display:flex; gap:32px; list-style:none; }
.nav-links a{ position:relative; font-size:15px; font-weight:500; color:var(--text-2); transition:color .2s; }
.nav-links a:hover{ color:var(--text); }
/* active section / current page */
.nav-links a.is-active,
.nav-links a[aria-current="page"]{ color:var(--rose); font-weight:700; }
.nav-links a.is-active::after,
.nav-links a[aria-current="page"]::after{ content:''; position:absolute; left:0; right:0; bottom:-7px;
  height:2px; border-radius:2px; background:linear-gradient(90deg,var(--coral),var(--rose)); }
@media(max-width:640px){ .nav-links{ display:none; } }

.btn-primary{ display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:14px;
  color:#fff; background:linear-gradient(135deg,var(--coral),var(--rose) 60%,var(--plum));
  border:0; padding:11px 20px; border-radius:var(--r-xl);
  transition:transform .15s var(--ease); cursor:pointer; }
.btn-primary:hover{ transform:translateY(-1px); }
.btn-sm{ font-size:13px; padding:9px 16px; }
.btn-primary .material-icons-round{ font-size:18px; }

/* ============================================================
   3. RESUME LAYOUT SHELL
============================================================ */
.resume-page{ max-width:var(--max); margin:0 auto; padding:64px 28px 96px; }
@media(min-width:768px){ .resume-page{ padding:80px 40px 110px; } }

/* ============================================================
   4. RESUME HEADER BLOCK
============================================================ */
.resume-header{ display:flex; align-items:flex-start; justify-content:space-between; gap:32px;
  padding-bottom:34px; margin-bottom:34px; border-bottom:1px solid var(--border); }
.resume-name{ font-family:var(--f-head); font-weight:900; letter-spacing:-1.5px;
  font-size:clamp(38px,6vw,60px); line-height:1; color:var(--text); }
.resume-role{ font-family:var(--f-head); font-weight:700; font-size:clamp(17px,2.2vw,22px);
  color:var(--rose); margin-top:8px; }
.resume-contact{ list-style:none; display:flex; flex-wrap:wrap; gap:10px 26px; margin-top:22px; }
.resume-contact li{ display:flex; align-items:center; gap:8px; font-size:14.5px; color:var(--text-2); }
.resume-contact li .material-icons-round{ font-size:18px; color:var(--accent); }
.resume-contact a{ color:var(--text-2); transition:color .2s ease; }
.resume-contact a:hover{ color:var(--rose); }
.resume-actions{ flex-shrink:0; }

/* ============================================================
   5. SUMMARY
============================================================ */
.resume-summary{ font-size:17px; line-height:1.8; color:var(--text-2); margin-bottom:8px; }

/* ============================================================
   6. SECTIONS + ITEMS
============================================================ */
.resume-section{ padding:38px 0 0; }
.resume-section-label{ display:block; font-family:var(--f-head); font-weight:700; font-size:12px;
  letter-spacing:2px; text-transform:uppercase; color:var(--accent); margin-bottom:22px;
  padding-bottom:10px; border-bottom:1px solid var(--border); }

.exp-item, .edu-item{ margin-bottom:30px; }
.exp-item:last-child, .edu-item:last-child{ margin-bottom:0; }
.exp-head, .edu-head{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.exp-role, .edu-degree{ font-family:var(--f-head); font-weight:800; font-size:19px; letter-spacing:-0.3px; color:var(--text); }
.exp-period, .edu-period{ flex-shrink:0; font-family:var(--f-head); font-weight:700; font-size:12px;
  letter-spacing:0.5px; color:var(--rose); background:rgba(var(--accent-rgb),0.07);
  padding:5px 12px; border-radius:var(--r-xl); white-space:nowrap; }
.exp-company, .edu-school{ font-size:14.5px; font-weight:600; color:var(--text-3); margin:6px 0 0; }
.exp-bullets{ list-style:none; display:flex; flex-direction:column; gap:10px; margin:16px 0 0; }
.exp-bullets li{ position:relative; padding-left:24px; font-size:15.5px; line-height:1.7; color:var(--text-2); }
.exp-bullets li::before{ content:''; position:absolute; left:3px; top:10px; width:7px; height:7px;
  border-radius:50%; background:linear-gradient(135deg,var(--coral),var(--rose)); }
.edu-note{ font-size:15px; line-height:1.7; color:var(--text-2); margin-top:8px; }

/* ============================================================
   7. SKILL / TOOL / PERSONAL COLUMNS
============================================================ */
.skills-cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.skills-col{ background:rgba(var(--accent-rgb),0.05); border:1px solid var(--border);
  border-radius:var(--r-md); padding:20px 20px 22px; }
.skills-col-title{ font-family:var(--f-head); font-weight:800; font-size:17px; color:var(--text);
  margin-bottom:12px; }
.skills-col ul{ list-style:none; display:flex; flex-direction:column; gap:9px; }
.skills-col li{ position:relative; padding-left:20px; font-size:15.5px; line-height:1.6; color:var(--text-2); }
.skills-col li::before{ content:''; position:absolute; left:2px; top:8px; width:5px; height:5px;
  border-radius:50%; background:var(--rose); }

/* ============================================================
   8. LANGUAGES
============================================================ */
.lang-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.lang-row > div{ background:rgba(var(--accent-rgb),0.05); border:1px solid var(--border);
  border-radius:var(--r-md); padding:18px 20px; display:flex; flex-direction:column; gap:4px; }
.lang-row strong{ font-family:var(--f-head); font-weight:800; font-size:16px; color:var(--text); }
.lang-row span{ font-size:14px; color:var(--text-3); }

/* ============================================================
   9. RESPONSIVE
============================================================ */
@media(max-width:760px){
  .resume-header{ flex-direction:column; gap:20px; }
  .resume-actions{ width:100%; }
  .resume-actions .btn-primary{ width:100%; justify-content:center; }
  .skills-cols{ grid-template-columns:1fr 1fr; }
  .lang-row{ grid-template-columns:1fr; }
}
@media(max-width:460px){
  .skills-cols{ grid-template-columns:1fr; }
  .exp-head, .edu-head{ gap:6px; }
}

/* ============================================================
   10. REDUCED MOTION + PRINT
============================================================ */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ transition:none !important; animation:none !important; }
}
@media print{
  .site-header, .resume-actions{ display:none; }
  .resume-page{ padding:0; max-width:none; }
  .skills-col, .lang-row > div, .exp-period, .edu-period{ background:none; border:none; padding:0; }
  a{ color:#000; }
}
