@import url("https://fonts.googleapis.com/css2?family=Dosis&family=Poppins:wght@100;200;400;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto&family=Roboto:wght@100;200;400;700;900&display=swap");

@import url(root.css);

/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  font-family: var(--pri-fontfam);
  color: var(--pri-450);
  background-color: var(--pri-offwhite-400);
  font-size: var(--fontsize-400);
  text-transform: uppercase;

  line-height: 1.6rem;
  scroll-behavior: smooth;

  /* Mobile optimizations */
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile body improvements */
@media screen and (max-width: 30rem) {
  body {
    font-size: var(--fontsize-350);
    line-height: 1.4rem;
  }
}
ul {
  list-style: none;
}
img {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a,
li a {
  color: var(--pri-450);
  box-shadow: inset 0 0 0 0 var(--pri-450);
  transition: all ease 900ms;
  /* Touch-friendly improvements */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  /* Remove underlines */
  text-decoration: none;
}

a:hover,
li a:hover {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

/* Mobile touch interactions */
@media screen and (max-width: 30rem) {
  a,
  li a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 4px;
  }

  a:active,
  li a:active {
    background-color: var(--pri-450);
    color: var(--pri-400);
    transform: scale(0.98);
  }
}

.active {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

section {
  margin-top: 2rem;
  padding-top: 15vh;
  min-height: 100vh;
}
/* Mobile First Responsive Breakpoints */
@media screen and (max-width: 30rem) {
  section.main {
    min-height: 50vh;
  }
}

/* Tablet breakpoint */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  section.main {
    min-height: 60vh;
  }
}

/* Small laptop breakpoint */
@media screen and (min-width: 48.1rem) and (max-width: 64rem) {
  section.main {
    min-height: 70vh;
  }
}
section.grid-showcase {
  padding-top: 30vh;
}
@media screen and (max-width: 30rem) {
  section.grid-showcase {
    padding-top: 20vh;
  }
}
section p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

section.extra {
  background-color: olive;
  width: 100vw;
  height: 100vh;
}
section.extra img {
  width: 30%;
}

/* Utility */
.main-container {
  max-width: 1400px;
  height: auto;

  margin: 0 auto;
  padding-left: 1rem;
}
.branding {
  min-width: calc(100% - 2rem);
  max-width: max-content;
  position: sticky;
  top: 0rem;
  z-index: 10;

  padding-top: 2rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;

  display: grid;
  grid-template-columns: 3fr 1fr;
  justify-content: space-between;

  border-right: 1px var(--pri-450) solid;
  border-left: 1px var(--pri-450) solid;
}
/* Large desktop */
@media (max-width: 1200px) {
  .branding {
    grid-template-columns: 2fr 1fr;
  }
}

/* Laptop */
@media (max-width: 1024px) {
  .branding {
    grid-template-columns: 2fr 1fr;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .branding {
    grid-template-columns: 1fr 1fr;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Mobile */
@media screen and (max-width: 30rem) {
  .branding {
    grid-template-columns: 1fr 0.5fr;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

.inspire_logo {
  letter-spacing: 0.5rem;
  font-weight: var(--fw-700);
  width: max-content;
}

.tagline {
  min-width: calc(100% - 2rem);
  max-width: max-content;

  display: grid;
  grid-template-columns: 3fr 1fr;
  justify-content: space-between;

  padding-top: 0.2rem;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  position: sticky;
  bottom: 0;

  border-right: 1px var(--pri-450) solid;
  border-left: 1px var(--pri-450) solid;

  font-size: var(--fontsize-300);
}

.tagline p:first-child {
  font-weight: var(--fw-700);
}
.tagline .copyright {
  text-align: right;
  border-left: 1px var(--pri-450) solid;
}

.grid-client-listing {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 40rem) {
  .grid-client-listing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 70rem) {
  .grid-client-listing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 80rem) {
  .grid-client-listing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
.highlight {
  background-color: var(--pri-400);
}
.main {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;

  padding-top: 40vh;

  color: var(--pri-450);
  font-size: var(--fontsize-llg);
  font-weight: var(--fw-700);

  line-height: var(--lineheight-0);
}

/* Tablet */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .main {
    grid-template-columns: 1fr 1fr 1fr;
    padding-top: 20vh;
    font-size: clamp(1.5rem, 8vw, 4rem);
  }
}

/* Mobile */
@media screen and (max-width: 30rem) {
  .main {
    grid-template-columns: 1fr;
    padding-top: 10vh;
    font-size: clamp(1rem, 8vw, 3rem);
  }
}

.main img {
  width: calc(100% - 2rem);
  max-width: 100%;
  height: auto;
  padding-top: min(10vw);
  padding-bottom: min(10vw);
  object-fit: contain;
}

/* Tablet main images */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .main img {
    width: calc(100% - 1.5rem);
    padding-top: min(8vw);
    padding-bottom: min(8vw);
  }
}

/* Mobile main images */
@media screen and (max-width: 30rem) {
  .main img {
    width: calc(100% - 1rem);
    padding-top: min(5vw);
    padding-bottom: min(5vw);
  }
}

.main .open {
  color: var(--pri-400);
  font-family: var(--sec-fontfam);
  font-size: var(--fontsize-xxl);
}

.about {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-items: center;

  font-family: var(--sec-fontfam);

  font-size: var(--fontsize-600);
  font-weight: var(--fw-200);
  line-height: var(--lineheight-450);
  text-align: justify;
}
/* Tablet */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .about {
    font-size: var(--fontsize-500);
  }
  .about div {
    max-width: 60vw;
  }
}

/* Mobile */
@media screen and (max-width: 30rem) {
  .about {
    justify-content: left;
    font-size: var(--fontsize-450);
  }
}
.about span {
  font-weight: var(--fw-700);
}
.about div {
  max-width: 40vw;
}
@media screen and (max-width: 30rem) {
  .about div {
    max-width: 84vw;
  }
}

.title {
  font-family: var(--pri-fontfam);
  font-size: var(--fontsize-mlg);
  font-weight: var(--fw-700);
}

/* Tablet typography */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .main .open {
    font-size: var(--fontsize-xl);
  }
  .title {
    font-size: var(--fontsize-lg);
  }
}

/* Mobile typography */
@media screen and (max-width: 30rem) {
  .main .open {
    font-size: var(--fontsize-lg);
  }
  .title {
    font-size: var(--fontsize-800);
  }
}

.grid-about {
  display: grid;
  grid-auto-columns: auto;
  gap: 1em;
}

@media (min-width: 60em) {
  .grid-about {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 70em) {
  .grid-about {
    grid-template-columns: repeat(6, 1fr);
  }
  .grid-col-span-2 {
    grid-column: span 2;
  }
}

/*works*/
.grid-showcase {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;

  position: relative;
}

/* Tablet showcase grid */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .grid-showcase {
    grid-template-columns: 1fr 1fr;
  }
  .sc_year {
    font-size: 24px;
  }
  .sc_month {
    font-size: var(--fontsize-350);
  }
}

/* Mobile showcase grid */
@media screen and (max-width: 30rem) {
  .grid-showcase {
    grid-template-columns: 1fr;
  }
  .sc_year {
    font-size: 20px;
  }
  .sc_month {
    font-size: var(--fontsize-300);
  }
}

.agency {
  width: max-content;
  color: var(--pri-450);
  font-size: var(--fontsize-400);
  margin-top: 2rem;
}
.agency:last-child {
  margin-top: 1rem;
}
.agency_logo img {
  width: 15vw;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

/* Tablet agency logos */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .agency_logo img {
    width: 20vw;
    max-width: 150px;
  }
}

/* Mobile agency logos */
@media screen and (max-width: 30rem) {
  .agency_logo {
    width: 100%;
    text-align: center;
  }
  .agency_logo img {
    width: 60vw;
    max-width: 120px;
    height: auto;
  }
}

.grid-showcase:has(a) {
  box-shadow: inset 0 0 0 0 var(--sc-agencycolor);
  transition: all ease-in-out 300ms;
}

.grid-showcase:has(a:hover) {
  box-shadow: inset -50vw 0 0 0 var(--sc-agencycolor);
}
.grid-showcase p {
  margin-top: 0;
  margin-bottom: 0;
}
.showcase-navigation {
  grid-column-start: 2;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: min-content;
}
/* Tablet showcase navigation */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .showcase-navigation {
    grid-column-start: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Mobile showcase navigation */
@media screen and (max-width: 30rem) {
  .showcase-navigation {
    grid-column-start: 1;
    display: block;
    padding: 1rem;
  }
  .sc_agencyname {
    font-size: var(--fontsize-600);
    margin-bottom: 1rem;
  }
  .sc_agencyname a {
    display: block;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--pri-450);
    border-radius: 4px;
    min-height: 44px;
    line-height: 44px;
  }
}
.section-breaks {
  font-family: var(--pri-fontfam);
  font-size: var(--fontsize-400);
  font-weight: var(--fw-700);
  grid-column: 2 / 4;
}
.section-breaks > div {
  margin-bottom: 2rem;
}
.sc_date {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
@media screen and (max-width: 30rem) {
  .sc_date {
    display: none;
  }
}
.sc_year {
  font-family: var(--sec-fontfam);
  font-size: 30px;
  font-weight: var(--fw-100);
}
.sc_month {
  font-family: var(--sec-fontfam);
  font-size: var(--fontsize-300);
  font-weight: var(--fw-400);
  line-height: normal;

  width: 50%;

  position: relative;
}
.sc_month:after {
  content: "";
  width: 30%;
  height: 1px;

  background-color: var(--pri-450);
  position: absolute;
  right: 10%;
  top: 0;
}
.sc_agencyname {
  grid-column: 2 / 4;
  font-family: var(--pri-fontfam);
  font-size: var(--fontsize-lg);
  font-weight: var(--fw-700);
  line-height: var(--lineheight-0);

  margin-bottom: 2rem;
  transition: all 0.5s ease-in-out;
}

.list-of-clients {
  font-family: var(--sec-fontfam);
  font-size: var(--fontsize-600);
  font-weight: var(--fw-700);

  line-height: var(--lineheight-450);

  transition: color ease-in-out 300ms;
  width: 90%;
}
/* Tablet client list */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .list-of-clients {
    font-size: var(--fontsize-500);
    width: 95%;
  }
}

/* Mobile client list - make it visible and scrollable */
@media screen and (max-width: 30rem) {
  .list-of-clients {
    display: block;
    font-size: var(--fontsize-350);
    width: 100%;
    max-height: 40vh;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid var(--pri-450);
    margin: 1rem 0;
  }
  .list-of-clients span {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .list-of-clients span a {
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--pri-450);
    border-radius: 4px;
    font-size: var(--fontsize-250);
    min-height: 32px;
    display: flex;
    align-items: center;
  }
}

.grid-showcase:has(a) span a {
  color: var(--pri-offwhite-450);
  transition: all ease-in-out 300ms;
}
.grid-showcase:has(a) span a.revolt_clients {
  color: var(--pri-offwhite-425);
}

.grid-showcase:has(a) span a:hover {
  color: var(--pri-450);
  box-shadow: none;
}

.grid-showcase:has(a.disrupt:hover) .disrupt_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.disrupt_clients:hover) a.disrupt {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.takameru:hover) .takameru_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.takameru_clients:hover) a.takameru {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.wildcards:hover) a.wildcards_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.wildcards_clients:hover) a.wildcards {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.takameru:hover) a.takameru_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.takameru_clients:hover) a.takameru {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.revolt:hover) a.revolt_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.revolt_clients:hover) a.revolt {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.tanoshii:hover) a.tanoshii_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.tanoshii_clients:hover) a.tanoshii {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.groundup:hover) .groundup_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.groundup_clients:hover) a.groundup {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.align:hover) a.align_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.align_clients:hover) a.align {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.oddity:hover) .oddity_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.oddity_clients:hover) a.oddity {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.heliym:hover) .heliym_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.heliym_clients:hover) a.heliym {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

.grid-showcase:has(a.frgmnts:hover) .frgmnts_clients {
  color: var(--pri-450);
}
.grid-showcase:has(.frgmnts_clients:hover) a.frgmnts {
  color: var(--pri-400);
  box-shadow: inset 320px 0 0 0 var(--pri-450);
}

@media screen and (max-width: 30rem) {
  .grid-showcase:has(a.disrupt:hover) .disrupt_clients,
  .grid-showcase:has(a.takameru:hover) .takameru_clients,
  .grid-showcase:has(a.wildcards:hover) .wildcards_clients,
  .grid-showcase:has(a.takameru:hover) .takameru_clients,
  .grid-showcase:has(a.revolt:hover) .revolt_clients,
  .grid-showcase:has(a.tanoshii:hover) .tanoshii_clients,
  .grid-showcase:has(a.groundup:hover) .groundup_clients,
  .grid-showcase:has(a.align:hover) .align_clients,
  .grid-showcase:has(a.oddity:hover) .oddity_clients,
  .grid-showcase:has(a.heliym:hover) .heliym_clients,
  .grid-showcase:has(a.frgmnts:hover) .frgmnts_clients {
    color: var(--pri-offwhite-400);
  }
}

/*navigation*/
.pri-navigation {
  font-size: var(--fontsize-400);
  font-weight: var(--fw-700);
  letter-spacing: 0.1rem;

  border-left: 1px var(--pri-400) solid;
  padding-left: 1rem;
}
.pri-navigation a:not(:first-child) {
  margin-left: 1rem;
}

/* Tablet navigation */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .pri-navigation {
    font-size: var(--fontsize-350);
  }
  .pri-navigation a:not(:first-child) {
    margin-left: 0.75rem;
  }
}

/* Mobile navigation */
@media screen and (max-width: 30rem) {
  .pri-navigation {
    font-size: var(--fontsize-300);
    padding-left: 0.5rem;
  }
  .pri-navigation a:not(:first-child) {
    margin-left: 0.5rem;
  }
  .pri-navigation a {
    padding: 0.25rem 0.5rem;
    display: inline-block;
    min-height: 44px; /* Touch-friendly minimum */
    line-height: 44px;
  }
}

/*font-family*/
.pri-font {
  font-family: var(--pri-fontfam);
}
.sec-font {
  font-family: var(--sec-fontfam);
}

/* font-sizing */
.fontsize-xxl {
  font-size: var(--fontsize-xxl);
}
.fontsize-xl {
  font-size: var(--fontsize-xl);
}
.fontsize-lg {
  font-size: var(--fontsize-lg);
}
.fontsize-800 {
  font-size: var(--fontsize-800);
}
.fontsize-600 {
  font-size: var(--fontsize-600);
}
.fontsize-450 {
  font-size: var(--fontsize-450);
}
.fontsize-350 {
  font-size: var(--fontsize-350);
}
.fontsize-300 {
  font-size: var(--fontsize-300);
}
.fontsize-200 {
  font-size: var(--fontsize-200);
}

/* font-color */
.fontcolor-yellow-400 {
  color: var(--pri-400);
}
.fontcolor-yellow-450 {
  color: var(--pri-450);
}
.fontcolor-green-400 {
  color: var(--sec-green-400);
}

/* font styling*/
.fontbold {
  font-weight: bold;
}
.lineheight-0 {
  line-height: var(--lineheight-0);
}
.hidden {
  display: none;
}
.sup {
  vertical-align: super;
}
.email a {
  text-decoration: none;
}
