/* ==========================================================================
   RESUME PAGE — kateyu-resume.html
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.header-print { height: 50px; }
.main_nav_resume {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  max-height: 70px;
  z-index: 999;
  padding-top: 17px;
  padding-bottom: 6px;
  background: #fff;
  overflow: hidden;
  transition: all 0.3s;
  opacity: 1;
}
.footer-print { width: 100%; }
.resume-bg {
  background: #f0f0f0;
  padding: 40px 16px 48px;
  min-height: calc(100vh - 56px - 74px);
}
.page {
  max-width: 850px;
  margin: 0 auto;
  background: #ffffff;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  position: relative;
}
/* Download button */
.download-pdf-btn {
  position: absolute;
  top: 20px; right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 6px 16px 6px 12px;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.download-pdf-btn:hover { background: #333; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.download-pdf-btn:active { transform: scale(0.95); }
.download-pdf-btn svg { width: 14px; height: 14px; }
/* Header */
.name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.2;
  margin-bottom: 2px;
}
.titlePosition {
  font-size: 13px;
  font-weight: 500;
  color: #4a4a4a;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #555;
}
.contact a { color: #555; text-decoration: none; transition: color 0.2s; }
.contact a:hover { color: #000; }
.sep { color: #ccc; user-select: none; }
.divider { border: none; border-top: 1px solid #d0d0d0; margin: 24px 0 20px; }
/* Sections */
.section { margin-bottom: 16px; }
.section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0f0f0f;
  padding-bottom: 2px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 8px;
}
.profile-text { font-size: 12.5px; color: #333; line-height: 1.65; }
/* Experience */
.exp-item { margin-bottom: 12px; }
.exp-item:last-child { margin-bottom: 0; }
.exp-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.exp-role    { font-size: 12.5px; font-weight: 600; color: #1a1a1a; }
.exp-pipe    { font-size: 12.5px; color: #555; margin: 0 6px; }
.exp-company { font-size: 12.5px; font-weight: 500; color: #444; }
.exp-period  { font-size: 12px; color: #777; white-space: nowrap; margin-left: 16px; }
.exp-bullets { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.exp-bullets li {
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
  padding-left: 12px;
  position: relative;
  margin-bottom: 2px;
}
.exp-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 3px; height: 3px;
  background: #999;
  border-radius: 50%;
}
/* Capabilities */
.capabilities { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.cap-item    { color: #333; }
.cap-slash   { color: #aaa; margin-left: 6px; }
/* Education */
.edu-row     { display: flex; justify-content: space-between; align-items: baseline; }
.edu-degree  { font-size: 12.5px; font-weight: 600; color: #1a1a1a; }
.edu-school  { font-size: 12.5px; color: #555; margin-left: 8px; }
.edu-period  { font-size: 12px; color: #777; white-space: nowrap; }
/* Screen readability */
@media screen {
  .page         { max-width: 1200px; padding: 72px; }
  .resume-bg    { padding-top: 90px; padding-bottom: 10px; }
  .name         { font-size: 48px; }
  .titlePosition { font-size: 16px; }
  .profile-text { font-size: 15px; line-height: 1.75; }
  .exp-role, .exp-company, .edu-degree, .edu-school { font-size: 15px; }
  .exp-bullets  { list-style: none !important; padding: 0 !important; margin: 0 !important; }
  .exp-bullets li { font-size: 14px; line-height: 1.65; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .page { padding: 40px 32px; }
}
@media (max-width: 1024px) { .footer__nav { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .footer__nav { grid-template-columns: repeat(2, 1fr); } .footer__bottom { flex-direction: column; align-items: flex-start; } }
@media (max-width: 480px)  { .footer__nav { grid-template-columns: 1fr; } }
/* Print */
@media print {
  @page { size: letter; margin: 0.5in; }
  header, footer, .header-print, .footer-print, .main_nav_resume,
  .download-pdf-btn, .nav, .w-nav-overlay, .mobile-toggle { display: none !important; }
  html, body { background: #fff !important; margin: 0 !important; padding: 0 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .resume-bg  { background: #fff !important; padding: 0 !important; min-height: auto !important; }
  .page       { max-width: none !important; width: 100% !important; min-height: calc(11in - 1in) !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; border: none !important; position: static !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; }
  .name       { font-size: 24px !important; margin-bottom: 1px !important; }
  .titlePosition { font-size: 10.5px !important; margin-bottom: 4px !important; }
  .contact    { font-size: 10px !important; gap: 4px !important; flex-wrap: nowrap !important; white-space: nowrap !important; }
  .sep        { display: inline !important; }
  .divider    { margin: 10px 0 9px !important; }
  .section    { margin-bottom: 9px !important; }
  .section-title { font-size: 9.5px !important; margin-bottom: 4px !important; padding-bottom: 2px !important; }
  .profile-text  { font-size: 11px !important; line-height: 1.6 !important; }
  .exp-item   { margin-bottom: 8px !important; }
  .exp-role, .exp-pipe, .exp-company { font-size: 11px !important; }
  .exp-period { font-size: 10.5px !important; }
  .exp-header { margin-bottom: 1px !important; }
  .exp-bullets li { font-size: 11px !important; line-height: 1.55 !important; margin-bottom: 2px !important; }
  .capabilities   { font-size: 10px !important; gap: 3px 4px !important; }
  .edu-degree, .edu-school { font-size: 10.5px !important; }
  .edu-period { font-size: 10px !important; }
  .exp-item, .edu-row { break-inside: avoid; page-break-inside: avoid; }
  .contact a  { color: #555 !important; text-decoration: none !important; }
}
