/* =========================================================
   MINDJOBMEDIA — style.css
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Newake";
  src: url("fonts/Newake-Font-Regular.otf") format("opentype"),
       url("fonts/Newake-Font-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Advercase";
  src: url("fonts/AdvercaseFont-Regular.ttf") format("truetype"),
       url("fonts/AdvercaseFont-Demo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Monument Normal";
  src: url("fonts/PPMonumentNormal-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Monkey";
  src: url("fonts/Road_Rage.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --cream:        #F4EADA;
  --cream-footer: #F8E5BF;
  --blue:         #0D00A4;
  --orange:       #FF5623;
  --charcoal:     #2A2C2F;

  --font-display: "Newake", sans-serif;
  --font-serif:   "Advercase", serif;
  --font-body:    "PP Monument Normal", sans-serif;
  --font-script:  "Space Monkey", cursive;

  --container: 1320px;
  --pad: clamp(24px, 5vw, 80px);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
  cursor: pointer;
  border: none;
}

.btn-pill {
  background: var(--blue);
  color: var(--cream);
  padding: 18px 32px;
  border-radius: 999px;
}
.btn-pill:hover,
.btn-pill:focus-visible {
  background: var(--orange);
}

.btn-outline {
  background: var(--cream);
  color: var(--blue);
  padding: 14px 26px;
  font-weight: 600;
  border-radius: 15px;
}
.btn-outline .arrow { transition: transform .25s ease; }
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--orange);
  color: var(--cream);
}
.btn-outline:hover .arrow {
  transform: translateX(3px);
}

/* =========================================================
   HERO / TOP BANNER
   ========================================================= */
.hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-graphic {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) var(--pad) 0;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.logo {
  font-family: var(--font-display);
  color: var(--orange);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  letter-spacing: .01em;
  align-self: flex-start;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: clamp(75px, calc(9vh + 35px), 145px);
  max-width: 620px;
}

.hero-headline {
  font-family: var(--font-display);
  color: var(--orange);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: .82;
  letter-spacing: -.01em;
}

.hero-subtext {
  font-family: var(--font-body);
  color: var(--charcoal);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.5;
  margin-top: clamp(20px, 3vw, 32px);
}

.hero-content .btn-pill {
  margin-top: clamp(28px, 4vw, 40px);
}

/* =========================================================
   INFORMATION SECTION
   ========================================================= */
.info-section {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(70px, 10vw, 140px) var(--pad);
}
.info-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

/* Frame for the computer image — border is baked into the image itself */
.info-media { position: relative; }
.info-frame {
  position: relative;
}
.info-frame-img {
  width: 100%;
  border-radius: 15px;
}

.swatches {
  display: flex;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 32px);
}
.swatch-chip {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 12px);
  border: 1px solid var(--cream);
  border-radius: 15px;
  padding: 14px clamp(8px, 2vw, 16px);
  min-width: 0;
}
.swatch-icon {
  width: clamp(44px, 9vw, 60px);
  height: clamp(30px, 5.5vw, 38px);
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.swatch-icon-img {
  width: clamp(28px, 6vw, 40px);
  height: auto;
  display: block;
}
.swatch-icon--solid {
  background: var(--orange);
  width: clamp(44px, 9vw, 60px);
  height: clamp(30px, 5.5vw, 38px);
}
.swatch-label {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: clamp(.78rem, 1.7vw, .92rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.35;
  color: var(--cream);
}
.info-heading .accent { color: var(--orange); }

.info-paragraph {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.7;
  color: var(--cream);
  margin-top: 28px;
  max-width: 640px;
}

/* =========================================================
   RECENT WORK SECTION
   ========================================================= */
.work-section {
  background: var(--blue);
}

/* -- marquee ticker -- */
.ticker {
  background: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(13,0,164,.15);
  padding: 18px 0;
}
.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 32s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-item {
  font-family: var(--font-display);
  color: var(--blue);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  padding: 0 clamp(20px, 2.4vw, 36px);
  white-space: nowrap;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.work-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) var(--pad);
}

.work-heading {
  font-family: var(--font-serif);
  color: var(--cream);
  text-align: center;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: clamp(40px, 6vw, 70px);
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-item {
  display: grid;
  grid-template-columns: clamp(110px, 12vw, 160px) 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  border: 1px solid var(--cream);
  border-radius: 15px;
  padding: 14px clamp(18px, 2.5vw, 30px);
}

.hash {
  display: block;
  font-family: var(--font-body);
  color: var(--cream);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: .14em;
  white-space: nowrap;
  overflow: hidden;
}

.work-title {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: clamp(1.1rem, 1.7vw, 1.6rem);
}

.work-desc {
  font-family: var(--font-body);
  color: var(--cream);
  opacity: .8;
  font-size: clamp(.85rem, 1vw, 1rem);
  justify-self: start;
  text-align: left;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-section {
  background: var(--blue);
  padding: clamp(40px, 6vw, 70px) var(--pad) clamp(90px, 10vw, 150px);
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-heading-block {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.about-heading {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}
.about-heading-script {
  font-family: var(--font-script);
  color: var(--orange);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.1;
  margin-top: 4px;
}
.about-heading-script .dot { color: var(--cream); }

.about-media {
  width: min(100%, 620px);
  position: relative;
  margin-bottom: clamp(60px, 8vw, 110px);
}
.about-frame {
  position: relative;
  overflow: visible;
  border: 1px solid var(--cream);
  border-radius: 14px;
  margin-top: 34px;
}
.about-frame-img {
  display: block;
  width: 100%;
  margin-top: -34px;
  border-radius: 14px;
}
.about-caption {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--cream);
  opacity: .75;
  font-size: .85rem;
  text-align: center;
  margin-top: 18px;
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  max-width: var(--container);
}
.about-paragraph {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: clamp(.95rem, 1.05vw, 1.1rem);
  line-height: 1.7;
  text-indent: 1.6em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--cream-footer);
  position: relative;
  overflow: hidden;
}

.footer-graphic {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.footer-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: clamp(60px, 9vw, 120px) var(--pad) clamp(50px, 7vw, 90px);
  display: flex;
}

.footer-copy {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.footer-heading {
  font-family: var(--font-display);
  color: var(--orange);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: .86;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.footer-top .btn-pill { margin-top: 0; }

.footer-social {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--cream-footer);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s ease, color .25s ease;
}
.social-icon:hover {
  background: var(--orange);
}

.footer-copyright {
  font-family: var(--font-body);
  color: var(--blue);
  font-size: .9rem;
}

/* =========================================================
   THE UNIVERSE SECTION
   ========================================================= */
.universe-section {
  background: var(--charcoal);
}

/* -- top: dark sky, moon, tall computer -- */
.universe-top {
  position: relative;
  background: var(--charcoal);
  height: clamp(520px, 58vw, 950px);
}
.universe-moon {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(700px, 74%);
  z-index: 1;
  pointer-events: none;
}
.universe-moon img {
  width: 100%;
  display: block;
}
.universe-computer {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -110px;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}
.universe-computer img {
  height: 100%;
  width: auto;
  display: block;
}
.universe-star {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: clamp(16px, 2vw, 26px);
  height: auto;
}
.universe-star-1 { left: 20%; top: 30%; }
.universe-star-2 { left: 78%; top: 46%; }

/* -- quote -- */
.universe-quote {
  background: var(--cream);
  text-align: center;
  padding: calc(110px + clamp(40px, 6vw, 90px)) var(--pad) clamp(50px, 8vw, 100px);
}
.universe-quote-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--charcoal);
  font-size: clamp(2rem, 6.2vw, 6.75rem);
  line-height: .92;
  max-width: 1160px;
  margin: 0 auto;
}
.universe-quote-text .accent { color: var(--orange); }

.universe-author {
  margin-top: clamp(30px, 5vw, 48px);
}
.universe-author-photo {
  width: clamp(150px, 16vw, 210px);
  display: block;
  margin: 0 auto;
}
.universe-author-name {
  font-family: var(--font-body);
  color: var(--charcoal);
  font-size: .95rem;
  margin-top: 14px;
}

/* -- cards -- */
.universe-cards-section {
  position: relative;
  background: var(--orange);
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) var(--pad) clamp(50px, 6vw, 80px);
}
.universe-cards-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1400px, 130%);
  z-index: 1;
  pointer-events: none;
}
.universe-cards-bg img { width: 100%; display: block; }

.universe-cards-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
}

.universe-intro {
  font-family: var(--font-display);
  color: var(--cream);
  text-align: center;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.universe-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.universe-card {
  background: var(--cream);
  border-radius: 15px;
  padding: clamp(24px, 2.5vw, 32px) clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.universe-card h3 {
  font-family: var(--font-serif);
  color: var(--orange);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.2;
  margin: 0 0 26px;
}
.universe-card p {
  font-family: var(--font-body);
  color: var(--charcoal);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 24px;
  flex: 1;
}
.btn-dark {
  background: var(--charcoal);
  color: var(--cream);
  padding: 12px 28px;
  border-radius: 15px;
}
.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--orange);
}
.universe-card-icon {
  width: 40px;
  height: auto;
  margin-top: 16px;
}

.universe-mark {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: clamp(50px, 7vw, 80px);
}
.universe-mark img {
  width: 46px;
  margin: 0 auto 12px;
  display: block;
}
.universe-mark p {
  font-family: var(--font-body);
  color: var(--cream);
  opacity: .85;
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .info-inner { grid-template-columns: 1fr; }
  .info-media { max-width: 460px; margin: 0 auto; }

  .work-item {
    grid-template-columns: 40px 1fr auto;
    row-gap: 8px;
  }
  .work-desc { display: none; }
}

@media (max-width: 860px) {
  .hero-inner {
    min-height: unset;
    padding-bottom: clamp(300px, 66vw, 400px);
  }
  .hero-graphic {
    inset: auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: clamp(260px, 60vw, 380px);
  }
  .hero-graphic img {
    object-fit: contain;
    object-position: center bottom;
  }
  .hero-content { max-width: 100%; }

  .about-copy { grid-template-columns: 1fr; }

  .footer-inner {
    min-height: unset;
    padding-bottom: clamp(280px, 62vw, 380px);
  }
  .footer-copy {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }
  .footer-social { justify-content: center; }
  .footer-graphic {
    inset: auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: clamp(260px, 60vw, 380px);
  }
  .footer-graphic img {
    object-fit: contain;
    object-position: center bottom;
  }
}

@media (max-width: 640px) {
  .work-item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title  title"
      "hash   btn";
    row-gap: 12px;
  }
  .hash { grid-area: hash; }
  .work-title { grid-area: title; }
  .work-item .btn-outline { grid-area: btn; justify-self: end; }

  .about-caption { padding: 0 10px; }
}

@media (max-width: 1024px) {
  .universe-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .universe-cards {
    grid-template-columns: 1fr;
  }
  .universe-star-1 { left: 10%; top: 22%; }
  .universe-star-2 { left: 82%; top: 40%; }
}
