@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  --page: #e9e7e0;
  --paper: #ffffff;
  --ink: #121212;
  --ink-soft: #3d3b36;
  --muted: #706c62;
  --line: #17171799;
  --line-soft: #d8d5cb;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --page: #121210;
    --paper: #1c1c19;
    --ink: #f2f1ec;
    --ink-soft: #cdcabf;
    --muted: #98958a;
    --line: #f2f1ec99;
    --line-soft: #38352c;
  }
}
:root[data-theme="dark"]{
  --page: #121210;
  --paper: #1c1c19;
  --ink: #f2f1ec;
  --ink-soft: #cdcabf;
  --muted: #98958a;
  --line: #f2f1ec99;
  --line-soft: #38352c;
}

*{ box-sizing: border-box; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.sheet{
  width: 100%;
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1px 1fr 1px 1.4fr;
}
.divider{ background: var(--line-soft); }

.col{ padding: 44px clamp(20px, 4vw, 48px); }

/* ---- LEFT ---- */
.col-left{ display:flex; flex-direction:column; gap: 22px; }
.name{
  font-family: "Archivo Black", "IBM Plex Sans", sans-serif;
  font-size: clamp(32px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}
.role-box{
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.contact-list{ display:flex; flex-direction:column; gap: 13px; }
.contact-item{ display:flex; align-items:center; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.contact-item a{ color: var(--ink-soft); text-decoration:none; }
.contact-item a:hover{ color: var(--ink); }
.ico{
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink);
  display:flex; align-items:center; justify-content:center;
}
.ico svg{ width: 13px; height: 13px; fill: var(--paper); }
.placeholder{ font-style: italic; color: var(--muted); }

.block h3{
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  margin: 0 0 10px;
}
.edu-inst{ font-size: 14.5px; font-weight: 700; text-transform: uppercase; margin-bottom: 3px; }
.edu-detail{ font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.edu-date{ font-size: 13px; color: var(--muted); margin-top: 4px; font-family: "IBM Plex Mono", monospace; }

.plain-list{ margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.9; }

/* ---- MIDDLE ---- */
.section-h{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin: 0 0 14px;
}
.col-mid{ display:flex; flex-direction:column; gap: 30px; }
.about-text{ font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin: 0; }

.skill-group{ margin-bottom: 16px; }
.skill-group:last-child{ margin-bottom: 0; }
.skill-label{ font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 8px; }
.skill-list{ margin: 0; padding-left: 18px; font-size: 15px; color: var(--ink-soft); line-height: 1.9; }

/* ---- RIGHT ---- */
.col-right{ display:flex; flex-direction:column; }
.job{ margin-bottom: 24px; }
.job:last-child{ margin-bottom: 0; }
.job-co{ font-size: 17px; font-weight: 700; }
.job-co a{ color: inherit; text-decoration: none; }
.job-co a:hover{ text-decoration: underline; }
.job-role{ font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.job-role em{ font-style: normal; color: var(--muted); }
.job ul{ margin: 10px 0 0; padding-left: 18px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
.job li{ margin-bottom: 4px; }

.note{
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}
.note a{ color: inherit; }

@media (max-width: 760px){
  .sheet{ grid-template-columns: 1fr; }
  .divider{ height: 1px; width: 100%; }
}

/* ---- footer ---- */
.site-foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 140px;
  margin-bottom: 96px;
  padding: 40px clamp(20px, 4vw, 48px) 48px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}
.site-foot-links{ display:flex; align-items:center; gap: 10px; }
.site-foot a{ color: var(--muted); text-decoration: none; }
.site-foot a:hover{ color: var(--ink); }

@media (max-width: 520px){
  .site-foot{ justify-content: center; text-align: center; }
}

@media print{
  body{ padding:0; background: #fff; }
  .sheet{ box-shadow:none; max-width:none; }
  .site-foot{ display: none; }
  @page{ size: landscape; }
}
