/* ============================================
   TEMMY PORTFOLIO v2 — BRIGHT & EDITORIAL
   Brighter, cleaner, modern concept
   ============================================ */

:root {
  --bg: #fafaf8;
  --bg-warm: #f0eeea;
  --bg-dark: #1a1a1a;
  --text: #1a1a1a;
  --text-light: #666;
  --text-muted: #999;
  --accent: #c9a96e;
  --accent-crypto: #2563eb;
  --white: #ffffff;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::selection { background: rgba(201, 169, 110, 0.25); color: var(--text); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   HEADER
   ============================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 60px;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}

#header .logo {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.desktop-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color 0.25s;
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:first-child { transform: rotate(45deg) translate(2.5px, 2.5px); }
.hamburger.active span:last-child { transform: rotate(-45deg) translate(2.5px, -2.5px); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s ease;
}
.mobile-menu.active a { opacity: 1; transform: translateY(0); }
.mobile-menu.active a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu a:hover { color: var(--accent); }

/* ============================================
   SHARED
   ============================================ */
.v2-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ============================================
   HERO v2 — Split layout
   ============================================ */
.hero-v2 {
  min-height: 100vh;
  padding-top: 70px;
  background: var(--bg);
  display: grid;
  grid-template-columns: 55% 45%;
}

.hero-v2-left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 60px 80px 80px;
}

.hero-v2-text {
  max-width: 500px;
  width: 100%;
}

.hero-v2-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-v2 h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-v2 h1 .line {
  display: block;
}

.hero-v2 h1 .accent {
  color: var(--accent);
  font-style: italic;
}

.hero-v2 h1 .crypto {
  color: var(--accent-crypto);
}

.hero-v2-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 360px;
  margin-bottom: 32px;
}

.hero-v2-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-v2-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.25s ease;
}

.hero-v2-socials a svg { width: 17px; height: 17px; }

.hero-v2-socials a:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
  transform: translateY(-2px);
}

/* Right side */
.hero-v2-right {
  position: relative;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero-v2-img-main {
  width: 65%;
  max-width: 300px;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-v2-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-v2-img-small {
  position: absolute;
  bottom: 14%;
  right: 10%;
  width: 36%;
  max-width: 180px;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 3px solid var(--bg);
}

.hero-v2-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-v2-right::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 10%;
  width: 90px;
  height: 90px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
}

.hero-v2-right::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 12%;
  width: 55px;
  height: 55px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 50%;
  z-index: 1;
}


/* ============================================
   ABOUT v2
   ============================================ */
.about-v2 {
  background: var(--bg-warm);
  padding: 140px 60px;
}

.about-v2-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.about-v2-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text);
}

.about-v2-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 24px;
}

.about-v2-body p strong {
  color: var(--text);
  font-weight: 600;
}

.about-v2-body p em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

.about-v2-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.v2-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v2-stat strong {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
}

.v2-stat span {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}


/* ============================================
   VENTURES v2
   ============================================ */
.ventures-v2 {
  background: var(--bg);
  padding: 140px 60px;
}

.ventures-v2-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ventures-v2-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 64px;
}

.venture-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  border: 1px solid var(--border);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.venture-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.venture-crypto {
  direction: rtl;
}
.venture-crypto > * {
  direction: ltr;
}

.venture-img {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.venture-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.venture-card:hover .venture-img img {
  transform: scale(1.05);
}

.venture-content {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venture-tag {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(201, 169, 110, 0.1);
  color: #a08440;
  margin-bottom: 20px;
}

.crypto-tag {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-crypto);
}

.venture-content h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}

.venture-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
}

.venture-content ul {
  list-style: none;
  margin-bottom: 28px;
}

.venture-content ul li {
  font-size: 14px;
  color: var(--text-light);
  padding: 7px 0;
  padding-left: 18px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.venture-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.v2-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.25s;
  width: fit-content;
}

.v2-link:hover { color: #a08440; }

.crypto-link { color: var(--accent-crypto); }
.crypto-link:hover { color: #1d4ed8; }


/* ============================================
   WORK GALLERY v2
   ============================================ */
.work-v2 {
  background: var(--bg-warm);
  padding: 140px 60px;
}

.work-v2-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.work-v2-header {
  margin-bottom: 48px;
}

.work-v2-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--text);
}

.work-v2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 20px;
}

.work-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.work-item.large {
  grid-row: span 1;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-item:hover img {
  transform: scale(1.06);
}

.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  transform: translateY(8px);
  opacity: 0.85;
  transition: all 0.35s ease;
}

.work-item:hover .work-overlay {
  transform: translateY(0);
  opacity: 1;
}

.work-overlay span {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(201, 169, 110, 0.3);
  color: var(--white);
  margin-bottom: 6px;
}

.work-overlay h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
}


/* ============================================
   REACH ME / CONTACT v2
   ============================================ */
.reach-v2 {
  background: var(--bg-dark);
  padding: 140px 60px;
  color: var(--white);
}

.reach-v2-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
}

.reach-v2 .v2-label {
  color: var(--accent);
}

.reach-v2-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.reach-v2-left p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  max-width: 400px;
}

.reach-email {
  display: inline-block;
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
}

.reach-email:hover {
  color: var(--white);
  border-color: var(--white);
}

.reach-v2-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reach-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s;
}

.reach-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
}

.reach-card h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.reach-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

.reach-note {
  margin-top: 6px;
  font-size: 13px !important;
  color: rgba(201, 169, 110, 0.6) !important;
}

.reach-social-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reach-social-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.25s;
}

.reach-social-list a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.reach-social-list a:hover {
  color: var(--accent);
}


/* ============================================
   FOOTER v2
   ============================================ */
.footer-v2 {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-v2-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.footer-v2-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-v2-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

.footer-v2-links {
  display: flex;
  gap: 60px;
}

.footer-v2-links h5 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-v2-links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  padding: 5px 0;
  transition: color 0.25s;
}

.footer-v2-links a:hover {
  color: var(--accent);
}

.footer-v2-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-v2-bottom span {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-v2-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color 0.25s;
}

.footer-v2-bottom a:hover {
  color: rgba(255,255,255,0.5);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  #header { padding: 0 30px; }
  .hero-v2 { grid-template-columns: 1fr; }
  .hero-v2-left { padding: 40px 30px; text-align: center; justify-content: center; }
  .hero-v2-right { padding: 20px 30px 60px; min-height: 420px; }
  .hero-v2-desc { margin: 0 auto 32px; }
  .hero-v2-socials { justify-content: center; }
  .hero-v2 h1 .line { display: inline; }

  .about-v2 { padding: 80px 30px; }
  .about-v2-inner { gap: 50px; }

  .ventures-v2 { padding: 80px 30px; }
  .venture-card { grid-template-columns: 1fr; }
  .venture-img { min-height: 260px; }
  .venture-content { padding: 36px; }
  .venture-crypto { direction: ltr; }
  .venture-crypto .venture-img { order: -1; }

  .work-v2 { padding: 80px 30px; }

  .reach-v2 { padding: 80px 30px; }
  .reach-v2-inner { gap: 50px; }

  .footer-v2-inner { padding: 40px 30px; }
  .footer-v2-bottom { padding: 20px 30px; }
}

@media (max-width: 768px) {
  #header { padding: 0 20px; height: 60px; }
  .desktop-nav, .desktop-only { display: none !important; }
  .hamburger { display: flex; }

  .hero-v2-left { padding: 32px 20px; }
  .hero-v2-right { min-height: 350px; padding: 20px 30px 40px; }
  .hero-v2-img-main { width: 60%; max-width: 240px; border-radius: 16px; }
  .hero-v2-img-small { width: 40%; max-width: 140px; border-radius: 12px; right: 8%; bottom: 12%; }
  .hero-v2 h1 { font-size: clamp(30px, 8vw, 42px); }
  .hero-v2 h1 .line { display: block; }

  .about-v2 { padding: 60px 20px; }
  .about-v2-inner { grid-template-columns: 1fr; }
  .about-v2-stats { gap: 24px; }

  .ventures-v2 { padding: 60px 20px; }
  .venture-content { padding: 28px; }

  .work-v2 { padding: 60px 20px; }
  .work-v2-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .work-item { aspect-ratio: 4/3; }

  .reach-v2 { padding: 60px 20px; }
  .reach-v2-inner { grid-template-columns: 1fr; }
  .reach-v2-left { text-align: center; }
  .reach-v2-left p { margin: 0 auto 32px; }

  .footer-v2-inner { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px; }
  .footer-v2-links { gap: 40px; }
  .footer-v2-bottom { flex-direction: column; gap: 8px; padding: 20px; }
}
