/* ------------------------------ Design Tokens ------------------------------ */
:root{
  /* Colors */
  --bg: #301d56;
  --ink: #FFFFFF;
  --ink-dark: #0f0f0f;
  --purple-section: #ba4f9e;
  --footer-bg: #2a4881;
  --accent-pink: #E72791;
  --accent-yellow: #ffdc4a;
  --caption-ink: #301D56;
  --link-blue: #659df2;

  /* Typography */
  --font-display: "Titan One", system-ui, sans-serif;
  --font-ui: "Fredoka One", system-ui, sans-serif;
  --font-marker: "Permanent Marker", cursive;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Inter stands in for Roobert */
  --font-team: "Tinos", system-ui, sans-serif; 

  /* Layout */
  --container: min(1120px, 94vw);
  --radius: 16px;

  /* TV viewport positioning on the living-room photo */
  --tv-left: -28px;
  --tv-top: -24px;
  --tv-width: 585px;
  --tv-aspect: 16/9;

  /* Spacing scale */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
}

/* ------------------------------ Base & Reset ------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; font-weight: normal; }

strong { font-weight: 600; }

html, body { height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; height: auto; }
video{ display: block; width: 100%; height: auto; }

a{ color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible{ outline: 3px solid var(--accent-yellow); outline-offset: 2px; }

/* Visually hidden but accessible */
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link{
  position: absolute; left: -9999px;
  background: var(--accent-yellow); color: #000; padding: var(--s-3) var(--s-4);
  border-radius: 999px;
}
.skip-link:focus{ left: var(--s-4); top: var(--s-4); z-index: 1000; }

/* ------------------------------ Layout Helpers ------------------------------ */
.container{ width: var(--container); margin-inline: auto; padding-block: var(--s-7); }
.grid{ display: grid; gap: var(--s-7); }
.grid--section--one{ grid-template-columns: 1fr; }
.grid--section--two{ grid-template-columns: 1fr; margin-bottom: 4em; }
.grid--section--three{ grid-template-columns: 1fr; }

@media (min-width: 64rem){
  .grid--section--two {
    grid-template-columns: 1.1fr 0.9fr;
    margin-bottom: 2em;
    align-items: center;
  }
}

@media (min-width: 80rem){
  .grid--section--one {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

/* ------------------------------ Hero (new structure) ------------------------------ */
.site-header{
  background-image: linear-gradient(170deg, rgba(84, 0, 133, 0.8), rgba(46, 6, 99, 0.3)), url('/assets/papyrus-dark.png');
  padding-block: var(--s-6) var(--s-2);
  padding: 1rem 0 8rem 0;
}

.hero-grid{
  display: grid;
  gap: var(--s-1);
  grid-template-columns: 1fr;
  grid-template-areas:
    "brand"
    "headline"
    "strap"
    "availability";
  align-items: start;
  padding: 0;
}

.hero-grid__brand{ grid-area: brand; }
.hero-grid__headline{ grid-area: headline; display: none; }
.hero-grid__strap{ grid-area: strap; }
.hero-grid__availability{ grid-area: availability; }

@media (min-width: 64rem){
  .hero-grid__headline{ display: inline-block; }
  .hero-grid{
    gap: var(--s-4);
    grid-template-columns: 2fr 1fr;
    grid-template-areas:
      "brand headline"
      "strap strap"
      "availability availability";
    align-items: center;
  }
}

.brand__logo{ width: auto; height: auto; }

.display{
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(2.6rem, 3.5vw, 3.5rem);
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

@media (min-width: 64rem){
  .display{
    text-align: left;
    margin: 3rem 0 0 0;
  }
}

.rainbow-text {
  background-image: linear-gradient(
    90deg,
    rgb(235, 37, 37)        0%,
    rgb(255, 145, 0)        16.666%,
    rgb(255, 255, 72)       33.333%,
    rgb(98, 214, 98)        50%,
    rgb(137, 137, 231)      66.666%,
    rgb(235, 115, 235)      83.333%,
    rgb(235, 37, 37)        100%
  );

  background-size: 200% 100%;
  background-repeat: repeat;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: center;
  animation: rainbowShift 8s linear infinite;
  will-change: background-position;
}

@keyframes rainbowShift {
  to { background-position: 200% 50%; }
}

.strap{
  margin: 0.5em 0 1.5em 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 4vw, 3rem);
}
.strap__mv{
  display: inline-block;
}

.highlight{
  color: var(--accent-yellow);
}

@media (min-width: 48rem) {
  .platform-clarification
  {
    display: none;
  }
}

/* Underline “next‑generation” slot */
.ng-wrap{
  position: relative;
  display: inline-block;
}

.ng-underline{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3.3em;
  width: 100%;
  height: auto;
  display: none;
}

@media (min-width: 48rem){
  .ng-underline{
    display: block;
  }
}

.hero-grid__availability{
  display: grid;
  gap: var(--s-5);
  justify-content: center;
  align-items: center;
}

@media (min-width: 48rem){
  .hero-grid__availability{
    display: flex;
    gap: var(--s-5);
    justify-content: center;
    align-items: center;
  }
}

.accent-yellow {color: var(--accent-yellow);}

.os-row{
  display: flex;
  justify-content: center;
  gap: var(--s-4);
}

.os-icon{
  width: auto;
  height: 32px;
}

.button {
  display: flex;
  padding: 0.4em 0em;
  align-items: center;
  justify-content: center;
  max-height: 100px;
  filter: drop-shadow(0px 3px 0px #ffffff);
  background-color: var(--accent-pink);
  transition: filter 0.1s ease-in-out, transform 0.1s ease-in-out, background-color 0.1s ease-in-out;
  border-radius: 200px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  border-bottom: #000;
}

.button:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0px 5px 0px #ffffff);
  background-color: #fd46ab;
}

.button:active {
  transform: translateY(3px);
  filter: drop-shadow(0px 0px 0px #ffffff);
  background-color: #fd46ab;
}

.button img
{
  height: 64px;
  width: 64px;
  margin-right: 1em;
}

.avail-itch
{
  width: 340px;
}

/* ------------------------------ Sections ------------------------------ */
.section {
  position: relative;
  min-height: 600px;
  padding: 1rem;
}
.section--room{
  background: var(--purple-section);
  color: var(--ink);
  padding: 0;
}

.section--dark{
  background: var(--bg);
  color: var(--ink);
}
.section--light{
  background: #ffffff;
  color: var(--ink-dark);
}

.section__text .eyebrow, .section--light .eyebrow {
  color: var(--accent-pink);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin: 0 0 var(--s-3) 0;
  text-align: center;
}

@media (min-width: 80rem){
  .section__text .eyebrow{
    font-size: clamp(1.6rem, 4vw, 2.9rem);
  }
}

@media (min-width: 64rem){
  .section {
    padding: 8em 0;
  }
  .section__text .eyebrow{
    text-align: left;
  }
}

.section__text--light-on-color .lead, .section__text .lead {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.9vw, 1.3rem);
  margin: 0;
  color: #ffffff;
}

.section__text--light-on-color .lead,
.section__text .lead
{
  width: 100%;
  text-align: center;
}

.section__text--light-on-color .center,
.section__text .center {
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 64rem){
  .section__text--light-on-color .lead,
  .section__text .lead
  {
    text-align: left;
    max-width: 100%;
  }

  .section__text--light-on-color .center,
  .section__text .center {
    text-align: center;
    margin: 0 auto;
    max-width: 65%;
  }
}

.section__text--light-on-color .lead{ color: #111; }
.section__text--dark-on-light .lead{ color: #111; }

/* ------------------------------ Living Room + Video ------------------------------ */

.section--room {
  background: #fff;
  padding: 0;
}

.section__text
{
  max-width: 90%;
  margin: 0 auto;
}

@media (min-width:48rem){
  .section__text
  {
    max-width: 70%;
  }
}

@media (min-width:64rem){
  .section__text
  {
    max-width: 100%;
  }
}

.room__photo{
  --photo-width: 1800px;
  --photo-pos-x: calc(50% - 100px);
  --photo-pos-y: -150px;
  --edge-fade: 300px; /* width of the gradient fade */

  position: relative;
  isolation: isolate;
}

.room__photo::before{
  content:"";
  position:absolute;
  inset:0;

  background-image: linear-gradient(rgba(186, 79, 158, 1), rgba(255,255,255, 0.85) 40%), url("/assets/tv-livingroom.jpg");
  background-repeat: no-repeat;
  background-size: cover;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black var(--edge-fade),
    black calc(100% - var(--edge-fade)),
    transparent 100%
  );
  -webkit-mask-size: var(--photo-width) 100%;
  -webkit-mask-position: var(--photo-pos-x) 0;
  -webkit-mask-repeat: no-repeat;

  mask-image: linear-gradient(
    to right,
    transparent 0,
    black calc(var(--edge-fade)),
    black calc(100% - var(--edge-fade)),
    transparent 100%
  );
          mask-size: var(--photo-width) 100%;
          mask-position: var(--photo-pos-x) 0;
          mask-repeat: no-repeat;

  z-index: 0;
  pointer-events: none;
}

.room__photo > * { position: relative; z-index: 1; }

.tv-viewport{
  position: relative;
  width: 100%;
  aspect-ratio: var(--tv-aspect);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0, 0.5);
  pointer-events: auto;
}

.tv-viewport__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.tv-unmute{
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

/* Show on hover for pointer devices */
@media (hover: hover) {
  .tv-viewport:hover .tv-unmute{
    opacity: 1;
  }
}

/* On touch devices, just keep it visible */
@media (hover: none) {
  .tv-unmute{
    opacity: 1;
  }
}


@media (min-width:64rem){
  .section--room .section__text
  {
    padding: 2em 3em 3em 3em;
  }
}

/* Larger TV positioned layout */
@media (min-width:80rem){
  
.section--room {
  background: linear-gradient(90deg, rgba(186, 79, 158, 1) 0%, rgba(186, 79, 158, 1) 45%, rgba(255,255,255, 1) 55%, rgba(255,255,255, 1) 70%, rgba(186, 79, 158, 1) 100%);
  padding: 8em 0;
}

.section--room .section__text
{
  max-width:100%;
  margin: 0 auto;
  padding: 0;
  border-radius: 24px;
  background: none;
  backdrop-filter: none;
  filter: none;
}

.room__photo::before{
  background-image: url("/assets/tv-livingroom.jpg");
  background-size: var(--photo-width) auto;
  background-position: var(--photo-pos-x) var(--photo-pos-y);
}

  .tv-viewport{
    position: absolute;
    left: var(--tv-left);
    top: var(--tv-top);
    width: var(--tv-width);
  }
}

/* ------------------------------ Party Trick / Integrations ------------------------------ */

.section-integrations
{
  background-image: linear-gradient(rgba(46, 6, 99, 0.3), rgba(84, 0, 133, 0.8)), url('/assets/papyrus-dark.png');
}

.integrations {
  position: relative;
  min-height: 320px;
  max-width: 500px;
  width: 100%;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.integrations-example-text
{
  font-family: var(--font-marker);
  transform: rotate(-3deg);
  position: absolute;
  left: 50px;
  bottom: -80px;
  font-size: clamp(1.2em, 2vw, 1.5em);
  color: var(--accent-yellow);
}

@media (min-width: 64rem){
  .integrations-example-text
  {
    bottom: -120px;
  }
}

.feature-list
{
  align-content: center;
  list-style: none;
  padding: 0;
}

.feature-list li
{
  display: flex;
  justify-content: left;
  margin-top: 1.5em;
}

.feature-list li p
{
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 0;
}

.feature-list li img
{
  width: 32px;
  height: 32px;
  margin-right: 0.5em;
  top: 0;
}

.integrations__mark{
  width: clamp(160px, 30vw, 200px);
  margin-left: 50%;
}

.source-logo{
  position: absolute;
  width: 64px;
  height: auto;
  left: 10%;
}

.source-arrow{
  position: absolute;
  width: 64px;
  margin: 20px 0;
  left: 35%;
}

@media (min-width: 48rem) {

  .source-logo {
    position: absolute;
    width: 92px;
    height: auto;
  }

  .source-arrow {
    width: 60px;
    left: 40%;
  }
  
}

.source-logo--spotify{ top: 0%;  }
.source-logo--apple  { top: 40%; }
.source-logo--youtube{ top: 85%; }

.source-arrow--one  { top: 5%; transform: rotate(15deg); }
.source-arrow--two  { top: 40%; }
.source-arrow--three{ top: 75%; transform: rotate(-18deg); }

/* ------------------------------ Intelligent, Not Artificial ------------------------------ */

.section-no-ai {
  background: #fff;
  padding: 0;
  --photo-width: 1800px;
  --photo-pos-x: calc(50%);
  --photo-pos-y: 65%;
  --edge-fade: 200px; /* width of the gradient fade */
  position: relative;
  isolation: isolate;
}

@media (min-width: 48rem){
  .section-no-ai {
    padding: 2rem 0 8rem 0;
  }
}

.section-no-ai::before{
  content:"";
  position:absolute;
  inset:0;

  background-image: linear-gradient(rgba(255,255, 255, 0.98) 10%, rgba(255,255,255, 0.6)), url("/assets/flatlay-guitar.jpg");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: var(--photo-pos-x) var(--photo-pos-y);

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black var(--edge-fade),
    black calc(100% - var(--edge-fade)),
    transparent 100%
  );
  -webkit-mask-size: var(--photo-width) 100%;
  -webkit-mask-position: var(--photo-pos-x) 0;
  -webkit-mask-repeat: no-repeat;

          mask-image: linear-gradient(
    to right,
    transparent 0,
    black var(--edge-fade),
    black calc(100% - var(--edge-fade)),
    transparent 100%
  );
          mask-size: var(--photo-width) 100%;
          mask-position: var(--photo-pos-x) 0;
          mask-repeat: no-repeat;

  z-index: 0;
  pointer-events: none;
}

.section-no-ai > * { position: relative; z-index: 1; }

.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

.team-member
{
  padding: 1em;
  margin: 0 auto 0.2em 0;
  backdrop-filter: blur(6px);
  border-radius: 8px;
  color: #111;
  background-image:linear-gradient(-120deg, rgba(0,0,0, 0.02) 40%, rgba(0,0,0, 0));
  border-bottom: 1px solid rgba(46, 6, 99, 0.05);
}

@media (min-width: 64rem){
  .team {
    grid-template-columns: 1fr 1fr;
  }
  .team-member
  {
    padding: 1em;
    margin: 1em auto 2em auto;
  }
}

.team-member-badge
{
  display: grid;
  grid-template-columns: auto 1fr;
}

.team-member-header
{
  align-content: center;
  margin-left: 1.4em;
}

.team-member-photo img
{
  max-width: 150px;
  border-radius: 500px;
  border: 5px solid rgba(0,0,0, 0.1);
}

.team-member-name, .team-member-title
{
  font-family: var(--font-team);
  font-size: clamp(1.4rem, 4vw, 1.6rem);
  font-weight: bold;
  margin: 0;
}

.team-member-title
{
  color: #E72791;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.team-member p
{
  font-family: var(--font-body);
  font-size: 1rem;
}

.team-member-instagram{
  width:48px;
  height:48px;
  background: #f09433; 
  background: url('/assets/instagram-icon.svg') no-repeat center center / 70% 70%, -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
  background: url('/assets/instagram-icon.svg') no-repeat center center / 70% 70%, -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
  background: url('/assets/instagram-icon.svg') no-repeat center center / 70% 70%, linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
  text-indent: -9999px;
  overflow: hidden;
  display: inline-block;
  position: absolute;
  top: 120px;
  left: 0px;
  border-bottom: 1px solid #fff;
  border-radius: 500px;
}

.polaroid-gallery{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: -1.5rem;
  max-width: 100%;
  margin: 0 auto;
}

.polaroid {
  position: relative;
  flex: 0 0 calc(50% - 1.5rem);
  background: linear-gradient(120deg, #fff, #DDD 60%);
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.4));
  transition: filter .2s, transform .2s;

  padding: 0.75rem;
  padding-bottom: 4.2rem; /* roomy bottom frame, tweak to taste */
}

@media (min-width: 48rem){
  .polaroid{ flex-basis: calc(33.333% - 1.5rem); }
}

.polaroid:nth-child(n):hover{ filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); }
.polaroid:nth-child(odd)    {  transform: rotate(2deg);   }
.polaroid:nth-child(even)   {  transform: rotate(-3deg);  }
.polaroid:nth-child(odd):hover,
.polaroid:nth-child(even):hover{ transform: rotate(-1deg) scale(1.03); }


.polaroid-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee;
  margin: 0 auto;
}


.polaroid-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.gloss{
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.6), transparent 60%, rgba(0,0,0,.5) 99%);
  box-shadow: inset 0 0 10px 1px rgba(0,0,0,.2);
  z-index: 10;
}



.polaroid p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  margin: 0;
  text-align: center;
  font-family: var(--font-marker);
  font-size: 1rem;
  transform: rotate(-1deg);
  pointer-events: none;
}

/* ------------------------------ Footer ------------------------------ */
.site-footer{
  background-image: linear-gradient(170deg, rgba(84, 0, 133, 1) 40%, rgba(46, 6, 99, 0.2)), url('/assets/papyrus-dark.png');
  color: var(--ink);
  padding-top: var(--s-7);
}
.footer-top{
  align-items: start;
  gap: var(--s-1);
}

.newsletter{
  margin: 0 auto;
}

.newsletter__title{
  margin: 0 0 var(--s-4) 0.8em;
  font-size: clamp(1.25rem, 4vw, 2em);
  text-align: center;
}

@media (min-width: 48rem){
  .newsletter__title{
    text-align: left;
    font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  }
}

.social ul{ list-style: none;
  padding: 0 0 1em 0;
  margin: 0;
  display: flex;
  gap: var(--s-3);
  place-items: center;
  justify-content: center;
}
.social a img{ display: block; width: auto; height: 28px; }

.connect{ display: grid; place-items: center; align-items: center; }
.connect__marker{
  margin: 0;
  color: var(--accent-yellow);
  font-family: var(--font-marker);
  font-size: clamp(1.6rem, 4.6vw, 3rem);
  transform: rotate(-6deg);
}

.connect__arrow{
  width: 4em;
  margin: 1em 0;
  transform: rotate(60deg);
}

@media (min-width: 48rem){
    .connect__arrow{
    width: 5em;
    margin: -2.5em 0 1em 22em;
    transform: rotate(-20deg);
  }
}

@media (min-width: 64rem){
    .connect__arrow{
    width: 7em;
    margin: -5em 0 1em 25em;
  }
}

.discord-button
{
  justify-content: center;
  text-align: center;
  margin: 1.2em auto;
  width: 300px;
  margin-bottom: 4em;
}

@media (min-width: 48rem){
  .discord-button
  {
    width: 330px;
  }
}

.footer-middle{ text-align: center; padding-block: var(--s-7); }
.footer-middle__blurb{
  font-family: var(--font-body);
  margin: 0 0 var(--s-6);
  max-width: 58ch;
  margin-inline: auto;
}
.made-with-love{
  font-family: "Abril Fatface", serif;
  color: var(--accent-yellow);
  font-size: clamp(1.4rem, 5vw, 2rem);
  margin: 4em 0 var(--s-5);
}
.heart-image{
  width: clamp(250px, 25vw, 420px);
  height: auto;
  margin-inline: auto;
  margin: 3em auto;
}

.footer-bottom{
  background-image: radial-gradient(ellipse at bottom center, rgba(186, 79, 158, 0.1) 0%, rgba(186, 79, 158, 0) 60%);
  padding-block: var(--s-5) var(--s-7);
  display: grid; gap: var(--s-2); text-align: center;
}
.legal-links{
  margin: 0;
  font-family: var(--font-body);
}
.legal-link{
  text-decoration: underline;
  text-underline-offset: 2px;
}
.copyright{
  margin: 0; font-family: var(--font-body);
  color: #fff;
}


@media (min-width: 48rem){
  .footer-top{ grid-template-columns: 1fr 1fr; justify-content: center; }
}

@media (min-width: 64rem){
  .footer-top{ grid-template-columns: 0.8fr 0.4fr;}
}
