@font-face {
  font-family: "GG Sans";
  src: url("assets/fonts/gg-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GG Sans";
  src: url("assets/fonts/gg-sans-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GG Sans";
  src: url("assets/fonts/gg-sans-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GG Sans";
  src: url("assets/fonts/gg-sans-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg: #06142a;           /* dark blue */
  --panel: #081c36;        /* slightly lighter */
  --panel2: rgba(255,255,255,0.06);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --accent: #4aa3ff;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 12px 30px rgba(0,0,0,0.35);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
    padding-top: 50px;
  margin:0;
  background: radial-gradient(1200px 700px at 15% 30%, rgba(74,163,255,0.14), transparent 60%),
              radial-gradient(900px 600px at 85% 30%, rgba(120,80,255,0.10), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: "GG Sans", "gg sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
img{ display:block; max-width:100%; }

.container{
  width: min(1280px, 96%);
  margin: 0 auto;
}

.site-header{ padding: 44px 0 22px; }

.hero{
  display: grid;
    grid-template-columns: 420px 1fr;  /* bigger photo column */
  gap: 46px;
  align-items: center;
}

.profile-pic{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--border);
   box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  background: var(--panel);
}

.title{
  margin: 0 0 10px;
  font-size: clamp(48px, 4.6vw, 74px); 
  letter-spacing: -0.02em;
}

.subtitle{
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--muted);
}
.accent{ color: var(--accent); font-weight: 700; }

.bio{
     font-size: 16.5px; max-width: 70ch; 
  margin: 0 0 22px;
  max-width: 56ch;
  color: var(--muted);
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
}
.btn.primary{
  background: rgba(74,163,255,0.18);
  border-color: rgba(74,163,255,0.35);
}
.btn.primary:hover{
  background: rgba(74,163,255,0.24);
}
.btn.ghost{
  background: transparent;
}

.section{ padding: 22px 0 34px; }

.section-title{
  margin: 0 0 18px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.01em;
}

.clients-grid{
 display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* centers the last row */
  gap: 24px;
}

.clients-wrap{
  display: flex;
  justify-content: center; /* centers the grid block */
}
.client-card{
      width: 380px;         /* adjust if you want bigger/smaller */
  max-width: 92vw;      /* prevents overflow on mobile */
  --card-bg: linear-gradient(
    180deg,
    rgba(255,255,255,0.07),
    rgba(255,255,255,0.04)
  );

  background: var(--card-bg);
  border-radius: 18px;
  padding: 16px;
  position: relative;
}

.card-link{
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover .client-card{
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.45),
    0 0 0 1px var(--card-accent);
}

.client-card{
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.client-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  border: 1px solid var(--card-accent);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 0 22px color-mix(in srgb, var(--card-accent) 55%, transparent);
}

.client-thumb{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 1 / 1;     /* square area: perfect for 500x500 */
}

.client-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;       /* fills the square */
  display: block;
}

.client-name{
  margin: 0 0 4px;
  font-size: 18px;
}

.client-note{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-text{
  margin: 0;
  color: var(--muted);
}

.link{
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer{
   text-align: center;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .profile-pic{ max-width: 420px; }
  .clients-grid{ grid-template-columns: 1fr; }
}


.topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 14px 0;

  background: rgba(6, 20, 42, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  transition: opacity 180ms ease, transform 180ms ease;
}

.topbar.hidden{
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.topbar-inner{
  width: min(1280px, 96%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav{
  display: flex;
  gap: 14px;
}

.nav a{
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover{
  background: rgba(255,255,255,0.08);
}


/* ===== Videos page header ===== */
.pagebar{
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(6, 20, 42, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pagebar-inner{
  width: min(1280px, 96%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-nav{
  display: flex;
  gap: 14px;
}

.page-nav a{
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
}

.page-nav a:hover{
  background: rgba(255,255,255,0.08);
}

.page-nav a.active{
  background: rgba(74,163,255,0.18);
  border: 1px solid rgba(74,163,255,0.30);
}

.brand{
  font-weight: 900;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
}

/* ===== Videos layout ===== */
.videos-page{
  padding: 26px 0 60px;
}

.page-title{
  margin: 18px 0 6px;
  font-size: clamp(34px, 3.4vw, 52px);
  letter-spacing: -0.02em;
}

.page-subtitle{
  margin: 0 0 26px;
  color: rgba(255,255,255,0.70);
}

.client-section{
  margin: 26px 0 40px;
}

.client-title{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 22px;
}

.dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

/* 3 across, responsive down */
.video-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}

/* video card */
.video-card{
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.video-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 38px rgba(0,0,0,0.40);
}

.video-thumb{
  width: 100%;
  aspect-ratio: 16 / 9;  /* looks like real YouTube */
  background: rgba(0,0,0,0.18);
}

.video-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-meta{
  padding: 12px 14px 14px;
}

.video-name{
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,0.90);
}

/* responsive */
@media (max-width: 980px){
  .video-grid{ grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 620px){
  .video-grid{ grid-template-columns: 1fr; }
}


.video-embed,
.video-thumb{
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

.video-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* centers the last row */
  gap: 18px;
}



.video-card{
   border-radius: 16px;
   flex: 0 1 calc((100% - (18px * 2)) / 3); /* 3 per row with 2 gaps */
  max-width: 380px; /* optional limit so they don't get huge */
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);

  /* IMPORTANT */
  width: 100%;
  max-width: none;
}

.container{
  width: min(1280px, 96%);
  margin: 0 auto;
}

@media (max-width: 980px){
  .video-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .video-grid{ grid-template-columns: 1fr; }
}

.video-meta{
  padding: 10px 12px;
}

.video-name{
  font-size: 14px;
}


.client-avatar{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;

  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);

  flex-shrink: 0;
}

.client-title{
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-toggle{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;

  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 14px;

  color: rgba(255,255,255,0.92);
  cursor: pointer;
  text-align: left;
}

.client-avatar{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

.client-title-text{
  font-size: 22px;
  font-weight: 800;
}

.chev{
  margin-left: auto;
  font-size: 16px;
  opacity: 0.85;
  transition: transform 200ms ease;
}

.client-collapse{
  overflow: hidden;
  max-height: 0;
  transition: max-height 260ms ease;
}

.client-collapse.is-open{
  /* max-height is controlled by JS */
}

/* make room for fixed header (you already did this, keep it) */
/* body { padding-top: 90px; } */

/* active link in nav (so thumbnails highlights) */
.nav a.active{
  background: rgba(74,163,255,0.18);
  border: 1px solid rgba(74,163,255,0.30);
}

/* thumbnails page spacing */
.thumbs-page{
  padding: 26px 0 60px;
}

/* thumbnails grid */
.thumb-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers last row */
  gap: 18px;
}

/* thumbnail card */
.thumb-card{
  flex: 0 1 calc((100% - (18px * 2)) / 3); /* 3 per row */
  max-width: 380px;
  width: 100%;

  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);

  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.thumb-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 38px rgba(0,0,0,0.40);
}

.thumb-img{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.18);
}

.thumb-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-meta{
  padding: 10px 12px;
}

.thumb-name{
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.90);
}

/* responsive */
@media (max-width: 980px){
  .thumb-card{ flex: 0 1 calc((100% - 18px) / 2); }
}
@media (max-width: 620px){
  .thumb-card{ flex: 0 1 100%; }
}

/* active link highlight */
.nav a.active{
  background: rgba(74,163,255,0.18);
  border: 1px solid rgba(74,163,255,0.30);
}

/* contacts layout */
.contacts-page{
  padding: 26px 0 60px;
}

.contacts-center{
  min-height: calc(100vh - 90px); /* header space */
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card{
  width: min(720px, 96%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  padding: 22px;
}

.contact-list{
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.contact-row{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-row:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.contact-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;

  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.contact-icon svg{
  width: 22px;
  height: 22px;
  fill: rgba(255,255,255,0.9);
  transition: transform 160ms ease, fill 160ms ease;
}

.contact-row:hover .contact-icon svg{
  fill: var(--accent);
  transform: scale(1.08);
}

.contact-text{
  display: grid;
  gap: 2px;
}

.contact-label{
  font-weight: 800;
  color: rgba(255,255,255,0.92);
}

.contact-value{
  color: rgba(255,255,255,0.70);
  font-weight: 600;
  word-break: break-word;
}

