/* ============================================
   Jieun Lee — Portfolio (faithful rebuild)
   Recreated from www.jieunlee.info
   ============================================ */

/* ---------- Local fonts ---------- */
/* Heading: Knockout HTF66 Full Flyweight (matches live site weight) */
@font-face {
  font-family: 'Knockout FullFlyweight';
  src: url('./fonts/Knockout-HTF66-FullFlyweight.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Mono: Simplon Mono Light */
@font-face {
  font-family: 'SimplonMono';
  src: url('./fonts/SimplonMono-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables (from original site) ---------- */
:root {
  --white-smoke: #efefef;
  --dark-gray:   #161616;
  --grey:        #888;
  --white:       #ffffff;
  --hover:       #596c7a;

  --font-heading: 'Knockout FullFlyweight', 'Arial Narrow', sans-serif;
  --font-mono:    'SimplonMono', 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background-color: var(--white-smoke);
  color: var(--dark-gray);
  font-family: var(--font-mono);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Typography ---------- */
.heading2 {
  color: var(--dark-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-left: 0;
  padding-right: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 85px;
  line-height: 62px;
}
/* hover color for clickable titles */
a:hover .heading2 { color: var(--hover); }

.simplonmono {
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 300;
  line-height: 18px;
  margin: 0;
}
._10p {
  color: var(--grey);
  font-size: 14px;
  line-height: 17px;
  text-decoration: none;
}
.link-line { text-decoration: underline; }

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

/* Links */
.link-text { color: var(--grey); text-decoration: none; }
.hover-blue:hover { color: var(--hover); }
.link-block-no-line { text-decoration: none; }

/* ---------- Hover reveal image ---------- */
.reveal-image {
  position: fixed;
  inset: 14% 10% auto;
  width: 80%;
  height: 76%;
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}
.reveal-image.is-visible { opacity: 1; }
/* keep header + list text above the image */
.div-2per { position: relative; z-index: 2; }
.div-2per.fixed { z-index: 100; }

/* ---------- Layout: header ---------- */
.div-2per { width: 100%; padding: 2%; }
.div-2per.fixed {
  z-index: 100;
  padding-right: 1.8%;
  position: sticky;
  top: 0;
  background-color: var(--white-smoke);
}

.flex { display: flex; justify-content: space-between; align-items: stretch; }
.flex.right { justify-content: flex-end; }
.flex.right .heading2 { padding: 0; }
.flex-left { display: flex; align-items: flex-start; }
.flex-right { display: flex; justify-content: flex-end; align-items: flex-end; }
.flex-center { display: flex; justify-content: center; }

.div-pr-10px { padding-right: 10px; }

.header-link-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  align-content: start;
  align-items: start;
  padding-left: 0;
}
.header-link-grid .simplonmono { padding: 0; }

/* ---------- Layout: project list ---------- */
.div-2per.list { padding-top: 0; }
.div-pt-2per { padding-top: 2%; padding-bottom: 8px; }
.div-pb-1per { padding-bottom: 0.2%; }
.div-lr-2per { padding-left: 2%; padding-right: 2%; }

/* project row: title + category label, top aligned */
.project-row { display: flex; align-items: flex-start; padding-bottom: 0.2%; }
.project-row .simplonmono { margin-left: 0; padding: 0; }

/* ---------- Info page ---------- */
.div-text { display: flex; padding: 9% 10% 6%; gap: 2%; }
.column { flex: 1; }
.column.wide { flex: 2; }
.image-80 { width: 80%; display: inline-block; }
.profile { padding-bottom: 10%; }

.div-p10 { padding: 5% 10% 0; }
.image-100 { width: 100%; height: auto; }

/* Responsive video embed */
.embed { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; }
.embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Resume ---------- */
.image-60 { width: 60%; height: auto; }

/* ---------- Responsive (ported from www.jieunlee.info) ---------- */

/* Resume image (base override to match original) */
.image-60.resume { width: 80%; }

@media screen and (max-width: 991px) {
  .heading2 { letter-spacing: 1.5px; }
  .div-p10 { padding-top: 5%; padding-bottom: 0; }
  .div-text { padding-left: 5%; padding-right: 5%; }
  .image-60.resume { width: 80%; }
}

@media screen and (max-width: 767px) {
  .heading2 { font-size: 70px; line-height: 53px; }
  .simplonmono._10p { font-size: 10px; }
  .div-text { padding-left: 10%; padding-right: 10%; flex-direction: column; }
  .column.contact { margin-bottom: 17px; }
  .div-pr-10px { padding-right: 10px; }
  .image-60.resume { width: 80%; }
  /* Webflow columns stack full-width on mobile */
  .column, .column.wide { flex: 1 1 100%; width: 100%; }
  .image-80 { width: 100%; }
}

@media screen and (max-width: 479px) {
  .heading2 { letter-spacing: 1px; font-size: 47px; line-height: 38px; }
  .simplonmono._10p { margin-top: 1px; padding-top: 0; font-size: 7px; line-height: 10px; }
  .simplonmono.link-text._10p { margin-top: 0; padding-top: 0; line-height: 10px; }
  .div-pr-10px { padding-right: 5px; }
  .div-pb-1per { padding-bottom: 0; }
  .column { padding-left: 0; }
  .header-link-grid { gap: 0; }
  .image-60.resume { width: 90%; }
}
