/* =========================================================
   TexasTribe — base styles
   Display font: 'Fredoka' (matches the logo wordmark)
   Body/modern-classic font: 'Inter'
   ========================================================= */

:root {
  --navy: #0d1b2e;
  --navy-deep: #080f1a;
  --green: #22b07e;
  --green-light: #3fd39a;
  --white: #ffffff;
  --black: #000000;
  --ink: #e9edf2;
  --muted: #9aa7b8;

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy-deep);
}
.btn-solid {
  background: var(--green);
  color: var(--navy-deep);
}
.btn-solid:hover {
  background: var(--green-light);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
}

.brand-logo {
  height: 34px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 32px;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.site-nav a:hover { opacity: 1; }

@media (max-width: 720px) {
  .site-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,12,20,0.35) 0%, rgba(6,12,20,0.35) 40%, rgba(6,12,20,0.88) 100%),
    linear-gradient(90deg, rgba(6,12,20,0.55) 0%, rgba(6,12,20,0.05) 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 64px) clamp(56px, 9vw, 110px);
  max-width: 980px;
}

.display-heading {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 0.25em;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  text-shadow: 0 6px 30px rgba(0,0,0,0.35);
}

.hero-heading {
  font-size: clamp(0.95rem, 2.6vw, 2.2rem);
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-heading {
    white-space: normal;
  }
}

.hero-subhead {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  color: var(--ink);
  max-width: 90vw;
  white-space: nowrap;
  margin: 0;
  opacity: 0.95;
}

@media (max-width: 640px) {
  .hero-subhead {
    white-space: normal;
  }
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: 40px;
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  display: none;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDown 1.6s infinite;
}
@media (min-width: 721px) {
  .scroll-cue { display: block; }
}
@keyframes scrollDown {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 16px); }
  100% { opacity: 0; }
}

/* ---------- Work / Grid ---------- */
.work {
  padding: clamp(70px, 10vw, 130px) 0;
  background: var(--navy-deep);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 32px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.work-card {
  display: flex;
  flex-direction: column;
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(34,176,126,0.35), transparent 60%),
    linear-gradient(135deg, #14263f 0%, #0a1420 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.work-card:hover .work-thumb {
  transform: translateY(-4px);
  border-color: rgba(34,176,126,0.5);
}

.work-thumb.logo-tile {
  background: #ffffff;
  padding: clamp(20px, 4vw, 36px);
}
.work-thumb.logo-tile .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.work-thumb.logo-tile--fill {
  padding: 0;
}
.work-thumb.logo-tile--lg {
  padding: clamp(6px, 1.5vw, 14px);
}
.work-thumb.logo-tile--fill .logo-img {
  object-fit: cover;
}

.work-thumb.photo-tile {
  padding: 0;
}
.work-thumb.photo-tile .thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.work-thumb.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,12,20,0.1) 0%, rgba(6,12,20,0.45) 100%);
  z-index: 1;
}

.play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  position: relative;
  z-index: 2;
  transition: background 0.25s ease, transform 0.25s ease;
}
.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--white);
}
.work-card:hover .play-icon {
  background: var(--green);
  transform: scale(1.06);
}
.work-card:hover .play-icon::after {
  border-color: transparent transparent transparent var(--navy-deep);
}

.work-title {
  margin: 18px 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.work-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Statement ---------- */
.statement {
  padding: clamp(90px, 14vw, 160px) 0;
  background:
    radial-gradient(ellipse at center, rgba(34,176,126,0.12), transparent 65%),
    var(--navy);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.statement-heading {
  font-size: clamp(1rem, 3vw, 2.4rem);
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .statement-heading {
    white-space: normal;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px clamp(20px, 5vw, 64px) 40px;
  text-align: center;
  background: var(--navy-deep);
}

.footer-logo {
  height: 30px;
  margin: 0 auto 18px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 24px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 28px 0 0;
  opacity: 0.7;
}

/* ---------- Social bar ---------- */
.social-bar {
  background: var(--navy-deep);
  padding: clamp(18px, 3vw, 26px) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 3;
}

.social-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.social-bar-label {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-bar-logo {
  height: clamp(18px, 2.6vw, 24px);
  width: auto;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(160deg, #f4f6f9 0%, #c3ccd6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.6);
}
.social-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 640px) {
  .social-bar-inner {
    justify-content: center;
  }
  .social-bar-label {
    width: 100%;
    text-align: center;
  }
}
