/* ============================================================
   DAYOUNG LEE — PORTFOLIO
   Clean editorial, minimal, light theme
   ============================================================ */

:root {
  --bg: #f0ede8;
  --bg-dark: #2f2f2f;
  --text: #2a2a2a;
  --text-light: #666;
  --accent: #2a2a2a;
  --white: #ffffff;
  --border: #d8d5d0;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: var(--bg);
  transition: background 0.3s;
}

.nav__left {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: opacity 0.2s;
}
.nav__link:hover { opacity: 0.5; }

.nav__logo svg { display: block; }
.nav__logo a { display: block; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__mode-label {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
}

/* Toggle */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__slider {
  position: absolute; inset: 0;
  background: var(--text);
  border-radius: 24px;
  transition: 0.3s;
}
.toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; bottom: 3px;
  background: var(--bg);
  border-radius: 50%;
  transition: 0.3s;
}
.toggle input:checked + .toggle__slider::before { transform: translateX(20px); }

/* Mobile menu button */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 64px;
  overflow: hidden;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 240px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  padding: 0 0 0 0;
  user-select: none;
}

.hero__o {
  font-family: 'Barlow', sans-serif;
  font-style: italic;
  font-weight: 300;
}

/* ============================================================
   INTRO TEXT
   ============================================================ */
.intro-text {
  padding: 64px 40px;
  text-align: center;
}
.intro-text p {
  font-family: var(--font-condensed);
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: 80px 40px 60px;
  text-align: center;
}
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 80px);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.page-header__sub {
  font-family: var(--font-condensed);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: var(--text);
}

/* ============================================================
   ABOUT SPLIT (homepage)
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.about-split__image {
  overflow: hidden;
}
.about-split__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: #c8c4be url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=800&q=80') center/cover no-repeat;
}

.about-split__content {
  padding: 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.about-split__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.about-split__icon { margin: 8px 0; }
.about-split__body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  max-width: 440px;
}
.about-split__link {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.about-split__link:hover { opacity: 0.5; }

/* ============================================================
   SELECTED WORK / WORK GRID
   ============================================================ */
.selected-work {
  padding: 80px 40px;
}

.selected-work__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 48px;
}
.selected-work__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: 0.01em;
}
.selected-work__header-right {
  padding-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}
.selected-work__header-right .link-arrow {
  display: block;
  margin-top: 12px;
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.link-arrow { transition: opacity 0.2s; }
.link-arrow:hover { opacity: 0.5; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.work-grid--full {
  padding: 0 40px 80px;
  grid-template-columns: repeat(4, 1fr);
}

.work-item { display: flex; flex-direction: column; gap: 8px; }
.work-item__num {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.work-item__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #dedad4;
}
.work-item__img-wrap:hover .work-item__img { transform: scale(1.04); }

.work-item__img {
  width: 100%;
  height: 100%;
  background: #dedad4 center/cover no-repeat;
  transition: transform 0.5s ease;
}
.work-item__img--1 { background-image: url('https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=600&q=80'); }
.work-item__img--2 { background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=600&q=80'); }
.work-item__img--3 { background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=600&q=80'); }
.work-item__img--4 { background-image: url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?w=600&q=80'); }
.work-item__img--5 { background-image: url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=600&q=80'); }
.work-item__img--placeholder { background: #dedad4; }

.work-item__tags {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.03em;
  margin-top: 4px;
}
.work-item__title {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 600;
  line-height: 1.3;
}

/* FILTER */
.work-filter {
  display: flex;
  gap: 8px;
  padding: 0 40px 40px;
  flex-wrap: wrap;
}
.work-filter__btn {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  border-radius: 24px;
  border: 1.5px solid var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  color: var(--text);
}
.work-filter__btn--active,
.work-filter__btn:hover {
  background: var(--text);
  color: var(--bg);
}

/* ============================================================
   HELLO SPLIT (about page)
   ============================================================ */
.hello-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
}
.hello-split__image {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
}
.hello-split__img-placeholder {
  background: #c8c4be url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=800&q=80') center/cover no-repeat;
  min-height: 420px;
}
.hello-split__img-sm {
  background: #b8b4ae url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=400&q=80') center/cover no-repeat;
}
.hello-split__content {
  padding: 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.hello-split__content h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.hello-split__content p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

/* ============================================================
   PHILOSOPHY (about page)
   ============================================================ */
.philosophy {
  padding: 80px 40px;
  max-width: 900px;
}
.philosophy__icon { margin-bottom: 24px; }
.philosophy__headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}
.philosophy__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.philosophy__body p { font-size: 14px; line-height: 1.75; }
.philosophy__img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: #dedad4;
  grid-column: 1 / -1;
}

/* ============================================================
   WORK PROCESS
   ============================================================ */
.process {
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  border-top: 1.5px solid var(--border);
}
.process__label {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  padding-top: 4px;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process__step { display: flex; flex-direction: column; gap: 12px; }
.process__num {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
}
.process__img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: #dedad4;
  margin-bottom: 4px;
}
.process__step h3 {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.process__step p { font-size: 13px; line-height: 1.7; color: var(--text); }

/* ============================================================
   SKILLS / TOOLS / AWARD
   ============================================================ */
.skills-section {
  padding: 40px 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  border-top: 1.5px solid var(--border);
}
.skills-section--last { border-bottom: 1.5px solid var(--border); margin-bottom: 0; }
.skills-section__label {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  padding-top: 4px;
}
.skills-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}
.skills-section__col p { font-size: 13px; line-height: 2.0; }
.skills-section__content > p { font-size: 13px; line-height: 2; }

/* ============================================================
   PERSONAL CTA (about page)
   ============================================================ */
.personal-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 40px;
  background: #2a8fff;
  color: var(--white);
}
.personal-cta__left h2 {
  font-family: 'Barlow', sans-serif;
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 24px;
}
.personal-cta__left .link-arrow {
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.personal-cta__right {
  display: flex;
  align-items: center;
}
.personal-cta__right p { font-size: 14px; line-height: 1.75; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 80px 40px 100px;
}
.contact-section__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 64px;
  max-width: 900px;
}
.contact-section__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  border-top: 1.5px solid var(--border);
  padding-top: 40px;
}
.contact-section__label {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--text-light);
}
.contact-section__value {
  font-family: var(--font-condensed);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.contact-section__value:hover { opacity: 0.5; }
.contact-section__socials {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-section__socials a {
  font-family: var(--font-condensed);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.contact-section__socials a:hover { opacity: 0.5; }

/* ============================================================
   WORK POST PAGE
   ============================================================ */
.post-hero { position: relative; margin-top: 64px; }
.post-hero__img {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}
.post-hero__img-inner {
  width: 100%; height: 100%;
  background: #c8c4be center/cover no-repeat;
}
.post-hero__img--slate {
  background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1400&q=80');
}
.post-hero__title-overlay {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.post-hero__title-overlay h1 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.post-info {
  padding: 48px 40px;
}
.post-info__intro {
  font-family: var(--font-condensed);
  font-size: clamp(13px, 1.6vw, 17px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 40px;
}
.post-info__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1.5px solid var(--border);
  padding-top: 24px;
}
.post-info__meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-info__meta-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
}
.post-info__meta-item span:last-child {
  font-size: 13px;
  font-weight: 500;
}

.post-images {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
}
.post-images__full { width: 100%; }
.post-images__half-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.post-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #dedad4;
}
.post-img-placeholder--tall { aspect-ratio: 4/3; }

.post-nav {
  display: flex;
  justify-content: space-between;
  padding: 60px 40px;
  border-top: 1.5px solid var(--border);
  margin-top: 60px;
}
.post-nav__link {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 36px);
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.post-nav__link:hover { opacity: 0.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: #f0ede8;
  padding: 56px 40px 0;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__cols {
  display: flex;
  gap: 60px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col-title {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(240,237,232,0.5);
  margin-bottom: 4px;
}

.footer__col a {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(240,237,232,0.85);
  transition: opacity 0.2s;
}
.footer__col a:hover { opacity: 0.5; }

.footer__logo-mark { opacity: 0.6; }

.footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  padding: 28px 0;
}
.footer__social a {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(240,237,232,0.7);
  transition: opacity 0.2s;
}
.footer__social a:hover { opacity: 1; }

.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.88;
  color: var(--white);
  letter-spacing: 0;
  padding-bottom: 12px;
}
.footer__o {
  font-family: 'Barlow', sans-serif;
  font-style: italic;
  font-weight: 300;
}
.footer__copy {
  font-size: 11px;
  color: rgba(240,237,232,0.35);
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: opacity 0.2s;
}
.mobile-nav a:hover { opacity: 0.5; }
.mobile-nav__close {
  position: absolute;
  top: 24px; right: 40px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
body { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid--full { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav__left { display: none; }
  .nav__mode-label { display: none; }
  .nav__hamburger { display: flex; }

  .hero__name { font-size: clamp(64px, 18vw, 120px); }

  .intro-text { padding: 40px 24px; }
  .page-header { padding: 60px 24px 40px; }

  .about-split { grid-template-columns: 1fr; }
  .about-split__img-placeholder { min-height: 320px; }
  .about-split__content { padding: 40px 24px; }

  .selected-work { padding: 60px 24px; }
  .selected-work__header { grid-template-columns: 1fr; gap: 20px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .work-grid--full { padding: 0 24px 60px; grid-template-columns: repeat(2, 1fr); }

  .hello-split { grid-template-columns: 1fr; }
  .hello-split__image { grid-template-columns: 1fr; min-height: 280px; }
  .hello-split__img-sm { display: none; }
  .hello-split__img-placeholder { min-height: 280px; }
  .hello-split__content { padding: 40px 24px; }

  .philosophy { padding: 60px 24px; }
  .philosophy__body { grid-template-columns: 1fr; }

  .process { padding: 40px 24px; grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }

  .skills-section { padding: 32px 24px; grid-template-columns: 1fr; gap: 16px; }
  .skills-section__content { grid-template-columns: 1fr; }

  .personal-cta { grid-template-columns: 1fr; padding: 60px 24px; gap: 32px; }

  .contact-section { padding: 60px 24px 80px; }
  .contact-section__details { grid-template-columns: 1fr; gap: 40px; }
  .contact-section__socials { gap: 24px; }

  .post-info { padding: 40px 24px; }
  .post-info__meta { grid-template-columns: repeat(2, 1fr); }
  .post-images { padding: 0 24px; }
  .post-nav { padding: 40px 24px; }

  .work-filter { padding: 0 24px 32px; }

  .footer { padding: 40px 24px 0; }
  .footer__cols { gap: 32px; }
  .footer__wordmark { font-size: clamp(36px, 12vw, 72px); }
}

@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-grid--full { grid-template-columns: 1fr; }
  .post-info__meta { grid-template-columns: 1fr 1fr; }
  .footer__social { gap: 20px; }
  .footer__cols { flex-direction: column; gap: 24px; }
}
