/* ============================================================
   GRAFSCALS — one-page site
   Mobile-first. Muted city backdrop, saturated crew accents.
   ============================================================ */

/* ---------- self-hosted fonts ---------- */

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Permanent Marker";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/permanent-marker-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-latin-800-normal.woff2") format("woff2");
}

:root {
  --bg: #16171b;
  --bg-2: #1d1f24;
  --panel: #22242a;
  --ink: #f2f0eb;
  --ink-dim: #b8b5ad;
  --line: #33363e;
  --red: #d6362b;
  --purple: #8b5cf6;
  --orange: #f2831d;
  --green: #2f7d46;
  --blue: #2f6fd6;
  --tan: #c9a36a;
  --font-display: "Anton", Impact, sans-serif;
  --font-marker: "Permanent Marker", cursive;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  /* faint concrete texture */
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(139, 92, 246, .05), transparent 60%),
    radial-gradient(1000px 500px at 10% 30%, rgba(214, 54, 43, .04), transparent 60%);
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- shared section bits ---------- */

.section-kicker {
  font-family: var(--font-marker);
  color: var(--orange);
  font-size: 1.05rem;
  letter-spacing: .04em;
  margin-bottom: .35rem;
  transform: rotate(-1.5deg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .015em;
  margin-bottom: 1.1rem;
}

section { position: relative; }

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TOP BAR
   ============================================================ */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem;
  background: linear-gradient(rgba(15, 16, 19, .92), rgba(15, 16, 19, .75));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transform: translateY(-110%);
  transition: transform .35s ease;
}
.topbar.is-visible { transform: none; border-bottom-color: var(--line); }

.topbar__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .05em;
  color: var(--ink);
  text-decoration: none;
}
.topbar__logo span { color: var(--red); }

.topbar__nav { display: flex; align-items: center; gap: .25rem; }

.topbar__nav a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  padding: .45rem .6rem;
  border-radius: 6px;
  transition: color .2s;
}
.topbar__nav a:hover { color: var(--ink); }

.topbar__nav a.topbar__cta {
  background: var(--red);
  color: #fff;
  margin-left: .35rem;
}
.topbar__nav a.topbar__cta:hover { background: #e8483d; }

@media (max-width: 480px) {
  .topbar__nav a:not(.topbar__cta) { display: none; }
}

/* ============================================================
   HERO — scroll-scrubbed video
   ============================================================ */

.hero { height: 340vh; }

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #0d0e11;
}

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

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(13, 14, 17, .35), rgba(13, 14, 17, 0) 30%,
                    rgba(13, 14, 17, 0) 55%, rgba(13, 14, 17, .8));
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0 1.25rem calc(4.5rem + env(safe-area-inset-bottom));
  text-align: center;
  transition: opacity .3s linear;
}

.hero__kicker {
  font-family: var(--font-marker);
  color: var(--ink);
  opacity: .85;
  font-size: 1rem;
  transform: rotate(-2deg);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 15vw, 7.5rem);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #fff 20%, #cfd4dd 50%, #fff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 0 rgba(0,0,0,.55)) drop-shadow(0 10px 24px rgba(0,0,0,.6));
}

.hero__tag {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  margin-top: .4rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: calc(.9rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  text-align: center;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  text-shadow: 0 1px 8px rgba(0,0,0,.9);
  transition: opacity .3s;
  pointer-events: none;
}

.hero__cue-arrow {
  width: 10px; height: 10px;
  margin: .35rem auto 0;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  animation: cue-bounce 1.6s infinite;
}

@keyframes cue-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .9; }
  50%      { transform: rotate(45deg) translate(5px, 5px); opacity: .4; }
}

/* ============================================================
   STORY
   ============================================================ */

.story { padding: 4.5rem 0 3.5rem; overflow: hidden; }

.story__bg {
  position: absolute;
  inset: 0;
  background: url("../img/ayard-wide.webp") center 30% / cover no-repeat;
  opacity: .16;
  filter: saturate(.7);
  pointer-events: none;
}
.story::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(var(--bg), transparent 25%, transparent 70%, var(--bg));
  pointer-events: none;
}

.story__inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2.5rem;
}

.story__text p { color: var(--ink-dim); margin-bottom: 1rem; max-width: 58ch; }
.story__text strong, .story__text em { color: var(--ink); }

.story__motto {
  font-family: var(--font-marker);
  color: var(--orange) !important;
  font-size: 1.25rem;
  transform: rotate(-1.5deg);
  margin-top: 1.4rem;
}

.story__poster { max-width: 420px; margin: 0 auto; width: 100%; }
.story__poster img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .55);
  transform: rotate(1.2deg);
}

@media (min-width: 820px) {
  .story__inner { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 3.5rem; }
  .story { padding: 7rem 0 6rem; }
}

/* ============================================================
   CREW
   ============================================================ */

.crew { padding: 4rem 0 4.5rem; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.crew__head { max-width: 1180px; margin: 0 auto 1.8rem; padding: 0 1.25rem; }
.crew__hint { color: var(--ink-dim); font-size: .85rem; }

/* mobile: horizontal snap carousel */
.crew__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 340px);
  gap: 1rem;
  overflow-x: auto;
  padding: .5rem 1.25rem 1.5rem;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.crew__track::-webkit-scrollbar { height: 6px; }
.crew__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.card {
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px var(--accent);
}

.card__art {
  background:
    radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    linear-gradient(#2a2c33, #1f2126);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 300px;
  padding-top: 1.2rem;
}
.card__art img {
  max-height: 100%;
  width: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.5));
}
.card__art--dog { align-items: center; }
.card__art--dog img { max-height: 82%; }

.card__body { padding: 1.1rem 1.15rem 1.35rem; }

.card__name {
  font-family: var(--font-marker);
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1.1;
  transform: rotate(-1.2deg);
}

.card__real { color: var(--ink-dim); font-size: .8rem; margin-bottom: .45rem; }

.card__role {
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink);
  margin-bottom: .55rem;
}

.card__power {
  font-size: .85rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border-left: 3px solid var(--accent);
  padding: .35rem .6rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: .7rem;
}
.card__power span { font-weight: 800; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; color: var(--accent); margin-right: .3rem; }

.card__bio { color: var(--ink-dim); font-size: .88rem; }

/* desktop: grid */
@media (min-width: 900px) {
  .crew__hint { display: none; }
  .crew__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: unset;
    overflow: visible;
    max-width: 1180px;
    margin: 0 auto;
    gap: 1.4rem;
    padding: .5rem 1.25rem;
  }
}
@media (min-width: 1200px) {
  .crew__track { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   WATCH
   ============================================================ */

.watch { padding: 4.5rem 0; }

.watch__inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2.5rem;
}

.watch__art { max-width: 380px; margin: 0 auto; width: 100%; order: 2; }
.watch__art img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(0,0,0,.55);
  transform: rotate(-1.2deg);
}

.watch__text p { color: var(--ink-dim); max-width: 52ch; }

.watch__links { display: grid; gap: .8rem; margin-top: 1.6rem; max-width: 420px; }

.social {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .95rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), filter .25s;
}
.social:hover { transform: translateY(-3px) scale(1.01); filter: brightness(1.12); }
.social svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

.social--yt { background: linear-gradient(100deg, #b31217, #e52d27); }
.social--ig { background: linear-gradient(100deg, #7b2ff7, #d6249f 55%, #fd8d32); }
.social--fb { background: linear-gradient(100deg, #14477e, #1877f2); }

@media (min-width: 820px) {
  .watch__inner { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 3.5rem; }
  .watch__art { order: 0; }
  .watch { padding: 6.5rem 0; }
}

/* ============================================================
   NEWSLETTER
   ============================================================ */

.news {
  padding: 4.5rem 1.25rem;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(214, 54, 43, .14), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
}

.news__inner { max-width: 560px; margin: 0 auto; }
.news__inner > p { color: var(--ink-dim); }

.news__form {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-top: 1.6rem;
}

.news__form input[type="email"] {
  width: 100%;
  padding: .95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem var(--font-body);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.news__form input[type="email"]:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214, 54, 43, .25);
}
.news__form input::placeholder { color: #6d6f76; }

.news__form button {
  padding: .95rem 1.4rem;
  border: none;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font: 800 1rem var(--font-body);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.news__form button:hover { background: #e8483d; transform: translateY(-2px); }
.news__form button:disabled { opacity: .6; cursor: wait; transform: none; }

/* honeypot */
.hp { position: absolute; left: -5000px; opacity: 0; height: 0; width: 0; }

.news__msg { margin-top: .9rem; font-weight: 600; min-height: 1.5em; }
.news__msg.ok { color: #6fd68a; }
.news__msg.err { color: #ff8a80; }

.news__fine { color: #6d6f76; font-size: .78rem; margin-top: .5rem; }

@media (min-width: 560px) {
  .news__form { flex-direction: row; }
  .news__form input[type="email"] { flex: 1; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 3rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .05em;
}
.footer__logo span { color: var(--red); }

.footer__motto {
  font-family: var(--font-marker);
  color: var(--ink-dim);
  font-size: .95rem;
  margin: .4rem 0 1rem;
  transform: rotate(-1deg);
}

.footer__copy { color: #6d6f76; font-size: .78rem; }

.footer__credit { color: #6d6f76; font-size: .78rem; margin-top: .35rem; }
.footer__credit a {
  color: var(--ink-dim);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.footer__credit a:hover { color: var(--ink); border-color: var(--red); }

