@font-face {
  font-family: 'Google Sans';
  src: url('fonts/Google_Sans/GoogleSans-VariableFont_GRAD,opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Google Sans';
  src: url('fonts/Google_Sans/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { -webkit-tap-highlight-color: transparent; }
a:active, button:active, .nav-link:active, .filter-tag:active, .tag:active,
.hero__cta:active, .btn:active, .mob-menu__link:active, .mob-menu__cta:active,
.footer__link:active, .footer__logo:active, .page-logo:active,
.hero__logo:active { color: #CCFF00 !important; border-color: #CCFF00 !important; }
.hero__img-wrap, .hero__img { user-select: none; -webkit-user-select: none; }

:root {
  --bg:      #0D0D0D;
  --surface: #161616;
  --border:  rgba(255,255,255,0.08);
  --text:    #FFFFFF;
  --muted:   rgba(255,255,255,0.42);
  --faint:   rgba(255,255,255,0.18);
  --red:     #E83060;
  --font-display: 'Google Sans', sans-serif;
  --font-body:    'Google Sans', sans-serif;
}

html { width: 100%; height: 100%; overflow-y: scroll; }
body { width: 100%; height: 100%; font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }

/* ── HERO PAGE ─────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* grid texture — animated */
@keyframes grid-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(72px); }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -72px;
  right: -72px;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
  animation: grid-scroll 4.5s linear infinite;
  will-change: transform;
}

/* center image */
.hero__img-wrap {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  width: 45%;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
}

/* top-left: wordmark */
.hero__logo {
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  opacity: 0.9;
  transition: opacity .15s;
  padding: 10px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(13,13,13,0.25);
}
.hero__logo:hover { opacity: 1; }

.hero__logo-your {
  font-size: 0.82rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  opacity: 0.6;
  margin-bottom: 1px;
}

.hero__logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text);
  text-transform: lowercase;
}

/* top-right: info */
.hero__info {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}



/* nav + cta bottom-right */
.hero__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  pointer-events: all;
}

.hero__nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.hero__cta {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--text);
  color: var(--text);
  transition: background .15s, color .15s;
}
.hero__cta:hover { background: var(--text); color: var(--bg); }

.nav-link {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.6;
  transition: opacity .15s;
}
.nav-link:hover { opacity: 1; }

.anchor-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero__sub-item {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* bottom title + nav row */
.hero__bottom {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 9;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.hero__title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.hero__title-your {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 52px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: .02em;
  color: #CCFF00;
  opacity: 1;
  margin-bottom: -4px;
  display: block;
  width: 100%;
}

.hero__title-drop {
  display: inline-block;
  transform: translateY(10%);
}

.hero__title-main {
  font-family: var(--font-display);
  font-size: clamp(72px, 11.5vw, 172px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: .01em;
  color: var(--text);
}

/* ── INNER PAGES ─────────────────────────────── */

.page-logo {
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  opacity: 0.9;
  transition: opacity .15s;
}
.page-logo:hover { opacity: 1; }

.deco-pelican {
  position: fixed;
  bottom: 28px;
  right: 320px;
  width: 60px;
  height: auto;
  z-index: 99;
  opacity: 0.9;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 100ms ease, transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.deco-pelican img { display: block; width: 100%; height: auto; }
.deco-pelican:hover { opacity: 1; transform: translateY(-4px); }
.deco-pelican:active { opacity: 0.7; transform: translateY(2px); transition-duration: 100ms; }

.page-nav {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.page-nav__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 36px; }

.sec {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.sec:last-of-type { border-bottom: none; }
.sec__inner { width: 100%; }

.eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.95;
  word-break: break-word;
  overflow-wrap: break-word;
  letter-spacing: .02em;
  color: #CCFF00;
  margin-bottom: 32px;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: .02em;
  color: var(--text);
}

.body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

/* Grid */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 1px; background: var(--border); }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--border); }

/* Cards */
.card { padding: 36px; background: var(--bg); }
.member-photo { width: 100%; aspect-ratio: 1 / 1.1; }
.member-photo__svg { width: 100%; height: 100%; display: block; }
.card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .04em;
  margin-bottom: 14px;
  color: var(--text);
}
.card__desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid #CCFF00;
  color: #CCFF00;
  cursor: pointer;
  transition: all .15s;
}
.tag:hover { background: #CCFF00; color: #0D0D0D; }

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 28px; }
.filter-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  background: transparent;
}
.filter-tag:hover { border-color: var(--text); color: var(--text); }
.filter-tag.is-active { background: #CCFF00; color: #0D0D0D; border-color: #CCFF00; }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.proj-card {
  background: var(--bg);
  overflow: hidden;
  transition: opacity .2s;
}
.proj-card--wide  { grid-column: span 2; }
.proj-card--narrow { grid-column: span 1; }
.proj-card__img  { aspect-ratio: 16/10; background: var(--surface); }
.proj-card__body { padding: 20px 24px 24px; }
.proj-card.is-hidden { opacity: 0.08; pointer-events: none; }

/* Buttons */
.btn {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all .15s;
}
.btn:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.btn--fill { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--fill:hover { background: transparent; color: var(--text); }

/* CTA section */
.cta-sec { padding: 120px 0; border-top: 1px solid var(--border); }
.cta-sec__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.cta-sec__sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 40px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer__link { opacity: 0.5; transition: opacity .15s; }
.footer__link:hover { opacity: 1; }
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .06em;
  color: var(--text);
}
.footer__copy { font-size: 0.72rem; color: var(--faint); letter-spacing: .08em; }

/* Gate */
.gate {
  position: fixed;
  inset: 0;
  background: #0D0D0D;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}
.gate__box { display: flex; flex-direction: column; gap: 18px; width: 300px; }
.gate__title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: .08em;
  color: var(--text);
}
.gate__input {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  width: 100%;
  transition: border-color .2s;
}
.gate__input:focus { border-color: rgba(255,255,255,0.4); }
.gate__input.error { border-color: #e83060; }
.gate__error { font-size: 0.78rem; color: #e83060; opacity: 0; transition: opacity .2s; }
.gate__error.visible { opacity: 1; }
.gate__hint { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.gate__hint a { color: rgba(255,255,255,0.25); transition: color .15s; }
.gate__hint a:hover { color: rgba(255,255,255,0.6); }

.hero__mob-cta { display: none; }

/* ── BURGER MENU ─────────────────────────────── */

.burger {
  display: none;
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0;
}
.burger__line {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
.burger.is-open .burger__line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open .burger__line:nth-child(2) { opacity: 0; }
.burger.is-open .burger__line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 32px 120px;
  gap: 8px;
}
.mob-menu.is-open { display: flex; }

.mob-menu__link {
  font-size: clamp(2rem, 10vw, 3.5rem);
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--text);
  opacity: 0.85;
  transition: opacity .15s;
  line-height: 1.15;
}
.mob-menu__link:hover { opacity: 1; }

.mob-menu__cta {
  margin-top: 40px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--text);
  color: var(--text);
}

/* ── MOBILE ─────────────────────────────── */

@media (max-width: 768px) {

  .deco-pelican { display: none; }
  .team-grid { grid-template-columns: 1fr; }

  /* show burger, hide desktop nav */
  .burger { display: flex; }
  .hero__menu { display: none; }
  .page-nav { display: none; }

  /* hide non-essential hero elements */
  .hero__info { display: none; }

  /* logo smaller */
  .hero__logo,
  .page-logo {
    top: 20px;
    left: 20px;
  }
  .hero__logo-name,
  .page-logo .hero__logo-name { font-size: 0.95rem; }
  .hero__logo-your,
  .page-logo .hero__logo-your { font-size: 0.7rem; }

  /* hero title */
  .hero__bottom { padding: 0 20px; bottom: 28px; right: 0; }
  .hero__title { max-width: calc(100vw - 20px - 140px); }
  .hero__title-main { font-size: clamp(32px, 11vw, 80px); white-space: nowrap; }
  .hero__title-your { font-size: clamp(14px, 4.5vw, 28px); white-space: nowrap; }

  /* hero image */
  .hero__img-wrap {
    width: 90%;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero__mob-cta {
    display: block;
    pointer-events: auto;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 1px solid var(--text);
    color: var(--text);
    white-space: nowrap;
  }

  /* inner pages */
  .wrap { padding: 0 20px; }
  .sec { padding: 100px 0 60px; }
  .h1 { font-size: clamp(2.4rem, 10vw, 4rem); }

  /* grids → single column */
  .g2 { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: 1fr; }

  /* filter bar wraps */
  .filter-bar { gap: 6px; }
  .filter-tag { font-size: 0.6rem; padding: 5px 12px; }

  /* cta section */
  .cta-sec { padding: 80px 0; }
  .cta-sec__title { font-size: clamp(1.8rem, 8vw, 3rem); }

  /* gate */
  .gate__box { width: 80vw; }

  /* footer */
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* floating cta on mobile */
  .mob-cta {
    display: block;
    position: fixed;
    bottom: 28px;
    left: 20px;
    right: 76px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 14px 20px;
    background: var(--text);
    color: var(--bg);
    z-index: 190;
  }
}
