/* assets/css/urbantekk.css */

:root{
  --bg: url("../bg-default.png");
  --w: rgba(255,255,255,.92);
  --w2: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.22);
  --line2: rgba(255,255,255,.14);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background:#000;
  color:#fff;
  overflow-x:hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing:.02em;
}

/* Full background */
.bg{
  position:fixed;
  inset:0;
  z-index:-6;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  filter: contrast(1.14) saturate(1.05) brightness(.74);
}

/* Readability gradient */
.bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.12) 0%,
    rgba(0,0,0,.25) 52%,
    rgba(0,0,0,.90) 100%);
}

/* subtle grain */
.noise{
  position:fixed; inset:0; z-index:-5; pointer-events:none;
  opacity:.06; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* =========================
   WATERMARK + SCANLINE
   ========================= */

/* Huge founder watermark (CSS text, no image) */
.wm{
  position:fixed;
  inset:0;
  z-index:-4;
  pointer-events:none;
  opacity:.18;
  mix-blend-mode:overlay;
  filter: blur(.2px);
}
.wm::before{
  content:"FOUNDER / URBANTEKK";
  position:absolute;
  left: -6vw;
  top: 18vh;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: clamp(56px, 8.8vw, 160px);
  color: rgba(255,255,255,.16);
  transform: rotate(-10deg);
  -webkit-text-stroke: 2px rgba(255,255,255,.22);
}
.wm::after{
  content:"URBANTEKK SYSTEM • UTK-001 •";
  position:absolute;
  right: -10vw;
  bottom: 10vh;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: clamp(18px, 2.6vw, 44px);
  color: rgba(255,255,255,.10);
  transform: rotate(8deg);
}

/* moving scanline */
.scanline{
  position:fixed;
  inset:0;
  z-index: 50; /* above everything but still subtle */
  pointer-events:none;
  opacity:.28;
  mix-blend-mode: overlay;
}
.scanline::before{
  content:"";
  position:absolute;
  left:-5%;
  right:-5%;
  top:-20%;
  height: 120px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.10) 45%,
    rgba(255,255,255,.18) 50%,
    rgba(255,255,255,.10) 55%,
    rgba(255,255,255,0) 100%);
  filter: blur(.2px);
  animation: ut-scan 7.5s linear infinite;
}
@keyframes ut-scan{
  from{ transform: translateY(0); }
  to{ transform: translateY(140vh); }
}

/* Top header */
.top{
  position:fixed;
  top:0; left:0; right:0;
  z-index:10;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,0));
}

.back{
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:900;
  font-size:12px;
  opacity:.86;
  white-space:nowrap;
}
.back:hover{ opacity:1; }

.nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:900;
  font-size:12px;
  opacity:.70;
}
.nav a:hover{ opacity:1; }

/* Layout */
.wrap{ padding-top: 76px; }

/* Base sections */
.hero, .links{
  min-height: 100vh;
  padding: clamp(18px, 3vw, 44px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border-bottom: 1px solid var(--line);
}

/* Brutal title */
.title{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:900;
  line-height:.86;
  font-size: clamp(46px, 7.4vw, 124px);
  position:relative;
  color: var(--w);
}

/* Echo outline */
.title::before{
  content: attr(data-text);
  position:absolute;
  left: 10px;
  top: 7px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.55);
  opacity:.55;
  pointer-events:none;
}

/* Underline bar */
.title::after{
  content:"";
  display:block;
  margin-top: 14px;
  height: 2px;
  width: clamp(180px, 46vw, 760px);
  background: var(--w);
}

.line{
  height:1px;
  background: var(--line);
  margin: 18px 0 18px;
}
.line.thin{ background: var(--line2); margin: 16px 0 12px; }

.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(18px, 3vw, 44px);
  align-items:end;
  width: min(1200px, 100%);
}

.tagline{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size: 12px;
  font-weight:900;
  color: var(--w2);
}

.bio{
  margin: 14px 0 0;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size: 12px;
  color: rgba(255,255,255,.70);
  line-height: 1.6;
  max-width: 75ch;
}
.muted{ opacity:.85; }

.facts{
  list-style:none;
  padding:0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  width: min(760px, 100%);
}
.facts li{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:900;
  font-size: 12px;
}
.facts .k{ color: rgba(255,255,255,.70); }
.facts .v{ color: rgba(255,255,255,.92); }

.h2{
  margin:0 0 14px 0;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:900;
  font-size: 18px;
  color: var(--w);
}

.biglink{
  display:block;
  text-decoration:none;
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.10em;
  line-height:1.0;
  font-size: clamp(18px, 2.6vw, 34px);
  margin-top: 10px;
  opacity:.92;
}
.biglink:hover{ opacity:1; }

.minirow{
  margin-top: 14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.32);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:900;
  font-size: 11px;
  color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.18);
}

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.btn{
  display:inline-block;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.78);
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:900;
  font-size: 12px;
  background: rgba(0,0,0,.22);
  opacity:.92;
}
.btn:hover{ opacity:1; background: rgba(255,255,255,.08); }

/* Links section */
.linklist{
  list-style:none;
  padding:0;
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
  width: min(760px, 100%);
}
.linklist li{ border-bottom: 1px solid var(--line); }
.linklist a{
  display:flex;
  justify-content:space-between;
  padding: 14px 0;
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:900;
  font-size: 12px;
  opacity:.86;
}
.linklist a:hover{ opacity:1; }

.foot{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line2);
  display:flex;
  justify-content:space-between;
  gap:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:900;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}
.foot a{
  color:#fff;
  text-decoration:none;
  opacity:.78;
}
.foot a:hover{ opacity:1; }

/* Mobile */
@media (max-width: 900px){
  .wrap{ padding-top: 72px; }

  .grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .title{
    font-size: clamp(40px, 10vw, 70px);
    letter-spacing:.12em;
  }
  .title::before{
    left: 7px;
    top: 4px;
    -webkit-text-stroke: 2px rgba(255,255,255,.48);
  }
  .title::after{
    width: min(70vw, 360px);
  }

  .facts li{ grid-template-columns: 100px 1fr; }
}

/* MS stamp overlay */
.ms-stamp{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: -3; /* above bg/noise/wm but under content */
  opacity: .22;
  filter: contrast(1.08) brightness(.95);
  pointer-events: none;
}

/* =========================
   DENSER + "FOUNDER" LOOK
   ========================= */

.hero{
  justify-content: flex-start !important;
  padding-top: clamp(14px, 2.2vw, 26px) !important;
  padding-bottom: clamp(12px, 2vw, 22px) !important;
  gap: 14px;
  position: relative;
  isolation: isolate;
}

.hero > *{ position: relative; z-index: 2; }

/* overlay grid lines inside hero */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events:none;
  opacity:.06;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1px, transparent 1px 96px);
}

/* vertical side label */
.hero::before{
  content: attr(data-side);
  position:absolute;
  top: 88px;
  right: 14px;
  z-index: 3;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.70);
  opacity:.88;
  pointer-events:none;
}

/* title row with seal */
.cap{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
}

/* founder seal */
.seal{
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: 11px;
  color: rgba(255,255,255,.85);
  opacity: .92;
  position: relative;
  transform: rotate(-10deg);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), rgba(0,0,0,0) 62%);
}
.seal::before, .seal::after{
  content:"";
  position:absolute;
  inset: 8px;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,.30);
  opacity: .85;
}

/* HUD line */
.hud{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.hud a{
  color:#fff;
  text-decoration:none;
  opacity:.92;
}
.hud a:hover{ opacity:1; }

/* founder status bar */
.founderbar{
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: 11px;
  color: rgba(255,255,255,.74);
}
.founderbar span:last-child{ text-align:right; }

/* right rail divider */
.grid{
  gap: clamp(14px, 2vw, 26px) !important;
  align-items: start !important;
}
.right{
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

/* manifest */
.h3{
  margin: 18px 0 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.86);
}
.manifest{
  margin-top: 10px;
  border-left: 1px solid rgba(255,255,255,.26);
  padding-left: 14px;
}
.mline{
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  line-height: 1.45;
  position: relative;
}
.mline::before{
  content: ">";
  position:absolute;
  left: -14px;
  color: rgba(255,255,255,.55);
}

/* signature */
.sig{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line2);
}
.sig-k{
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: 11px;
  color: rgba(255,255,255,.62);
}
.sig-v{
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.86);
}

/* ticker */
.ticker{
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
  overflow: hidden;
  white-space: nowrap;
}
.ticker .track{
  display:inline-block;
  padding-left: 100%;
  animation: ut-marquee 16s linear infinite;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 900;
  font-size: 12px;
  opacity: .72;
}
.ticker .track span{ padding-right: 42px; }

@keyframes ut-marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-100%); }
}

/* links doesn't need 100vh */
.links{ min-height: auto !important; }

/* mobile adjustments */
@media (max-width: 900px){
  .hero::before{
    top: 74px;
    right: 10px;
    opacity:.78;
  }

  .seal{
    width: 64px;
    height: 64px;
    font-size: 10px;
  }

  .founderbar{
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .right{
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .ticker .track{ animation-duration: 20s; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .ticker .track{ animation: none !important; padding-left: 0; }
  .scanline{ display:none; }
}
