/* ============================================
   Eric Johnson /// johnsoneric.dev
   Cream / Black / Oat / Anthropic Orange
   Metajive enterprise design
   ============================================ */

:root {
  --black: #f5f0e8;
  --black-2: #ebe5d9;
  --black-3: #e8e2d6;
  --cream: #1a1a1a;
  --oat: #4a4540;
  --orange: #da7756;
  --orange-2: #c96a4c;
  --t1: #1a1a1a;
  --t2: #6b6560;
  --t3: #a8a090;
  --tc1: #1a1a1a;
  --tc2: #6b6560;
  --bd: rgba(26,26,26,0.08);
  --bd2: rgba(26,26,26,0.15);
  --bdc: rgba(26,26,26,0.1);
  --font: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--black); color: var(--t1); overflow-x: hidden; }
::selection { background: var(--orange); color: #f5f0e8; }

.sl { color: var(--orange); font-weight: 900; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; flex-shrink: 0; }
.dot-dark { background: var(--black); }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 60px;
  background: rgba(245,240,232,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--bd);
}
.nav-logo { font-size: 1rem; font-weight: 900; color: var(--cream); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--t2); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 20px; border: 1px solid var(--bd2); border-radius: 100px;
  color: var(--cream); text-decoration: none; font-size: 0.85rem; font-weight: 600;
  transition: all 0.3s;
}
.nav-cta:hover { background: rgba(218,119,86,0.08); border-color: var(--orange); }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.25;
  filter: grayscale(20%);
}
.hero-video-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--black) 0%, rgba(245,240,232,0.6) 40%, rgba(245,240,232,0.6) 60%, var(--black) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 48px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  gap: 48px;
}

/* Hero top: intro + photo side by side */
.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.hero-intro { flex: 1; }

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}

.hero-h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 500;
  color: var(--oat);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  max-width: 500px;
  line-height: 1.35;
}

.hero-sub {
  font-size: 1rem;
  color: var(--t2);
  line-height: 1.5;
  max-width: 420px;
}
.hero-sub a { color: var(--cream); text-decoration: none; border-bottom: 2px solid var(--orange); }
.hero-sub a:hover { color: var(--orange); }

.hero-photo {
  width: 220px; height: 275px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--bd2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Hero bottom: big statement + details */
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.hero-statement {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--cream);
  opacity: 0.08;
}

.hero-details {
  display: flex;
  gap: 32px;
}

.hd { display: flex; flex-direction: column; gap: 2px; }
.hd-label { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--t3); }
.hd-value { font-size: 0.85rem; font-weight: 600; color: var(--t1); }

/* ---- WORK ---- */
.work { padding: 100px 48px; }

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wc {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #f5f0e8;
  display: block;
  transition: transform 0.5s var(--ease);
}
.wc:hover { transform: scale(0.985); }

.wc-vip {
  grid-column: 1 / -1;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
}

.wc-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.wc-vip:hover .wc-bg { transform: scale(1.03); }

.wc-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.3) 40%, rgba(26,26,26,0.1) 100%);
}

.wc-body { position: relative; z-index: 2; padding: 44px; }

.wc-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #a8a090; margin-bottom: 12px;
}

.wc h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.wc p {
  font-size: 1.05rem;
  color: #a8a090;
  line-height: 1.5;
  max-width: 420px;
  margin-bottom: 16px;
}

.wc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wc-tags span {
  font-family: var(--mono); font-size: 0.65rem;
  padding: 4px 12px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--t2);
}

.wc-half {
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.wc-cabex { background: var(--orange); }
.wc-cabex h3, .wc-cabex p { color: #f5f0e8; }
.wc-cabex .wc-status { color: rgba(245,240,232,0.7); }
.wc-cabex .wc-tags span { border-color: rgba(245,240,232,0.3); color: rgba(245,240,232,0.8); }

.wc-logo {
  position: absolute; top: 28px; right: 28px;
  width: 90px; opacity: 0.15;
}

.wc-deco-lines {
  position: absolute; top: -30px; right: -30px;
  width: 240px; height: 240px;
  opacity: 0.6;
}

.wc-nhr {
  background: linear-gradient(135deg, #1a1a1a 0%, #1f1418 100%);
  border: 1px solid rgba(239,68,68,0.1);
  overflow: hidden;
}

.wc-heart {
  position: absolute; top: 20px; right: 24px;
  width: 100px; height: 100px;
  color: rgba(239,68,68,0.12);
}
.wc-heart svg { width: 100%; height: 100%; }
.wc-heart .heart-2 {
  position: absolute; top: -8px; left: -8px;
  width: 116px; height: 116px;
  color: rgba(239,68,68,0.06);
}

.wc-pulse {
  position: absolute; top: 50%; right: 40px;
  width: 200px; height: 1px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 8px,
    rgba(239,68,68,0.08) 8px,
    rgba(239,68,68,0.08) 10px,
    transparent 10px,
    transparent 14px,
    rgba(239,68,68,0.15) 14px,
    rgba(239,68,68,0.15) 16px,
    rgba(239,68,68,0.3) 16px,
    rgba(239,68,68,0.3) 18px,
    rgba(239,68,68,0.15) 18px,
    rgba(239,68,68,0.15) 20px,
    transparent 20px,
    transparent 30px
  );
  transform: translateY(-50%);
  opacity: 0.5;
}

.dot-red {
  background: #ef4444;
}

.wc-nhr .wc-tags span { border-color: rgba(239,68,68,0.15); }
.wc-nhr:hover { border-color: rgba(239,68,68,0.2); }

/* ---- CONTACT ---- */
.contact { padding: 100px 48px; border-top: 1px solid var(--bd); }

.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.contact-left h2 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900; letter-spacing: -0.05em;
  line-height: 0.95; margin-bottom: 16px;
}
.contact-left p { color: var(--t2); font-size: 1.1rem; margin-bottom: 36px; }

.socials { display: flex; gap: 10px; }
.soc {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--bd);
  border-radius: 100px; color: var(--t2);
  text-decoration: none; font-size: 0.82rem; font-weight: 500;
  transition: all 0.3s;
}
.soc:hover { color: var(--cream); border-color: var(--bd2); background: rgba(255,255,255,0.03); }

.contact-form { display: flex; flex-direction: column; gap: 10px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 16px 18px;
  font-size: 0.92rem; font-family: var(--font);
  background: var(--black-3); border: 1px solid var(--bd);
  border-radius: 12px; color: var(--cream); outline: none;
  transition: border-color 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--t3); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 110px; }

.btn-send {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px;
  font-size: 0.92rem; font-weight: 700; font-family: var(--font);
  background: var(--orange); color: #f5f0e8;
  border: none; border-radius: 12px; cursor: pointer;
  transition: all 0.3s;
}
.btn-send:hover { background: var(--orange-2); transform: translateY(-1px); }
.form-status { font-size: 0.9rem; font-weight: 600; min-height: 18px; margin-top: 8px; }
.form-status.success { color: var(--orange); }
.form-status.error { color: #ff4444; }

/* ---- FOOTER ---- */
.footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  border-top: 1px solid var(--bd);
}
.footer-logo { font-size: 0.95rem; font-weight: 900; letter-spacing: -0.02em; }
.footer-copy { font-size: 0.75rem; color: var(--t3); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }

  .hero-content { padding: 80px 20px 32px; }
  .hero-top { flex-direction: column; gap: 24px; }
  .hero-photo { width: 120px; height: 150px; }
  .hero h1 { font-size: 3.5rem; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-details { flex-wrap: wrap; gap: 20px; }
  .hero-statement { font-size: 3rem; }

  .work { padding: 60px 16px; }
  .work-grid { grid-template-columns: 1fr; }
  .wc-vip { min-height: 340px; }
  .wc-half { min-height: 280px; }
  .wc h3 { font-size: 2rem; }

  .contact { padding: 60px 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .socials { flex-wrap: wrap; }
  .footer { padding: 16px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-statement { font-size: 2.5rem; }
  .soc span { display: none; }
  .soc { padding: 12px; }
  .contact-left h2 { font-size: 2.5rem; }
}
