/* ============ HOME PAGE ============ */

/* HERO */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 40px 32px 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 20px;
}
.hero-meta .label { color: var(--dim); display: block; font-size: 10px; margin-bottom: 4px; }
.hero-meta .val { color: var(--ink); font-weight: 500; }
.hero-meta .val.accent { color: var(--accent); }

.hero-manifesto {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 16px 0;
}
.manifesto {
  font-family: var(--display);
  font-size: clamp(46px, 8.8vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: var(--ink);
  max-width: 1600px;
}
.manifesto .word { display: inline-block; margin-right: 0.15em; position: relative; }
.manifesto .accent-word { color: var(--accent); font-style: italic; }
.manifesto .underline {
  position: relative;
}
.manifesto .underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.08em;
  width: 100%; height: 0.06em;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 1s cubic-bezier(0.2,0.7,0.3,1) 1.4s forwards;
}
@keyframes underline-in { to { transform: scaleX(1); } }

.hero-word { opacity: 0; transform: translateY(100%); animation: wordIn 0.9s cubic-bezier(0.2,0.7,0.3,1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
}
.hero-intro {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  max-width: 520px;
  color: var(--ink-soft);
}
.hero-intro strong { background: var(--accent); color: #fff; padding: 2px 8px; font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero-ctas .scroll-hint {
  font-family: var(--mono); font-size: 11px;
  color: var(--dim); letter-spacing: 0.2em;
  display: flex; gap: 8px; align-items: center;
  margin-top: 12px;
  flex-basis: 100%; justify-content: flex-end;
}
.scroll-arrow {
  display: inline-block;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Big number brand mark */
.hero-sig {
  position: absolute;
  right: 32px; top: 140px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--dim);
  text-align: right;
  line-height: 1.8;
}
.hero-sig b { color: var(--accent); }

/* TICKER */
.ticker {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
}
.ticker-row {
  display: flex; gap: 60px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.01em;
  animation: tick 22s linear infinite;
}
.ticker-row span.star {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--accent);
  align-self: center;
  color: transparent;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* HIGHLIGHTS / STATS */
.highlights {
  padding: 80px 32px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
}
.hi {
  padding: 40px 28px;
  border-right: 1px solid var(--ink);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hi:last-child { border-right: none; }
.hi:hover { background: var(--accent); color: #fff; }
.hi:hover .hi-label, .hi:hover .hi-sub { color: inherit; }
.hi { transition: background 0.3s; }
.hi-big {
  font-family: var(--display);
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.hi-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 4px;
  transition: color 0.3s;
}
.hi-sub {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.3s;
}

/* CURRENTLY */
.currently {
  padding: 100px 32px;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.currently h2 {
  font-family: var(--display);
  font-size: 120px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 900;
}
.currently h2 .dot { color: var(--accent); }
.currently-grid {
  display: grid; gap: 20px;
}
.now-item {
  border: 1px solid var(--ink);
  padding: 24px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  transition: all 0.3s;
}
.now-item:hover { background: var(--ink); color: var(--bg); }
.now-item:hover .now-year { color: var(--accent); }
.now-year {
  font-family: var(--display);
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}
.now-title { font-family: var(--display); font-size: 22px; margin-bottom: 4px; }
.now-desc { font-family: var(--serif); font-size: 14px; color: var(--muted); }
.now-item:hover .now-desc { color: var(--bg); }
.now-pulse {
  width: 10px; height: 10px; background: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(1.4); } }

/* FEATURED WORK */
.featured {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 32px;
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.featured-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg);
}
.featured-head h2 {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 0.9;
}
.featured-head h2 span { color: var(--accent); }
.featured-head .meta {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--dim);
  text-align: right;
}

.showcase {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.showcase-vis {
  aspect-ratio: 4/3;
  background: var(--ink-soft);
  border: 1px solid var(--bg);
  position: relative;
  overflow: hidden;
}
.showcase-vis svg { width: 100%; height: 100%; }

.showcase-info h3 {
  font-family: var(--display);
  font-size: 64px;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 0.95;
  font-weight: 900;
}
.showcase-info .tagline {
  font-family: var(--serif); font-size: 20px;
  color: var(--accent); margin-bottom: 30px;
}
.showcase-info p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 24px;
}
.showcase-stack { margin-bottom: 24px; }
.showcase-stack .chip { border-color: var(--bg); color: var(--bg); }
.showcase-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--bg);
  margin-bottom: 30px;
}
.sm-item { padding: 14px; text-align: center; border-right: 1px solid var(--bg); }
.sm-item:last-child { border-right: none; }
.sm-v { font-family: var(--display); font-size: 24px; color: var(--accent); }
.sm-k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.25em; color: var(--dim); margin-top: 4px; }

/* PROCESS STRIP */
.process {
  padding: 100px 32px;
  border-bottom: 1px solid var(--ink);
}
.process h2 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.03em;
  margin: 0 0 60px;
  max-width: 900px;
  font-weight: 900;
  line-height: 0.95;
}
.process h2 .accent { color: var(--accent); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink);
}
.proc {
  padding: 36px 28px;
  border-right: 1px solid var(--ink);
  position: relative;
  min-height: 280px;
}
.proc:last-child { border-right: none; }
.proc-num {
  font-family: var(--display);
  font-size: 80px;
  line-height: 0.8;
  color: var(--accent);
  margin-bottom: 20px;
}
.proc h4 {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.proc p {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* CTA BIG */
.cta-big {
  padding: 120px 32px;
  background: var(--accent);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-big h2 {
  font-family: var(--display);
  font-size: clamp(56px, 10vw, 140px);
  letter-spacing: -0.04em;
  margin: 0 0 40px;
  line-height: 0.9;
  font-weight: 900;
  max-width: 1200px;
}
.cta-big h2 em {
  font-style: italic;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}
.cta-big-links { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-big-links .btn-ghost { border-color: var(--ink); color: var(--ink); }
.cta-big-links .btn-ghost:hover { background: var(--ink); color: var(--accent); }
.cta-big-links .btn-primary { background: var(--ink); color: var(--accent); }
.cta-big-links .btn-primary:hover { background: var(--bg); color: var(--ink); }

.cta-big::after {
  content: '◼';
  position: absolute;
  right: -20px; bottom: -80px;
  font-size: 400px;
  color: var(--ink);
  opacity: 0.06;
  font-family: var(--display);
  line-height: 1;
}

@media (max-width: 900px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-sig { display: none; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .hi { border-right: none; border-bottom: 1px solid var(--ink); }
  .hi:nth-child(odd) { border-right: 1px solid var(--ink); }
  .hi:nth-last-child(-n+2) { border-bottom: none; }
  .currently { grid-template-columns: 1fr; }
  .currently h2 { font-size: 64px; }
  .showcase { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .proc { border-right: none; border-bottom: 1px solid var(--ink); min-height: auto; }
}

@media (max-width: 720px) {
  .hero {
    padding: 24px 16px 36px;
    min-height: auto;
  }
  .hero-meta {
    gap: 18px 14px;
    margin-bottom: 28px;
    padding-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.15em;
  }
  .hero-meta .label { font-size: 9px; }
  .hero-manifesto { padding: 24px 0; }
  .manifesto {
    font-size: clamp(34px, 10vw, 60px);
    letter-spacing: -0.03em;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .manifesto .word { margin-right: 0.12em; max-width: 100%; }
  .hero-bottom { gap: 24px; padding-top: 22px; }
  .hero-intro { font-size: 16px; max-width: 100%; }
  .hero-ctas { justify-content: flex-start; gap: 10px; }
  .hero-ctas .scroll-hint { justify-content: flex-start; font-size: 10px; }

  .ticker { padding: 10px 0; }
  .ticker-row { font-size: 18px; gap: 36px; animation-duration: 8s; }
  .ticker-row span.star { width: 12px; height: 12px; }

  .highlights { padding: 50px 16px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .hi { padding: 24px 16px; }
  .hi-big { font-size: 52px; }
  .hi-label { font-size: 9px; letter-spacing: 0.2em; }
  .hi-sub { font-size: 12px; }

  .currently { padding: 60px 16px; gap: 24px; }
  .currently h2 {
    font-size: clamp(40px, 12vw, 60px);
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .now-item {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 18px 16px;
  }
  .now-pulse { display: none; }
  .now-year { font-size: 28px; }
  .now-title { font-size: 17px; }
  .now-desc { font-size: 12px; }

  .featured { padding: 60px 16px; }
  .featured-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 36px;
  }
  .featured-head h2 {
    font-size: clamp(40px, 12vw, 64px);
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .featured-head .meta { text-align: left; font-size: 10px; }
  .showcase { gap: 30px; }
  .showcase-info h3 { font-size: clamp(40px, 11vw, 56px); }
  .showcase-info .tagline { font-size: 16px; margin-bottom: 20px; }
  .showcase-info p { font-size: 14px; }
  .showcase-metrics { margin-bottom: 24px; }
  .sm-item { padding: 12px 6px; }
  .sm-v { font-size: 20px; }
  .sm-k { font-size: 8px; letter-spacing: 0.18em; }

  .process { padding: 60px 16px; }
  .process h2 { margin-bottom: 36px; font-size: clamp(34px, 9vw, 56px); }
  .proc { padding: 26px 18px; }
  .proc-num { font-size: 56px; margin-bottom: 14px; }
  .proc h4 { font-size: 17px; }
  .proc p { font-size: 13px; }

  .cta-big { padding: 70px 16px; }
  .cta-big h2 { font-size: clamp(44px, 12vw, 80px); margin-bottom: 28px; }
  .cta-big-links { gap: 10px; }
  .cta-big::after { font-size: 220px; right: -30px; bottom: -50px; }
}
