/* =========================================================
   v2 — hybrid: v1-style hero + content cards, Notion-style tables below
   ========================================================= */
body.v2{ background: var(--bg) }

.doc{ padding: 20px 0 40px }

/* Text-only brand */
body.v2 .brand-text{ gap: 0 }
body.v2 .brand-name{ font-size: 15px; font-weight: 700; letter-spacing: -0.01em }

/* Nav footer only appears in mobile overlay */
.nav-foot{ display: none }

/* Hero — more breathing room between title and card */
body.v2 .hero{ padding-top: 80px; padding-bottom: 40px }
body.v2 .hero-title{ margin-bottom: 56px }
body.v2 .hero .hero-tagline + .hero-card{ margin-top: 0 }

/* Project visual with real logo image */
.project-visual{
  position: relative;
  background: #fff;
}
.pv-1{ background: linear-gradient(135deg,#f0f0f3,#c8c8d3) }
.pv-2{ background: linear-gradient(135deg,#f0f0f3,#c8c8d3) }
.pv-3{ background: linear-gradient(135deg,#f0f0f3,#c8c8d3) }
.pv-logo{
  width: 96px; height: 96px;
  border-radius: 20px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(17,17,20,.12);
  object-fit: contain;
}
.project-body .btn{ margin-top: 6px }

/* Press logo as real favicon image */
.press-logo{
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 8px;
  align-self: flex-start;
}
.press-logo img{
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

/* v2 contact form — single column, full width */
.v2-form{
  max-width: 720px;
  margin: 0 auto;
}
.v2-form .form-actions{ justify-content: space-between }

/* Mobile nav drawer */
.nav{ transition: none }
@media (max-width: 980px){
  body.v2 .hero{ padding-top: 40px }
  body.v2 .hero-title{ margin-bottom: 32px }

  body.v2 .site-header{
    padding: 0 16px;
    background: rgba(237,237,242,.82);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(17,17,20,.06);
  }
  body.v2 .site-header .header-inner{ position: relative; height: 64px }
  body.v2 .brand-name{ font-size: 14px }

  /* Fullscreen overlay menu */
  body.v2 .nav{
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--surface);
    padding: 96px 24px 40px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    display: flex;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
    overflow-y: auto;
  }
  body.v2 .nav.open{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .32s ease, transform .32s ease, visibility 0s;
  }

  /* Decorative accent bar in top-left of overlay */
  body.v2 .nav::before{
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
  }

  body.v2 .nav a{
    width: 100%;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid rgba(17,17,20,.08);
    font-family: var(--display);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1;
    transition: color .2s ease, padding-left .25s ease;
    position: relative;
  }
  body.v2 .nav a:hover,
  body.v2 .nav a:active{ color: var(--accent); padding-left: 6px }
  body.v2 .nav a:first-of-type{ border-top: 1px solid rgba(17,17,20,.08) }

  /* Footer block inside the overlay (CTA + socials) */
  body.v2 .nav-foot{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
    padding-top: 32px;
    width: 100%;
  }
  body.v2 .nav-cta{
    align-self: flex-start;
    padding: 14px 22px;
    font-size: 15px;
  }
  body.v2 .nav-socials{
    display: flex;
    gap: 14px;
    align-items: center;
  }
  body.v2 .nav-socials a{
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(17,17,20,.12);
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--ink);
    padding: 0;
    font-size: 0;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  body.v2 .nav-socials a:hover{
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    padding-left: 0;
  }

  .header-cta{ display: none }

  /* Burger — higher z-index so it sits on top of the overlay, becomes close button */
  .burger{
    display: flex;
    z-index: 60;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 14px 12px;
    border-radius: 12px;
    background: transparent;
    transition: background .2s ease;
  }
  .burger:hover{ background: rgba(17,17,20,.05) }
  .burger span{
    transition: transform .25s ease, opacity .2s ease, background .2s ease;
  }
  .burger.open{ background: transparent }
  .burger.open span{ background: var(--accent) }
  .burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg) }
  .burger.open span:nth-child(2){ opacity: 0 }
  .burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg) }
}

/* -------- Bio bullets inside hero card -------- */
.bio-bullets{
  list-style: none;
  padding: 0;
  margin: 4px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bio-bullets li{
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 15px;
}
.bio-bullets li::before{
  content: '';
  position:absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* -------- Message card -------- */
.message-card{
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.message-lead p{
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--ink-2);
}
.message-lead p:last-child{ margin-bottom: 0 }
.message-lead strong{ color: var(--ink) }

.message-projects{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.message-projects li{
  background: var(--bg);
  border-radius: 14px;
  padding: 20px;
  display:flex; flex-direction: column; gap: 8px;
}
.mp-num{
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.message-projects strong{
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}
.message-projects p{
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}
.message-projects em{
  background: linear-gradient(transparent 65%, rgba(240,77,60,.22) 65%);
  font-style: normal;
}

.message-task{
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.task-label{
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.message-task p{
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* -------- Project card extras for v2 -------- */
.pv-3{ background: linear-gradient(135deg,#f0f0f3,#c8c8d3) }
.plogo.ai{ background: #111114; color: #fff }
.stat-inline{ color: var(--muted); margin: 0 0 10px !important }
.stat-inline span{
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-right: 4px;
}

/* -------- YouTube preview grid -------- */
.yt-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.yt-card{
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.yt-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg) }
.yt-thumb{
  position: relative;
  aspect-ratio: 16/9;
  background: #0e0e12;
  overflow: hidden;
}
.yt-thumb img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.yt-card:hover .yt-thumb img{ transform: scale(1.04) }
.yt-play{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px; height: 40px;
  background: rgba(0,0,0,.75);
  border-radius: 12px;
  transition: background .2s;
}
.yt-play::after{
  content: '';
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%,-50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}
.yt-card:hover .yt-play{ background: #FF0000 }
.yt-body{
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.yt-body h3{
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
}
.yt-meta{
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
}
.yt-meta span:last-child{
  font-weight: 700;
  color: var(--ink-2);
}

/* -------- Press grid -------- */
.press-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.press-card{
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.press-card::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color .2s;
}
.press-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg) }
.press-card:hover::before{ border-color: rgba(240,77,60,.3) }
.press-logo{
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  align-self: flex-start;
}
.press-forbes{ background: #000 }
.press-focus{ background: #e10a17 }
.press-proman{ background: #2d3a8c }
.press-parlament{ background: #0f6b46 }
.press-jetsetter{ background: #c9a961; color: #1a1a1a }
.press-tsn{ background: #d52b1e }
.press-million{ background: #6b4ae0 }

.press-card h3{
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}
.press-meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.press-meta .arrow{
  font-size: 18px;
  color: var(--accent);
  transition: transform .2s;
}
.press-card:hover .arrow{ transform: translate(3px,-3px) }

/* -------- Social icons -------- */
.socials-icons{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.sico{
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, color .2s, background .2s;
}
.sico svg{ width: 28px; height: 28px }
.sico-text{
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}
.sico:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--ink);
  color: #fff;
}
.sico[aria-label="Instagram"]:hover{ background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af) }
.sico[aria-label="Facebook"]:hover{ background: #1877f2 }
.sico[aria-label="LinkedIn"]:hover{ background: #0a66c2 }
.sico[aria-label="Telegram"]:hover{ background: #229ed9 }
.sico[aria-label="YouTube"]:hover{ background: #ff0000 }
.sico-forbes:hover{ background: #000 }

/* -------- Notion-style doc blocks (below) -------- */
.doc-title{ text-align:center; margin: 20px auto 36px }
.doc-title h1{
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.05;
  margin: 0;
}

.doc-inner{
  max-width: 820px;
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap: 16px;
}

/* Toggle (Notion-like ▼) */
.toggle{
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.toggle > summary{
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 16px;
  display:flex;
  align-items:center;
  gap: 12px;
  user-select:none;
}
.toggle > summary::-webkit-details-marker{ display:none }
.toggle > summary::before{
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent var(--accent);
  transition: transform .2s;
  flex-shrink: 0;
}
.toggle[open] > summary::before{ transform: rotate(90deg) }
.toggle > summary:hover{ background: rgba(240,77,60,.04) }

.toggle-body{
  padding: 4px 28px 26px 44px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
}
.toggle-body p{ margin: 0 0 12px }
.toggle-body p.sign{ color: var(--muted); font-style: italic }
.toggle-body strong{ color: var(--ink) }
.toggle-body em{ background: linear-gradient(transparent 65%, rgba(240,77,60,.22) 65%); font-style: normal }

.plain-list, .num-list{ margin: 0 0 8px; padding-left: 22px }
.plain-list{ list-style: disc }
.num-list{ list-style: decimal }
.num-list li{ margin-bottom: 10px }
.num-list.big li{ margin-bottom: 18px }

.hint{ color: var(--muted); font-size: 14px; margin-top: -4px !important }

.link{
  color: var(--accent);
  border-bottom: 1px solid rgba(240,77,60,.35);
  word-break: break-all;
  transition: color .15s, border-color .15s;
}
.link:hover{ color: var(--accent-2); border-bottom-color: var(--accent-2) }

/* Photo in message */
.doc-photo{
  margin: 22px 0 6px;
  border-radius: 16px;
  overflow: hidden;
  background: #222;
  max-width: 520px;
  box-shadow: var(--shadow);
}
.doc-photo img{ width: 100%; display:block }

/* Tables */
.table-wrap{
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.data-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table thead th{
  background: var(--bg);
  text-align:left;
  font-weight: 700;
  padding: 12px 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table tbody td{
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-2);
}
.data-table tbody tr:last-child td{ border-bottom: 0 }
.data-table tbody tr:hover{ background: rgba(240,77,60,.04) }
.data-table td:nth-child(3){ white-space: nowrap; color: var(--muted) }

/* Socials list */
.social-list{ list-style:none; padding: 0; margin: 0; display:flex; flex-direction:column; gap:10px }
.social-list li{
  display:flex; align-items:baseline; gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 10px;
  flex-wrap: wrap;
}
.social-label{
  font-weight: 700;
  color: var(--ink);
  min-width: 120px;
}

@media (max-width: 1000px){
  .yt-grid{ grid-template-columns: repeat(2, 1fr) }
  .press-grid{ grid-template-columns: repeat(3, 1fr) }
  .socials-icons{ grid-template-columns: repeat(3, 1fr) }
}
@media (max-width: 900px){
  .message-projects{ grid-template-columns: 1fr }
  .message-card{ padding: 24px }
  .message-task p{ font-size: 17px }
}
@media (max-width: 700px){
  .doc-inner{ padding: 0 16px }
  .toggle > summary{ padding: 16px 16px; font-size: 15px }
  .toggle-body{ padding: 4px 18px 20px 30px; font-size: 15px }
  .data-table{ font-size: 13px }
  .social-label{ min-width: 100px }
  .yt-grid{ grid-template-columns: 1fr }
  .press-grid{ grid-template-columns: repeat(2, 1fr) }
  .socials-icons{ grid-template-columns: repeat(3, 1fr); gap: 10px }
  .sico{ padding: 18px 10px }
}
