@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/archivo.woff2") format("woff2");
}

:root {
  --bg: #0e1a2b;
  --text: #eaf0f7;
  --accent: #ffc21a;
  --accent-2: #ffd24d;
  --accent-3: #ffe08a;
  --font: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
}

h1, h2, h3 { font-family: var(--font); font-weight: 800; margin: 0; }
p { margin: 0; }
a { color: inherit; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px);
}

/* header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 20px 0;
  border-bottom: 2px solid var(--text);
  font-weight: 600;
}
.site-header nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-header a { text-decoration: none; }

/* hero */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(32px, 6vw, 72px); }
.hero h1 {
  font-size: clamp(44px, 9vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.045em;
}
.hero .dot { color: var(--accent); }
.hero-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px 32px;
  margin-top: clamp(32px, 6vw, 72px);
  padding-top: 24px;
  border-top: 2px solid var(--text);
  font-size: 17px;
}
.hero-info .titles { font-weight: 800; font-size: 20px; line-height: 1.25; }

/* sections */
.section { border-top: 2px solid var(--text); padding: clamp(32px, 5vw, 64px) 0; }
.section h2 {
  margin-bottom: 32px;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
}
.section .count { font-size: 16px; font-weight: 600; color: var(--accent-2); }
.list { border-top: 2px solid var(--text); }

/* grid cards (projects, skills) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px 40px;
}
.grid > * { border-top: 2px solid var(--text); padding-top: 14px; }
.grid h3 { font-size: 16px; color: var(--accent-2); }
.project { display: flex; flex-direction: column; gap: 6px; }
.project-head { display: flex; gap: 12px; align-items: baseline; }
.project .num { font-weight: 800; color: var(--accent); }
.project h3 { font-size: 18px; line-height: 1.25; color: var(--text); }
.project a { font-size: 14px; word-break: break-all; }
.project .role { font-weight: 700; color: var(--accent-2); }

/* experience */
.job {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 8px 32px;
  padding: 22px 0;
  border-bottom: 2px solid var(--text);
  align-items: baseline;
}
.job .dates { font-weight: 600; color: var(--accent-3); }
.job-role { font-weight: 800; font-size: clamp(18px, 2vw, 24px); line-height: 1.2; }

.skill h3 { margin-bottom: 10px; }

/* contact */
.contact { background: var(--accent); color: var(--bg); }
.contact .wrap { padding-top: clamp(48px, 9vw, 112px); padding-bottom: clamp(48px, 9vw, 112px); }
.contact h2 {
  max-width: 12ch;
  font-size: clamp(40px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: clamp(28px, 5vw, 56px);
  font-size: 18px;
  font-weight: 700;
}
.contact a:hover { color: var(--bg); text-decoration: none; }

