/* Design System */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --pure-white: #ffffff;
  --green: #00cc52;
  /* Balanced premium green */
  --green-soft: #e6f9ed;
  /* Soft green background for labels */
  --green-dim: rgba(0, 204, 82, 0.1);
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d5d5d5;
  --gray-500: #767676;
  --gray-700: #4a4a4a;
  --gray-900: #1a1a1a;
  --bg-primary: #ffffff;
  --bg-light: #f8f8f8;
  --text-on-dark: #ffffff;
  --text-on-light: #1a1a1a;
  --border-dark: #e0e0e0;
  --border-light: #f0f0f0;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-on-light);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Interactive cursor dots */
.cursor-dot {
  position: fixed;
  pointer-events: none;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0.6;
  z-index: 9999;
}

.cursor-dot.follower {
  width: 4px;
  height: 4px;
  opacity: 0.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  line-height: 1.1;
  font-weight: 800;
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-700);
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green);
  margin-bottom: 20px;
}

/* Label variant for dark backgrounds */
.label-dark {
  color: rgba(255,255,255,0.55);
  border-bottom-color: var(--green);
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  background: #1a1a1a;
  color: var(--white);
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 48px;
  transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border: 2px solid var(--white);
  padding: 6px 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 auto 0 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  margin: 0;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.nav-cta {
  background: var(--white);
  color: #1a1a1a !important;
  /* Force black text */
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--green);
  color: var(--white) !important;
}

/* Status Bar */
.status-bar {
  background: #fdfdfd;
  color: var(--gray-700);
  padding: 10px 32px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.status-left::before {
  content: '●';
  color: var(--green);
  margin-right: 6px;
}

/* Hero */
.hero {
  background: transparent;
  color: var(--text-on-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 32px;
  min-height: calc(100vh - 130px);
  max-height: 100vh;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 106, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.hero-left .label {
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  /* Even smaller to avoid overpowering the image */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.hero-title span {
  display: block;
}

.hero-title .accent {
  color: var(--green);
  text-shadow: 0 0 20px rgba(0, 255, 106, 0.2);
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.btn-primary {
  background: var(--green);
  color: var(--black);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.15s;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-300);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 2px;
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Portrait block — also used as a link to About */
a.portrait-wrap {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.portrait-wrap {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.portrait {
  width: 100%;
  aspect-ratio: 3/4;
  height: auto;
  max-height: 300px;
  display: block;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portrait-wrap:hover .portrait {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.corner-mark { display: none; }

.portrait-caption {
  text-align: center;
  width: 100%;
}

.portrait-role {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
  font-weight: 700;
}

.portrait-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--black);
}

.portrait-location {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Ticker */
.ticker {
  background: #1a1a1a;
  color: #888888;
  overflow: hidden;
  padding: 12px 0;
  /* Reduced to save vertical space */
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: scroll 25s linear infinite;
  white-space: nowrap;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  color: var(--green);
  font-weight: 600;
}

/* Mission Quote Section */
.latest-section {
  padding: 120px 32px;
  background: var(--black);
  color: var(--white);
  position: relative;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.latest-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}

.latest-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #1a1a1a;
  margin: 0;
}

.latest-header a {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-left: 4px solid transparent;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card:hover {
  transform: translateY(-12px);
  border-left-color: var(--green);
  box-shadow: 0 20px 40px rgba(0, 255, 106, 0.15);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gray-200);
  overflow: hidden;
  margin-bottom: 16px;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.card-number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.card-category {
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

/* Quote / Mission Section */
.quote-section {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* Label inside dark section */
.latest-section .label {
  color: rgba(255,255,255,0.45);
  border-bottom-color: var(--green);
  margin-bottom: 28px;
}

.editorial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  font-style: italic;
}

.quote-signature {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

/* About Preview Section (on homepage) */
.about-section {
  background: #ffffff;
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
}

/* About Preview facts bar */
.about-preview {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 48px 32px;
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-preview-fact {
  border-left: 2px solid var(--green);
  padding-left: 16px;
}

.fact-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.fact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .about-preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.about-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding: 0 32px;
}

.about-sidebar {
  width: 200px;
  flex-shrink: 0;
}

.about-sidebar .label {
  display: block;
  margin-bottom: 12px;
}

.about-sidebar-city {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

/* About page portrait — rectangular like the hero portrait */
.about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  margin-bottom: 16px;
  display: block;
}

.about-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  color: var(--black);
}

.about-role {
  font-size: 0.85rem;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.about-sidebar a {
  display: inline-block;
  margin-top: 16px;
}

.about-main h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 32px;
  color: var(--black);
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.pill {
  border: 1px solid var(--border-dark);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}

.about-read-bio {
  margin-top: 24px;
}

.about-read-bio a {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.thesis-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}

.thesis-label {
  font-size: 0.65rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.thesis-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--gray-700);
  padding-left: 20px;
  border-left: 3px solid var(--green);
  line-height: 1.5;
}

/* Full Bio Section */
.full-bio {
  background: #ffffff;
  padding: 80px 32px;
  border-top: 1px solid var(--border-light);
}

.full-bio-breadcrumb {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.full-bio-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-family: var(--font-display);
  color: var(--black);
  margin-bottom: 32px;
}

.bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

/* Bio portrait on the About page full-bio section */
.bio-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.bio-text p {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.bio-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 32px 0;
}

.bio-meta h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  color: var(--black);
}

.bio-meta li {
  list-style: none;
  padding-left: 12px;
  position: relative;
  margin-bottom: 8px;
  color: var(--gray-500);
}

.bio-meta li:before {
  content: '—';
  position: absolute;
  left: 0;
}

/* Work Archive */
.work-hero {
  background: #ffffff;
  padding: 64px 32px;
  border-bottom: 1px solid var(--border-light);
}

.work-breadcrumb {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.work-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  color: var(--black);
  margin-bottom: 16px;
}

.work-subtext {
  font-size: 0.75rem;
  color: var(--gray-500);
  letter-spacing: 0.08em;
}

.archive-list {
  padding: 0 32px;
}

.archive-item {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}

.archive-item:last-child {
  border-bottom: none;
}

.archive-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-300);
}

.archive-thumb {
  aspect-ratio: 16/9;
  background: var(--gray-200);
  position: relative;
}

.archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-external {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 1.2rem;
  color: var(--white);
}

.archive-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--black);
}

.archive-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.archive-category {
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.archive-text {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Contact Page */
.contact-hero {
  background: #ffffff;
  padding: 64px 32px;
  border-bottom: 1px solid var(--border-light);
}

.contact-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--black);
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  padding: 64px 32px;
  background: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--green);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  color: var(--black);
  font-weight: 600;
}

.contact-info p {
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: var(--gray-500);
}

.contact-info a {
  color: var(--green);
  font-weight: 600;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 80px 32px;
  border-top: 1px solid rgba(0, 255, 106, 0.15);
}

.footer-top {
  text-align: center;
  margin-bottom: 48px;
}

.footer-top h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-email {
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.footer-email:hover {
  text-shadow: 0 0 20px rgba(0, 255, 106, 0.4);
}

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-col {
  font-size: 0.9rem;
  color: var(--gray-700);
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-700);
}

.footer-col a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 32px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bio-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .archive-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-title {
    order: 3;
    width: 100%;
    font-size: 0.85rem;
    text-align: center;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 60px 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100%;
    text-align: center;
  }

  .portrait-name {
    font-size: 1.8rem;
  }

  .portrait-wrap {
    width: 100%;
  }

  .portrait {
    max-width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .about-header {
    flex-direction: column;
    gap: 32px;
  }

  .about-sidebar {
    width: 100%;
  }

  .thesis-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .bio-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  nav {
    padding: 12px 16px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
  }

  .latest-section {
    padding: 48px 16px;
  }

  .full-bio {
    padding: 48px 16px;
  }

  .work-hero {
    padding: 48px 16px;
  }

  .archive-item {
    gap: 16px;
  }

  .contact-layout {
    padding: 32px 16px;
  }

  footer {
    padding: 40px 16px;
  }
}