/*Only change styles down here, no custom colors anywhere or it gets hard to track*/
:root {
  --purple: #AD6BFF;
  --purple-deep: #833CB9;
  --yellow: #FFF942;
  --mint: #96FFF7;
  --mint-light: #E5FFFF;
  --teal: #80EBDC;
  --teal-soft: #A8FFFB;
  --teal-bright: #49CCAB;
  --green: #00683B;
  --green-deep: #00531D;
  --green-mid: #204E3A;
  --blue: #28A1F8;
  --gold: #BC8A03;

  --ink: #1a1a1a;
  --body: #333333;
  --muted: #6d6d6d;
  --line: #e4e4e4;
  --paper: #ffffff;
  --paper-soft: #fafafa;

  /* Fonts */
  --font-display: 'Roboto Slab', Georgia, serif;
  --font-body: 'Roboto', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1080px;
  --radius: 12px;
  --radius-lg: 20px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--purple-deep);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.container.narrow {
  max-width: 720px;
}

.about-text {
  max-width: 700px;
}

.landing-about-us {
  background-image: url("../assets/marketingPhotos/VGDSPhoto1.png");
  background-size: auto;

  background-repeat: no-repeat;
  background-position: calc(50% + 900px) calc(10% - 200px);
}

.contact-about-us {
  background-image: url("../assets/marketingPhotos/JamPhoto1.png");
  background-size: auto;

  background-repeat: no-repeat;
  background-position: calc(50% + 900px) calc(10% - 200px);
}

.landing-next-up {
  background-image: url("../assets/marketingPhotos/BCGameJamPhoto1.png");
  background-size: auto;

  background-position: calc(50% - 800px) calc(50%);
  background-repeat: no-repeat;
}

.landing-next-up-content {
  padding-left: clamp(0px, 30vw, 400px);
}

.contact-join-us {

  background-image: url("../assets/marketingPhotos/JamPhoto2.png");
  background-size: auto;

  background-position: calc(50% - 800px) calc(50%);
  background-repeat: no-repeat;
}

.join-us-content {
  padding-left: clamp(0px, 30vw, 400px);
}

.hstack {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  gap: 0.5rem;
  padding: 0px;
}

.diamond-style {

  flex: 0 0 auto;
  height: 500px;
  object-fit: cover;
  overflow: hidden;
}



.hstack>* {
  overflow: hidden;
  flex-shrink: 1;
  justify-content: flex-start;
}


/*  Buttons  */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/*  Header  */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-family: var(--font-display);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-deep);
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: var(--space-2) var(--space-3);
  gap: 0.25rem;
}

.site-nav a {
  color: var(--body);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 0;
}

.site-nav a:hover {
  color: var(--purple-deep);
}

body.nav-open .site-nav {
  display: flex;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 720px) {
  .site-nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    border-bottom: 0;
    padding: 0;
    gap: var(--space-3);
    margin-left: auto;
  }

  .site-nav a {
    padding: 0;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Index */



/*  Hero  */

.hero {
  position: relative;
  background: var(--purple-deep);
  color: #fff;
  padding: var(--space-7) 0;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(45deg, transparent 49.4%, rgba(255, 255, 255, 0.07) 49.4%, rgba(255, 255, 255, 0.07) 50.6%, transparent 50.6%),
    linear-gradient(-45deg, transparent 49.4%, rgba(255, 255, 255, 0.07) 49.4%, rgba(255, 255, 255, 0.07) 50.6%, transparent 50.6%);
  background-size: 56px 56px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 44rem;
  margin: 0 auto var(--space-4);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-logo-wrap {
  margin: 0 auto var(--space-4);
  max-width: 480px;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
}

/*  Sections  */

.section {
  padding: var(--space-6) 0;
}

.section-alt {
  background: var(--mint-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--purple);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.section-title-spaced {
  margin-top: var(--space-6);
}

.section-lead {
  max-width: 40rem;
  margin: -1rem 0 var(--space-4);
  color: var(--muted);
}

.empty-state {
  color: var(--muted);
  font-style: italic;
  grid-column: 1 / -1;
}

/*   FLAG temporary. */

.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  color: #39FF14;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px dashed #39FF14;
  border-radius: var(--radius);
  text-align: center;
  padding: 0.5rem;
}

/*  Events  */

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-3);
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.event-card-past {
  opacity: 0.68;
}

.event-card-past:hover {
  opacity: 1;
}

.event-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.event-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.event-date {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
  color: var(--ink);
}

.event-location,
.event-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.event-actions {
  margin-top: auto;
  padding-top: var(--space-2);
}

/*  Jams  */

.jam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-3);
}

.jam-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jam-logo-wrap {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.jam-logo {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.jam-logo-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}

.jam-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--ink);
}

.jam-blurb {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.jam-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple-deep);
  text-decoration: none;
}

.jam-link:hover {
  text-decoration: underline;
}

/*  Sponsors  */

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-3);
}

.sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sponsor:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.sponsor img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsor-placeholder {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  border-radius: 0;
  font-size: 0.65rem;
}

/*  Join  */

.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-3);
}

.join-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.join-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--ink);
}

.join-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.link-placeholder {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--gold);
}

/*  Footer  */

.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-5) 0 var(--space-3);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr;
  }
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 0.75rem;
}

.footer-col p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-col a {
  color: var(--mint);
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-note {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.82rem !important;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
  margin: 0;
}

/*  Sub-page header  */

.page-header {
  position: relative;
  background: var(--purple-deep);
  color: #fff;
  padding: var(--space-5) 0;
  overflow: hidden;
}

.page-header-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(45deg, transparent 49.4%, rgba(255, 255, 255, 0.07) 49.4%, rgba(255, 255, 255, 0.07) 50.6%, transparent 50.6%),
    linear-gradient(-45deg, transparent 49.4%, rgba(255, 255, 255, 0.07) 49.4%, rgba(255, 255, 255, 0.07) 50.6%, transparent 50.6%);
  background-size: 56px 56px;
}

.page-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

.site-nav a[aria-current="page"] {
  color: var(--purple-deep);
  font-weight: 700;
}

img.brand-mark {
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
}

/*  Callout for focus eventbrite */

.callout {
  background: var(--mint-light);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
}

.callout p {
  margin: 0;
}

.section-more {
  margin-top: var(--space-3);
}

/*  Contact list  */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: baseline;
}

.contact-list strong {
  min-width: 6rem;
  color: var(--ink);
}

/*  Join card link  */

.join-link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple-deep);
  text-decoration: none;
}

.join-link:hover {
  text-decoration: underline;
}


/* mobile support*/
.site-nav {
  display: none;
}

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


/*Art*/
.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -68px;
  height: 70px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 120' preserveAspectRatio='none'><path fill='%2300531D' d='M0,90 L100,68 L160,62 L260,72 L400,90 L500,68 L560,61 L660,72 L800,90 L900,70 L960,64 L1060,74 L1200,90 L1300,67 L1360,62 L1460,73 L1600,90 L1700,69 L1760,64 L1860,75 L2000,90 L2000,120 L0,120 Z'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}