/* ===================================================================
   Design tokens
   Palette carries the original amber (#F5A623) forward as the single
   accent, set against a deep navy hero instead of the old light blue.
   Section headers read like code comments (// Work Experience) —
   a small nod to the audience this resume is actually written for.
=================================================================== */
:root {
  --navy-900: #0B1F33;
  --navy-800: #12293F;
  --navy-700: #17385A;
  --amber-500: #F5A623;
  --amber-400: #F7B84D;
  --slate-50:  #F7F8FA;
  --slate-100: #EEF1F4;
  --slate-300: #D7DCE2;
  --ink-900: #1C2530;
  --ink-500: #5B6472;
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', 'Droid Sans', sans-serif;
  --font-body: 'Inter', 'Droid Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

html, body {
  background-color: var(--slate-50);
  color: var(--ink-900);
}

.clearfix {
  overflow: auto;
}

.center-text {
  text-align: center;
}

.education-entry, .work-entry, .project-entry {
  padding: 18px 5% 22px;
  border-bottom: 1px solid var(--slate-300);
}

.education-entry:last-child, .work-entry:last-child, .project-entry:last-child {
  border-bottom: none;
}

/* ---- Headings ---- */

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  color: var(--amber-500);
  line-height: 1.15;
  display: inline;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink-900);
  line-height: 29px;
  padding: 28px 5% 14px;
}

.section-tag {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--amber-500);
}

#letsConnect h2 {
  color: var(--white);
}

#letsConnect .section-tag {
  color: var(--amber-400);
}

h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink-900);
  line-height: 1.3;
}

h4 {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 17px;
}

h2, h3, h4, h5 {
  padding: 10px 5%;
}

/* ---- Meta text ---- */

.date-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
  line-height: 16px;
  float: left;
}

.location-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
  line-height: 16px;
  float: right;
}

p {
  clear: both;
  font-size: 15px;
  color: var(--ink-900);
  line-height: 1.6;
  padding-top: 10px;
}

a {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  display: block;
}

.work-entry a, .education-entry a, .project-entry a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-900);
  margin-top: 16px;
}

a:hover {
  color: var(--amber-500);
}

/* ---- Header / hero ---- */

#header {
  background-color: var(--navy-900);
  background-image: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding-bottom: 10px;
}

.welcome-message {
  display: block;
  font-style: normal;
  font-size: 17px;
  color: #C9D6E3;
  line-height: 1.6;
  clear: both;
  padding-top: 12px;
  max-width: 640px;
}

#skillsH3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-400);
  display: none;
}

.orange {
  background-color: var(--amber-500);
}

.orange-text {
  color: var(--amber-500);
}

.light-blue-50-text {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9FB4C9;
}

.white-text {
  font-weight: 600;
  color: var(--white);
}

.gray {
  background-color: var(--slate-100);
  padding-bottom: 10px;
  clear: both;
}

.dark-gray {
  background-color: var(--ink-900);
}

.ligh-blue-300 {
  background-color: var(--navy-900);
  background-image: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
}

/* ---- Layout helpers ---- */

.flex-box {
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 10px;
}

.center-content {
  padding-top: 3%;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 3%;
}

ul {
  list-style-type: none;
}

/* Skill chips: rendered like short code tokens */
#skills .flex-item {
  background-color: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 4px;
  padding: 4px 6px;
  margin: 4px;
}

#skills .white-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--amber-400);
}

/* Contact chips in header / footer */
#topContacts .flex-item, #footerContacts .flex-item {
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
  min-width: 110px;
  justify-content: center;
  align-items: center;
}

.biopic {
  float: left;
  padding: 10px;
  width: 200px;
  border-radius: 6px;
  display: none;
}

img {
  padding: 10px;
}

/* Bar chart stuff (left intact from the original build) */
.chart div {
  font: 10px sans-serif;
  background-color: var(--ink-900);
  text-align: right;
  padding: 3px;
  margin: 1px;
  height: 12px;
  color: white;
  display: inline-block;
}

span {
  padding: 5px;
}

/* ---- Let's Connect / footer ---- */

#letsConnect {
  text-align: center;
  padding-bottom: 28px;
}

#letsConnect .light-blue-50-text {
  color: #9FB4C9;
}

#letsConnect .white-text {
  color: var(--white);
}

/* ---- Internationalize button ---- */

button {
  display: block;
  margin: 24px auto 40px;
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-900);
  background-color: transparent;
  border: 1.5px solid var(--navy-900);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

button:hover {
  background-color: var(--navy-900);
  color: var(--white);
}

/* ---- Responsive ---- */

@media only screen and (max-width: 1024px) {
  #letsConnect {
    margin-top: 5%;
  }
}

@media only screen and (max-width: 900px) {
  .biopic {
    width: 175px;
  }
  h1 {
    font-size: 34px;
  }
}

@media only screen and (max-width: 750px) {
  #letsConnect {
    margin-top: 10%;
  }
  .biopic {
    width: 150px;
  }
  .welcome-message {
    display: none;
  }
  h1 {
    font-size: 28px;
  }
}

@media only screen and (min-width: 750px) {
  #skillsH3,
  .biopic {
    display: block;
  }
}
