/* ========================================
   bosungbaik.com - Global Styles
   Colors: Black, Gray, White only
   Fonts: Inter (EN), Pretendard (KR)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #000;
  background-color: #fff;
  line-height: 1.6;
  font-weight: 300;
}

/* Container */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 120px;
}

/* Links */
a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #616161;
}

/* Nav */
nav {
  padding: 48px 0 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-name a {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 300;
  color: #616161;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #000;
}

.nav-links a.active {
  color: #000;
}

/* Main content */
main {
  padding: 120px 0 160px;
}

/* Headings */
h1 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 48px;
}

h2 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #616161;
}

h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Paragraph */
p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #000;
}

p:last-child {
  margin-bottom: 0;
}

/* Section spacing */
section {
  margin-bottom: 120px;
}

section:last-child {
  margin-bottom: 0;
}

/* Inverted section */
.inverted {
  background-color: #000;
  color: #fff;
  padding: 80px 0;
}

.inverted a {
  color: #fff;
}

.inverted a:hover {
  color: #a0a0a0;
}

.inverted h2 {
  color: #a0a0a0;
}

.inverted p {
  color: #fff;
}

/* Link list */
.link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-list a {
  font-size: 15px;
  font-weight: 300;
  display: inline-block;
  transition: color 0.3s ease;
}

.link-list a::after {
  content: ' \2197';
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.link-list a:hover::after {
  opacity: 1;
}

/* Internal link (no arrow) */
.link-list a.internal::after {
  content: '';
}

/* Separator */
.separator {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  margin: 60px 0;
}

.inverted .separator {
  background-color: #333;
}

/* Footer */
footer {
  padding: 60px 0;
  border-top: 1px solid #e0e0e0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 13px;
  color: #616161;
  font-weight: 300;
}

footer .footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

footer .footer-links a {
  font-size: 13px;
  color: #616161;
}

footer .footer-links a:hover {
  color: #000;
}

/* Essay / Long-form */
.essay {
  margin-bottom: 100px;
}

.essay h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 32px;
}

.essay p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.essay .sign-off {
  margin-top: 40px;
  font-style: italic;
  color: #616161;
}

/* Quarterly report */
.report {
  margin-bottom: 100px;
}

.report h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.report .report-subtitle {
  font-size: 14px;
  color: #616161;
  margin-bottom: 32px;
  font-weight: 300;
}

.report h4 {
  font-size: 17px;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 16px;
}

.report p {
  font-size: 15px;
  line-height: 1.8;
}

/* Back link */
.back-link {
  display: inline-block;
  font-size: 14px;
  color: #616161;
  margin-bottom: 48px;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #000;
}

.back-link::before {
  content: '\2190 ';
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: #000;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 960px) {
  .container {
    padding: 0 60px;
  }

  main {
    padding: 80px 0 120px;
  }

  h1 {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 24px;
  }

  nav {
    padding: 32px 0 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #e0e0e0;
  }

  .nav-links.open {
    display: flex;
  }

  nav .container {
    position: relative;
  }

  main {
    padding: 60px 0 100px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 36px;
  }

  section {
    margin-bottom: 80px;
  }

  .essay h3 {
    font-size: 20px;
  }

  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
