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

:root {
  --bg: #F7F7F7;
  --black: #111111;
  --secondary: #777777;
  --border: #E2E2E2;
  --white: #FFFFFF;
  --max: 1000px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--black);
}

.btn-contact {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: -0.01em;
}

.btn-contact:hover {
  opacity: 0.75;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-text-link {
  text-decoration: none;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav-text-link:hover {
  color: var(--black);
}

/* ===== HERO ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.hero__inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.hero__intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.hero__greeting-text {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero__avatar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  border-radius: 9999px;
  overflow: hidden;
  width: 80px;
  height: 64px;
  flex-shrink: 0;
}

.hero__avatar {
  width: 80px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.hero__headline {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: var(--black);
  margin-top: 4px;
}

.hero__arrow {
  margin-top: 56px;
  color: var(--secondary);
  animation: bounce 2s ease-in-out 2s infinite;
  display: inline-block;
}

/* ===== SECTIONS ===== */
section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  color: var(--black);
}

.section-header p {
  font-size: 15px;
  color: var(--secondary);
  max-width: 420px;
  line-height: 1.6;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
  transform: translateY(-6px);
}

.card-img-wrap {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #E0E0E0;
  position: relative;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card-img-wrap img {
  transform: scale(1.1);
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card-img-placeholder {
  transform: scale(1.1);
}

.card--soon {
  cursor: default;
}

.card--soon:hover {
  transform: none;
}

.card-soon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.card h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--black);
  line-height: 1.3;
}

.card p {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.55;
  font-weight: 400;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 400;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__links a {
  display: flex;
  align-items: center;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--black);
}

/* ===== TOAST ===== */
#toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: #ffffff;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 10px 16px 10px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 9999;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.05);
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #F0F0F0;
  border-radius: 6px;
  color: var(--black);
  flex-shrink: 0;
}

#toast-text {
  color: var(--black);
  font-weight: 500;
}

#toast-label {
  color: var(--secondary);
  font-weight: 400;
}

/* ===== ARTICLE OVERLAY ===== */
#article-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

#article-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#article-panel {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

#article-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

#article-close {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--secondary);
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  padding: 0;
}

#article-close:hover {
  color: var(--black);
}

#article-meta-section {
  padding-top: 64px;
  text-align: center;
  margin-bottom: 48px;
}

#article-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

#article-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}

#article-desc {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 32px;
}

#article-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.meta-value {
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.01em;
}

#article-img-wrap {
  border-radius: 30px;
  overflow: hidden;
  margin: 0 auto 56px;
  width: 100%;
  height: 400px;
  background: var(--bg);
}

#article-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#article-body img {
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-radius 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
}

#article-body h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 48px 0 14px;
  color: var(--black);
}

#article-body h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 36px 0 12px;
  color: var(--black);
}

#article-body p {
  margin-bottom: 24px;
  color: #333333;
}

#article-body p:last-child {
  margin-bottom: 0;
}

/* ===== SIGNAL OVERLAY ===== */
#signal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

#signal-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#signal-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 100px;
}

#signal-meta-section {
  padding-top: 64px;
  text-align: center;
  margin-bottom: 48px;
}

#signal-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

#signal-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}

#signal-desc {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

#signal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

#signal-close {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--secondary);
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  padding: 0;
}

#signal-close:hover {
  color: var(--black);
}

#signal-pdf-wrap {
  width: 100%;
  height: 85vh;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

#signal-pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== ABOUT OVERLAY ===== */
#about-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

#about-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#about-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

#about-close {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--secondary);
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  padding: 0;
}

#about-close:hover { color: var(--black); }

#about-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px 100px;
}

#about-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

/* LEFT */
#about-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}

#about-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--black);
}

#about-tagline {
  font-size: 14px;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* RIGHT */
#about-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

#about-left .about-label { display: none; }

#about-bio {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.45;
  color: var(--black);
  max-width: 600px;
}

/* CARDS ROW */
#about-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card--photo {
  padding: 0;
  overflow: hidden;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 12px;
}

#about-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--white);
}

.about-card-row {
  display: flex;
  gap: 20px;
}

.about-card-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.about-field-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.about-field-value {
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-decoration: none;
}

.about-field-value--link {
  color: var(--black);
  cursor: pointer;
  transition: color 0.2s;
}

.about-field-value--link:hover { color: var(--secondary); }

/* ===== EDITORIAL CARD ===== */
.editorial-card {
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.editorial-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 100;
  font-size: 90px;
  color: #c8c8c8;
  line-height: 1;
  letter-spacing: -0.05em;
  z-index: 1;
}

.editorial-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}

.editorial-title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 52px;
  color: white;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.06em;
}

.editorial-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: white;
  opacity: 0.8;
  letter-spacing: -0.02em;
}

/* ===== MOBILE RESPONSIVE ===== */

/* Hide all mobile menu elements on desktop */
@media (min-width: 769px) {
  .nav-inner .mobile-menu-toggle {
    display: none !important;
  }
  
  .mobile-menu {
    display: none !important;
  }
  
  .mobile-menu * {
    display: none !important;
  }
}

.nav-inner .mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}

.mobile-menu-toggle:hover {
  color: var(--black);
  background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-right {
    display: none;
  }
  
  .nav-inner .mobile-menu-toggle {
    display: flex !important;
  }
  
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  
  .mobile-menu-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
  }
  
  .mobile-menu-back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: color 0.2s, background-color 0.2s;
  }
  
  .mobile-menu-back:hover {
    color: var(--black);
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  .mobile-menu-inner {
    width: 100%;
    max-width: 400px;
    padding: 40px 24px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  .mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .mobile-menu.open .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
  }
  
  .mobile-menu.open .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
  .mobile-menu.open .mobile-nav-links li:nth-child(2) { transition-delay: 0.15s; }
  .mobile-menu.open .mobile-nav-links li:nth-child(3) { transition-delay: 0.2s; }
  .mobile-menu.open .mobile-nav-links li:nth-child(4) { transition-delay: 0.25s; }
  .mobile-menu.open .mobile-nav-links li:nth-child(5) { transition-delay: 0.3s; }
  .mobile-menu.open .mobile-nav-links li:nth-child(6) { transition-delay: 0.35s; }
  
  .mobile-nav-links a {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.2s;
  }
  
  .mobile-nav-links a:hover {
    color: var(--secondary);
  }
  
  .mobile-btn-contact {
    margin: 0 auto;
    padding: 12px 24px;
    font-size: 16px;
  }
  
  .editorial-number {
    font-size: 60px;
    top: 16px;
    right: 16px;
  }
  
  .editorial-title {
    font-size: 36px;
  }
  
  .editorial-subtitle {
    font-size: 12px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 80px 20px 70px;
  }
  
  .hero__greeting-text {
    font-size: 30px;
  }
  
  .hero__headline {
    font-size: 30px;
  }
  
  .hero__avatar-pill {
    width: 60px;
    height: 50px;
  }
  
  .hero__avatar {
    width: 60px;
    height: 50px;
  }
  
  section {
    padding: 60px 20px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .card-img-wrap {
    aspect-ratio: 3 / 2;
  }
  
  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  #about-layout { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  
  #about-left { 
    display: none; 
  }
  
  #about-bio { 
    font-size: 18px; 
  }
  
  #about-cards { 
    grid-template-columns: 1fr; 
  }
  
  .about-card--photo { 
    width: 100%; 
    max-width: 200px;
    height: 200px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 12px;
  }
  
  .about-card--photo #about-photo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .nav-links li:nth-child(2) {
    display: none;
  }
  
  .nav-icon {
    display: none;
  }
}
