/* Screen-only styling for resume.html so it matches the rest of the site.
   Loaded with media="screen" after resume-style.css; print is unaffected
   and still uses resume-style.css alone. Values mirror assets/css/main.css. */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060A22;
  --line: rgba(160, 185, 255, 0.16);
  --line-strong: rgba(160, 185, 255, 0.22);
  --text: #E7EDFC;
  --body: #C4CEE8;
  --muted: #94A3C8;
  --link: #8FBCFF;
  --link-hover: #C5DCFF;
  --glow: rgba(47, 107, 255, 0.42);
  --sans: 'Geist', system-ui, sans-serif;
  --pad-x: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; font-family: var(--sans); color: var(--body); }
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--sans); color: var(--text); }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

/* The framed column, with the two vertical hairlines. */
.content_container {
  opacity: 1;
  background: transparent;
  max-width: 1200px;
  min-height: 100vh;
  padding: 0 0 clamp(36px, 5vw, 64px);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

/* Top bar with a link back to the site. The nav is marked hidden in the
   HTML so it never shows in print; screen view displays it here. */
.back-nav[hidden] {
  display: flex;
  align-items: center;
  padding: 12px var(--pad-x);
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.back-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--body);
  text-decoration: none;
}
.back-nav a:hover { color: var(--text); }

/* Name and contact links form the heading band. */
.content_container > div:first-of-type {
  padding: clamp(40px, 7vw, 96px) var(--pad-x) clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 65% 130% at 88% 0%, var(--glow), rgba(47, 107, 255, 0) 70%);
}
h1 {
  padding: 0;
  color: var(--text);
  text-align: left;
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.centered { text-align: left; }
.content_container > div:first-of-type p { margin: 20px 0 0; padding: 0; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }

#print {
  float: none;
  margin: 0;
  padding: 12px var(--pad-x) 0;
  text-align: right;
  font-size: 14px;
}

.content { max-width: none; padding: 0 var(--pad-x); }
p { padding-left: 0; padding-right: 0; }
li { margin-top: 6px; }

/* Skills table */
.leftcol { margin: 24px 0 0; font-size: 15px; }
table.skills { border-collapse: collapse; }
table.skills td:first-child { white-space: nowrap; }
table.skills td { padding: 10px 24px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.skills tr td h3 { color: var(--text); font-size: 15px; font-weight: 500; }
table.skills p { color: var(--body); }

/* Section headings: a full-width hairline instead of the black rule. */
h2 {
  margin: clamp(36px, 5vw, 56px) calc(-1 * var(--pad-x)) 0;
  padding: clamp(28px, 4vw, 40px) var(--pad-x) 0;
  border-bottom: 0;
  border-top: 1px solid var(--line);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* Job title on the left, dates on the right; stack on narrow screens. */
div.position {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 28px;
}
div.position h3, div.position p { float: none; }
div.position h3 { color: var(--text); font-size: 18px; font-weight: 500; line-height: 1.35; }
div.position p { color: var(--muted); font-size: 14px; white-space: nowrap; }
div.position .clearfix { display: none; }

strong { color: var(--text); font-weight: 500; }
hr { border: 0; border-top: 1px solid var(--line); }
.footer { color: var(--muted); }
